github.com/aavshr/aws-sdk-go@v1.41.3/service/sagemaker/api.go (about) 1 // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. 2 3 package sagemaker 4 5 import ( 6 "fmt" 7 "time" 8 9 "github.com/aavshr/aws-sdk-go/aws" 10 "github.com/aavshr/aws-sdk-go/aws/awsutil" 11 "github.com/aavshr/aws-sdk-go/aws/request" 12 "github.com/aavshr/aws-sdk-go/private/protocol" 13 "github.com/aavshr/aws-sdk-go/private/protocol/jsonrpc" 14 ) 15 16 const opAddAssociation = "AddAssociation" 17 18 // AddAssociationRequest generates a "aws/request.Request" representing the 19 // client's request for the AddAssociation operation. The "output" return 20 // value will be populated with the request's response once the request completes 21 // successfully. 22 // 23 // Use "Send" method on the returned Request to send the API call to the service. 24 // the "output" return value is not valid until after Send returns without error. 25 // 26 // See AddAssociation for more information on using the AddAssociation 27 // API call, and error handling. 28 // 29 // This method is useful when you want to inject custom logic or configuration 30 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 31 // 32 // 33 // // Example sending a request using the AddAssociationRequest method. 34 // req, resp := client.AddAssociationRequest(params) 35 // 36 // err := req.Send() 37 // if err == nil { // resp is now filled 38 // fmt.Println(resp) 39 // } 40 // 41 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AddAssociation 42 func (c *SageMaker) AddAssociationRequest(input *AddAssociationInput) (req *request.Request, output *AddAssociationOutput) { 43 op := &request.Operation{ 44 Name: opAddAssociation, 45 HTTPMethod: "POST", 46 HTTPPath: "/", 47 } 48 49 if input == nil { 50 input = &AddAssociationInput{} 51 } 52 53 output = &AddAssociationOutput{} 54 req = c.newRequest(op, input, output) 55 return 56 } 57 58 // AddAssociation API operation for Amazon SageMaker Service. 59 // 60 // Creates an association between the source and the destination. A source can 61 // be associated with multiple destinations, and a destination can be associated 62 // with multiple sources. An association is a lineage tracking entity. For more 63 // information, see Amazon SageMaker ML Lineage Tracking (https://docs.aws.amazon.com/sagemaker/latest/dg/lineage-tracking.html). 64 // 65 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 66 // with awserr.Error's Code and Message methods to get detailed information about 67 // the error. 68 // 69 // See the AWS API reference guide for Amazon SageMaker Service's 70 // API operation AddAssociation for usage and error information. 71 // 72 // Returned Error Types: 73 // * ResourceNotFound 74 // Resource being access is not found. 75 // 76 // * ResourceLimitExceeded 77 // You have exceeded an Amazon SageMaker resource limit. For example, you might 78 // have too many training jobs created. 79 // 80 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AddAssociation 81 func (c *SageMaker) AddAssociation(input *AddAssociationInput) (*AddAssociationOutput, error) { 82 req, out := c.AddAssociationRequest(input) 83 return out, req.Send() 84 } 85 86 // AddAssociationWithContext is the same as AddAssociation with the addition of 87 // the ability to pass a context and additional request options. 88 // 89 // See AddAssociation for details on how to use this API operation. 90 // 91 // The context must be non-nil and will be used for request cancellation. If 92 // the context is nil a panic will occur. In the future the SDK may create 93 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 94 // for more information on using Contexts. 95 func (c *SageMaker) AddAssociationWithContext(ctx aws.Context, input *AddAssociationInput, opts ...request.Option) (*AddAssociationOutput, error) { 96 req, out := c.AddAssociationRequest(input) 97 req.SetContext(ctx) 98 req.ApplyOptions(opts...) 99 return out, req.Send() 100 } 101 102 const opAddTags = "AddTags" 103 104 // AddTagsRequest generates a "aws/request.Request" representing the 105 // client's request for the AddTags operation. The "output" return 106 // value will be populated with the request's response once the request completes 107 // successfully. 108 // 109 // Use "Send" method on the returned Request to send the API call to the service. 110 // the "output" return value is not valid until after Send returns without error. 111 // 112 // See AddTags for more information on using the AddTags 113 // API call, and error handling. 114 // 115 // This method is useful when you want to inject custom logic or configuration 116 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 117 // 118 // 119 // // Example sending a request using the AddTagsRequest method. 120 // req, resp := client.AddTagsRequest(params) 121 // 122 // err := req.Send() 123 // if err == nil { // resp is now filled 124 // fmt.Println(resp) 125 // } 126 // 127 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AddTags 128 func (c *SageMaker) AddTagsRequest(input *AddTagsInput) (req *request.Request, output *AddTagsOutput) { 129 op := &request.Operation{ 130 Name: opAddTags, 131 HTTPMethod: "POST", 132 HTTPPath: "/", 133 } 134 135 if input == nil { 136 input = &AddTagsInput{} 137 } 138 139 output = &AddTagsOutput{} 140 req = c.newRequest(op, input, output) 141 return 142 } 143 144 // AddTags API operation for Amazon SageMaker Service. 145 // 146 // Adds or overwrites one or more tags for the specified Amazon SageMaker resource. 147 // You can add tags to notebook instances, training jobs, hyperparameter tuning 148 // jobs, batch transform jobs, models, labeling jobs, work teams, endpoint configurations, 149 // and endpoints. 150 // 151 // Each tag consists of a key and an optional value. Tag keys must be unique 152 // per resource. For more information about tags, see For more information, 153 // see Amazon Web Services Tagging Strategies (https://aws.amazon.com/answers/account-management/aws-tagging-strategies/). 154 // 155 // Tags that you add to a hyperparameter tuning job by calling this API are 156 // also added to any training jobs that the hyperparameter tuning job launches 157 // after you call this API, but not to training jobs that the hyperparameter 158 // tuning job launched before you called this API. To make sure that the tags 159 // associated with a hyperparameter tuning job are also added to all training 160 // jobs that the hyperparameter tuning job launches, add the tags when you first 161 // create the tuning job by specifying them in the Tags parameter of CreateHyperParameterTuningJob 162 // 163 // Tags that you add to a SageMaker Studio Domain or User Profile by calling 164 // this API are also added to any Apps that the Domain or User Profile launches 165 // after you call this API, but not to Apps that the Domain or User Profile 166 // launched before you called this API. To make sure that the tags associated 167 // with a Domain or User Profile are also added to all Apps that the Domain 168 // or User Profile launches, add the tags when you first create the Domain or 169 // User Profile by specifying them in the Tags parameter of CreateDomain or 170 // CreateUserProfile. 171 // 172 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 173 // with awserr.Error's Code and Message methods to get detailed information about 174 // the error. 175 // 176 // See the AWS API reference guide for Amazon SageMaker Service's 177 // API operation AddTags for usage and error information. 178 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AddTags 179 func (c *SageMaker) AddTags(input *AddTagsInput) (*AddTagsOutput, error) { 180 req, out := c.AddTagsRequest(input) 181 return out, req.Send() 182 } 183 184 // AddTagsWithContext is the same as AddTags with the addition of 185 // the ability to pass a context and additional request options. 186 // 187 // See AddTags for details on how to use this API operation. 188 // 189 // The context must be non-nil and will be used for request cancellation. If 190 // the context is nil a panic will occur. In the future the SDK may create 191 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 192 // for more information on using Contexts. 193 func (c *SageMaker) AddTagsWithContext(ctx aws.Context, input *AddTagsInput, opts ...request.Option) (*AddTagsOutput, error) { 194 req, out := c.AddTagsRequest(input) 195 req.SetContext(ctx) 196 req.ApplyOptions(opts...) 197 return out, req.Send() 198 } 199 200 const opAssociateTrialComponent = "AssociateTrialComponent" 201 202 // AssociateTrialComponentRequest generates a "aws/request.Request" representing the 203 // client's request for the AssociateTrialComponent operation. The "output" return 204 // value will be populated with the request's response once the request completes 205 // successfully. 206 // 207 // Use "Send" method on the returned Request to send the API call to the service. 208 // the "output" return value is not valid until after Send returns without error. 209 // 210 // See AssociateTrialComponent for more information on using the AssociateTrialComponent 211 // API call, and error handling. 212 // 213 // This method is useful when you want to inject custom logic or configuration 214 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 215 // 216 // 217 // // Example sending a request using the AssociateTrialComponentRequest method. 218 // req, resp := client.AssociateTrialComponentRequest(params) 219 // 220 // err := req.Send() 221 // if err == nil { // resp is now filled 222 // fmt.Println(resp) 223 // } 224 // 225 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AssociateTrialComponent 226 func (c *SageMaker) AssociateTrialComponentRequest(input *AssociateTrialComponentInput) (req *request.Request, output *AssociateTrialComponentOutput) { 227 op := &request.Operation{ 228 Name: opAssociateTrialComponent, 229 HTTPMethod: "POST", 230 HTTPPath: "/", 231 } 232 233 if input == nil { 234 input = &AssociateTrialComponentInput{} 235 } 236 237 output = &AssociateTrialComponentOutput{} 238 req = c.newRequest(op, input, output) 239 return 240 } 241 242 // AssociateTrialComponent API operation for Amazon SageMaker Service. 243 // 244 // Associates a trial component with a trial. A trial component can be associated 245 // with multiple trials. To disassociate a trial component from a trial, call 246 // the DisassociateTrialComponent API. 247 // 248 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 249 // with awserr.Error's Code and Message methods to get detailed information about 250 // the error. 251 // 252 // See the AWS API reference guide for Amazon SageMaker Service's 253 // API operation AssociateTrialComponent for usage and error information. 254 // 255 // Returned Error Types: 256 // * ResourceNotFound 257 // Resource being access is not found. 258 // 259 // * ResourceLimitExceeded 260 // You have exceeded an Amazon SageMaker resource limit. For example, you might 261 // have too many training jobs created. 262 // 263 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AssociateTrialComponent 264 func (c *SageMaker) AssociateTrialComponent(input *AssociateTrialComponentInput) (*AssociateTrialComponentOutput, error) { 265 req, out := c.AssociateTrialComponentRequest(input) 266 return out, req.Send() 267 } 268 269 // AssociateTrialComponentWithContext is the same as AssociateTrialComponent with the addition of 270 // the ability to pass a context and additional request options. 271 // 272 // See AssociateTrialComponent for details on how to use this API operation. 273 // 274 // The context must be non-nil and will be used for request cancellation. If 275 // the context is nil a panic will occur. In the future the SDK may create 276 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 277 // for more information on using Contexts. 278 func (c *SageMaker) AssociateTrialComponentWithContext(ctx aws.Context, input *AssociateTrialComponentInput, opts ...request.Option) (*AssociateTrialComponentOutput, error) { 279 req, out := c.AssociateTrialComponentRequest(input) 280 req.SetContext(ctx) 281 req.ApplyOptions(opts...) 282 return out, req.Send() 283 } 284 285 const opCreateAction = "CreateAction" 286 287 // CreateActionRequest generates a "aws/request.Request" representing the 288 // client's request for the CreateAction operation. The "output" return 289 // value will be populated with the request's response once the request completes 290 // successfully. 291 // 292 // Use "Send" method on the returned Request to send the API call to the service. 293 // the "output" return value is not valid until after Send returns without error. 294 // 295 // See CreateAction for more information on using the CreateAction 296 // API call, and error handling. 297 // 298 // This method is useful when you want to inject custom logic or configuration 299 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 300 // 301 // 302 // // Example sending a request using the CreateActionRequest method. 303 // req, resp := client.CreateActionRequest(params) 304 // 305 // err := req.Send() 306 // if err == nil { // resp is now filled 307 // fmt.Println(resp) 308 // } 309 // 310 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAction 311 func (c *SageMaker) CreateActionRequest(input *CreateActionInput) (req *request.Request, output *CreateActionOutput) { 312 op := &request.Operation{ 313 Name: opCreateAction, 314 HTTPMethod: "POST", 315 HTTPPath: "/", 316 } 317 318 if input == nil { 319 input = &CreateActionInput{} 320 } 321 322 output = &CreateActionOutput{} 323 req = c.newRequest(op, input, output) 324 return 325 } 326 327 // CreateAction API operation for Amazon SageMaker Service. 328 // 329 // Creates an action. An action is a lineage tracking entity that represents 330 // an action or activity. For example, a model deployment or an HPO job. Generally, 331 // an action involves at least one input or output artifact. For more information, 332 // see Amazon SageMaker ML Lineage Tracking (https://docs.aws.amazon.com/sagemaker/latest/dg/lineage-tracking.html). 333 // 334 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 335 // with awserr.Error's Code and Message methods to get detailed information about 336 // the error. 337 // 338 // See the AWS API reference guide for Amazon SageMaker Service's 339 // API operation CreateAction for usage and error information. 340 // 341 // Returned Error Types: 342 // * ResourceLimitExceeded 343 // You have exceeded an Amazon SageMaker resource limit. For example, you might 344 // have too many training jobs created. 345 // 346 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAction 347 func (c *SageMaker) CreateAction(input *CreateActionInput) (*CreateActionOutput, error) { 348 req, out := c.CreateActionRequest(input) 349 return out, req.Send() 350 } 351 352 // CreateActionWithContext is the same as CreateAction with the addition of 353 // the ability to pass a context and additional request options. 354 // 355 // See CreateAction for details on how to use this API operation. 356 // 357 // The context must be non-nil and will be used for request cancellation. If 358 // the context is nil a panic will occur. In the future the SDK may create 359 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 360 // for more information on using Contexts. 361 func (c *SageMaker) CreateActionWithContext(ctx aws.Context, input *CreateActionInput, opts ...request.Option) (*CreateActionOutput, error) { 362 req, out := c.CreateActionRequest(input) 363 req.SetContext(ctx) 364 req.ApplyOptions(opts...) 365 return out, req.Send() 366 } 367 368 const opCreateAlgorithm = "CreateAlgorithm" 369 370 // CreateAlgorithmRequest generates a "aws/request.Request" representing the 371 // client's request for the CreateAlgorithm operation. The "output" return 372 // value will be populated with the request's response once the request completes 373 // successfully. 374 // 375 // Use "Send" method on the returned Request to send the API call to the service. 376 // the "output" return value is not valid until after Send returns without error. 377 // 378 // See CreateAlgorithm for more information on using the CreateAlgorithm 379 // API call, and error handling. 380 // 381 // This method is useful when you want to inject custom logic or configuration 382 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 383 // 384 // 385 // // Example sending a request using the CreateAlgorithmRequest method. 386 // req, resp := client.CreateAlgorithmRequest(params) 387 // 388 // err := req.Send() 389 // if err == nil { // resp is now filled 390 // fmt.Println(resp) 391 // } 392 // 393 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAlgorithm 394 func (c *SageMaker) CreateAlgorithmRequest(input *CreateAlgorithmInput) (req *request.Request, output *CreateAlgorithmOutput) { 395 op := &request.Operation{ 396 Name: opCreateAlgorithm, 397 HTTPMethod: "POST", 398 HTTPPath: "/", 399 } 400 401 if input == nil { 402 input = &CreateAlgorithmInput{} 403 } 404 405 output = &CreateAlgorithmOutput{} 406 req = c.newRequest(op, input, output) 407 return 408 } 409 410 // CreateAlgorithm API operation for Amazon SageMaker Service. 411 // 412 // Create a machine learning algorithm that you can use in Amazon SageMaker 413 // and list in the Amazon Web Services Marketplace. 414 // 415 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 416 // with awserr.Error's Code and Message methods to get detailed information about 417 // the error. 418 // 419 // See the AWS API reference guide for Amazon SageMaker Service's 420 // API operation CreateAlgorithm for usage and error information. 421 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAlgorithm 422 func (c *SageMaker) CreateAlgorithm(input *CreateAlgorithmInput) (*CreateAlgorithmOutput, error) { 423 req, out := c.CreateAlgorithmRequest(input) 424 return out, req.Send() 425 } 426 427 // CreateAlgorithmWithContext is the same as CreateAlgorithm with the addition of 428 // the ability to pass a context and additional request options. 429 // 430 // See CreateAlgorithm for details on how to use this API operation. 431 // 432 // The context must be non-nil and will be used for request cancellation. If 433 // the context is nil a panic will occur. In the future the SDK may create 434 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 435 // for more information on using Contexts. 436 func (c *SageMaker) CreateAlgorithmWithContext(ctx aws.Context, input *CreateAlgorithmInput, opts ...request.Option) (*CreateAlgorithmOutput, error) { 437 req, out := c.CreateAlgorithmRequest(input) 438 req.SetContext(ctx) 439 req.ApplyOptions(opts...) 440 return out, req.Send() 441 } 442 443 const opCreateApp = "CreateApp" 444 445 // CreateAppRequest generates a "aws/request.Request" representing the 446 // client's request for the CreateApp operation. The "output" return 447 // value will be populated with the request's response once the request completes 448 // successfully. 449 // 450 // Use "Send" method on the returned Request to send the API call to the service. 451 // the "output" return value is not valid until after Send returns without error. 452 // 453 // See CreateApp for more information on using the CreateApp 454 // API call, and error handling. 455 // 456 // This method is useful when you want to inject custom logic or configuration 457 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 458 // 459 // 460 // // Example sending a request using the CreateAppRequest method. 461 // req, resp := client.CreateAppRequest(params) 462 // 463 // err := req.Send() 464 // if err == nil { // resp is now filled 465 // fmt.Println(resp) 466 // } 467 // 468 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateApp 469 func (c *SageMaker) CreateAppRequest(input *CreateAppInput) (req *request.Request, output *CreateAppOutput) { 470 op := &request.Operation{ 471 Name: opCreateApp, 472 HTTPMethod: "POST", 473 HTTPPath: "/", 474 } 475 476 if input == nil { 477 input = &CreateAppInput{} 478 } 479 480 output = &CreateAppOutput{} 481 req = c.newRequest(op, input, output) 482 return 483 } 484 485 // CreateApp API operation for Amazon SageMaker Service. 486 // 487 // Creates a running app for the specified UserProfile. Supported apps are JupyterServer 488 // and KernelGateway. This operation is automatically invoked by Amazon SageMaker 489 // Studio upon access to the associated Domain, and when new kernel configurations 490 // are selected by the user. A user may have multiple Apps active simultaneously. 491 // 492 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 493 // with awserr.Error's Code and Message methods to get detailed information about 494 // the error. 495 // 496 // See the AWS API reference guide for Amazon SageMaker Service's 497 // API operation CreateApp for usage and error information. 498 // 499 // Returned Error Types: 500 // * ResourceLimitExceeded 501 // You have exceeded an Amazon SageMaker resource limit. For example, you might 502 // have too many training jobs created. 503 // 504 // * ResourceInUse 505 // Resource being accessed is in use. 506 // 507 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateApp 508 func (c *SageMaker) CreateApp(input *CreateAppInput) (*CreateAppOutput, error) { 509 req, out := c.CreateAppRequest(input) 510 return out, req.Send() 511 } 512 513 // CreateAppWithContext is the same as CreateApp with the addition of 514 // the ability to pass a context and additional request options. 515 // 516 // See CreateApp for details on how to use this API operation. 517 // 518 // The context must be non-nil and will be used for request cancellation. If 519 // the context is nil a panic will occur. In the future the SDK may create 520 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 521 // for more information on using Contexts. 522 func (c *SageMaker) CreateAppWithContext(ctx aws.Context, input *CreateAppInput, opts ...request.Option) (*CreateAppOutput, error) { 523 req, out := c.CreateAppRequest(input) 524 req.SetContext(ctx) 525 req.ApplyOptions(opts...) 526 return out, req.Send() 527 } 528 529 const opCreateAppImageConfig = "CreateAppImageConfig" 530 531 // CreateAppImageConfigRequest generates a "aws/request.Request" representing the 532 // client's request for the CreateAppImageConfig operation. The "output" return 533 // value will be populated with the request's response once the request completes 534 // successfully. 535 // 536 // Use "Send" method on the returned Request to send the API call to the service. 537 // the "output" return value is not valid until after Send returns without error. 538 // 539 // See CreateAppImageConfig for more information on using the CreateAppImageConfig 540 // API call, and error handling. 541 // 542 // This method is useful when you want to inject custom logic or configuration 543 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 544 // 545 // 546 // // Example sending a request using the CreateAppImageConfigRequest method. 547 // req, resp := client.CreateAppImageConfigRequest(params) 548 // 549 // err := req.Send() 550 // if err == nil { // resp is now filled 551 // fmt.Println(resp) 552 // } 553 // 554 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAppImageConfig 555 func (c *SageMaker) CreateAppImageConfigRequest(input *CreateAppImageConfigInput) (req *request.Request, output *CreateAppImageConfigOutput) { 556 op := &request.Operation{ 557 Name: opCreateAppImageConfig, 558 HTTPMethod: "POST", 559 HTTPPath: "/", 560 } 561 562 if input == nil { 563 input = &CreateAppImageConfigInput{} 564 } 565 566 output = &CreateAppImageConfigOutput{} 567 req = c.newRequest(op, input, output) 568 return 569 } 570 571 // CreateAppImageConfig API operation for Amazon SageMaker Service. 572 // 573 // Creates a configuration for running a SageMaker image as a KernelGateway 574 // app. The configuration specifies the Amazon Elastic File System (EFS) storage 575 // volume on the image, and a list of the kernels in the image. 576 // 577 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 578 // with awserr.Error's Code and Message methods to get detailed information about 579 // the error. 580 // 581 // See the AWS API reference guide for Amazon SageMaker Service's 582 // API operation CreateAppImageConfig for usage and error information. 583 // 584 // Returned Error Types: 585 // * ResourceInUse 586 // Resource being accessed is in use. 587 // 588 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAppImageConfig 589 func (c *SageMaker) CreateAppImageConfig(input *CreateAppImageConfigInput) (*CreateAppImageConfigOutput, error) { 590 req, out := c.CreateAppImageConfigRequest(input) 591 return out, req.Send() 592 } 593 594 // CreateAppImageConfigWithContext is the same as CreateAppImageConfig with the addition of 595 // the ability to pass a context and additional request options. 596 // 597 // See CreateAppImageConfig for details on how to use this API operation. 598 // 599 // The context must be non-nil and will be used for request cancellation. If 600 // the context is nil a panic will occur. In the future the SDK may create 601 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 602 // for more information on using Contexts. 603 func (c *SageMaker) CreateAppImageConfigWithContext(ctx aws.Context, input *CreateAppImageConfigInput, opts ...request.Option) (*CreateAppImageConfigOutput, error) { 604 req, out := c.CreateAppImageConfigRequest(input) 605 req.SetContext(ctx) 606 req.ApplyOptions(opts...) 607 return out, req.Send() 608 } 609 610 const opCreateArtifact = "CreateArtifact" 611 612 // CreateArtifactRequest generates a "aws/request.Request" representing the 613 // client's request for the CreateArtifact operation. The "output" return 614 // value will be populated with the request's response once the request completes 615 // successfully. 616 // 617 // Use "Send" method on the returned Request to send the API call to the service. 618 // the "output" return value is not valid until after Send returns without error. 619 // 620 // See CreateArtifact for more information on using the CreateArtifact 621 // API call, and error handling. 622 // 623 // This method is useful when you want to inject custom logic or configuration 624 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 625 // 626 // 627 // // Example sending a request using the CreateArtifactRequest method. 628 // req, resp := client.CreateArtifactRequest(params) 629 // 630 // err := req.Send() 631 // if err == nil { // resp is now filled 632 // fmt.Println(resp) 633 // } 634 // 635 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateArtifact 636 func (c *SageMaker) CreateArtifactRequest(input *CreateArtifactInput) (req *request.Request, output *CreateArtifactOutput) { 637 op := &request.Operation{ 638 Name: opCreateArtifact, 639 HTTPMethod: "POST", 640 HTTPPath: "/", 641 } 642 643 if input == nil { 644 input = &CreateArtifactInput{} 645 } 646 647 output = &CreateArtifactOutput{} 648 req = c.newRequest(op, input, output) 649 return 650 } 651 652 // CreateArtifact API operation for Amazon SageMaker Service. 653 // 654 // Creates an artifact. An artifact is a lineage tracking entity that represents 655 // a URI addressable object or data. Some examples are the S3 URI of a dataset 656 // and the ECR registry path of an image. For more information, see Amazon SageMaker 657 // ML Lineage Tracking (https://docs.aws.amazon.com/sagemaker/latest/dg/lineage-tracking.html). 658 // 659 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 660 // with awserr.Error's Code and Message methods to get detailed information about 661 // the error. 662 // 663 // See the AWS API reference guide for Amazon SageMaker Service's 664 // API operation CreateArtifact for usage and error information. 665 // 666 // Returned Error Types: 667 // * ResourceLimitExceeded 668 // You have exceeded an Amazon SageMaker resource limit. For example, you might 669 // have too many training jobs created. 670 // 671 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateArtifact 672 func (c *SageMaker) CreateArtifact(input *CreateArtifactInput) (*CreateArtifactOutput, error) { 673 req, out := c.CreateArtifactRequest(input) 674 return out, req.Send() 675 } 676 677 // CreateArtifactWithContext is the same as CreateArtifact with the addition of 678 // the ability to pass a context and additional request options. 679 // 680 // See CreateArtifact for details on how to use this API operation. 681 // 682 // The context must be non-nil and will be used for request cancellation. If 683 // the context is nil a panic will occur. In the future the SDK may create 684 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 685 // for more information on using Contexts. 686 func (c *SageMaker) CreateArtifactWithContext(ctx aws.Context, input *CreateArtifactInput, opts ...request.Option) (*CreateArtifactOutput, error) { 687 req, out := c.CreateArtifactRequest(input) 688 req.SetContext(ctx) 689 req.ApplyOptions(opts...) 690 return out, req.Send() 691 } 692 693 const opCreateAutoMLJob = "CreateAutoMLJob" 694 695 // CreateAutoMLJobRequest generates a "aws/request.Request" representing the 696 // client's request for the CreateAutoMLJob operation. The "output" return 697 // value will be populated with the request's response once the request completes 698 // successfully. 699 // 700 // Use "Send" method on the returned Request to send the API call to the service. 701 // the "output" return value is not valid until after Send returns without error. 702 // 703 // See CreateAutoMLJob for more information on using the CreateAutoMLJob 704 // API call, and error handling. 705 // 706 // This method is useful when you want to inject custom logic or configuration 707 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 708 // 709 // 710 // // Example sending a request using the CreateAutoMLJobRequest method. 711 // req, resp := client.CreateAutoMLJobRequest(params) 712 // 713 // err := req.Send() 714 // if err == nil { // resp is now filled 715 // fmt.Println(resp) 716 // } 717 // 718 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAutoMLJob 719 func (c *SageMaker) CreateAutoMLJobRequest(input *CreateAutoMLJobInput) (req *request.Request, output *CreateAutoMLJobOutput) { 720 op := &request.Operation{ 721 Name: opCreateAutoMLJob, 722 HTTPMethod: "POST", 723 HTTPPath: "/", 724 } 725 726 if input == nil { 727 input = &CreateAutoMLJobInput{} 728 } 729 730 output = &CreateAutoMLJobOutput{} 731 req = c.newRequest(op, input, output) 732 return 733 } 734 735 // CreateAutoMLJob API operation for Amazon SageMaker Service. 736 // 737 // Creates an Autopilot job. 738 // 739 // Find the best-performing model after you run an Autopilot job by calling . 740 // 741 // For information about how to use Autopilot, see Automate Model Development 742 // with Amazon SageMaker Autopilot (https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-automate-model-development.html). 743 // 744 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 745 // with awserr.Error's Code and Message methods to get detailed information about 746 // the error. 747 // 748 // See the AWS API reference guide for Amazon SageMaker Service's 749 // API operation CreateAutoMLJob for usage and error information. 750 // 751 // Returned Error Types: 752 // * ResourceInUse 753 // Resource being accessed is in use. 754 // 755 // * ResourceLimitExceeded 756 // You have exceeded an Amazon SageMaker resource limit. For example, you might 757 // have too many training jobs created. 758 // 759 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAutoMLJob 760 func (c *SageMaker) CreateAutoMLJob(input *CreateAutoMLJobInput) (*CreateAutoMLJobOutput, error) { 761 req, out := c.CreateAutoMLJobRequest(input) 762 return out, req.Send() 763 } 764 765 // CreateAutoMLJobWithContext is the same as CreateAutoMLJob with the addition of 766 // the ability to pass a context and additional request options. 767 // 768 // See CreateAutoMLJob for details on how to use this API operation. 769 // 770 // The context must be non-nil and will be used for request cancellation. If 771 // the context is nil a panic will occur. In the future the SDK may create 772 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 773 // for more information on using Contexts. 774 func (c *SageMaker) CreateAutoMLJobWithContext(ctx aws.Context, input *CreateAutoMLJobInput, opts ...request.Option) (*CreateAutoMLJobOutput, error) { 775 req, out := c.CreateAutoMLJobRequest(input) 776 req.SetContext(ctx) 777 req.ApplyOptions(opts...) 778 return out, req.Send() 779 } 780 781 const opCreateCodeRepository = "CreateCodeRepository" 782 783 // CreateCodeRepositoryRequest generates a "aws/request.Request" representing the 784 // client's request for the CreateCodeRepository operation. The "output" return 785 // value will be populated with the request's response once the request completes 786 // successfully. 787 // 788 // Use "Send" method on the returned Request to send the API call to the service. 789 // the "output" return value is not valid until after Send returns without error. 790 // 791 // See CreateCodeRepository for more information on using the CreateCodeRepository 792 // API call, and error handling. 793 // 794 // This method is useful when you want to inject custom logic or configuration 795 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 796 // 797 // 798 // // Example sending a request using the CreateCodeRepositoryRequest method. 799 // req, resp := client.CreateCodeRepositoryRequest(params) 800 // 801 // err := req.Send() 802 // if err == nil { // resp is now filled 803 // fmt.Println(resp) 804 // } 805 // 806 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateCodeRepository 807 func (c *SageMaker) CreateCodeRepositoryRequest(input *CreateCodeRepositoryInput) (req *request.Request, output *CreateCodeRepositoryOutput) { 808 op := &request.Operation{ 809 Name: opCreateCodeRepository, 810 HTTPMethod: "POST", 811 HTTPPath: "/", 812 } 813 814 if input == nil { 815 input = &CreateCodeRepositoryInput{} 816 } 817 818 output = &CreateCodeRepositoryOutput{} 819 req = c.newRequest(op, input, output) 820 return 821 } 822 823 // CreateCodeRepository API operation for Amazon SageMaker Service. 824 // 825 // Creates a Git repository as a resource in your Amazon SageMaker account. 826 // You can associate the repository with notebook instances so that you can 827 // use Git source control for the notebooks you create. The Git repository is 828 // a resource in your Amazon SageMaker account, so it can be associated with 829 // more than one notebook instance, and it persists independently from the lifecycle 830 // of any notebook instances it is associated with. 831 // 832 // The repository can be hosted either in Amazon Web Services CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) 833 // or in any other Git repository. 834 // 835 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 836 // with awserr.Error's Code and Message methods to get detailed information about 837 // the error. 838 // 839 // See the AWS API reference guide for Amazon SageMaker Service's 840 // API operation CreateCodeRepository for usage and error information. 841 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateCodeRepository 842 func (c *SageMaker) CreateCodeRepository(input *CreateCodeRepositoryInput) (*CreateCodeRepositoryOutput, error) { 843 req, out := c.CreateCodeRepositoryRequest(input) 844 return out, req.Send() 845 } 846 847 // CreateCodeRepositoryWithContext is the same as CreateCodeRepository with the addition of 848 // the ability to pass a context and additional request options. 849 // 850 // See CreateCodeRepository for details on how to use this API operation. 851 // 852 // The context must be non-nil and will be used for request cancellation. If 853 // the context is nil a panic will occur. In the future the SDK may create 854 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 855 // for more information on using Contexts. 856 func (c *SageMaker) CreateCodeRepositoryWithContext(ctx aws.Context, input *CreateCodeRepositoryInput, opts ...request.Option) (*CreateCodeRepositoryOutput, error) { 857 req, out := c.CreateCodeRepositoryRequest(input) 858 req.SetContext(ctx) 859 req.ApplyOptions(opts...) 860 return out, req.Send() 861 } 862 863 const opCreateCompilationJob = "CreateCompilationJob" 864 865 // CreateCompilationJobRequest generates a "aws/request.Request" representing the 866 // client's request for the CreateCompilationJob operation. The "output" return 867 // value will be populated with the request's response once the request completes 868 // successfully. 869 // 870 // Use "Send" method on the returned Request to send the API call to the service. 871 // the "output" return value is not valid until after Send returns without error. 872 // 873 // See CreateCompilationJob for more information on using the CreateCompilationJob 874 // API call, and error handling. 875 // 876 // This method is useful when you want to inject custom logic or configuration 877 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 878 // 879 // 880 // // Example sending a request using the CreateCompilationJobRequest method. 881 // req, resp := client.CreateCompilationJobRequest(params) 882 // 883 // err := req.Send() 884 // if err == nil { // resp is now filled 885 // fmt.Println(resp) 886 // } 887 // 888 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateCompilationJob 889 func (c *SageMaker) CreateCompilationJobRequest(input *CreateCompilationJobInput) (req *request.Request, output *CreateCompilationJobOutput) { 890 op := &request.Operation{ 891 Name: opCreateCompilationJob, 892 HTTPMethod: "POST", 893 HTTPPath: "/", 894 } 895 896 if input == nil { 897 input = &CreateCompilationJobInput{} 898 } 899 900 output = &CreateCompilationJobOutput{} 901 req = c.newRequest(op, input, output) 902 return 903 } 904 905 // CreateCompilationJob API operation for Amazon SageMaker Service. 906 // 907 // Starts a model compilation job. After the model has been compiled, Amazon 908 // SageMaker saves the resulting model artifacts to an Amazon Simple Storage 909 // Service (Amazon S3) bucket that you specify. 910 // 911 // If you choose to host your model using Amazon SageMaker hosting services, 912 // you can use the resulting model artifacts as part of the model. You can also 913 // use the artifacts with Amazon Web Services IoT Greengrass. In that case, 914 // deploy them as an ML resource. 915 // 916 // In the request body, you provide the following: 917 // 918 // * A name for the compilation job 919 // 920 // * Information about the input model artifacts 921 // 922 // * The output location for the compiled model and the device (target) that 923 // the model runs on 924 // 925 // * The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker 926 // assumes to perform the model compilation job. 927 // 928 // You can also provide a Tag to track the model compilation job's resource 929 // use and costs. The response body contains the CompilationJobArn for the compiled 930 // job. 931 // 932 // To stop a model compilation job, use StopCompilationJob. To get information 933 // about a particular model compilation job, use DescribeCompilationJob. To 934 // get information about multiple model compilation jobs, use ListCompilationJobs. 935 // 936 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 937 // with awserr.Error's Code and Message methods to get detailed information about 938 // the error. 939 // 940 // See the AWS API reference guide for Amazon SageMaker Service's 941 // API operation CreateCompilationJob for usage and error information. 942 // 943 // Returned Error Types: 944 // * ResourceInUse 945 // Resource being accessed is in use. 946 // 947 // * ResourceLimitExceeded 948 // You have exceeded an Amazon SageMaker resource limit. For example, you might 949 // have too many training jobs created. 950 // 951 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateCompilationJob 952 func (c *SageMaker) CreateCompilationJob(input *CreateCompilationJobInput) (*CreateCompilationJobOutput, error) { 953 req, out := c.CreateCompilationJobRequest(input) 954 return out, req.Send() 955 } 956 957 // CreateCompilationJobWithContext is the same as CreateCompilationJob with the addition of 958 // the ability to pass a context and additional request options. 959 // 960 // See CreateCompilationJob for details on how to use this API operation. 961 // 962 // The context must be non-nil and will be used for request cancellation. If 963 // the context is nil a panic will occur. In the future the SDK may create 964 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 965 // for more information on using Contexts. 966 func (c *SageMaker) CreateCompilationJobWithContext(ctx aws.Context, input *CreateCompilationJobInput, opts ...request.Option) (*CreateCompilationJobOutput, error) { 967 req, out := c.CreateCompilationJobRequest(input) 968 req.SetContext(ctx) 969 req.ApplyOptions(opts...) 970 return out, req.Send() 971 } 972 973 const opCreateContext = "CreateContext" 974 975 // CreateContextRequest generates a "aws/request.Request" representing the 976 // client's request for the CreateContext operation. The "output" return 977 // value will be populated with the request's response once the request completes 978 // successfully. 979 // 980 // Use "Send" method on the returned Request to send the API call to the service. 981 // the "output" return value is not valid until after Send returns without error. 982 // 983 // See CreateContext for more information on using the CreateContext 984 // API call, and error handling. 985 // 986 // This method is useful when you want to inject custom logic or configuration 987 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 988 // 989 // 990 // // Example sending a request using the CreateContextRequest method. 991 // req, resp := client.CreateContextRequest(params) 992 // 993 // err := req.Send() 994 // if err == nil { // resp is now filled 995 // fmt.Println(resp) 996 // } 997 // 998 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateContext 999 func (c *SageMaker) CreateContextRequest(input *CreateContextInput) (req *request.Request, output *CreateContextOutput) { 1000 op := &request.Operation{ 1001 Name: opCreateContext, 1002 HTTPMethod: "POST", 1003 HTTPPath: "/", 1004 } 1005 1006 if input == nil { 1007 input = &CreateContextInput{} 1008 } 1009 1010 output = &CreateContextOutput{} 1011 req = c.newRequest(op, input, output) 1012 return 1013 } 1014 1015 // CreateContext API operation for Amazon SageMaker Service. 1016 // 1017 // Creates a context. A context is a lineage tracking entity that represents 1018 // a logical grouping of other tracking or experiment entities. Some examples 1019 // are an endpoint and a model package. For more information, see Amazon SageMaker 1020 // ML Lineage Tracking (https://docs.aws.amazon.com/sagemaker/latest/dg/lineage-tracking.html). 1021 // 1022 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 1023 // with awserr.Error's Code and Message methods to get detailed information about 1024 // the error. 1025 // 1026 // See the AWS API reference guide for Amazon SageMaker Service's 1027 // API operation CreateContext for usage and error information. 1028 // 1029 // Returned Error Types: 1030 // * ResourceLimitExceeded 1031 // You have exceeded an Amazon SageMaker resource limit. For example, you might 1032 // have too many training jobs created. 1033 // 1034 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateContext 1035 func (c *SageMaker) CreateContext(input *CreateContextInput) (*CreateContextOutput, error) { 1036 req, out := c.CreateContextRequest(input) 1037 return out, req.Send() 1038 } 1039 1040 // CreateContextWithContext is the same as CreateContext with the addition of 1041 // the ability to pass a context and additional request options. 1042 // 1043 // See CreateContext for details on how to use this API operation. 1044 // 1045 // The context must be non-nil and will be used for request cancellation. If 1046 // the context is nil a panic will occur. In the future the SDK may create 1047 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 1048 // for more information on using Contexts. 1049 func (c *SageMaker) CreateContextWithContext(ctx aws.Context, input *CreateContextInput, opts ...request.Option) (*CreateContextOutput, error) { 1050 req, out := c.CreateContextRequest(input) 1051 req.SetContext(ctx) 1052 req.ApplyOptions(opts...) 1053 return out, req.Send() 1054 } 1055 1056 const opCreateDataQualityJobDefinition = "CreateDataQualityJobDefinition" 1057 1058 // CreateDataQualityJobDefinitionRequest generates a "aws/request.Request" representing the 1059 // client's request for the CreateDataQualityJobDefinition operation. The "output" return 1060 // value will be populated with the request's response once the request completes 1061 // successfully. 1062 // 1063 // Use "Send" method on the returned Request to send the API call to the service. 1064 // the "output" return value is not valid until after Send returns without error. 1065 // 1066 // See CreateDataQualityJobDefinition for more information on using the CreateDataQualityJobDefinition 1067 // API call, and error handling. 1068 // 1069 // This method is useful when you want to inject custom logic or configuration 1070 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 1071 // 1072 // 1073 // // Example sending a request using the CreateDataQualityJobDefinitionRequest method. 1074 // req, resp := client.CreateDataQualityJobDefinitionRequest(params) 1075 // 1076 // err := req.Send() 1077 // if err == nil { // resp is now filled 1078 // fmt.Println(resp) 1079 // } 1080 // 1081 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateDataQualityJobDefinition 1082 func (c *SageMaker) CreateDataQualityJobDefinitionRequest(input *CreateDataQualityJobDefinitionInput) (req *request.Request, output *CreateDataQualityJobDefinitionOutput) { 1083 op := &request.Operation{ 1084 Name: opCreateDataQualityJobDefinition, 1085 HTTPMethod: "POST", 1086 HTTPPath: "/", 1087 } 1088 1089 if input == nil { 1090 input = &CreateDataQualityJobDefinitionInput{} 1091 } 1092 1093 output = &CreateDataQualityJobDefinitionOutput{} 1094 req = c.newRequest(op, input, output) 1095 return 1096 } 1097 1098 // CreateDataQualityJobDefinition API operation for Amazon SageMaker Service. 1099 // 1100 // Creates a definition for a job that monitors data quality and drift. For 1101 // information about model monitor, see Amazon SageMaker Model Monitor (https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor.html). 1102 // 1103 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 1104 // with awserr.Error's Code and Message methods to get detailed information about 1105 // the error. 1106 // 1107 // See the AWS API reference guide for Amazon SageMaker Service's 1108 // API operation CreateDataQualityJobDefinition for usage and error information. 1109 // 1110 // Returned Error Types: 1111 // * ResourceLimitExceeded 1112 // You have exceeded an Amazon SageMaker resource limit. For example, you might 1113 // have too many training jobs created. 1114 // 1115 // * ResourceInUse 1116 // Resource being accessed is in use. 1117 // 1118 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateDataQualityJobDefinition 1119 func (c *SageMaker) CreateDataQualityJobDefinition(input *CreateDataQualityJobDefinitionInput) (*CreateDataQualityJobDefinitionOutput, error) { 1120 req, out := c.CreateDataQualityJobDefinitionRequest(input) 1121 return out, req.Send() 1122 } 1123 1124 // CreateDataQualityJobDefinitionWithContext is the same as CreateDataQualityJobDefinition with the addition of 1125 // the ability to pass a context and additional request options. 1126 // 1127 // See CreateDataQualityJobDefinition for details on how to use this API operation. 1128 // 1129 // The context must be non-nil and will be used for request cancellation. If 1130 // the context is nil a panic will occur. In the future the SDK may create 1131 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 1132 // for more information on using Contexts. 1133 func (c *SageMaker) CreateDataQualityJobDefinitionWithContext(ctx aws.Context, input *CreateDataQualityJobDefinitionInput, opts ...request.Option) (*CreateDataQualityJobDefinitionOutput, error) { 1134 req, out := c.CreateDataQualityJobDefinitionRequest(input) 1135 req.SetContext(ctx) 1136 req.ApplyOptions(opts...) 1137 return out, req.Send() 1138 } 1139 1140 const opCreateDeviceFleet = "CreateDeviceFleet" 1141 1142 // CreateDeviceFleetRequest generates a "aws/request.Request" representing the 1143 // client's request for the CreateDeviceFleet operation. The "output" return 1144 // value will be populated with the request's response once the request completes 1145 // successfully. 1146 // 1147 // Use "Send" method on the returned Request to send the API call to the service. 1148 // the "output" return value is not valid until after Send returns without error. 1149 // 1150 // See CreateDeviceFleet for more information on using the CreateDeviceFleet 1151 // API call, and error handling. 1152 // 1153 // This method is useful when you want to inject custom logic or configuration 1154 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 1155 // 1156 // 1157 // // Example sending a request using the CreateDeviceFleetRequest method. 1158 // req, resp := client.CreateDeviceFleetRequest(params) 1159 // 1160 // err := req.Send() 1161 // if err == nil { // resp is now filled 1162 // fmt.Println(resp) 1163 // } 1164 // 1165 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateDeviceFleet 1166 func (c *SageMaker) CreateDeviceFleetRequest(input *CreateDeviceFleetInput) (req *request.Request, output *CreateDeviceFleetOutput) { 1167 op := &request.Operation{ 1168 Name: opCreateDeviceFleet, 1169 HTTPMethod: "POST", 1170 HTTPPath: "/", 1171 } 1172 1173 if input == nil { 1174 input = &CreateDeviceFleetInput{} 1175 } 1176 1177 output = &CreateDeviceFleetOutput{} 1178 req = c.newRequest(op, input, output) 1179 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 1180 return 1181 } 1182 1183 // CreateDeviceFleet API operation for Amazon SageMaker Service. 1184 // 1185 // Creates a device fleet. 1186 // 1187 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 1188 // with awserr.Error's Code and Message methods to get detailed information about 1189 // the error. 1190 // 1191 // See the AWS API reference guide for Amazon SageMaker Service's 1192 // API operation CreateDeviceFleet for usage and error information. 1193 // 1194 // Returned Error Types: 1195 // * ResourceInUse 1196 // Resource being accessed is in use. 1197 // 1198 // * ResourceLimitExceeded 1199 // You have exceeded an Amazon SageMaker resource limit. For example, you might 1200 // have too many training jobs created. 1201 // 1202 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateDeviceFleet 1203 func (c *SageMaker) CreateDeviceFleet(input *CreateDeviceFleetInput) (*CreateDeviceFleetOutput, error) { 1204 req, out := c.CreateDeviceFleetRequest(input) 1205 return out, req.Send() 1206 } 1207 1208 // CreateDeviceFleetWithContext is the same as CreateDeviceFleet with the addition of 1209 // the ability to pass a context and additional request options. 1210 // 1211 // See CreateDeviceFleet for details on how to use this API operation. 1212 // 1213 // The context must be non-nil and will be used for request cancellation. If 1214 // the context is nil a panic will occur. In the future the SDK may create 1215 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 1216 // for more information on using Contexts. 1217 func (c *SageMaker) CreateDeviceFleetWithContext(ctx aws.Context, input *CreateDeviceFleetInput, opts ...request.Option) (*CreateDeviceFleetOutput, error) { 1218 req, out := c.CreateDeviceFleetRequest(input) 1219 req.SetContext(ctx) 1220 req.ApplyOptions(opts...) 1221 return out, req.Send() 1222 } 1223 1224 const opCreateDomain = "CreateDomain" 1225 1226 // CreateDomainRequest generates a "aws/request.Request" representing the 1227 // client's request for the CreateDomain operation. The "output" return 1228 // value will be populated with the request's response once the request completes 1229 // successfully. 1230 // 1231 // Use "Send" method on the returned Request to send the API call to the service. 1232 // the "output" return value is not valid until after Send returns without error. 1233 // 1234 // See CreateDomain for more information on using the CreateDomain 1235 // API call, and error handling. 1236 // 1237 // This method is useful when you want to inject custom logic or configuration 1238 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 1239 // 1240 // 1241 // // Example sending a request using the CreateDomainRequest method. 1242 // req, resp := client.CreateDomainRequest(params) 1243 // 1244 // err := req.Send() 1245 // if err == nil { // resp is now filled 1246 // fmt.Println(resp) 1247 // } 1248 // 1249 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateDomain 1250 func (c *SageMaker) CreateDomainRequest(input *CreateDomainInput) (req *request.Request, output *CreateDomainOutput) { 1251 op := &request.Operation{ 1252 Name: opCreateDomain, 1253 HTTPMethod: "POST", 1254 HTTPPath: "/", 1255 } 1256 1257 if input == nil { 1258 input = &CreateDomainInput{} 1259 } 1260 1261 output = &CreateDomainOutput{} 1262 req = c.newRequest(op, input, output) 1263 return 1264 } 1265 1266 // CreateDomain API operation for Amazon SageMaker Service. 1267 // 1268 // Creates a Domain used by Amazon SageMaker Studio. A domain consists of an 1269 // associated Amazon Elastic File System (EFS) volume, a list of authorized 1270 // users, and a variety of security, application, policy, and Amazon Virtual 1271 // Private Cloud (VPC) configurations. An Amazon Web Services account is limited 1272 // to one domain per region. Users within a domain can share notebook files 1273 // and other artifacts with each other. 1274 // 1275 // EFS storage 1276 // 1277 // When a domain is created, an EFS volume is created for use by all of the 1278 // users within the domain. Each user receives a private home directory within 1279 // the EFS volume for notebooks, Git repositories, and data files. 1280 // 1281 // SageMaker uses the Amazon Web Services Key Management Service (Amazon Web 1282 // Services KMS) to encrypt the EFS volume attached to the domain with an Amazon 1283 // Web Services managed key by default. For more control, you can specify a 1284 // customer managed key. For more information, see Protect Data at Rest Using 1285 // Encryption (https://docs.aws.amazon.com/sagemaker/latest/dg/encryption-at-rest.html). 1286 // 1287 // VPC configuration 1288 // 1289 // All SageMaker Studio traffic between the domain and the EFS volume is through 1290 // the specified VPC and subnets. For other Studio traffic, you can specify 1291 // the AppNetworkAccessType parameter. AppNetworkAccessType corresponds to the 1292 // network access type that you choose when you onboard to Studio. The following 1293 // options are available: 1294 // 1295 // * PublicInternetOnly - Non-EFS traffic goes through a VPC managed by Amazon 1296 // SageMaker, which allows internet access. This is the default value. 1297 // 1298 // * VpcOnly - All Studio traffic is through the specified VPC and subnets. 1299 // Internet access is disabled by default. To allow internet access, you 1300 // must specify a NAT gateway. When internet access is disabled, you won't 1301 // be able to run a Studio notebook or to train or host models unless your 1302 // VPC has an interface endpoint to the SageMaker API and runtime or a NAT 1303 // gateway and your security groups allow outbound connections. 1304 // 1305 // NFS traffic over TCP on port 2049 needs to be allowed in both inbound and 1306 // outbound rules in order to launch a SageMaker Studio app successfully. 1307 // 1308 // For more information, see Connect SageMaker Studio Notebooks to Resources 1309 // in a VPC (https://docs.aws.amazon.com/sagemaker/latest/dg/studio-notebooks-and-internet-access.html). 1310 // 1311 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 1312 // with awserr.Error's Code and Message methods to get detailed information about 1313 // the error. 1314 // 1315 // See the AWS API reference guide for Amazon SageMaker Service's 1316 // API operation CreateDomain for usage and error information. 1317 // 1318 // Returned Error Types: 1319 // * ResourceLimitExceeded 1320 // You have exceeded an Amazon SageMaker resource limit. For example, you might 1321 // have too many training jobs created. 1322 // 1323 // * ResourceInUse 1324 // Resource being accessed is in use. 1325 // 1326 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateDomain 1327 func (c *SageMaker) CreateDomain(input *CreateDomainInput) (*CreateDomainOutput, error) { 1328 req, out := c.CreateDomainRequest(input) 1329 return out, req.Send() 1330 } 1331 1332 // CreateDomainWithContext is the same as CreateDomain with the addition of 1333 // the ability to pass a context and additional request options. 1334 // 1335 // See CreateDomain for details on how to use this API operation. 1336 // 1337 // The context must be non-nil and will be used for request cancellation. If 1338 // the context is nil a panic will occur. In the future the SDK may create 1339 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 1340 // for more information on using Contexts. 1341 func (c *SageMaker) CreateDomainWithContext(ctx aws.Context, input *CreateDomainInput, opts ...request.Option) (*CreateDomainOutput, error) { 1342 req, out := c.CreateDomainRequest(input) 1343 req.SetContext(ctx) 1344 req.ApplyOptions(opts...) 1345 return out, req.Send() 1346 } 1347 1348 const opCreateEdgePackagingJob = "CreateEdgePackagingJob" 1349 1350 // CreateEdgePackagingJobRequest generates a "aws/request.Request" representing the 1351 // client's request for the CreateEdgePackagingJob operation. The "output" return 1352 // value will be populated with the request's response once the request completes 1353 // successfully. 1354 // 1355 // Use "Send" method on the returned Request to send the API call to the service. 1356 // the "output" return value is not valid until after Send returns without error. 1357 // 1358 // See CreateEdgePackagingJob for more information on using the CreateEdgePackagingJob 1359 // API call, and error handling. 1360 // 1361 // This method is useful when you want to inject custom logic or configuration 1362 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 1363 // 1364 // 1365 // // Example sending a request using the CreateEdgePackagingJobRequest method. 1366 // req, resp := client.CreateEdgePackagingJobRequest(params) 1367 // 1368 // err := req.Send() 1369 // if err == nil { // resp is now filled 1370 // fmt.Println(resp) 1371 // } 1372 // 1373 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEdgePackagingJob 1374 func (c *SageMaker) CreateEdgePackagingJobRequest(input *CreateEdgePackagingJobInput) (req *request.Request, output *CreateEdgePackagingJobOutput) { 1375 op := &request.Operation{ 1376 Name: opCreateEdgePackagingJob, 1377 HTTPMethod: "POST", 1378 HTTPPath: "/", 1379 } 1380 1381 if input == nil { 1382 input = &CreateEdgePackagingJobInput{} 1383 } 1384 1385 output = &CreateEdgePackagingJobOutput{} 1386 req = c.newRequest(op, input, output) 1387 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 1388 return 1389 } 1390 1391 // CreateEdgePackagingJob API operation for Amazon SageMaker Service. 1392 // 1393 // Starts a SageMaker Edge Manager model packaging job. Edge Manager will use 1394 // the model artifacts from the Amazon Simple Storage Service bucket that you 1395 // specify. After the model has been packaged, Amazon SageMaker saves the resulting 1396 // artifacts to an S3 bucket that you specify. 1397 // 1398 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 1399 // with awserr.Error's Code and Message methods to get detailed information about 1400 // the error. 1401 // 1402 // See the AWS API reference guide for Amazon SageMaker Service's 1403 // API operation CreateEdgePackagingJob for usage and error information. 1404 // 1405 // Returned Error Types: 1406 // * ResourceLimitExceeded 1407 // You have exceeded an Amazon SageMaker resource limit. For example, you might 1408 // have too many training jobs created. 1409 // 1410 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEdgePackagingJob 1411 func (c *SageMaker) CreateEdgePackagingJob(input *CreateEdgePackagingJobInput) (*CreateEdgePackagingJobOutput, error) { 1412 req, out := c.CreateEdgePackagingJobRequest(input) 1413 return out, req.Send() 1414 } 1415 1416 // CreateEdgePackagingJobWithContext is the same as CreateEdgePackagingJob with the addition of 1417 // the ability to pass a context and additional request options. 1418 // 1419 // See CreateEdgePackagingJob for details on how to use this API operation. 1420 // 1421 // The context must be non-nil and will be used for request cancellation. If 1422 // the context is nil a panic will occur. In the future the SDK may create 1423 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 1424 // for more information on using Contexts. 1425 func (c *SageMaker) CreateEdgePackagingJobWithContext(ctx aws.Context, input *CreateEdgePackagingJobInput, opts ...request.Option) (*CreateEdgePackagingJobOutput, error) { 1426 req, out := c.CreateEdgePackagingJobRequest(input) 1427 req.SetContext(ctx) 1428 req.ApplyOptions(opts...) 1429 return out, req.Send() 1430 } 1431 1432 const opCreateEndpoint = "CreateEndpoint" 1433 1434 // CreateEndpointRequest generates a "aws/request.Request" representing the 1435 // client's request for the CreateEndpoint operation. The "output" return 1436 // value will be populated with the request's response once the request completes 1437 // successfully. 1438 // 1439 // Use "Send" method on the returned Request to send the API call to the service. 1440 // the "output" return value is not valid until after Send returns without error. 1441 // 1442 // See CreateEndpoint for more information on using the CreateEndpoint 1443 // API call, and error handling. 1444 // 1445 // This method is useful when you want to inject custom logic or configuration 1446 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 1447 // 1448 // 1449 // // Example sending a request using the CreateEndpointRequest method. 1450 // req, resp := client.CreateEndpointRequest(params) 1451 // 1452 // err := req.Send() 1453 // if err == nil { // resp is now filled 1454 // fmt.Println(resp) 1455 // } 1456 // 1457 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpoint 1458 func (c *SageMaker) CreateEndpointRequest(input *CreateEndpointInput) (req *request.Request, output *CreateEndpointOutput) { 1459 op := &request.Operation{ 1460 Name: opCreateEndpoint, 1461 HTTPMethod: "POST", 1462 HTTPPath: "/", 1463 } 1464 1465 if input == nil { 1466 input = &CreateEndpointInput{} 1467 } 1468 1469 output = &CreateEndpointOutput{} 1470 req = c.newRequest(op, input, output) 1471 return 1472 } 1473 1474 // CreateEndpoint API operation for Amazon SageMaker Service. 1475 // 1476 // Creates an endpoint using the endpoint configuration specified in the request. 1477 // Amazon SageMaker uses the endpoint to provision resources and deploy models. 1478 // You create the endpoint configuration with the CreateEndpointConfig API. 1479 // 1480 // Use this API to deploy models using Amazon SageMaker hosting services. 1481 // 1482 // For an example that calls this method when deploying a model to Amazon SageMaker 1483 // hosting services, see the Create Endpoint example notebook. (https://github.com/aavshr/amazon-sagemaker-examples/blob/master/sagemaker-fundamentals/create-endpoint/create_endpoint.ipynb) 1484 // 1485 // You must not delete an EndpointConfig that is in use by an endpoint that 1486 // is live or while the UpdateEndpoint or CreateEndpoint operations are being 1487 // performed on the endpoint. To update an endpoint, you must create a new EndpointConfig. 1488 // 1489 // The endpoint name must be unique within an Amazon Web Services Region in 1490 // your Amazon Web Services account. 1491 // 1492 // When it receives the request, Amazon SageMaker creates the endpoint, launches 1493 // the resources (ML compute instances), and deploys the model(s) on them. 1494 // 1495 // When you call CreateEndpoint, a load call is made to DynamoDB to verify that 1496 // your endpoint configuration exists. When you read data from a DynamoDB table 1497 // supporting Eventually Consistent Reads (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadConsistency.html), 1498 // the response might not reflect the results of a recently completed write 1499 // operation. The response might include some stale data. If the dependent entities 1500 // are not yet in DynamoDB, this causes a validation error. If you repeat your 1501 // read request after a short time, the response should return the latest data. 1502 // So retry logic is recommended to handle these possible issues. We also recommend 1503 // that customers call DescribeEndpointConfig before calling CreateEndpoint 1504 // to minimize the potential impact of a DynamoDB eventually consistent read. 1505 // 1506 // When Amazon SageMaker receives the request, it sets the endpoint status to 1507 // Creating. After it creates the endpoint, it sets the status to InService. 1508 // Amazon SageMaker can then process incoming requests for inferences. To check 1509 // the status of an endpoint, use the DescribeEndpoint API. 1510 // 1511 // If any of the models hosted at this endpoint get model data from an Amazon 1512 // S3 location, Amazon SageMaker uses Amazon Web Services Security Token Service 1513 // to download model artifacts from the S3 path you provided. Amazon Web Services 1514 // STS is activated in your IAM user account by default. If you previously deactivated 1515 // Amazon Web Services STS for a region, you need to reactivate Amazon Web Services 1516 // STS for that region. For more information, see Activating and Deactivating 1517 // Amazon Web Services STS in an Amazon Web Services Region (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html) 1518 // in the Amazon Web Services Identity and Access Management User Guide. 1519 // 1520 // To add the IAM role policies for using this API operation, go to the IAM 1521 // console (https://console.aws.amazon.com/iam/), and choose Roles in the left 1522 // navigation pane. Search the IAM role that you want to grant access to use 1523 // the CreateEndpoint and CreateEndpointConfig API operations, add the following 1524 // policies to the role. 1525 // 1526 // * Option 1: For a full SageMaker access, search and attach the AmazonSageMakerFullAccess 1527 // policy. 1528 // 1529 // * Option 2: For granting a limited access to an IAM role, paste the following 1530 // Action elements manually into the JSON file of the IAM role: "Action": 1531 // ["sagemaker:CreateEndpoint", "sagemaker:CreateEndpointConfig"] "Resource": 1532 // [ "arn:aws:sagemaker:region:account-id:endpoint/endpointName" "arn:aws:sagemaker:region:account-id:endpoint-config/endpointConfigName" 1533 // ] For more information, see SageMaker API Permissions: Actions, Permissions, 1534 // and Resources Reference (https://docs.aws.amazon.com/sagemaker/latest/dg/api-permissions-reference.html). 1535 // 1536 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 1537 // with awserr.Error's Code and Message methods to get detailed information about 1538 // the error. 1539 // 1540 // See the AWS API reference guide for Amazon SageMaker Service's 1541 // API operation CreateEndpoint for usage and error information. 1542 // 1543 // Returned Error Types: 1544 // * ResourceLimitExceeded 1545 // You have exceeded an Amazon SageMaker resource limit. For example, you might 1546 // have too many training jobs created. 1547 // 1548 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpoint 1549 func (c *SageMaker) CreateEndpoint(input *CreateEndpointInput) (*CreateEndpointOutput, error) { 1550 req, out := c.CreateEndpointRequest(input) 1551 return out, req.Send() 1552 } 1553 1554 // CreateEndpointWithContext is the same as CreateEndpoint with the addition of 1555 // the ability to pass a context and additional request options. 1556 // 1557 // See CreateEndpoint for details on how to use this API operation. 1558 // 1559 // The context must be non-nil and will be used for request cancellation. If 1560 // the context is nil a panic will occur. In the future the SDK may create 1561 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 1562 // for more information on using Contexts. 1563 func (c *SageMaker) CreateEndpointWithContext(ctx aws.Context, input *CreateEndpointInput, opts ...request.Option) (*CreateEndpointOutput, error) { 1564 req, out := c.CreateEndpointRequest(input) 1565 req.SetContext(ctx) 1566 req.ApplyOptions(opts...) 1567 return out, req.Send() 1568 } 1569 1570 const opCreateEndpointConfig = "CreateEndpointConfig" 1571 1572 // CreateEndpointConfigRequest generates a "aws/request.Request" representing the 1573 // client's request for the CreateEndpointConfig operation. The "output" return 1574 // value will be populated with the request's response once the request completes 1575 // successfully. 1576 // 1577 // Use "Send" method on the returned Request to send the API call to the service. 1578 // the "output" return value is not valid until after Send returns without error. 1579 // 1580 // See CreateEndpointConfig for more information on using the CreateEndpointConfig 1581 // API call, and error handling. 1582 // 1583 // This method is useful when you want to inject custom logic or configuration 1584 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 1585 // 1586 // 1587 // // Example sending a request using the CreateEndpointConfigRequest method. 1588 // req, resp := client.CreateEndpointConfigRequest(params) 1589 // 1590 // err := req.Send() 1591 // if err == nil { // resp is now filled 1592 // fmt.Println(resp) 1593 // } 1594 // 1595 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpointConfig 1596 func (c *SageMaker) CreateEndpointConfigRequest(input *CreateEndpointConfigInput) (req *request.Request, output *CreateEndpointConfigOutput) { 1597 op := &request.Operation{ 1598 Name: opCreateEndpointConfig, 1599 HTTPMethod: "POST", 1600 HTTPPath: "/", 1601 } 1602 1603 if input == nil { 1604 input = &CreateEndpointConfigInput{} 1605 } 1606 1607 output = &CreateEndpointConfigOutput{} 1608 req = c.newRequest(op, input, output) 1609 return 1610 } 1611 1612 // CreateEndpointConfig API operation for Amazon SageMaker Service. 1613 // 1614 // Creates an endpoint configuration that Amazon SageMaker hosting services 1615 // uses to deploy models. In the configuration, you identify one or more models, 1616 // created using the CreateModel API, to deploy and the resources that you want 1617 // Amazon SageMaker to provision. Then you call the CreateEndpoint API. 1618 // 1619 // Use this API if you want to use Amazon SageMaker hosting services to deploy 1620 // models into production. 1621 // 1622 // In the request, you define a ProductionVariant, for each model that you want 1623 // to deploy. Each ProductionVariant parameter also describes the resources 1624 // that you want Amazon SageMaker to provision. This includes the number and 1625 // type of ML compute instances to deploy. 1626 // 1627 // If you are hosting multiple models, you also assign a VariantWeight to specify 1628 // how much traffic you want to allocate to each model. For example, suppose 1629 // that you want to host two models, A and B, and you assign traffic weight 1630 // 2 for model A and 1 for model B. Amazon SageMaker distributes two-thirds 1631 // of the traffic to Model A, and one-third to model B. 1632 // 1633 // When you call CreateEndpoint, a load call is made to DynamoDB to verify that 1634 // your endpoint configuration exists. When you read data from a DynamoDB table 1635 // supporting Eventually Consistent Reads (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadConsistency.html), 1636 // the response might not reflect the results of a recently completed write 1637 // operation. The response might include some stale data. If the dependent entities 1638 // are not yet in DynamoDB, this causes a validation error. If you repeat your 1639 // read request after a short time, the response should return the latest data. 1640 // So retry logic is recommended to handle these possible issues. We also recommend 1641 // that customers call DescribeEndpointConfig before calling CreateEndpoint 1642 // to minimize the potential impact of a DynamoDB eventually consistent read. 1643 // 1644 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 1645 // with awserr.Error's Code and Message methods to get detailed information about 1646 // the error. 1647 // 1648 // See the AWS API reference guide for Amazon SageMaker Service's 1649 // API operation CreateEndpointConfig for usage and error information. 1650 // 1651 // Returned Error Types: 1652 // * ResourceLimitExceeded 1653 // You have exceeded an Amazon SageMaker resource limit. For example, you might 1654 // have too many training jobs created. 1655 // 1656 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpointConfig 1657 func (c *SageMaker) CreateEndpointConfig(input *CreateEndpointConfigInput) (*CreateEndpointConfigOutput, error) { 1658 req, out := c.CreateEndpointConfigRequest(input) 1659 return out, req.Send() 1660 } 1661 1662 // CreateEndpointConfigWithContext is the same as CreateEndpointConfig with the addition of 1663 // the ability to pass a context and additional request options. 1664 // 1665 // See CreateEndpointConfig for details on how to use this API operation. 1666 // 1667 // The context must be non-nil and will be used for request cancellation. If 1668 // the context is nil a panic will occur. In the future the SDK may create 1669 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 1670 // for more information on using Contexts. 1671 func (c *SageMaker) CreateEndpointConfigWithContext(ctx aws.Context, input *CreateEndpointConfigInput, opts ...request.Option) (*CreateEndpointConfigOutput, error) { 1672 req, out := c.CreateEndpointConfigRequest(input) 1673 req.SetContext(ctx) 1674 req.ApplyOptions(opts...) 1675 return out, req.Send() 1676 } 1677 1678 const opCreateExperiment = "CreateExperiment" 1679 1680 // CreateExperimentRequest generates a "aws/request.Request" representing the 1681 // client's request for the CreateExperiment operation. The "output" return 1682 // value will be populated with the request's response once the request completes 1683 // successfully. 1684 // 1685 // Use "Send" method on the returned Request to send the API call to the service. 1686 // the "output" return value is not valid until after Send returns without error. 1687 // 1688 // See CreateExperiment for more information on using the CreateExperiment 1689 // API call, and error handling. 1690 // 1691 // This method is useful when you want to inject custom logic or configuration 1692 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 1693 // 1694 // 1695 // // Example sending a request using the CreateExperimentRequest method. 1696 // req, resp := client.CreateExperimentRequest(params) 1697 // 1698 // err := req.Send() 1699 // if err == nil { // resp is now filled 1700 // fmt.Println(resp) 1701 // } 1702 // 1703 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateExperiment 1704 func (c *SageMaker) CreateExperimentRequest(input *CreateExperimentInput) (req *request.Request, output *CreateExperimentOutput) { 1705 op := &request.Operation{ 1706 Name: opCreateExperiment, 1707 HTTPMethod: "POST", 1708 HTTPPath: "/", 1709 } 1710 1711 if input == nil { 1712 input = &CreateExperimentInput{} 1713 } 1714 1715 output = &CreateExperimentOutput{} 1716 req = c.newRequest(op, input, output) 1717 return 1718 } 1719 1720 // CreateExperiment API operation for Amazon SageMaker Service. 1721 // 1722 // Creates an SageMaker experiment. An experiment is a collection of trials 1723 // that are observed, compared and evaluated as a group. A trial is a set of 1724 // steps, called trial components, that produce a machine learning model. 1725 // 1726 // The goal of an experiment is to determine the components that produce the 1727 // best model. Multiple trials are performed, each one isolating and measuring 1728 // the impact of a change to one or more inputs, while keeping the remaining 1729 // inputs constant. 1730 // 1731 // When you use SageMaker Studio or the SageMaker Python SDK, all experiments, 1732 // trials, and trial components are automatically tracked, logged, and indexed. 1733 // When you use the Amazon Web Services SDK for Python (Boto), you must use 1734 // the logging APIs provided by the SDK. 1735 // 1736 // You can add tags to experiments, trials, trial components and then use the 1737 // Search API to search for the tags. 1738 // 1739 // To add a description to an experiment, specify the optional Description parameter. 1740 // To add a description later, or to change the description, call the UpdateExperiment 1741 // API. 1742 // 1743 // To get a list of all your experiments, call the ListExperiments API. To view 1744 // an experiment's properties, call the DescribeExperiment API. To get a list 1745 // of all the trials associated with an experiment, call the ListTrials API. 1746 // To create a trial call the CreateTrial API. 1747 // 1748 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 1749 // with awserr.Error's Code and Message methods to get detailed information about 1750 // the error. 1751 // 1752 // See the AWS API reference guide for Amazon SageMaker Service's 1753 // API operation CreateExperiment for usage and error information. 1754 // 1755 // Returned Error Types: 1756 // * ResourceLimitExceeded 1757 // You have exceeded an Amazon SageMaker resource limit. For example, you might 1758 // have too many training jobs created. 1759 // 1760 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateExperiment 1761 func (c *SageMaker) CreateExperiment(input *CreateExperimentInput) (*CreateExperimentOutput, error) { 1762 req, out := c.CreateExperimentRequest(input) 1763 return out, req.Send() 1764 } 1765 1766 // CreateExperimentWithContext is the same as CreateExperiment with the addition of 1767 // the ability to pass a context and additional request options. 1768 // 1769 // See CreateExperiment for details on how to use this API operation. 1770 // 1771 // The context must be non-nil and will be used for request cancellation. If 1772 // the context is nil a panic will occur. In the future the SDK may create 1773 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 1774 // for more information on using Contexts. 1775 func (c *SageMaker) CreateExperimentWithContext(ctx aws.Context, input *CreateExperimentInput, opts ...request.Option) (*CreateExperimentOutput, error) { 1776 req, out := c.CreateExperimentRequest(input) 1777 req.SetContext(ctx) 1778 req.ApplyOptions(opts...) 1779 return out, req.Send() 1780 } 1781 1782 const opCreateFeatureGroup = "CreateFeatureGroup" 1783 1784 // CreateFeatureGroupRequest generates a "aws/request.Request" representing the 1785 // client's request for the CreateFeatureGroup operation. The "output" return 1786 // value will be populated with the request's response once the request completes 1787 // successfully. 1788 // 1789 // Use "Send" method on the returned Request to send the API call to the service. 1790 // the "output" return value is not valid until after Send returns without error. 1791 // 1792 // See CreateFeatureGroup for more information on using the CreateFeatureGroup 1793 // API call, and error handling. 1794 // 1795 // This method is useful when you want to inject custom logic or configuration 1796 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 1797 // 1798 // 1799 // // Example sending a request using the CreateFeatureGroupRequest method. 1800 // req, resp := client.CreateFeatureGroupRequest(params) 1801 // 1802 // err := req.Send() 1803 // if err == nil { // resp is now filled 1804 // fmt.Println(resp) 1805 // } 1806 // 1807 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateFeatureGroup 1808 func (c *SageMaker) CreateFeatureGroupRequest(input *CreateFeatureGroupInput) (req *request.Request, output *CreateFeatureGroupOutput) { 1809 op := &request.Operation{ 1810 Name: opCreateFeatureGroup, 1811 HTTPMethod: "POST", 1812 HTTPPath: "/", 1813 } 1814 1815 if input == nil { 1816 input = &CreateFeatureGroupInput{} 1817 } 1818 1819 output = &CreateFeatureGroupOutput{} 1820 req = c.newRequest(op, input, output) 1821 return 1822 } 1823 1824 // CreateFeatureGroup API operation for Amazon SageMaker Service. 1825 // 1826 // Create a new FeatureGroup. A FeatureGroup is a group of Features defined 1827 // in the FeatureStore to describe a Record. 1828 // 1829 // The FeatureGroup defines the schema and features contained in the FeatureGroup. 1830 // A FeatureGroup definition is composed of a list of Features, a RecordIdentifierFeatureName, 1831 // an EventTimeFeatureName and configurations for its OnlineStore and OfflineStore. 1832 // Check Amazon Web Services service quotas (https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html) 1833 // to see the FeatureGroups quota for your Amazon Web Services account. 1834 // 1835 // You must include at least one of OnlineStoreConfig and OfflineStoreConfig 1836 // to create a FeatureGroup. 1837 // 1838 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 1839 // with awserr.Error's Code and Message methods to get detailed information about 1840 // the error. 1841 // 1842 // See the AWS API reference guide for Amazon SageMaker Service's 1843 // API operation CreateFeatureGroup for usage and error information. 1844 // 1845 // Returned Error Types: 1846 // * ResourceInUse 1847 // Resource being accessed is in use. 1848 // 1849 // * ResourceLimitExceeded 1850 // You have exceeded an Amazon SageMaker resource limit. For example, you might 1851 // have too many training jobs created. 1852 // 1853 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateFeatureGroup 1854 func (c *SageMaker) CreateFeatureGroup(input *CreateFeatureGroupInput) (*CreateFeatureGroupOutput, error) { 1855 req, out := c.CreateFeatureGroupRequest(input) 1856 return out, req.Send() 1857 } 1858 1859 // CreateFeatureGroupWithContext is the same as CreateFeatureGroup with the addition of 1860 // the ability to pass a context and additional request options. 1861 // 1862 // See CreateFeatureGroup for details on how to use this API operation. 1863 // 1864 // The context must be non-nil and will be used for request cancellation. If 1865 // the context is nil a panic will occur. In the future the SDK may create 1866 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 1867 // for more information on using Contexts. 1868 func (c *SageMaker) CreateFeatureGroupWithContext(ctx aws.Context, input *CreateFeatureGroupInput, opts ...request.Option) (*CreateFeatureGroupOutput, error) { 1869 req, out := c.CreateFeatureGroupRequest(input) 1870 req.SetContext(ctx) 1871 req.ApplyOptions(opts...) 1872 return out, req.Send() 1873 } 1874 1875 const opCreateFlowDefinition = "CreateFlowDefinition" 1876 1877 // CreateFlowDefinitionRequest generates a "aws/request.Request" representing the 1878 // client's request for the CreateFlowDefinition operation. The "output" return 1879 // value will be populated with the request's response once the request completes 1880 // successfully. 1881 // 1882 // Use "Send" method on the returned Request to send the API call to the service. 1883 // the "output" return value is not valid until after Send returns without error. 1884 // 1885 // See CreateFlowDefinition for more information on using the CreateFlowDefinition 1886 // API call, and error handling. 1887 // 1888 // This method is useful when you want to inject custom logic or configuration 1889 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 1890 // 1891 // 1892 // // Example sending a request using the CreateFlowDefinitionRequest method. 1893 // req, resp := client.CreateFlowDefinitionRequest(params) 1894 // 1895 // err := req.Send() 1896 // if err == nil { // resp is now filled 1897 // fmt.Println(resp) 1898 // } 1899 // 1900 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateFlowDefinition 1901 func (c *SageMaker) CreateFlowDefinitionRequest(input *CreateFlowDefinitionInput) (req *request.Request, output *CreateFlowDefinitionOutput) { 1902 op := &request.Operation{ 1903 Name: opCreateFlowDefinition, 1904 HTTPMethod: "POST", 1905 HTTPPath: "/", 1906 } 1907 1908 if input == nil { 1909 input = &CreateFlowDefinitionInput{} 1910 } 1911 1912 output = &CreateFlowDefinitionOutput{} 1913 req = c.newRequest(op, input, output) 1914 return 1915 } 1916 1917 // CreateFlowDefinition API operation for Amazon SageMaker Service. 1918 // 1919 // Creates a flow definition. 1920 // 1921 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 1922 // with awserr.Error's Code and Message methods to get detailed information about 1923 // the error. 1924 // 1925 // See the AWS API reference guide for Amazon SageMaker Service's 1926 // API operation CreateFlowDefinition for usage and error information. 1927 // 1928 // Returned Error Types: 1929 // * ResourceLimitExceeded 1930 // You have exceeded an Amazon SageMaker resource limit. For example, you might 1931 // have too many training jobs created. 1932 // 1933 // * ResourceInUse 1934 // Resource being accessed is in use. 1935 // 1936 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateFlowDefinition 1937 func (c *SageMaker) CreateFlowDefinition(input *CreateFlowDefinitionInput) (*CreateFlowDefinitionOutput, error) { 1938 req, out := c.CreateFlowDefinitionRequest(input) 1939 return out, req.Send() 1940 } 1941 1942 // CreateFlowDefinitionWithContext is the same as CreateFlowDefinition with the addition of 1943 // the ability to pass a context and additional request options. 1944 // 1945 // See CreateFlowDefinition for details on how to use this API operation. 1946 // 1947 // The context must be non-nil and will be used for request cancellation. If 1948 // the context is nil a panic will occur. In the future the SDK may create 1949 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 1950 // for more information on using Contexts. 1951 func (c *SageMaker) CreateFlowDefinitionWithContext(ctx aws.Context, input *CreateFlowDefinitionInput, opts ...request.Option) (*CreateFlowDefinitionOutput, error) { 1952 req, out := c.CreateFlowDefinitionRequest(input) 1953 req.SetContext(ctx) 1954 req.ApplyOptions(opts...) 1955 return out, req.Send() 1956 } 1957 1958 const opCreateHumanTaskUi = "CreateHumanTaskUi" 1959 1960 // CreateHumanTaskUiRequest generates a "aws/request.Request" representing the 1961 // client's request for the CreateHumanTaskUi operation. The "output" return 1962 // value will be populated with the request's response once the request completes 1963 // successfully. 1964 // 1965 // Use "Send" method on the returned Request to send the API call to the service. 1966 // the "output" return value is not valid until after Send returns without error. 1967 // 1968 // See CreateHumanTaskUi for more information on using the CreateHumanTaskUi 1969 // API call, and error handling. 1970 // 1971 // This method is useful when you want to inject custom logic or configuration 1972 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 1973 // 1974 // 1975 // // Example sending a request using the CreateHumanTaskUiRequest method. 1976 // req, resp := client.CreateHumanTaskUiRequest(params) 1977 // 1978 // err := req.Send() 1979 // if err == nil { // resp is now filled 1980 // fmt.Println(resp) 1981 // } 1982 // 1983 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHumanTaskUi 1984 func (c *SageMaker) CreateHumanTaskUiRequest(input *CreateHumanTaskUiInput) (req *request.Request, output *CreateHumanTaskUiOutput) { 1985 op := &request.Operation{ 1986 Name: opCreateHumanTaskUi, 1987 HTTPMethod: "POST", 1988 HTTPPath: "/", 1989 } 1990 1991 if input == nil { 1992 input = &CreateHumanTaskUiInput{} 1993 } 1994 1995 output = &CreateHumanTaskUiOutput{} 1996 req = c.newRequest(op, input, output) 1997 return 1998 } 1999 2000 // CreateHumanTaskUi API operation for Amazon SageMaker Service. 2001 // 2002 // Defines the settings you will use for the human review workflow user interface. 2003 // Reviewers will see a three-panel interface with an instruction area, the 2004 // item to review, and an input area. 2005 // 2006 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 2007 // with awserr.Error's Code and Message methods to get detailed information about 2008 // the error. 2009 // 2010 // See the AWS API reference guide for Amazon SageMaker Service's 2011 // API operation CreateHumanTaskUi for usage and error information. 2012 // 2013 // Returned Error Types: 2014 // * ResourceLimitExceeded 2015 // You have exceeded an Amazon SageMaker resource limit. For example, you might 2016 // have too many training jobs created. 2017 // 2018 // * ResourceInUse 2019 // Resource being accessed is in use. 2020 // 2021 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHumanTaskUi 2022 func (c *SageMaker) CreateHumanTaskUi(input *CreateHumanTaskUiInput) (*CreateHumanTaskUiOutput, error) { 2023 req, out := c.CreateHumanTaskUiRequest(input) 2024 return out, req.Send() 2025 } 2026 2027 // CreateHumanTaskUiWithContext is the same as CreateHumanTaskUi with the addition of 2028 // the ability to pass a context and additional request options. 2029 // 2030 // See CreateHumanTaskUi for details on how to use this API operation. 2031 // 2032 // The context must be non-nil and will be used for request cancellation. If 2033 // the context is nil a panic will occur. In the future the SDK may create 2034 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 2035 // for more information on using Contexts. 2036 func (c *SageMaker) CreateHumanTaskUiWithContext(ctx aws.Context, input *CreateHumanTaskUiInput, opts ...request.Option) (*CreateHumanTaskUiOutput, error) { 2037 req, out := c.CreateHumanTaskUiRequest(input) 2038 req.SetContext(ctx) 2039 req.ApplyOptions(opts...) 2040 return out, req.Send() 2041 } 2042 2043 const opCreateHyperParameterTuningJob = "CreateHyperParameterTuningJob" 2044 2045 // CreateHyperParameterTuningJobRequest generates a "aws/request.Request" representing the 2046 // client's request for the CreateHyperParameterTuningJob operation. The "output" return 2047 // value will be populated with the request's response once the request completes 2048 // successfully. 2049 // 2050 // Use "Send" method on the returned Request to send the API call to the service. 2051 // the "output" return value is not valid until after Send returns without error. 2052 // 2053 // See CreateHyperParameterTuningJob for more information on using the CreateHyperParameterTuningJob 2054 // API call, and error handling. 2055 // 2056 // This method is useful when you want to inject custom logic or configuration 2057 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 2058 // 2059 // 2060 // // Example sending a request using the CreateHyperParameterTuningJobRequest method. 2061 // req, resp := client.CreateHyperParameterTuningJobRequest(params) 2062 // 2063 // err := req.Send() 2064 // if err == nil { // resp is now filled 2065 // fmt.Println(resp) 2066 // } 2067 // 2068 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHyperParameterTuningJob 2069 func (c *SageMaker) CreateHyperParameterTuningJobRequest(input *CreateHyperParameterTuningJobInput) (req *request.Request, output *CreateHyperParameterTuningJobOutput) { 2070 op := &request.Operation{ 2071 Name: opCreateHyperParameterTuningJob, 2072 HTTPMethod: "POST", 2073 HTTPPath: "/", 2074 } 2075 2076 if input == nil { 2077 input = &CreateHyperParameterTuningJobInput{} 2078 } 2079 2080 output = &CreateHyperParameterTuningJobOutput{} 2081 req = c.newRequest(op, input, output) 2082 return 2083 } 2084 2085 // CreateHyperParameterTuningJob API operation for Amazon SageMaker Service. 2086 // 2087 // Starts a hyperparameter tuning job. A hyperparameter tuning job finds the 2088 // best version of a model by running many training jobs on your dataset using 2089 // the algorithm you choose and values for hyperparameters within ranges that 2090 // you specify. It then chooses the hyperparameter values that result in a model 2091 // that performs the best, as measured by an objective metric that you choose. 2092 // 2093 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 2094 // with awserr.Error's Code and Message methods to get detailed information about 2095 // the error. 2096 // 2097 // See the AWS API reference guide for Amazon SageMaker Service's 2098 // API operation CreateHyperParameterTuningJob for usage and error information. 2099 // 2100 // Returned Error Types: 2101 // * ResourceInUse 2102 // Resource being accessed is in use. 2103 // 2104 // * ResourceLimitExceeded 2105 // You have exceeded an Amazon SageMaker resource limit. For example, you might 2106 // have too many training jobs created. 2107 // 2108 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHyperParameterTuningJob 2109 func (c *SageMaker) CreateHyperParameterTuningJob(input *CreateHyperParameterTuningJobInput) (*CreateHyperParameterTuningJobOutput, error) { 2110 req, out := c.CreateHyperParameterTuningJobRequest(input) 2111 return out, req.Send() 2112 } 2113 2114 // CreateHyperParameterTuningJobWithContext is the same as CreateHyperParameterTuningJob with the addition of 2115 // the ability to pass a context and additional request options. 2116 // 2117 // See CreateHyperParameterTuningJob for details on how to use this API operation. 2118 // 2119 // The context must be non-nil and will be used for request cancellation. If 2120 // the context is nil a panic will occur. In the future the SDK may create 2121 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 2122 // for more information on using Contexts. 2123 func (c *SageMaker) CreateHyperParameterTuningJobWithContext(ctx aws.Context, input *CreateHyperParameterTuningJobInput, opts ...request.Option) (*CreateHyperParameterTuningJobOutput, error) { 2124 req, out := c.CreateHyperParameterTuningJobRequest(input) 2125 req.SetContext(ctx) 2126 req.ApplyOptions(opts...) 2127 return out, req.Send() 2128 } 2129 2130 const opCreateImage = "CreateImage" 2131 2132 // CreateImageRequest generates a "aws/request.Request" representing the 2133 // client's request for the CreateImage operation. The "output" return 2134 // value will be populated with the request's response once the request completes 2135 // successfully. 2136 // 2137 // Use "Send" method on the returned Request to send the API call to the service. 2138 // the "output" return value is not valid until after Send returns without error. 2139 // 2140 // See CreateImage for more information on using the CreateImage 2141 // API call, and error handling. 2142 // 2143 // This method is useful when you want to inject custom logic or configuration 2144 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 2145 // 2146 // 2147 // // Example sending a request using the CreateImageRequest method. 2148 // req, resp := client.CreateImageRequest(params) 2149 // 2150 // err := req.Send() 2151 // if err == nil { // resp is now filled 2152 // fmt.Println(resp) 2153 // } 2154 // 2155 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateImage 2156 func (c *SageMaker) CreateImageRequest(input *CreateImageInput) (req *request.Request, output *CreateImageOutput) { 2157 op := &request.Operation{ 2158 Name: opCreateImage, 2159 HTTPMethod: "POST", 2160 HTTPPath: "/", 2161 } 2162 2163 if input == nil { 2164 input = &CreateImageInput{} 2165 } 2166 2167 output = &CreateImageOutput{} 2168 req = c.newRequest(op, input, output) 2169 return 2170 } 2171 2172 // CreateImage API operation for Amazon SageMaker Service. 2173 // 2174 // Creates a custom SageMaker image. A SageMaker image is a set of image versions. 2175 // Each image version represents a container image stored in Amazon Container 2176 // Registry (ECR). For more information, see Bring your own SageMaker image 2177 // (https://docs.aws.amazon.com/sagemaker/latest/dg/studio-byoi.html). 2178 // 2179 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 2180 // with awserr.Error's Code and Message methods to get detailed information about 2181 // the error. 2182 // 2183 // See the AWS API reference guide for Amazon SageMaker Service's 2184 // API operation CreateImage for usage and error information. 2185 // 2186 // Returned Error Types: 2187 // * ResourceInUse 2188 // Resource being accessed is in use. 2189 // 2190 // * ResourceLimitExceeded 2191 // You have exceeded an Amazon SageMaker resource limit. For example, you might 2192 // have too many training jobs created. 2193 // 2194 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateImage 2195 func (c *SageMaker) CreateImage(input *CreateImageInput) (*CreateImageOutput, error) { 2196 req, out := c.CreateImageRequest(input) 2197 return out, req.Send() 2198 } 2199 2200 // CreateImageWithContext is the same as CreateImage with the addition of 2201 // the ability to pass a context and additional request options. 2202 // 2203 // See CreateImage for details on how to use this API operation. 2204 // 2205 // The context must be non-nil and will be used for request cancellation. If 2206 // the context is nil a panic will occur. In the future the SDK may create 2207 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 2208 // for more information on using Contexts. 2209 func (c *SageMaker) CreateImageWithContext(ctx aws.Context, input *CreateImageInput, opts ...request.Option) (*CreateImageOutput, error) { 2210 req, out := c.CreateImageRequest(input) 2211 req.SetContext(ctx) 2212 req.ApplyOptions(opts...) 2213 return out, req.Send() 2214 } 2215 2216 const opCreateImageVersion = "CreateImageVersion" 2217 2218 // CreateImageVersionRequest generates a "aws/request.Request" representing the 2219 // client's request for the CreateImageVersion operation. The "output" return 2220 // value will be populated with the request's response once the request completes 2221 // successfully. 2222 // 2223 // Use "Send" method on the returned Request to send the API call to the service. 2224 // the "output" return value is not valid until after Send returns without error. 2225 // 2226 // See CreateImageVersion for more information on using the CreateImageVersion 2227 // API call, and error handling. 2228 // 2229 // This method is useful when you want to inject custom logic or configuration 2230 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 2231 // 2232 // 2233 // // Example sending a request using the CreateImageVersionRequest method. 2234 // req, resp := client.CreateImageVersionRequest(params) 2235 // 2236 // err := req.Send() 2237 // if err == nil { // resp is now filled 2238 // fmt.Println(resp) 2239 // } 2240 // 2241 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateImageVersion 2242 func (c *SageMaker) CreateImageVersionRequest(input *CreateImageVersionInput) (req *request.Request, output *CreateImageVersionOutput) { 2243 op := &request.Operation{ 2244 Name: opCreateImageVersion, 2245 HTTPMethod: "POST", 2246 HTTPPath: "/", 2247 } 2248 2249 if input == nil { 2250 input = &CreateImageVersionInput{} 2251 } 2252 2253 output = &CreateImageVersionOutput{} 2254 req = c.newRequest(op, input, output) 2255 return 2256 } 2257 2258 // CreateImageVersion API operation for Amazon SageMaker Service. 2259 // 2260 // Creates a version of the SageMaker image specified by ImageName. The version 2261 // represents the Amazon Container Registry (ECR) container image specified 2262 // by BaseImage. 2263 // 2264 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 2265 // with awserr.Error's Code and Message methods to get detailed information about 2266 // the error. 2267 // 2268 // See the AWS API reference guide for Amazon SageMaker Service's 2269 // API operation CreateImageVersion for usage and error information. 2270 // 2271 // Returned Error Types: 2272 // * ResourceInUse 2273 // Resource being accessed is in use. 2274 // 2275 // * ResourceLimitExceeded 2276 // You have exceeded an Amazon SageMaker resource limit. For example, you might 2277 // have too many training jobs created. 2278 // 2279 // * ResourceNotFound 2280 // Resource being access is not found. 2281 // 2282 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateImageVersion 2283 func (c *SageMaker) CreateImageVersion(input *CreateImageVersionInput) (*CreateImageVersionOutput, error) { 2284 req, out := c.CreateImageVersionRequest(input) 2285 return out, req.Send() 2286 } 2287 2288 // CreateImageVersionWithContext is the same as CreateImageVersion with the addition of 2289 // the ability to pass a context and additional request options. 2290 // 2291 // See CreateImageVersion for details on how to use this API operation. 2292 // 2293 // The context must be non-nil and will be used for request cancellation. If 2294 // the context is nil a panic will occur. In the future the SDK may create 2295 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 2296 // for more information on using Contexts. 2297 func (c *SageMaker) CreateImageVersionWithContext(ctx aws.Context, input *CreateImageVersionInput, opts ...request.Option) (*CreateImageVersionOutput, error) { 2298 req, out := c.CreateImageVersionRequest(input) 2299 req.SetContext(ctx) 2300 req.ApplyOptions(opts...) 2301 return out, req.Send() 2302 } 2303 2304 const opCreateLabelingJob = "CreateLabelingJob" 2305 2306 // CreateLabelingJobRequest generates a "aws/request.Request" representing the 2307 // client's request for the CreateLabelingJob operation. The "output" return 2308 // value will be populated with the request's response once the request completes 2309 // successfully. 2310 // 2311 // Use "Send" method on the returned Request to send the API call to the service. 2312 // the "output" return value is not valid until after Send returns without error. 2313 // 2314 // See CreateLabelingJob for more information on using the CreateLabelingJob 2315 // API call, and error handling. 2316 // 2317 // This method is useful when you want to inject custom logic or configuration 2318 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 2319 // 2320 // 2321 // // Example sending a request using the CreateLabelingJobRequest method. 2322 // req, resp := client.CreateLabelingJobRequest(params) 2323 // 2324 // err := req.Send() 2325 // if err == nil { // resp is now filled 2326 // fmt.Println(resp) 2327 // } 2328 // 2329 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateLabelingJob 2330 func (c *SageMaker) CreateLabelingJobRequest(input *CreateLabelingJobInput) (req *request.Request, output *CreateLabelingJobOutput) { 2331 op := &request.Operation{ 2332 Name: opCreateLabelingJob, 2333 HTTPMethod: "POST", 2334 HTTPPath: "/", 2335 } 2336 2337 if input == nil { 2338 input = &CreateLabelingJobInput{} 2339 } 2340 2341 output = &CreateLabelingJobOutput{} 2342 req = c.newRequest(op, input, output) 2343 return 2344 } 2345 2346 // CreateLabelingJob API operation for Amazon SageMaker Service. 2347 // 2348 // Creates a job that uses workers to label the data objects in your input dataset. 2349 // You can use the labeled data to train machine learning models. 2350 // 2351 // You can select your workforce from one of three providers: 2352 // 2353 // * A private workforce that you create. It can include employees, contractors, 2354 // and outside experts. Use a private workforce when want the data to stay 2355 // within your organization or when a specific set of skills is required. 2356 // 2357 // * One or more vendors that you select from the Amazon Web Services Marketplace. 2358 // Vendors provide expertise in specific areas. 2359 // 2360 // * The Amazon Mechanical Turk workforce. This is the largest workforce, 2361 // but it should only be used for public data or data that has been stripped 2362 // of any personally identifiable information. 2363 // 2364 // You can also use automated data labeling to reduce the number of data objects 2365 // that need to be labeled by a human. Automated data labeling uses active learning 2366 // to determine if a data object can be labeled by machine or if it needs to 2367 // be sent to a human worker. For more information, see Using Automated Data 2368 // Labeling (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-automated-labeling.html). 2369 // 2370 // The data objects to be labeled are contained in an Amazon S3 bucket. You 2371 // create a manifest file that describes the location of each object. For more 2372 // information, see Using Input and Output Data (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-data.html). 2373 // 2374 // The output can be used as the manifest file for another labeling job or as 2375 // training data for your machine learning models. 2376 // 2377 // You can use this operation to create a static labeling job or a streaming 2378 // labeling job. A static labeling job stops if all data objects in the input 2379 // manifest file identified in ManifestS3Uri have been labeled. A streaming 2380 // labeling job runs perpetually until it is manually stopped, or remains idle 2381 // for 10 days. You can send new data objects to an active (InProgress) streaming 2382 // labeling job in real time. To learn how to create a static labeling job, 2383 // see Create a Labeling Job (API) (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-create-labeling-job-api.html) 2384 // in the Amazon SageMaker Developer Guide. To learn how to create a streaming 2385 // labeling job, see Create a Streaming Labeling Job (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-streaming-create-job.html). 2386 // 2387 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 2388 // with awserr.Error's Code and Message methods to get detailed information about 2389 // the error. 2390 // 2391 // See the AWS API reference guide for Amazon SageMaker Service's 2392 // API operation CreateLabelingJob for usage and error information. 2393 // 2394 // Returned Error Types: 2395 // * ResourceInUse 2396 // Resource being accessed is in use. 2397 // 2398 // * ResourceLimitExceeded 2399 // You have exceeded an Amazon SageMaker resource limit. For example, you might 2400 // have too many training jobs created. 2401 // 2402 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateLabelingJob 2403 func (c *SageMaker) CreateLabelingJob(input *CreateLabelingJobInput) (*CreateLabelingJobOutput, error) { 2404 req, out := c.CreateLabelingJobRequest(input) 2405 return out, req.Send() 2406 } 2407 2408 // CreateLabelingJobWithContext is the same as CreateLabelingJob with the addition of 2409 // the ability to pass a context and additional request options. 2410 // 2411 // See CreateLabelingJob for details on how to use this API operation. 2412 // 2413 // The context must be non-nil and will be used for request cancellation. If 2414 // the context is nil a panic will occur. In the future the SDK may create 2415 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 2416 // for more information on using Contexts. 2417 func (c *SageMaker) CreateLabelingJobWithContext(ctx aws.Context, input *CreateLabelingJobInput, opts ...request.Option) (*CreateLabelingJobOutput, error) { 2418 req, out := c.CreateLabelingJobRequest(input) 2419 req.SetContext(ctx) 2420 req.ApplyOptions(opts...) 2421 return out, req.Send() 2422 } 2423 2424 const opCreateModel = "CreateModel" 2425 2426 // CreateModelRequest generates a "aws/request.Request" representing the 2427 // client's request for the CreateModel operation. The "output" return 2428 // value will be populated with the request's response once the request completes 2429 // successfully. 2430 // 2431 // Use "Send" method on the returned Request to send the API call to the service. 2432 // the "output" return value is not valid until after Send returns without error. 2433 // 2434 // See CreateModel for more information on using the CreateModel 2435 // API call, and error handling. 2436 // 2437 // This method is useful when you want to inject custom logic or configuration 2438 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 2439 // 2440 // 2441 // // Example sending a request using the CreateModelRequest method. 2442 // req, resp := client.CreateModelRequest(params) 2443 // 2444 // err := req.Send() 2445 // if err == nil { // resp is now filled 2446 // fmt.Println(resp) 2447 // } 2448 // 2449 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModel 2450 func (c *SageMaker) CreateModelRequest(input *CreateModelInput) (req *request.Request, output *CreateModelOutput) { 2451 op := &request.Operation{ 2452 Name: opCreateModel, 2453 HTTPMethod: "POST", 2454 HTTPPath: "/", 2455 } 2456 2457 if input == nil { 2458 input = &CreateModelInput{} 2459 } 2460 2461 output = &CreateModelOutput{} 2462 req = c.newRequest(op, input, output) 2463 return 2464 } 2465 2466 // CreateModel API operation for Amazon SageMaker Service. 2467 // 2468 // Creates a model in Amazon SageMaker. In the request, you name the model and 2469 // describe a primary container. For the primary container, you specify the 2470 // Docker image that contains inference code, artifacts (from prior training), 2471 // and a custom environment map that the inference code uses when you deploy 2472 // the model for predictions. 2473 // 2474 // Use this API to create a model if you want to use Amazon SageMaker hosting 2475 // services or run a batch transform job. 2476 // 2477 // To host your model, you create an endpoint configuration with the CreateEndpointConfig 2478 // API, and then create an endpoint with the CreateEndpoint API. Amazon SageMaker 2479 // then deploys all of the containers that you defined for the model in the 2480 // hosting environment. 2481 // 2482 // For an example that calls this method when deploying a model to Amazon SageMaker 2483 // hosting services, see Deploy the Model to Amazon SageMaker Hosting Services 2484 // (Amazon Web Services SDK for Python (Boto 3)). (https://docs.aws.amazon.com/sagemaker/latest/dg/ex1-deploy-model.html#ex1-deploy-model-boto) 2485 // 2486 // To run a batch transform using your model, you start a job with the CreateTransformJob 2487 // API. Amazon SageMaker uses your model and your dataset to get inferences 2488 // which are then saved to a specified S3 location. 2489 // 2490 // In the CreateModel request, you must define a container with the PrimaryContainer 2491 // parameter. 2492 // 2493 // In the request, you also provide an IAM role that Amazon SageMaker can assume 2494 // to access model artifacts and docker image for deployment on ML compute hosting 2495 // instances or for batch transform jobs. In addition, you also use the IAM 2496 // role to manage permissions the inference code needs. For example, if the 2497 // inference code access any other Amazon Web Services resources, you grant 2498 // necessary permissions via this role. 2499 // 2500 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 2501 // with awserr.Error's Code and Message methods to get detailed information about 2502 // the error. 2503 // 2504 // See the AWS API reference guide for Amazon SageMaker Service's 2505 // API operation CreateModel for usage and error information. 2506 // 2507 // Returned Error Types: 2508 // * ResourceLimitExceeded 2509 // You have exceeded an Amazon SageMaker resource limit. For example, you might 2510 // have too many training jobs created. 2511 // 2512 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModel 2513 func (c *SageMaker) CreateModel(input *CreateModelInput) (*CreateModelOutput, error) { 2514 req, out := c.CreateModelRequest(input) 2515 return out, req.Send() 2516 } 2517 2518 // CreateModelWithContext is the same as CreateModel with the addition of 2519 // the ability to pass a context and additional request options. 2520 // 2521 // See CreateModel for details on how to use this API operation. 2522 // 2523 // The context must be non-nil and will be used for request cancellation. If 2524 // the context is nil a panic will occur. In the future the SDK may create 2525 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 2526 // for more information on using Contexts. 2527 func (c *SageMaker) CreateModelWithContext(ctx aws.Context, input *CreateModelInput, opts ...request.Option) (*CreateModelOutput, error) { 2528 req, out := c.CreateModelRequest(input) 2529 req.SetContext(ctx) 2530 req.ApplyOptions(opts...) 2531 return out, req.Send() 2532 } 2533 2534 const opCreateModelBiasJobDefinition = "CreateModelBiasJobDefinition" 2535 2536 // CreateModelBiasJobDefinitionRequest generates a "aws/request.Request" representing the 2537 // client's request for the CreateModelBiasJobDefinition operation. The "output" return 2538 // value will be populated with the request's response once the request completes 2539 // successfully. 2540 // 2541 // Use "Send" method on the returned Request to send the API call to the service. 2542 // the "output" return value is not valid until after Send returns without error. 2543 // 2544 // See CreateModelBiasJobDefinition for more information on using the CreateModelBiasJobDefinition 2545 // API call, and error handling. 2546 // 2547 // This method is useful when you want to inject custom logic or configuration 2548 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 2549 // 2550 // 2551 // // Example sending a request using the CreateModelBiasJobDefinitionRequest method. 2552 // req, resp := client.CreateModelBiasJobDefinitionRequest(params) 2553 // 2554 // err := req.Send() 2555 // if err == nil { // resp is now filled 2556 // fmt.Println(resp) 2557 // } 2558 // 2559 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelBiasJobDefinition 2560 func (c *SageMaker) CreateModelBiasJobDefinitionRequest(input *CreateModelBiasJobDefinitionInput) (req *request.Request, output *CreateModelBiasJobDefinitionOutput) { 2561 op := &request.Operation{ 2562 Name: opCreateModelBiasJobDefinition, 2563 HTTPMethod: "POST", 2564 HTTPPath: "/", 2565 } 2566 2567 if input == nil { 2568 input = &CreateModelBiasJobDefinitionInput{} 2569 } 2570 2571 output = &CreateModelBiasJobDefinitionOutput{} 2572 req = c.newRequest(op, input, output) 2573 return 2574 } 2575 2576 // CreateModelBiasJobDefinition API operation for Amazon SageMaker Service. 2577 // 2578 // Creates the definition for a model bias job. 2579 // 2580 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 2581 // with awserr.Error's Code and Message methods to get detailed information about 2582 // the error. 2583 // 2584 // See the AWS API reference guide for Amazon SageMaker Service's 2585 // API operation CreateModelBiasJobDefinition for usage and error information. 2586 // 2587 // Returned Error Types: 2588 // * ResourceLimitExceeded 2589 // You have exceeded an Amazon SageMaker resource limit. For example, you might 2590 // have too many training jobs created. 2591 // 2592 // * ResourceInUse 2593 // Resource being accessed is in use. 2594 // 2595 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelBiasJobDefinition 2596 func (c *SageMaker) CreateModelBiasJobDefinition(input *CreateModelBiasJobDefinitionInput) (*CreateModelBiasJobDefinitionOutput, error) { 2597 req, out := c.CreateModelBiasJobDefinitionRequest(input) 2598 return out, req.Send() 2599 } 2600 2601 // CreateModelBiasJobDefinitionWithContext is the same as CreateModelBiasJobDefinition with the addition of 2602 // the ability to pass a context and additional request options. 2603 // 2604 // See CreateModelBiasJobDefinition for details on how to use this API operation. 2605 // 2606 // The context must be non-nil and will be used for request cancellation. If 2607 // the context is nil a panic will occur. In the future the SDK may create 2608 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 2609 // for more information on using Contexts. 2610 func (c *SageMaker) CreateModelBiasJobDefinitionWithContext(ctx aws.Context, input *CreateModelBiasJobDefinitionInput, opts ...request.Option) (*CreateModelBiasJobDefinitionOutput, error) { 2611 req, out := c.CreateModelBiasJobDefinitionRequest(input) 2612 req.SetContext(ctx) 2613 req.ApplyOptions(opts...) 2614 return out, req.Send() 2615 } 2616 2617 const opCreateModelExplainabilityJobDefinition = "CreateModelExplainabilityJobDefinition" 2618 2619 // CreateModelExplainabilityJobDefinitionRequest generates a "aws/request.Request" representing the 2620 // client's request for the CreateModelExplainabilityJobDefinition operation. The "output" return 2621 // value will be populated with the request's response once the request completes 2622 // successfully. 2623 // 2624 // Use "Send" method on the returned Request to send the API call to the service. 2625 // the "output" return value is not valid until after Send returns without error. 2626 // 2627 // See CreateModelExplainabilityJobDefinition for more information on using the CreateModelExplainabilityJobDefinition 2628 // API call, and error handling. 2629 // 2630 // This method is useful when you want to inject custom logic or configuration 2631 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 2632 // 2633 // 2634 // // Example sending a request using the CreateModelExplainabilityJobDefinitionRequest method. 2635 // req, resp := client.CreateModelExplainabilityJobDefinitionRequest(params) 2636 // 2637 // err := req.Send() 2638 // if err == nil { // resp is now filled 2639 // fmt.Println(resp) 2640 // } 2641 // 2642 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelExplainabilityJobDefinition 2643 func (c *SageMaker) CreateModelExplainabilityJobDefinitionRequest(input *CreateModelExplainabilityJobDefinitionInput) (req *request.Request, output *CreateModelExplainabilityJobDefinitionOutput) { 2644 op := &request.Operation{ 2645 Name: opCreateModelExplainabilityJobDefinition, 2646 HTTPMethod: "POST", 2647 HTTPPath: "/", 2648 } 2649 2650 if input == nil { 2651 input = &CreateModelExplainabilityJobDefinitionInput{} 2652 } 2653 2654 output = &CreateModelExplainabilityJobDefinitionOutput{} 2655 req = c.newRequest(op, input, output) 2656 return 2657 } 2658 2659 // CreateModelExplainabilityJobDefinition API operation for Amazon SageMaker Service. 2660 // 2661 // Creates the definition for a model explainability job. 2662 // 2663 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 2664 // with awserr.Error's Code and Message methods to get detailed information about 2665 // the error. 2666 // 2667 // See the AWS API reference guide for Amazon SageMaker Service's 2668 // API operation CreateModelExplainabilityJobDefinition for usage and error information. 2669 // 2670 // Returned Error Types: 2671 // * ResourceLimitExceeded 2672 // You have exceeded an Amazon SageMaker resource limit. For example, you might 2673 // have too many training jobs created. 2674 // 2675 // * ResourceInUse 2676 // Resource being accessed is in use. 2677 // 2678 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelExplainabilityJobDefinition 2679 func (c *SageMaker) CreateModelExplainabilityJobDefinition(input *CreateModelExplainabilityJobDefinitionInput) (*CreateModelExplainabilityJobDefinitionOutput, error) { 2680 req, out := c.CreateModelExplainabilityJobDefinitionRequest(input) 2681 return out, req.Send() 2682 } 2683 2684 // CreateModelExplainabilityJobDefinitionWithContext is the same as CreateModelExplainabilityJobDefinition with the addition of 2685 // the ability to pass a context and additional request options. 2686 // 2687 // See CreateModelExplainabilityJobDefinition for details on how to use this API operation. 2688 // 2689 // The context must be non-nil and will be used for request cancellation. If 2690 // the context is nil a panic will occur. In the future the SDK may create 2691 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 2692 // for more information on using Contexts. 2693 func (c *SageMaker) CreateModelExplainabilityJobDefinitionWithContext(ctx aws.Context, input *CreateModelExplainabilityJobDefinitionInput, opts ...request.Option) (*CreateModelExplainabilityJobDefinitionOutput, error) { 2694 req, out := c.CreateModelExplainabilityJobDefinitionRequest(input) 2695 req.SetContext(ctx) 2696 req.ApplyOptions(opts...) 2697 return out, req.Send() 2698 } 2699 2700 const opCreateModelPackage = "CreateModelPackage" 2701 2702 // CreateModelPackageRequest generates a "aws/request.Request" representing the 2703 // client's request for the CreateModelPackage operation. The "output" return 2704 // value will be populated with the request's response once the request completes 2705 // successfully. 2706 // 2707 // Use "Send" method on the returned Request to send the API call to the service. 2708 // the "output" return value is not valid until after Send returns without error. 2709 // 2710 // See CreateModelPackage for more information on using the CreateModelPackage 2711 // API call, and error handling. 2712 // 2713 // This method is useful when you want to inject custom logic or configuration 2714 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 2715 // 2716 // 2717 // // Example sending a request using the CreateModelPackageRequest method. 2718 // req, resp := client.CreateModelPackageRequest(params) 2719 // 2720 // err := req.Send() 2721 // if err == nil { // resp is now filled 2722 // fmt.Println(resp) 2723 // } 2724 // 2725 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelPackage 2726 func (c *SageMaker) CreateModelPackageRequest(input *CreateModelPackageInput) (req *request.Request, output *CreateModelPackageOutput) { 2727 op := &request.Operation{ 2728 Name: opCreateModelPackage, 2729 HTTPMethod: "POST", 2730 HTTPPath: "/", 2731 } 2732 2733 if input == nil { 2734 input = &CreateModelPackageInput{} 2735 } 2736 2737 output = &CreateModelPackageOutput{} 2738 req = c.newRequest(op, input, output) 2739 return 2740 } 2741 2742 // CreateModelPackage API operation for Amazon SageMaker Service. 2743 // 2744 // Creates a model package that you can use to create Amazon SageMaker models 2745 // or list on Amazon Web Services Marketplace, or a versioned model that is 2746 // part of a model group. Buyers can subscribe to model packages listed on Amazon 2747 // Web Services Marketplace to create models in Amazon SageMaker. 2748 // 2749 // To create a model package by specifying a Docker container that contains 2750 // your inference code and the Amazon S3 location of your model artifacts, provide 2751 // values for InferenceSpecification. To create a model from an algorithm resource 2752 // that you created or subscribed to in Amazon Web Services Marketplace, provide 2753 // a value for SourceAlgorithmSpecification. 2754 // 2755 // There are two types of model packages: 2756 // 2757 // * Versioned - a model that is part of a model group in the model registry. 2758 // 2759 // * Unversioned - a model package that is not part of a model group. 2760 // 2761 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 2762 // with awserr.Error's Code and Message methods to get detailed information about 2763 // the error. 2764 // 2765 // See the AWS API reference guide for Amazon SageMaker Service's 2766 // API operation CreateModelPackage for usage and error information. 2767 // 2768 // Returned Error Types: 2769 // * ConflictException 2770 // There was a conflict when you attempted to modify a SageMaker entity such 2771 // as an Experiment or Artifact. 2772 // 2773 // * ResourceLimitExceeded 2774 // You have exceeded an Amazon SageMaker resource limit. For example, you might 2775 // have too many training jobs created. 2776 // 2777 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelPackage 2778 func (c *SageMaker) CreateModelPackage(input *CreateModelPackageInput) (*CreateModelPackageOutput, error) { 2779 req, out := c.CreateModelPackageRequest(input) 2780 return out, req.Send() 2781 } 2782 2783 // CreateModelPackageWithContext is the same as CreateModelPackage with the addition of 2784 // the ability to pass a context and additional request options. 2785 // 2786 // See CreateModelPackage for details on how to use this API operation. 2787 // 2788 // The context must be non-nil and will be used for request cancellation. If 2789 // the context is nil a panic will occur. In the future the SDK may create 2790 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 2791 // for more information on using Contexts. 2792 func (c *SageMaker) CreateModelPackageWithContext(ctx aws.Context, input *CreateModelPackageInput, opts ...request.Option) (*CreateModelPackageOutput, error) { 2793 req, out := c.CreateModelPackageRequest(input) 2794 req.SetContext(ctx) 2795 req.ApplyOptions(opts...) 2796 return out, req.Send() 2797 } 2798 2799 const opCreateModelPackageGroup = "CreateModelPackageGroup" 2800 2801 // CreateModelPackageGroupRequest generates a "aws/request.Request" representing the 2802 // client's request for the CreateModelPackageGroup operation. The "output" return 2803 // value will be populated with the request's response once the request completes 2804 // successfully. 2805 // 2806 // Use "Send" method on the returned Request to send the API call to the service. 2807 // the "output" return value is not valid until after Send returns without error. 2808 // 2809 // See CreateModelPackageGroup for more information on using the CreateModelPackageGroup 2810 // API call, and error handling. 2811 // 2812 // This method is useful when you want to inject custom logic or configuration 2813 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 2814 // 2815 // 2816 // // Example sending a request using the CreateModelPackageGroupRequest method. 2817 // req, resp := client.CreateModelPackageGroupRequest(params) 2818 // 2819 // err := req.Send() 2820 // if err == nil { // resp is now filled 2821 // fmt.Println(resp) 2822 // } 2823 // 2824 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelPackageGroup 2825 func (c *SageMaker) CreateModelPackageGroupRequest(input *CreateModelPackageGroupInput) (req *request.Request, output *CreateModelPackageGroupOutput) { 2826 op := &request.Operation{ 2827 Name: opCreateModelPackageGroup, 2828 HTTPMethod: "POST", 2829 HTTPPath: "/", 2830 } 2831 2832 if input == nil { 2833 input = &CreateModelPackageGroupInput{} 2834 } 2835 2836 output = &CreateModelPackageGroupOutput{} 2837 req = c.newRequest(op, input, output) 2838 return 2839 } 2840 2841 // CreateModelPackageGroup API operation for Amazon SageMaker Service. 2842 // 2843 // Creates a model group. A model group contains a group of model versions. 2844 // 2845 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 2846 // with awserr.Error's Code and Message methods to get detailed information about 2847 // the error. 2848 // 2849 // See the AWS API reference guide for Amazon SageMaker Service's 2850 // API operation CreateModelPackageGroup for usage and error information. 2851 // 2852 // Returned Error Types: 2853 // * ResourceLimitExceeded 2854 // You have exceeded an Amazon SageMaker resource limit. For example, you might 2855 // have too many training jobs created. 2856 // 2857 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelPackageGroup 2858 func (c *SageMaker) CreateModelPackageGroup(input *CreateModelPackageGroupInput) (*CreateModelPackageGroupOutput, error) { 2859 req, out := c.CreateModelPackageGroupRequest(input) 2860 return out, req.Send() 2861 } 2862 2863 // CreateModelPackageGroupWithContext is the same as CreateModelPackageGroup with the addition of 2864 // the ability to pass a context and additional request options. 2865 // 2866 // See CreateModelPackageGroup for details on how to use this API operation. 2867 // 2868 // The context must be non-nil and will be used for request cancellation. If 2869 // the context is nil a panic will occur. In the future the SDK may create 2870 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 2871 // for more information on using Contexts. 2872 func (c *SageMaker) CreateModelPackageGroupWithContext(ctx aws.Context, input *CreateModelPackageGroupInput, opts ...request.Option) (*CreateModelPackageGroupOutput, error) { 2873 req, out := c.CreateModelPackageGroupRequest(input) 2874 req.SetContext(ctx) 2875 req.ApplyOptions(opts...) 2876 return out, req.Send() 2877 } 2878 2879 const opCreateModelQualityJobDefinition = "CreateModelQualityJobDefinition" 2880 2881 // CreateModelQualityJobDefinitionRequest generates a "aws/request.Request" representing the 2882 // client's request for the CreateModelQualityJobDefinition operation. The "output" return 2883 // value will be populated with the request's response once the request completes 2884 // successfully. 2885 // 2886 // Use "Send" method on the returned Request to send the API call to the service. 2887 // the "output" return value is not valid until after Send returns without error. 2888 // 2889 // See CreateModelQualityJobDefinition for more information on using the CreateModelQualityJobDefinition 2890 // API call, and error handling. 2891 // 2892 // This method is useful when you want to inject custom logic or configuration 2893 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 2894 // 2895 // 2896 // // Example sending a request using the CreateModelQualityJobDefinitionRequest method. 2897 // req, resp := client.CreateModelQualityJobDefinitionRequest(params) 2898 // 2899 // err := req.Send() 2900 // if err == nil { // resp is now filled 2901 // fmt.Println(resp) 2902 // } 2903 // 2904 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelQualityJobDefinition 2905 func (c *SageMaker) CreateModelQualityJobDefinitionRequest(input *CreateModelQualityJobDefinitionInput) (req *request.Request, output *CreateModelQualityJobDefinitionOutput) { 2906 op := &request.Operation{ 2907 Name: opCreateModelQualityJobDefinition, 2908 HTTPMethod: "POST", 2909 HTTPPath: "/", 2910 } 2911 2912 if input == nil { 2913 input = &CreateModelQualityJobDefinitionInput{} 2914 } 2915 2916 output = &CreateModelQualityJobDefinitionOutput{} 2917 req = c.newRequest(op, input, output) 2918 return 2919 } 2920 2921 // CreateModelQualityJobDefinition API operation for Amazon SageMaker Service. 2922 // 2923 // Creates a definition for a job that monitors model quality and drift. For 2924 // information about model monitor, see Amazon SageMaker Model Monitor (https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor.html). 2925 // 2926 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 2927 // with awserr.Error's Code and Message methods to get detailed information about 2928 // the error. 2929 // 2930 // See the AWS API reference guide for Amazon SageMaker Service's 2931 // API operation CreateModelQualityJobDefinition for usage and error information. 2932 // 2933 // Returned Error Types: 2934 // * ResourceLimitExceeded 2935 // You have exceeded an Amazon SageMaker resource limit. For example, you might 2936 // have too many training jobs created. 2937 // 2938 // * ResourceInUse 2939 // Resource being accessed is in use. 2940 // 2941 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelQualityJobDefinition 2942 func (c *SageMaker) CreateModelQualityJobDefinition(input *CreateModelQualityJobDefinitionInput) (*CreateModelQualityJobDefinitionOutput, error) { 2943 req, out := c.CreateModelQualityJobDefinitionRequest(input) 2944 return out, req.Send() 2945 } 2946 2947 // CreateModelQualityJobDefinitionWithContext is the same as CreateModelQualityJobDefinition with the addition of 2948 // the ability to pass a context and additional request options. 2949 // 2950 // See CreateModelQualityJobDefinition for details on how to use this API operation. 2951 // 2952 // The context must be non-nil and will be used for request cancellation. If 2953 // the context is nil a panic will occur. In the future the SDK may create 2954 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 2955 // for more information on using Contexts. 2956 func (c *SageMaker) CreateModelQualityJobDefinitionWithContext(ctx aws.Context, input *CreateModelQualityJobDefinitionInput, opts ...request.Option) (*CreateModelQualityJobDefinitionOutput, error) { 2957 req, out := c.CreateModelQualityJobDefinitionRequest(input) 2958 req.SetContext(ctx) 2959 req.ApplyOptions(opts...) 2960 return out, req.Send() 2961 } 2962 2963 const opCreateMonitoringSchedule = "CreateMonitoringSchedule" 2964 2965 // CreateMonitoringScheduleRequest generates a "aws/request.Request" representing the 2966 // client's request for the CreateMonitoringSchedule operation. The "output" return 2967 // value will be populated with the request's response once the request completes 2968 // successfully. 2969 // 2970 // Use "Send" method on the returned Request to send the API call to the service. 2971 // the "output" return value is not valid until after Send returns without error. 2972 // 2973 // See CreateMonitoringSchedule for more information on using the CreateMonitoringSchedule 2974 // API call, and error handling. 2975 // 2976 // This method is useful when you want to inject custom logic or configuration 2977 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 2978 // 2979 // 2980 // // Example sending a request using the CreateMonitoringScheduleRequest method. 2981 // req, resp := client.CreateMonitoringScheduleRequest(params) 2982 // 2983 // err := req.Send() 2984 // if err == nil { // resp is now filled 2985 // fmt.Println(resp) 2986 // } 2987 // 2988 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateMonitoringSchedule 2989 func (c *SageMaker) CreateMonitoringScheduleRequest(input *CreateMonitoringScheduleInput) (req *request.Request, output *CreateMonitoringScheduleOutput) { 2990 op := &request.Operation{ 2991 Name: opCreateMonitoringSchedule, 2992 HTTPMethod: "POST", 2993 HTTPPath: "/", 2994 } 2995 2996 if input == nil { 2997 input = &CreateMonitoringScheduleInput{} 2998 } 2999 3000 output = &CreateMonitoringScheduleOutput{} 3001 req = c.newRequest(op, input, output) 3002 return 3003 } 3004 3005 // CreateMonitoringSchedule API operation for Amazon SageMaker Service. 3006 // 3007 // Creates a schedule that regularly starts Amazon SageMaker Processing Jobs 3008 // to monitor the data captured for an Amazon SageMaker Endoint. 3009 // 3010 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 3011 // with awserr.Error's Code and Message methods to get detailed information about 3012 // the error. 3013 // 3014 // See the AWS API reference guide for Amazon SageMaker Service's 3015 // API operation CreateMonitoringSchedule for usage and error information. 3016 // 3017 // Returned Error Types: 3018 // * ResourceLimitExceeded 3019 // You have exceeded an Amazon SageMaker resource limit. For example, you might 3020 // have too many training jobs created. 3021 // 3022 // * ResourceInUse 3023 // Resource being accessed is in use. 3024 // 3025 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateMonitoringSchedule 3026 func (c *SageMaker) CreateMonitoringSchedule(input *CreateMonitoringScheduleInput) (*CreateMonitoringScheduleOutput, error) { 3027 req, out := c.CreateMonitoringScheduleRequest(input) 3028 return out, req.Send() 3029 } 3030 3031 // CreateMonitoringScheduleWithContext is the same as CreateMonitoringSchedule with the addition of 3032 // the ability to pass a context and additional request options. 3033 // 3034 // See CreateMonitoringSchedule for details on how to use this API operation. 3035 // 3036 // The context must be non-nil and will be used for request cancellation. If 3037 // the context is nil a panic will occur. In the future the SDK may create 3038 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3039 // for more information on using Contexts. 3040 func (c *SageMaker) CreateMonitoringScheduleWithContext(ctx aws.Context, input *CreateMonitoringScheduleInput, opts ...request.Option) (*CreateMonitoringScheduleOutput, error) { 3041 req, out := c.CreateMonitoringScheduleRequest(input) 3042 req.SetContext(ctx) 3043 req.ApplyOptions(opts...) 3044 return out, req.Send() 3045 } 3046 3047 const opCreateNotebookInstance = "CreateNotebookInstance" 3048 3049 // CreateNotebookInstanceRequest generates a "aws/request.Request" representing the 3050 // client's request for the CreateNotebookInstance operation. The "output" return 3051 // value will be populated with the request's response once the request completes 3052 // successfully. 3053 // 3054 // Use "Send" method on the returned Request to send the API call to the service. 3055 // the "output" return value is not valid until after Send returns without error. 3056 // 3057 // See CreateNotebookInstance for more information on using the CreateNotebookInstance 3058 // API call, and error handling. 3059 // 3060 // This method is useful when you want to inject custom logic or configuration 3061 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 3062 // 3063 // 3064 // // Example sending a request using the CreateNotebookInstanceRequest method. 3065 // req, resp := client.CreateNotebookInstanceRequest(params) 3066 // 3067 // err := req.Send() 3068 // if err == nil { // resp is now filled 3069 // fmt.Println(resp) 3070 // } 3071 // 3072 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstance 3073 func (c *SageMaker) CreateNotebookInstanceRequest(input *CreateNotebookInstanceInput) (req *request.Request, output *CreateNotebookInstanceOutput) { 3074 op := &request.Operation{ 3075 Name: opCreateNotebookInstance, 3076 HTTPMethod: "POST", 3077 HTTPPath: "/", 3078 } 3079 3080 if input == nil { 3081 input = &CreateNotebookInstanceInput{} 3082 } 3083 3084 output = &CreateNotebookInstanceOutput{} 3085 req = c.newRequest(op, input, output) 3086 return 3087 } 3088 3089 // CreateNotebookInstance API operation for Amazon SageMaker Service. 3090 // 3091 // Creates an Amazon SageMaker notebook instance. A notebook instance is a machine 3092 // learning (ML) compute instance running on a Jupyter notebook. 3093 // 3094 // In a CreateNotebookInstance request, specify the type of ML compute instance 3095 // that you want to run. Amazon SageMaker launches the instance, installs common 3096 // libraries that you can use to explore datasets for model training, and attaches 3097 // an ML storage volume to the notebook instance. 3098 // 3099 // Amazon SageMaker also provides a set of example notebooks. Each notebook 3100 // demonstrates how to use Amazon SageMaker with a specific algorithm or with 3101 // a machine learning framework. 3102 // 3103 // After receiving the request, Amazon SageMaker does the following: 3104 // 3105 // Creates a network interface in the Amazon SageMaker VPC. 3106 // 3107 // (Option) If you specified SubnetId, Amazon SageMaker creates a network interface 3108 // in your own VPC, which is inferred from the subnet ID that you provide in 3109 // the input. When creating this network interface, Amazon SageMaker attaches 3110 // the security group that you specified in the request to the network interface 3111 // that it creates in your VPC. 3112 // 3113 // Launches an EC2 instance of the type specified in the request in the Amazon 3114 // SageMaker VPC. If you specified SubnetId of your VPC, Amazon SageMaker specifies 3115 // both network interfaces when launching this instance. This enables inbound 3116 // traffic from your own VPC to the notebook instance, assuming that the security 3117 // groups allow it. 3118 // 3119 // After creating the notebook instance, Amazon SageMaker returns its Amazon 3120 // Resource Name (ARN). You can't change the name of a notebook instance after 3121 // you create it. 3122 // 3123 // After Amazon SageMaker creates the notebook instance, you can connect to 3124 // the Jupyter server and work in Jupyter notebooks. For example, you can write 3125 // code to explore a dataset that you can use for model training, train a model, 3126 // host models by creating Amazon SageMaker endpoints, and validate hosted models. 3127 // 3128 // For more information, see How It Works (https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html). 3129 // 3130 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 3131 // with awserr.Error's Code and Message methods to get detailed information about 3132 // the error. 3133 // 3134 // See the AWS API reference guide for Amazon SageMaker Service's 3135 // API operation CreateNotebookInstance for usage and error information. 3136 // 3137 // Returned Error Types: 3138 // * ResourceLimitExceeded 3139 // You have exceeded an Amazon SageMaker resource limit. For example, you might 3140 // have too many training jobs created. 3141 // 3142 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstance 3143 func (c *SageMaker) CreateNotebookInstance(input *CreateNotebookInstanceInput) (*CreateNotebookInstanceOutput, error) { 3144 req, out := c.CreateNotebookInstanceRequest(input) 3145 return out, req.Send() 3146 } 3147 3148 // CreateNotebookInstanceWithContext is the same as CreateNotebookInstance with the addition of 3149 // the ability to pass a context and additional request options. 3150 // 3151 // See CreateNotebookInstance for details on how to use this API operation. 3152 // 3153 // The context must be non-nil and will be used for request cancellation. If 3154 // the context is nil a panic will occur. In the future the SDK may create 3155 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3156 // for more information on using Contexts. 3157 func (c *SageMaker) CreateNotebookInstanceWithContext(ctx aws.Context, input *CreateNotebookInstanceInput, opts ...request.Option) (*CreateNotebookInstanceOutput, error) { 3158 req, out := c.CreateNotebookInstanceRequest(input) 3159 req.SetContext(ctx) 3160 req.ApplyOptions(opts...) 3161 return out, req.Send() 3162 } 3163 3164 const opCreateNotebookInstanceLifecycleConfig = "CreateNotebookInstanceLifecycleConfig" 3165 3166 // CreateNotebookInstanceLifecycleConfigRequest generates a "aws/request.Request" representing the 3167 // client's request for the CreateNotebookInstanceLifecycleConfig operation. The "output" return 3168 // value will be populated with the request's response once the request completes 3169 // successfully. 3170 // 3171 // Use "Send" method on the returned Request to send the API call to the service. 3172 // the "output" return value is not valid until after Send returns without error. 3173 // 3174 // See CreateNotebookInstanceLifecycleConfig for more information on using the CreateNotebookInstanceLifecycleConfig 3175 // API call, and error handling. 3176 // 3177 // This method is useful when you want to inject custom logic or configuration 3178 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 3179 // 3180 // 3181 // // Example sending a request using the CreateNotebookInstanceLifecycleConfigRequest method. 3182 // req, resp := client.CreateNotebookInstanceLifecycleConfigRequest(params) 3183 // 3184 // err := req.Send() 3185 // if err == nil { // resp is now filled 3186 // fmt.Println(resp) 3187 // } 3188 // 3189 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstanceLifecycleConfig 3190 func (c *SageMaker) CreateNotebookInstanceLifecycleConfigRequest(input *CreateNotebookInstanceLifecycleConfigInput) (req *request.Request, output *CreateNotebookInstanceLifecycleConfigOutput) { 3191 op := &request.Operation{ 3192 Name: opCreateNotebookInstanceLifecycleConfig, 3193 HTTPMethod: "POST", 3194 HTTPPath: "/", 3195 } 3196 3197 if input == nil { 3198 input = &CreateNotebookInstanceLifecycleConfigInput{} 3199 } 3200 3201 output = &CreateNotebookInstanceLifecycleConfigOutput{} 3202 req = c.newRequest(op, input, output) 3203 return 3204 } 3205 3206 // CreateNotebookInstanceLifecycleConfig API operation for Amazon SageMaker Service. 3207 // 3208 // Creates a lifecycle configuration that you can associate with a notebook 3209 // instance. A lifecycle configuration is a collection of shell scripts that 3210 // run when you create or start a notebook instance. 3211 // 3212 // Each lifecycle configuration script has a limit of 16384 characters. 3213 // 3214 // The value of the $PATH environment variable that is available to both scripts 3215 // is /sbin:bin:/usr/sbin:/usr/bin. 3216 // 3217 // View CloudWatch Logs for notebook instance lifecycle configurations in log 3218 // group /aws/sagemaker/NotebookInstances in log stream [notebook-instance-name]/[LifecycleConfigHook]. 3219 // 3220 // Lifecycle configuration scripts cannot run for longer than 5 minutes. If 3221 // a script runs for longer than 5 minutes, it fails and the notebook instance 3222 // is not created or started. 3223 // 3224 // For information about notebook instance lifestyle configurations, see Step 3225 // 2.1: (Optional) Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html). 3226 // 3227 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 3228 // with awserr.Error's Code and Message methods to get detailed information about 3229 // the error. 3230 // 3231 // See the AWS API reference guide for Amazon SageMaker Service's 3232 // API operation CreateNotebookInstanceLifecycleConfig for usage and error information. 3233 // 3234 // Returned Error Types: 3235 // * ResourceLimitExceeded 3236 // You have exceeded an Amazon SageMaker resource limit. For example, you might 3237 // have too many training jobs created. 3238 // 3239 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstanceLifecycleConfig 3240 func (c *SageMaker) CreateNotebookInstanceLifecycleConfig(input *CreateNotebookInstanceLifecycleConfigInput) (*CreateNotebookInstanceLifecycleConfigOutput, error) { 3241 req, out := c.CreateNotebookInstanceLifecycleConfigRequest(input) 3242 return out, req.Send() 3243 } 3244 3245 // CreateNotebookInstanceLifecycleConfigWithContext is the same as CreateNotebookInstanceLifecycleConfig with the addition of 3246 // the ability to pass a context and additional request options. 3247 // 3248 // See CreateNotebookInstanceLifecycleConfig for details on how to use this API operation. 3249 // 3250 // The context must be non-nil and will be used for request cancellation. If 3251 // the context is nil a panic will occur. In the future the SDK may create 3252 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3253 // for more information on using Contexts. 3254 func (c *SageMaker) CreateNotebookInstanceLifecycleConfigWithContext(ctx aws.Context, input *CreateNotebookInstanceLifecycleConfigInput, opts ...request.Option) (*CreateNotebookInstanceLifecycleConfigOutput, error) { 3255 req, out := c.CreateNotebookInstanceLifecycleConfigRequest(input) 3256 req.SetContext(ctx) 3257 req.ApplyOptions(opts...) 3258 return out, req.Send() 3259 } 3260 3261 const opCreatePipeline = "CreatePipeline" 3262 3263 // CreatePipelineRequest generates a "aws/request.Request" representing the 3264 // client's request for the CreatePipeline operation. The "output" return 3265 // value will be populated with the request's response once the request completes 3266 // successfully. 3267 // 3268 // Use "Send" method on the returned Request to send the API call to the service. 3269 // the "output" return value is not valid until after Send returns without error. 3270 // 3271 // See CreatePipeline for more information on using the CreatePipeline 3272 // API call, and error handling. 3273 // 3274 // This method is useful when you want to inject custom logic or configuration 3275 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 3276 // 3277 // 3278 // // Example sending a request using the CreatePipelineRequest method. 3279 // req, resp := client.CreatePipelineRequest(params) 3280 // 3281 // err := req.Send() 3282 // if err == nil { // resp is now filled 3283 // fmt.Println(resp) 3284 // } 3285 // 3286 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePipeline 3287 func (c *SageMaker) CreatePipelineRequest(input *CreatePipelineInput) (req *request.Request, output *CreatePipelineOutput) { 3288 op := &request.Operation{ 3289 Name: opCreatePipeline, 3290 HTTPMethod: "POST", 3291 HTTPPath: "/", 3292 } 3293 3294 if input == nil { 3295 input = &CreatePipelineInput{} 3296 } 3297 3298 output = &CreatePipelineOutput{} 3299 req = c.newRequest(op, input, output) 3300 return 3301 } 3302 3303 // CreatePipeline API operation for Amazon SageMaker Service. 3304 // 3305 // Creates a pipeline using a JSON pipeline definition. 3306 // 3307 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 3308 // with awserr.Error's Code and Message methods to get detailed information about 3309 // the error. 3310 // 3311 // See the AWS API reference guide for Amazon SageMaker Service's 3312 // API operation CreatePipeline for usage and error information. 3313 // 3314 // Returned Error Types: 3315 // * ResourceNotFound 3316 // Resource being access is not found. 3317 // 3318 // * ResourceLimitExceeded 3319 // You have exceeded an Amazon SageMaker resource limit. For example, you might 3320 // have too many training jobs created. 3321 // 3322 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePipeline 3323 func (c *SageMaker) CreatePipeline(input *CreatePipelineInput) (*CreatePipelineOutput, error) { 3324 req, out := c.CreatePipelineRequest(input) 3325 return out, req.Send() 3326 } 3327 3328 // CreatePipelineWithContext is the same as CreatePipeline with the addition of 3329 // the ability to pass a context and additional request options. 3330 // 3331 // See CreatePipeline for details on how to use this API operation. 3332 // 3333 // The context must be non-nil and will be used for request cancellation. If 3334 // the context is nil a panic will occur. In the future the SDK may create 3335 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3336 // for more information on using Contexts. 3337 func (c *SageMaker) CreatePipelineWithContext(ctx aws.Context, input *CreatePipelineInput, opts ...request.Option) (*CreatePipelineOutput, error) { 3338 req, out := c.CreatePipelineRequest(input) 3339 req.SetContext(ctx) 3340 req.ApplyOptions(opts...) 3341 return out, req.Send() 3342 } 3343 3344 const opCreatePresignedDomainUrl = "CreatePresignedDomainUrl" 3345 3346 // CreatePresignedDomainUrlRequest generates a "aws/request.Request" representing the 3347 // client's request for the CreatePresignedDomainUrl operation. The "output" return 3348 // value will be populated with the request's response once the request completes 3349 // successfully. 3350 // 3351 // Use "Send" method on the returned Request to send the API call to the service. 3352 // the "output" return value is not valid until after Send returns without error. 3353 // 3354 // See CreatePresignedDomainUrl for more information on using the CreatePresignedDomainUrl 3355 // API call, and error handling. 3356 // 3357 // This method is useful when you want to inject custom logic or configuration 3358 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 3359 // 3360 // 3361 // // Example sending a request using the CreatePresignedDomainUrlRequest method. 3362 // req, resp := client.CreatePresignedDomainUrlRequest(params) 3363 // 3364 // err := req.Send() 3365 // if err == nil { // resp is now filled 3366 // fmt.Println(resp) 3367 // } 3368 // 3369 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedDomainUrl 3370 func (c *SageMaker) CreatePresignedDomainUrlRequest(input *CreatePresignedDomainUrlInput) (req *request.Request, output *CreatePresignedDomainUrlOutput) { 3371 op := &request.Operation{ 3372 Name: opCreatePresignedDomainUrl, 3373 HTTPMethod: "POST", 3374 HTTPPath: "/", 3375 } 3376 3377 if input == nil { 3378 input = &CreatePresignedDomainUrlInput{} 3379 } 3380 3381 output = &CreatePresignedDomainUrlOutput{} 3382 req = c.newRequest(op, input, output) 3383 return 3384 } 3385 3386 // CreatePresignedDomainUrl API operation for Amazon SageMaker Service. 3387 // 3388 // Creates a URL for a specified UserProfile in a Domain. When accessed in a 3389 // web browser, the user will be automatically signed in to Amazon SageMaker 3390 // Studio, and granted access to all of the Apps and files associated with the 3391 // Domain's Amazon Elastic File System (EFS) volume. This operation can only 3392 // be called when the authentication mode equals IAM. 3393 // 3394 // The IAM role or user used to call this API defines the permissions to access 3395 // the app. Once the presigned URL is created, no additional permission is required 3396 // to access this URL. IAM authorization policies for this API are also enforced 3397 // for every HTTP request and WebSocket frame that attempts to connect to the 3398 // app. 3399 // 3400 // You can restrict access to this API and to the URL that it returns to a list 3401 // of IP addresses, Amazon VPCs or Amazon VPC Endpoints that you specify. For 3402 // more information, see Connect to SageMaker Studio Through an Interface VPC 3403 // Endpoint (https://docs.aws.amazon.com/sagemaker/latest/dg/studio-interface-endpoint.html) . 3404 // 3405 // The URL that you get from a call to CreatePresignedDomainUrl has a default 3406 // timeout of 5 minutes. You can configure this value using ExpiresInSeconds. 3407 // If you try to use the URL after the timeout limit expires, you are directed 3408 // to the Amazon Web Services console sign-in page. 3409 // 3410 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 3411 // with awserr.Error's Code and Message methods to get detailed information about 3412 // the error. 3413 // 3414 // See the AWS API reference guide for Amazon SageMaker Service's 3415 // API operation CreatePresignedDomainUrl for usage and error information. 3416 // 3417 // Returned Error Types: 3418 // * ResourceNotFound 3419 // Resource being access is not found. 3420 // 3421 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedDomainUrl 3422 func (c *SageMaker) CreatePresignedDomainUrl(input *CreatePresignedDomainUrlInput) (*CreatePresignedDomainUrlOutput, error) { 3423 req, out := c.CreatePresignedDomainUrlRequest(input) 3424 return out, req.Send() 3425 } 3426 3427 // CreatePresignedDomainUrlWithContext is the same as CreatePresignedDomainUrl with the addition of 3428 // the ability to pass a context and additional request options. 3429 // 3430 // See CreatePresignedDomainUrl for details on how to use this API operation. 3431 // 3432 // The context must be non-nil and will be used for request cancellation. If 3433 // the context is nil a panic will occur. In the future the SDK may create 3434 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3435 // for more information on using Contexts. 3436 func (c *SageMaker) CreatePresignedDomainUrlWithContext(ctx aws.Context, input *CreatePresignedDomainUrlInput, opts ...request.Option) (*CreatePresignedDomainUrlOutput, error) { 3437 req, out := c.CreatePresignedDomainUrlRequest(input) 3438 req.SetContext(ctx) 3439 req.ApplyOptions(opts...) 3440 return out, req.Send() 3441 } 3442 3443 const opCreatePresignedNotebookInstanceUrl = "CreatePresignedNotebookInstanceUrl" 3444 3445 // CreatePresignedNotebookInstanceUrlRequest generates a "aws/request.Request" representing the 3446 // client's request for the CreatePresignedNotebookInstanceUrl operation. The "output" return 3447 // value will be populated with the request's response once the request completes 3448 // successfully. 3449 // 3450 // Use "Send" method on the returned Request to send the API call to the service. 3451 // the "output" return value is not valid until after Send returns without error. 3452 // 3453 // See CreatePresignedNotebookInstanceUrl for more information on using the CreatePresignedNotebookInstanceUrl 3454 // API call, and error handling. 3455 // 3456 // This method is useful when you want to inject custom logic or configuration 3457 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 3458 // 3459 // 3460 // // Example sending a request using the CreatePresignedNotebookInstanceUrlRequest method. 3461 // req, resp := client.CreatePresignedNotebookInstanceUrlRequest(params) 3462 // 3463 // err := req.Send() 3464 // if err == nil { // resp is now filled 3465 // fmt.Println(resp) 3466 // } 3467 // 3468 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedNotebookInstanceUrl 3469 func (c *SageMaker) CreatePresignedNotebookInstanceUrlRequest(input *CreatePresignedNotebookInstanceUrlInput) (req *request.Request, output *CreatePresignedNotebookInstanceUrlOutput) { 3470 op := &request.Operation{ 3471 Name: opCreatePresignedNotebookInstanceUrl, 3472 HTTPMethod: "POST", 3473 HTTPPath: "/", 3474 } 3475 3476 if input == nil { 3477 input = &CreatePresignedNotebookInstanceUrlInput{} 3478 } 3479 3480 output = &CreatePresignedNotebookInstanceUrlOutput{} 3481 req = c.newRequest(op, input, output) 3482 return 3483 } 3484 3485 // CreatePresignedNotebookInstanceUrl API operation for Amazon SageMaker Service. 3486 // 3487 // Returns a URL that you can use to connect to the Jupyter server from a notebook 3488 // instance. In the Amazon SageMaker console, when you choose Open next to a 3489 // notebook instance, Amazon SageMaker opens a new tab showing the Jupyter server 3490 // home page from the notebook instance. The console uses this API to get the 3491 // URL and show the page. 3492 // 3493 // The IAM role or user used to call this API defines the permissions to access 3494 // the notebook instance. Once the presigned URL is created, no additional permission 3495 // is required to access this URL. IAM authorization policies for this API are 3496 // also enforced for every HTTP request and WebSocket frame that attempts to 3497 // connect to the notebook instance. 3498 // 3499 // You can restrict access to this API and to the URL that it returns to a list 3500 // of IP addresses that you specify. Use the NotIpAddress condition operator 3501 // and the aws:SourceIP condition context key to specify the list of IP addresses 3502 // that you want to have access to the notebook instance. For more information, 3503 // see Limit Access to a Notebook Instance by IP Address (https://docs.aws.amazon.com/sagemaker/latest/dg/security_iam_id-based-policy-examples.html#nbi-ip-filter). 3504 // 3505 // The URL that you get from a call to CreatePresignedNotebookInstanceUrl is 3506 // valid only for 5 minutes. If you try to use the URL after the 5-minute limit 3507 // expires, you are directed to the Amazon Web Services console sign-in page. 3508 // 3509 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 3510 // with awserr.Error's Code and Message methods to get detailed information about 3511 // the error. 3512 // 3513 // See the AWS API reference guide for Amazon SageMaker Service's 3514 // API operation CreatePresignedNotebookInstanceUrl for usage and error information. 3515 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedNotebookInstanceUrl 3516 func (c *SageMaker) CreatePresignedNotebookInstanceUrl(input *CreatePresignedNotebookInstanceUrlInput) (*CreatePresignedNotebookInstanceUrlOutput, error) { 3517 req, out := c.CreatePresignedNotebookInstanceUrlRequest(input) 3518 return out, req.Send() 3519 } 3520 3521 // CreatePresignedNotebookInstanceUrlWithContext is the same as CreatePresignedNotebookInstanceUrl with the addition of 3522 // the ability to pass a context and additional request options. 3523 // 3524 // See CreatePresignedNotebookInstanceUrl for details on how to use this API operation. 3525 // 3526 // The context must be non-nil and will be used for request cancellation. If 3527 // the context is nil a panic will occur. In the future the SDK may create 3528 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3529 // for more information on using Contexts. 3530 func (c *SageMaker) CreatePresignedNotebookInstanceUrlWithContext(ctx aws.Context, input *CreatePresignedNotebookInstanceUrlInput, opts ...request.Option) (*CreatePresignedNotebookInstanceUrlOutput, error) { 3531 req, out := c.CreatePresignedNotebookInstanceUrlRequest(input) 3532 req.SetContext(ctx) 3533 req.ApplyOptions(opts...) 3534 return out, req.Send() 3535 } 3536 3537 const opCreateProcessingJob = "CreateProcessingJob" 3538 3539 // CreateProcessingJobRequest generates a "aws/request.Request" representing the 3540 // client's request for the CreateProcessingJob operation. The "output" return 3541 // value will be populated with the request's response once the request completes 3542 // successfully. 3543 // 3544 // Use "Send" method on the returned Request to send the API call to the service. 3545 // the "output" return value is not valid until after Send returns without error. 3546 // 3547 // See CreateProcessingJob for more information on using the CreateProcessingJob 3548 // API call, and error handling. 3549 // 3550 // This method is useful when you want to inject custom logic or configuration 3551 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 3552 // 3553 // 3554 // // Example sending a request using the CreateProcessingJobRequest method. 3555 // req, resp := client.CreateProcessingJobRequest(params) 3556 // 3557 // err := req.Send() 3558 // if err == nil { // resp is now filled 3559 // fmt.Println(resp) 3560 // } 3561 // 3562 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateProcessingJob 3563 func (c *SageMaker) CreateProcessingJobRequest(input *CreateProcessingJobInput) (req *request.Request, output *CreateProcessingJobOutput) { 3564 op := &request.Operation{ 3565 Name: opCreateProcessingJob, 3566 HTTPMethod: "POST", 3567 HTTPPath: "/", 3568 } 3569 3570 if input == nil { 3571 input = &CreateProcessingJobInput{} 3572 } 3573 3574 output = &CreateProcessingJobOutput{} 3575 req = c.newRequest(op, input, output) 3576 return 3577 } 3578 3579 // CreateProcessingJob API operation for Amazon SageMaker Service. 3580 // 3581 // Creates a processing job. 3582 // 3583 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 3584 // with awserr.Error's Code and Message methods to get detailed information about 3585 // the error. 3586 // 3587 // See the AWS API reference guide for Amazon SageMaker Service's 3588 // API operation CreateProcessingJob for usage and error information. 3589 // 3590 // Returned Error Types: 3591 // * ResourceInUse 3592 // Resource being accessed is in use. 3593 // 3594 // * ResourceLimitExceeded 3595 // You have exceeded an Amazon SageMaker resource limit. For example, you might 3596 // have too many training jobs created. 3597 // 3598 // * ResourceNotFound 3599 // Resource being access is not found. 3600 // 3601 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateProcessingJob 3602 func (c *SageMaker) CreateProcessingJob(input *CreateProcessingJobInput) (*CreateProcessingJobOutput, error) { 3603 req, out := c.CreateProcessingJobRequest(input) 3604 return out, req.Send() 3605 } 3606 3607 // CreateProcessingJobWithContext is the same as CreateProcessingJob with the addition of 3608 // the ability to pass a context and additional request options. 3609 // 3610 // See CreateProcessingJob for details on how to use this API operation. 3611 // 3612 // The context must be non-nil and will be used for request cancellation. If 3613 // the context is nil a panic will occur. In the future the SDK may create 3614 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3615 // for more information on using Contexts. 3616 func (c *SageMaker) CreateProcessingJobWithContext(ctx aws.Context, input *CreateProcessingJobInput, opts ...request.Option) (*CreateProcessingJobOutput, error) { 3617 req, out := c.CreateProcessingJobRequest(input) 3618 req.SetContext(ctx) 3619 req.ApplyOptions(opts...) 3620 return out, req.Send() 3621 } 3622 3623 const opCreateProject = "CreateProject" 3624 3625 // CreateProjectRequest generates a "aws/request.Request" representing the 3626 // client's request for the CreateProject operation. The "output" return 3627 // value will be populated with the request's response once the request completes 3628 // successfully. 3629 // 3630 // Use "Send" method on the returned Request to send the API call to the service. 3631 // the "output" return value is not valid until after Send returns without error. 3632 // 3633 // See CreateProject for more information on using the CreateProject 3634 // API call, and error handling. 3635 // 3636 // This method is useful when you want to inject custom logic or configuration 3637 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 3638 // 3639 // 3640 // // Example sending a request using the CreateProjectRequest method. 3641 // req, resp := client.CreateProjectRequest(params) 3642 // 3643 // err := req.Send() 3644 // if err == nil { // resp is now filled 3645 // fmt.Println(resp) 3646 // } 3647 // 3648 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateProject 3649 func (c *SageMaker) CreateProjectRequest(input *CreateProjectInput) (req *request.Request, output *CreateProjectOutput) { 3650 op := &request.Operation{ 3651 Name: opCreateProject, 3652 HTTPMethod: "POST", 3653 HTTPPath: "/", 3654 } 3655 3656 if input == nil { 3657 input = &CreateProjectInput{} 3658 } 3659 3660 output = &CreateProjectOutput{} 3661 req = c.newRequest(op, input, output) 3662 return 3663 } 3664 3665 // CreateProject API operation for Amazon SageMaker Service. 3666 // 3667 // Creates a machine learning (ML) project that can contain one or more templates 3668 // that set up an ML pipeline from training to deploying an approved model. 3669 // 3670 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 3671 // with awserr.Error's Code and Message methods to get detailed information about 3672 // the error. 3673 // 3674 // See the AWS API reference guide for Amazon SageMaker Service's 3675 // API operation CreateProject for usage and error information. 3676 // 3677 // Returned Error Types: 3678 // * ResourceLimitExceeded 3679 // You have exceeded an Amazon SageMaker resource limit. For example, you might 3680 // have too many training jobs created. 3681 // 3682 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateProject 3683 func (c *SageMaker) CreateProject(input *CreateProjectInput) (*CreateProjectOutput, error) { 3684 req, out := c.CreateProjectRequest(input) 3685 return out, req.Send() 3686 } 3687 3688 // CreateProjectWithContext is the same as CreateProject with the addition of 3689 // the ability to pass a context and additional request options. 3690 // 3691 // See CreateProject for details on how to use this API operation. 3692 // 3693 // The context must be non-nil and will be used for request cancellation. If 3694 // the context is nil a panic will occur. In the future the SDK may create 3695 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3696 // for more information on using Contexts. 3697 func (c *SageMaker) CreateProjectWithContext(ctx aws.Context, input *CreateProjectInput, opts ...request.Option) (*CreateProjectOutput, error) { 3698 req, out := c.CreateProjectRequest(input) 3699 req.SetContext(ctx) 3700 req.ApplyOptions(opts...) 3701 return out, req.Send() 3702 } 3703 3704 const opCreateStudioLifecycleConfig = "CreateStudioLifecycleConfig" 3705 3706 // CreateStudioLifecycleConfigRequest generates a "aws/request.Request" representing the 3707 // client's request for the CreateStudioLifecycleConfig operation. The "output" return 3708 // value will be populated with the request's response once the request completes 3709 // successfully. 3710 // 3711 // Use "Send" method on the returned Request to send the API call to the service. 3712 // the "output" return value is not valid until after Send returns without error. 3713 // 3714 // See CreateStudioLifecycleConfig for more information on using the CreateStudioLifecycleConfig 3715 // API call, and error handling. 3716 // 3717 // This method is useful when you want to inject custom logic or configuration 3718 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 3719 // 3720 // 3721 // // Example sending a request using the CreateStudioLifecycleConfigRequest method. 3722 // req, resp := client.CreateStudioLifecycleConfigRequest(params) 3723 // 3724 // err := req.Send() 3725 // if err == nil { // resp is now filled 3726 // fmt.Println(resp) 3727 // } 3728 // 3729 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateStudioLifecycleConfig 3730 func (c *SageMaker) CreateStudioLifecycleConfigRequest(input *CreateStudioLifecycleConfigInput) (req *request.Request, output *CreateStudioLifecycleConfigOutput) { 3731 op := &request.Operation{ 3732 Name: opCreateStudioLifecycleConfig, 3733 HTTPMethod: "POST", 3734 HTTPPath: "/", 3735 } 3736 3737 if input == nil { 3738 input = &CreateStudioLifecycleConfigInput{} 3739 } 3740 3741 output = &CreateStudioLifecycleConfigOutput{} 3742 req = c.newRequest(op, input, output) 3743 return 3744 } 3745 3746 // CreateStudioLifecycleConfig API operation for Amazon SageMaker Service. 3747 // 3748 // Creates a new Studio Lifecycle Configuration. 3749 // 3750 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 3751 // with awserr.Error's Code and Message methods to get detailed information about 3752 // the error. 3753 // 3754 // See the AWS API reference guide for Amazon SageMaker Service's 3755 // API operation CreateStudioLifecycleConfig for usage and error information. 3756 // 3757 // Returned Error Types: 3758 // * ResourceInUse 3759 // Resource being accessed is in use. 3760 // 3761 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateStudioLifecycleConfig 3762 func (c *SageMaker) CreateStudioLifecycleConfig(input *CreateStudioLifecycleConfigInput) (*CreateStudioLifecycleConfigOutput, error) { 3763 req, out := c.CreateStudioLifecycleConfigRequest(input) 3764 return out, req.Send() 3765 } 3766 3767 // CreateStudioLifecycleConfigWithContext is the same as CreateStudioLifecycleConfig with the addition of 3768 // the ability to pass a context and additional request options. 3769 // 3770 // See CreateStudioLifecycleConfig for details on how to use this API operation. 3771 // 3772 // The context must be non-nil and will be used for request cancellation. If 3773 // the context is nil a panic will occur. In the future the SDK may create 3774 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3775 // for more information on using Contexts. 3776 func (c *SageMaker) CreateStudioLifecycleConfigWithContext(ctx aws.Context, input *CreateStudioLifecycleConfigInput, opts ...request.Option) (*CreateStudioLifecycleConfigOutput, error) { 3777 req, out := c.CreateStudioLifecycleConfigRequest(input) 3778 req.SetContext(ctx) 3779 req.ApplyOptions(opts...) 3780 return out, req.Send() 3781 } 3782 3783 const opCreateTrainingJob = "CreateTrainingJob" 3784 3785 // CreateTrainingJobRequest generates a "aws/request.Request" representing the 3786 // client's request for the CreateTrainingJob operation. The "output" return 3787 // value will be populated with the request's response once the request completes 3788 // successfully. 3789 // 3790 // Use "Send" method on the returned Request to send the API call to the service. 3791 // the "output" return value is not valid until after Send returns without error. 3792 // 3793 // See CreateTrainingJob for more information on using the CreateTrainingJob 3794 // API call, and error handling. 3795 // 3796 // This method is useful when you want to inject custom logic or configuration 3797 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 3798 // 3799 // 3800 // // Example sending a request using the CreateTrainingJobRequest method. 3801 // req, resp := client.CreateTrainingJobRequest(params) 3802 // 3803 // err := req.Send() 3804 // if err == nil { // resp is now filled 3805 // fmt.Println(resp) 3806 // } 3807 // 3808 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrainingJob 3809 func (c *SageMaker) CreateTrainingJobRequest(input *CreateTrainingJobInput) (req *request.Request, output *CreateTrainingJobOutput) { 3810 op := &request.Operation{ 3811 Name: opCreateTrainingJob, 3812 HTTPMethod: "POST", 3813 HTTPPath: "/", 3814 } 3815 3816 if input == nil { 3817 input = &CreateTrainingJobInput{} 3818 } 3819 3820 output = &CreateTrainingJobOutput{} 3821 req = c.newRequest(op, input, output) 3822 return 3823 } 3824 3825 // CreateTrainingJob API operation for Amazon SageMaker Service. 3826 // 3827 // Starts a model training job. After training completes, Amazon SageMaker saves 3828 // the resulting model artifacts to an Amazon S3 location that you specify. 3829 // 3830 // If you choose to host your model using Amazon SageMaker hosting services, 3831 // you can use the resulting model artifacts as part of the model. You can also 3832 // use the artifacts in a machine learning service other than Amazon SageMaker, 3833 // provided that you know how to use them for inference. 3834 // 3835 // In the request body, you provide the following: 3836 // 3837 // * AlgorithmSpecification - Identifies the training algorithm to use. 3838 // 3839 // * HyperParameters - Specify these algorithm-specific parameters to enable 3840 // the estimation of model parameters during training. Hyperparameters can 3841 // be tuned to optimize this learning process. For a list of hyperparameters 3842 // for each training algorithm provided by Amazon SageMaker, see Algorithms 3843 // (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html). 3844 // 3845 // * InputDataConfig - Describes the training dataset and the Amazon S3, 3846 // EFS, or FSx location where it is stored. 3847 // 3848 // * OutputDataConfig - Identifies the Amazon S3 bucket where you want Amazon 3849 // SageMaker to save the results of model training. 3850 // 3851 // * ResourceConfig - Identifies the resources, ML compute instances, and 3852 // ML storage volumes to deploy for model training. In distributed training, 3853 // you specify more than one instance. 3854 // 3855 // * EnableManagedSpotTraining - Optimize the cost of training machine learning 3856 // models by up to 80% by using Amazon EC2 Spot instances. For more information, 3857 // see Managed Spot Training (https://docs.aws.amazon.com/sagemaker/latest/dg/model-managed-spot-training.html). 3858 // 3859 // * RoleArn - The Amazon Resource Name (ARN) that Amazon SageMaker assumes 3860 // to perform tasks on your behalf during model training. You must grant 3861 // this role the necessary permissions so that Amazon SageMaker can successfully 3862 // complete model training. 3863 // 3864 // * StoppingCondition - To help cap training costs, use MaxRuntimeInSeconds 3865 // to set a time limit for training. Use MaxWaitTimeInSeconds to specify 3866 // how long a managed spot training job has to complete. 3867 // 3868 // * Environment - The environment variables to set in the Docker container. 3869 // 3870 // * RetryStrategy - The number of times to retry the job when the job fails 3871 // due to an InternalServerError. 3872 // 3873 // For more information about Amazon SageMaker, see How It Works (https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html). 3874 // 3875 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 3876 // with awserr.Error's Code and Message methods to get detailed information about 3877 // the error. 3878 // 3879 // See the AWS API reference guide for Amazon SageMaker Service's 3880 // API operation CreateTrainingJob for usage and error information. 3881 // 3882 // Returned Error Types: 3883 // * ResourceInUse 3884 // Resource being accessed is in use. 3885 // 3886 // * ResourceLimitExceeded 3887 // You have exceeded an Amazon SageMaker resource limit. For example, you might 3888 // have too many training jobs created. 3889 // 3890 // * ResourceNotFound 3891 // Resource being access is not found. 3892 // 3893 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrainingJob 3894 func (c *SageMaker) CreateTrainingJob(input *CreateTrainingJobInput) (*CreateTrainingJobOutput, error) { 3895 req, out := c.CreateTrainingJobRequest(input) 3896 return out, req.Send() 3897 } 3898 3899 // CreateTrainingJobWithContext is the same as CreateTrainingJob with the addition of 3900 // the ability to pass a context and additional request options. 3901 // 3902 // See CreateTrainingJob for details on how to use this API operation. 3903 // 3904 // The context must be non-nil and will be used for request cancellation. If 3905 // the context is nil a panic will occur. In the future the SDK may create 3906 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 3907 // for more information on using Contexts. 3908 func (c *SageMaker) CreateTrainingJobWithContext(ctx aws.Context, input *CreateTrainingJobInput, opts ...request.Option) (*CreateTrainingJobOutput, error) { 3909 req, out := c.CreateTrainingJobRequest(input) 3910 req.SetContext(ctx) 3911 req.ApplyOptions(opts...) 3912 return out, req.Send() 3913 } 3914 3915 const opCreateTransformJob = "CreateTransformJob" 3916 3917 // CreateTransformJobRequest generates a "aws/request.Request" representing the 3918 // client's request for the CreateTransformJob operation. The "output" return 3919 // value will be populated with the request's response once the request completes 3920 // successfully. 3921 // 3922 // Use "Send" method on the returned Request to send the API call to the service. 3923 // the "output" return value is not valid until after Send returns without error. 3924 // 3925 // See CreateTransformJob for more information on using the CreateTransformJob 3926 // API call, and error handling. 3927 // 3928 // This method is useful when you want to inject custom logic or configuration 3929 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 3930 // 3931 // 3932 // // Example sending a request using the CreateTransformJobRequest method. 3933 // req, resp := client.CreateTransformJobRequest(params) 3934 // 3935 // err := req.Send() 3936 // if err == nil { // resp is now filled 3937 // fmt.Println(resp) 3938 // } 3939 // 3940 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTransformJob 3941 func (c *SageMaker) CreateTransformJobRequest(input *CreateTransformJobInput) (req *request.Request, output *CreateTransformJobOutput) { 3942 op := &request.Operation{ 3943 Name: opCreateTransformJob, 3944 HTTPMethod: "POST", 3945 HTTPPath: "/", 3946 } 3947 3948 if input == nil { 3949 input = &CreateTransformJobInput{} 3950 } 3951 3952 output = &CreateTransformJobOutput{} 3953 req = c.newRequest(op, input, output) 3954 return 3955 } 3956 3957 // CreateTransformJob API operation for Amazon SageMaker Service. 3958 // 3959 // Starts a transform job. A transform job uses a trained model to get inferences 3960 // on a dataset and saves these results to an Amazon S3 location that you specify. 3961 // 3962 // To perform batch transformations, you create a transform job and use the 3963 // data that you have readily available. 3964 // 3965 // In the request body, you provide the following: 3966 // 3967 // * TransformJobName - Identifies the transform job. The name must be unique 3968 // within an Amazon Web Services Region in an Amazon Web Services account. 3969 // 3970 // * ModelName - Identifies the model to use. ModelName must be the name 3971 // of an existing Amazon SageMaker model in the same Amazon Web Services 3972 // Region and Amazon Web Services account. For information on creating a 3973 // model, see CreateModel. 3974 // 3975 // * TransformInput - Describes the dataset to be transformed and the Amazon 3976 // S3 location where it is stored. 3977 // 3978 // * TransformOutput - Identifies the Amazon S3 location where you want Amazon 3979 // SageMaker to save the results from the transform job. 3980 // 3981 // * TransformResources - Identifies the ML compute instances for the transform 3982 // job. 3983 // 3984 // For more information about how batch transformation works, see Batch Transform 3985 // (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform.html). 3986 // 3987 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 3988 // with awserr.Error's Code and Message methods to get detailed information about 3989 // the error. 3990 // 3991 // See the AWS API reference guide for Amazon SageMaker Service's 3992 // API operation CreateTransformJob for usage and error information. 3993 // 3994 // Returned Error Types: 3995 // * ResourceInUse 3996 // Resource being accessed is in use. 3997 // 3998 // * ResourceLimitExceeded 3999 // You have exceeded an Amazon SageMaker resource limit. For example, you might 4000 // have too many training jobs created. 4001 // 4002 // * ResourceNotFound 4003 // Resource being access is not found. 4004 // 4005 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTransformJob 4006 func (c *SageMaker) CreateTransformJob(input *CreateTransformJobInput) (*CreateTransformJobOutput, error) { 4007 req, out := c.CreateTransformJobRequest(input) 4008 return out, req.Send() 4009 } 4010 4011 // CreateTransformJobWithContext is the same as CreateTransformJob with the addition of 4012 // the ability to pass a context and additional request options. 4013 // 4014 // See CreateTransformJob for details on how to use this API operation. 4015 // 4016 // The context must be non-nil and will be used for request cancellation. If 4017 // the context is nil a panic will occur. In the future the SDK may create 4018 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4019 // for more information on using Contexts. 4020 func (c *SageMaker) CreateTransformJobWithContext(ctx aws.Context, input *CreateTransformJobInput, opts ...request.Option) (*CreateTransformJobOutput, error) { 4021 req, out := c.CreateTransformJobRequest(input) 4022 req.SetContext(ctx) 4023 req.ApplyOptions(opts...) 4024 return out, req.Send() 4025 } 4026 4027 const opCreateTrial = "CreateTrial" 4028 4029 // CreateTrialRequest generates a "aws/request.Request" representing the 4030 // client's request for the CreateTrial operation. The "output" return 4031 // value will be populated with the request's response once the request completes 4032 // successfully. 4033 // 4034 // Use "Send" method on the returned Request to send the API call to the service. 4035 // the "output" return value is not valid until after Send returns without error. 4036 // 4037 // See CreateTrial for more information on using the CreateTrial 4038 // API call, and error handling. 4039 // 4040 // This method is useful when you want to inject custom logic or configuration 4041 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 4042 // 4043 // 4044 // // Example sending a request using the CreateTrialRequest method. 4045 // req, resp := client.CreateTrialRequest(params) 4046 // 4047 // err := req.Send() 4048 // if err == nil { // resp is now filled 4049 // fmt.Println(resp) 4050 // } 4051 // 4052 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrial 4053 func (c *SageMaker) CreateTrialRequest(input *CreateTrialInput) (req *request.Request, output *CreateTrialOutput) { 4054 op := &request.Operation{ 4055 Name: opCreateTrial, 4056 HTTPMethod: "POST", 4057 HTTPPath: "/", 4058 } 4059 4060 if input == nil { 4061 input = &CreateTrialInput{} 4062 } 4063 4064 output = &CreateTrialOutput{} 4065 req = c.newRequest(op, input, output) 4066 return 4067 } 4068 4069 // CreateTrial API operation for Amazon SageMaker Service. 4070 // 4071 // Creates an SageMaker trial. A trial is a set of steps called trial components 4072 // that produce a machine learning model. A trial is part of a single SageMaker 4073 // experiment. 4074 // 4075 // When you use SageMaker Studio or the SageMaker Python SDK, all experiments, 4076 // trials, and trial components are automatically tracked, logged, and indexed. 4077 // When you use the Amazon Web Services SDK for Python (Boto), you must use 4078 // the logging APIs provided by the SDK. 4079 // 4080 // You can add tags to a trial and then use the Search API to search for the 4081 // tags. 4082 // 4083 // To get a list of all your trials, call the ListTrials API. To view a trial's 4084 // properties, call the DescribeTrial API. To create a trial component, call 4085 // the CreateTrialComponent API. 4086 // 4087 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 4088 // with awserr.Error's Code and Message methods to get detailed information about 4089 // the error. 4090 // 4091 // See the AWS API reference guide for Amazon SageMaker Service's 4092 // API operation CreateTrial for usage and error information. 4093 // 4094 // Returned Error Types: 4095 // * ResourceNotFound 4096 // Resource being access is not found. 4097 // 4098 // * ResourceLimitExceeded 4099 // You have exceeded an Amazon SageMaker resource limit. For example, you might 4100 // have too many training jobs created. 4101 // 4102 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrial 4103 func (c *SageMaker) CreateTrial(input *CreateTrialInput) (*CreateTrialOutput, error) { 4104 req, out := c.CreateTrialRequest(input) 4105 return out, req.Send() 4106 } 4107 4108 // CreateTrialWithContext is the same as CreateTrial with the addition of 4109 // the ability to pass a context and additional request options. 4110 // 4111 // See CreateTrial for details on how to use this API operation. 4112 // 4113 // The context must be non-nil and will be used for request cancellation. If 4114 // the context is nil a panic will occur. In the future the SDK may create 4115 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4116 // for more information on using Contexts. 4117 func (c *SageMaker) CreateTrialWithContext(ctx aws.Context, input *CreateTrialInput, opts ...request.Option) (*CreateTrialOutput, error) { 4118 req, out := c.CreateTrialRequest(input) 4119 req.SetContext(ctx) 4120 req.ApplyOptions(opts...) 4121 return out, req.Send() 4122 } 4123 4124 const opCreateTrialComponent = "CreateTrialComponent" 4125 4126 // CreateTrialComponentRequest generates a "aws/request.Request" representing the 4127 // client's request for the CreateTrialComponent operation. The "output" return 4128 // value will be populated with the request's response once the request completes 4129 // successfully. 4130 // 4131 // Use "Send" method on the returned Request to send the API call to the service. 4132 // the "output" return value is not valid until after Send returns without error. 4133 // 4134 // See CreateTrialComponent for more information on using the CreateTrialComponent 4135 // API call, and error handling. 4136 // 4137 // This method is useful when you want to inject custom logic or configuration 4138 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 4139 // 4140 // 4141 // // Example sending a request using the CreateTrialComponentRequest method. 4142 // req, resp := client.CreateTrialComponentRequest(params) 4143 // 4144 // err := req.Send() 4145 // if err == nil { // resp is now filled 4146 // fmt.Println(resp) 4147 // } 4148 // 4149 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrialComponent 4150 func (c *SageMaker) CreateTrialComponentRequest(input *CreateTrialComponentInput) (req *request.Request, output *CreateTrialComponentOutput) { 4151 op := &request.Operation{ 4152 Name: opCreateTrialComponent, 4153 HTTPMethod: "POST", 4154 HTTPPath: "/", 4155 } 4156 4157 if input == nil { 4158 input = &CreateTrialComponentInput{} 4159 } 4160 4161 output = &CreateTrialComponentOutput{} 4162 req = c.newRequest(op, input, output) 4163 return 4164 } 4165 4166 // CreateTrialComponent API operation for Amazon SageMaker Service. 4167 // 4168 // Creates a trial component, which is a stage of a machine learning trial. 4169 // A trial is composed of one or more trial components. A trial component can 4170 // be used in multiple trials. 4171 // 4172 // Trial components include pre-processing jobs, training jobs, and batch transform 4173 // jobs. 4174 // 4175 // When you use SageMaker Studio or the SageMaker Python SDK, all experiments, 4176 // trials, and trial components are automatically tracked, logged, and indexed. 4177 // When you use the Amazon Web Services SDK for Python (Boto), you must use 4178 // the logging APIs provided by the SDK. 4179 // 4180 // You can add tags to a trial component and then use the Search API to search 4181 // for the tags. 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 CreateTrialComponent for usage and error information. 4189 // 4190 // Returned Error Types: 4191 // * ResourceLimitExceeded 4192 // You have exceeded an Amazon SageMaker resource limit. For example, you might 4193 // have too many training jobs created. 4194 // 4195 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrialComponent 4196 func (c *SageMaker) CreateTrialComponent(input *CreateTrialComponentInput) (*CreateTrialComponentOutput, error) { 4197 req, out := c.CreateTrialComponentRequest(input) 4198 return out, req.Send() 4199 } 4200 4201 // CreateTrialComponentWithContext is the same as CreateTrialComponent with the addition of 4202 // the ability to pass a context and additional request options. 4203 // 4204 // See CreateTrialComponent for details on how to use this API operation. 4205 // 4206 // The context must be non-nil and will be used for request cancellation. If 4207 // the context is nil a panic will occur. In the future the SDK may create 4208 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4209 // for more information on using Contexts. 4210 func (c *SageMaker) CreateTrialComponentWithContext(ctx aws.Context, input *CreateTrialComponentInput, opts ...request.Option) (*CreateTrialComponentOutput, error) { 4211 req, out := c.CreateTrialComponentRequest(input) 4212 req.SetContext(ctx) 4213 req.ApplyOptions(opts...) 4214 return out, req.Send() 4215 } 4216 4217 const opCreateUserProfile = "CreateUserProfile" 4218 4219 // CreateUserProfileRequest generates a "aws/request.Request" representing the 4220 // client's request for the CreateUserProfile operation. The "output" return 4221 // value will be populated with the request's response once the request completes 4222 // successfully. 4223 // 4224 // Use "Send" method on the returned Request to send the API call to the service. 4225 // the "output" return value is not valid until after Send returns without error. 4226 // 4227 // See CreateUserProfile for more information on using the CreateUserProfile 4228 // API call, and error handling. 4229 // 4230 // This method is useful when you want to inject custom logic or configuration 4231 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 4232 // 4233 // 4234 // // Example sending a request using the CreateUserProfileRequest method. 4235 // req, resp := client.CreateUserProfileRequest(params) 4236 // 4237 // err := req.Send() 4238 // if err == nil { // resp is now filled 4239 // fmt.Println(resp) 4240 // } 4241 // 4242 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateUserProfile 4243 func (c *SageMaker) CreateUserProfileRequest(input *CreateUserProfileInput) (req *request.Request, output *CreateUserProfileOutput) { 4244 op := &request.Operation{ 4245 Name: opCreateUserProfile, 4246 HTTPMethod: "POST", 4247 HTTPPath: "/", 4248 } 4249 4250 if input == nil { 4251 input = &CreateUserProfileInput{} 4252 } 4253 4254 output = &CreateUserProfileOutput{} 4255 req = c.newRequest(op, input, output) 4256 return 4257 } 4258 4259 // CreateUserProfile API operation for Amazon SageMaker Service. 4260 // 4261 // Creates a user profile. A user profile represents a single user within a 4262 // domain, and is the main way to reference a "person" for the purposes of sharing, 4263 // reporting, and other user-oriented features. This entity is created when 4264 // a user onboards to Amazon SageMaker Studio. If an administrator invites a 4265 // person by email or imports them from SSO, a user profile is automatically 4266 // created. A user profile is the primary holder of settings for an individual 4267 // user and has a reference to the user's private Amazon Elastic File System 4268 // (EFS) home directory. 4269 // 4270 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 4271 // with awserr.Error's Code and Message methods to get detailed information about 4272 // the error. 4273 // 4274 // See the AWS API reference guide for Amazon SageMaker Service's 4275 // API operation CreateUserProfile for usage and error information. 4276 // 4277 // Returned Error Types: 4278 // * ResourceLimitExceeded 4279 // You have exceeded an Amazon SageMaker resource limit. For example, you might 4280 // have too many training jobs created. 4281 // 4282 // * ResourceInUse 4283 // Resource being accessed is in use. 4284 // 4285 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateUserProfile 4286 func (c *SageMaker) CreateUserProfile(input *CreateUserProfileInput) (*CreateUserProfileOutput, error) { 4287 req, out := c.CreateUserProfileRequest(input) 4288 return out, req.Send() 4289 } 4290 4291 // CreateUserProfileWithContext is the same as CreateUserProfile with the addition of 4292 // the ability to pass a context and additional request options. 4293 // 4294 // See CreateUserProfile for details on how to use this API operation. 4295 // 4296 // The context must be non-nil and will be used for request cancellation. If 4297 // the context is nil a panic will occur. In the future the SDK may create 4298 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4299 // for more information on using Contexts. 4300 func (c *SageMaker) CreateUserProfileWithContext(ctx aws.Context, input *CreateUserProfileInput, opts ...request.Option) (*CreateUserProfileOutput, error) { 4301 req, out := c.CreateUserProfileRequest(input) 4302 req.SetContext(ctx) 4303 req.ApplyOptions(opts...) 4304 return out, req.Send() 4305 } 4306 4307 const opCreateWorkforce = "CreateWorkforce" 4308 4309 // CreateWorkforceRequest generates a "aws/request.Request" representing the 4310 // client's request for the CreateWorkforce operation. The "output" return 4311 // value will be populated with the request's response once the request completes 4312 // successfully. 4313 // 4314 // Use "Send" method on the returned Request to send the API call to the service. 4315 // the "output" return value is not valid until after Send returns without error. 4316 // 4317 // See CreateWorkforce for more information on using the CreateWorkforce 4318 // API call, and error handling. 4319 // 4320 // This method is useful when you want to inject custom logic or configuration 4321 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 4322 // 4323 // 4324 // // Example sending a request using the CreateWorkforceRequest method. 4325 // req, resp := client.CreateWorkforceRequest(params) 4326 // 4327 // err := req.Send() 4328 // if err == nil { // resp is now filled 4329 // fmt.Println(resp) 4330 // } 4331 // 4332 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateWorkforce 4333 func (c *SageMaker) CreateWorkforceRequest(input *CreateWorkforceInput) (req *request.Request, output *CreateWorkforceOutput) { 4334 op := &request.Operation{ 4335 Name: opCreateWorkforce, 4336 HTTPMethod: "POST", 4337 HTTPPath: "/", 4338 } 4339 4340 if input == nil { 4341 input = &CreateWorkforceInput{} 4342 } 4343 4344 output = &CreateWorkforceOutput{} 4345 req = c.newRequest(op, input, output) 4346 return 4347 } 4348 4349 // CreateWorkforce API operation for Amazon SageMaker Service. 4350 // 4351 // Use this operation to create a workforce. This operation will return an error 4352 // if a workforce already exists in the Amazon Web Services Region that you 4353 // specify. You can only create one workforce in each Amazon Web Services Region 4354 // per Amazon Web Services account. 4355 // 4356 // If you want to create a new workforce in an Amazon Web Services Region where 4357 // a workforce already exists, use the API operation to delete the existing 4358 // workforce and then use CreateWorkforce to create a new workforce. 4359 // 4360 // To create a private workforce using Amazon Cognito, you must specify a Cognito 4361 // user pool in CognitoConfig. You can also create an Amazon Cognito workforce 4362 // using the Amazon SageMaker console. For more information, see Create a Private 4363 // Workforce (Amazon Cognito) (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-create-private.html). 4364 // 4365 // To create a private workforce using your own OIDC Identity Provider (IdP), 4366 // specify your IdP configuration in OidcConfig. Your OIDC IdP must support 4367 // groups because groups are used by Ground Truth and Amazon A2I to create work 4368 // teams. For more information, see Create a Private Workforce (OIDC IdP) (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-create-private-oidc.html). 4369 // 4370 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 4371 // with awserr.Error's Code and Message methods to get detailed information about 4372 // the error. 4373 // 4374 // See the AWS API reference guide for Amazon SageMaker Service's 4375 // API operation CreateWorkforce for usage and error information. 4376 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateWorkforce 4377 func (c *SageMaker) CreateWorkforce(input *CreateWorkforceInput) (*CreateWorkforceOutput, error) { 4378 req, out := c.CreateWorkforceRequest(input) 4379 return out, req.Send() 4380 } 4381 4382 // CreateWorkforceWithContext is the same as CreateWorkforce with the addition of 4383 // the ability to pass a context and additional request options. 4384 // 4385 // See CreateWorkforce for details on how to use this API operation. 4386 // 4387 // The context must be non-nil and will be used for request cancellation. If 4388 // the context is nil a panic will occur. In the future the SDK may create 4389 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4390 // for more information on using Contexts. 4391 func (c *SageMaker) CreateWorkforceWithContext(ctx aws.Context, input *CreateWorkforceInput, opts ...request.Option) (*CreateWorkforceOutput, error) { 4392 req, out := c.CreateWorkforceRequest(input) 4393 req.SetContext(ctx) 4394 req.ApplyOptions(opts...) 4395 return out, req.Send() 4396 } 4397 4398 const opCreateWorkteam = "CreateWorkteam" 4399 4400 // CreateWorkteamRequest generates a "aws/request.Request" representing the 4401 // client's request for the CreateWorkteam operation. The "output" return 4402 // value will be populated with the request's response once the request completes 4403 // successfully. 4404 // 4405 // Use "Send" method on the returned Request to send the API call to the service. 4406 // the "output" return value is not valid until after Send returns without error. 4407 // 4408 // See CreateWorkteam for more information on using the CreateWorkteam 4409 // API call, and error handling. 4410 // 4411 // This method is useful when you want to inject custom logic or configuration 4412 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 4413 // 4414 // 4415 // // Example sending a request using the CreateWorkteamRequest method. 4416 // req, resp := client.CreateWorkteamRequest(params) 4417 // 4418 // err := req.Send() 4419 // if err == nil { // resp is now filled 4420 // fmt.Println(resp) 4421 // } 4422 // 4423 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateWorkteam 4424 func (c *SageMaker) CreateWorkteamRequest(input *CreateWorkteamInput) (req *request.Request, output *CreateWorkteamOutput) { 4425 op := &request.Operation{ 4426 Name: opCreateWorkteam, 4427 HTTPMethod: "POST", 4428 HTTPPath: "/", 4429 } 4430 4431 if input == nil { 4432 input = &CreateWorkteamInput{} 4433 } 4434 4435 output = &CreateWorkteamOutput{} 4436 req = c.newRequest(op, input, output) 4437 return 4438 } 4439 4440 // CreateWorkteam API operation for Amazon SageMaker Service. 4441 // 4442 // Creates a new work team for labeling your data. A work team is defined by 4443 // one or more Amazon Cognito user pools. You must first create the user pools 4444 // before you can create a work team. 4445 // 4446 // You cannot create more than 25 work teams in an account and region. 4447 // 4448 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 4449 // with awserr.Error's Code and Message methods to get detailed information about 4450 // the error. 4451 // 4452 // See the AWS API reference guide for Amazon SageMaker Service's 4453 // API operation CreateWorkteam for usage and error information. 4454 // 4455 // Returned Error Types: 4456 // * ResourceInUse 4457 // Resource being accessed is in use. 4458 // 4459 // * ResourceLimitExceeded 4460 // You have exceeded an Amazon SageMaker resource limit. For example, you might 4461 // have too many training jobs created. 4462 // 4463 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateWorkteam 4464 func (c *SageMaker) CreateWorkteam(input *CreateWorkteamInput) (*CreateWorkteamOutput, error) { 4465 req, out := c.CreateWorkteamRequest(input) 4466 return out, req.Send() 4467 } 4468 4469 // CreateWorkteamWithContext is the same as CreateWorkteam with the addition of 4470 // the ability to pass a context and additional request options. 4471 // 4472 // See CreateWorkteam for details on how to use this API operation. 4473 // 4474 // The context must be non-nil and will be used for request cancellation. If 4475 // the context is nil a panic will occur. In the future the SDK may create 4476 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4477 // for more information on using Contexts. 4478 func (c *SageMaker) CreateWorkteamWithContext(ctx aws.Context, input *CreateWorkteamInput, opts ...request.Option) (*CreateWorkteamOutput, error) { 4479 req, out := c.CreateWorkteamRequest(input) 4480 req.SetContext(ctx) 4481 req.ApplyOptions(opts...) 4482 return out, req.Send() 4483 } 4484 4485 const opDeleteAction = "DeleteAction" 4486 4487 // DeleteActionRequest generates a "aws/request.Request" representing the 4488 // client's request for the DeleteAction operation. The "output" return 4489 // value will be populated with the request's response once the request completes 4490 // successfully. 4491 // 4492 // Use "Send" method on the returned Request to send the API call to the service. 4493 // the "output" return value is not valid until after Send returns without error. 4494 // 4495 // See DeleteAction for more information on using the DeleteAction 4496 // API call, and error handling. 4497 // 4498 // This method is useful when you want to inject custom logic or configuration 4499 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 4500 // 4501 // 4502 // // Example sending a request using the DeleteActionRequest method. 4503 // req, resp := client.DeleteActionRequest(params) 4504 // 4505 // err := req.Send() 4506 // if err == nil { // resp is now filled 4507 // fmt.Println(resp) 4508 // } 4509 // 4510 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAction 4511 func (c *SageMaker) DeleteActionRequest(input *DeleteActionInput) (req *request.Request, output *DeleteActionOutput) { 4512 op := &request.Operation{ 4513 Name: opDeleteAction, 4514 HTTPMethod: "POST", 4515 HTTPPath: "/", 4516 } 4517 4518 if input == nil { 4519 input = &DeleteActionInput{} 4520 } 4521 4522 output = &DeleteActionOutput{} 4523 req = c.newRequest(op, input, output) 4524 return 4525 } 4526 4527 // DeleteAction API operation for Amazon SageMaker Service. 4528 // 4529 // Deletes an action. 4530 // 4531 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 4532 // with awserr.Error's Code and Message methods to get detailed information about 4533 // the error. 4534 // 4535 // See the AWS API reference guide for Amazon SageMaker Service's 4536 // API operation DeleteAction for usage and error information. 4537 // 4538 // Returned Error Types: 4539 // * ResourceNotFound 4540 // Resource being access is not found. 4541 // 4542 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAction 4543 func (c *SageMaker) DeleteAction(input *DeleteActionInput) (*DeleteActionOutput, error) { 4544 req, out := c.DeleteActionRequest(input) 4545 return out, req.Send() 4546 } 4547 4548 // DeleteActionWithContext is the same as DeleteAction with the addition of 4549 // the ability to pass a context and additional request options. 4550 // 4551 // See DeleteAction for details on how to use this API operation. 4552 // 4553 // The context must be non-nil and will be used for request cancellation. If 4554 // the context is nil a panic will occur. In the future the SDK may create 4555 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4556 // for more information on using Contexts. 4557 func (c *SageMaker) DeleteActionWithContext(ctx aws.Context, input *DeleteActionInput, opts ...request.Option) (*DeleteActionOutput, error) { 4558 req, out := c.DeleteActionRequest(input) 4559 req.SetContext(ctx) 4560 req.ApplyOptions(opts...) 4561 return out, req.Send() 4562 } 4563 4564 const opDeleteAlgorithm = "DeleteAlgorithm" 4565 4566 // DeleteAlgorithmRequest generates a "aws/request.Request" representing the 4567 // client's request for the DeleteAlgorithm operation. The "output" return 4568 // value will be populated with the request's response once the request completes 4569 // successfully. 4570 // 4571 // Use "Send" method on the returned Request to send the API call to the service. 4572 // the "output" return value is not valid until after Send returns without error. 4573 // 4574 // See DeleteAlgorithm for more information on using the DeleteAlgorithm 4575 // API call, and error handling. 4576 // 4577 // This method is useful when you want to inject custom logic or configuration 4578 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 4579 // 4580 // 4581 // // Example sending a request using the DeleteAlgorithmRequest method. 4582 // req, resp := client.DeleteAlgorithmRequest(params) 4583 // 4584 // err := req.Send() 4585 // if err == nil { // resp is now filled 4586 // fmt.Println(resp) 4587 // } 4588 // 4589 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAlgorithm 4590 func (c *SageMaker) DeleteAlgorithmRequest(input *DeleteAlgorithmInput) (req *request.Request, output *DeleteAlgorithmOutput) { 4591 op := &request.Operation{ 4592 Name: opDeleteAlgorithm, 4593 HTTPMethod: "POST", 4594 HTTPPath: "/", 4595 } 4596 4597 if input == nil { 4598 input = &DeleteAlgorithmInput{} 4599 } 4600 4601 output = &DeleteAlgorithmOutput{} 4602 req = c.newRequest(op, input, output) 4603 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 4604 return 4605 } 4606 4607 // DeleteAlgorithm API operation for Amazon SageMaker Service. 4608 // 4609 // Removes the specified algorithm from your account. 4610 // 4611 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 4612 // with awserr.Error's Code and Message methods to get detailed information about 4613 // the error. 4614 // 4615 // See the AWS API reference guide for Amazon SageMaker Service's 4616 // API operation DeleteAlgorithm for usage and error information. 4617 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAlgorithm 4618 func (c *SageMaker) DeleteAlgorithm(input *DeleteAlgorithmInput) (*DeleteAlgorithmOutput, error) { 4619 req, out := c.DeleteAlgorithmRequest(input) 4620 return out, req.Send() 4621 } 4622 4623 // DeleteAlgorithmWithContext is the same as DeleteAlgorithm with the addition of 4624 // the ability to pass a context and additional request options. 4625 // 4626 // See DeleteAlgorithm for details on how to use this API operation. 4627 // 4628 // The context must be non-nil and will be used for request cancellation. If 4629 // the context is nil a panic will occur. In the future the SDK may create 4630 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4631 // for more information on using Contexts. 4632 func (c *SageMaker) DeleteAlgorithmWithContext(ctx aws.Context, input *DeleteAlgorithmInput, opts ...request.Option) (*DeleteAlgorithmOutput, error) { 4633 req, out := c.DeleteAlgorithmRequest(input) 4634 req.SetContext(ctx) 4635 req.ApplyOptions(opts...) 4636 return out, req.Send() 4637 } 4638 4639 const opDeleteApp = "DeleteApp" 4640 4641 // DeleteAppRequest generates a "aws/request.Request" representing the 4642 // client's request for the DeleteApp operation. The "output" return 4643 // value will be populated with the request's response once the request completes 4644 // successfully. 4645 // 4646 // Use "Send" method on the returned Request to send the API call to the service. 4647 // the "output" return value is not valid until after Send returns without error. 4648 // 4649 // See DeleteApp for more information on using the DeleteApp 4650 // API call, and error handling. 4651 // 4652 // This method is useful when you want to inject custom logic or configuration 4653 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 4654 // 4655 // 4656 // // Example sending a request using the DeleteAppRequest method. 4657 // req, resp := client.DeleteAppRequest(params) 4658 // 4659 // err := req.Send() 4660 // if err == nil { // resp is now filled 4661 // fmt.Println(resp) 4662 // } 4663 // 4664 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteApp 4665 func (c *SageMaker) DeleteAppRequest(input *DeleteAppInput) (req *request.Request, output *DeleteAppOutput) { 4666 op := &request.Operation{ 4667 Name: opDeleteApp, 4668 HTTPMethod: "POST", 4669 HTTPPath: "/", 4670 } 4671 4672 if input == nil { 4673 input = &DeleteAppInput{} 4674 } 4675 4676 output = &DeleteAppOutput{} 4677 req = c.newRequest(op, input, output) 4678 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 4679 return 4680 } 4681 4682 // DeleteApp API operation for Amazon SageMaker Service. 4683 // 4684 // Used to stop and delete an app. 4685 // 4686 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 4687 // with awserr.Error's Code and Message methods to get detailed information about 4688 // the error. 4689 // 4690 // See the AWS API reference guide for Amazon SageMaker Service's 4691 // API operation DeleteApp for usage and error information. 4692 // 4693 // Returned Error Types: 4694 // * ResourceInUse 4695 // Resource being accessed is in use. 4696 // 4697 // * ResourceNotFound 4698 // Resource being access is not found. 4699 // 4700 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteApp 4701 func (c *SageMaker) DeleteApp(input *DeleteAppInput) (*DeleteAppOutput, error) { 4702 req, out := c.DeleteAppRequest(input) 4703 return out, req.Send() 4704 } 4705 4706 // DeleteAppWithContext is the same as DeleteApp with the addition of 4707 // the ability to pass a context and additional request options. 4708 // 4709 // See DeleteApp for details on how to use this API operation. 4710 // 4711 // The context must be non-nil and will be used for request cancellation. If 4712 // the context is nil a panic will occur. In the future the SDK may create 4713 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4714 // for more information on using Contexts. 4715 func (c *SageMaker) DeleteAppWithContext(ctx aws.Context, input *DeleteAppInput, opts ...request.Option) (*DeleteAppOutput, error) { 4716 req, out := c.DeleteAppRequest(input) 4717 req.SetContext(ctx) 4718 req.ApplyOptions(opts...) 4719 return out, req.Send() 4720 } 4721 4722 const opDeleteAppImageConfig = "DeleteAppImageConfig" 4723 4724 // DeleteAppImageConfigRequest generates a "aws/request.Request" representing the 4725 // client's request for the DeleteAppImageConfig operation. The "output" return 4726 // value will be populated with the request's response once the request completes 4727 // successfully. 4728 // 4729 // Use "Send" method on the returned Request to send the API call to the service. 4730 // the "output" return value is not valid until after Send returns without error. 4731 // 4732 // See DeleteAppImageConfig for more information on using the DeleteAppImageConfig 4733 // API call, and error handling. 4734 // 4735 // This method is useful when you want to inject custom logic or configuration 4736 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 4737 // 4738 // 4739 // // Example sending a request using the DeleteAppImageConfigRequest method. 4740 // req, resp := client.DeleteAppImageConfigRequest(params) 4741 // 4742 // err := req.Send() 4743 // if err == nil { // resp is now filled 4744 // fmt.Println(resp) 4745 // } 4746 // 4747 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAppImageConfig 4748 func (c *SageMaker) DeleteAppImageConfigRequest(input *DeleteAppImageConfigInput) (req *request.Request, output *DeleteAppImageConfigOutput) { 4749 op := &request.Operation{ 4750 Name: opDeleteAppImageConfig, 4751 HTTPMethod: "POST", 4752 HTTPPath: "/", 4753 } 4754 4755 if input == nil { 4756 input = &DeleteAppImageConfigInput{} 4757 } 4758 4759 output = &DeleteAppImageConfigOutput{} 4760 req = c.newRequest(op, input, output) 4761 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 4762 return 4763 } 4764 4765 // DeleteAppImageConfig API operation for Amazon SageMaker Service. 4766 // 4767 // Deletes an AppImageConfig. 4768 // 4769 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 4770 // with awserr.Error's Code and Message methods to get detailed information about 4771 // the error. 4772 // 4773 // See the AWS API reference guide for Amazon SageMaker Service's 4774 // API operation DeleteAppImageConfig for usage and error information. 4775 // 4776 // Returned Error Types: 4777 // * ResourceNotFound 4778 // Resource being access is not found. 4779 // 4780 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAppImageConfig 4781 func (c *SageMaker) DeleteAppImageConfig(input *DeleteAppImageConfigInput) (*DeleteAppImageConfigOutput, error) { 4782 req, out := c.DeleteAppImageConfigRequest(input) 4783 return out, req.Send() 4784 } 4785 4786 // DeleteAppImageConfigWithContext is the same as DeleteAppImageConfig with the addition of 4787 // the ability to pass a context and additional request options. 4788 // 4789 // See DeleteAppImageConfig for details on how to use this API operation. 4790 // 4791 // The context must be non-nil and will be used for request cancellation. If 4792 // the context is nil a panic will occur. In the future the SDK may create 4793 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4794 // for more information on using Contexts. 4795 func (c *SageMaker) DeleteAppImageConfigWithContext(ctx aws.Context, input *DeleteAppImageConfigInput, opts ...request.Option) (*DeleteAppImageConfigOutput, error) { 4796 req, out := c.DeleteAppImageConfigRequest(input) 4797 req.SetContext(ctx) 4798 req.ApplyOptions(opts...) 4799 return out, req.Send() 4800 } 4801 4802 const opDeleteArtifact = "DeleteArtifact" 4803 4804 // DeleteArtifactRequest generates a "aws/request.Request" representing the 4805 // client's request for the DeleteArtifact operation. The "output" return 4806 // value will be populated with the request's response once the request completes 4807 // successfully. 4808 // 4809 // Use "Send" method on the returned Request to send the API call to the service. 4810 // the "output" return value is not valid until after Send returns without error. 4811 // 4812 // See DeleteArtifact for more information on using the DeleteArtifact 4813 // API call, and error handling. 4814 // 4815 // This method is useful when you want to inject custom logic or configuration 4816 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 4817 // 4818 // 4819 // // Example sending a request using the DeleteArtifactRequest method. 4820 // req, resp := client.DeleteArtifactRequest(params) 4821 // 4822 // err := req.Send() 4823 // if err == nil { // resp is now filled 4824 // fmt.Println(resp) 4825 // } 4826 // 4827 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteArtifact 4828 func (c *SageMaker) DeleteArtifactRequest(input *DeleteArtifactInput) (req *request.Request, output *DeleteArtifactOutput) { 4829 op := &request.Operation{ 4830 Name: opDeleteArtifact, 4831 HTTPMethod: "POST", 4832 HTTPPath: "/", 4833 } 4834 4835 if input == nil { 4836 input = &DeleteArtifactInput{} 4837 } 4838 4839 output = &DeleteArtifactOutput{} 4840 req = c.newRequest(op, input, output) 4841 return 4842 } 4843 4844 // DeleteArtifact API operation for Amazon SageMaker Service. 4845 // 4846 // Deletes an artifact. Either ArtifactArn or Source must be specified. 4847 // 4848 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 4849 // with awserr.Error's Code and Message methods to get detailed information about 4850 // the error. 4851 // 4852 // See the AWS API reference guide for Amazon SageMaker Service's 4853 // API operation DeleteArtifact for usage and error information. 4854 // 4855 // Returned Error Types: 4856 // * ResourceNotFound 4857 // Resource being access is not found. 4858 // 4859 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteArtifact 4860 func (c *SageMaker) DeleteArtifact(input *DeleteArtifactInput) (*DeleteArtifactOutput, error) { 4861 req, out := c.DeleteArtifactRequest(input) 4862 return out, req.Send() 4863 } 4864 4865 // DeleteArtifactWithContext is the same as DeleteArtifact with the addition of 4866 // the ability to pass a context and additional request options. 4867 // 4868 // See DeleteArtifact for details on how to use this API operation. 4869 // 4870 // The context must be non-nil and will be used for request cancellation. If 4871 // the context is nil a panic will occur. In the future the SDK may create 4872 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4873 // for more information on using Contexts. 4874 func (c *SageMaker) DeleteArtifactWithContext(ctx aws.Context, input *DeleteArtifactInput, opts ...request.Option) (*DeleteArtifactOutput, error) { 4875 req, out := c.DeleteArtifactRequest(input) 4876 req.SetContext(ctx) 4877 req.ApplyOptions(opts...) 4878 return out, req.Send() 4879 } 4880 4881 const opDeleteAssociation = "DeleteAssociation" 4882 4883 // DeleteAssociationRequest generates a "aws/request.Request" representing the 4884 // client's request for the DeleteAssociation operation. The "output" return 4885 // value will be populated with the request's response once the request completes 4886 // successfully. 4887 // 4888 // Use "Send" method on the returned Request to send the API call to the service. 4889 // the "output" return value is not valid until after Send returns without error. 4890 // 4891 // See DeleteAssociation for more information on using the DeleteAssociation 4892 // API call, and error handling. 4893 // 4894 // This method is useful when you want to inject custom logic or configuration 4895 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 4896 // 4897 // 4898 // // Example sending a request using the DeleteAssociationRequest method. 4899 // req, resp := client.DeleteAssociationRequest(params) 4900 // 4901 // err := req.Send() 4902 // if err == nil { // resp is now filled 4903 // fmt.Println(resp) 4904 // } 4905 // 4906 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAssociation 4907 func (c *SageMaker) DeleteAssociationRequest(input *DeleteAssociationInput) (req *request.Request, output *DeleteAssociationOutput) { 4908 op := &request.Operation{ 4909 Name: opDeleteAssociation, 4910 HTTPMethod: "POST", 4911 HTTPPath: "/", 4912 } 4913 4914 if input == nil { 4915 input = &DeleteAssociationInput{} 4916 } 4917 4918 output = &DeleteAssociationOutput{} 4919 req = c.newRequest(op, input, output) 4920 return 4921 } 4922 4923 // DeleteAssociation API operation for Amazon SageMaker Service. 4924 // 4925 // Deletes an association. 4926 // 4927 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 4928 // with awserr.Error's Code and Message methods to get detailed information about 4929 // the error. 4930 // 4931 // See the AWS API reference guide for Amazon SageMaker Service's 4932 // API operation DeleteAssociation for usage and error information. 4933 // 4934 // Returned Error Types: 4935 // * ResourceNotFound 4936 // Resource being access is not found. 4937 // 4938 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAssociation 4939 func (c *SageMaker) DeleteAssociation(input *DeleteAssociationInput) (*DeleteAssociationOutput, error) { 4940 req, out := c.DeleteAssociationRequest(input) 4941 return out, req.Send() 4942 } 4943 4944 // DeleteAssociationWithContext is the same as DeleteAssociation with the addition of 4945 // the ability to pass a context and additional request options. 4946 // 4947 // See DeleteAssociation for details on how to use this API operation. 4948 // 4949 // The context must be non-nil and will be used for request cancellation. If 4950 // the context is nil a panic will occur. In the future the SDK may create 4951 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 4952 // for more information on using Contexts. 4953 func (c *SageMaker) DeleteAssociationWithContext(ctx aws.Context, input *DeleteAssociationInput, opts ...request.Option) (*DeleteAssociationOutput, error) { 4954 req, out := c.DeleteAssociationRequest(input) 4955 req.SetContext(ctx) 4956 req.ApplyOptions(opts...) 4957 return out, req.Send() 4958 } 4959 4960 const opDeleteCodeRepository = "DeleteCodeRepository" 4961 4962 // DeleteCodeRepositoryRequest generates a "aws/request.Request" representing the 4963 // client's request for the DeleteCodeRepository operation. The "output" return 4964 // value will be populated with the request's response once the request completes 4965 // successfully. 4966 // 4967 // Use "Send" method on the returned Request to send the API call to the service. 4968 // the "output" return value is not valid until after Send returns without error. 4969 // 4970 // See DeleteCodeRepository for more information on using the DeleteCodeRepository 4971 // API call, and error handling. 4972 // 4973 // This method is useful when you want to inject custom logic or configuration 4974 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 4975 // 4976 // 4977 // // Example sending a request using the DeleteCodeRepositoryRequest method. 4978 // req, resp := client.DeleteCodeRepositoryRequest(params) 4979 // 4980 // err := req.Send() 4981 // if err == nil { // resp is now filled 4982 // fmt.Println(resp) 4983 // } 4984 // 4985 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteCodeRepository 4986 func (c *SageMaker) DeleteCodeRepositoryRequest(input *DeleteCodeRepositoryInput) (req *request.Request, output *DeleteCodeRepositoryOutput) { 4987 op := &request.Operation{ 4988 Name: opDeleteCodeRepository, 4989 HTTPMethod: "POST", 4990 HTTPPath: "/", 4991 } 4992 4993 if input == nil { 4994 input = &DeleteCodeRepositoryInput{} 4995 } 4996 4997 output = &DeleteCodeRepositoryOutput{} 4998 req = c.newRequest(op, input, output) 4999 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 5000 return 5001 } 5002 5003 // DeleteCodeRepository API operation for Amazon SageMaker Service. 5004 // 5005 // Deletes the specified Git repository from your account. 5006 // 5007 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 5008 // with awserr.Error's Code and Message methods to get detailed information about 5009 // the error. 5010 // 5011 // See the AWS API reference guide for Amazon SageMaker Service's 5012 // API operation DeleteCodeRepository for usage and error information. 5013 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteCodeRepository 5014 func (c *SageMaker) DeleteCodeRepository(input *DeleteCodeRepositoryInput) (*DeleteCodeRepositoryOutput, error) { 5015 req, out := c.DeleteCodeRepositoryRequest(input) 5016 return out, req.Send() 5017 } 5018 5019 // DeleteCodeRepositoryWithContext is the same as DeleteCodeRepository with the addition of 5020 // the ability to pass a context and additional request options. 5021 // 5022 // See DeleteCodeRepository for details on how to use this API operation. 5023 // 5024 // The context must be non-nil and will be used for request cancellation. If 5025 // the context is nil a panic will occur. In the future the SDK may create 5026 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 5027 // for more information on using Contexts. 5028 func (c *SageMaker) DeleteCodeRepositoryWithContext(ctx aws.Context, input *DeleteCodeRepositoryInput, opts ...request.Option) (*DeleteCodeRepositoryOutput, error) { 5029 req, out := c.DeleteCodeRepositoryRequest(input) 5030 req.SetContext(ctx) 5031 req.ApplyOptions(opts...) 5032 return out, req.Send() 5033 } 5034 5035 const opDeleteContext = "DeleteContext" 5036 5037 // DeleteContextRequest generates a "aws/request.Request" representing the 5038 // client's request for the DeleteContext operation. The "output" return 5039 // value will be populated with the request's response once the request completes 5040 // successfully. 5041 // 5042 // Use "Send" method on the returned Request to send the API call to the service. 5043 // the "output" return value is not valid until after Send returns without error. 5044 // 5045 // See DeleteContext for more information on using the DeleteContext 5046 // API call, and error handling. 5047 // 5048 // This method is useful when you want to inject custom logic or configuration 5049 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 5050 // 5051 // 5052 // // Example sending a request using the DeleteContextRequest method. 5053 // req, resp := client.DeleteContextRequest(params) 5054 // 5055 // err := req.Send() 5056 // if err == nil { // resp is now filled 5057 // fmt.Println(resp) 5058 // } 5059 // 5060 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteContext 5061 func (c *SageMaker) DeleteContextRequest(input *DeleteContextInput) (req *request.Request, output *DeleteContextOutput) { 5062 op := &request.Operation{ 5063 Name: opDeleteContext, 5064 HTTPMethod: "POST", 5065 HTTPPath: "/", 5066 } 5067 5068 if input == nil { 5069 input = &DeleteContextInput{} 5070 } 5071 5072 output = &DeleteContextOutput{} 5073 req = c.newRequest(op, input, output) 5074 return 5075 } 5076 5077 // DeleteContext API operation for Amazon SageMaker Service. 5078 // 5079 // Deletes an context. 5080 // 5081 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 5082 // with awserr.Error's Code and Message methods to get detailed information about 5083 // the error. 5084 // 5085 // See the AWS API reference guide for Amazon SageMaker Service's 5086 // API operation DeleteContext for usage and error information. 5087 // 5088 // Returned Error Types: 5089 // * ResourceNotFound 5090 // Resource being access is not found. 5091 // 5092 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteContext 5093 func (c *SageMaker) DeleteContext(input *DeleteContextInput) (*DeleteContextOutput, error) { 5094 req, out := c.DeleteContextRequest(input) 5095 return out, req.Send() 5096 } 5097 5098 // DeleteContextWithContext is the same as DeleteContext with the addition of 5099 // the ability to pass a context and additional request options. 5100 // 5101 // See DeleteContext for details on how to use this API operation. 5102 // 5103 // The context must be non-nil and will be used for request cancellation. If 5104 // the context is nil a panic will occur. In the future the SDK may create 5105 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 5106 // for more information on using Contexts. 5107 func (c *SageMaker) DeleteContextWithContext(ctx aws.Context, input *DeleteContextInput, opts ...request.Option) (*DeleteContextOutput, error) { 5108 req, out := c.DeleteContextRequest(input) 5109 req.SetContext(ctx) 5110 req.ApplyOptions(opts...) 5111 return out, req.Send() 5112 } 5113 5114 const opDeleteDataQualityJobDefinition = "DeleteDataQualityJobDefinition" 5115 5116 // DeleteDataQualityJobDefinitionRequest generates a "aws/request.Request" representing the 5117 // client's request for the DeleteDataQualityJobDefinition operation. The "output" return 5118 // value will be populated with the request's response once the request completes 5119 // successfully. 5120 // 5121 // Use "Send" method on the returned Request to send the API call to the service. 5122 // the "output" return value is not valid until after Send returns without error. 5123 // 5124 // See DeleteDataQualityJobDefinition for more information on using the DeleteDataQualityJobDefinition 5125 // API call, and error handling. 5126 // 5127 // This method is useful when you want to inject custom logic or configuration 5128 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 5129 // 5130 // 5131 // // Example sending a request using the DeleteDataQualityJobDefinitionRequest method. 5132 // req, resp := client.DeleteDataQualityJobDefinitionRequest(params) 5133 // 5134 // err := req.Send() 5135 // if err == nil { // resp is now filled 5136 // fmt.Println(resp) 5137 // } 5138 // 5139 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteDataQualityJobDefinition 5140 func (c *SageMaker) DeleteDataQualityJobDefinitionRequest(input *DeleteDataQualityJobDefinitionInput) (req *request.Request, output *DeleteDataQualityJobDefinitionOutput) { 5141 op := &request.Operation{ 5142 Name: opDeleteDataQualityJobDefinition, 5143 HTTPMethod: "POST", 5144 HTTPPath: "/", 5145 } 5146 5147 if input == nil { 5148 input = &DeleteDataQualityJobDefinitionInput{} 5149 } 5150 5151 output = &DeleteDataQualityJobDefinitionOutput{} 5152 req = c.newRequest(op, input, output) 5153 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 5154 return 5155 } 5156 5157 // DeleteDataQualityJobDefinition API operation for Amazon SageMaker Service. 5158 // 5159 // Deletes a data quality monitoring job definition. 5160 // 5161 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 5162 // with awserr.Error's Code and Message methods to get detailed information about 5163 // the error. 5164 // 5165 // See the AWS API reference guide for Amazon SageMaker Service's 5166 // API operation DeleteDataQualityJobDefinition for usage and error information. 5167 // 5168 // Returned Error Types: 5169 // * ResourceNotFound 5170 // Resource being access is not found. 5171 // 5172 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteDataQualityJobDefinition 5173 func (c *SageMaker) DeleteDataQualityJobDefinition(input *DeleteDataQualityJobDefinitionInput) (*DeleteDataQualityJobDefinitionOutput, error) { 5174 req, out := c.DeleteDataQualityJobDefinitionRequest(input) 5175 return out, req.Send() 5176 } 5177 5178 // DeleteDataQualityJobDefinitionWithContext is the same as DeleteDataQualityJobDefinition with the addition of 5179 // the ability to pass a context and additional request options. 5180 // 5181 // See DeleteDataQualityJobDefinition for details on how to use this API operation. 5182 // 5183 // The context must be non-nil and will be used for request cancellation. If 5184 // the context is nil a panic will occur. In the future the SDK may create 5185 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 5186 // for more information on using Contexts. 5187 func (c *SageMaker) DeleteDataQualityJobDefinitionWithContext(ctx aws.Context, input *DeleteDataQualityJobDefinitionInput, opts ...request.Option) (*DeleteDataQualityJobDefinitionOutput, error) { 5188 req, out := c.DeleteDataQualityJobDefinitionRequest(input) 5189 req.SetContext(ctx) 5190 req.ApplyOptions(opts...) 5191 return out, req.Send() 5192 } 5193 5194 const opDeleteDeviceFleet = "DeleteDeviceFleet" 5195 5196 // DeleteDeviceFleetRequest generates a "aws/request.Request" representing the 5197 // client's request for the DeleteDeviceFleet operation. The "output" return 5198 // value will be populated with the request's response once the request completes 5199 // successfully. 5200 // 5201 // Use "Send" method on the returned Request to send the API call to the service. 5202 // the "output" return value is not valid until after Send returns without error. 5203 // 5204 // See DeleteDeviceFleet for more information on using the DeleteDeviceFleet 5205 // API call, and error handling. 5206 // 5207 // This method is useful when you want to inject custom logic or configuration 5208 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 5209 // 5210 // 5211 // // Example sending a request using the DeleteDeviceFleetRequest method. 5212 // req, resp := client.DeleteDeviceFleetRequest(params) 5213 // 5214 // err := req.Send() 5215 // if err == nil { // resp is now filled 5216 // fmt.Println(resp) 5217 // } 5218 // 5219 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteDeviceFleet 5220 func (c *SageMaker) DeleteDeviceFleetRequest(input *DeleteDeviceFleetInput) (req *request.Request, output *DeleteDeviceFleetOutput) { 5221 op := &request.Operation{ 5222 Name: opDeleteDeviceFleet, 5223 HTTPMethod: "POST", 5224 HTTPPath: "/", 5225 } 5226 5227 if input == nil { 5228 input = &DeleteDeviceFleetInput{} 5229 } 5230 5231 output = &DeleteDeviceFleetOutput{} 5232 req = c.newRequest(op, input, output) 5233 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 5234 return 5235 } 5236 5237 // DeleteDeviceFleet API operation for Amazon SageMaker Service. 5238 // 5239 // Deletes a fleet. 5240 // 5241 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 5242 // with awserr.Error's Code and Message methods to get detailed information about 5243 // the error. 5244 // 5245 // See the AWS API reference guide for Amazon SageMaker Service's 5246 // API operation DeleteDeviceFleet for usage and error information. 5247 // 5248 // Returned Error Types: 5249 // * ResourceInUse 5250 // Resource being accessed is in use. 5251 // 5252 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteDeviceFleet 5253 func (c *SageMaker) DeleteDeviceFleet(input *DeleteDeviceFleetInput) (*DeleteDeviceFleetOutput, error) { 5254 req, out := c.DeleteDeviceFleetRequest(input) 5255 return out, req.Send() 5256 } 5257 5258 // DeleteDeviceFleetWithContext is the same as DeleteDeviceFleet with the addition of 5259 // the ability to pass a context and additional request options. 5260 // 5261 // See DeleteDeviceFleet for details on how to use this API operation. 5262 // 5263 // The context must be non-nil and will be used for request cancellation. If 5264 // the context is nil a panic will occur. In the future the SDK may create 5265 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 5266 // for more information on using Contexts. 5267 func (c *SageMaker) DeleteDeviceFleetWithContext(ctx aws.Context, input *DeleteDeviceFleetInput, opts ...request.Option) (*DeleteDeviceFleetOutput, error) { 5268 req, out := c.DeleteDeviceFleetRequest(input) 5269 req.SetContext(ctx) 5270 req.ApplyOptions(opts...) 5271 return out, req.Send() 5272 } 5273 5274 const opDeleteDomain = "DeleteDomain" 5275 5276 // DeleteDomainRequest generates a "aws/request.Request" representing the 5277 // client's request for the DeleteDomain operation. The "output" return 5278 // value will be populated with the request's response once the request completes 5279 // successfully. 5280 // 5281 // Use "Send" method on the returned Request to send the API call to the service. 5282 // the "output" return value is not valid until after Send returns without error. 5283 // 5284 // See DeleteDomain for more information on using the DeleteDomain 5285 // API call, and error handling. 5286 // 5287 // This method is useful when you want to inject custom logic or configuration 5288 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 5289 // 5290 // 5291 // // Example sending a request using the DeleteDomainRequest method. 5292 // req, resp := client.DeleteDomainRequest(params) 5293 // 5294 // err := req.Send() 5295 // if err == nil { // resp is now filled 5296 // fmt.Println(resp) 5297 // } 5298 // 5299 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteDomain 5300 func (c *SageMaker) DeleteDomainRequest(input *DeleteDomainInput) (req *request.Request, output *DeleteDomainOutput) { 5301 op := &request.Operation{ 5302 Name: opDeleteDomain, 5303 HTTPMethod: "POST", 5304 HTTPPath: "/", 5305 } 5306 5307 if input == nil { 5308 input = &DeleteDomainInput{} 5309 } 5310 5311 output = &DeleteDomainOutput{} 5312 req = c.newRequest(op, input, output) 5313 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 5314 return 5315 } 5316 5317 // DeleteDomain API operation for Amazon SageMaker Service. 5318 // 5319 // Used to delete a domain. If you onboarded with IAM mode, you will need to 5320 // delete your domain to onboard again using SSO. Use with caution. All of the 5321 // members of the domain will lose access to their EFS volume, including data, 5322 // notebooks, and other artifacts. 5323 // 5324 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 5325 // with awserr.Error's Code and Message methods to get detailed information about 5326 // the error. 5327 // 5328 // See the AWS API reference guide for Amazon SageMaker Service's 5329 // API operation DeleteDomain for usage and error information. 5330 // 5331 // Returned Error Types: 5332 // * ResourceInUse 5333 // Resource being accessed is in use. 5334 // 5335 // * ResourceNotFound 5336 // Resource being access is not found. 5337 // 5338 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteDomain 5339 func (c *SageMaker) DeleteDomain(input *DeleteDomainInput) (*DeleteDomainOutput, error) { 5340 req, out := c.DeleteDomainRequest(input) 5341 return out, req.Send() 5342 } 5343 5344 // DeleteDomainWithContext is the same as DeleteDomain with the addition of 5345 // the ability to pass a context and additional request options. 5346 // 5347 // See DeleteDomain for details on how to use this API operation. 5348 // 5349 // The context must be non-nil and will be used for request cancellation. If 5350 // the context is nil a panic will occur. In the future the SDK may create 5351 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 5352 // for more information on using Contexts. 5353 func (c *SageMaker) DeleteDomainWithContext(ctx aws.Context, input *DeleteDomainInput, opts ...request.Option) (*DeleteDomainOutput, error) { 5354 req, out := c.DeleteDomainRequest(input) 5355 req.SetContext(ctx) 5356 req.ApplyOptions(opts...) 5357 return out, req.Send() 5358 } 5359 5360 const opDeleteEndpoint = "DeleteEndpoint" 5361 5362 // DeleteEndpointRequest generates a "aws/request.Request" representing the 5363 // client's request for the DeleteEndpoint operation. The "output" return 5364 // value will be populated with the request's response once the request completes 5365 // successfully. 5366 // 5367 // Use "Send" method on the returned Request to send the API call to the service. 5368 // the "output" return value is not valid until after Send returns without error. 5369 // 5370 // See DeleteEndpoint for more information on using the DeleteEndpoint 5371 // API call, and error handling. 5372 // 5373 // This method is useful when you want to inject custom logic or configuration 5374 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 5375 // 5376 // 5377 // // Example sending a request using the DeleteEndpointRequest method. 5378 // req, resp := client.DeleteEndpointRequest(params) 5379 // 5380 // err := req.Send() 5381 // if err == nil { // resp is now filled 5382 // fmt.Println(resp) 5383 // } 5384 // 5385 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpoint 5386 func (c *SageMaker) DeleteEndpointRequest(input *DeleteEndpointInput) (req *request.Request, output *DeleteEndpointOutput) { 5387 op := &request.Operation{ 5388 Name: opDeleteEndpoint, 5389 HTTPMethod: "POST", 5390 HTTPPath: "/", 5391 } 5392 5393 if input == nil { 5394 input = &DeleteEndpointInput{} 5395 } 5396 5397 output = &DeleteEndpointOutput{} 5398 req = c.newRequest(op, input, output) 5399 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 5400 return 5401 } 5402 5403 // DeleteEndpoint API operation for Amazon SageMaker Service. 5404 // 5405 // Deletes an endpoint. Amazon SageMaker frees up all of the resources that 5406 // were deployed when the endpoint was created. 5407 // 5408 // Amazon SageMaker retires any custom KMS key grants associated with the endpoint, 5409 // meaning you don't need to use the RevokeGrant (http://docs.aws.amazon.com/kms/latest/APIReference/API_RevokeGrant.html) 5410 // API call. 5411 // 5412 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 5413 // with awserr.Error's Code and Message methods to get detailed information about 5414 // the error. 5415 // 5416 // See the AWS API reference guide for Amazon SageMaker Service's 5417 // API operation DeleteEndpoint for usage and error information. 5418 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpoint 5419 func (c *SageMaker) DeleteEndpoint(input *DeleteEndpointInput) (*DeleteEndpointOutput, error) { 5420 req, out := c.DeleteEndpointRequest(input) 5421 return out, req.Send() 5422 } 5423 5424 // DeleteEndpointWithContext is the same as DeleteEndpoint with the addition of 5425 // the ability to pass a context and additional request options. 5426 // 5427 // See DeleteEndpoint for details on how to use this API operation. 5428 // 5429 // The context must be non-nil and will be used for request cancellation. If 5430 // the context is nil a panic will occur. In the future the SDK may create 5431 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 5432 // for more information on using Contexts. 5433 func (c *SageMaker) DeleteEndpointWithContext(ctx aws.Context, input *DeleteEndpointInput, opts ...request.Option) (*DeleteEndpointOutput, error) { 5434 req, out := c.DeleteEndpointRequest(input) 5435 req.SetContext(ctx) 5436 req.ApplyOptions(opts...) 5437 return out, req.Send() 5438 } 5439 5440 const opDeleteEndpointConfig = "DeleteEndpointConfig" 5441 5442 // DeleteEndpointConfigRequest generates a "aws/request.Request" representing the 5443 // client's request for the DeleteEndpointConfig operation. The "output" return 5444 // value will be populated with the request's response once the request completes 5445 // successfully. 5446 // 5447 // Use "Send" method on the returned Request to send the API call to the service. 5448 // the "output" return value is not valid until after Send returns without error. 5449 // 5450 // See DeleteEndpointConfig for more information on using the DeleteEndpointConfig 5451 // API call, and error handling. 5452 // 5453 // This method is useful when you want to inject custom logic or configuration 5454 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 5455 // 5456 // 5457 // // Example sending a request using the DeleteEndpointConfigRequest method. 5458 // req, resp := client.DeleteEndpointConfigRequest(params) 5459 // 5460 // err := req.Send() 5461 // if err == nil { // resp is now filled 5462 // fmt.Println(resp) 5463 // } 5464 // 5465 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpointConfig 5466 func (c *SageMaker) DeleteEndpointConfigRequest(input *DeleteEndpointConfigInput) (req *request.Request, output *DeleteEndpointConfigOutput) { 5467 op := &request.Operation{ 5468 Name: opDeleteEndpointConfig, 5469 HTTPMethod: "POST", 5470 HTTPPath: "/", 5471 } 5472 5473 if input == nil { 5474 input = &DeleteEndpointConfigInput{} 5475 } 5476 5477 output = &DeleteEndpointConfigOutput{} 5478 req = c.newRequest(op, input, output) 5479 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 5480 return 5481 } 5482 5483 // DeleteEndpointConfig API operation for Amazon SageMaker Service. 5484 // 5485 // Deletes an endpoint configuration. The DeleteEndpointConfig API deletes only 5486 // the specified configuration. It does not delete endpoints created using the 5487 // configuration. 5488 // 5489 // You must not delete an EndpointConfig in use by an endpoint that is live 5490 // or while the UpdateEndpoint or CreateEndpoint operations are being performed 5491 // on the endpoint. If you delete the EndpointConfig of an endpoint that is 5492 // active or being created or updated you may lose visibility into the instance 5493 // type the endpoint is using. The endpoint must be deleted in order to stop 5494 // incurring charges. 5495 // 5496 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 5497 // with awserr.Error's Code and Message methods to get detailed information about 5498 // the error. 5499 // 5500 // See the AWS API reference guide for Amazon SageMaker Service's 5501 // API operation DeleteEndpointConfig for usage and error information. 5502 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpointConfig 5503 func (c *SageMaker) DeleteEndpointConfig(input *DeleteEndpointConfigInput) (*DeleteEndpointConfigOutput, error) { 5504 req, out := c.DeleteEndpointConfigRequest(input) 5505 return out, req.Send() 5506 } 5507 5508 // DeleteEndpointConfigWithContext is the same as DeleteEndpointConfig with the addition of 5509 // the ability to pass a context and additional request options. 5510 // 5511 // See DeleteEndpointConfig for details on how to use this API operation. 5512 // 5513 // The context must be non-nil and will be used for request cancellation. If 5514 // the context is nil a panic will occur. In the future the SDK may create 5515 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 5516 // for more information on using Contexts. 5517 func (c *SageMaker) DeleteEndpointConfigWithContext(ctx aws.Context, input *DeleteEndpointConfigInput, opts ...request.Option) (*DeleteEndpointConfigOutput, error) { 5518 req, out := c.DeleteEndpointConfigRequest(input) 5519 req.SetContext(ctx) 5520 req.ApplyOptions(opts...) 5521 return out, req.Send() 5522 } 5523 5524 const opDeleteExperiment = "DeleteExperiment" 5525 5526 // DeleteExperimentRequest generates a "aws/request.Request" representing the 5527 // client's request for the DeleteExperiment operation. The "output" return 5528 // value will be populated with the request's response once the request completes 5529 // successfully. 5530 // 5531 // Use "Send" method on the returned Request to send the API call to the service. 5532 // the "output" return value is not valid until after Send returns without error. 5533 // 5534 // See DeleteExperiment for more information on using the DeleteExperiment 5535 // API call, and error handling. 5536 // 5537 // This method is useful when you want to inject custom logic or configuration 5538 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 5539 // 5540 // 5541 // // Example sending a request using the DeleteExperimentRequest method. 5542 // req, resp := client.DeleteExperimentRequest(params) 5543 // 5544 // err := req.Send() 5545 // if err == nil { // resp is now filled 5546 // fmt.Println(resp) 5547 // } 5548 // 5549 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteExperiment 5550 func (c *SageMaker) DeleteExperimentRequest(input *DeleteExperimentInput) (req *request.Request, output *DeleteExperimentOutput) { 5551 op := &request.Operation{ 5552 Name: opDeleteExperiment, 5553 HTTPMethod: "POST", 5554 HTTPPath: "/", 5555 } 5556 5557 if input == nil { 5558 input = &DeleteExperimentInput{} 5559 } 5560 5561 output = &DeleteExperimentOutput{} 5562 req = c.newRequest(op, input, output) 5563 return 5564 } 5565 5566 // DeleteExperiment API operation for Amazon SageMaker Service. 5567 // 5568 // Deletes an SageMaker experiment. All trials associated with the experiment 5569 // must be deleted first. Use the ListTrials API to get a list of the trials 5570 // associated with the experiment. 5571 // 5572 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 5573 // with awserr.Error's Code and Message methods to get detailed information about 5574 // the error. 5575 // 5576 // See the AWS API reference guide for Amazon SageMaker Service's 5577 // API operation DeleteExperiment for usage and error information. 5578 // 5579 // Returned Error Types: 5580 // * ResourceNotFound 5581 // Resource being access is not found. 5582 // 5583 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteExperiment 5584 func (c *SageMaker) DeleteExperiment(input *DeleteExperimentInput) (*DeleteExperimentOutput, error) { 5585 req, out := c.DeleteExperimentRequest(input) 5586 return out, req.Send() 5587 } 5588 5589 // DeleteExperimentWithContext is the same as DeleteExperiment with the addition of 5590 // the ability to pass a context and additional request options. 5591 // 5592 // See DeleteExperiment for details on how to use this API operation. 5593 // 5594 // The context must be non-nil and will be used for request cancellation. If 5595 // the context is nil a panic will occur. In the future the SDK may create 5596 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 5597 // for more information on using Contexts. 5598 func (c *SageMaker) DeleteExperimentWithContext(ctx aws.Context, input *DeleteExperimentInput, opts ...request.Option) (*DeleteExperimentOutput, error) { 5599 req, out := c.DeleteExperimentRequest(input) 5600 req.SetContext(ctx) 5601 req.ApplyOptions(opts...) 5602 return out, req.Send() 5603 } 5604 5605 const opDeleteFeatureGroup = "DeleteFeatureGroup" 5606 5607 // DeleteFeatureGroupRequest generates a "aws/request.Request" representing the 5608 // client's request for the DeleteFeatureGroup operation. The "output" return 5609 // value will be populated with the request's response once the request completes 5610 // successfully. 5611 // 5612 // Use "Send" method on the returned Request to send the API call to the service. 5613 // the "output" return value is not valid until after Send returns without error. 5614 // 5615 // See DeleteFeatureGroup for more information on using the DeleteFeatureGroup 5616 // API call, and error handling. 5617 // 5618 // This method is useful when you want to inject custom logic or configuration 5619 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 5620 // 5621 // 5622 // // Example sending a request using the DeleteFeatureGroupRequest method. 5623 // req, resp := client.DeleteFeatureGroupRequest(params) 5624 // 5625 // err := req.Send() 5626 // if err == nil { // resp is now filled 5627 // fmt.Println(resp) 5628 // } 5629 // 5630 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteFeatureGroup 5631 func (c *SageMaker) DeleteFeatureGroupRequest(input *DeleteFeatureGroupInput) (req *request.Request, output *DeleteFeatureGroupOutput) { 5632 op := &request.Operation{ 5633 Name: opDeleteFeatureGroup, 5634 HTTPMethod: "POST", 5635 HTTPPath: "/", 5636 } 5637 5638 if input == nil { 5639 input = &DeleteFeatureGroupInput{} 5640 } 5641 5642 output = &DeleteFeatureGroupOutput{} 5643 req = c.newRequest(op, input, output) 5644 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 5645 return 5646 } 5647 5648 // DeleteFeatureGroup API operation for Amazon SageMaker Service. 5649 // 5650 // Delete the FeatureGroup and any data that was written to the OnlineStore 5651 // of the FeatureGroup. Data cannot be accessed from the OnlineStore immediately 5652 // after DeleteFeatureGroup is called. 5653 // 5654 // Data written into the OfflineStore will not be deleted. The Amazon Web Services 5655 // Glue database and tables that are automatically created for your OfflineStore 5656 // are not deleted. 5657 // 5658 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 5659 // with awserr.Error's Code and Message methods to get detailed information about 5660 // the error. 5661 // 5662 // See the AWS API reference guide for Amazon SageMaker Service's 5663 // API operation DeleteFeatureGroup for usage and error information. 5664 // 5665 // Returned Error Types: 5666 // * ResourceNotFound 5667 // Resource being access is not found. 5668 // 5669 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteFeatureGroup 5670 func (c *SageMaker) DeleteFeatureGroup(input *DeleteFeatureGroupInput) (*DeleteFeatureGroupOutput, error) { 5671 req, out := c.DeleteFeatureGroupRequest(input) 5672 return out, req.Send() 5673 } 5674 5675 // DeleteFeatureGroupWithContext is the same as DeleteFeatureGroup with the addition of 5676 // the ability to pass a context and additional request options. 5677 // 5678 // See DeleteFeatureGroup for details on how to use this API operation. 5679 // 5680 // The context must be non-nil and will be used for request cancellation. If 5681 // the context is nil a panic will occur. In the future the SDK may create 5682 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 5683 // for more information on using Contexts. 5684 func (c *SageMaker) DeleteFeatureGroupWithContext(ctx aws.Context, input *DeleteFeatureGroupInput, opts ...request.Option) (*DeleteFeatureGroupOutput, error) { 5685 req, out := c.DeleteFeatureGroupRequest(input) 5686 req.SetContext(ctx) 5687 req.ApplyOptions(opts...) 5688 return out, req.Send() 5689 } 5690 5691 const opDeleteFlowDefinition = "DeleteFlowDefinition" 5692 5693 // DeleteFlowDefinitionRequest generates a "aws/request.Request" representing the 5694 // client's request for the DeleteFlowDefinition operation. The "output" return 5695 // value will be populated with the request's response once the request completes 5696 // successfully. 5697 // 5698 // Use "Send" method on the returned Request to send the API call to the service. 5699 // the "output" return value is not valid until after Send returns without error. 5700 // 5701 // See DeleteFlowDefinition for more information on using the DeleteFlowDefinition 5702 // API call, and error handling. 5703 // 5704 // This method is useful when you want to inject custom logic or configuration 5705 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 5706 // 5707 // 5708 // // Example sending a request using the DeleteFlowDefinitionRequest method. 5709 // req, resp := client.DeleteFlowDefinitionRequest(params) 5710 // 5711 // err := req.Send() 5712 // if err == nil { // resp is now filled 5713 // fmt.Println(resp) 5714 // } 5715 // 5716 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteFlowDefinition 5717 func (c *SageMaker) DeleteFlowDefinitionRequest(input *DeleteFlowDefinitionInput) (req *request.Request, output *DeleteFlowDefinitionOutput) { 5718 op := &request.Operation{ 5719 Name: opDeleteFlowDefinition, 5720 HTTPMethod: "POST", 5721 HTTPPath: "/", 5722 } 5723 5724 if input == nil { 5725 input = &DeleteFlowDefinitionInput{} 5726 } 5727 5728 output = &DeleteFlowDefinitionOutput{} 5729 req = c.newRequest(op, input, output) 5730 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 5731 return 5732 } 5733 5734 // DeleteFlowDefinition API operation for Amazon SageMaker Service. 5735 // 5736 // Deletes the specified flow definition. 5737 // 5738 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 5739 // with awserr.Error's Code and Message methods to get detailed information about 5740 // the error. 5741 // 5742 // See the AWS API reference guide for Amazon SageMaker Service's 5743 // API operation DeleteFlowDefinition for usage and error information. 5744 // 5745 // Returned Error Types: 5746 // * ResourceInUse 5747 // Resource being accessed is in use. 5748 // 5749 // * ResourceNotFound 5750 // Resource being access is not found. 5751 // 5752 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteFlowDefinition 5753 func (c *SageMaker) DeleteFlowDefinition(input *DeleteFlowDefinitionInput) (*DeleteFlowDefinitionOutput, error) { 5754 req, out := c.DeleteFlowDefinitionRequest(input) 5755 return out, req.Send() 5756 } 5757 5758 // DeleteFlowDefinitionWithContext is the same as DeleteFlowDefinition with the addition of 5759 // the ability to pass a context and additional request options. 5760 // 5761 // See DeleteFlowDefinition for details on how to use this API operation. 5762 // 5763 // The context must be non-nil and will be used for request cancellation. If 5764 // the context is nil a panic will occur. In the future the SDK may create 5765 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 5766 // for more information on using Contexts. 5767 func (c *SageMaker) DeleteFlowDefinitionWithContext(ctx aws.Context, input *DeleteFlowDefinitionInput, opts ...request.Option) (*DeleteFlowDefinitionOutput, error) { 5768 req, out := c.DeleteFlowDefinitionRequest(input) 5769 req.SetContext(ctx) 5770 req.ApplyOptions(opts...) 5771 return out, req.Send() 5772 } 5773 5774 const opDeleteHumanTaskUi = "DeleteHumanTaskUi" 5775 5776 // DeleteHumanTaskUiRequest generates a "aws/request.Request" representing the 5777 // client's request for the DeleteHumanTaskUi operation. The "output" return 5778 // value will be populated with the request's response once the request completes 5779 // successfully. 5780 // 5781 // Use "Send" method on the returned Request to send the API call to the service. 5782 // the "output" return value is not valid until after Send returns without error. 5783 // 5784 // See DeleteHumanTaskUi for more information on using the DeleteHumanTaskUi 5785 // API call, and error handling. 5786 // 5787 // This method is useful when you want to inject custom logic or configuration 5788 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 5789 // 5790 // 5791 // // Example sending a request using the DeleteHumanTaskUiRequest method. 5792 // req, resp := client.DeleteHumanTaskUiRequest(params) 5793 // 5794 // err := req.Send() 5795 // if err == nil { // resp is now filled 5796 // fmt.Println(resp) 5797 // } 5798 // 5799 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteHumanTaskUi 5800 func (c *SageMaker) DeleteHumanTaskUiRequest(input *DeleteHumanTaskUiInput) (req *request.Request, output *DeleteHumanTaskUiOutput) { 5801 op := &request.Operation{ 5802 Name: opDeleteHumanTaskUi, 5803 HTTPMethod: "POST", 5804 HTTPPath: "/", 5805 } 5806 5807 if input == nil { 5808 input = &DeleteHumanTaskUiInput{} 5809 } 5810 5811 output = &DeleteHumanTaskUiOutput{} 5812 req = c.newRequest(op, input, output) 5813 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 5814 return 5815 } 5816 5817 // DeleteHumanTaskUi API operation for Amazon SageMaker Service. 5818 // 5819 // Use this operation to delete a human task user interface (worker task template). 5820 // 5821 // To see a list of human task user interfaces (work task templates) in your 5822 // account, use . When you delete a worker task template, it no longer appears 5823 // when you call ListHumanTaskUis. 5824 // 5825 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 5826 // with awserr.Error's Code and Message methods to get detailed information about 5827 // the error. 5828 // 5829 // See the AWS API reference guide for Amazon SageMaker Service's 5830 // API operation DeleteHumanTaskUi for usage and error information. 5831 // 5832 // Returned Error Types: 5833 // * ResourceNotFound 5834 // Resource being access is not found. 5835 // 5836 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteHumanTaskUi 5837 func (c *SageMaker) DeleteHumanTaskUi(input *DeleteHumanTaskUiInput) (*DeleteHumanTaskUiOutput, error) { 5838 req, out := c.DeleteHumanTaskUiRequest(input) 5839 return out, req.Send() 5840 } 5841 5842 // DeleteHumanTaskUiWithContext is the same as DeleteHumanTaskUi with the addition of 5843 // the ability to pass a context and additional request options. 5844 // 5845 // See DeleteHumanTaskUi for details on how to use this API operation. 5846 // 5847 // The context must be non-nil and will be used for request cancellation. If 5848 // the context is nil a panic will occur. In the future the SDK may create 5849 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 5850 // for more information on using Contexts. 5851 func (c *SageMaker) DeleteHumanTaskUiWithContext(ctx aws.Context, input *DeleteHumanTaskUiInput, opts ...request.Option) (*DeleteHumanTaskUiOutput, error) { 5852 req, out := c.DeleteHumanTaskUiRequest(input) 5853 req.SetContext(ctx) 5854 req.ApplyOptions(opts...) 5855 return out, req.Send() 5856 } 5857 5858 const opDeleteImage = "DeleteImage" 5859 5860 // DeleteImageRequest generates a "aws/request.Request" representing the 5861 // client's request for the DeleteImage operation. The "output" return 5862 // value will be populated with the request's response once the request completes 5863 // successfully. 5864 // 5865 // Use "Send" method on the returned Request to send the API call to the service. 5866 // the "output" return value is not valid until after Send returns without error. 5867 // 5868 // See DeleteImage for more information on using the DeleteImage 5869 // API call, and error handling. 5870 // 5871 // This method is useful when you want to inject custom logic or configuration 5872 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 5873 // 5874 // 5875 // // Example sending a request using the DeleteImageRequest method. 5876 // req, resp := client.DeleteImageRequest(params) 5877 // 5878 // err := req.Send() 5879 // if err == nil { // resp is now filled 5880 // fmt.Println(resp) 5881 // } 5882 // 5883 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteImage 5884 func (c *SageMaker) DeleteImageRequest(input *DeleteImageInput) (req *request.Request, output *DeleteImageOutput) { 5885 op := &request.Operation{ 5886 Name: opDeleteImage, 5887 HTTPMethod: "POST", 5888 HTTPPath: "/", 5889 } 5890 5891 if input == nil { 5892 input = &DeleteImageInput{} 5893 } 5894 5895 output = &DeleteImageOutput{} 5896 req = c.newRequest(op, input, output) 5897 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 5898 return 5899 } 5900 5901 // DeleteImage API operation for Amazon SageMaker Service. 5902 // 5903 // Deletes a SageMaker image and all versions of the image. The container images 5904 // aren't deleted. 5905 // 5906 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 5907 // with awserr.Error's Code and Message methods to get detailed information about 5908 // the error. 5909 // 5910 // See the AWS API reference guide for Amazon SageMaker Service's 5911 // API operation DeleteImage for usage and error information. 5912 // 5913 // Returned Error Types: 5914 // * ResourceInUse 5915 // Resource being accessed is in use. 5916 // 5917 // * ResourceNotFound 5918 // Resource being access is not found. 5919 // 5920 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteImage 5921 func (c *SageMaker) DeleteImage(input *DeleteImageInput) (*DeleteImageOutput, error) { 5922 req, out := c.DeleteImageRequest(input) 5923 return out, req.Send() 5924 } 5925 5926 // DeleteImageWithContext is the same as DeleteImage with the addition of 5927 // the ability to pass a context and additional request options. 5928 // 5929 // See DeleteImage for details on how to use this API operation. 5930 // 5931 // The context must be non-nil and will be used for request cancellation. If 5932 // the context is nil a panic will occur. In the future the SDK may create 5933 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 5934 // for more information on using Contexts. 5935 func (c *SageMaker) DeleteImageWithContext(ctx aws.Context, input *DeleteImageInput, opts ...request.Option) (*DeleteImageOutput, error) { 5936 req, out := c.DeleteImageRequest(input) 5937 req.SetContext(ctx) 5938 req.ApplyOptions(opts...) 5939 return out, req.Send() 5940 } 5941 5942 const opDeleteImageVersion = "DeleteImageVersion" 5943 5944 // DeleteImageVersionRequest generates a "aws/request.Request" representing the 5945 // client's request for the DeleteImageVersion operation. The "output" return 5946 // value will be populated with the request's response once the request completes 5947 // successfully. 5948 // 5949 // Use "Send" method on the returned Request to send the API call to the service. 5950 // the "output" return value is not valid until after Send returns without error. 5951 // 5952 // See DeleteImageVersion for more information on using the DeleteImageVersion 5953 // API call, and error handling. 5954 // 5955 // This method is useful when you want to inject custom logic or configuration 5956 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 5957 // 5958 // 5959 // // Example sending a request using the DeleteImageVersionRequest method. 5960 // req, resp := client.DeleteImageVersionRequest(params) 5961 // 5962 // err := req.Send() 5963 // if err == nil { // resp is now filled 5964 // fmt.Println(resp) 5965 // } 5966 // 5967 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteImageVersion 5968 func (c *SageMaker) DeleteImageVersionRequest(input *DeleteImageVersionInput) (req *request.Request, output *DeleteImageVersionOutput) { 5969 op := &request.Operation{ 5970 Name: opDeleteImageVersion, 5971 HTTPMethod: "POST", 5972 HTTPPath: "/", 5973 } 5974 5975 if input == nil { 5976 input = &DeleteImageVersionInput{} 5977 } 5978 5979 output = &DeleteImageVersionOutput{} 5980 req = c.newRequest(op, input, output) 5981 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 5982 return 5983 } 5984 5985 // DeleteImageVersion API operation for Amazon SageMaker Service. 5986 // 5987 // Deletes a version of a SageMaker image. The container image the version represents 5988 // isn't deleted. 5989 // 5990 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 5991 // with awserr.Error's Code and Message methods to get detailed information about 5992 // the error. 5993 // 5994 // See the AWS API reference guide for Amazon SageMaker Service's 5995 // API operation DeleteImageVersion for usage and error information. 5996 // 5997 // Returned Error Types: 5998 // * ResourceInUse 5999 // Resource being accessed is in use. 6000 // 6001 // * ResourceNotFound 6002 // Resource being access is not found. 6003 // 6004 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteImageVersion 6005 func (c *SageMaker) DeleteImageVersion(input *DeleteImageVersionInput) (*DeleteImageVersionOutput, error) { 6006 req, out := c.DeleteImageVersionRequest(input) 6007 return out, req.Send() 6008 } 6009 6010 // DeleteImageVersionWithContext is the same as DeleteImageVersion with the addition of 6011 // the ability to pass a context and additional request options. 6012 // 6013 // See DeleteImageVersion for details on how to use this API operation. 6014 // 6015 // The context must be non-nil and will be used for request cancellation. If 6016 // the context is nil a panic will occur. In the future the SDK may create 6017 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 6018 // for more information on using Contexts. 6019 func (c *SageMaker) DeleteImageVersionWithContext(ctx aws.Context, input *DeleteImageVersionInput, opts ...request.Option) (*DeleteImageVersionOutput, error) { 6020 req, out := c.DeleteImageVersionRequest(input) 6021 req.SetContext(ctx) 6022 req.ApplyOptions(opts...) 6023 return out, req.Send() 6024 } 6025 6026 const opDeleteModel = "DeleteModel" 6027 6028 // DeleteModelRequest generates a "aws/request.Request" representing the 6029 // client's request for the DeleteModel operation. The "output" return 6030 // value will be populated with the request's response once the request completes 6031 // successfully. 6032 // 6033 // Use "Send" method on the returned Request to send the API call to the service. 6034 // the "output" return value is not valid until after Send returns without error. 6035 // 6036 // See DeleteModel for more information on using the DeleteModel 6037 // API call, and error handling. 6038 // 6039 // This method is useful when you want to inject custom logic or configuration 6040 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 6041 // 6042 // 6043 // // Example sending a request using the DeleteModelRequest method. 6044 // req, resp := client.DeleteModelRequest(params) 6045 // 6046 // err := req.Send() 6047 // if err == nil { // resp is now filled 6048 // fmt.Println(resp) 6049 // } 6050 // 6051 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModel 6052 func (c *SageMaker) DeleteModelRequest(input *DeleteModelInput) (req *request.Request, output *DeleteModelOutput) { 6053 op := &request.Operation{ 6054 Name: opDeleteModel, 6055 HTTPMethod: "POST", 6056 HTTPPath: "/", 6057 } 6058 6059 if input == nil { 6060 input = &DeleteModelInput{} 6061 } 6062 6063 output = &DeleteModelOutput{} 6064 req = c.newRequest(op, input, output) 6065 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 6066 return 6067 } 6068 6069 // DeleteModel API operation for Amazon SageMaker Service. 6070 // 6071 // Deletes a model. The DeleteModel API deletes only the model entry that was 6072 // created in Amazon SageMaker when you called the CreateModel API. It does 6073 // not delete model artifacts, inference code, or the IAM role that you specified 6074 // when creating the model. 6075 // 6076 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 6077 // with awserr.Error's Code and Message methods to get detailed information about 6078 // the error. 6079 // 6080 // See the AWS API reference guide for Amazon SageMaker Service's 6081 // API operation DeleteModel for usage and error information. 6082 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModel 6083 func (c *SageMaker) DeleteModel(input *DeleteModelInput) (*DeleteModelOutput, error) { 6084 req, out := c.DeleteModelRequest(input) 6085 return out, req.Send() 6086 } 6087 6088 // DeleteModelWithContext is the same as DeleteModel with the addition of 6089 // the ability to pass a context and additional request options. 6090 // 6091 // See DeleteModel for details on how to use this API operation. 6092 // 6093 // The context must be non-nil and will be used for request cancellation. If 6094 // the context is nil a panic will occur. In the future the SDK may create 6095 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 6096 // for more information on using Contexts. 6097 func (c *SageMaker) DeleteModelWithContext(ctx aws.Context, input *DeleteModelInput, opts ...request.Option) (*DeleteModelOutput, error) { 6098 req, out := c.DeleteModelRequest(input) 6099 req.SetContext(ctx) 6100 req.ApplyOptions(opts...) 6101 return out, req.Send() 6102 } 6103 6104 const opDeleteModelBiasJobDefinition = "DeleteModelBiasJobDefinition" 6105 6106 // DeleteModelBiasJobDefinitionRequest generates a "aws/request.Request" representing the 6107 // client's request for the DeleteModelBiasJobDefinition operation. The "output" return 6108 // value will be populated with the request's response once the request completes 6109 // successfully. 6110 // 6111 // Use "Send" method on the returned Request to send the API call to the service. 6112 // the "output" return value is not valid until after Send returns without error. 6113 // 6114 // See DeleteModelBiasJobDefinition for more information on using the DeleteModelBiasJobDefinition 6115 // API call, and error handling. 6116 // 6117 // This method is useful when you want to inject custom logic or configuration 6118 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 6119 // 6120 // 6121 // // Example sending a request using the DeleteModelBiasJobDefinitionRequest method. 6122 // req, resp := client.DeleteModelBiasJobDefinitionRequest(params) 6123 // 6124 // err := req.Send() 6125 // if err == nil { // resp is now filled 6126 // fmt.Println(resp) 6127 // } 6128 // 6129 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelBiasJobDefinition 6130 func (c *SageMaker) DeleteModelBiasJobDefinitionRequest(input *DeleteModelBiasJobDefinitionInput) (req *request.Request, output *DeleteModelBiasJobDefinitionOutput) { 6131 op := &request.Operation{ 6132 Name: opDeleteModelBiasJobDefinition, 6133 HTTPMethod: "POST", 6134 HTTPPath: "/", 6135 } 6136 6137 if input == nil { 6138 input = &DeleteModelBiasJobDefinitionInput{} 6139 } 6140 6141 output = &DeleteModelBiasJobDefinitionOutput{} 6142 req = c.newRequest(op, input, output) 6143 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 6144 return 6145 } 6146 6147 // DeleteModelBiasJobDefinition API operation for Amazon SageMaker Service. 6148 // 6149 // Deletes an Amazon SageMaker model bias job definition. 6150 // 6151 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 6152 // with awserr.Error's Code and Message methods to get detailed information about 6153 // the error. 6154 // 6155 // See the AWS API reference guide for Amazon SageMaker Service's 6156 // API operation DeleteModelBiasJobDefinition for usage and error information. 6157 // 6158 // Returned Error Types: 6159 // * ResourceNotFound 6160 // Resource being access is not found. 6161 // 6162 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelBiasJobDefinition 6163 func (c *SageMaker) DeleteModelBiasJobDefinition(input *DeleteModelBiasJobDefinitionInput) (*DeleteModelBiasJobDefinitionOutput, error) { 6164 req, out := c.DeleteModelBiasJobDefinitionRequest(input) 6165 return out, req.Send() 6166 } 6167 6168 // DeleteModelBiasJobDefinitionWithContext is the same as DeleteModelBiasJobDefinition with the addition of 6169 // the ability to pass a context and additional request options. 6170 // 6171 // See DeleteModelBiasJobDefinition for details on how to use this API operation. 6172 // 6173 // The context must be non-nil and will be used for request cancellation. If 6174 // the context is nil a panic will occur. In the future the SDK may create 6175 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 6176 // for more information on using Contexts. 6177 func (c *SageMaker) DeleteModelBiasJobDefinitionWithContext(ctx aws.Context, input *DeleteModelBiasJobDefinitionInput, opts ...request.Option) (*DeleteModelBiasJobDefinitionOutput, error) { 6178 req, out := c.DeleteModelBiasJobDefinitionRequest(input) 6179 req.SetContext(ctx) 6180 req.ApplyOptions(opts...) 6181 return out, req.Send() 6182 } 6183 6184 const opDeleteModelExplainabilityJobDefinition = "DeleteModelExplainabilityJobDefinition" 6185 6186 // DeleteModelExplainabilityJobDefinitionRequest generates a "aws/request.Request" representing the 6187 // client's request for the DeleteModelExplainabilityJobDefinition operation. The "output" return 6188 // value will be populated with the request's response once the request completes 6189 // successfully. 6190 // 6191 // Use "Send" method on the returned Request to send the API call to the service. 6192 // the "output" return value is not valid until after Send returns without error. 6193 // 6194 // See DeleteModelExplainabilityJobDefinition for more information on using the DeleteModelExplainabilityJobDefinition 6195 // API call, and error handling. 6196 // 6197 // This method is useful when you want to inject custom logic or configuration 6198 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 6199 // 6200 // 6201 // // Example sending a request using the DeleteModelExplainabilityJobDefinitionRequest method. 6202 // req, resp := client.DeleteModelExplainabilityJobDefinitionRequest(params) 6203 // 6204 // err := req.Send() 6205 // if err == nil { // resp is now filled 6206 // fmt.Println(resp) 6207 // } 6208 // 6209 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelExplainabilityJobDefinition 6210 func (c *SageMaker) DeleteModelExplainabilityJobDefinitionRequest(input *DeleteModelExplainabilityJobDefinitionInput) (req *request.Request, output *DeleteModelExplainabilityJobDefinitionOutput) { 6211 op := &request.Operation{ 6212 Name: opDeleteModelExplainabilityJobDefinition, 6213 HTTPMethod: "POST", 6214 HTTPPath: "/", 6215 } 6216 6217 if input == nil { 6218 input = &DeleteModelExplainabilityJobDefinitionInput{} 6219 } 6220 6221 output = &DeleteModelExplainabilityJobDefinitionOutput{} 6222 req = c.newRequest(op, input, output) 6223 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 6224 return 6225 } 6226 6227 // DeleteModelExplainabilityJobDefinition API operation for Amazon SageMaker Service. 6228 // 6229 // Deletes an Amazon SageMaker model explainability job definition. 6230 // 6231 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 6232 // with awserr.Error's Code and Message methods to get detailed information about 6233 // the error. 6234 // 6235 // See the AWS API reference guide for Amazon SageMaker Service's 6236 // API operation DeleteModelExplainabilityJobDefinition for usage and error information. 6237 // 6238 // Returned Error Types: 6239 // * ResourceNotFound 6240 // Resource being access is not found. 6241 // 6242 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelExplainabilityJobDefinition 6243 func (c *SageMaker) DeleteModelExplainabilityJobDefinition(input *DeleteModelExplainabilityJobDefinitionInput) (*DeleteModelExplainabilityJobDefinitionOutput, error) { 6244 req, out := c.DeleteModelExplainabilityJobDefinitionRequest(input) 6245 return out, req.Send() 6246 } 6247 6248 // DeleteModelExplainabilityJobDefinitionWithContext is the same as DeleteModelExplainabilityJobDefinition with the addition of 6249 // the ability to pass a context and additional request options. 6250 // 6251 // See DeleteModelExplainabilityJobDefinition for details on how to use this API operation. 6252 // 6253 // The context must be non-nil and will be used for request cancellation. If 6254 // the context is nil a panic will occur. In the future the SDK may create 6255 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 6256 // for more information on using Contexts. 6257 func (c *SageMaker) DeleteModelExplainabilityJobDefinitionWithContext(ctx aws.Context, input *DeleteModelExplainabilityJobDefinitionInput, opts ...request.Option) (*DeleteModelExplainabilityJobDefinitionOutput, error) { 6258 req, out := c.DeleteModelExplainabilityJobDefinitionRequest(input) 6259 req.SetContext(ctx) 6260 req.ApplyOptions(opts...) 6261 return out, req.Send() 6262 } 6263 6264 const opDeleteModelPackage = "DeleteModelPackage" 6265 6266 // DeleteModelPackageRequest generates a "aws/request.Request" representing the 6267 // client's request for the DeleteModelPackage operation. The "output" return 6268 // value will be populated with the request's response once the request completes 6269 // successfully. 6270 // 6271 // Use "Send" method on the returned Request to send the API call to the service. 6272 // the "output" return value is not valid until after Send returns without error. 6273 // 6274 // See DeleteModelPackage for more information on using the DeleteModelPackage 6275 // API call, and error handling. 6276 // 6277 // This method is useful when you want to inject custom logic or configuration 6278 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 6279 // 6280 // 6281 // // Example sending a request using the DeleteModelPackageRequest method. 6282 // req, resp := client.DeleteModelPackageRequest(params) 6283 // 6284 // err := req.Send() 6285 // if err == nil { // resp is now filled 6286 // fmt.Println(resp) 6287 // } 6288 // 6289 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelPackage 6290 func (c *SageMaker) DeleteModelPackageRequest(input *DeleteModelPackageInput) (req *request.Request, output *DeleteModelPackageOutput) { 6291 op := &request.Operation{ 6292 Name: opDeleteModelPackage, 6293 HTTPMethod: "POST", 6294 HTTPPath: "/", 6295 } 6296 6297 if input == nil { 6298 input = &DeleteModelPackageInput{} 6299 } 6300 6301 output = &DeleteModelPackageOutput{} 6302 req = c.newRequest(op, input, output) 6303 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 6304 return 6305 } 6306 6307 // DeleteModelPackage API operation for Amazon SageMaker Service. 6308 // 6309 // Deletes a model package. 6310 // 6311 // A model package is used to create Amazon SageMaker models or list on Amazon 6312 // Web Services Marketplace. Buyers can subscribe to model packages listed on 6313 // Amazon Web Services Marketplace to create models in Amazon SageMaker. 6314 // 6315 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 6316 // with awserr.Error's Code and Message methods to get detailed information about 6317 // the error. 6318 // 6319 // See the AWS API reference guide for Amazon SageMaker Service's 6320 // API operation DeleteModelPackage for usage and error information. 6321 // 6322 // Returned Error Types: 6323 // * ConflictException 6324 // There was a conflict when you attempted to modify a SageMaker entity such 6325 // as an Experiment or Artifact. 6326 // 6327 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelPackage 6328 func (c *SageMaker) DeleteModelPackage(input *DeleteModelPackageInput) (*DeleteModelPackageOutput, error) { 6329 req, out := c.DeleteModelPackageRequest(input) 6330 return out, req.Send() 6331 } 6332 6333 // DeleteModelPackageWithContext is the same as DeleteModelPackage with the addition of 6334 // the ability to pass a context and additional request options. 6335 // 6336 // See DeleteModelPackage for details on how to use this API operation. 6337 // 6338 // The context must be non-nil and will be used for request cancellation. If 6339 // the context is nil a panic will occur. In the future the SDK may create 6340 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 6341 // for more information on using Contexts. 6342 func (c *SageMaker) DeleteModelPackageWithContext(ctx aws.Context, input *DeleteModelPackageInput, opts ...request.Option) (*DeleteModelPackageOutput, error) { 6343 req, out := c.DeleteModelPackageRequest(input) 6344 req.SetContext(ctx) 6345 req.ApplyOptions(opts...) 6346 return out, req.Send() 6347 } 6348 6349 const opDeleteModelPackageGroup = "DeleteModelPackageGroup" 6350 6351 // DeleteModelPackageGroupRequest generates a "aws/request.Request" representing the 6352 // client's request for the DeleteModelPackageGroup operation. The "output" return 6353 // value will be populated with the request's response once the request completes 6354 // successfully. 6355 // 6356 // Use "Send" method on the returned Request to send the API call to the service. 6357 // the "output" return value is not valid until after Send returns without error. 6358 // 6359 // See DeleteModelPackageGroup for more information on using the DeleteModelPackageGroup 6360 // API call, and error handling. 6361 // 6362 // This method is useful when you want to inject custom logic or configuration 6363 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 6364 // 6365 // 6366 // // Example sending a request using the DeleteModelPackageGroupRequest method. 6367 // req, resp := client.DeleteModelPackageGroupRequest(params) 6368 // 6369 // err := req.Send() 6370 // if err == nil { // resp is now filled 6371 // fmt.Println(resp) 6372 // } 6373 // 6374 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelPackageGroup 6375 func (c *SageMaker) DeleteModelPackageGroupRequest(input *DeleteModelPackageGroupInput) (req *request.Request, output *DeleteModelPackageGroupOutput) { 6376 op := &request.Operation{ 6377 Name: opDeleteModelPackageGroup, 6378 HTTPMethod: "POST", 6379 HTTPPath: "/", 6380 } 6381 6382 if input == nil { 6383 input = &DeleteModelPackageGroupInput{} 6384 } 6385 6386 output = &DeleteModelPackageGroupOutput{} 6387 req = c.newRequest(op, input, output) 6388 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 6389 return 6390 } 6391 6392 // DeleteModelPackageGroup API operation for Amazon SageMaker Service. 6393 // 6394 // Deletes the specified model group. 6395 // 6396 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 6397 // with awserr.Error's Code and Message methods to get detailed information about 6398 // the error. 6399 // 6400 // See the AWS API reference guide for Amazon SageMaker Service's 6401 // API operation DeleteModelPackageGroup for usage and error information. 6402 // 6403 // Returned Error Types: 6404 // * ConflictException 6405 // There was a conflict when you attempted to modify a SageMaker entity such 6406 // as an Experiment or Artifact. 6407 // 6408 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelPackageGroup 6409 func (c *SageMaker) DeleteModelPackageGroup(input *DeleteModelPackageGroupInput) (*DeleteModelPackageGroupOutput, error) { 6410 req, out := c.DeleteModelPackageGroupRequest(input) 6411 return out, req.Send() 6412 } 6413 6414 // DeleteModelPackageGroupWithContext is the same as DeleteModelPackageGroup with the addition of 6415 // the ability to pass a context and additional request options. 6416 // 6417 // See DeleteModelPackageGroup for details on how to use this API operation. 6418 // 6419 // The context must be non-nil and will be used for request cancellation. If 6420 // the context is nil a panic will occur. In the future the SDK may create 6421 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 6422 // for more information on using Contexts. 6423 func (c *SageMaker) DeleteModelPackageGroupWithContext(ctx aws.Context, input *DeleteModelPackageGroupInput, opts ...request.Option) (*DeleteModelPackageGroupOutput, error) { 6424 req, out := c.DeleteModelPackageGroupRequest(input) 6425 req.SetContext(ctx) 6426 req.ApplyOptions(opts...) 6427 return out, req.Send() 6428 } 6429 6430 const opDeleteModelPackageGroupPolicy = "DeleteModelPackageGroupPolicy" 6431 6432 // DeleteModelPackageGroupPolicyRequest generates a "aws/request.Request" representing the 6433 // client's request for the DeleteModelPackageGroupPolicy operation. The "output" return 6434 // value will be populated with the request's response once the request completes 6435 // successfully. 6436 // 6437 // Use "Send" method on the returned Request to send the API call to the service. 6438 // the "output" return value is not valid until after Send returns without error. 6439 // 6440 // See DeleteModelPackageGroupPolicy for more information on using the DeleteModelPackageGroupPolicy 6441 // API call, and error handling. 6442 // 6443 // This method is useful when you want to inject custom logic or configuration 6444 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 6445 // 6446 // 6447 // // Example sending a request using the DeleteModelPackageGroupPolicyRequest method. 6448 // req, resp := client.DeleteModelPackageGroupPolicyRequest(params) 6449 // 6450 // err := req.Send() 6451 // if err == nil { // resp is now filled 6452 // fmt.Println(resp) 6453 // } 6454 // 6455 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelPackageGroupPolicy 6456 func (c *SageMaker) DeleteModelPackageGroupPolicyRequest(input *DeleteModelPackageGroupPolicyInput) (req *request.Request, output *DeleteModelPackageGroupPolicyOutput) { 6457 op := &request.Operation{ 6458 Name: opDeleteModelPackageGroupPolicy, 6459 HTTPMethod: "POST", 6460 HTTPPath: "/", 6461 } 6462 6463 if input == nil { 6464 input = &DeleteModelPackageGroupPolicyInput{} 6465 } 6466 6467 output = &DeleteModelPackageGroupPolicyOutput{} 6468 req = c.newRequest(op, input, output) 6469 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 6470 return 6471 } 6472 6473 // DeleteModelPackageGroupPolicy API operation for Amazon SageMaker Service. 6474 // 6475 // Deletes a model group resource policy. 6476 // 6477 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 6478 // with awserr.Error's Code and Message methods to get detailed information about 6479 // the error. 6480 // 6481 // See the AWS API reference guide for Amazon SageMaker Service's 6482 // API operation DeleteModelPackageGroupPolicy for usage and error information. 6483 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelPackageGroupPolicy 6484 func (c *SageMaker) DeleteModelPackageGroupPolicy(input *DeleteModelPackageGroupPolicyInput) (*DeleteModelPackageGroupPolicyOutput, error) { 6485 req, out := c.DeleteModelPackageGroupPolicyRequest(input) 6486 return out, req.Send() 6487 } 6488 6489 // DeleteModelPackageGroupPolicyWithContext is the same as DeleteModelPackageGroupPolicy with the addition of 6490 // the ability to pass a context and additional request options. 6491 // 6492 // See DeleteModelPackageGroupPolicy 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. 6498 func (c *SageMaker) DeleteModelPackageGroupPolicyWithContext(ctx aws.Context, input *DeleteModelPackageGroupPolicyInput, opts ...request.Option) (*DeleteModelPackageGroupPolicyOutput, error) { 6499 req, out := c.DeleteModelPackageGroupPolicyRequest(input) 6500 req.SetContext(ctx) 6501 req.ApplyOptions(opts...) 6502 return out, req.Send() 6503 } 6504 6505 const opDeleteModelQualityJobDefinition = "DeleteModelQualityJobDefinition" 6506 6507 // DeleteModelQualityJobDefinitionRequest generates a "aws/request.Request" representing the 6508 // client's request for the DeleteModelQualityJobDefinition 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 DeleteModelQualityJobDefinition for more information on using the DeleteModelQualityJobDefinition 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 DeleteModelQualityJobDefinitionRequest method. 6523 // req, resp := client.DeleteModelQualityJobDefinitionRequest(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/DeleteModelQualityJobDefinition 6531 func (c *SageMaker) DeleteModelQualityJobDefinitionRequest(input *DeleteModelQualityJobDefinitionInput) (req *request.Request, output *DeleteModelQualityJobDefinitionOutput) { 6532 op := &request.Operation{ 6533 Name: opDeleteModelQualityJobDefinition, 6534 HTTPMethod: "POST", 6535 HTTPPath: "/", 6536 } 6537 6538 if input == nil { 6539 input = &DeleteModelQualityJobDefinitionInput{} 6540 } 6541 6542 output = &DeleteModelQualityJobDefinitionOutput{} 6543 req = c.newRequest(op, input, output) 6544 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 6545 return 6546 } 6547 6548 // DeleteModelQualityJobDefinition API operation for Amazon SageMaker Service. 6549 // 6550 // Deletes the secified model quality monitoring job definition. 6551 // 6552 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 6553 // with awserr.Error's Code and Message methods to get detailed information about 6554 // the error. 6555 // 6556 // See the AWS API reference guide for Amazon SageMaker Service's 6557 // API operation DeleteModelQualityJobDefinition for usage and error information. 6558 // 6559 // Returned Error Types: 6560 // * ResourceNotFound 6561 // Resource being access is not found. 6562 // 6563 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelQualityJobDefinition 6564 func (c *SageMaker) DeleteModelQualityJobDefinition(input *DeleteModelQualityJobDefinitionInput) (*DeleteModelQualityJobDefinitionOutput, error) { 6565 req, out := c.DeleteModelQualityJobDefinitionRequest(input) 6566 return out, req.Send() 6567 } 6568 6569 // DeleteModelQualityJobDefinitionWithContext is the same as DeleteModelQualityJobDefinition with the addition of 6570 // the ability to pass a context and additional request options. 6571 // 6572 // See DeleteModelQualityJobDefinition for details on how to use this API operation. 6573 // 6574 // The context must be non-nil and will be used for request cancellation. If 6575 // the context is nil a panic will occur. In the future the SDK may create 6576 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 6577 // for more information on using Contexts. 6578 func (c *SageMaker) DeleteModelQualityJobDefinitionWithContext(ctx aws.Context, input *DeleteModelQualityJobDefinitionInput, opts ...request.Option) (*DeleteModelQualityJobDefinitionOutput, error) { 6579 req, out := c.DeleteModelQualityJobDefinitionRequest(input) 6580 req.SetContext(ctx) 6581 req.ApplyOptions(opts...) 6582 return out, req.Send() 6583 } 6584 6585 const opDeleteMonitoringSchedule = "DeleteMonitoringSchedule" 6586 6587 // DeleteMonitoringScheduleRequest generates a "aws/request.Request" representing the 6588 // client's request for the DeleteMonitoringSchedule operation. The "output" return 6589 // value will be populated with the request's response once the request completes 6590 // successfully. 6591 // 6592 // Use "Send" method on the returned Request to send the API call to the service. 6593 // the "output" return value is not valid until after Send returns without error. 6594 // 6595 // See DeleteMonitoringSchedule for more information on using the DeleteMonitoringSchedule 6596 // API call, and error handling. 6597 // 6598 // This method is useful when you want to inject custom logic or configuration 6599 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 6600 // 6601 // 6602 // // Example sending a request using the DeleteMonitoringScheduleRequest method. 6603 // req, resp := client.DeleteMonitoringScheduleRequest(params) 6604 // 6605 // err := req.Send() 6606 // if err == nil { // resp is now filled 6607 // fmt.Println(resp) 6608 // } 6609 // 6610 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteMonitoringSchedule 6611 func (c *SageMaker) DeleteMonitoringScheduleRequest(input *DeleteMonitoringScheduleInput) (req *request.Request, output *DeleteMonitoringScheduleOutput) { 6612 op := &request.Operation{ 6613 Name: opDeleteMonitoringSchedule, 6614 HTTPMethod: "POST", 6615 HTTPPath: "/", 6616 } 6617 6618 if input == nil { 6619 input = &DeleteMonitoringScheduleInput{} 6620 } 6621 6622 output = &DeleteMonitoringScheduleOutput{} 6623 req = c.newRequest(op, input, output) 6624 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 6625 return 6626 } 6627 6628 // DeleteMonitoringSchedule API operation for Amazon SageMaker Service. 6629 // 6630 // Deletes a monitoring schedule. Also stops the schedule had not already been 6631 // stopped. This does not delete the job execution history of the monitoring 6632 // schedule. 6633 // 6634 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 6635 // with awserr.Error's Code and Message methods to get detailed information about 6636 // the error. 6637 // 6638 // See the AWS API reference guide for Amazon SageMaker Service's 6639 // API operation DeleteMonitoringSchedule for usage and error information. 6640 // 6641 // Returned Error Types: 6642 // * ResourceNotFound 6643 // Resource being access is not found. 6644 // 6645 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteMonitoringSchedule 6646 func (c *SageMaker) DeleteMonitoringSchedule(input *DeleteMonitoringScheduleInput) (*DeleteMonitoringScheduleOutput, error) { 6647 req, out := c.DeleteMonitoringScheduleRequest(input) 6648 return out, req.Send() 6649 } 6650 6651 // DeleteMonitoringScheduleWithContext is the same as DeleteMonitoringSchedule with the addition of 6652 // the ability to pass a context and additional request options. 6653 // 6654 // See DeleteMonitoringSchedule for details on how to use this API operation. 6655 // 6656 // The context must be non-nil and will be used for request cancellation. If 6657 // the context is nil a panic will occur. In the future the SDK may create 6658 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 6659 // for more information on using Contexts. 6660 func (c *SageMaker) DeleteMonitoringScheduleWithContext(ctx aws.Context, input *DeleteMonitoringScheduleInput, opts ...request.Option) (*DeleteMonitoringScheduleOutput, error) { 6661 req, out := c.DeleteMonitoringScheduleRequest(input) 6662 req.SetContext(ctx) 6663 req.ApplyOptions(opts...) 6664 return out, req.Send() 6665 } 6666 6667 const opDeleteNotebookInstance = "DeleteNotebookInstance" 6668 6669 // DeleteNotebookInstanceRequest generates a "aws/request.Request" representing the 6670 // client's request for the DeleteNotebookInstance operation. The "output" return 6671 // value will be populated with the request's response once the request completes 6672 // successfully. 6673 // 6674 // Use "Send" method on the returned Request to send the API call to the service. 6675 // the "output" return value is not valid until after Send returns without error. 6676 // 6677 // See DeleteNotebookInstance for more information on using the DeleteNotebookInstance 6678 // API call, and error handling. 6679 // 6680 // This method is useful when you want to inject custom logic or configuration 6681 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 6682 // 6683 // 6684 // // Example sending a request using the DeleteNotebookInstanceRequest method. 6685 // req, resp := client.DeleteNotebookInstanceRequest(params) 6686 // 6687 // err := req.Send() 6688 // if err == nil { // resp is now filled 6689 // fmt.Println(resp) 6690 // } 6691 // 6692 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstance 6693 func (c *SageMaker) DeleteNotebookInstanceRequest(input *DeleteNotebookInstanceInput) (req *request.Request, output *DeleteNotebookInstanceOutput) { 6694 op := &request.Operation{ 6695 Name: opDeleteNotebookInstance, 6696 HTTPMethod: "POST", 6697 HTTPPath: "/", 6698 } 6699 6700 if input == nil { 6701 input = &DeleteNotebookInstanceInput{} 6702 } 6703 6704 output = &DeleteNotebookInstanceOutput{} 6705 req = c.newRequest(op, input, output) 6706 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 6707 return 6708 } 6709 6710 // DeleteNotebookInstance API operation for Amazon SageMaker Service. 6711 // 6712 // Deletes an Amazon SageMaker notebook instance. Before you can delete a notebook 6713 // instance, you must call the StopNotebookInstance API. 6714 // 6715 // When you delete a notebook instance, you lose all of your data. Amazon SageMaker 6716 // removes the ML compute instance, and deletes the ML storage volume and the 6717 // network interface associated with the notebook instance. 6718 // 6719 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 6720 // with awserr.Error's Code and Message methods to get detailed information about 6721 // the error. 6722 // 6723 // See the AWS API reference guide for Amazon SageMaker Service's 6724 // API operation DeleteNotebookInstance for usage and error information. 6725 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstance 6726 func (c *SageMaker) DeleteNotebookInstance(input *DeleteNotebookInstanceInput) (*DeleteNotebookInstanceOutput, error) { 6727 req, out := c.DeleteNotebookInstanceRequest(input) 6728 return out, req.Send() 6729 } 6730 6731 // DeleteNotebookInstanceWithContext is the same as DeleteNotebookInstance with the addition of 6732 // the ability to pass a context and additional request options. 6733 // 6734 // See DeleteNotebookInstance for details on how to use this API operation. 6735 // 6736 // The context must be non-nil and will be used for request cancellation. If 6737 // the context is nil a panic will occur. In the future the SDK may create 6738 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 6739 // for more information on using Contexts. 6740 func (c *SageMaker) DeleteNotebookInstanceWithContext(ctx aws.Context, input *DeleteNotebookInstanceInput, opts ...request.Option) (*DeleteNotebookInstanceOutput, error) { 6741 req, out := c.DeleteNotebookInstanceRequest(input) 6742 req.SetContext(ctx) 6743 req.ApplyOptions(opts...) 6744 return out, req.Send() 6745 } 6746 6747 const opDeleteNotebookInstanceLifecycleConfig = "DeleteNotebookInstanceLifecycleConfig" 6748 6749 // DeleteNotebookInstanceLifecycleConfigRequest generates a "aws/request.Request" representing the 6750 // client's request for the DeleteNotebookInstanceLifecycleConfig operation. The "output" return 6751 // value will be populated with the request's response once the request completes 6752 // successfully. 6753 // 6754 // Use "Send" method on the returned Request to send the API call to the service. 6755 // the "output" return value is not valid until after Send returns without error. 6756 // 6757 // See DeleteNotebookInstanceLifecycleConfig for more information on using the DeleteNotebookInstanceLifecycleConfig 6758 // API call, and error handling. 6759 // 6760 // This method is useful when you want to inject custom logic or configuration 6761 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 6762 // 6763 // 6764 // // Example sending a request using the DeleteNotebookInstanceLifecycleConfigRequest method. 6765 // req, resp := client.DeleteNotebookInstanceLifecycleConfigRequest(params) 6766 // 6767 // err := req.Send() 6768 // if err == nil { // resp is now filled 6769 // fmt.Println(resp) 6770 // } 6771 // 6772 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstanceLifecycleConfig 6773 func (c *SageMaker) DeleteNotebookInstanceLifecycleConfigRequest(input *DeleteNotebookInstanceLifecycleConfigInput) (req *request.Request, output *DeleteNotebookInstanceLifecycleConfigOutput) { 6774 op := &request.Operation{ 6775 Name: opDeleteNotebookInstanceLifecycleConfig, 6776 HTTPMethod: "POST", 6777 HTTPPath: "/", 6778 } 6779 6780 if input == nil { 6781 input = &DeleteNotebookInstanceLifecycleConfigInput{} 6782 } 6783 6784 output = &DeleteNotebookInstanceLifecycleConfigOutput{} 6785 req = c.newRequest(op, input, output) 6786 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 6787 return 6788 } 6789 6790 // DeleteNotebookInstanceLifecycleConfig API operation for Amazon SageMaker Service. 6791 // 6792 // Deletes a notebook instance lifecycle configuration. 6793 // 6794 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 6795 // with awserr.Error's Code and Message methods to get detailed information about 6796 // the error. 6797 // 6798 // See the AWS API reference guide for Amazon SageMaker Service's 6799 // API operation DeleteNotebookInstanceLifecycleConfig for usage and error information. 6800 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstanceLifecycleConfig 6801 func (c *SageMaker) DeleteNotebookInstanceLifecycleConfig(input *DeleteNotebookInstanceLifecycleConfigInput) (*DeleteNotebookInstanceLifecycleConfigOutput, error) { 6802 req, out := c.DeleteNotebookInstanceLifecycleConfigRequest(input) 6803 return out, req.Send() 6804 } 6805 6806 // DeleteNotebookInstanceLifecycleConfigWithContext is the same as DeleteNotebookInstanceLifecycleConfig with the addition of 6807 // the ability to pass a context and additional request options. 6808 // 6809 // See DeleteNotebookInstanceLifecycleConfig for details on how to use this API operation. 6810 // 6811 // The context must be non-nil and will be used for request cancellation. If 6812 // the context is nil a panic will occur. In the future the SDK may create 6813 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 6814 // for more information on using Contexts. 6815 func (c *SageMaker) DeleteNotebookInstanceLifecycleConfigWithContext(ctx aws.Context, input *DeleteNotebookInstanceLifecycleConfigInput, opts ...request.Option) (*DeleteNotebookInstanceLifecycleConfigOutput, error) { 6816 req, out := c.DeleteNotebookInstanceLifecycleConfigRequest(input) 6817 req.SetContext(ctx) 6818 req.ApplyOptions(opts...) 6819 return out, req.Send() 6820 } 6821 6822 const opDeletePipeline = "DeletePipeline" 6823 6824 // DeletePipelineRequest generates a "aws/request.Request" representing the 6825 // client's request for the DeletePipeline operation. The "output" return 6826 // value will be populated with the request's response once the request completes 6827 // successfully. 6828 // 6829 // Use "Send" method on the returned Request to send the API call to the service. 6830 // the "output" return value is not valid until after Send returns without error. 6831 // 6832 // See DeletePipeline for more information on using the DeletePipeline 6833 // API call, and error handling. 6834 // 6835 // This method is useful when you want to inject custom logic or configuration 6836 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 6837 // 6838 // 6839 // // Example sending a request using the DeletePipelineRequest method. 6840 // req, resp := client.DeletePipelineRequest(params) 6841 // 6842 // err := req.Send() 6843 // if err == nil { // resp is now filled 6844 // fmt.Println(resp) 6845 // } 6846 // 6847 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeletePipeline 6848 func (c *SageMaker) DeletePipelineRequest(input *DeletePipelineInput) (req *request.Request, output *DeletePipelineOutput) { 6849 op := &request.Operation{ 6850 Name: opDeletePipeline, 6851 HTTPMethod: "POST", 6852 HTTPPath: "/", 6853 } 6854 6855 if input == nil { 6856 input = &DeletePipelineInput{} 6857 } 6858 6859 output = &DeletePipelineOutput{} 6860 req = c.newRequest(op, input, output) 6861 return 6862 } 6863 6864 // DeletePipeline API operation for Amazon SageMaker Service. 6865 // 6866 // Deletes a pipeline if there are no running instances of the pipeline. To 6867 // delete a pipeline, you must stop all running instances of the pipeline using 6868 // the StopPipelineExecution API. When you delete a pipeline, all instances 6869 // of the pipeline are deleted. 6870 // 6871 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 6872 // with awserr.Error's Code and Message methods to get detailed information about 6873 // the error. 6874 // 6875 // See the AWS API reference guide for Amazon SageMaker Service's 6876 // API operation DeletePipeline for usage and error information. 6877 // 6878 // Returned Error Types: 6879 // * ResourceNotFound 6880 // Resource being access is not found. 6881 // 6882 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeletePipeline 6883 func (c *SageMaker) DeletePipeline(input *DeletePipelineInput) (*DeletePipelineOutput, error) { 6884 req, out := c.DeletePipelineRequest(input) 6885 return out, req.Send() 6886 } 6887 6888 // DeletePipelineWithContext is the same as DeletePipeline with the addition of 6889 // the ability to pass a context and additional request options. 6890 // 6891 // See DeletePipeline for details on how to use this API operation. 6892 // 6893 // The context must be non-nil and will be used for request cancellation. If 6894 // the context is nil a panic will occur. In the future the SDK may create 6895 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 6896 // for more information on using Contexts. 6897 func (c *SageMaker) DeletePipelineWithContext(ctx aws.Context, input *DeletePipelineInput, opts ...request.Option) (*DeletePipelineOutput, error) { 6898 req, out := c.DeletePipelineRequest(input) 6899 req.SetContext(ctx) 6900 req.ApplyOptions(opts...) 6901 return out, req.Send() 6902 } 6903 6904 const opDeleteProject = "DeleteProject" 6905 6906 // DeleteProjectRequest generates a "aws/request.Request" representing the 6907 // client's request for the DeleteProject operation. The "output" return 6908 // value will be populated with the request's response once the request completes 6909 // successfully. 6910 // 6911 // Use "Send" method on the returned Request to send the API call to the service. 6912 // the "output" return value is not valid until after Send returns without error. 6913 // 6914 // See DeleteProject for more information on using the DeleteProject 6915 // API call, and error handling. 6916 // 6917 // This method is useful when you want to inject custom logic or configuration 6918 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 6919 // 6920 // 6921 // // Example sending a request using the DeleteProjectRequest method. 6922 // req, resp := client.DeleteProjectRequest(params) 6923 // 6924 // err := req.Send() 6925 // if err == nil { // resp is now filled 6926 // fmt.Println(resp) 6927 // } 6928 // 6929 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteProject 6930 func (c *SageMaker) DeleteProjectRequest(input *DeleteProjectInput) (req *request.Request, output *DeleteProjectOutput) { 6931 op := &request.Operation{ 6932 Name: opDeleteProject, 6933 HTTPMethod: "POST", 6934 HTTPPath: "/", 6935 } 6936 6937 if input == nil { 6938 input = &DeleteProjectInput{} 6939 } 6940 6941 output = &DeleteProjectOutput{} 6942 req = c.newRequest(op, input, output) 6943 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 6944 return 6945 } 6946 6947 // DeleteProject API operation for Amazon SageMaker Service. 6948 // 6949 // Delete the specified project. 6950 // 6951 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 6952 // with awserr.Error's Code and Message methods to get detailed information about 6953 // the error. 6954 // 6955 // See the AWS API reference guide for Amazon SageMaker Service's 6956 // API operation DeleteProject for usage and error information. 6957 // 6958 // Returned Error Types: 6959 // * ConflictException 6960 // There was a conflict when you attempted to modify a SageMaker entity such 6961 // as an Experiment or Artifact. 6962 // 6963 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteProject 6964 func (c *SageMaker) DeleteProject(input *DeleteProjectInput) (*DeleteProjectOutput, error) { 6965 req, out := c.DeleteProjectRequest(input) 6966 return out, req.Send() 6967 } 6968 6969 // DeleteProjectWithContext is the same as DeleteProject with the addition of 6970 // the ability to pass a context and additional request options. 6971 // 6972 // See DeleteProject for details on how to use this API operation. 6973 // 6974 // The context must be non-nil and will be used for request cancellation. If 6975 // the context is nil a panic will occur. In the future the SDK may create 6976 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 6977 // for more information on using Contexts. 6978 func (c *SageMaker) DeleteProjectWithContext(ctx aws.Context, input *DeleteProjectInput, opts ...request.Option) (*DeleteProjectOutput, error) { 6979 req, out := c.DeleteProjectRequest(input) 6980 req.SetContext(ctx) 6981 req.ApplyOptions(opts...) 6982 return out, req.Send() 6983 } 6984 6985 const opDeleteStudioLifecycleConfig = "DeleteStudioLifecycleConfig" 6986 6987 // DeleteStudioLifecycleConfigRequest generates a "aws/request.Request" representing the 6988 // client's request for the DeleteStudioLifecycleConfig operation. The "output" return 6989 // value will be populated with the request's response once the request completes 6990 // successfully. 6991 // 6992 // Use "Send" method on the returned Request to send the API call to the service. 6993 // the "output" return value is not valid until after Send returns without error. 6994 // 6995 // See DeleteStudioLifecycleConfig for more information on using the DeleteStudioLifecycleConfig 6996 // API call, and error handling. 6997 // 6998 // This method is useful when you want to inject custom logic or configuration 6999 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 7000 // 7001 // 7002 // // Example sending a request using the DeleteStudioLifecycleConfigRequest method. 7003 // req, resp := client.DeleteStudioLifecycleConfigRequest(params) 7004 // 7005 // err := req.Send() 7006 // if err == nil { // resp is now filled 7007 // fmt.Println(resp) 7008 // } 7009 // 7010 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteStudioLifecycleConfig 7011 func (c *SageMaker) DeleteStudioLifecycleConfigRequest(input *DeleteStudioLifecycleConfigInput) (req *request.Request, output *DeleteStudioLifecycleConfigOutput) { 7012 op := &request.Operation{ 7013 Name: opDeleteStudioLifecycleConfig, 7014 HTTPMethod: "POST", 7015 HTTPPath: "/", 7016 } 7017 7018 if input == nil { 7019 input = &DeleteStudioLifecycleConfigInput{} 7020 } 7021 7022 output = &DeleteStudioLifecycleConfigOutput{} 7023 req = c.newRequest(op, input, output) 7024 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 7025 return 7026 } 7027 7028 // DeleteStudioLifecycleConfig API operation for Amazon SageMaker Service. 7029 // 7030 // Deletes the Studio Lifecycle Configuration. In order to delete the Lifecycle 7031 // Configuration, there must be no running apps using the Lifecycle Configuration. 7032 // You must also remove the Lifecycle Configuration from UserSettings in all 7033 // Domains and UserProfiles. 7034 // 7035 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 7036 // with awserr.Error's Code and Message methods to get detailed information about 7037 // the error. 7038 // 7039 // See the AWS API reference guide for Amazon SageMaker Service's 7040 // API operation DeleteStudioLifecycleConfig for usage and error information. 7041 // 7042 // Returned Error Types: 7043 // * ResourceNotFound 7044 // Resource being access is not found. 7045 // 7046 // * ResourceInUse 7047 // Resource being accessed is in use. 7048 // 7049 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteStudioLifecycleConfig 7050 func (c *SageMaker) DeleteStudioLifecycleConfig(input *DeleteStudioLifecycleConfigInput) (*DeleteStudioLifecycleConfigOutput, error) { 7051 req, out := c.DeleteStudioLifecycleConfigRequest(input) 7052 return out, req.Send() 7053 } 7054 7055 // DeleteStudioLifecycleConfigWithContext is the same as DeleteStudioLifecycleConfig with the addition of 7056 // the ability to pass a context and additional request options. 7057 // 7058 // See DeleteStudioLifecycleConfig for details on how to use this API operation. 7059 // 7060 // The context must be non-nil and will be used for request cancellation. If 7061 // the context is nil a panic will occur. In the future the SDK may create 7062 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 7063 // for more information on using Contexts. 7064 func (c *SageMaker) DeleteStudioLifecycleConfigWithContext(ctx aws.Context, input *DeleteStudioLifecycleConfigInput, opts ...request.Option) (*DeleteStudioLifecycleConfigOutput, error) { 7065 req, out := c.DeleteStudioLifecycleConfigRequest(input) 7066 req.SetContext(ctx) 7067 req.ApplyOptions(opts...) 7068 return out, req.Send() 7069 } 7070 7071 const opDeleteTags = "DeleteTags" 7072 7073 // DeleteTagsRequest generates a "aws/request.Request" representing the 7074 // client's request for the DeleteTags operation. The "output" return 7075 // value will be populated with the request's response once the request completes 7076 // successfully. 7077 // 7078 // Use "Send" method on the returned Request to send the API call to the service. 7079 // the "output" return value is not valid until after Send returns without error. 7080 // 7081 // See DeleteTags for more information on using the DeleteTags 7082 // API call, and error handling. 7083 // 7084 // This method is useful when you want to inject custom logic or configuration 7085 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 7086 // 7087 // 7088 // // Example sending a request using the DeleteTagsRequest method. 7089 // req, resp := client.DeleteTagsRequest(params) 7090 // 7091 // err := req.Send() 7092 // if err == nil { // resp is now filled 7093 // fmt.Println(resp) 7094 // } 7095 // 7096 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTags 7097 func (c *SageMaker) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, output *DeleteTagsOutput) { 7098 op := &request.Operation{ 7099 Name: opDeleteTags, 7100 HTTPMethod: "POST", 7101 HTTPPath: "/", 7102 } 7103 7104 if input == nil { 7105 input = &DeleteTagsInput{} 7106 } 7107 7108 output = &DeleteTagsOutput{} 7109 req = c.newRequest(op, input, output) 7110 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 7111 return 7112 } 7113 7114 // DeleteTags API operation for Amazon SageMaker Service. 7115 // 7116 // Deletes the specified tags from an Amazon SageMaker resource. 7117 // 7118 // To list a resource's tags, use the ListTags API. 7119 // 7120 // When you call this API to delete tags from a hyperparameter tuning job, the 7121 // deleted tags are not removed from training jobs that the hyperparameter tuning 7122 // job launched before you called this API. 7123 // 7124 // When you call this API to delete tags from a SageMaker Studio Domain or User 7125 // Profile, the deleted tags are not removed from Apps that the SageMaker Studio 7126 // Domain or User Profile launched before you called this API. 7127 // 7128 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 7129 // with awserr.Error's Code and Message methods to get detailed information about 7130 // the error. 7131 // 7132 // See the AWS API reference guide for Amazon SageMaker Service's 7133 // API operation DeleteTags for usage and error information. 7134 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTags 7135 func (c *SageMaker) DeleteTags(input *DeleteTagsInput) (*DeleteTagsOutput, error) { 7136 req, out := c.DeleteTagsRequest(input) 7137 return out, req.Send() 7138 } 7139 7140 // DeleteTagsWithContext is the same as DeleteTags with the addition of 7141 // the ability to pass a context and additional request options. 7142 // 7143 // See DeleteTags for details on how to use this API operation. 7144 // 7145 // The context must be non-nil and will be used for request cancellation. If 7146 // the context is nil a panic will occur. In the future the SDK may create 7147 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 7148 // for more information on using Contexts. 7149 func (c *SageMaker) DeleteTagsWithContext(ctx aws.Context, input *DeleteTagsInput, opts ...request.Option) (*DeleteTagsOutput, error) { 7150 req, out := c.DeleteTagsRequest(input) 7151 req.SetContext(ctx) 7152 req.ApplyOptions(opts...) 7153 return out, req.Send() 7154 } 7155 7156 const opDeleteTrial = "DeleteTrial" 7157 7158 // DeleteTrialRequest generates a "aws/request.Request" representing the 7159 // client's request for the DeleteTrial operation. The "output" return 7160 // value will be populated with the request's response once the request completes 7161 // successfully. 7162 // 7163 // Use "Send" method on the returned Request to send the API call to the service. 7164 // the "output" return value is not valid until after Send returns without error. 7165 // 7166 // See DeleteTrial for more information on using the DeleteTrial 7167 // API call, and error handling. 7168 // 7169 // This method is useful when you want to inject custom logic or configuration 7170 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 7171 // 7172 // 7173 // // Example sending a request using the DeleteTrialRequest method. 7174 // req, resp := client.DeleteTrialRequest(params) 7175 // 7176 // err := req.Send() 7177 // if err == nil { // resp is now filled 7178 // fmt.Println(resp) 7179 // } 7180 // 7181 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTrial 7182 func (c *SageMaker) DeleteTrialRequest(input *DeleteTrialInput) (req *request.Request, output *DeleteTrialOutput) { 7183 op := &request.Operation{ 7184 Name: opDeleteTrial, 7185 HTTPMethod: "POST", 7186 HTTPPath: "/", 7187 } 7188 7189 if input == nil { 7190 input = &DeleteTrialInput{} 7191 } 7192 7193 output = &DeleteTrialOutput{} 7194 req = c.newRequest(op, input, output) 7195 return 7196 } 7197 7198 // DeleteTrial API operation for Amazon SageMaker Service. 7199 // 7200 // Deletes the specified trial. All trial components that make up the trial 7201 // must be deleted first. Use the DescribeTrialComponent API to get the list 7202 // of trial components. 7203 // 7204 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 7205 // with awserr.Error's Code and Message methods to get detailed information about 7206 // the error. 7207 // 7208 // See the AWS API reference guide for Amazon SageMaker Service's 7209 // API operation DeleteTrial for usage and error information. 7210 // 7211 // Returned Error Types: 7212 // * ResourceNotFound 7213 // Resource being access is not found. 7214 // 7215 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTrial 7216 func (c *SageMaker) DeleteTrial(input *DeleteTrialInput) (*DeleteTrialOutput, error) { 7217 req, out := c.DeleteTrialRequest(input) 7218 return out, req.Send() 7219 } 7220 7221 // DeleteTrialWithContext is the same as DeleteTrial with the addition of 7222 // the ability to pass a context and additional request options. 7223 // 7224 // See DeleteTrial for details on how to use this API operation. 7225 // 7226 // The context must be non-nil and will be used for request cancellation. If 7227 // the context is nil a panic will occur. In the future the SDK may create 7228 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 7229 // for more information on using Contexts. 7230 func (c *SageMaker) DeleteTrialWithContext(ctx aws.Context, input *DeleteTrialInput, opts ...request.Option) (*DeleteTrialOutput, error) { 7231 req, out := c.DeleteTrialRequest(input) 7232 req.SetContext(ctx) 7233 req.ApplyOptions(opts...) 7234 return out, req.Send() 7235 } 7236 7237 const opDeleteTrialComponent = "DeleteTrialComponent" 7238 7239 // DeleteTrialComponentRequest generates a "aws/request.Request" representing the 7240 // client's request for the DeleteTrialComponent operation. The "output" return 7241 // value will be populated with the request's response once the request completes 7242 // successfully. 7243 // 7244 // Use "Send" method on the returned Request to send the API call to the service. 7245 // the "output" return value is not valid until after Send returns without error. 7246 // 7247 // See DeleteTrialComponent for more information on using the DeleteTrialComponent 7248 // API call, and error handling. 7249 // 7250 // This method is useful when you want to inject custom logic or configuration 7251 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 7252 // 7253 // 7254 // // Example sending a request using the DeleteTrialComponentRequest method. 7255 // req, resp := client.DeleteTrialComponentRequest(params) 7256 // 7257 // err := req.Send() 7258 // if err == nil { // resp is now filled 7259 // fmt.Println(resp) 7260 // } 7261 // 7262 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTrialComponent 7263 func (c *SageMaker) DeleteTrialComponentRequest(input *DeleteTrialComponentInput) (req *request.Request, output *DeleteTrialComponentOutput) { 7264 op := &request.Operation{ 7265 Name: opDeleteTrialComponent, 7266 HTTPMethod: "POST", 7267 HTTPPath: "/", 7268 } 7269 7270 if input == nil { 7271 input = &DeleteTrialComponentInput{} 7272 } 7273 7274 output = &DeleteTrialComponentOutput{} 7275 req = c.newRequest(op, input, output) 7276 return 7277 } 7278 7279 // DeleteTrialComponent API operation for Amazon SageMaker Service. 7280 // 7281 // Deletes the specified trial component. A trial component must be disassociated 7282 // from all trials before the trial component can be deleted. To disassociate 7283 // a trial component from a trial, call the DisassociateTrialComponent API. 7284 // 7285 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 7286 // with awserr.Error's Code and Message methods to get detailed information about 7287 // the error. 7288 // 7289 // See the AWS API reference guide for Amazon SageMaker Service's 7290 // API operation DeleteTrialComponent for usage and error information. 7291 // 7292 // Returned Error Types: 7293 // * ResourceNotFound 7294 // Resource being access is not found. 7295 // 7296 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTrialComponent 7297 func (c *SageMaker) DeleteTrialComponent(input *DeleteTrialComponentInput) (*DeleteTrialComponentOutput, error) { 7298 req, out := c.DeleteTrialComponentRequest(input) 7299 return out, req.Send() 7300 } 7301 7302 // DeleteTrialComponentWithContext is the same as DeleteTrialComponent with the addition of 7303 // the ability to pass a context and additional request options. 7304 // 7305 // See DeleteTrialComponent for details on how to use this API operation. 7306 // 7307 // The context must be non-nil and will be used for request cancellation. If 7308 // the context is nil a panic will occur. In the future the SDK may create 7309 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 7310 // for more information on using Contexts. 7311 func (c *SageMaker) DeleteTrialComponentWithContext(ctx aws.Context, input *DeleteTrialComponentInput, opts ...request.Option) (*DeleteTrialComponentOutput, error) { 7312 req, out := c.DeleteTrialComponentRequest(input) 7313 req.SetContext(ctx) 7314 req.ApplyOptions(opts...) 7315 return out, req.Send() 7316 } 7317 7318 const opDeleteUserProfile = "DeleteUserProfile" 7319 7320 // DeleteUserProfileRequest generates a "aws/request.Request" representing the 7321 // client's request for the DeleteUserProfile operation. The "output" return 7322 // value will be populated with the request's response once the request completes 7323 // successfully. 7324 // 7325 // Use "Send" method on the returned Request to send the API call to the service. 7326 // the "output" return value is not valid until after Send returns without error. 7327 // 7328 // See DeleteUserProfile for more information on using the DeleteUserProfile 7329 // API call, and error handling. 7330 // 7331 // This method is useful when you want to inject custom logic or configuration 7332 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 7333 // 7334 // 7335 // // Example sending a request using the DeleteUserProfileRequest method. 7336 // req, resp := client.DeleteUserProfileRequest(params) 7337 // 7338 // err := req.Send() 7339 // if err == nil { // resp is now filled 7340 // fmt.Println(resp) 7341 // } 7342 // 7343 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteUserProfile 7344 func (c *SageMaker) DeleteUserProfileRequest(input *DeleteUserProfileInput) (req *request.Request, output *DeleteUserProfileOutput) { 7345 op := &request.Operation{ 7346 Name: opDeleteUserProfile, 7347 HTTPMethod: "POST", 7348 HTTPPath: "/", 7349 } 7350 7351 if input == nil { 7352 input = &DeleteUserProfileInput{} 7353 } 7354 7355 output = &DeleteUserProfileOutput{} 7356 req = c.newRequest(op, input, output) 7357 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 7358 return 7359 } 7360 7361 // DeleteUserProfile API operation for Amazon SageMaker Service. 7362 // 7363 // Deletes a user profile. When a user profile is deleted, the user loses access 7364 // to their EFS volume, including data, notebooks, and other artifacts. 7365 // 7366 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 7367 // with awserr.Error's Code and Message methods to get detailed information about 7368 // the error. 7369 // 7370 // See the AWS API reference guide for Amazon SageMaker Service's 7371 // API operation DeleteUserProfile for usage and error information. 7372 // 7373 // Returned Error Types: 7374 // * ResourceInUse 7375 // Resource being accessed is in use. 7376 // 7377 // * ResourceNotFound 7378 // Resource being access is not found. 7379 // 7380 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteUserProfile 7381 func (c *SageMaker) DeleteUserProfile(input *DeleteUserProfileInput) (*DeleteUserProfileOutput, error) { 7382 req, out := c.DeleteUserProfileRequest(input) 7383 return out, req.Send() 7384 } 7385 7386 // DeleteUserProfileWithContext is the same as DeleteUserProfile with the addition of 7387 // the ability to pass a context and additional request options. 7388 // 7389 // See DeleteUserProfile for details on how to use this API operation. 7390 // 7391 // The context must be non-nil and will be used for request cancellation. If 7392 // the context is nil a panic will occur. In the future the SDK may create 7393 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 7394 // for more information on using Contexts. 7395 func (c *SageMaker) DeleteUserProfileWithContext(ctx aws.Context, input *DeleteUserProfileInput, opts ...request.Option) (*DeleteUserProfileOutput, error) { 7396 req, out := c.DeleteUserProfileRequest(input) 7397 req.SetContext(ctx) 7398 req.ApplyOptions(opts...) 7399 return out, req.Send() 7400 } 7401 7402 const opDeleteWorkforce = "DeleteWorkforce" 7403 7404 // DeleteWorkforceRequest generates a "aws/request.Request" representing the 7405 // client's request for the DeleteWorkforce operation. The "output" return 7406 // value will be populated with the request's response once the request completes 7407 // successfully. 7408 // 7409 // Use "Send" method on the returned Request to send the API call to the service. 7410 // the "output" return value is not valid until after Send returns without error. 7411 // 7412 // See DeleteWorkforce for more information on using the DeleteWorkforce 7413 // API call, and error handling. 7414 // 7415 // This method is useful when you want to inject custom logic or configuration 7416 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 7417 // 7418 // 7419 // // Example sending a request using the DeleteWorkforceRequest method. 7420 // req, resp := client.DeleteWorkforceRequest(params) 7421 // 7422 // err := req.Send() 7423 // if err == nil { // resp is now filled 7424 // fmt.Println(resp) 7425 // } 7426 // 7427 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteWorkforce 7428 func (c *SageMaker) DeleteWorkforceRequest(input *DeleteWorkforceInput) (req *request.Request, output *DeleteWorkforceOutput) { 7429 op := &request.Operation{ 7430 Name: opDeleteWorkforce, 7431 HTTPMethod: "POST", 7432 HTTPPath: "/", 7433 } 7434 7435 if input == nil { 7436 input = &DeleteWorkforceInput{} 7437 } 7438 7439 output = &DeleteWorkforceOutput{} 7440 req = c.newRequest(op, input, output) 7441 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 7442 return 7443 } 7444 7445 // DeleteWorkforce API operation for Amazon SageMaker Service. 7446 // 7447 // Use this operation to delete a workforce. 7448 // 7449 // If you want to create a new workforce in an Amazon Web Services Region where 7450 // a workforce already exists, use this operation to delete the existing workforce 7451 // and then use to create a new workforce. 7452 // 7453 // If a private workforce contains one or more work teams, you must use the 7454 // operation to delete all work teams before you delete the workforce. If you 7455 // try to delete a workforce that contains one or more work teams, you will 7456 // recieve a ResourceInUse error. 7457 // 7458 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 7459 // with awserr.Error's Code and Message methods to get detailed information about 7460 // the error. 7461 // 7462 // See the AWS API reference guide for Amazon SageMaker Service's 7463 // API operation DeleteWorkforce for usage and error information. 7464 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteWorkforce 7465 func (c *SageMaker) DeleteWorkforce(input *DeleteWorkforceInput) (*DeleteWorkforceOutput, error) { 7466 req, out := c.DeleteWorkforceRequest(input) 7467 return out, req.Send() 7468 } 7469 7470 // DeleteWorkforceWithContext is the same as DeleteWorkforce with the addition of 7471 // the ability to pass a context and additional request options. 7472 // 7473 // See DeleteWorkforce for details on how to use this API operation. 7474 // 7475 // The context must be non-nil and will be used for request cancellation. If 7476 // the context is nil a panic will occur. In the future the SDK may create 7477 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 7478 // for more information on using Contexts. 7479 func (c *SageMaker) DeleteWorkforceWithContext(ctx aws.Context, input *DeleteWorkforceInput, opts ...request.Option) (*DeleteWorkforceOutput, error) { 7480 req, out := c.DeleteWorkforceRequest(input) 7481 req.SetContext(ctx) 7482 req.ApplyOptions(opts...) 7483 return out, req.Send() 7484 } 7485 7486 const opDeleteWorkteam = "DeleteWorkteam" 7487 7488 // DeleteWorkteamRequest generates a "aws/request.Request" representing the 7489 // client's request for the DeleteWorkteam operation. The "output" return 7490 // value will be populated with the request's response once the request completes 7491 // successfully. 7492 // 7493 // Use "Send" method on the returned Request to send the API call to the service. 7494 // the "output" return value is not valid until after Send returns without error. 7495 // 7496 // See DeleteWorkteam for more information on using the DeleteWorkteam 7497 // API call, and error handling. 7498 // 7499 // This method is useful when you want to inject custom logic or configuration 7500 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 7501 // 7502 // 7503 // // Example sending a request using the DeleteWorkteamRequest method. 7504 // req, resp := client.DeleteWorkteamRequest(params) 7505 // 7506 // err := req.Send() 7507 // if err == nil { // resp is now filled 7508 // fmt.Println(resp) 7509 // } 7510 // 7511 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteWorkteam 7512 func (c *SageMaker) DeleteWorkteamRequest(input *DeleteWorkteamInput) (req *request.Request, output *DeleteWorkteamOutput) { 7513 op := &request.Operation{ 7514 Name: opDeleteWorkteam, 7515 HTTPMethod: "POST", 7516 HTTPPath: "/", 7517 } 7518 7519 if input == nil { 7520 input = &DeleteWorkteamInput{} 7521 } 7522 7523 output = &DeleteWorkteamOutput{} 7524 req = c.newRequest(op, input, output) 7525 return 7526 } 7527 7528 // DeleteWorkteam API operation for Amazon SageMaker Service. 7529 // 7530 // Deletes an existing work team. This operation can't be undone. 7531 // 7532 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 7533 // with awserr.Error's Code and Message methods to get detailed information about 7534 // the error. 7535 // 7536 // See the AWS API reference guide for Amazon SageMaker Service's 7537 // API operation DeleteWorkteam for usage and error information. 7538 // 7539 // Returned Error Types: 7540 // * ResourceLimitExceeded 7541 // You have exceeded an Amazon SageMaker resource limit. For example, you might 7542 // have too many training jobs created. 7543 // 7544 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteWorkteam 7545 func (c *SageMaker) DeleteWorkteam(input *DeleteWorkteamInput) (*DeleteWorkteamOutput, error) { 7546 req, out := c.DeleteWorkteamRequest(input) 7547 return out, req.Send() 7548 } 7549 7550 // DeleteWorkteamWithContext is the same as DeleteWorkteam with the addition of 7551 // the ability to pass a context and additional request options. 7552 // 7553 // See DeleteWorkteam for details on how to use this API operation. 7554 // 7555 // The context must be non-nil and will be used for request cancellation. If 7556 // the context is nil a panic will occur. In the future the SDK may create 7557 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 7558 // for more information on using Contexts. 7559 func (c *SageMaker) DeleteWorkteamWithContext(ctx aws.Context, input *DeleteWorkteamInput, opts ...request.Option) (*DeleteWorkteamOutput, error) { 7560 req, out := c.DeleteWorkteamRequest(input) 7561 req.SetContext(ctx) 7562 req.ApplyOptions(opts...) 7563 return out, req.Send() 7564 } 7565 7566 const opDeregisterDevices = "DeregisterDevices" 7567 7568 // DeregisterDevicesRequest generates a "aws/request.Request" representing the 7569 // client's request for the DeregisterDevices operation. The "output" return 7570 // value will be populated with the request's response once the request completes 7571 // successfully. 7572 // 7573 // Use "Send" method on the returned Request to send the API call to the service. 7574 // the "output" return value is not valid until after Send returns without error. 7575 // 7576 // See DeregisterDevices for more information on using the DeregisterDevices 7577 // API call, and error handling. 7578 // 7579 // This method is useful when you want to inject custom logic or configuration 7580 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 7581 // 7582 // 7583 // // Example sending a request using the DeregisterDevicesRequest method. 7584 // req, resp := client.DeregisterDevicesRequest(params) 7585 // 7586 // err := req.Send() 7587 // if err == nil { // resp is now filled 7588 // fmt.Println(resp) 7589 // } 7590 // 7591 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeregisterDevices 7592 func (c *SageMaker) DeregisterDevicesRequest(input *DeregisterDevicesInput) (req *request.Request, output *DeregisterDevicesOutput) { 7593 op := &request.Operation{ 7594 Name: opDeregisterDevices, 7595 HTTPMethod: "POST", 7596 HTTPPath: "/", 7597 } 7598 7599 if input == nil { 7600 input = &DeregisterDevicesInput{} 7601 } 7602 7603 output = &DeregisterDevicesOutput{} 7604 req = c.newRequest(op, input, output) 7605 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 7606 return 7607 } 7608 7609 // DeregisterDevices API operation for Amazon SageMaker Service. 7610 // 7611 // Deregisters the specified devices. After you deregister a device, you will 7612 // need to re-register the devices. 7613 // 7614 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 7615 // with awserr.Error's Code and Message methods to get detailed information about 7616 // the error. 7617 // 7618 // See the AWS API reference guide for Amazon SageMaker Service's 7619 // API operation DeregisterDevices for usage and error information. 7620 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeregisterDevices 7621 func (c *SageMaker) DeregisterDevices(input *DeregisterDevicesInput) (*DeregisterDevicesOutput, error) { 7622 req, out := c.DeregisterDevicesRequest(input) 7623 return out, req.Send() 7624 } 7625 7626 // DeregisterDevicesWithContext is the same as DeregisterDevices with the addition of 7627 // the ability to pass a context and additional request options. 7628 // 7629 // See DeregisterDevices for details on how to use this API operation. 7630 // 7631 // The context must be non-nil and will be used for request cancellation. If 7632 // the context is nil a panic will occur. In the future the SDK may create 7633 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 7634 // for more information on using Contexts. 7635 func (c *SageMaker) DeregisterDevicesWithContext(ctx aws.Context, input *DeregisterDevicesInput, opts ...request.Option) (*DeregisterDevicesOutput, error) { 7636 req, out := c.DeregisterDevicesRequest(input) 7637 req.SetContext(ctx) 7638 req.ApplyOptions(opts...) 7639 return out, req.Send() 7640 } 7641 7642 const opDescribeAction = "DescribeAction" 7643 7644 // DescribeActionRequest generates a "aws/request.Request" representing the 7645 // client's request for the DescribeAction operation. The "output" return 7646 // value will be populated with the request's response once the request completes 7647 // successfully. 7648 // 7649 // Use "Send" method on the returned Request to send the API call to the service. 7650 // the "output" return value is not valid until after Send returns without error. 7651 // 7652 // See DescribeAction for more information on using the DescribeAction 7653 // API call, and error handling. 7654 // 7655 // This method is useful when you want to inject custom logic or configuration 7656 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 7657 // 7658 // 7659 // // Example sending a request using the DescribeActionRequest method. 7660 // req, resp := client.DescribeActionRequest(params) 7661 // 7662 // err := req.Send() 7663 // if err == nil { // resp is now filled 7664 // fmt.Println(resp) 7665 // } 7666 // 7667 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAction 7668 func (c *SageMaker) DescribeActionRequest(input *DescribeActionInput) (req *request.Request, output *DescribeActionOutput) { 7669 op := &request.Operation{ 7670 Name: opDescribeAction, 7671 HTTPMethod: "POST", 7672 HTTPPath: "/", 7673 } 7674 7675 if input == nil { 7676 input = &DescribeActionInput{} 7677 } 7678 7679 output = &DescribeActionOutput{} 7680 req = c.newRequest(op, input, output) 7681 return 7682 } 7683 7684 // DescribeAction API operation for Amazon SageMaker Service. 7685 // 7686 // Describes an action. 7687 // 7688 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 7689 // with awserr.Error's Code and Message methods to get detailed information about 7690 // the error. 7691 // 7692 // See the AWS API reference guide for Amazon SageMaker Service's 7693 // API operation DescribeAction for usage and error information. 7694 // 7695 // Returned Error Types: 7696 // * ResourceNotFound 7697 // Resource being access is not found. 7698 // 7699 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAction 7700 func (c *SageMaker) DescribeAction(input *DescribeActionInput) (*DescribeActionOutput, error) { 7701 req, out := c.DescribeActionRequest(input) 7702 return out, req.Send() 7703 } 7704 7705 // DescribeActionWithContext is the same as DescribeAction with the addition of 7706 // the ability to pass a context and additional request options. 7707 // 7708 // See DescribeAction for details on how to use this API operation. 7709 // 7710 // The context must be non-nil and will be used for request cancellation. If 7711 // the context is nil a panic will occur. In the future the SDK may create 7712 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 7713 // for more information on using Contexts. 7714 func (c *SageMaker) DescribeActionWithContext(ctx aws.Context, input *DescribeActionInput, opts ...request.Option) (*DescribeActionOutput, error) { 7715 req, out := c.DescribeActionRequest(input) 7716 req.SetContext(ctx) 7717 req.ApplyOptions(opts...) 7718 return out, req.Send() 7719 } 7720 7721 const opDescribeAlgorithm = "DescribeAlgorithm" 7722 7723 // DescribeAlgorithmRequest generates a "aws/request.Request" representing the 7724 // client's request for the DescribeAlgorithm operation. The "output" return 7725 // value will be populated with the request's response once the request completes 7726 // successfully. 7727 // 7728 // Use "Send" method on the returned Request to send the API call to the service. 7729 // the "output" return value is not valid until after Send returns without error. 7730 // 7731 // See DescribeAlgorithm for more information on using the DescribeAlgorithm 7732 // API call, and error handling. 7733 // 7734 // This method is useful when you want to inject custom logic or configuration 7735 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 7736 // 7737 // 7738 // // Example sending a request using the DescribeAlgorithmRequest method. 7739 // req, resp := client.DescribeAlgorithmRequest(params) 7740 // 7741 // err := req.Send() 7742 // if err == nil { // resp is now filled 7743 // fmt.Println(resp) 7744 // } 7745 // 7746 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAlgorithm 7747 func (c *SageMaker) DescribeAlgorithmRequest(input *DescribeAlgorithmInput) (req *request.Request, output *DescribeAlgorithmOutput) { 7748 op := &request.Operation{ 7749 Name: opDescribeAlgorithm, 7750 HTTPMethod: "POST", 7751 HTTPPath: "/", 7752 } 7753 7754 if input == nil { 7755 input = &DescribeAlgorithmInput{} 7756 } 7757 7758 output = &DescribeAlgorithmOutput{} 7759 req = c.newRequest(op, input, output) 7760 return 7761 } 7762 7763 // DescribeAlgorithm API operation for Amazon SageMaker Service. 7764 // 7765 // Returns a description of the specified algorithm that is in your account. 7766 // 7767 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 7768 // with awserr.Error's Code and Message methods to get detailed information about 7769 // the error. 7770 // 7771 // See the AWS API reference guide for Amazon SageMaker Service's 7772 // API operation DescribeAlgorithm for usage and error information. 7773 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAlgorithm 7774 func (c *SageMaker) DescribeAlgorithm(input *DescribeAlgorithmInput) (*DescribeAlgorithmOutput, error) { 7775 req, out := c.DescribeAlgorithmRequest(input) 7776 return out, req.Send() 7777 } 7778 7779 // DescribeAlgorithmWithContext is the same as DescribeAlgorithm with the addition of 7780 // the ability to pass a context and additional request options. 7781 // 7782 // See DescribeAlgorithm for details on how to use this API operation. 7783 // 7784 // The context must be non-nil and will be used for request cancellation. If 7785 // the context is nil a panic will occur. In the future the SDK may create 7786 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 7787 // for more information on using Contexts. 7788 func (c *SageMaker) DescribeAlgorithmWithContext(ctx aws.Context, input *DescribeAlgorithmInput, opts ...request.Option) (*DescribeAlgorithmOutput, error) { 7789 req, out := c.DescribeAlgorithmRequest(input) 7790 req.SetContext(ctx) 7791 req.ApplyOptions(opts...) 7792 return out, req.Send() 7793 } 7794 7795 const opDescribeApp = "DescribeApp" 7796 7797 // DescribeAppRequest generates a "aws/request.Request" representing the 7798 // client's request for the DescribeApp operation. The "output" return 7799 // value will be populated with the request's response once the request completes 7800 // successfully. 7801 // 7802 // Use "Send" method on the returned Request to send the API call to the service. 7803 // the "output" return value is not valid until after Send returns without error. 7804 // 7805 // See DescribeApp for more information on using the DescribeApp 7806 // API call, and error handling. 7807 // 7808 // This method is useful when you want to inject custom logic or configuration 7809 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 7810 // 7811 // 7812 // // Example sending a request using the DescribeAppRequest method. 7813 // req, resp := client.DescribeAppRequest(params) 7814 // 7815 // err := req.Send() 7816 // if err == nil { // resp is now filled 7817 // fmt.Println(resp) 7818 // } 7819 // 7820 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeApp 7821 func (c *SageMaker) DescribeAppRequest(input *DescribeAppInput) (req *request.Request, output *DescribeAppOutput) { 7822 op := &request.Operation{ 7823 Name: opDescribeApp, 7824 HTTPMethod: "POST", 7825 HTTPPath: "/", 7826 } 7827 7828 if input == nil { 7829 input = &DescribeAppInput{} 7830 } 7831 7832 output = &DescribeAppOutput{} 7833 req = c.newRequest(op, input, output) 7834 return 7835 } 7836 7837 // DescribeApp API operation for Amazon SageMaker Service. 7838 // 7839 // Describes the app. 7840 // 7841 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 7842 // with awserr.Error's Code and Message methods to get detailed information about 7843 // the error. 7844 // 7845 // See the AWS API reference guide for Amazon SageMaker Service's 7846 // API operation DescribeApp for usage and error information. 7847 // 7848 // Returned Error Types: 7849 // * ResourceNotFound 7850 // Resource being access is not found. 7851 // 7852 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeApp 7853 func (c *SageMaker) DescribeApp(input *DescribeAppInput) (*DescribeAppOutput, error) { 7854 req, out := c.DescribeAppRequest(input) 7855 return out, req.Send() 7856 } 7857 7858 // DescribeAppWithContext is the same as DescribeApp with the addition of 7859 // the ability to pass a context and additional request options. 7860 // 7861 // See DescribeApp for details on how to use this API operation. 7862 // 7863 // The context must be non-nil and will be used for request cancellation. If 7864 // the context is nil a panic will occur. In the future the SDK may create 7865 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 7866 // for more information on using Contexts. 7867 func (c *SageMaker) DescribeAppWithContext(ctx aws.Context, input *DescribeAppInput, opts ...request.Option) (*DescribeAppOutput, error) { 7868 req, out := c.DescribeAppRequest(input) 7869 req.SetContext(ctx) 7870 req.ApplyOptions(opts...) 7871 return out, req.Send() 7872 } 7873 7874 const opDescribeAppImageConfig = "DescribeAppImageConfig" 7875 7876 // DescribeAppImageConfigRequest generates a "aws/request.Request" representing the 7877 // client's request for the DescribeAppImageConfig operation. The "output" return 7878 // value will be populated with the request's response once the request completes 7879 // successfully. 7880 // 7881 // Use "Send" method on the returned Request to send the API call to the service. 7882 // the "output" return value is not valid until after Send returns without error. 7883 // 7884 // See DescribeAppImageConfig for more information on using the DescribeAppImageConfig 7885 // API call, and error handling. 7886 // 7887 // This method is useful when you want to inject custom logic or configuration 7888 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 7889 // 7890 // 7891 // // Example sending a request using the DescribeAppImageConfigRequest method. 7892 // req, resp := client.DescribeAppImageConfigRequest(params) 7893 // 7894 // err := req.Send() 7895 // if err == nil { // resp is now filled 7896 // fmt.Println(resp) 7897 // } 7898 // 7899 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAppImageConfig 7900 func (c *SageMaker) DescribeAppImageConfigRequest(input *DescribeAppImageConfigInput) (req *request.Request, output *DescribeAppImageConfigOutput) { 7901 op := &request.Operation{ 7902 Name: opDescribeAppImageConfig, 7903 HTTPMethod: "POST", 7904 HTTPPath: "/", 7905 } 7906 7907 if input == nil { 7908 input = &DescribeAppImageConfigInput{} 7909 } 7910 7911 output = &DescribeAppImageConfigOutput{} 7912 req = c.newRequest(op, input, output) 7913 return 7914 } 7915 7916 // DescribeAppImageConfig API operation for Amazon SageMaker Service. 7917 // 7918 // Describes an AppImageConfig. 7919 // 7920 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 7921 // with awserr.Error's Code and Message methods to get detailed information about 7922 // the error. 7923 // 7924 // See the AWS API reference guide for Amazon SageMaker Service's 7925 // API operation DescribeAppImageConfig for usage and error information. 7926 // 7927 // Returned Error Types: 7928 // * ResourceNotFound 7929 // Resource being access is not found. 7930 // 7931 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAppImageConfig 7932 func (c *SageMaker) DescribeAppImageConfig(input *DescribeAppImageConfigInput) (*DescribeAppImageConfigOutput, error) { 7933 req, out := c.DescribeAppImageConfigRequest(input) 7934 return out, req.Send() 7935 } 7936 7937 // DescribeAppImageConfigWithContext is the same as DescribeAppImageConfig with the addition of 7938 // the ability to pass a context and additional request options. 7939 // 7940 // See DescribeAppImageConfig for details on how to use this API operation. 7941 // 7942 // The context must be non-nil and will be used for request cancellation. If 7943 // the context is nil a panic will occur. In the future the SDK may create 7944 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 7945 // for more information on using Contexts. 7946 func (c *SageMaker) DescribeAppImageConfigWithContext(ctx aws.Context, input *DescribeAppImageConfigInput, opts ...request.Option) (*DescribeAppImageConfigOutput, error) { 7947 req, out := c.DescribeAppImageConfigRequest(input) 7948 req.SetContext(ctx) 7949 req.ApplyOptions(opts...) 7950 return out, req.Send() 7951 } 7952 7953 const opDescribeArtifact = "DescribeArtifact" 7954 7955 // DescribeArtifactRequest generates a "aws/request.Request" representing the 7956 // client's request for the DescribeArtifact operation. The "output" return 7957 // value will be populated with the request's response once the request completes 7958 // successfully. 7959 // 7960 // Use "Send" method on the returned Request to send the API call to the service. 7961 // the "output" return value is not valid until after Send returns without error. 7962 // 7963 // See DescribeArtifact for more information on using the DescribeArtifact 7964 // API call, and error handling. 7965 // 7966 // This method is useful when you want to inject custom logic or configuration 7967 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 7968 // 7969 // 7970 // // Example sending a request using the DescribeArtifactRequest method. 7971 // req, resp := client.DescribeArtifactRequest(params) 7972 // 7973 // err := req.Send() 7974 // if err == nil { // resp is now filled 7975 // fmt.Println(resp) 7976 // } 7977 // 7978 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeArtifact 7979 func (c *SageMaker) DescribeArtifactRequest(input *DescribeArtifactInput) (req *request.Request, output *DescribeArtifactOutput) { 7980 op := &request.Operation{ 7981 Name: opDescribeArtifact, 7982 HTTPMethod: "POST", 7983 HTTPPath: "/", 7984 } 7985 7986 if input == nil { 7987 input = &DescribeArtifactInput{} 7988 } 7989 7990 output = &DescribeArtifactOutput{} 7991 req = c.newRequest(op, input, output) 7992 return 7993 } 7994 7995 // DescribeArtifact API operation for Amazon SageMaker Service. 7996 // 7997 // Describes an artifact. 7998 // 7999 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 8000 // with awserr.Error's Code and Message methods to get detailed information about 8001 // the error. 8002 // 8003 // See the AWS API reference guide for Amazon SageMaker Service's 8004 // API operation DescribeArtifact for usage and error information. 8005 // 8006 // Returned Error Types: 8007 // * ResourceNotFound 8008 // Resource being access is not found. 8009 // 8010 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeArtifact 8011 func (c *SageMaker) DescribeArtifact(input *DescribeArtifactInput) (*DescribeArtifactOutput, error) { 8012 req, out := c.DescribeArtifactRequest(input) 8013 return out, req.Send() 8014 } 8015 8016 // DescribeArtifactWithContext is the same as DescribeArtifact with the addition of 8017 // the ability to pass a context and additional request options. 8018 // 8019 // See DescribeArtifact for details on how to use this API operation. 8020 // 8021 // The context must be non-nil and will be used for request cancellation. If 8022 // the context is nil a panic will occur. In the future the SDK may create 8023 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 8024 // for more information on using Contexts. 8025 func (c *SageMaker) DescribeArtifactWithContext(ctx aws.Context, input *DescribeArtifactInput, opts ...request.Option) (*DescribeArtifactOutput, error) { 8026 req, out := c.DescribeArtifactRequest(input) 8027 req.SetContext(ctx) 8028 req.ApplyOptions(opts...) 8029 return out, req.Send() 8030 } 8031 8032 const opDescribeAutoMLJob = "DescribeAutoMLJob" 8033 8034 // DescribeAutoMLJobRequest generates a "aws/request.Request" representing the 8035 // client's request for the DescribeAutoMLJob operation. The "output" return 8036 // value will be populated with the request's response once the request completes 8037 // successfully. 8038 // 8039 // Use "Send" method on the returned Request to send the API call to the service. 8040 // the "output" return value is not valid until after Send returns without error. 8041 // 8042 // See DescribeAutoMLJob for more information on using the DescribeAutoMLJob 8043 // API call, and error handling. 8044 // 8045 // This method is useful when you want to inject custom logic or configuration 8046 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 8047 // 8048 // 8049 // // Example sending a request using the DescribeAutoMLJobRequest method. 8050 // req, resp := client.DescribeAutoMLJobRequest(params) 8051 // 8052 // err := req.Send() 8053 // if err == nil { // resp is now filled 8054 // fmt.Println(resp) 8055 // } 8056 // 8057 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAutoMLJob 8058 func (c *SageMaker) DescribeAutoMLJobRequest(input *DescribeAutoMLJobInput) (req *request.Request, output *DescribeAutoMLJobOutput) { 8059 op := &request.Operation{ 8060 Name: opDescribeAutoMLJob, 8061 HTTPMethod: "POST", 8062 HTTPPath: "/", 8063 } 8064 8065 if input == nil { 8066 input = &DescribeAutoMLJobInput{} 8067 } 8068 8069 output = &DescribeAutoMLJobOutput{} 8070 req = c.newRequest(op, input, output) 8071 return 8072 } 8073 8074 // DescribeAutoMLJob API operation for Amazon SageMaker Service. 8075 // 8076 // Returns information about an Amazon SageMaker AutoML job. 8077 // 8078 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 8079 // with awserr.Error's Code and Message methods to get detailed information about 8080 // the error. 8081 // 8082 // See the AWS API reference guide for Amazon SageMaker Service's 8083 // API operation DescribeAutoMLJob for usage and error information. 8084 // 8085 // Returned Error Types: 8086 // * ResourceNotFound 8087 // Resource being access is not found. 8088 // 8089 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAutoMLJob 8090 func (c *SageMaker) DescribeAutoMLJob(input *DescribeAutoMLJobInput) (*DescribeAutoMLJobOutput, error) { 8091 req, out := c.DescribeAutoMLJobRequest(input) 8092 return out, req.Send() 8093 } 8094 8095 // DescribeAutoMLJobWithContext is the same as DescribeAutoMLJob with the addition of 8096 // the ability to pass a context and additional request options. 8097 // 8098 // See DescribeAutoMLJob for details on how to use this API operation. 8099 // 8100 // The context must be non-nil and will be used for request cancellation. If 8101 // the context is nil a panic will occur. In the future the SDK may create 8102 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 8103 // for more information on using Contexts. 8104 func (c *SageMaker) DescribeAutoMLJobWithContext(ctx aws.Context, input *DescribeAutoMLJobInput, opts ...request.Option) (*DescribeAutoMLJobOutput, error) { 8105 req, out := c.DescribeAutoMLJobRequest(input) 8106 req.SetContext(ctx) 8107 req.ApplyOptions(opts...) 8108 return out, req.Send() 8109 } 8110 8111 const opDescribeCodeRepository = "DescribeCodeRepository" 8112 8113 // DescribeCodeRepositoryRequest generates a "aws/request.Request" representing the 8114 // client's request for the DescribeCodeRepository operation. The "output" return 8115 // value will be populated with the request's response once the request completes 8116 // successfully. 8117 // 8118 // Use "Send" method on the returned Request to send the API call to the service. 8119 // the "output" return value is not valid until after Send returns without error. 8120 // 8121 // See DescribeCodeRepository for more information on using the DescribeCodeRepository 8122 // API call, and error handling. 8123 // 8124 // This method is useful when you want to inject custom logic or configuration 8125 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 8126 // 8127 // 8128 // // Example sending a request using the DescribeCodeRepositoryRequest method. 8129 // req, resp := client.DescribeCodeRepositoryRequest(params) 8130 // 8131 // err := req.Send() 8132 // if err == nil { // resp is now filled 8133 // fmt.Println(resp) 8134 // } 8135 // 8136 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCodeRepository 8137 func (c *SageMaker) DescribeCodeRepositoryRequest(input *DescribeCodeRepositoryInput) (req *request.Request, output *DescribeCodeRepositoryOutput) { 8138 op := &request.Operation{ 8139 Name: opDescribeCodeRepository, 8140 HTTPMethod: "POST", 8141 HTTPPath: "/", 8142 } 8143 8144 if input == nil { 8145 input = &DescribeCodeRepositoryInput{} 8146 } 8147 8148 output = &DescribeCodeRepositoryOutput{} 8149 req = c.newRequest(op, input, output) 8150 return 8151 } 8152 8153 // DescribeCodeRepository API operation for Amazon SageMaker Service. 8154 // 8155 // Gets details about the specified Git repository. 8156 // 8157 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 8158 // with awserr.Error's Code and Message methods to get detailed information about 8159 // the error. 8160 // 8161 // See the AWS API reference guide for Amazon SageMaker Service's 8162 // API operation DescribeCodeRepository for usage and error information. 8163 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCodeRepository 8164 func (c *SageMaker) DescribeCodeRepository(input *DescribeCodeRepositoryInput) (*DescribeCodeRepositoryOutput, error) { 8165 req, out := c.DescribeCodeRepositoryRequest(input) 8166 return out, req.Send() 8167 } 8168 8169 // DescribeCodeRepositoryWithContext is the same as DescribeCodeRepository with the addition of 8170 // the ability to pass a context and additional request options. 8171 // 8172 // See DescribeCodeRepository for details on how to use this API operation. 8173 // 8174 // The context must be non-nil and will be used for request cancellation. If 8175 // the context is nil a panic will occur. In the future the SDK may create 8176 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 8177 // for more information on using Contexts. 8178 func (c *SageMaker) DescribeCodeRepositoryWithContext(ctx aws.Context, input *DescribeCodeRepositoryInput, opts ...request.Option) (*DescribeCodeRepositoryOutput, error) { 8179 req, out := c.DescribeCodeRepositoryRequest(input) 8180 req.SetContext(ctx) 8181 req.ApplyOptions(opts...) 8182 return out, req.Send() 8183 } 8184 8185 const opDescribeCompilationJob = "DescribeCompilationJob" 8186 8187 // DescribeCompilationJobRequest generates a "aws/request.Request" representing the 8188 // client's request for the DescribeCompilationJob operation. The "output" return 8189 // value will be populated with the request's response once the request completes 8190 // successfully. 8191 // 8192 // Use "Send" method on the returned Request to send the API call to the service. 8193 // the "output" return value is not valid until after Send returns without error. 8194 // 8195 // See DescribeCompilationJob for more information on using the DescribeCompilationJob 8196 // API call, and error handling. 8197 // 8198 // This method is useful when you want to inject custom logic or configuration 8199 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 8200 // 8201 // 8202 // // Example sending a request using the DescribeCompilationJobRequest method. 8203 // req, resp := client.DescribeCompilationJobRequest(params) 8204 // 8205 // err := req.Send() 8206 // if err == nil { // resp is now filled 8207 // fmt.Println(resp) 8208 // } 8209 // 8210 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCompilationJob 8211 func (c *SageMaker) DescribeCompilationJobRequest(input *DescribeCompilationJobInput) (req *request.Request, output *DescribeCompilationJobOutput) { 8212 op := &request.Operation{ 8213 Name: opDescribeCompilationJob, 8214 HTTPMethod: "POST", 8215 HTTPPath: "/", 8216 } 8217 8218 if input == nil { 8219 input = &DescribeCompilationJobInput{} 8220 } 8221 8222 output = &DescribeCompilationJobOutput{} 8223 req = c.newRequest(op, input, output) 8224 return 8225 } 8226 8227 // DescribeCompilationJob API operation for Amazon SageMaker Service. 8228 // 8229 // Returns information about a model compilation job. 8230 // 8231 // To create a model compilation job, use CreateCompilationJob. To get information 8232 // about multiple model compilation jobs, use ListCompilationJobs. 8233 // 8234 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 8235 // with awserr.Error's Code and Message methods to get detailed information about 8236 // the error. 8237 // 8238 // See the AWS API reference guide for Amazon SageMaker Service's 8239 // API operation DescribeCompilationJob for usage and error information. 8240 // 8241 // Returned Error Types: 8242 // * ResourceNotFound 8243 // Resource being access is not found. 8244 // 8245 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCompilationJob 8246 func (c *SageMaker) DescribeCompilationJob(input *DescribeCompilationJobInput) (*DescribeCompilationJobOutput, error) { 8247 req, out := c.DescribeCompilationJobRequest(input) 8248 return out, req.Send() 8249 } 8250 8251 // DescribeCompilationJobWithContext is the same as DescribeCompilationJob with the addition of 8252 // the ability to pass a context and additional request options. 8253 // 8254 // See DescribeCompilationJob for details on how to use this API operation. 8255 // 8256 // The context must be non-nil and will be used for request cancellation. If 8257 // the context is nil a panic will occur. In the future the SDK may create 8258 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 8259 // for more information on using Contexts. 8260 func (c *SageMaker) DescribeCompilationJobWithContext(ctx aws.Context, input *DescribeCompilationJobInput, opts ...request.Option) (*DescribeCompilationJobOutput, error) { 8261 req, out := c.DescribeCompilationJobRequest(input) 8262 req.SetContext(ctx) 8263 req.ApplyOptions(opts...) 8264 return out, req.Send() 8265 } 8266 8267 const opDescribeContext = "DescribeContext" 8268 8269 // DescribeContextRequest generates a "aws/request.Request" representing the 8270 // client's request for the DescribeContext operation. The "output" return 8271 // value will be populated with the request's response once the request completes 8272 // successfully. 8273 // 8274 // Use "Send" method on the returned Request to send the API call to the service. 8275 // the "output" return value is not valid until after Send returns without error. 8276 // 8277 // See DescribeContext for more information on using the DescribeContext 8278 // API call, and error handling. 8279 // 8280 // This method is useful when you want to inject custom logic or configuration 8281 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 8282 // 8283 // 8284 // // Example sending a request using the DescribeContextRequest method. 8285 // req, resp := client.DescribeContextRequest(params) 8286 // 8287 // err := req.Send() 8288 // if err == nil { // resp is now filled 8289 // fmt.Println(resp) 8290 // } 8291 // 8292 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeContext 8293 func (c *SageMaker) DescribeContextRequest(input *DescribeContextInput) (req *request.Request, output *DescribeContextOutput) { 8294 op := &request.Operation{ 8295 Name: opDescribeContext, 8296 HTTPMethod: "POST", 8297 HTTPPath: "/", 8298 } 8299 8300 if input == nil { 8301 input = &DescribeContextInput{} 8302 } 8303 8304 output = &DescribeContextOutput{} 8305 req = c.newRequest(op, input, output) 8306 return 8307 } 8308 8309 // DescribeContext API operation for Amazon SageMaker Service. 8310 // 8311 // Describes a context. 8312 // 8313 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 8314 // with awserr.Error's Code and Message methods to get detailed information about 8315 // the error. 8316 // 8317 // See the AWS API reference guide for Amazon SageMaker Service's 8318 // API operation DescribeContext for usage and error information. 8319 // 8320 // Returned Error Types: 8321 // * ResourceNotFound 8322 // Resource being access is not found. 8323 // 8324 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeContext 8325 func (c *SageMaker) DescribeContext(input *DescribeContextInput) (*DescribeContextOutput, error) { 8326 req, out := c.DescribeContextRequest(input) 8327 return out, req.Send() 8328 } 8329 8330 // DescribeContextWithContext is the same as DescribeContext with the addition of 8331 // the ability to pass a context and additional request options. 8332 // 8333 // See DescribeContext for details on how to use this API operation. 8334 // 8335 // The context must be non-nil and will be used for request cancellation. If 8336 // the context is nil a panic will occur. In the future the SDK may create 8337 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 8338 // for more information on using Contexts. 8339 func (c *SageMaker) DescribeContextWithContext(ctx aws.Context, input *DescribeContextInput, opts ...request.Option) (*DescribeContextOutput, error) { 8340 req, out := c.DescribeContextRequest(input) 8341 req.SetContext(ctx) 8342 req.ApplyOptions(opts...) 8343 return out, req.Send() 8344 } 8345 8346 const opDescribeDataQualityJobDefinition = "DescribeDataQualityJobDefinition" 8347 8348 // DescribeDataQualityJobDefinitionRequest generates a "aws/request.Request" representing the 8349 // client's request for the DescribeDataQualityJobDefinition operation. The "output" return 8350 // value will be populated with the request's response once the request completes 8351 // successfully. 8352 // 8353 // Use "Send" method on the returned Request to send the API call to the service. 8354 // the "output" return value is not valid until after Send returns without error. 8355 // 8356 // See DescribeDataQualityJobDefinition for more information on using the DescribeDataQualityJobDefinition 8357 // API call, and error handling. 8358 // 8359 // This method is useful when you want to inject custom logic or configuration 8360 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 8361 // 8362 // 8363 // // Example sending a request using the DescribeDataQualityJobDefinitionRequest method. 8364 // req, resp := client.DescribeDataQualityJobDefinitionRequest(params) 8365 // 8366 // err := req.Send() 8367 // if err == nil { // resp is now filled 8368 // fmt.Println(resp) 8369 // } 8370 // 8371 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDataQualityJobDefinition 8372 func (c *SageMaker) DescribeDataQualityJobDefinitionRequest(input *DescribeDataQualityJobDefinitionInput) (req *request.Request, output *DescribeDataQualityJobDefinitionOutput) { 8373 op := &request.Operation{ 8374 Name: opDescribeDataQualityJobDefinition, 8375 HTTPMethod: "POST", 8376 HTTPPath: "/", 8377 } 8378 8379 if input == nil { 8380 input = &DescribeDataQualityJobDefinitionInput{} 8381 } 8382 8383 output = &DescribeDataQualityJobDefinitionOutput{} 8384 req = c.newRequest(op, input, output) 8385 return 8386 } 8387 8388 // DescribeDataQualityJobDefinition API operation for Amazon SageMaker Service. 8389 // 8390 // Gets the details of a data quality monitoring job definition. 8391 // 8392 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 8393 // with awserr.Error's Code and Message methods to get detailed information about 8394 // the error. 8395 // 8396 // See the AWS API reference guide for Amazon SageMaker Service's 8397 // API operation DescribeDataQualityJobDefinition for usage and error information. 8398 // 8399 // Returned Error Types: 8400 // * ResourceNotFound 8401 // Resource being access is not found. 8402 // 8403 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDataQualityJobDefinition 8404 func (c *SageMaker) DescribeDataQualityJobDefinition(input *DescribeDataQualityJobDefinitionInput) (*DescribeDataQualityJobDefinitionOutput, error) { 8405 req, out := c.DescribeDataQualityJobDefinitionRequest(input) 8406 return out, req.Send() 8407 } 8408 8409 // DescribeDataQualityJobDefinitionWithContext is the same as DescribeDataQualityJobDefinition with the addition of 8410 // the ability to pass a context and additional request options. 8411 // 8412 // See DescribeDataQualityJobDefinition for details on how to use this API operation. 8413 // 8414 // The context must be non-nil and will be used for request cancellation. If 8415 // the context is nil a panic will occur. In the future the SDK may create 8416 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 8417 // for more information on using Contexts. 8418 func (c *SageMaker) DescribeDataQualityJobDefinitionWithContext(ctx aws.Context, input *DescribeDataQualityJobDefinitionInput, opts ...request.Option) (*DescribeDataQualityJobDefinitionOutput, error) { 8419 req, out := c.DescribeDataQualityJobDefinitionRequest(input) 8420 req.SetContext(ctx) 8421 req.ApplyOptions(opts...) 8422 return out, req.Send() 8423 } 8424 8425 const opDescribeDevice = "DescribeDevice" 8426 8427 // DescribeDeviceRequest generates a "aws/request.Request" representing the 8428 // client's request for the DescribeDevice operation. The "output" return 8429 // value will be populated with the request's response once the request completes 8430 // successfully. 8431 // 8432 // Use "Send" method on the returned Request to send the API call to the service. 8433 // the "output" return value is not valid until after Send returns without error. 8434 // 8435 // See DescribeDevice for more information on using the DescribeDevice 8436 // API call, and error handling. 8437 // 8438 // This method is useful when you want to inject custom logic or configuration 8439 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 8440 // 8441 // 8442 // // Example sending a request using the DescribeDeviceRequest method. 8443 // req, resp := client.DescribeDeviceRequest(params) 8444 // 8445 // err := req.Send() 8446 // if err == nil { // resp is now filled 8447 // fmt.Println(resp) 8448 // } 8449 // 8450 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDevice 8451 func (c *SageMaker) DescribeDeviceRequest(input *DescribeDeviceInput) (req *request.Request, output *DescribeDeviceOutput) { 8452 op := &request.Operation{ 8453 Name: opDescribeDevice, 8454 HTTPMethod: "POST", 8455 HTTPPath: "/", 8456 } 8457 8458 if input == nil { 8459 input = &DescribeDeviceInput{} 8460 } 8461 8462 output = &DescribeDeviceOutput{} 8463 req = c.newRequest(op, input, output) 8464 return 8465 } 8466 8467 // DescribeDevice API operation for Amazon SageMaker Service. 8468 // 8469 // Describes the device. 8470 // 8471 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 8472 // with awserr.Error's Code and Message methods to get detailed information about 8473 // the error. 8474 // 8475 // See the AWS API reference guide for Amazon SageMaker Service's 8476 // API operation DescribeDevice for usage and error information. 8477 // 8478 // Returned Error Types: 8479 // * ResourceNotFound 8480 // Resource being access is not found. 8481 // 8482 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDevice 8483 func (c *SageMaker) DescribeDevice(input *DescribeDeviceInput) (*DescribeDeviceOutput, error) { 8484 req, out := c.DescribeDeviceRequest(input) 8485 return out, req.Send() 8486 } 8487 8488 // DescribeDeviceWithContext is the same as DescribeDevice with the addition of 8489 // the ability to pass a context and additional request options. 8490 // 8491 // See DescribeDevice for details on how to use this API operation. 8492 // 8493 // The context must be non-nil and will be used for request cancellation. If 8494 // the context is nil a panic will occur. In the future the SDK may create 8495 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 8496 // for more information on using Contexts. 8497 func (c *SageMaker) DescribeDeviceWithContext(ctx aws.Context, input *DescribeDeviceInput, opts ...request.Option) (*DescribeDeviceOutput, error) { 8498 req, out := c.DescribeDeviceRequest(input) 8499 req.SetContext(ctx) 8500 req.ApplyOptions(opts...) 8501 return out, req.Send() 8502 } 8503 8504 const opDescribeDeviceFleet = "DescribeDeviceFleet" 8505 8506 // DescribeDeviceFleetRequest generates a "aws/request.Request" representing the 8507 // client's request for the DescribeDeviceFleet operation. The "output" return 8508 // value will be populated with the request's response once the request completes 8509 // successfully. 8510 // 8511 // Use "Send" method on the returned Request to send the API call to the service. 8512 // the "output" return value is not valid until after Send returns without error. 8513 // 8514 // See DescribeDeviceFleet for more information on using the DescribeDeviceFleet 8515 // API call, and error handling. 8516 // 8517 // This method is useful when you want to inject custom logic or configuration 8518 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 8519 // 8520 // 8521 // // Example sending a request using the DescribeDeviceFleetRequest method. 8522 // req, resp := client.DescribeDeviceFleetRequest(params) 8523 // 8524 // err := req.Send() 8525 // if err == nil { // resp is now filled 8526 // fmt.Println(resp) 8527 // } 8528 // 8529 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDeviceFleet 8530 func (c *SageMaker) DescribeDeviceFleetRequest(input *DescribeDeviceFleetInput) (req *request.Request, output *DescribeDeviceFleetOutput) { 8531 op := &request.Operation{ 8532 Name: opDescribeDeviceFleet, 8533 HTTPMethod: "POST", 8534 HTTPPath: "/", 8535 } 8536 8537 if input == nil { 8538 input = &DescribeDeviceFleetInput{} 8539 } 8540 8541 output = &DescribeDeviceFleetOutput{} 8542 req = c.newRequest(op, input, output) 8543 return 8544 } 8545 8546 // DescribeDeviceFleet API operation for Amazon SageMaker Service. 8547 // 8548 // A description of the fleet the device belongs to. 8549 // 8550 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 8551 // with awserr.Error's Code and Message methods to get detailed information about 8552 // the error. 8553 // 8554 // See the AWS API reference guide for Amazon SageMaker Service's 8555 // API operation DescribeDeviceFleet for usage and error information. 8556 // 8557 // Returned Error Types: 8558 // * ResourceNotFound 8559 // Resource being access is not found. 8560 // 8561 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDeviceFleet 8562 func (c *SageMaker) DescribeDeviceFleet(input *DescribeDeviceFleetInput) (*DescribeDeviceFleetOutput, error) { 8563 req, out := c.DescribeDeviceFleetRequest(input) 8564 return out, req.Send() 8565 } 8566 8567 // DescribeDeviceFleetWithContext is the same as DescribeDeviceFleet with the addition of 8568 // the ability to pass a context and additional request options. 8569 // 8570 // See DescribeDeviceFleet for details on how to use this API operation. 8571 // 8572 // The context must be non-nil and will be used for request cancellation. If 8573 // the context is nil a panic will occur. In the future the SDK may create 8574 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 8575 // for more information on using Contexts. 8576 func (c *SageMaker) DescribeDeviceFleetWithContext(ctx aws.Context, input *DescribeDeviceFleetInput, opts ...request.Option) (*DescribeDeviceFleetOutput, error) { 8577 req, out := c.DescribeDeviceFleetRequest(input) 8578 req.SetContext(ctx) 8579 req.ApplyOptions(opts...) 8580 return out, req.Send() 8581 } 8582 8583 const opDescribeDomain = "DescribeDomain" 8584 8585 // DescribeDomainRequest generates a "aws/request.Request" representing the 8586 // client's request for the DescribeDomain operation. The "output" return 8587 // value will be populated with the request's response once the request completes 8588 // successfully. 8589 // 8590 // Use "Send" method on the returned Request to send the API call to the service. 8591 // the "output" return value is not valid until after Send returns without error. 8592 // 8593 // See DescribeDomain for more information on using the DescribeDomain 8594 // API call, and error handling. 8595 // 8596 // This method is useful when you want to inject custom logic or configuration 8597 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 8598 // 8599 // 8600 // // Example sending a request using the DescribeDomainRequest method. 8601 // req, resp := client.DescribeDomainRequest(params) 8602 // 8603 // err := req.Send() 8604 // if err == nil { // resp is now filled 8605 // fmt.Println(resp) 8606 // } 8607 // 8608 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDomain 8609 func (c *SageMaker) DescribeDomainRequest(input *DescribeDomainInput) (req *request.Request, output *DescribeDomainOutput) { 8610 op := &request.Operation{ 8611 Name: opDescribeDomain, 8612 HTTPMethod: "POST", 8613 HTTPPath: "/", 8614 } 8615 8616 if input == nil { 8617 input = &DescribeDomainInput{} 8618 } 8619 8620 output = &DescribeDomainOutput{} 8621 req = c.newRequest(op, input, output) 8622 return 8623 } 8624 8625 // DescribeDomain API operation for Amazon SageMaker Service. 8626 // 8627 // The description of the domain. 8628 // 8629 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 8630 // with awserr.Error's Code and Message methods to get detailed information about 8631 // the error. 8632 // 8633 // See the AWS API reference guide for Amazon SageMaker Service's 8634 // API operation DescribeDomain for usage and error information. 8635 // 8636 // Returned Error Types: 8637 // * ResourceNotFound 8638 // Resource being access is not found. 8639 // 8640 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDomain 8641 func (c *SageMaker) DescribeDomain(input *DescribeDomainInput) (*DescribeDomainOutput, error) { 8642 req, out := c.DescribeDomainRequest(input) 8643 return out, req.Send() 8644 } 8645 8646 // DescribeDomainWithContext is the same as DescribeDomain with the addition of 8647 // the ability to pass a context and additional request options. 8648 // 8649 // See DescribeDomain for details on how to use this API operation. 8650 // 8651 // The context must be non-nil and will be used for request cancellation. If 8652 // the context is nil a panic will occur. In the future the SDK may create 8653 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 8654 // for more information on using Contexts. 8655 func (c *SageMaker) DescribeDomainWithContext(ctx aws.Context, input *DescribeDomainInput, opts ...request.Option) (*DescribeDomainOutput, error) { 8656 req, out := c.DescribeDomainRequest(input) 8657 req.SetContext(ctx) 8658 req.ApplyOptions(opts...) 8659 return out, req.Send() 8660 } 8661 8662 const opDescribeEdgePackagingJob = "DescribeEdgePackagingJob" 8663 8664 // DescribeEdgePackagingJobRequest generates a "aws/request.Request" representing the 8665 // client's request for the DescribeEdgePackagingJob operation. The "output" return 8666 // value will be populated with the request's response once the request completes 8667 // successfully. 8668 // 8669 // Use "Send" method on the returned Request to send the API call to the service. 8670 // the "output" return value is not valid until after Send returns without error. 8671 // 8672 // See DescribeEdgePackagingJob for more information on using the DescribeEdgePackagingJob 8673 // API call, and error handling. 8674 // 8675 // This method is useful when you want to inject custom logic or configuration 8676 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 8677 // 8678 // 8679 // // Example sending a request using the DescribeEdgePackagingJobRequest method. 8680 // req, resp := client.DescribeEdgePackagingJobRequest(params) 8681 // 8682 // err := req.Send() 8683 // if err == nil { // resp is now filled 8684 // fmt.Println(resp) 8685 // } 8686 // 8687 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEdgePackagingJob 8688 func (c *SageMaker) DescribeEdgePackagingJobRequest(input *DescribeEdgePackagingJobInput) (req *request.Request, output *DescribeEdgePackagingJobOutput) { 8689 op := &request.Operation{ 8690 Name: opDescribeEdgePackagingJob, 8691 HTTPMethod: "POST", 8692 HTTPPath: "/", 8693 } 8694 8695 if input == nil { 8696 input = &DescribeEdgePackagingJobInput{} 8697 } 8698 8699 output = &DescribeEdgePackagingJobOutput{} 8700 req = c.newRequest(op, input, output) 8701 return 8702 } 8703 8704 // DescribeEdgePackagingJob API operation for Amazon SageMaker Service. 8705 // 8706 // A description of edge packaging jobs. 8707 // 8708 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 8709 // with awserr.Error's Code and Message methods to get detailed information about 8710 // the error. 8711 // 8712 // See the AWS API reference guide for Amazon SageMaker Service's 8713 // API operation DescribeEdgePackagingJob for usage and error information. 8714 // 8715 // Returned Error Types: 8716 // * ResourceNotFound 8717 // Resource being access is not found. 8718 // 8719 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEdgePackagingJob 8720 func (c *SageMaker) DescribeEdgePackagingJob(input *DescribeEdgePackagingJobInput) (*DescribeEdgePackagingJobOutput, error) { 8721 req, out := c.DescribeEdgePackagingJobRequest(input) 8722 return out, req.Send() 8723 } 8724 8725 // DescribeEdgePackagingJobWithContext is the same as DescribeEdgePackagingJob with the addition of 8726 // the ability to pass a context and additional request options. 8727 // 8728 // See DescribeEdgePackagingJob for details on how to use this API operation. 8729 // 8730 // The context must be non-nil and will be used for request cancellation. If 8731 // the context is nil a panic will occur. In the future the SDK may create 8732 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 8733 // for more information on using Contexts. 8734 func (c *SageMaker) DescribeEdgePackagingJobWithContext(ctx aws.Context, input *DescribeEdgePackagingJobInput, opts ...request.Option) (*DescribeEdgePackagingJobOutput, error) { 8735 req, out := c.DescribeEdgePackagingJobRequest(input) 8736 req.SetContext(ctx) 8737 req.ApplyOptions(opts...) 8738 return out, req.Send() 8739 } 8740 8741 const opDescribeEndpoint = "DescribeEndpoint" 8742 8743 // DescribeEndpointRequest generates a "aws/request.Request" representing the 8744 // client's request for the DescribeEndpoint operation. The "output" return 8745 // value will be populated with the request's response once the request completes 8746 // successfully. 8747 // 8748 // Use "Send" method on the returned Request to send the API call to the service. 8749 // the "output" return value is not valid until after Send returns without error. 8750 // 8751 // See DescribeEndpoint for more information on using the DescribeEndpoint 8752 // API call, and error handling. 8753 // 8754 // This method is useful when you want to inject custom logic or configuration 8755 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 8756 // 8757 // 8758 // // Example sending a request using the DescribeEndpointRequest method. 8759 // req, resp := client.DescribeEndpointRequest(params) 8760 // 8761 // err := req.Send() 8762 // if err == nil { // resp is now filled 8763 // fmt.Println(resp) 8764 // } 8765 // 8766 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpoint 8767 func (c *SageMaker) DescribeEndpointRequest(input *DescribeEndpointInput) (req *request.Request, output *DescribeEndpointOutput) { 8768 op := &request.Operation{ 8769 Name: opDescribeEndpoint, 8770 HTTPMethod: "POST", 8771 HTTPPath: "/", 8772 } 8773 8774 if input == nil { 8775 input = &DescribeEndpointInput{} 8776 } 8777 8778 output = &DescribeEndpointOutput{} 8779 req = c.newRequest(op, input, output) 8780 return 8781 } 8782 8783 // DescribeEndpoint API operation for Amazon SageMaker Service. 8784 // 8785 // Returns the description of an endpoint. 8786 // 8787 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 8788 // with awserr.Error's Code and Message methods to get detailed information about 8789 // the error. 8790 // 8791 // See the AWS API reference guide for Amazon SageMaker Service's 8792 // API operation DescribeEndpoint for usage and error information. 8793 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpoint 8794 func (c *SageMaker) DescribeEndpoint(input *DescribeEndpointInput) (*DescribeEndpointOutput, error) { 8795 req, out := c.DescribeEndpointRequest(input) 8796 return out, req.Send() 8797 } 8798 8799 // DescribeEndpointWithContext is the same as DescribeEndpoint with the addition of 8800 // the ability to pass a context and additional request options. 8801 // 8802 // See DescribeEndpoint for details on how to use this API operation. 8803 // 8804 // The context must be non-nil and will be used for request cancellation. If 8805 // the context is nil a panic will occur. In the future the SDK may create 8806 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 8807 // for more information on using Contexts. 8808 func (c *SageMaker) DescribeEndpointWithContext(ctx aws.Context, input *DescribeEndpointInput, opts ...request.Option) (*DescribeEndpointOutput, error) { 8809 req, out := c.DescribeEndpointRequest(input) 8810 req.SetContext(ctx) 8811 req.ApplyOptions(opts...) 8812 return out, req.Send() 8813 } 8814 8815 const opDescribeEndpointConfig = "DescribeEndpointConfig" 8816 8817 // DescribeEndpointConfigRequest generates a "aws/request.Request" representing the 8818 // client's request for the DescribeEndpointConfig operation. The "output" return 8819 // value will be populated with the request's response once the request completes 8820 // successfully. 8821 // 8822 // Use "Send" method on the returned Request to send the API call to the service. 8823 // the "output" return value is not valid until after Send returns without error. 8824 // 8825 // See DescribeEndpointConfig for more information on using the DescribeEndpointConfig 8826 // API call, and error handling. 8827 // 8828 // This method is useful when you want to inject custom logic or configuration 8829 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 8830 // 8831 // 8832 // // Example sending a request using the DescribeEndpointConfigRequest method. 8833 // req, resp := client.DescribeEndpointConfigRequest(params) 8834 // 8835 // err := req.Send() 8836 // if err == nil { // resp is now filled 8837 // fmt.Println(resp) 8838 // } 8839 // 8840 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpointConfig 8841 func (c *SageMaker) DescribeEndpointConfigRequest(input *DescribeEndpointConfigInput) (req *request.Request, output *DescribeEndpointConfigOutput) { 8842 op := &request.Operation{ 8843 Name: opDescribeEndpointConfig, 8844 HTTPMethod: "POST", 8845 HTTPPath: "/", 8846 } 8847 8848 if input == nil { 8849 input = &DescribeEndpointConfigInput{} 8850 } 8851 8852 output = &DescribeEndpointConfigOutput{} 8853 req = c.newRequest(op, input, output) 8854 return 8855 } 8856 8857 // DescribeEndpointConfig API operation for Amazon SageMaker Service. 8858 // 8859 // Returns the description of an endpoint configuration created using the CreateEndpointConfig 8860 // API. 8861 // 8862 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 8863 // with awserr.Error's Code and Message methods to get detailed information about 8864 // the error. 8865 // 8866 // See the AWS API reference guide for Amazon SageMaker Service's 8867 // API operation DescribeEndpointConfig for usage and error information. 8868 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpointConfig 8869 func (c *SageMaker) DescribeEndpointConfig(input *DescribeEndpointConfigInput) (*DescribeEndpointConfigOutput, error) { 8870 req, out := c.DescribeEndpointConfigRequest(input) 8871 return out, req.Send() 8872 } 8873 8874 // DescribeEndpointConfigWithContext is the same as DescribeEndpointConfig with the addition of 8875 // the ability to pass a context and additional request options. 8876 // 8877 // See DescribeEndpointConfig for details on how to use this API operation. 8878 // 8879 // The context must be non-nil and will be used for request cancellation. If 8880 // the context is nil a panic will occur. In the future the SDK may create 8881 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 8882 // for more information on using Contexts. 8883 func (c *SageMaker) DescribeEndpointConfigWithContext(ctx aws.Context, input *DescribeEndpointConfigInput, opts ...request.Option) (*DescribeEndpointConfigOutput, error) { 8884 req, out := c.DescribeEndpointConfigRequest(input) 8885 req.SetContext(ctx) 8886 req.ApplyOptions(opts...) 8887 return out, req.Send() 8888 } 8889 8890 const opDescribeExperiment = "DescribeExperiment" 8891 8892 // DescribeExperimentRequest generates a "aws/request.Request" representing the 8893 // client's request for the DescribeExperiment operation. The "output" return 8894 // value will be populated with the request's response once the request completes 8895 // successfully. 8896 // 8897 // Use "Send" method on the returned Request to send the API call to the service. 8898 // the "output" return value is not valid until after Send returns without error. 8899 // 8900 // See DescribeExperiment for more information on using the DescribeExperiment 8901 // API call, and error handling. 8902 // 8903 // This method is useful when you want to inject custom logic or configuration 8904 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 8905 // 8906 // 8907 // // Example sending a request using the DescribeExperimentRequest method. 8908 // req, resp := client.DescribeExperimentRequest(params) 8909 // 8910 // err := req.Send() 8911 // if err == nil { // resp is now filled 8912 // fmt.Println(resp) 8913 // } 8914 // 8915 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeExperiment 8916 func (c *SageMaker) DescribeExperimentRequest(input *DescribeExperimentInput) (req *request.Request, output *DescribeExperimentOutput) { 8917 op := &request.Operation{ 8918 Name: opDescribeExperiment, 8919 HTTPMethod: "POST", 8920 HTTPPath: "/", 8921 } 8922 8923 if input == nil { 8924 input = &DescribeExperimentInput{} 8925 } 8926 8927 output = &DescribeExperimentOutput{} 8928 req = c.newRequest(op, input, output) 8929 return 8930 } 8931 8932 // DescribeExperiment API operation for Amazon SageMaker Service. 8933 // 8934 // Provides a list of an experiment's properties. 8935 // 8936 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 8937 // with awserr.Error's Code and Message methods to get detailed information about 8938 // the error. 8939 // 8940 // See the AWS API reference guide for Amazon SageMaker Service's 8941 // API operation DescribeExperiment for usage and error information. 8942 // 8943 // Returned Error Types: 8944 // * ResourceNotFound 8945 // Resource being access is not found. 8946 // 8947 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeExperiment 8948 func (c *SageMaker) DescribeExperiment(input *DescribeExperimentInput) (*DescribeExperimentOutput, error) { 8949 req, out := c.DescribeExperimentRequest(input) 8950 return out, req.Send() 8951 } 8952 8953 // DescribeExperimentWithContext is the same as DescribeExperiment with the addition of 8954 // the ability to pass a context and additional request options. 8955 // 8956 // See DescribeExperiment for details on how to use this API operation. 8957 // 8958 // The context must be non-nil and will be used for request cancellation. If 8959 // the context is nil a panic will occur. In the future the SDK may create 8960 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 8961 // for more information on using Contexts. 8962 func (c *SageMaker) DescribeExperimentWithContext(ctx aws.Context, input *DescribeExperimentInput, opts ...request.Option) (*DescribeExperimentOutput, error) { 8963 req, out := c.DescribeExperimentRequest(input) 8964 req.SetContext(ctx) 8965 req.ApplyOptions(opts...) 8966 return out, req.Send() 8967 } 8968 8969 const opDescribeFeatureGroup = "DescribeFeatureGroup" 8970 8971 // DescribeFeatureGroupRequest generates a "aws/request.Request" representing the 8972 // client's request for the DescribeFeatureGroup operation. The "output" return 8973 // value will be populated with the request's response once the request completes 8974 // successfully. 8975 // 8976 // Use "Send" method on the returned Request to send the API call to the service. 8977 // the "output" return value is not valid until after Send returns without error. 8978 // 8979 // See DescribeFeatureGroup for more information on using the DescribeFeatureGroup 8980 // API call, and error handling. 8981 // 8982 // This method is useful when you want to inject custom logic or configuration 8983 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 8984 // 8985 // 8986 // // Example sending a request using the DescribeFeatureGroupRequest method. 8987 // req, resp := client.DescribeFeatureGroupRequest(params) 8988 // 8989 // err := req.Send() 8990 // if err == nil { // resp is now filled 8991 // fmt.Println(resp) 8992 // } 8993 // 8994 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeFeatureGroup 8995 func (c *SageMaker) DescribeFeatureGroupRequest(input *DescribeFeatureGroupInput) (req *request.Request, output *DescribeFeatureGroupOutput) { 8996 op := &request.Operation{ 8997 Name: opDescribeFeatureGroup, 8998 HTTPMethod: "POST", 8999 HTTPPath: "/", 9000 } 9001 9002 if input == nil { 9003 input = &DescribeFeatureGroupInput{} 9004 } 9005 9006 output = &DescribeFeatureGroupOutput{} 9007 req = c.newRequest(op, input, output) 9008 return 9009 } 9010 9011 // DescribeFeatureGroup API operation for Amazon SageMaker Service. 9012 // 9013 // Use this operation to describe a FeatureGroup. The response includes information 9014 // on the creation time, FeatureGroup name, the unique identifier for each FeatureGroup, 9015 // and more. 9016 // 9017 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 9018 // with awserr.Error's Code and Message methods to get detailed information about 9019 // the error. 9020 // 9021 // See the AWS API reference guide for Amazon SageMaker Service's 9022 // API operation DescribeFeatureGroup for usage and error information. 9023 // 9024 // Returned Error Types: 9025 // * ResourceNotFound 9026 // Resource being access is not found. 9027 // 9028 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeFeatureGroup 9029 func (c *SageMaker) DescribeFeatureGroup(input *DescribeFeatureGroupInput) (*DescribeFeatureGroupOutput, error) { 9030 req, out := c.DescribeFeatureGroupRequest(input) 9031 return out, req.Send() 9032 } 9033 9034 // DescribeFeatureGroupWithContext is the same as DescribeFeatureGroup with the addition of 9035 // the ability to pass a context and additional request options. 9036 // 9037 // See DescribeFeatureGroup for details on how to use this API operation. 9038 // 9039 // The context must be non-nil and will be used for request cancellation. If 9040 // the context is nil a panic will occur. In the future the SDK may create 9041 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 9042 // for more information on using Contexts. 9043 func (c *SageMaker) DescribeFeatureGroupWithContext(ctx aws.Context, input *DescribeFeatureGroupInput, opts ...request.Option) (*DescribeFeatureGroupOutput, error) { 9044 req, out := c.DescribeFeatureGroupRequest(input) 9045 req.SetContext(ctx) 9046 req.ApplyOptions(opts...) 9047 return out, req.Send() 9048 } 9049 9050 const opDescribeFlowDefinition = "DescribeFlowDefinition" 9051 9052 // DescribeFlowDefinitionRequest generates a "aws/request.Request" representing the 9053 // client's request for the DescribeFlowDefinition operation. The "output" return 9054 // value will be populated with the request's response once the request completes 9055 // successfully. 9056 // 9057 // Use "Send" method on the returned Request to send the API call to the service. 9058 // the "output" return value is not valid until after Send returns without error. 9059 // 9060 // See DescribeFlowDefinition for more information on using the DescribeFlowDefinition 9061 // API call, and error handling. 9062 // 9063 // This method is useful when you want to inject custom logic or configuration 9064 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 9065 // 9066 // 9067 // // Example sending a request using the DescribeFlowDefinitionRequest method. 9068 // req, resp := client.DescribeFlowDefinitionRequest(params) 9069 // 9070 // err := req.Send() 9071 // if err == nil { // resp is now filled 9072 // fmt.Println(resp) 9073 // } 9074 // 9075 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeFlowDefinition 9076 func (c *SageMaker) DescribeFlowDefinitionRequest(input *DescribeFlowDefinitionInput) (req *request.Request, output *DescribeFlowDefinitionOutput) { 9077 op := &request.Operation{ 9078 Name: opDescribeFlowDefinition, 9079 HTTPMethod: "POST", 9080 HTTPPath: "/", 9081 } 9082 9083 if input == nil { 9084 input = &DescribeFlowDefinitionInput{} 9085 } 9086 9087 output = &DescribeFlowDefinitionOutput{} 9088 req = c.newRequest(op, input, output) 9089 return 9090 } 9091 9092 // DescribeFlowDefinition API operation for Amazon SageMaker Service. 9093 // 9094 // Returns information about the specified flow definition. 9095 // 9096 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 9097 // with awserr.Error's Code and Message methods to get detailed information about 9098 // the error. 9099 // 9100 // See the AWS API reference guide for Amazon SageMaker Service's 9101 // API operation DescribeFlowDefinition for usage and error information. 9102 // 9103 // Returned Error Types: 9104 // * ResourceNotFound 9105 // Resource being access is not found. 9106 // 9107 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeFlowDefinition 9108 func (c *SageMaker) DescribeFlowDefinition(input *DescribeFlowDefinitionInput) (*DescribeFlowDefinitionOutput, error) { 9109 req, out := c.DescribeFlowDefinitionRequest(input) 9110 return out, req.Send() 9111 } 9112 9113 // DescribeFlowDefinitionWithContext is the same as DescribeFlowDefinition with the addition of 9114 // the ability to pass a context and additional request options. 9115 // 9116 // See DescribeFlowDefinition for details on how to use this API operation. 9117 // 9118 // The context must be non-nil and will be used for request cancellation. If 9119 // the context is nil a panic will occur. In the future the SDK may create 9120 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 9121 // for more information on using Contexts. 9122 func (c *SageMaker) DescribeFlowDefinitionWithContext(ctx aws.Context, input *DescribeFlowDefinitionInput, opts ...request.Option) (*DescribeFlowDefinitionOutput, error) { 9123 req, out := c.DescribeFlowDefinitionRequest(input) 9124 req.SetContext(ctx) 9125 req.ApplyOptions(opts...) 9126 return out, req.Send() 9127 } 9128 9129 const opDescribeHumanTaskUi = "DescribeHumanTaskUi" 9130 9131 // DescribeHumanTaskUiRequest generates a "aws/request.Request" representing the 9132 // client's request for the DescribeHumanTaskUi operation. The "output" return 9133 // value will be populated with the request's response once the request completes 9134 // successfully. 9135 // 9136 // Use "Send" method on the returned Request to send the API call to the service. 9137 // the "output" return value is not valid until after Send returns without error. 9138 // 9139 // See DescribeHumanTaskUi for more information on using the DescribeHumanTaskUi 9140 // API call, and error handling. 9141 // 9142 // This method is useful when you want to inject custom logic or configuration 9143 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 9144 // 9145 // 9146 // // Example sending a request using the DescribeHumanTaskUiRequest method. 9147 // req, resp := client.DescribeHumanTaskUiRequest(params) 9148 // 9149 // err := req.Send() 9150 // if err == nil { // resp is now filled 9151 // fmt.Println(resp) 9152 // } 9153 // 9154 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHumanTaskUi 9155 func (c *SageMaker) DescribeHumanTaskUiRequest(input *DescribeHumanTaskUiInput) (req *request.Request, output *DescribeHumanTaskUiOutput) { 9156 op := &request.Operation{ 9157 Name: opDescribeHumanTaskUi, 9158 HTTPMethod: "POST", 9159 HTTPPath: "/", 9160 } 9161 9162 if input == nil { 9163 input = &DescribeHumanTaskUiInput{} 9164 } 9165 9166 output = &DescribeHumanTaskUiOutput{} 9167 req = c.newRequest(op, input, output) 9168 return 9169 } 9170 9171 // DescribeHumanTaskUi API operation for Amazon SageMaker Service. 9172 // 9173 // Returns information about the requested human task user interface (worker 9174 // task template). 9175 // 9176 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 9177 // with awserr.Error's Code and Message methods to get detailed information about 9178 // the error. 9179 // 9180 // See the AWS API reference guide for Amazon SageMaker Service's 9181 // API operation DescribeHumanTaskUi for usage and error information. 9182 // 9183 // Returned Error Types: 9184 // * ResourceNotFound 9185 // Resource being access is not found. 9186 // 9187 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHumanTaskUi 9188 func (c *SageMaker) DescribeHumanTaskUi(input *DescribeHumanTaskUiInput) (*DescribeHumanTaskUiOutput, error) { 9189 req, out := c.DescribeHumanTaskUiRequest(input) 9190 return out, req.Send() 9191 } 9192 9193 // DescribeHumanTaskUiWithContext is the same as DescribeHumanTaskUi with the addition of 9194 // the ability to pass a context and additional request options. 9195 // 9196 // See DescribeHumanTaskUi for details on how to use this API operation. 9197 // 9198 // The context must be non-nil and will be used for request cancellation. If 9199 // the context is nil a panic will occur. In the future the SDK may create 9200 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 9201 // for more information on using Contexts. 9202 func (c *SageMaker) DescribeHumanTaskUiWithContext(ctx aws.Context, input *DescribeHumanTaskUiInput, opts ...request.Option) (*DescribeHumanTaskUiOutput, error) { 9203 req, out := c.DescribeHumanTaskUiRequest(input) 9204 req.SetContext(ctx) 9205 req.ApplyOptions(opts...) 9206 return out, req.Send() 9207 } 9208 9209 const opDescribeHyperParameterTuningJob = "DescribeHyperParameterTuningJob" 9210 9211 // DescribeHyperParameterTuningJobRequest generates a "aws/request.Request" representing the 9212 // client's request for the DescribeHyperParameterTuningJob operation. The "output" return 9213 // value will be populated with the request's response once the request completes 9214 // successfully. 9215 // 9216 // Use "Send" method on the returned Request to send the API call to the service. 9217 // the "output" return value is not valid until after Send returns without error. 9218 // 9219 // See DescribeHyperParameterTuningJob for more information on using the DescribeHyperParameterTuningJob 9220 // API call, and error handling. 9221 // 9222 // This method is useful when you want to inject custom logic or configuration 9223 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 9224 // 9225 // 9226 // // Example sending a request using the DescribeHyperParameterTuningJobRequest method. 9227 // req, resp := client.DescribeHyperParameterTuningJobRequest(params) 9228 // 9229 // err := req.Send() 9230 // if err == nil { // resp is now filled 9231 // fmt.Println(resp) 9232 // } 9233 // 9234 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHyperParameterTuningJob 9235 func (c *SageMaker) DescribeHyperParameterTuningJobRequest(input *DescribeHyperParameterTuningJobInput) (req *request.Request, output *DescribeHyperParameterTuningJobOutput) { 9236 op := &request.Operation{ 9237 Name: opDescribeHyperParameterTuningJob, 9238 HTTPMethod: "POST", 9239 HTTPPath: "/", 9240 } 9241 9242 if input == nil { 9243 input = &DescribeHyperParameterTuningJobInput{} 9244 } 9245 9246 output = &DescribeHyperParameterTuningJobOutput{} 9247 req = c.newRequest(op, input, output) 9248 return 9249 } 9250 9251 // DescribeHyperParameterTuningJob API operation for Amazon SageMaker Service. 9252 // 9253 // Gets a description of a hyperparameter tuning job. 9254 // 9255 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 9256 // with awserr.Error's Code and Message methods to get detailed information about 9257 // the error. 9258 // 9259 // See the AWS API reference guide for Amazon SageMaker Service's 9260 // API operation DescribeHyperParameterTuningJob for usage and error information. 9261 // 9262 // Returned Error Types: 9263 // * ResourceNotFound 9264 // Resource being access is not found. 9265 // 9266 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHyperParameterTuningJob 9267 func (c *SageMaker) DescribeHyperParameterTuningJob(input *DescribeHyperParameterTuningJobInput) (*DescribeHyperParameterTuningJobOutput, error) { 9268 req, out := c.DescribeHyperParameterTuningJobRequest(input) 9269 return out, req.Send() 9270 } 9271 9272 // DescribeHyperParameterTuningJobWithContext is the same as DescribeHyperParameterTuningJob with the addition of 9273 // the ability to pass a context and additional request options. 9274 // 9275 // See DescribeHyperParameterTuningJob for details on how to use this API operation. 9276 // 9277 // The context must be non-nil and will be used for request cancellation. If 9278 // the context is nil a panic will occur. In the future the SDK may create 9279 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 9280 // for more information on using Contexts. 9281 func (c *SageMaker) DescribeHyperParameterTuningJobWithContext(ctx aws.Context, input *DescribeHyperParameterTuningJobInput, opts ...request.Option) (*DescribeHyperParameterTuningJobOutput, error) { 9282 req, out := c.DescribeHyperParameterTuningJobRequest(input) 9283 req.SetContext(ctx) 9284 req.ApplyOptions(opts...) 9285 return out, req.Send() 9286 } 9287 9288 const opDescribeImage = "DescribeImage" 9289 9290 // DescribeImageRequest generates a "aws/request.Request" representing the 9291 // client's request for the DescribeImage operation. The "output" return 9292 // value will be populated with the request's response once the request completes 9293 // successfully. 9294 // 9295 // Use "Send" method on the returned Request to send the API call to the service. 9296 // the "output" return value is not valid until after Send returns without error. 9297 // 9298 // See DescribeImage for more information on using the DescribeImage 9299 // API call, and error handling. 9300 // 9301 // This method is useful when you want to inject custom logic or configuration 9302 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 9303 // 9304 // 9305 // // Example sending a request using the DescribeImageRequest method. 9306 // req, resp := client.DescribeImageRequest(params) 9307 // 9308 // err := req.Send() 9309 // if err == nil { // resp is now filled 9310 // fmt.Println(resp) 9311 // } 9312 // 9313 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeImage 9314 func (c *SageMaker) DescribeImageRequest(input *DescribeImageInput) (req *request.Request, output *DescribeImageOutput) { 9315 op := &request.Operation{ 9316 Name: opDescribeImage, 9317 HTTPMethod: "POST", 9318 HTTPPath: "/", 9319 } 9320 9321 if input == nil { 9322 input = &DescribeImageInput{} 9323 } 9324 9325 output = &DescribeImageOutput{} 9326 req = c.newRequest(op, input, output) 9327 return 9328 } 9329 9330 // DescribeImage API operation for Amazon SageMaker Service. 9331 // 9332 // Describes a SageMaker image. 9333 // 9334 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 9335 // with awserr.Error's Code and Message methods to get detailed information about 9336 // the error. 9337 // 9338 // See the AWS API reference guide for Amazon SageMaker Service's 9339 // API operation DescribeImage for usage and error information. 9340 // 9341 // Returned Error Types: 9342 // * ResourceNotFound 9343 // Resource being access is not found. 9344 // 9345 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeImage 9346 func (c *SageMaker) DescribeImage(input *DescribeImageInput) (*DescribeImageOutput, error) { 9347 req, out := c.DescribeImageRequest(input) 9348 return out, req.Send() 9349 } 9350 9351 // DescribeImageWithContext is the same as DescribeImage with the addition of 9352 // the ability to pass a context and additional request options. 9353 // 9354 // See DescribeImage for details on how to use this API operation. 9355 // 9356 // The context must be non-nil and will be used for request cancellation. If 9357 // the context is nil a panic will occur. In the future the SDK may create 9358 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 9359 // for more information on using Contexts. 9360 func (c *SageMaker) DescribeImageWithContext(ctx aws.Context, input *DescribeImageInput, opts ...request.Option) (*DescribeImageOutput, error) { 9361 req, out := c.DescribeImageRequest(input) 9362 req.SetContext(ctx) 9363 req.ApplyOptions(opts...) 9364 return out, req.Send() 9365 } 9366 9367 const opDescribeImageVersion = "DescribeImageVersion" 9368 9369 // DescribeImageVersionRequest generates a "aws/request.Request" representing the 9370 // client's request for the DescribeImageVersion operation. The "output" return 9371 // value will be populated with the request's response once the request completes 9372 // successfully. 9373 // 9374 // Use "Send" method on the returned Request to send the API call to the service. 9375 // the "output" return value is not valid until after Send returns without error. 9376 // 9377 // See DescribeImageVersion for more information on using the DescribeImageVersion 9378 // API call, and error handling. 9379 // 9380 // This method is useful when you want to inject custom logic or configuration 9381 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 9382 // 9383 // 9384 // // Example sending a request using the DescribeImageVersionRequest method. 9385 // req, resp := client.DescribeImageVersionRequest(params) 9386 // 9387 // err := req.Send() 9388 // if err == nil { // resp is now filled 9389 // fmt.Println(resp) 9390 // } 9391 // 9392 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeImageVersion 9393 func (c *SageMaker) DescribeImageVersionRequest(input *DescribeImageVersionInput) (req *request.Request, output *DescribeImageVersionOutput) { 9394 op := &request.Operation{ 9395 Name: opDescribeImageVersion, 9396 HTTPMethod: "POST", 9397 HTTPPath: "/", 9398 } 9399 9400 if input == nil { 9401 input = &DescribeImageVersionInput{} 9402 } 9403 9404 output = &DescribeImageVersionOutput{} 9405 req = c.newRequest(op, input, output) 9406 return 9407 } 9408 9409 // DescribeImageVersion API operation for Amazon SageMaker Service. 9410 // 9411 // Describes a version of a SageMaker image. 9412 // 9413 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 9414 // with awserr.Error's Code and Message methods to get detailed information about 9415 // the error. 9416 // 9417 // See the AWS API reference guide for Amazon SageMaker Service's 9418 // API operation DescribeImageVersion for usage and error information. 9419 // 9420 // Returned Error Types: 9421 // * ResourceNotFound 9422 // Resource being access is not found. 9423 // 9424 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeImageVersion 9425 func (c *SageMaker) DescribeImageVersion(input *DescribeImageVersionInput) (*DescribeImageVersionOutput, error) { 9426 req, out := c.DescribeImageVersionRequest(input) 9427 return out, req.Send() 9428 } 9429 9430 // DescribeImageVersionWithContext is the same as DescribeImageVersion with the addition of 9431 // the ability to pass a context and additional request options. 9432 // 9433 // See DescribeImageVersion for details on how to use this API operation. 9434 // 9435 // The context must be non-nil and will be used for request cancellation. If 9436 // the context is nil a panic will occur. In the future the SDK may create 9437 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 9438 // for more information on using Contexts. 9439 func (c *SageMaker) DescribeImageVersionWithContext(ctx aws.Context, input *DescribeImageVersionInput, opts ...request.Option) (*DescribeImageVersionOutput, error) { 9440 req, out := c.DescribeImageVersionRequest(input) 9441 req.SetContext(ctx) 9442 req.ApplyOptions(opts...) 9443 return out, req.Send() 9444 } 9445 9446 const opDescribeLabelingJob = "DescribeLabelingJob" 9447 9448 // DescribeLabelingJobRequest generates a "aws/request.Request" representing the 9449 // client's request for the DescribeLabelingJob operation. The "output" return 9450 // value will be populated with the request's response once the request completes 9451 // successfully. 9452 // 9453 // Use "Send" method on the returned Request to send the API call to the service. 9454 // the "output" return value is not valid until after Send returns without error. 9455 // 9456 // See DescribeLabelingJob for more information on using the DescribeLabelingJob 9457 // API call, and error handling. 9458 // 9459 // This method is useful when you want to inject custom logic or configuration 9460 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 9461 // 9462 // 9463 // // Example sending a request using the DescribeLabelingJobRequest method. 9464 // req, resp := client.DescribeLabelingJobRequest(params) 9465 // 9466 // err := req.Send() 9467 // if err == nil { // resp is now filled 9468 // fmt.Println(resp) 9469 // } 9470 // 9471 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeLabelingJob 9472 func (c *SageMaker) DescribeLabelingJobRequest(input *DescribeLabelingJobInput) (req *request.Request, output *DescribeLabelingJobOutput) { 9473 op := &request.Operation{ 9474 Name: opDescribeLabelingJob, 9475 HTTPMethod: "POST", 9476 HTTPPath: "/", 9477 } 9478 9479 if input == nil { 9480 input = &DescribeLabelingJobInput{} 9481 } 9482 9483 output = &DescribeLabelingJobOutput{} 9484 req = c.newRequest(op, input, output) 9485 return 9486 } 9487 9488 // DescribeLabelingJob API operation for Amazon SageMaker Service. 9489 // 9490 // Gets information about a labeling job. 9491 // 9492 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 9493 // with awserr.Error's Code and Message methods to get detailed information about 9494 // the error. 9495 // 9496 // See the AWS API reference guide for Amazon SageMaker Service's 9497 // API operation DescribeLabelingJob for usage and error information. 9498 // 9499 // Returned Error Types: 9500 // * ResourceNotFound 9501 // Resource being access is not found. 9502 // 9503 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeLabelingJob 9504 func (c *SageMaker) DescribeLabelingJob(input *DescribeLabelingJobInput) (*DescribeLabelingJobOutput, error) { 9505 req, out := c.DescribeLabelingJobRequest(input) 9506 return out, req.Send() 9507 } 9508 9509 // DescribeLabelingJobWithContext is the same as DescribeLabelingJob with the addition of 9510 // the ability to pass a context and additional request options. 9511 // 9512 // See DescribeLabelingJob for details on how to use this API operation. 9513 // 9514 // The context must be non-nil and will be used for request cancellation. If 9515 // the context is nil a panic will occur. In the future the SDK may create 9516 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 9517 // for more information on using Contexts. 9518 func (c *SageMaker) DescribeLabelingJobWithContext(ctx aws.Context, input *DescribeLabelingJobInput, opts ...request.Option) (*DescribeLabelingJobOutput, error) { 9519 req, out := c.DescribeLabelingJobRequest(input) 9520 req.SetContext(ctx) 9521 req.ApplyOptions(opts...) 9522 return out, req.Send() 9523 } 9524 9525 const opDescribeModel = "DescribeModel" 9526 9527 // DescribeModelRequest generates a "aws/request.Request" representing the 9528 // client's request for the DescribeModel operation. The "output" return 9529 // value will be populated with the request's response once the request completes 9530 // successfully. 9531 // 9532 // Use "Send" method on the returned Request to send the API call to the service. 9533 // the "output" return value is not valid until after Send returns without error. 9534 // 9535 // See DescribeModel for more information on using the DescribeModel 9536 // API call, and error handling. 9537 // 9538 // This method is useful when you want to inject custom logic or configuration 9539 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 9540 // 9541 // 9542 // // Example sending a request using the DescribeModelRequest method. 9543 // req, resp := client.DescribeModelRequest(params) 9544 // 9545 // err := req.Send() 9546 // if err == nil { // resp is now filled 9547 // fmt.Println(resp) 9548 // } 9549 // 9550 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModel 9551 func (c *SageMaker) DescribeModelRequest(input *DescribeModelInput) (req *request.Request, output *DescribeModelOutput) { 9552 op := &request.Operation{ 9553 Name: opDescribeModel, 9554 HTTPMethod: "POST", 9555 HTTPPath: "/", 9556 } 9557 9558 if input == nil { 9559 input = &DescribeModelInput{} 9560 } 9561 9562 output = &DescribeModelOutput{} 9563 req = c.newRequest(op, input, output) 9564 return 9565 } 9566 9567 // DescribeModel API operation for Amazon SageMaker Service. 9568 // 9569 // Describes a model that you created using the CreateModel API. 9570 // 9571 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 9572 // with awserr.Error's Code and Message methods to get detailed information about 9573 // the error. 9574 // 9575 // See the AWS API reference guide for Amazon SageMaker Service's 9576 // API operation DescribeModel for usage and error information. 9577 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModel 9578 func (c *SageMaker) DescribeModel(input *DescribeModelInput) (*DescribeModelOutput, error) { 9579 req, out := c.DescribeModelRequest(input) 9580 return out, req.Send() 9581 } 9582 9583 // DescribeModelWithContext is the same as DescribeModel with the addition of 9584 // the ability to pass a context and additional request options. 9585 // 9586 // See DescribeModel for details on how to use this API operation. 9587 // 9588 // The context must be non-nil and will be used for request cancellation. If 9589 // the context is nil a panic will occur. In the future the SDK may create 9590 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 9591 // for more information on using Contexts. 9592 func (c *SageMaker) DescribeModelWithContext(ctx aws.Context, input *DescribeModelInput, opts ...request.Option) (*DescribeModelOutput, error) { 9593 req, out := c.DescribeModelRequest(input) 9594 req.SetContext(ctx) 9595 req.ApplyOptions(opts...) 9596 return out, req.Send() 9597 } 9598 9599 const opDescribeModelBiasJobDefinition = "DescribeModelBiasJobDefinition" 9600 9601 // DescribeModelBiasJobDefinitionRequest generates a "aws/request.Request" representing the 9602 // client's request for the DescribeModelBiasJobDefinition operation. The "output" return 9603 // value will be populated with the request's response once the request completes 9604 // successfully. 9605 // 9606 // Use "Send" method on the returned Request to send the API call to the service. 9607 // the "output" return value is not valid until after Send returns without error. 9608 // 9609 // See DescribeModelBiasJobDefinition for more information on using the DescribeModelBiasJobDefinition 9610 // API call, and error handling. 9611 // 9612 // This method is useful when you want to inject custom logic or configuration 9613 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 9614 // 9615 // 9616 // // Example sending a request using the DescribeModelBiasJobDefinitionRequest method. 9617 // req, resp := client.DescribeModelBiasJobDefinitionRequest(params) 9618 // 9619 // err := req.Send() 9620 // if err == nil { // resp is now filled 9621 // fmt.Println(resp) 9622 // } 9623 // 9624 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelBiasJobDefinition 9625 func (c *SageMaker) DescribeModelBiasJobDefinitionRequest(input *DescribeModelBiasJobDefinitionInput) (req *request.Request, output *DescribeModelBiasJobDefinitionOutput) { 9626 op := &request.Operation{ 9627 Name: opDescribeModelBiasJobDefinition, 9628 HTTPMethod: "POST", 9629 HTTPPath: "/", 9630 } 9631 9632 if input == nil { 9633 input = &DescribeModelBiasJobDefinitionInput{} 9634 } 9635 9636 output = &DescribeModelBiasJobDefinitionOutput{} 9637 req = c.newRequest(op, input, output) 9638 return 9639 } 9640 9641 // DescribeModelBiasJobDefinition API operation for Amazon SageMaker Service. 9642 // 9643 // Returns a description of a model bias job definition. 9644 // 9645 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 9646 // with awserr.Error's Code and Message methods to get detailed information about 9647 // the error. 9648 // 9649 // See the AWS API reference guide for Amazon SageMaker Service's 9650 // API operation DescribeModelBiasJobDefinition for usage and error information. 9651 // 9652 // Returned Error Types: 9653 // * ResourceNotFound 9654 // Resource being access is not found. 9655 // 9656 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelBiasJobDefinition 9657 func (c *SageMaker) DescribeModelBiasJobDefinition(input *DescribeModelBiasJobDefinitionInput) (*DescribeModelBiasJobDefinitionOutput, error) { 9658 req, out := c.DescribeModelBiasJobDefinitionRequest(input) 9659 return out, req.Send() 9660 } 9661 9662 // DescribeModelBiasJobDefinitionWithContext is the same as DescribeModelBiasJobDefinition with the addition of 9663 // the ability to pass a context and additional request options. 9664 // 9665 // See DescribeModelBiasJobDefinition for details on how to use this API operation. 9666 // 9667 // The context must be non-nil and will be used for request cancellation. If 9668 // the context is nil a panic will occur. In the future the SDK may create 9669 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 9670 // for more information on using Contexts. 9671 func (c *SageMaker) DescribeModelBiasJobDefinitionWithContext(ctx aws.Context, input *DescribeModelBiasJobDefinitionInput, opts ...request.Option) (*DescribeModelBiasJobDefinitionOutput, error) { 9672 req, out := c.DescribeModelBiasJobDefinitionRequest(input) 9673 req.SetContext(ctx) 9674 req.ApplyOptions(opts...) 9675 return out, req.Send() 9676 } 9677 9678 const opDescribeModelExplainabilityJobDefinition = "DescribeModelExplainabilityJobDefinition" 9679 9680 // DescribeModelExplainabilityJobDefinitionRequest generates a "aws/request.Request" representing the 9681 // client's request for the DescribeModelExplainabilityJobDefinition operation. The "output" return 9682 // value will be populated with the request's response once the request completes 9683 // successfully. 9684 // 9685 // Use "Send" method on the returned Request to send the API call to the service. 9686 // the "output" return value is not valid until after Send returns without error. 9687 // 9688 // See DescribeModelExplainabilityJobDefinition for more information on using the DescribeModelExplainabilityJobDefinition 9689 // API call, and error handling. 9690 // 9691 // This method is useful when you want to inject custom logic or configuration 9692 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 9693 // 9694 // 9695 // // Example sending a request using the DescribeModelExplainabilityJobDefinitionRequest method. 9696 // req, resp := client.DescribeModelExplainabilityJobDefinitionRequest(params) 9697 // 9698 // err := req.Send() 9699 // if err == nil { // resp is now filled 9700 // fmt.Println(resp) 9701 // } 9702 // 9703 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelExplainabilityJobDefinition 9704 func (c *SageMaker) DescribeModelExplainabilityJobDefinitionRequest(input *DescribeModelExplainabilityJobDefinitionInput) (req *request.Request, output *DescribeModelExplainabilityJobDefinitionOutput) { 9705 op := &request.Operation{ 9706 Name: opDescribeModelExplainabilityJobDefinition, 9707 HTTPMethod: "POST", 9708 HTTPPath: "/", 9709 } 9710 9711 if input == nil { 9712 input = &DescribeModelExplainabilityJobDefinitionInput{} 9713 } 9714 9715 output = &DescribeModelExplainabilityJobDefinitionOutput{} 9716 req = c.newRequest(op, input, output) 9717 return 9718 } 9719 9720 // DescribeModelExplainabilityJobDefinition API operation for Amazon SageMaker Service. 9721 // 9722 // Returns a description of a model explainability job definition. 9723 // 9724 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 9725 // with awserr.Error's Code and Message methods to get detailed information about 9726 // the error. 9727 // 9728 // See the AWS API reference guide for Amazon SageMaker Service's 9729 // API operation DescribeModelExplainabilityJobDefinition for usage and error information. 9730 // 9731 // Returned Error Types: 9732 // * ResourceNotFound 9733 // Resource being access is not found. 9734 // 9735 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelExplainabilityJobDefinition 9736 func (c *SageMaker) DescribeModelExplainabilityJobDefinition(input *DescribeModelExplainabilityJobDefinitionInput) (*DescribeModelExplainabilityJobDefinitionOutput, error) { 9737 req, out := c.DescribeModelExplainabilityJobDefinitionRequest(input) 9738 return out, req.Send() 9739 } 9740 9741 // DescribeModelExplainabilityJobDefinitionWithContext is the same as DescribeModelExplainabilityJobDefinition with the addition of 9742 // the ability to pass a context and additional request options. 9743 // 9744 // See DescribeModelExplainabilityJobDefinition for details on how to use this API operation. 9745 // 9746 // The context must be non-nil and will be used for request cancellation. If 9747 // the context is nil a panic will occur. In the future the SDK may create 9748 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 9749 // for more information on using Contexts. 9750 func (c *SageMaker) DescribeModelExplainabilityJobDefinitionWithContext(ctx aws.Context, input *DescribeModelExplainabilityJobDefinitionInput, opts ...request.Option) (*DescribeModelExplainabilityJobDefinitionOutput, error) { 9751 req, out := c.DescribeModelExplainabilityJobDefinitionRequest(input) 9752 req.SetContext(ctx) 9753 req.ApplyOptions(opts...) 9754 return out, req.Send() 9755 } 9756 9757 const opDescribeModelPackage = "DescribeModelPackage" 9758 9759 // DescribeModelPackageRequest generates a "aws/request.Request" representing the 9760 // client's request for the DescribeModelPackage operation. The "output" return 9761 // value will be populated with the request's response once the request completes 9762 // successfully. 9763 // 9764 // Use "Send" method on the returned Request to send the API call to the service. 9765 // the "output" return value is not valid until after Send returns without error. 9766 // 9767 // See DescribeModelPackage for more information on using the DescribeModelPackage 9768 // API call, and error handling. 9769 // 9770 // This method is useful when you want to inject custom logic or configuration 9771 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 9772 // 9773 // 9774 // // Example sending a request using the DescribeModelPackageRequest method. 9775 // req, resp := client.DescribeModelPackageRequest(params) 9776 // 9777 // err := req.Send() 9778 // if err == nil { // resp is now filled 9779 // fmt.Println(resp) 9780 // } 9781 // 9782 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelPackage 9783 func (c *SageMaker) DescribeModelPackageRequest(input *DescribeModelPackageInput) (req *request.Request, output *DescribeModelPackageOutput) { 9784 op := &request.Operation{ 9785 Name: opDescribeModelPackage, 9786 HTTPMethod: "POST", 9787 HTTPPath: "/", 9788 } 9789 9790 if input == nil { 9791 input = &DescribeModelPackageInput{} 9792 } 9793 9794 output = &DescribeModelPackageOutput{} 9795 req = c.newRequest(op, input, output) 9796 return 9797 } 9798 9799 // DescribeModelPackage API operation for Amazon SageMaker Service. 9800 // 9801 // Returns a description of the specified model package, which is used to create 9802 // Amazon SageMaker models or list them on Amazon Web Services Marketplace. 9803 // 9804 // To create models in Amazon SageMaker, buyers can subscribe to model packages 9805 // listed on Amazon Web Services Marketplace. 9806 // 9807 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 9808 // with awserr.Error's Code and Message methods to get detailed information about 9809 // the error. 9810 // 9811 // See the AWS API reference guide for Amazon SageMaker Service's 9812 // API operation DescribeModelPackage for usage and error information. 9813 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelPackage 9814 func (c *SageMaker) DescribeModelPackage(input *DescribeModelPackageInput) (*DescribeModelPackageOutput, error) { 9815 req, out := c.DescribeModelPackageRequest(input) 9816 return out, req.Send() 9817 } 9818 9819 // DescribeModelPackageWithContext is the same as DescribeModelPackage with the addition of 9820 // the ability to pass a context and additional request options. 9821 // 9822 // See DescribeModelPackage for details on how to use this API operation. 9823 // 9824 // The context must be non-nil and will be used for request cancellation. If 9825 // the context is nil a panic will occur. In the future the SDK may create 9826 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 9827 // for more information on using Contexts. 9828 func (c *SageMaker) DescribeModelPackageWithContext(ctx aws.Context, input *DescribeModelPackageInput, opts ...request.Option) (*DescribeModelPackageOutput, error) { 9829 req, out := c.DescribeModelPackageRequest(input) 9830 req.SetContext(ctx) 9831 req.ApplyOptions(opts...) 9832 return out, req.Send() 9833 } 9834 9835 const opDescribeModelPackageGroup = "DescribeModelPackageGroup" 9836 9837 // DescribeModelPackageGroupRequest generates a "aws/request.Request" representing the 9838 // client's request for the DescribeModelPackageGroup operation. The "output" return 9839 // value will be populated with the request's response once the request completes 9840 // successfully. 9841 // 9842 // Use "Send" method on the returned Request to send the API call to the service. 9843 // the "output" return value is not valid until after Send returns without error. 9844 // 9845 // See DescribeModelPackageGroup for more information on using the DescribeModelPackageGroup 9846 // API call, and error handling. 9847 // 9848 // This method is useful when you want to inject custom logic or configuration 9849 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 9850 // 9851 // 9852 // // Example sending a request using the DescribeModelPackageGroupRequest method. 9853 // req, resp := client.DescribeModelPackageGroupRequest(params) 9854 // 9855 // err := req.Send() 9856 // if err == nil { // resp is now filled 9857 // fmt.Println(resp) 9858 // } 9859 // 9860 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelPackageGroup 9861 func (c *SageMaker) DescribeModelPackageGroupRequest(input *DescribeModelPackageGroupInput) (req *request.Request, output *DescribeModelPackageGroupOutput) { 9862 op := &request.Operation{ 9863 Name: opDescribeModelPackageGroup, 9864 HTTPMethod: "POST", 9865 HTTPPath: "/", 9866 } 9867 9868 if input == nil { 9869 input = &DescribeModelPackageGroupInput{} 9870 } 9871 9872 output = &DescribeModelPackageGroupOutput{} 9873 req = c.newRequest(op, input, output) 9874 return 9875 } 9876 9877 // DescribeModelPackageGroup API operation for Amazon SageMaker Service. 9878 // 9879 // Gets a description for the specified model group. 9880 // 9881 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 9882 // with awserr.Error's Code and Message methods to get detailed information about 9883 // the error. 9884 // 9885 // See the AWS API reference guide for Amazon SageMaker Service's 9886 // API operation DescribeModelPackageGroup for usage and error information. 9887 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelPackageGroup 9888 func (c *SageMaker) DescribeModelPackageGroup(input *DescribeModelPackageGroupInput) (*DescribeModelPackageGroupOutput, error) { 9889 req, out := c.DescribeModelPackageGroupRequest(input) 9890 return out, req.Send() 9891 } 9892 9893 // DescribeModelPackageGroupWithContext is the same as DescribeModelPackageGroup with the addition of 9894 // the ability to pass a context and additional request options. 9895 // 9896 // See DescribeModelPackageGroup for details on how to use this API operation. 9897 // 9898 // The context must be non-nil and will be used for request cancellation. If 9899 // the context is nil a panic will occur. In the future the SDK may create 9900 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 9901 // for more information on using Contexts. 9902 func (c *SageMaker) DescribeModelPackageGroupWithContext(ctx aws.Context, input *DescribeModelPackageGroupInput, opts ...request.Option) (*DescribeModelPackageGroupOutput, error) { 9903 req, out := c.DescribeModelPackageGroupRequest(input) 9904 req.SetContext(ctx) 9905 req.ApplyOptions(opts...) 9906 return out, req.Send() 9907 } 9908 9909 const opDescribeModelQualityJobDefinition = "DescribeModelQualityJobDefinition" 9910 9911 // DescribeModelQualityJobDefinitionRequest generates a "aws/request.Request" representing the 9912 // client's request for the DescribeModelQualityJobDefinition operation. The "output" return 9913 // value will be populated with the request's response once the request completes 9914 // successfully. 9915 // 9916 // Use "Send" method on the returned Request to send the API call to the service. 9917 // the "output" return value is not valid until after Send returns without error. 9918 // 9919 // See DescribeModelQualityJobDefinition for more information on using the DescribeModelQualityJobDefinition 9920 // API call, and error handling. 9921 // 9922 // This method is useful when you want to inject custom logic or configuration 9923 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 9924 // 9925 // 9926 // // Example sending a request using the DescribeModelQualityJobDefinitionRequest method. 9927 // req, resp := client.DescribeModelQualityJobDefinitionRequest(params) 9928 // 9929 // err := req.Send() 9930 // if err == nil { // resp is now filled 9931 // fmt.Println(resp) 9932 // } 9933 // 9934 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelQualityJobDefinition 9935 func (c *SageMaker) DescribeModelQualityJobDefinitionRequest(input *DescribeModelQualityJobDefinitionInput) (req *request.Request, output *DescribeModelQualityJobDefinitionOutput) { 9936 op := &request.Operation{ 9937 Name: opDescribeModelQualityJobDefinition, 9938 HTTPMethod: "POST", 9939 HTTPPath: "/", 9940 } 9941 9942 if input == nil { 9943 input = &DescribeModelQualityJobDefinitionInput{} 9944 } 9945 9946 output = &DescribeModelQualityJobDefinitionOutput{} 9947 req = c.newRequest(op, input, output) 9948 return 9949 } 9950 9951 // DescribeModelQualityJobDefinition API operation for Amazon SageMaker Service. 9952 // 9953 // Returns a description of a model quality job definition. 9954 // 9955 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 9956 // with awserr.Error's Code and Message methods to get detailed information about 9957 // the error. 9958 // 9959 // See the AWS API reference guide for Amazon SageMaker Service's 9960 // API operation DescribeModelQualityJobDefinition for usage and error information. 9961 // 9962 // Returned Error Types: 9963 // * ResourceNotFound 9964 // Resource being access is not found. 9965 // 9966 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelQualityJobDefinition 9967 func (c *SageMaker) DescribeModelQualityJobDefinition(input *DescribeModelQualityJobDefinitionInput) (*DescribeModelQualityJobDefinitionOutput, error) { 9968 req, out := c.DescribeModelQualityJobDefinitionRequest(input) 9969 return out, req.Send() 9970 } 9971 9972 // DescribeModelQualityJobDefinitionWithContext is the same as DescribeModelQualityJobDefinition with the addition of 9973 // the ability to pass a context and additional request options. 9974 // 9975 // See DescribeModelQualityJobDefinition for details on how to use this API operation. 9976 // 9977 // The context must be non-nil and will be used for request cancellation. If 9978 // the context is nil a panic will occur. In the future the SDK may create 9979 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 9980 // for more information on using Contexts. 9981 func (c *SageMaker) DescribeModelQualityJobDefinitionWithContext(ctx aws.Context, input *DescribeModelQualityJobDefinitionInput, opts ...request.Option) (*DescribeModelQualityJobDefinitionOutput, error) { 9982 req, out := c.DescribeModelQualityJobDefinitionRequest(input) 9983 req.SetContext(ctx) 9984 req.ApplyOptions(opts...) 9985 return out, req.Send() 9986 } 9987 9988 const opDescribeMonitoringSchedule = "DescribeMonitoringSchedule" 9989 9990 // DescribeMonitoringScheduleRequest generates a "aws/request.Request" representing the 9991 // client's request for the DescribeMonitoringSchedule operation. The "output" return 9992 // value will be populated with the request's response once the request completes 9993 // successfully. 9994 // 9995 // Use "Send" method on the returned Request to send the API call to the service. 9996 // the "output" return value is not valid until after Send returns without error. 9997 // 9998 // See DescribeMonitoringSchedule for more information on using the DescribeMonitoringSchedule 9999 // API call, and error handling. 10000 // 10001 // This method is useful when you want to inject custom logic or configuration 10002 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 10003 // 10004 // 10005 // // Example sending a request using the DescribeMonitoringScheduleRequest method. 10006 // req, resp := client.DescribeMonitoringScheduleRequest(params) 10007 // 10008 // err := req.Send() 10009 // if err == nil { // resp is now filled 10010 // fmt.Println(resp) 10011 // } 10012 // 10013 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeMonitoringSchedule 10014 func (c *SageMaker) DescribeMonitoringScheduleRequest(input *DescribeMonitoringScheduleInput) (req *request.Request, output *DescribeMonitoringScheduleOutput) { 10015 op := &request.Operation{ 10016 Name: opDescribeMonitoringSchedule, 10017 HTTPMethod: "POST", 10018 HTTPPath: "/", 10019 } 10020 10021 if input == nil { 10022 input = &DescribeMonitoringScheduleInput{} 10023 } 10024 10025 output = &DescribeMonitoringScheduleOutput{} 10026 req = c.newRequest(op, input, output) 10027 return 10028 } 10029 10030 // DescribeMonitoringSchedule API operation for Amazon SageMaker Service. 10031 // 10032 // Describes the schedule for a monitoring job. 10033 // 10034 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 10035 // with awserr.Error's Code and Message methods to get detailed information about 10036 // the error. 10037 // 10038 // See the AWS API reference guide for Amazon SageMaker Service's 10039 // API operation DescribeMonitoringSchedule for usage and error information. 10040 // 10041 // Returned Error Types: 10042 // * ResourceNotFound 10043 // Resource being access is not found. 10044 // 10045 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeMonitoringSchedule 10046 func (c *SageMaker) DescribeMonitoringSchedule(input *DescribeMonitoringScheduleInput) (*DescribeMonitoringScheduleOutput, error) { 10047 req, out := c.DescribeMonitoringScheduleRequest(input) 10048 return out, req.Send() 10049 } 10050 10051 // DescribeMonitoringScheduleWithContext is the same as DescribeMonitoringSchedule with the addition of 10052 // the ability to pass a context and additional request options. 10053 // 10054 // See DescribeMonitoringSchedule for details on how to use this API operation. 10055 // 10056 // The context must be non-nil and will be used for request cancellation. If 10057 // the context is nil a panic will occur. In the future the SDK may create 10058 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 10059 // for more information on using Contexts. 10060 func (c *SageMaker) DescribeMonitoringScheduleWithContext(ctx aws.Context, input *DescribeMonitoringScheduleInput, opts ...request.Option) (*DescribeMonitoringScheduleOutput, error) { 10061 req, out := c.DescribeMonitoringScheduleRequest(input) 10062 req.SetContext(ctx) 10063 req.ApplyOptions(opts...) 10064 return out, req.Send() 10065 } 10066 10067 const opDescribeNotebookInstance = "DescribeNotebookInstance" 10068 10069 // DescribeNotebookInstanceRequest generates a "aws/request.Request" representing the 10070 // client's request for the DescribeNotebookInstance operation. The "output" return 10071 // value will be populated with the request's response once the request completes 10072 // successfully. 10073 // 10074 // Use "Send" method on the returned Request to send the API call to the service. 10075 // the "output" return value is not valid until after Send returns without error. 10076 // 10077 // See DescribeNotebookInstance for more information on using the DescribeNotebookInstance 10078 // API call, and error handling. 10079 // 10080 // This method is useful when you want to inject custom logic or configuration 10081 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 10082 // 10083 // 10084 // // Example sending a request using the DescribeNotebookInstanceRequest method. 10085 // req, resp := client.DescribeNotebookInstanceRequest(params) 10086 // 10087 // err := req.Send() 10088 // if err == nil { // resp is now filled 10089 // fmt.Println(resp) 10090 // } 10091 // 10092 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstance 10093 func (c *SageMaker) DescribeNotebookInstanceRequest(input *DescribeNotebookInstanceInput) (req *request.Request, output *DescribeNotebookInstanceOutput) { 10094 op := &request.Operation{ 10095 Name: opDescribeNotebookInstance, 10096 HTTPMethod: "POST", 10097 HTTPPath: "/", 10098 } 10099 10100 if input == nil { 10101 input = &DescribeNotebookInstanceInput{} 10102 } 10103 10104 output = &DescribeNotebookInstanceOutput{} 10105 req = c.newRequest(op, input, output) 10106 return 10107 } 10108 10109 // DescribeNotebookInstance API operation for Amazon SageMaker Service. 10110 // 10111 // Returns information about a notebook instance. 10112 // 10113 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 10114 // with awserr.Error's Code and Message methods to get detailed information about 10115 // the error. 10116 // 10117 // See the AWS API reference guide for Amazon SageMaker Service's 10118 // API operation DescribeNotebookInstance for usage and error information. 10119 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstance 10120 func (c *SageMaker) DescribeNotebookInstance(input *DescribeNotebookInstanceInput) (*DescribeNotebookInstanceOutput, error) { 10121 req, out := c.DescribeNotebookInstanceRequest(input) 10122 return out, req.Send() 10123 } 10124 10125 // DescribeNotebookInstanceWithContext is the same as DescribeNotebookInstance with the addition of 10126 // the ability to pass a context and additional request options. 10127 // 10128 // See DescribeNotebookInstance for details on how to use this API operation. 10129 // 10130 // The context must be non-nil and will be used for request cancellation. If 10131 // the context is nil a panic will occur. In the future the SDK may create 10132 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 10133 // for more information on using Contexts. 10134 func (c *SageMaker) DescribeNotebookInstanceWithContext(ctx aws.Context, input *DescribeNotebookInstanceInput, opts ...request.Option) (*DescribeNotebookInstanceOutput, error) { 10135 req, out := c.DescribeNotebookInstanceRequest(input) 10136 req.SetContext(ctx) 10137 req.ApplyOptions(opts...) 10138 return out, req.Send() 10139 } 10140 10141 const opDescribeNotebookInstanceLifecycleConfig = "DescribeNotebookInstanceLifecycleConfig" 10142 10143 // DescribeNotebookInstanceLifecycleConfigRequest generates a "aws/request.Request" representing the 10144 // client's request for the DescribeNotebookInstanceLifecycleConfig operation. The "output" return 10145 // value will be populated with the request's response once the request completes 10146 // successfully. 10147 // 10148 // Use "Send" method on the returned Request to send the API call to the service. 10149 // the "output" return value is not valid until after Send returns without error. 10150 // 10151 // See DescribeNotebookInstanceLifecycleConfig for more information on using the DescribeNotebookInstanceLifecycleConfig 10152 // API call, and error handling. 10153 // 10154 // This method is useful when you want to inject custom logic or configuration 10155 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 10156 // 10157 // 10158 // // Example sending a request using the DescribeNotebookInstanceLifecycleConfigRequest method. 10159 // req, resp := client.DescribeNotebookInstanceLifecycleConfigRequest(params) 10160 // 10161 // err := req.Send() 10162 // if err == nil { // resp is now filled 10163 // fmt.Println(resp) 10164 // } 10165 // 10166 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstanceLifecycleConfig 10167 func (c *SageMaker) DescribeNotebookInstanceLifecycleConfigRequest(input *DescribeNotebookInstanceLifecycleConfigInput) (req *request.Request, output *DescribeNotebookInstanceLifecycleConfigOutput) { 10168 op := &request.Operation{ 10169 Name: opDescribeNotebookInstanceLifecycleConfig, 10170 HTTPMethod: "POST", 10171 HTTPPath: "/", 10172 } 10173 10174 if input == nil { 10175 input = &DescribeNotebookInstanceLifecycleConfigInput{} 10176 } 10177 10178 output = &DescribeNotebookInstanceLifecycleConfigOutput{} 10179 req = c.newRequest(op, input, output) 10180 return 10181 } 10182 10183 // DescribeNotebookInstanceLifecycleConfig API operation for Amazon SageMaker Service. 10184 // 10185 // Returns a description of a notebook instance lifecycle configuration. 10186 // 10187 // For information about notebook instance lifestyle configurations, see Step 10188 // 2.1: (Optional) Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html). 10189 // 10190 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 10191 // with awserr.Error's Code and Message methods to get detailed information about 10192 // the error. 10193 // 10194 // See the AWS API reference guide for Amazon SageMaker Service's 10195 // API operation DescribeNotebookInstanceLifecycleConfig for usage and error information. 10196 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstanceLifecycleConfig 10197 func (c *SageMaker) DescribeNotebookInstanceLifecycleConfig(input *DescribeNotebookInstanceLifecycleConfigInput) (*DescribeNotebookInstanceLifecycleConfigOutput, error) { 10198 req, out := c.DescribeNotebookInstanceLifecycleConfigRequest(input) 10199 return out, req.Send() 10200 } 10201 10202 // DescribeNotebookInstanceLifecycleConfigWithContext is the same as DescribeNotebookInstanceLifecycleConfig with the addition of 10203 // the ability to pass a context and additional request options. 10204 // 10205 // See DescribeNotebookInstanceLifecycleConfig for details on how to use this API operation. 10206 // 10207 // The context must be non-nil and will be used for request cancellation. If 10208 // the context is nil a panic will occur. In the future the SDK may create 10209 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 10210 // for more information on using Contexts. 10211 func (c *SageMaker) DescribeNotebookInstanceLifecycleConfigWithContext(ctx aws.Context, input *DescribeNotebookInstanceLifecycleConfigInput, opts ...request.Option) (*DescribeNotebookInstanceLifecycleConfigOutput, error) { 10212 req, out := c.DescribeNotebookInstanceLifecycleConfigRequest(input) 10213 req.SetContext(ctx) 10214 req.ApplyOptions(opts...) 10215 return out, req.Send() 10216 } 10217 10218 const opDescribePipeline = "DescribePipeline" 10219 10220 // DescribePipelineRequest generates a "aws/request.Request" representing the 10221 // client's request for the DescribePipeline operation. The "output" return 10222 // value will be populated with the request's response once the request completes 10223 // successfully. 10224 // 10225 // Use "Send" method on the returned Request to send the API call to the service. 10226 // the "output" return value is not valid until after Send returns without error. 10227 // 10228 // See DescribePipeline for more information on using the DescribePipeline 10229 // API call, and error handling. 10230 // 10231 // This method is useful when you want to inject custom logic or configuration 10232 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 10233 // 10234 // 10235 // // Example sending a request using the DescribePipelineRequest method. 10236 // req, resp := client.DescribePipelineRequest(params) 10237 // 10238 // err := req.Send() 10239 // if err == nil { // resp is now filled 10240 // fmt.Println(resp) 10241 // } 10242 // 10243 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribePipeline 10244 func (c *SageMaker) DescribePipelineRequest(input *DescribePipelineInput) (req *request.Request, output *DescribePipelineOutput) { 10245 op := &request.Operation{ 10246 Name: opDescribePipeline, 10247 HTTPMethod: "POST", 10248 HTTPPath: "/", 10249 } 10250 10251 if input == nil { 10252 input = &DescribePipelineInput{} 10253 } 10254 10255 output = &DescribePipelineOutput{} 10256 req = c.newRequest(op, input, output) 10257 return 10258 } 10259 10260 // DescribePipeline API operation for Amazon SageMaker Service. 10261 // 10262 // Describes the details of a pipeline. 10263 // 10264 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 10265 // with awserr.Error's Code and Message methods to get detailed information about 10266 // the error. 10267 // 10268 // See the AWS API reference guide for Amazon SageMaker Service's 10269 // API operation DescribePipeline for usage and error information. 10270 // 10271 // Returned Error Types: 10272 // * ResourceNotFound 10273 // Resource being access is not found. 10274 // 10275 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribePipeline 10276 func (c *SageMaker) DescribePipeline(input *DescribePipelineInput) (*DescribePipelineOutput, error) { 10277 req, out := c.DescribePipelineRequest(input) 10278 return out, req.Send() 10279 } 10280 10281 // DescribePipelineWithContext is the same as DescribePipeline with the addition of 10282 // the ability to pass a context and additional request options. 10283 // 10284 // See DescribePipeline for details on how to use this API operation. 10285 // 10286 // The context must be non-nil and will be used for request cancellation. If 10287 // the context is nil a panic will occur. In the future the SDK may create 10288 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 10289 // for more information on using Contexts. 10290 func (c *SageMaker) DescribePipelineWithContext(ctx aws.Context, input *DescribePipelineInput, opts ...request.Option) (*DescribePipelineOutput, error) { 10291 req, out := c.DescribePipelineRequest(input) 10292 req.SetContext(ctx) 10293 req.ApplyOptions(opts...) 10294 return out, req.Send() 10295 } 10296 10297 const opDescribePipelineDefinitionForExecution = "DescribePipelineDefinitionForExecution" 10298 10299 // DescribePipelineDefinitionForExecutionRequest generates a "aws/request.Request" representing the 10300 // client's request for the DescribePipelineDefinitionForExecution operation. The "output" return 10301 // value will be populated with the request's response once the request completes 10302 // successfully. 10303 // 10304 // Use "Send" method on the returned Request to send the API call to the service. 10305 // the "output" return value is not valid until after Send returns without error. 10306 // 10307 // See DescribePipelineDefinitionForExecution for more information on using the DescribePipelineDefinitionForExecution 10308 // API call, and error handling. 10309 // 10310 // This method is useful when you want to inject custom logic or configuration 10311 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 10312 // 10313 // 10314 // // Example sending a request using the DescribePipelineDefinitionForExecutionRequest method. 10315 // req, resp := client.DescribePipelineDefinitionForExecutionRequest(params) 10316 // 10317 // err := req.Send() 10318 // if err == nil { // resp is now filled 10319 // fmt.Println(resp) 10320 // } 10321 // 10322 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribePipelineDefinitionForExecution 10323 func (c *SageMaker) DescribePipelineDefinitionForExecutionRequest(input *DescribePipelineDefinitionForExecutionInput) (req *request.Request, output *DescribePipelineDefinitionForExecutionOutput) { 10324 op := &request.Operation{ 10325 Name: opDescribePipelineDefinitionForExecution, 10326 HTTPMethod: "POST", 10327 HTTPPath: "/", 10328 } 10329 10330 if input == nil { 10331 input = &DescribePipelineDefinitionForExecutionInput{} 10332 } 10333 10334 output = &DescribePipelineDefinitionForExecutionOutput{} 10335 req = c.newRequest(op, input, output) 10336 return 10337 } 10338 10339 // DescribePipelineDefinitionForExecution API operation for Amazon SageMaker Service. 10340 // 10341 // Describes the details of an execution's pipeline definition. 10342 // 10343 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 10344 // with awserr.Error's Code and Message methods to get detailed information about 10345 // the error. 10346 // 10347 // See the AWS API reference guide for Amazon SageMaker Service's 10348 // API operation DescribePipelineDefinitionForExecution for usage and error information. 10349 // 10350 // Returned Error Types: 10351 // * ResourceNotFound 10352 // Resource being access is not found. 10353 // 10354 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribePipelineDefinitionForExecution 10355 func (c *SageMaker) DescribePipelineDefinitionForExecution(input *DescribePipelineDefinitionForExecutionInput) (*DescribePipelineDefinitionForExecutionOutput, error) { 10356 req, out := c.DescribePipelineDefinitionForExecutionRequest(input) 10357 return out, req.Send() 10358 } 10359 10360 // DescribePipelineDefinitionForExecutionWithContext is the same as DescribePipelineDefinitionForExecution with the addition of 10361 // the ability to pass a context and additional request options. 10362 // 10363 // See DescribePipelineDefinitionForExecution for details on how to use this API operation. 10364 // 10365 // The context must be non-nil and will be used for request cancellation. If 10366 // the context is nil a panic will occur. In the future the SDK may create 10367 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 10368 // for more information on using Contexts. 10369 func (c *SageMaker) DescribePipelineDefinitionForExecutionWithContext(ctx aws.Context, input *DescribePipelineDefinitionForExecutionInput, opts ...request.Option) (*DescribePipelineDefinitionForExecutionOutput, error) { 10370 req, out := c.DescribePipelineDefinitionForExecutionRequest(input) 10371 req.SetContext(ctx) 10372 req.ApplyOptions(opts...) 10373 return out, req.Send() 10374 } 10375 10376 const opDescribePipelineExecution = "DescribePipelineExecution" 10377 10378 // DescribePipelineExecutionRequest generates a "aws/request.Request" representing the 10379 // client's request for the DescribePipelineExecution operation. The "output" return 10380 // value will be populated with the request's response once the request completes 10381 // successfully. 10382 // 10383 // Use "Send" method on the returned Request to send the API call to the service. 10384 // the "output" return value is not valid until after Send returns without error. 10385 // 10386 // See DescribePipelineExecution for more information on using the DescribePipelineExecution 10387 // API call, and error handling. 10388 // 10389 // This method is useful when you want to inject custom logic or configuration 10390 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 10391 // 10392 // 10393 // // Example sending a request using the DescribePipelineExecutionRequest method. 10394 // req, resp := client.DescribePipelineExecutionRequest(params) 10395 // 10396 // err := req.Send() 10397 // if err == nil { // resp is now filled 10398 // fmt.Println(resp) 10399 // } 10400 // 10401 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribePipelineExecution 10402 func (c *SageMaker) DescribePipelineExecutionRequest(input *DescribePipelineExecutionInput) (req *request.Request, output *DescribePipelineExecutionOutput) { 10403 op := &request.Operation{ 10404 Name: opDescribePipelineExecution, 10405 HTTPMethod: "POST", 10406 HTTPPath: "/", 10407 } 10408 10409 if input == nil { 10410 input = &DescribePipelineExecutionInput{} 10411 } 10412 10413 output = &DescribePipelineExecutionOutput{} 10414 req = c.newRequest(op, input, output) 10415 return 10416 } 10417 10418 // DescribePipelineExecution API operation for Amazon SageMaker Service. 10419 // 10420 // Describes the details of a pipeline execution. 10421 // 10422 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 10423 // with awserr.Error's Code and Message methods to get detailed information about 10424 // the error. 10425 // 10426 // See the AWS API reference guide for Amazon SageMaker Service's 10427 // API operation DescribePipelineExecution for usage and error information. 10428 // 10429 // Returned Error Types: 10430 // * ResourceNotFound 10431 // Resource being access is not found. 10432 // 10433 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribePipelineExecution 10434 func (c *SageMaker) DescribePipelineExecution(input *DescribePipelineExecutionInput) (*DescribePipelineExecutionOutput, error) { 10435 req, out := c.DescribePipelineExecutionRequest(input) 10436 return out, req.Send() 10437 } 10438 10439 // DescribePipelineExecutionWithContext is the same as DescribePipelineExecution with the addition of 10440 // the ability to pass a context and additional request options. 10441 // 10442 // See DescribePipelineExecution for details on how to use this API operation. 10443 // 10444 // The context must be non-nil and will be used for request cancellation. If 10445 // the context is nil a panic will occur. In the future the SDK may create 10446 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 10447 // for more information on using Contexts. 10448 func (c *SageMaker) DescribePipelineExecutionWithContext(ctx aws.Context, input *DescribePipelineExecutionInput, opts ...request.Option) (*DescribePipelineExecutionOutput, error) { 10449 req, out := c.DescribePipelineExecutionRequest(input) 10450 req.SetContext(ctx) 10451 req.ApplyOptions(opts...) 10452 return out, req.Send() 10453 } 10454 10455 const opDescribeProcessingJob = "DescribeProcessingJob" 10456 10457 // DescribeProcessingJobRequest generates a "aws/request.Request" representing the 10458 // client's request for the DescribeProcessingJob operation. The "output" return 10459 // value will be populated with the request's response once the request completes 10460 // successfully. 10461 // 10462 // Use "Send" method on the returned Request to send the API call to the service. 10463 // the "output" return value is not valid until after Send returns without error. 10464 // 10465 // See DescribeProcessingJob for more information on using the DescribeProcessingJob 10466 // API call, and error handling. 10467 // 10468 // This method is useful when you want to inject custom logic or configuration 10469 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 10470 // 10471 // 10472 // // Example sending a request using the DescribeProcessingJobRequest method. 10473 // req, resp := client.DescribeProcessingJobRequest(params) 10474 // 10475 // err := req.Send() 10476 // if err == nil { // resp is now filled 10477 // fmt.Println(resp) 10478 // } 10479 // 10480 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeProcessingJob 10481 func (c *SageMaker) DescribeProcessingJobRequest(input *DescribeProcessingJobInput) (req *request.Request, output *DescribeProcessingJobOutput) { 10482 op := &request.Operation{ 10483 Name: opDescribeProcessingJob, 10484 HTTPMethod: "POST", 10485 HTTPPath: "/", 10486 } 10487 10488 if input == nil { 10489 input = &DescribeProcessingJobInput{} 10490 } 10491 10492 output = &DescribeProcessingJobOutput{} 10493 req = c.newRequest(op, input, output) 10494 return 10495 } 10496 10497 // DescribeProcessingJob API operation for Amazon SageMaker Service. 10498 // 10499 // Returns a description of a processing job. 10500 // 10501 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 10502 // with awserr.Error's Code and Message methods to get detailed information about 10503 // the error. 10504 // 10505 // See the AWS API reference guide for Amazon SageMaker Service's 10506 // API operation DescribeProcessingJob for usage and error information. 10507 // 10508 // Returned Error Types: 10509 // * ResourceNotFound 10510 // Resource being access is not found. 10511 // 10512 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeProcessingJob 10513 func (c *SageMaker) DescribeProcessingJob(input *DescribeProcessingJobInput) (*DescribeProcessingJobOutput, error) { 10514 req, out := c.DescribeProcessingJobRequest(input) 10515 return out, req.Send() 10516 } 10517 10518 // DescribeProcessingJobWithContext is the same as DescribeProcessingJob with the addition of 10519 // the ability to pass a context and additional request options. 10520 // 10521 // See DescribeProcessingJob for details on how to use this API operation. 10522 // 10523 // The context must be non-nil and will be used for request cancellation. If 10524 // the context is nil a panic will occur. In the future the SDK may create 10525 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 10526 // for more information on using Contexts. 10527 func (c *SageMaker) DescribeProcessingJobWithContext(ctx aws.Context, input *DescribeProcessingJobInput, opts ...request.Option) (*DescribeProcessingJobOutput, error) { 10528 req, out := c.DescribeProcessingJobRequest(input) 10529 req.SetContext(ctx) 10530 req.ApplyOptions(opts...) 10531 return out, req.Send() 10532 } 10533 10534 const opDescribeProject = "DescribeProject" 10535 10536 // DescribeProjectRequest generates a "aws/request.Request" representing the 10537 // client's request for the DescribeProject operation. The "output" return 10538 // value will be populated with the request's response once the request completes 10539 // successfully. 10540 // 10541 // Use "Send" method on the returned Request to send the API call to the service. 10542 // the "output" return value is not valid until after Send returns without error. 10543 // 10544 // See DescribeProject for more information on using the DescribeProject 10545 // API call, and error handling. 10546 // 10547 // This method is useful when you want to inject custom logic or configuration 10548 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 10549 // 10550 // 10551 // // Example sending a request using the DescribeProjectRequest method. 10552 // req, resp := client.DescribeProjectRequest(params) 10553 // 10554 // err := req.Send() 10555 // if err == nil { // resp is now filled 10556 // fmt.Println(resp) 10557 // } 10558 // 10559 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeProject 10560 func (c *SageMaker) DescribeProjectRequest(input *DescribeProjectInput) (req *request.Request, output *DescribeProjectOutput) { 10561 op := &request.Operation{ 10562 Name: opDescribeProject, 10563 HTTPMethod: "POST", 10564 HTTPPath: "/", 10565 } 10566 10567 if input == nil { 10568 input = &DescribeProjectInput{} 10569 } 10570 10571 output = &DescribeProjectOutput{} 10572 req = c.newRequest(op, input, output) 10573 return 10574 } 10575 10576 // DescribeProject API operation for Amazon SageMaker Service. 10577 // 10578 // Describes the details of a project. 10579 // 10580 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 10581 // with awserr.Error's Code and Message methods to get detailed information about 10582 // the error. 10583 // 10584 // See the AWS API reference guide for Amazon SageMaker Service's 10585 // API operation DescribeProject for usage and error information. 10586 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeProject 10587 func (c *SageMaker) DescribeProject(input *DescribeProjectInput) (*DescribeProjectOutput, error) { 10588 req, out := c.DescribeProjectRequest(input) 10589 return out, req.Send() 10590 } 10591 10592 // DescribeProjectWithContext is the same as DescribeProject with the addition of 10593 // the ability to pass a context and additional request options. 10594 // 10595 // See DescribeProject for details on how to use this API operation. 10596 // 10597 // The context must be non-nil and will be used for request cancellation. If 10598 // the context is nil a panic will occur. In the future the SDK may create 10599 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 10600 // for more information on using Contexts. 10601 func (c *SageMaker) DescribeProjectWithContext(ctx aws.Context, input *DescribeProjectInput, opts ...request.Option) (*DescribeProjectOutput, error) { 10602 req, out := c.DescribeProjectRequest(input) 10603 req.SetContext(ctx) 10604 req.ApplyOptions(opts...) 10605 return out, req.Send() 10606 } 10607 10608 const opDescribeStudioLifecycleConfig = "DescribeStudioLifecycleConfig" 10609 10610 // DescribeStudioLifecycleConfigRequest generates a "aws/request.Request" representing the 10611 // client's request for the DescribeStudioLifecycleConfig operation. The "output" return 10612 // value will be populated with the request's response once the request completes 10613 // successfully. 10614 // 10615 // Use "Send" method on the returned Request to send the API call to the service. 10616 // the "output" return value is not valid until after Send returns without error. 10617 // 10618 // See DescribeStudioLifecycleConfig for more information on using the DescribeStudioLifecycleConfig 10619 // API call, and error handling. 10620 // 10621 // This method is useful when you want to inject custom logic or configuration 10622 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 10623 // 10624 // 10625 // // Example sending a request using the DescribeStudioLifecycleConfigRequest method. 10626 // req, resp := client.DescribeStudioLifecycleConfigRequest(params) 10627 // 10628 // err := req.Send() 10629 // if err == nil { // resp is now filled 10630 // fmt.Println(resp) 10631 // } 10632 // 10633 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeStudioLifecycleConfig 10634 func (c *SageMaker) DescribeStudioLifecycleConfigRequest(input *DescribeStudioLifecycleConfigInput) (req *request.Request, output *DescribeStudioLifecycleConfigOutput) { 10635 op := &request.Operation{ 10636 Name: opDescribeStudioLifecycleConfig, 10637 HTTPMethod: "POST", 10638 HTTPPath: "/", 10639 } 10640 10641 if input == nil { 10642 input = &DescribeStudioLifecycleConfigInput{} 10643 } 10644 10645 output = &DescribeStudioLifecycleConfigOutput{} 10646 req = c.newRequest(op, input, output) 10647 return 10648 } 10649 10650 // DescribeStudioLifecycleConfig API operation for Amazon SageMaker Service. 10651 // 10652 // Describes the Studio Lifecycle Configuration. 10653 // 10654 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 10655 // with awserr.Error's Code and Message methods to get detailed information about 10656 // the error. 10657 // 10658 // See the AWS API reference guide for Amazon SageMaker Service's 10659 // API operation DescribeStudioLifecycleConfig for usage and error information. 10660 // 10661 // Returned Error Types: 10662 // * ResourceNotFound 10663 // Resource being access is not found. 10664 // 10665 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeStudioLifecycleConfig 10666 func (c *SageMaker) DescribeStudioLifecycleConfig(input *DescribeStudioLifecycleConfigInput) (*DescribeStudioLifecycleConfigOutput, error) { 10667 req, out := c.DescribeStudioLifecycleConfigRequest(input) 10668 return out, req.Send() 10669 } 10670 10671 // DescribeStudioLifecycleConfigWithContext is the same as DescribeStudioLifecycleConfig with the addition of 10672 // the ability to pass a context and additional request options. 10673 // 10674 // See DescribeStudioLifecycleConfig for details on how to use this API operation. 10675 // 10676 // The context must be non-nil and will be used for request cancellation. If 10677 // the context is nil a panic will occur. In the future the SDK may create 10678 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 10679 // for more information on using Contexts. 10680 func (c *SageMaker) DescribeStudioLifecycleConfigWithContext(ctx aws.Context, input *DescribeStudioLifecycleConfigInput, opts ...request.Option) (*DescribeStudioLifecycleConfigOutput, error) { 10681 req, out := c.DescribeStudioLifecycleConfigRequest(input) 10682 req.SetContext(ctx) 10683 req.ApplyOptions(opts...) 10684 return out, req.Send() 10685 } 10686 10687 const opDescribeSubscribedWorkteam = "DescribeSubscribedWorkteam" 10688 10689 // DescribeSubscribedWorkteamRequest generates a "aws/request.Request" representing the 10690 // client's request for the DescribeSubscribedWorkteam operation. The "output" return 10691 // value will be populated with the request's response once the request completes 10692 // successfully. 10693 // 10694 // Use "Send" method on the returned Request to send the API call to the service. 10695 // the "output" return value is not valid until after Send returns without error. 10696 // 10697 // See DescribeSubscribedWorkteam for more information on using the DescribeSubscribedWorkteam 10698 // API call, and error handling. 10699 // 10700 // This method is useful when you want to inject custom logic or configuration 10701 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 10702 // 10703 // 10704 // // Example sending a request using the DescribeSubscribedWorkteamRequest method. 10705 // req, resp := client.DescribeSubscribedWorkteamRequest(params) 10706 // 10707 // err := req.Send() 10708 // if err == nil { // resp is now filled 10709 // fmt.Println(resp) 10710 // } 10711 // 10712 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeSubscribedWorkteam 10713 func (c *SageMaker) DescribeSubscribedWorkteamRequest(input *DescribeSubscribedWorkteamInput) (req *request.Request, output *DescribeSubscribedWorkteamOutput) { 10714 op := &request.Operation{ 10715 Name: opDescribeSubscribedWorkteam, 10716 HTTPMethod: "POST", 10717 HTTPPath: "/", 10718 } 10719 10720 if input == nil { 10721 input = &DescribeSubscribedWorkteamInput{} 10722 } 10723 10724 output = &DescribeSubscribedWorkteamOutput{} 10725 req = c.newRequest(op, input, output) 10726 return 10727 } 10728 10729 // DescribeSubscribedWorkteam API operation for Amazon SageMaker Service. 10730 // 10731 // Gets information about a work team provided by a vendor. It returns details 10732 // about the subscription with a vendor in the Amazon Web Services Marketplace. 10733 // 10734 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 10735 // with awserr.Error's Code and Message methods to get detailed information about 10736 // the error. 10737 // 10738 // See the AWS API reference guide for Amazon SageMaker Service's 10739 // API operation DescribeSubscribedWorkteam for usage and error information. 10740 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeSubscribedWorkteam 10741 func (c *SageMaker) DescribeSubscribedWorkteam(input *DescribeSubscribedWorkteamInput) (*DescribeSubscribedWorkteamOutput, error) { 10742 req, out := c.DescribeSubscribedWorkteamRequest(input) 10743 return out, req.Send() 10744 } 10745 10746 // DescribeSubscribedWorkteamWithContext is the same as DescribeSubscribedWorkteam with the addition of 10747 // the ability to pass a context and additional request options. 10748 // 10749 // See DescribeSubscribedWorkteam for details on how to use this API operation. 10750 // 10751 // The context must be non-nil and will be used for request cancellation. If 10752 // the context is nil a panic will occur. In the future the SDK may create 10753 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 10754 // for more information on using Contexts. 10755 func (c *SageMaker) DescribeSubscribedWorkteamWithContext(ctx aws.Context, input *DescribeSubscribedWorkteamInput, opts ...request.Option) (*DescribeSubscribedWorkteamOutput, error) { 10756 req, out := c.DescribeSubscribedWorkteamRequest(input) 10757 req.SetContext(ctx) 10758 req.ApplyOptions(opts...) 10759 return out, req.Send() 10760 } 10761 10762 const opDescribeTrainingJob = "DescribeTrainingJob" 10763 10764 // DescribeTrainingJobRequest generates a "aws/request.Request" representing the 10765 // client's request for the DescribeTrainingJob operation. The "output" return 10766 // value will be populated with the request's response once the request completes 10767 // successfully. 10768 // 10769 // Use "Send" method on the returned Request to send the API call to the service. 10770 // the "output" return value is not valid until after Send returns without error. 10771 // 10772 // See DescribeTrainingJob for more information on using the DescribeTrainingJob 10773 // API call, and error handling. 10774 // 10775 // This method is useful when you want to inject custom logic or configuration 10776 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 10777 // 10778 // 10779 // // Example sending a request using the DescribeTrainingJobRequest method. 10780 // req, resp := client.DescribeTrainingJobRequest(params) 10781 // 10782 // err := req.Send() 10783 // if err == nil { // resp is now filled 10784 // fmt.Println(resp) 10785 // } 10786 // 10787 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrainingJob 10788 func (c *SageMaker) DescribeTrainingJobRequest(input *DescribeTrainingJobInput) (req *request.Request, output *DescribeTrainingJobOutput) { 10789 op := &request.Operation{ 10790 Name: opDescribeTrainingJob, 10791 HTTPMethod: "POST", 10792 HTTPPath: "/", 10793 } 10794 10795 if input == nil { 10796 input = &DescribeTrainingJobInput{} 10797 } 10798 10799 output = &DescribeTrainingJobOutput{} 10800 req = c.newRequest(op, input, output) 10801 return 10802 } 10803 10804 // DescribeTrainingJob API operation for Amazon SageMaker Service. 10805 // 10806 // Returns information about a training job. 10807 // 10808 // Some of the attributes below only appear if the training job successfully 10809 // starts. If the training job fails, TrainingJobStatus is Failed and, depending 10810 // on the FailureReason, attributes like TrainingStartTime, TrainingTimeInSeconds, 10811 // TrainingEndTime, and BillableTimeInSeconds may not be present in the response. 10812 // 10813 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 10814 // with awserr.Error's Code and Message methods to get detailed information about 10815 // the error. 10816 // 10817 // See the AWS API reference guide for Amazon SageMaker Service's 10818 // API operation DescribeTrainingJob for usage and error information. 10819 // 10820 // Returned Error Types: 10821 // * ResourceNotFound 10822 // Resource being access is not found. 10823 // 10824 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrainingJob 10825 func (c *SageMaker) DescribeTrainingJob(input *DescribeTrainingJobInput) (*DescribeTrainingJobOutput, error) { 10826 req, out := c.DescribeTrainingJobRequest(input) 10827 return out, req.Send() 10828 } 10829 10830 // DescribeTrainingJobWithContext is the same as DescribeTrainingJob with the addition of 10831 // the ability to pass a context and additional request options. 10832 // 10833 // See DescribeTrainingJob for details on how to use this API operation. 10834 // 10835 // The context must be non-nil and will be used for request cancellation. If 10836 // the context is nil a panic will occur. In the future the SDK may create 10837 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 10838 // for more information on using Contexts. 10839 func (c *SageMaker) DescribeTrainingJobWithContext(ctx aws.Context, input *DescribeTrainingJobInput, opts ...request.Option) (*DescribeTrainingJobOutput, error) { 10840 req, out := c.DescribeTrainingJobRequest(input) 10841 req.SetContext(ctx) 10842 req.ApplyOptions(opts...) 10843 return out, req.Send() 10844 } 10845 10846 const opDescribeTransformJob = "DescribeTransformJob" 10847 10848 // DescribeTransformJobRequest generates a "aws/request.Request" representing the 10849 // client's request for the DescribeTransformJob operation. The "output" return 10850 // value will be populated with the request's response once the request completes 10851 // successfully. 10852 // 10853 // Use "Send" method on the returned Request to send the API call to the service. 10854 // the "output" return value is not valid until after Send returns without error. 10855 // 10856 // See DescribeTransformJob for more information on using the DescribeTransformJob 10857 // API call, and error handling. 10858 // 10859 // This method is useful when you want to inject custom logic or configuration 10860 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 10861 // 10862 // 10863 // // Example sending a request using the DescribeTransformJobRequest method. 10864 // req, resp := client.DescribeTransformJobRequest(params) 10865 // 10866 // err := req.Send() 10867 // if err == nil { // resp is now filled 10868 // fmt.Println(resp) 10869 // } 10870 // 10871 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTransformJob 10872 func (c *SageMaker) DescribeTransformJobRequest(input *DescribeTransformJobInput) (req *request.Request, output *DescribeTransformJobOutput) { 10873 op := &request.Operation{ 10874 Name: opDescribeTransformJob, 10875 HTTPMethod: "POST", 10876 HTTPPath: "/", 10877 } 10878 10879 if input == nil { 10880 input = &DescribeTransformJobInput{} 10881 } 10882 10883 output = &DescribeTransformJobOutput{} 10884 req = c.newRequest(op, input, output) 10885 return 10886 } 10887 10888 // DescribeTransformJob API operation for Amazon SageMaker Service. 10889 // 10890 // Returns information about a transform job. 10891 // 10892 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 10893 // with awserr.Error's Code and Message methods to get detailed information about 10894 // the error. 10895 // 10896 // See the AWS API reference guide for Amazon SageMaker Service's 10897 // API operation DescribeTransformJob for usage and error information. 10898 // 10899 // Returned Error Types: 10900 // * ResourceNotFound 10901 // Resource being access is not found. 10902 // 10903 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTransformJob 10904 func (c *SageMaker) DescribeTransformJob(input *DescribeTransformJobInput) (*DescribeTransformJobOutput, error) { 10905 req, out := c.DescribeTransformJobRequest(input) 10906 return out, req.Send() 10907 } 10908 10909 // DescribeTransformJobWithContext is the same as DescribeTransformJob with the addition of 10910 // the ability to pass a context and additional request options. 10911 // 10912 // See DescribeTransformJob for details on how to use this API operation. 10913 // 10914 // The context must be non-nil and will be used for request cancellation. If 10915 // the context is nil a panic will occur. In the future the SDK may create 10916 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 10917 // for more information on using Contexts. 10918 func (c *SageMaker) DescribeTransformJobWithContext(ctx aws.Context, input *DescribeTransformJobInput, opts ...request.Option) (*DescribeTransformJobOutput, error) { 10919 req, out := c.DescribeTransformJobRequest(input) 10920 req.SetContext(ctx) 10921 req.ApplyOptions(opts...) 10922 return out, req.Send() 10923 } 10924 10925 const opDescribeTrial = "DescribeTrial" 10926 10927 // DescribeTrialRequest generates a "aws/request.Request" representing the 10928 // client's request for the DescribeTrial operation. The "output" return 10929 // value will be populated with the request's response once the request completes 10930 // successfully. 10931 // 10932 // Use "Send" method on the returned Request to send the API call to the service. 10933 // the "output" return value is not valid until after Send returns without error. 10934 // 10935 // See DescribeTrial for more information on using the DescribeTrial 10936 // API call, and error handling. 10937 // 10938 // This method is useful when you want to inject custom logic or configuration 10939 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 10940 // 10941 // 10942 // // Example sending a request using the DescribeTrialRequest method. 10943 // req, resp := client.DescribeTrialRequest(params) 10944 // 10945 // err := req.Send() 10946 // if err == nil { // resp is now filled 10947 // fmt.Println(resp) 10948 // } 10949 // 10950 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrial 10951 func (c *SageMaker) DescribeTrialRequest(input *DescribeTrialInput) (req *request.Request, output *DescribeTrialOutput) { 10952 op := &request.Operation{ 10953 Name: opDescribeTrial, 10954 HTTPMethod: "POST", 10955 HTTPPath: "/", 10956 } 10957 10958 if input == nil { 10959 input = &DescribeTrialInput{} 10960 } 10961 10962 output = &DescribeTrialOutput{} 10963 req = c.newRequest(op, input, output) 10964 return 10965 } 10966 10967 // DescribeTrial API operation for Amazon SageMaker Service. 10968 // 10969 // Provides a list of a trial's properties. 10970 // 10971 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 10972 // with awserr.Error's Code and Message methods to get detailed information about 10973 // the error. 10974 // 10975 // See the AWS API reference guide for Amazon SageMaker Service's 10976 // API operation DescribeTrial for usage and error information. 10977 // 10978 // Returned Error Types: 10979 // * ResourceNotFound 10980 // Resource being access is not found. 10981 // 10982 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrial 10983 func (c *SageMaker) DescribeTrial(input *DescribeTrialInput) (*DescribeTrialOutput, error) { 10984 req, out := c.DescribeTrialRequest(input) 10985 return out, req.Send() 10986 } 10987 10988 // DescribeTrialWithContext is the same as DescribeTrial with the addition of 10989 // the ability to pass a context and additional request options. 10990 // 10991 // See DescribeTrial for details on how to use this API operation. 10992 // 10993 // The context must be non-nil and will be used for request cancellation. If 10994 // the context is nil a panic will occur. In the future the SDK may create 10995 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 10996 // for more information on using Contexts. 10997 func (c *SageMaker) DescribeTrialWithContext(ctx aws.Context, input *DescribeTrialInput, opts ...request.Option) (*DescribeTrialOutput, error) { 10998 req, out := c.DescribeTrialRequest(input) 10999 req.SetContext(ctx) 11000 req.ApplyOptions(opts...) 11001 return out, req.Send() 11002 } 11003 11004 const opDescribeTrialComponent = "DescribeTrialComponent" 11005 11006 // DescribeTrialComponentRequest generates a "aws/request.Request" representing the 11007 // client's request for the DescribeTrialComponent operation. The "output" return 11008 // value will be populated with the request's response once the request completes 11009 // successfully. 11010 // 11011 // Use "Send" method on the returned Request to send the API call to the service. 11012 // the "output" return value is not valid until after Send returns without error. 11013 // 11014 // See DescribeTrialComponent for more information on using the DescribeTrialComponent 11015 // API call, and error handling. 11016 // 11017 // This method is useful when you want to inject custom logic or configuration 11018 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 11019 // 11020 // 11021 // // Example sending a request using the DescribeTrialComponentRequest method. 11022 // req, resp := client.DescribeTrialComponentRequest(params) 11023 // 11024 // err := req.Send() 11025 // if err == nil { // resp is now filled 11026 // fmt.Println(resp) 11027 // } 11028 // 11029 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrialComponent 11030 func (c *SageMaker) DescribeTrialComponentRequest(input *DescribeTrialComponentInput) (req *request.Request, output *DescribeTrialComponentOutput) { 11031 op := &request.Operation{ 11032 Name: opDescribeTrialComponent, 11033 HTTPMethod: "POST", 11034 HTTPPath: "/", 11035 } 11036 11037 if input == nil { 11038 input = &DescribeTrialComponentInput{} 11039 } 11040 11041 output = &DescribeTrialComponentOutput{} 11042 req = c.newRequest(op, input, output) 11043 return 11044 } 11045 11046 // DescribeTrialComponent API operation for Amazon SageMaker Service. 11047 // 11048 // Provides a list of a trials component's properties. 11049 // 11050 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 11051 // with awserr.Error's Code and Message methods to get detailed information about 11052 // the error. 11053 // 11054 // See the AWS API reference guide for Amazon SageMaker Service's 11055 // API operation DescribeTrialComponent for usage and error information. 11056 // 11057 // Returned Error Types: 11058 // * ResourceNotFound 11059 // Resource being access is not found. 11060 // 11061 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrialComponent 11062 func (c *SageMaker) DescribeTrialComponent(input *DescribeTrialComponentInput) (*DescribeTrialComponentOutput, error) { 11063 req, out := c.DescribeTrialComponentRequest(input) 11064 return out, req.Send() 11065 } 11066 11067 // DescribeTrialComponentWithContext is the same as DescribeTrialComponent with the addition of 11068 // the ability to pass a context and additional request options. 11069 // 11070 // See DescribeTrialComponent for details on how to use this API operation. 11071 // 11072 // The context must be non-nil and will be used for request cancellation. If 11073 // the context is nil a panic will occur. In the future the SDK may create 11074 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 11075 // for more information on using Contexts. 11076 func (c *SageMaker) DescribeTrialComponentWithContext(ctx aws.Context, input *DescribeTrialComponentInput, opts ...request.Option) (*DescribeTrialComponentOutput, error) { 11077 req, out := c.DescribeTrialComponentRequest(input) 11078 req.SetContext(ctx) 11079 req.ApplyOptions(opts...) 11080 return out, req.Send() 11081 } 11082 11083 const opDescribeUserProfile = "DescribeUserProfile" 11084 11085 // DescribeUserProfileRequest generates a "aws/request.Request" representing the 11086 // client's request for the DescribeUserProfile operation. The "output" return 11087 // value will be populated with the request's response once the request completes 11088 // successfully. 11089 // 11090 // Use "Send" method on the returned Request to send the API call to the service. 11091 // the "output" return value is not valid until after Send returns without error. 11092 // 11093 // See DescribeUserProfile for more information on using the DescribeUserProfile 11094 // API call, and error handling. 11095 // 11096 // This method is useful when you want to inject custom logic or configuration 11097 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 11098 // 11099 // 11100 // // Example sending a request using the DescribeUserProfileRequest method. 11101 // req, resp := client.DescribeUserProfileRequest(params) 11102 // 11103 // err := req.Send() 11104 // if err == nil { // resp is now filled 11105 // fmt.Println(resp) 11106 // } 11107 // 11108 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeUserProfile 11109 func (c *SageMaker) DescribeUserProfileRequest(input *DescribeUserProfileInput) (req *request.Request, output *DescribeUserProfileOutput) { 11110 op := &request.Operation{ 11111 Name: opDescribeUserProfile, 11112 HTTPMethod: "POST", 11113 HTTPPath: "/", 11114 } 11115 11116 if input == nil { 11117 input = &DescribeUserProfileInput{} 11118 } 11119 11120 output = &DescribeUserProfileOutput{} 11121 req = c.newRequest(op, input, output) 11122 return 11123 } 11124 11125 // DescribeUserProfile API operation for Amazon SageMaker Service. 11126 // 11127 // Describes a user profile. For more information, see CreateUserProfile. 11128 // 11129 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 11130 // with awserr.Error's Code and Message methods to get detailed information about 11131 // the error. 11132 // 11133 // See the AWS API reference guide for Amazon SageMaker Service's 11134 // API operation DescribeUserProfile for usage and error information. 11135 // 11136 // Returned Error Types: 11137 // * ResourceNotFound 11138 // Resource being access is not found. 11139 // 11140 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeUserProfile 11141 func (c *SageMaker) DescribeUserProfile(input *DescribeUserProfileInput) (*DescribeUserProfileOutput, error) { 11142 req, out := c.DescribeUserProfileRequest(input) 11143 return out, req.Send() 11144 } 11145 11146 // DescribeUserProfileWithContext is the same as DescribeUserProfile with the addition of 11147 // the ability to pass a context and additional request options. 11148 // 11149 // See DescribeUserProfile for details on how to use this API operation. 11150 // 11151 // The context must be non-nil and will be used for request cancellation. If 11152 // the context is nil a panic will occur. In the future the SDK may create 11153 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 11154 // for more information on using Contexts. 11155 func (c *SageMaker) DescribeUserProfileWithContext(ctx aws.Context, input *DescribeUserProfileInput, opts ...request.Option) (*DescribeUserProfileOutput, error) { 11156 req, out := c.DescribeUserProfileRequest(input) 11157 req.SetContext(ctx) 11158 req.ApplyOptions(opts...) 11159 return out, req.Send() 11160 } 11161 11162 const opDescribeWorkforce = "DescribeWorkforce" 11163 11164 // DescribeWorkforceRequest generates a "aws/request.Request" representing the 11165 // client's request for the DescribeWorkforce operation. The "output" return 11166 // value will be populated with the request's response once the request completes 11167 // successfully. 11168 // 11169 // Use "Send" method on the returned Request to send the API call to the service. 11170 // the "output" return value is not valid until after Send returns without error. 11171 // 11172 // See DescribeWorkforce for more information on using the DescribeWorkforce 11173 // API call, and error handling. 11174 // 11175 // This method is useful when you want to inject custom logic or configuration 11176 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 11177 // 11178 // 11179 // // Example sending a request using the DescribeWorkforceRequest method. 11180 // req, resp := client.DescribeWorkforceRequest(params) 11181 // 11182 // err := req.Send() 11183 // if err == nil { // resp is now filled 11184 // fmt.Println(resp) 11185 // } 11186 // 11187 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeWorkforce 11188 func (c *SageMaker) DescribeWorkforceRequest(input *DescribeWorkforceInput) (req *request.Request, output *DescribeWorkforceOutput) { 11189 op := &request.Operation{ 11190 Name: opDescribeWorkforce, 11191 HTTPMethod: "POST", 11192 HTTPPath: "/", 11193 } 11194 11195 if input == nil { 11196 input = &DescribeWorkforceInput{} 11197 } 11198 11199 output = &DescribeWorkforceOutput{} 11200 req = c.newRequest(op, input, output) 11201 return 11202 } 11203 11204 // DescribeWorkforce API operation for Amazon SageMaker Service. 11205 // 11206 // Lists private workforce information, including workforce name, Amazon Resource 11207 // Name (ARN), and, if applicable, allowed IP address ranges (CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html)). 11208 // Allowable IP address ranges are the IP addresses that workers can use to 11209 // access tasks. 11210 // 11211 // This operation applies only to private workforces. 11212 // 11213 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 11214 // with awserr.Error's Code and Message methods to get detailed information about 11215 // the error. 11216 // 11217 // See the AWS API reference guide for Amazon SageMaker Service's 11218 // API operation DescribeWorkforce for usage and error information. 11219 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeWorkforce 11220 func (c *SageMaker) DescribeWorkforce(input *DescribeWorkforceInput) (*DescribeWorkforceOutput, error) { 11221 req, out := c.DescribeWorkforceRequest(input) 11222 return out, req.Send() 11223 } 11224 11225 // DescribeWorkforceWithContext is the same as DescribeWorkforce with the addition of 11226 // the ability to pass a context and additional request options. 11227 // 11228 // See DescribeWorkforce for details on how to use this API operation. 11229 // 11230 // The context must be non-nil and will be used for request cancellation. If 11231 // the context is nil a panic will occur. In the future the SDK may create 11232 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 11233 // for more information on using Contexts. 11234 func (c *SageMaker) DescribeWorkforceWithContext(ctx aws.Context, input *DescribeWorkforceInput, opts ...request.Option) (*DescribeWorkforceOutput, error) { 11235 req, out := c.DescribeWorkforceRequest(input) 11236 req.SetContext(ctx) 11237 req.ApplyOptions(opts...) 11238 return out, req.Send() 11239 } 11240 11241 const opDescribeWorkteam = "DescribeWorkteam" 11242 11243 // DescribeWorkteamRequest generates a "aws/request.Request" representing the 11244 // client's request for the DescribeWorkteam operation. The "output" return 11245 // value will be populated with the request's response once the request completes 11246 // successfully. 11247 // 11248 // Use "Send" method on the returned Request to send the API call to the service. 11249 // the "output" return value is not valid until after Send returns without error. 11250 // 11251 // See DescribeWorkteam for more information on using the DescribeWorkteam 11252 // API call, and error handling. 11253 // 11254 // This method is useful when you want to inject custom logic or configuration 11255 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 11256 // 11257 // 11258 // // Example sending a request using the DescribeWorkteamRequest method. 11259 // req, resp := client.DescribeWorkteamRequest(params) 11260 // 11261 // err := req.Send() 11262 // if err == nil { // resp is now filled 11263 // fmt.Println(resp) 11264 // } 11265 // 11266 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeWorkteam 11267 func (c *SageMaker) DescribeWorkteamRequest(input *DescribeWorkteamInput) (req *request.Request, output *DescribeWorkteamOutput) { 11268 op := &request.Operation{ 11269 Name: opDescribeWorkteam, 11270 HTTPMethod: "POST", 11271 HTTPPath: "/", 11272 } 11273 11274 if input == nil { 11275 input = &DescribeWorkteamInput{} 11276 } 11277 11278 output = &DescribeWorkteamOutput{} 11279 req = c.newRequest(op, input, output) 11280 return 11281 } 11282 11283 // DescribeWorkteam API operation for Amazon SageMaker Service. 11284 // 11285 // Gets information about a specific work team. You can see information such 11286 // as the create date, the last updated date, membership information, and the 11287 // work team's Amazon Resource Name (ARN). 11288 // 11289 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 11290 // with awserr.Error's Code and Message methods to get detailed information about 11291 // the error. 11292 // 11293 // See the AWS API reference guide for Amazon SageMaker Service's 11294 // API operation DescribeWorkteam for usage and error information. 11295 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeWorkteam 11296 func (c *SageMaker) DescribeWorkteam(input *DescribeWorkteamInput) (*DescribeWorkteamOutput, error) { 11297 req, out := c.DescribeWorkteamRequest(input) 11298 return out, req.Send() 11299 } 11300 11301 // DescribeWorkteamWithContext is the same as DescribeWorkteam with the addition of 11302 // the ability to pass a context and additional request options. 11303 // 11304 // See DescribeWorkteam for details on how to use this API operation. 11305 // 11306 // The context must be non-nil and will be used for request cancellation. If 11307 // the context is nil a panic will occur. In the future the SDK may create 11308 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 11309 // for more information on using Contexts. 11310 func (c *SageMaker) DescribeWorkteamWithContext(ctx aws.Context, input *DescribeWorkteamInput, opts ...request.Option) (*DescribeWorkteamOutput, error) { 11311 req, out := c.DescribeWorkteamRequest(input) 11312 req.SetContext(ctx) 11313 req.ApplyOptions(opts...) 11314 return out, req.Send() 11315 } 11316 11317 const opDisableSagemakerServicecatalogPortfolio = "DisableSagemakerServicecatalogPortfolio" 11318 11319 // DisableSagemakerServicecatalogPortfolioRequest generates a "aws/request.Request" representing the 11320 // client's request for the DisableSagemakerServicecatalogPortfolio operation. The "output" return 11321 // value will be populated with the request's response once the request completes 11322 // successfully. 11323 // 11324 // Use "Send" method on the returned Request to send the API call to the service. 11325 // the "output" return value is not valid until after Send returns without error. 11326 // 11327 // See DisableSagemakerServicecatalogPortfolio for more information on using the DisableSagemakerServicecatalogPortfolio 11328 // API call, and error handling. 11329 // 11330 // This method is useful when you want to inject custom logic or configuration 11331 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 11332 // 11333 // 11334 // // Example sending a request using the DisableSagemakerServicecatalogPortfolioRequest method. 11335 // req, resp := client.DisableSagemakerServicecatalogPortfolioRequest(params) 11336 // 11337 // err := req.Send() 11338 // if err == nil { // resp is now filled 11339 // fmt.Println(resp) 11340 // } 11341 // 11342 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DisableSagemakerServicecatalogPortfolio 11343 func (c *SageMaker) DisableSagemakerServicecatalogPortfolioRequest(input *DisableSagemakerServicecatalogPortfolioInput) (req *request.Request, output *DisableSagemakerServicecatalogPortfolioOutput) { 11344 op := &request.Operation{ 11345 Name: opDisableSagemakerServicecatalogPortfolio, 11346 HTTPMethod: "POST", 11347 HTTPPath: "/", 11348 } 11349 11350 if input == nil { 11351 input = &DisableSagemakerServicecatalogPortfolioInput{} 11352 } 11353 11354 output = &DisableSagemakerServicecatalogPortfolioOutput{} 11355 req = c.newRequest(op, input, output) 11356 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 11357 return 11358 } 11359 11360 // DisableSagemakerServicecatalogPortfolio API operation for Amazon SageMaker Service. 11361 // 11362 // Disables using Service Catalog in SageMaker. Service Catalog is used to create 11363 // SageMaker projects. 11364 // 11365 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 11366 // with awserr.Error's Code and Message methods to get detailed information about 11367 // the error. 11368 // 11369 // See the AWS API reference guide for Amazon SageMaker Service's 11370 // API operation DisableSagemakerServicecatalogPortfolio for usage and error information. 11371 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DisableSagemakerServicecatalogPortfolio 11372 func (c *SageMaker) DisableSagemakerServicecatalogPortfolio(input *DisableSagemakerServicecatalogPortfolioInput) (*DisableSagemakerServicecatalogPortfolioOutput, error) { 11373 req, out := c.DisableSagemakerServicecatalogPortfolioRequest(input) 11374 return out, req.Send() 11375 } 11376 11377 // DisableSagemakerServicecatalogPortfolioWithContext is the same as DisableSagemakerServicecatalogPortfolio with the addition of 11378 // the ability to pass a context and additional request options. 11379 // 11380 // See DisableSagemakerServicecatalogPortfolio for details on how to use this API operation. 11381 // 11382 // The context must be non-nil and will be used for request cancellation. If 11383 // the context is nil a panic will occur. In the future the SDK may create 11384 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 11385 // for more information on using Contexts. 11386 func (c *SageMaker) DisableSagemakerServicecatalogPortfolioWithContext(ctx aws.Context, input *DisableSagemakerServicecatalogPortfolioInput, opts ...request.Option) (*DisableSagemakerServicecatalogPortfolioOutput, error) { 11387 req, out := c.DisableSagemakerServicecatalogPortfolioRequest(input) 11388 req.SetContext(ctx) 11389 req.ApplyOptions(opts...) 11390 return out, req.Send() 11391 } 11392 11393 const opDisassociateTrialComponent = "DisassociateTrialComponent" 11394 11395 // DisassociateTrialComponentRequest generates a "aws/request.Request" representing the 11396 // client's request for the DisassociateTrialComponent operation. The "output" return 11397 // value will be populated with the request's response once the request completes 11398 // successfully. 11399 // 11400 // Use "Send" method on the returned Request to send the API call to the service. 11401 // the "output" return value is not valid until after Send returns without error. 11402 // 11403 // See DisassociateTrialComponent for more information on using the DisassociateTrialComponent 11404 // API call, and error handling. 11405 // 11406 // This method is useful when you want to inject custom logic or configuration 11407 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 11408 // 11409 // 11410 // // Example sending a request using the DisassociateTrialComponentRequest method. 11411 // req, resp := client.DisassociateTrialComponentRequest(params) 11412 // 11413 // err := req.Send() 11414 // if err == nil { // resp is now filled 11415 // fmt.Println(resp) 11416 // } 11417 // 11418 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DisassociateTrialComponent 11419 func (c *SageMaker) DisassociateTrialComponentRequest(input *DisassociateTrialComponentInput) (req *request.Request, output *DisassociateTrialComponentOutput) { 11420 op := &request.Operation{ 11421 Name: opDisassociateTrialComponent, 11422 HTTPMethod: "POST", 11423 HTTPPath: "/", 11424 } 11425 11426 if input == nil { 11427 input = &DisassociateTrialComponentInput{} 11428 } 11429 11430 output = &DisassociateTrialComponentOutput{} 11431 req = c.newRequest(op, input, output) 11432 return 11433 } 11434 11435 // DisassociateTrialComponent API operation for Amazon SageMaker Service. 11436 // 11437 // Disassociates a trial component from a trial. This doesn't effect other trials 11438 // the component is associated with. Before you can delete a component, you 11439 // must disassociate the component from all trials it is associated with. To 11440 // associate a trial component with a trial, call the AssociateTrialComponent 11441 // API. 11442 // 11443 // To get a list of the trials a component is associated with, use the Search 11444 // API. Specify ExperimentTrialComponent for the Resource parameter. The list 11445 // appears in the response under Results.TrialComponent.Parents. 11446 // 11447 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 11448 // with awserr.Error's Code and Message methods to get detailed information about 11449 // the error. 11450 // 11451 // See the AWS API reference guide for Amazon SageMaker Service's 11452 // API operation DisassociateTrialComponent for usage and error information. 11453 // 11454 // Returned Error Types: 11455 // * ResourceNotFound 11456 // Resource being access is not found. 11457 // 11458 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DisassociateTrialComponent 11459 func (c *SageMaker) DisassociateTrialComponent(input *DisassociateTrialComponentInput) (*DisassociateTrialComponentOutput, error) { 11460 req, out := c.DisassociateTrialComponentRequest(input) 11461 return out, req.Send() 11462 } 11463 11464 // DisassociateTrialComponentWithContext is the same as DisassociateTrialComponent with the addition of 11465 // the ability to pass a context and additional request options. 11466 // 11467 // See DisassociateTrialComponent for details on how to use this API operation. 11468 // 11469 // The context must be non-nil and will be used for request cancellation. If 11470 // the context is nil a panic will occur. In the future the SDK may create 11471 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 11472 // for more information on using Contexts. 11473 func (c *SageMaker) DisassociateTrialComponentWithContext(ctx aws.Context, input *DisassociateTrialComponentInput, opts ...request.Option) (*DisassociateTrialComponentOutput, error) { 11474 req, out := c.DisassociateTrialComponentRequest(input) 11475 req.SetContext(ctx) 11476 req.ApplyOptions(opts...) 11477 return out, req.Send() 11478 } 11479 11480 const opEnableSagemakerServicecatalogPortfolio = "EnableSagemakerServicecatalogPortfolio" 11481 11482 // EnableSagemakerServicecatalogPortfolioRequest generates a "aws/request.Request" representing the 11483 // client's request for the EnableSagemakerServicecatalogPortfolio operation. The "output" return 11484 // value will be populated with the request's response once the request completes 11485 // successfully. 11486 // 11487 // Use "Send" method on the returned Request to send the API call to the service. 11488 // the "output" return value is not valid until after Send returns without error. 11489 // 11490 // See EnableSagemakerServicecatalogPortfolio for more information on using the EnableSagemakerServicecatalogPortfolio 11491 // API call, and error handling. 11492 // 11493 // This method is useful when you want to inject custom logic or configuration 11494 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 11495 // 11496 // 11497 // // Example sending a request using the EnableSagemakerServicecatalogPortfolioRequest method. 11498 // req, resp := client.EnableSagemakerServicecatalogPortfolioRequest(params) 11499 // 11500 // err := req.Send() 11501 // if err == nil { // resp is now filled 11502 // fmt.Println(resp) 11503 // } 11504 // 11505 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/EnableSagemakerServicecatalogPortfolio 11506 func (c *SageMaker) EnableSagemakerServicecatalogPortfolioRequest(input *EnableSagemakerServicecatalogPortfolioInput) (req *request.Request, output *EnableSagemakerServicecatalogPortfolioOutput) { 11507 op := &request.Operation{ 11508 Name: opEnableSagemakerServicecatalogPortfolio, 11509 HTTPMethod: "POST", 11510 HTTPPath: "/", 11511 } 11512 11513 if input == nil { 11514 input = &EnableSagemakerServicecatalogPortfolioInput{} 11515 } 11516 11517 output = &EnableSagemakerServicecatalogPortfolioOutput{} 11518 req = c.newRequest(op, input, output) 11519 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 11520 return 11521 } 11522 11523 // EnableSagemakerServicecatalogPortfolio API operation for Amazon SageMaker Service. 11524 // 11525 // Enables using Service Catalog in SageMaker. Service Catalog is used to create 11526 // SageMaker projects. 11527 // 11528 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 11529 // with awserr.Error's Code and Message methods to get detailed information about 11530 // the error. 11531 // 11532 // See the AWS API reference guide for Amazon SageMaker Service's 11533 // API operation EnableSagemakerServicecatalogPortfolio for usage and error information. 11534 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/EnableSagemakerServicecatalogPortfolio 11535 func (c *SageMaker) EnableSagemakerServicecatalogPortfolio(input *EnableSagemakerServicecatalogPortfolioInput) (*EnableSagemakerServicecatalogPortfolioOutput, error) { 11536 req, out := c.EnableSagemakerServicecatalogPortfolioRequest(input) 11537 return out, req.Send() 11538 } 11539 11540 // EnableSagemakerServicecatalogPortfolioWithContext is the same as EnableSagemakerServicecatalogPortfolio with the addition of 11541 // the ability to pass a context and additional request options. 11542 // 11543 // See EnableSagemakerServicecatalogPortfolio for details on how to use this API operation. 11544 // 11545 // The context must be non-nil and will be used for request cancellation. If 11546 // the context is nil a panic will occur. In the future the SDK may create 11547 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 11548 // for more information on using Contexts. 11549 func (c *SageMaker) EnableSagemakerServicecatalogPortfolioWithContext(ctx aws.Context, input *EnableSagemakerServicecatalogPortfolioInput, opts ...request.Option) (*EnableSagemakerServicecatalogPortfolioOutput, error) { 11550 req, out := c.EnableSagemakerServicecatalogPortfolioRequest(input) 11551 req.SetContext(ctx) 11552 req.ApplyOptions(opts...) 11553 return out, req.Send() 11554 } 11555 11556 const opGetDeviceFleetReport = "GetDeviceFleetReport" 11557 11558 // GetDeviceFleetReportRequest generates a "aws/request.Request" representing the 11559 // client's request for the GetDeviceFleetReport operation. The "output" return 11560 // value will be populated with the request's response once the request completes 11561 // successfully. 11562 // 11563 // Use "Send" method on the returned Request to send the API call to the service. 11564 // the "output" return value is not valid until after Send returns without error. 11565 // 11566 // See GetDeviceFleetReport for more information on using the GetDeviceFleetReport 11567 // API call, and error handling. 11568 // 11569 // This method is useful when you want to inject custom logic or configuration 11570 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 11571 // 11572 // 11573 // // Example sending a request using the GetDeviceFleetReportRequest method. 11574 // req, resp := client.GetDeviceFleetReportRequest(params) 11575 // 11576 // err := req.Send() 11577 // if err == nil { // resp is now filled 11578 // fmt.Println(resp) 11579 // } 11580 // 11581 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetDeviceFleetReport 11582 func (c *SageMaker) GetDeviceFleetReportRequest(input *GetDeviceFleetReportInput) (req *request.Request, output *GetDeviceFleetReportOutput) { 11583 op := &request.Operation{ 11584 Name: opGetDeviceFleetReport, 11585 HTTPMethod: "POST", 11586 HTTPPath: "/", 11587 } 11588 11589 if input == nil { 11590 input = &GetDeviceFleetReportInput{} 11591 } 11592 11593 output = &GetDeviceFleetReportOutput{} 11594 req = c.newRequest(op, input, output) 11595 return 11596 } 11597 11598 // GetDeviceFleetReport API operation for Amazon SageMaker Service. 11599 // 11600 // Describes a fleet. 11601 // 11602 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 11603 // with awserr.Error's Code and Message methods to get detailed information about 11604 // the error. 11605 // 11606 // See the AWS API reference guide for Amazon SageMaker Service's 11607 // API operation GetDeviceFleetReport for usage and error information. 11608 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetDeviceFleetReport 11609 func (c *SageMaker) GetDeviceFleetReport(input *GetDeviceFleetReportInput) (*GetDeviceFleetReportOutput, error) { 11610 req, out := c.GetDeviceFleetReportRequest(input) 11611 return out, req.Send() 11612 } 11613 11614 // GetDeviceFleetReportWithContext is the same as GetDeviceFleetReport with the addition of 11615 // the ability to pass a context and additional request options. 11616 // 11617 // See GetDeviceFleetReport for details on how to use this API operation. 11618 // 11619 // The context must be non-nil and will be used for request cancellation. If 11620 // the context is nil a panic will occur. In the future the SDK may create 11621 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 11622 // for more information on using Contexts. 11623 func (c *SageMaker) GetDeviceFleetReportWithContext(ctx aws.Context, input *GetDeviceFleetReportInput, opts ...request.Option) (*GetDeviceFleetReportOutput, error) { 11624 req, out := c.GetDeviceFleetReportRequest(input) 11625 req.SetContext(ctx) 11626 req.ApplyOptions(opts...) 11627 return out, req.Send() 11628 } 11629 11630 const opGetModelPackageGroupPolicy = "GetModelPackageGroupPolicy" 11631 11632 // GetModelPackageGroupPolicyRequest generates a "aws/request.Request" representing the 11633 // client's request for the GetModelPackageGroupPolicy operation. The "output" return 11634 // value will be populated with the request's response once the request completes 11635 // successfully. 11636 // 11637 // Use "Send" method on the returned Request to send the API call to the service. 11638 // the "output" return value is not valid until after Send returns without error. 11639 // 11640 // See GetModelPackageGroupPolicy for more information on using the GetModelPackageGroupPolicy 11641 // API call, and error handling. 11642 // 11643 // This method is useful when you want to inject custom logic or configuration 11644 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 11645 // 11646 // 11647 // // Example sending a request using the GetModelPackageGroupPolicyRequest method. 11648 // req, resp := client.GetModelPackageGroupPolicyRequest(params) 11649 // 11650 // err := req.Send() 11651 // if err == nil { // resp is now filled 11652 // fmt.Println(resp) 11653 // } 11654 // 11655 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetModelPackageGroupPolicy 11656 func (c *SageMaker) GetModelPackageGroupPolicyRequest(input *GetModelPackageGroupPolicyInput) (req *request.Request, output *GetModelPackageGroupPolicyOutput) { 11657 op := &request.Operation{ 11658 Name: opGetModelPackageGroupPolicy, 11659 HTTPMethod: "POST", 11660 HTTPPath: "/", 11661 } 11662 11663 if input == nil { 11664 input = &GetModelPackageGroupPolicyInput{} 11665 } 11666 11667 output = &GetModelPackageGroupPolicyOutput{} 11668 req = c.newRequest(op, input, output) 11669 return 11670 } 11671 11672 // GetModelPackageGroupPolicy API operation for Amazon SageMaker Service. 11673 // 11674 // Gets a resource policy that manages access for a model group. For information 11675 // about resource policies, see Identity-based policies and resource-based policies 11676 // (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_identity-vs-resource.html) 11677 // in the Amazon Web Services Identity and Access Management User Guide.. 11678 // 11679 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 11680 // with awserr.Error's Code and Message methods to get detailed information about 11681 // the error. 11682 // 11683 // See the AWS API reference guide for Amazon SageMaker Service's 11684 // API operation GetModelPackageGroupPolicy for usage and error information. 11685 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetModelPackageGroupPolicy 11686 func (c *SageMaker) GetModelPackageGroupPolicy(input *GetModelPackageGroupPolicyInput) (*GetModelPackageGroupPolicyOutput, error) { 11687 req, out := c.GetModelPackageGroupPolicyRequest(input) 11688 return out, req.Send() 11689 } 11690 11691 // GetModelPackageGroupPolicyWithContext is the same as GetModelPackageGroupPolicy with the addition of 11692 // the ability to pass a context and additional request options. 11693 // 11694 // See GetModelPackageGroupPolicy for details on how to use this API operation. 11695 // 11696 // The context must be non-nil and will be used for request cancellation. If 11697 // the context is nil a panic will occur. In the future the SDK may create 11698 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 11699 // for more information on using Contexts. 11700 func (c *SageMaker) GetModelPackageGroupPolicyWithContext(ctx aws.Context, input *GetModelPackageGroupPolicyInput, opts ...request.Option) (*GetModelPackageGroupPolicyOutput, error) { 11701 req, out := c.GetModelPackageGroupPolicyRequest(input) 11702 req.SetContext(ctx) 11703 req.ApplyOptions(opts...) 11704 return out, req.Send() 11705 } 11706 11707 const opGetSagemakerServicecatalogPortfolioStatus = "GetSagemakerServicecatalogPortfolioStatus" 11708 11709 // GetSagemakerServicecatalogPortfolioStatusRequest generates a "aws/request.Request" representing the 11710 // client's request for the GetSagemakerServicecatalogPortfolioStatus operation. The "output" return 11711 // value will be populated with the request's response once the request completes 11712 // successfully. 11713 // 11714 // Use "Send" method on the returned Request to send the API call to the service. 11715 // the "output" return value is not valid until after Send returns without error. 11716 // 11717 // See GetSagemakerServicecatalogPortfolioStatus for more information on using the GetSagemakerServicecatalogPortfolioStatus 11718 // API call, and error handling. 11719 // 11720 // This method is useful when you want to inject custom logic or configuration 11721 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 11722 // 11723 // 11724 // // Example sending a request using the GetSagemakerServicecatalogPortfolioStatusRequest method. 11725 // req, resp := client.GetSagemakerServicecatalogPortfolioStatusRequest(params) 11726 // 11727 // err := req.Send() 11728 // if err == nil { // resp is now filled 11729 // fmt.Println(resp) 11730 // } 11731 // 11732 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetSagemakerServicecatalogPortfolioStatus 11733 func (c *SageMaker) GetSagemakerServicecatalogPortfolioStatusRequest(input *GetSagemakerServicecatalogPortfolioStatusInput) (req *request.Request, output *GetSagemakerServicecatalogPortfolioStatusOutput) { 11734 op := &request.Operation{ 11735 Name: opGetSagemakerServicecatalogPortfolioStatus, 11736 HTTPMethod: "POST", 11737 HTTPPath: "/", 11738 } 11739 11740 if input == nil { 11741 input = &GetSagemakerServicecatalogPortfolioStatusInput{} 11742 } 11743 11744 output = &GetSagemakerServicecatalogPortfolioStatusOutput{} 11745 req = c.newRequest(op, input, output) 11746 return 11747 } 11748 11749 // GetSagemakerServicecatalogPortfolioStatus API operation for Amazon SageMaker Service. 11750 // 11751 // Gets the status of Service Catalog in SageMaker. Service Catalog is used 11752 // to create SageMaker projects. 11753 // 11754 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 11755 // with awserr.Error's Code and Message methods to get detailed information about 11756 // the error. 11757 // 11758 // See the AWS API reference guide for Amazon SageMaker Service's 11759 // API operation GetSagemakerServicecatalogPortfolioStatus for usage and error information. 11760 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetSagemakerServicecatalogPortfolioStatus 11761 func (c *SageMaker) GetSagemakerServicecatalogPortfolioStatus(input *GetSagemakerServicecatalogPortfolioStatusInput) (*GetSagemakerServicecatalogPortfolioStatusOutput, error) { 11762 req, out := c.GetSagemakerServicecatalogPortfolioStatusRequest(input) 11763 return out, req.Send() 11764 } 11765 11766 // GetSagemakerServicecatalogPortfolioStatusWithContext is the same as GetSagemakerServicecatalogPortfolioStatus with the addition of 11767 // the ability to pass a context and additional request options. 11768 // 11769 // See GetSagemakerServicecatalogPortfolioStatus for details on how to use this API operation. 11770 // 11771 // The context must be non-nil and will be used for request cancellation. If 11772 // the context is nil a panic will occur. In the future the SDK may create 11773 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 11774 // for more information on using Contexts. 11775 func (c *SageMaker) GetSagemakerServicecatalogPortfolioStatusWithContext(ctx aws.Context, input *GetSagemakerServicecatalogPortfolioStatusInput, opts ...request.Option) (*GetSagemakerServicecatalogPortfolioStatusOutput, error) { 11776 req, out := c.GetSagemakerServicecatalogPortfolioStatusRequest(input) 11777 req.SetContext(ctx) 11778 req.ApplyOptions(opts...) 11779 return out, req.Send() 11780 } 11781 11782 const opGetSearchSuggestions = "GetSearchSuggestions" 11783 11784 // GetSearchSuggestionsRequest generates a "aws/request.Request" representing the 11785 // client's request for the GetSearchSuggestions operation. The "output" return 11786 // value will be populated with the request's response once the request completes 11787 // successfully. 11788 // 11789 // Use "Send" method on the returned Request to send the API call to the service. 11790 // the "output" return value is not valid until after Send returns without error. 11791 // 11792 // See GetSearchSuggestions for more information on using the GetSearchSuggestions 11793 // API call, and error handling. 11794 // 11795 // This method is useful when you want to inject custom logic or configuration 11796 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 11797 // 11798 // 11799 // // Example sending a request using the GetSearchSuggestionsRequest method. 11800 // req, resp := client.GetSearchSuggestionsRequest(params) 11801 // 11802 // err := req.Send() 11803 // if err == nil { // resp is now filled 11804 // fmt.Println(resp) 11805 // } 11806 // 11807 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetSearchSuggestions 11808 func (c *SageMaker) GetSearchSuggestionsRequest(input *GetSearchSuggestionsInput) (req *request.Request, output *GetSearchSuggestionsOutput) { 11809 op := &request.Operation{ 11810 Name: opGetSearchSuggestions, 11811 HTTPMethod: "POST", 11812 HTTPPath: "/", 11813 } 11814 11815 if input == nil { 11816 input = &GetSearchSuggestionsInput{} 11817 } 11818 11819 output = &GetSearchSuggestionsOutput{} 11820 req = c.newRequest(op, input, output) 11821 return 11822 } 11823 11824 // GetSearchSuggestions API operation for Amazon SageMaker Service. 11825 // 11826 // An auto-complete API for the search functionality in the Amazon SageMaker 11827 // console. It returns suggestions of possible matches for the property name 11828 // to use in Search queries. Provides suggestions for HyperParameters, Tags, 11829 // and Metrics. 11830 // 11831 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 11832 // with awserr.Error's Code and Message methods to get detailed information about 11833 // the error. 11834 // 11835 // See the AWS API reference guide for Amazon SageMaker Service's 11836 // API operation GetSearchSuggestions for usage and error information. 11837 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetSearchSuggestions 11838 func (c *SageMaker) GetSearchSuggestions(input *GetSearchSuggestionsInput) (*GetSearchSuggestionsOutput, error) { 11839 req, out := c.GetSearchSuggestionsRequest(input) 11840 return out, req.Send() 11841 } 11842 11843 // GetSearchSuggestionsWithContext is the same as GetSearchSuggestions with the addition of 11844 // the ability to pass a context and additional request options. 11845 // 11846 // See GetSearchSuggestions for details on how to use this API operation. 11847 // 11848 // The context must be non-nil and will be used for request cancellation. If 11849 // the context is nil a panic will occur. In the future the SDK may create 11850 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 11851 // for more information on using Contexts. 11852 func (c *SageMaker) GetSearchSuggestionsWithContext(ctx aws.Context, input *GetSearchSuggestionsInput, opts ...request.Option) (*GetSearchSuggestionsOutput, error) { 11853 req, out := c.GetSearchSuggestionsRequest(input) 11854 req.SetContext(ctx) 11855 req.ApplyOptions(opts...) 11856 return out, req.Send() 11857 } 11858 11859 const opListActions = "ListActions" 11860 11861 // ListActionsRequest generates a "aws/request.Request" representing the 11862 // client's request for the ListActions operation. The "output" return 11863 // value will be populated with the request's response once the request completes 11864 // successfully. 11865 // 11866 // Use "Send" method on the returned Request to send the API call to the service. 11867 // the "output" return value is not valid until after Send returns without error. 11868 // 11869 // See ListActions for more information on using the ListActions 11870 // API call, and error handling. 11871 // 11872 // This method is useful when you want to inject custom logic or configuration 11873 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 11874 // 11875 // 11876 // // Example sending a request using the ListActionsRequest method. 11877 // req, resp := client.ListActionsRequest(params) 11878 // 11879 // err := req.Send() 11880 // if err == nil { // resp is now filled 11881 // fmt.Println(resp) 11882 // } 11883 // 11884 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListActions 11885 func (c *SageMaker) ListActionsRequest(input *ListActionsInput) (req *request.Request, output *ListActionsOutput) { 11886 op := &request.Operation{ 11887 Name: opListActions, 11888 HTTPMethod: "POST", 11889 HTTPPath: "/", 11890 Paginator: &request.Paginator{ 11891 InputTokens: []string{"NextToken"}, 11892 OutputTokens: []string{"NextToken"}, 11893 LimitToken: "MaxResults", 11894 TruncationToken: "", 11895 }, 11896 } 11897 11898 if input == nil { 11899 input = &ListActionsInput{} 11900 } 11901 11902 output = &ListActionsOutput{} 11903 req = c.newRequest(op, input, output) 11904 return 11905 } 11906 11907 // ListActions API operation for Amazon SageMaker Service. 11908 // 11909 // Lists the actions in your account and their properties. 11910 // 11911 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 11912 // with awserr.Error's Code and Message methods to get detailed information about 11913 // the error. 11914 // 11915 // See the AWS API reference guide for Amazon SageMaker Service's 11916 // API operation ListActions for usage and error information. 11917 // 11918 // Returned Error Types: 11919 // * ResourceNotFound 11920 // Resource being access is not found. 11921 // 11922 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListActions 11923 func (c *SageMaker) ListActions(input *ListActionsInput) (*ListActionsOutput, error) { 11924 req, out := c.ListActionsRequest(input) 11925 return out, req.Send() 11926 } 11927 11928 // ListActionsWithContext is the same as ListActions with the addition of 11929 // the ability to pass a context and additional request options. 11930 // 11931 // See ListActions for details on how to use this API operation. 11932 // 11933 // The context must be non-nil and will be used for request cancellation. If 11934 // the context is nil a panic will occur. In the future the SDK may create 11935 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 11936 // for more information on using Contexts. 11937 func (c *SageMaker) ListActionsWithContext(ctx aws.Context, input *ListActionsInput, opts ...request.Option) (*ListActionsOutput, error) { 11938 req, out := c.ListActionsRequest(input) 11939 req.SetContext(ctx) 11940 req.ApplyOptions(opts...) 11941 return out, req.Send() 11942 } 11943 11944 // ListActionsPages iterates over the pages of a ListActions operation, 11945 // calling the "fn" function with the response data for each page. To stop 11946 // iterating, return false from the fn function. 11947 // 11948 // See ListActions method for more information on how to use this operation. 11949 // 11950 // Note: This operation can generate multiple requests to a service. 11951 // 11952 // // Example iterating over at most 3 pages of a ListActions operation. 11953 // pageNum := 0 11954 // err := client.ListActionsPages(params, 11955 // func(page *sagemaker.ListActionsOutput, lastPage bool) bool { 11956 // pageNum++ 11957 // fmt.Println(page) 11958 // return pageNum <= 3 11959 // }) 11960 // 11961 func (c *SageMaker) ListActionsPages(input *ListActionsInput, fn func(*ListActionsOutput, bool) bool) error { 11962 return c.ListActionsPagesWithContext(aws.BackgroundContext(), input, fn) 11963 } 11964 11965 // ListActionsPagesWithContext same as ListActionsPages except 11966 // it takes a Context and allows setting request options on the pages. 11967 // 11968 // The context must be non-nil and will be used for request cancellation. If 11969 // the context is nil a panic will occur. In the future the SDK may create 11970 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 11971 // for more information on using Contexts. 11972 func (c *SageMaker) ListActionsPagesWithContext(ctx aws.Context, input *ListActionsInput, fn func(*ListActionsOutput, bool) bool, opts ...request.Option) error { 11973 p := request.Pagination{ 11974 NewRequest: func() (*request.Request, error) { 11975 var inCpy *ListActionsInput 11976 if input != nil { 11977 tmp := *input 11978 inCpy = &tmp 11979 } 11980 req, _ := c.ListActionsRequest(inCpy) 11981 req.SetContext(ctx) 11982 req.ApplyOptions(opts...) 11983 return req, nil 11984 }, 11985 } 11986 11987 for p.Next() { 11988 if !fn(p.Page().(*ListActionsOutput), !p.HasNextPage()) { 11989 break 11990 } 11991 } 11992 11993 return p.Err() 11994 } 11995 11996 const opListAlgorithms = "ListAlgorithms" 11997 11998 // ListAlgorithmsRequest generates a "aws/request.Request" representing the 11999 // client's request for the ListAlgorithms operation. The "output" return 12000 // value will be populated with the request's response once the request completes 12001 // successfully. 12002 // 12003 // Use "Send" method on the returned Request to send the API call to the service. 12004 // the "output" return value is not valid until after Send returns without error. 12005 // 12006 // See ListAlgorithms for more information on using the ListAlgorithms 12007 // API call, and error handling. 12008 // 12009 // This method is useful when you want to inject custom logic or configuration 12010 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 12011 // 12012 // 12013 // // Example sending a request using the ListAlgorithmsRequest method. 12014 // req, resp := client.ListAlgorithmsRequest(params) 12015 // 12016 // err := req.Send() 12017 // if err == nil { // resp is now filled 12018 // fmt.Println(resp) 12019 // } 12020 // 12021 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAlgorithms 12022 func (c *SageMaker) ListAlgorithmsRequest(input *ListAlgorithmsInput) (req *request.Request, output *ListAlgorithmsOutput) { 12023 op := &request.Operation{ 12024 Name: opListAlgorithms, 12025 HTTPMethod: "POST", 12026 HTTPPath: "/", 12027 Paginator: &request.Paginator{ 12028 InputTokens: []string{"NextToken"}, 12029 OutputTokens: []string{"NextToken"}, 12030 LimitToken: "MaxResults", 12031 TruncationToken: "", 12032 }, 12033 } 12034 12035 if input == nil { 12036 input = &ListAlgorithmsInput{} 12037 } 12038 12039 output = &ListAlgorithmsOutput{} 12040 req = c.newRequest(op, input, output) 12041 return 12042 } 12043 12044 // ListAlgorithms API operation for Amazon SageMaker Service. 12045 // 12046 // Lists the machine learning algorithms that have been created. 12047 // 12048 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 12049 // with awserr.Error's Code and Message methods to get detailed information about 12050 // the error. 12051 // 12052 // See the AWS API reference guide for Amazon SageMaker Service's 12053 // API operation ListAlgorithms for usage and error information. 12054 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAlgorithms 12055 func (c *SageMaker) ListAlgorithms(input *ListAlgorithmsInput) (*ListAlgorithmsOutput, error) { 12056 req, out := c.ListAlgorithmsRequest(input) 12057 return out, req.Send() 12058 } 12059 12060 // ListAlgorithmsWithContext is the same as ListAlgorithms with the addition of 12061 // the ability to pass a context and additional request options. 12062 // 12063 // See ListAlgorithms for details on how to use this API operation. 12064 // 12065 // The context must be non-nil and will be used for request cancellation. If 12066 // the context is nil a panic will occur. In the future the SDK may create 12067 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 12068 // for more information on using Contexts. 12069 func (c *SageMaker) ListAlgorithmsWithContext(ctx aws.Context, input *ListAlgorithmsInput, opts ...request.Option) (*ListAlgorithmsOutput, error) { 12070 req, out := c.ListAlgorithmsRequest(input) 12071 req.SetContext(ctx) 12072 req.ApplyOptions(opts...) 12073 return out, req.Send() 12074 } 12075 12076 // ListAlgorithmsPages iterates over the pages of a ListAlgorithms operation, 12077 // calling the "fn" function with the response data for each page. To stop 12078 // iterating, return false from the fn function. 12079 // 12080 // See ListAlgorithms method for more information on how to use this operation. 12081 // 12082 // Note: This operation can generate multiple requests to a service. 12083 // 12084 // // Example iterating over at most 3 pages of a ListAlgorithms operation. 12085 // pageNum := 0 12086 // err := client.ListAlgorithmsPages(params, 12087 // func(page *sagemaker.ListAlgorithmsOutput, lastPage bool) bool { 12088 // pageNum++ 12089 // fmt.Println(page) 12090 // return pageNum <= 3 12091 // }) 12092 // 12093 func (c *SageMaker) ListAlgorithmsPages(input *ListAlgorithmsInput, fn func(*ListAlgorithmsOutput, bool) bool) error { 12094 return c.ListAlgorithmsPagesWithContext(aws.BackgroundContext(), input, fn) 12095 } 12096 12097 // ListAlgorithmsPagesWithContext same as ListAlgorithmsPages except 12098 // it takes a Context and allows setting request options on the pages. 12099 // 12100 // The context must be non-nil and will be used for request cancellation. If 12101 // the context is nil a panic will occur. In the future the SDK may create 12102 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 12103 // for more information on using Contexts. 12104 func (c *SageMaker) ListAlgorithmsPagesWithContext(ctx aws.Context, input *ListAlgorithmsInput, fn func(*ListAlgorithmsOutput, bool) bool, opts ...request.Option) error { 12105 p := request.Pagination{ 12106 NewRequest: func() (*request.Request, error) { 12107 var inCpy *ListAlgorithmsInput 12108 if input != nil { 12109 tmp := *input 12110 inCpy = &tmp 12111 } 12112 req, _ := c.ListAlgorithmsRequest(inCpy) 12113 req.SetContext(ctx) 12114 req.ApplyOptions(opts...) 12115 return req, nil 12116 }, 12117 } 12118 12119 for p.Next() { 12120 if !fn(p.Page().(*ListAlgorithmsOutput), !p.HasNextPage()) { 12121 break 12122 } 12123 } 12124 12125 return p.Err() 12126 } 12127 12128 const opListAppImageConfigs = "ListAppImageConfigs" 12129 12130 // ListAppImageConfigsRequest generates a "aws/request.Request" representing the 12131 // client's request for the ListAppImageConfigs operation. The "output" return 12132 // value will be populated with the request's response once the request completes 12133 // successfully. 12134 // 12135 // Use "Send" method on the returned Request to send the API call to the service. 12136 // the "output" return value is not valid until after Send returns without error. 12137 // 12138 // See ListAppImageConfigs for more information on using the ListAppImageConfigs 12139 // API call, and error handling. 12140 // 12141 // This method is useful when you want to inject custom logic or configuration 12142 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 12143 // 12144 // 12145 // // Example sending a request using the ListAppImageConfigsRequest method. 12146 // req, resp := client.ListAppImageConfigsRequest(params) 12147 // 12148 // err := req.Send() 12149 // if err == nil { // resp is now filled 12150 // fmt.Println(resp) 12151 // } 12152 // 12153 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAppImageConfigs 12154 func (c *SageMaker) ListAppImageConfigsRequest(input *ListAppImageConfigsInput) (req *request.Request, output *ListAppImageConfigsOutput) { 12155 op := &request.Operation{ 12156 Name: opListAppImageConfigs, 12157 HTTPMethod: "POST", 12158 HTTPPath: "/", 12159 Paginator: &request.Paginator{ 12160 InputTokens: []string{"NextToken"}, 12161 OutputTokens: []string{"NextToken"}, 12162 LimitToken: "MaxResults", 12163 TruncationToken: "", 12164 }, 12165 } 12166 12167 if input == nil { 12168 input = &ListAppImageConfigsInput{} 12169 } 12170 12171 output = &ListAppImageConfigsOutput{} 12172 req = c.newRequest(op, input, output) 12173 return 12174 } 12175 12176 // ListAppImageConfigs API operation for Amazon SageMaker Service. 12177 // 12178 // Lists the AppImageConfigs in your account and their properties. The list 12179 // can be filtered by creation time or modified time, and whether the AppImageConfig 12180 // name contains a specified string. 12181 // 12182 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 12183 // with awserr.Error's Code and Message methods to get detailed information about 12184 // the error. 12185 // 12186 // See the AWS API reference guide for Amazon SageMaker Service's 12187 // API operation ListAppImageConfigs for usage and error information. 12188 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAppImageConfigs 12189 func (c *SageMaker) ListAppImageConfigs(input *ListAppImageConfigsInput) (*ListAppImageConfigsOutput, error) { 12190 req, out := c.ListAppImageConfigsRequest(input) 12191 return out, req.Send() 12192 } 12193 12194 // ListAppImageConfigsWithContext is the same as ListAppImageConfigs with the addition of 12195 // the ability to pass a context and additional request options. 12196 // 12197 // See ListAppImageConfigs for details on how to use this API operation. 12198 // 12199 // The context must be non-nil and will be used for request cancellation. If 12200 // the context is nil a panic will occur. In the future the SDK may create 12201 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 12202 // for more information on using Contexts. 12203 func (c *SageMaker) ListAppImageConfigsWithContext(ctx aws.Context, input *ListAppImageConfigsInput, opts ...request.Option) (*ListAppImageConfigsOutput, error) { 12204 req, out := c.ListAppImageConfigsRequest(input) 12205 req.SetContext(ctx) 12206 req.ApplyOptions(opts...) 12207 return out, req.Send() 12208 } 12209 12210 // ListAppImageConfigsPages iterates over the pages of a ListAppImageConfigs operation, 12211 // calling the "fn" function with the response data for each page. To stop 12212 // iterating, return false from the fn function. 12213 // 12214 // See ListAppImageConfigs method for more information on how to use this operation. 12215 // 12216 // Note: This operation can generate multiple requests to a service. 12217 // 12218 // // Example iterating over at most 3 pages of a ListAppImageConfigs operation. 12219 // pageNum := 0 12220 // err := client.ListAppImageConfigsPages(params, 12221 // func(page *sagemaker.ListAppImageConfigsOutput, lastPage bool) bool { 12222 // pageNum++ 12223 // fmt.Println(page) 12224 // return pageNum <= 3 12225 // }) 12226 // 12227 func (c *SageMaker) ListAppImageConfigsPages(input *ListAppImageConfigsInput, fn func(*ListAppImageConfigsOutput, bool) bool) error { 12228 return c.ListAppImageConfigsPagesWithContext(aws.BackgroundContext(), input, fn) 12229 } 12230 12231 // ListAppImageConfigsPagesWithContext same as ListAppImageConfigsPages except 12232 // it takes a Context and allows setting request options on the pages. 12233 // 12234 // The context must be non-nil and will be used for request cancellation. If 12235 // the context is nil a panic will occur. In the future the SDK may create 12236 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 12237 // for more information on using Contexts. 12238 func (c *SageMaker) ListAppImageConfigsPagesWithContext(ctx aws.Context, input *ListAppImageConfigsInput, fn func(*ListAppImageConfigsOutput, bool) bool, opts ...request.Option) error { 12239 p := request.Pagination{ 12240 NewRequest: func() (*request.Request, error) { 12241 var inCpy *ListAppImageConfigsInput 12242 if input != nil { 12243 tmp := *input 12244 inCpy = &tmp 12245 } 12246 req, _ := c.ListAppImageConfigsRequest(inCpy) 12247 req.SetContext(ctx) 12248 req.ApplyOptions(opts...) 12249 return req, nil 12250 }, 12251 } 12252 12253 for p.Next() { 12254 if !fn(p.Page().(*ListAppImageConfigsOutput), !p.HasNextPage()) { 12255 break 12256 } 12257 } 12258 12259 return p.Err() 12260 } 12261 12262 const opListApps = "ListApps" 12263 12264 // ListAppsRequest generates a "aws/request.Request" representing the 12265 // client's request for the ListApps operation. The "output" return 12266 // value will be populated with the request's response once the request completes 12267 // successfully. 12268 // 12269 // Use "Send" method on the returned Request to send the API call to the service. 12270 // the "output" return value is not valid until after Send returns without error. 12271 // 12272 // See ListApps for more information on using the ListApps 12273 // API call, and error handling. 12274 // 12275 // This method is useful when you want to inject custom logic or configuration 12276 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 12277 // 12278 // 12279 // // Example sending a request using the ListAppsRequest method. 12280 // req, resp := client.ListAppsRequest(params) 12281 // 12282 // err := req.Send() 12283 // if err == nil { // resp is now filled 12284 // fmt.Println(resp) 12285 // } 12286 // 12287 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListApps 12288 func (c *SageMaker) ListAppsRequest(input *ListAppsInput) (req *request.Request, output *ListAppsOutput) { 12289 op := &request.Operation{ 12290 Name: opListApps, 12291 HTTPMethod: "POST", 12292 HTTPPath: "/", 12293 Paginator: &request.Paginator{ 12294 InputTokens: []string{"NextToken"}, 12295 OutputTokens: []string{"NextToken"}, 12296 LimitToken: "MaxResults", 12297 TruncationToken: "", 12298 }, 12299 } 12300 12301 if input == nil { 12302 input = &ListAppsInput{} 12303 } 12304 12305 output = &ListAppsOutput{} 12306 req = c.newRequest(op, input, output) 12307 return 12308 } 12309 12310 // ListApps API operation for Amazon SageMaker Service. 12311 // 12312 // Lists apps. 12313 // 12314 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 12315 // with awserr.Error's Code and Message methods to get detailed information about 12316 // the error. 12317 // 12318 // See the AWS API reference guide for Amazon SageMaker Service's 12319 // API operation ListApps for usage and error information. 12320 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListApps 12321 func (c *SageMaker) ListApps(input *ListAppsInput) (*ListAppsOutput, error) { 12322 req, out := c.ListAppsRequest(input) 12323 return out, req.Send() 12324 } 12325 12326 // ListAppsWithContext is the same as ListApps with the addition of 12327 // the ability to pass a context and additional request options. 12328 // 12329 // See ListApps for details on how to use this API operation. 12330 // 12331 // The context must be non-nil and will be used for request cancellation. If 12332 // the context is nil a panic will occur. In the future the SDK may create 12333 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 12334 // for more information on using Contexts. 12335 func (c *SageMaker) ListAppsWithContext(ctx aws.Context, input *ListAppsInput, opts ...request.Option) (*ListAppsOutput, error) { 12336 req, out := c.ListAppsRequest(input) 12337 req.SetContext(ctx) 12338 req.ApplyOptions(opts...) 12339 return out, req.Send() 12340 } 12341 12342 // ListAppsPages iterates over the pages of a ListApps operation, 12343 // calling the "fn" function with the response data for each page. To stop 12344 // iterating, return false from the fn function. 12345 // 12346 // See ListApps method for more information on how to use this operation. 12347 // 12348 // Note: This operation can generate multiple requests to a service. 12349 // 12350 // // Example iterating over at most 3 pages of a ListApps operation. 12351 // pageNum := 0 12352 // err := client.ListAppsPages(params, 12353 // func(page *sagemaker.ListAppsOutput, lastPage bool) bool { 12354 // pageNum++ 12355 // fmt.Println(page) 12356 // return pageNum <= 3 12357 // }) 12358 // 12359 func (c *SageMaker) ListAppsPages(input *ListAppsInput, fn func(*ListAppsOutput, bool) bool) error { 12360 return c.ListAppsPagesWithContext(aws.BackgroundContext(), input, fn) 12361 } 12362 12363 // ListAppsPagesWithContext same as ListAppsPages except 12364 // it takes a Context and allows setting request options on the pages. 12365 // 12366 // The context must be non-nil and will be used for request cancellation. If 12367 // the context is nil a panic will occur. In the future the SDK may create 12368 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 12369 // for more information on using Contexts. 12370 func (c *SageMaker) ListAppsPagesWithContext(ctx aws.Context, input *ListAppsInput, fn func(*ListAppsOutput, bool) bool, opts ...request.Option) error { 12371 p := request.Pagination{ 12372 NewRequest: func() (*request.Request, error) { 12373 var inCpy *ListAppsInput 12374 if input != nil { 12375 tmp := *input 12376 inCpy = &tmp 12377 } 12378 req, _ := c.ListAppsRequest(inCpy) 12379 req.SetContext(ctx) 12380 req.ApplyOptions(opts...) 12381 return req, nil 12382 }, 12383 } 12384 12385 for p.Next() { 12386 if !fn(p.Page().(*ListAppsOutput), !p.HasNextPage()) { 12387 break 12388 } 12389 } 12390 12391 return p.Err() 12392 } 12393 12394 const opListArtifacts = "ListArtifacts" 12395 12396 // ListArtifactsRequest generates a "aws/request.Request" representing the 12397 // client's request for the ListArtifacts operation. The "output" return 12398 // value will be populated with the request's response once the request completes 12399 // successfully. 12400 // 12401 // Use "Send" method on the returned Request to send the API call to the service. 12402 // the "output" return value is not valid until after Send returns without error. 12403 // 12404 // See ListArtifacts for more information on using the ListArtifacts 12405 // API call, and error handling. 12406 // 12407 // This method is useful when you want to inject custom logic or configuration 12408 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 12409 // 12410 // 12411 // // Example sending a request using the ListArtifactsRequest method. 12412 // req, resp := client.ListArtifactsRequest(params) 12413 // 12414 // err := req.Send() 12415 // if err == nil { // resp is now filled 12416 // fmt.Println(resp) 12417 // } 12418 // 12419 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListArtifacts 12420 func (c *SageMaker) ListArtifactsRequest(input *ListArtifactsInput) (req *request.Request, output *ListArtifactsOutput) { 12421 op := &request.Operation{ 12422 Name: opListArtifacts, 12423 HTTPMethod: "POST", 12424 HTTPPath: "/", 12425 Paginator: &request.Paginator{ 12426 InputTokens: []string{"NextToken"}, 12427 OutputTokens: []string{"NextToken"}, 12428 LimitToken: "MaxResults", 12429 TruncationToken: "", 12430 }, 12431 } 12432 12433 if input == nil { 12434 input = &ListArtifactsInput{} 12435 } 12436 12437 output = &ListArtifactsOutput{} 12438 req = c.newRequest(op, input, output) 12439 return 12440 } 12441 12442 // ListArtifacts API operation for Amazon SageMaker Service. 12443 // 12444 // Lists the artifacts in your account and their properties. 12445 // 12446 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 12447 // with awserr.Error's Code and Message methods to get detailed information about 12448 // the error. 12449 // 12450 // See the AWS API reference guide for Amazon SageMaker Service's 12451 // API operation ListArtifacts for usage and error information. 12452 // 12453 // Returned Error Types: 12454 // * ResourceNotFound 12455 // Resource being access is not found. 12456 // 12457 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListArtifacts 12458 func (c *SageMaker) ListArtifacts(input *ListArtifactsInput) (*ListArtifactsOutput, error) { 12459 req, out := c.ListArtifactsRequest(input) 12460 return out, req.Send() 12461 } 12462 12463 // ListArtifactsWithContext is the same as ListArtifacts with the addition of 12464 // the ability to pass a context and additional request options. 12465 // 12466 // See ListArtifacts for details on how to use this API operation. 12467 // 12468 // The context must be non-nil and will be used for request cancellation. If 12469 // the context is nil a panic will occur. In the future the SDK may create 12470 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 12471 // for more information on using Contexts. 12472 func (c *SageMaker) ListArtifactsWithContext(ctx aws.Context, input *ListArtifactsInput, opts ...request.Option) (*ListArtifactsOutput, error) { 12473 req, out := c.ListArtifactsRequest(input) 12474 req.SetContext(ctx) 12475 req.ApplyOptions(opts...) 12476 return out, req.Send() 12477 } 12478 12479 // ListArtifactsPages iterates over the pages of a ListArtifacts operation, 12480 // calling the "fn" function with the response data for each page. To stop 12481 // iterating, return false from the fn function. 12482 // 12483 // See ListArtifacts method for more information on how to use this operation. 12484 // 12485 // Note: This operation can generate multiple requests to a service. 12486 // 12487 // // Example iterating over at most 3 pages of a ListArtifacts operation. 12488 // pageNum := 0 12489 // err := client.ListArtifactsPages(params, 12490 // func(page *sagemaker.ListArtifactsOutput, lastPage bool) bool { 12491 // pageNum++ 12492 // fmt.Println(page) 12493 // return pageNum <= 3 12494 // }) 12495 // 12496 func (c *SageMaker) ListArtifactsPages(input *ListArtifactsInput, fn func(*ListArtifactsOutput, bool) bool) error { 12497 return c.ListArtifactsPagesWithContext(aws.BackgroundContext(), input, fn) 12498 } 12499 12500 // ListArtifactsPagesWithContext same as ListArtifactsPages except 12501 // it takes a Context and allows setting request options on the pages. 12502 // 12503 // The context must be non-nil and will be used for request cancellation. If 12504 // the context is nil a panic will occur. In the future the SDK may create 12505 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 12506 // for more information on using Contexts. 12507 func (c *SageMaker) ListArtifactsPagesWithContext(ctx aws.Context, input *ListArtifactsInput, fn func(*ListArtifactsOutput, bool) bool, opts ...request.Option) error { 12508 p := request.Pagination{ 12509 NewRequest: func() (*request.Request, error) { 12510 var inCpy *ListArtifactsInput 12511 if input != nil { 12512 tmp := *input 12513 inCpy = &tmp 12514 } 12515 req, _ := c.ListArtifactsRequest(inCpy) 12516 req.SetContext(ctx) 12517 req.ApplyOptions(opts...) 12518 return req, nil 12519 }, 12520 } 12521 12522 for p.Next() { 12523 if !fn(p.Page().(*ListArtifactsOutput), !p.HasNextPage()) { 12524 break 12525 } 12526 } 12527 12528 return p.Err() 12529 } 12530 12531 const opListAssociations = "ListAssociations" 12532 12533 // ListAssociationsRequest generates a "aws/request.Request" representing the 12534 // client's request for the ListAssociations operation. The "output" return 12535 // value will be populated with the request's response once the request completes 12536 // successfully. 12537 // 12538 // Use "Send" method on the returned Request to send the API call to the service. 12539 // the "output" return value is not valid until after Send returns without error. 12540 // 12541 // See ListAssociations for more information on using the ListAssociations 12542 // API call, and error handling. 12543 // 12544 // This method is useful when you want to inject custom logic or configuration 12545 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 12546 // 12547 // 12548 // // Example sending a request using the ListAssociationsRequest method. 12549 // req, resp := client.ListAssociationsRequest(params) 12550 // 12551 // err := req.Send() 12552 // if err == nil { // resp is now filled 12553 // fmt.Println(resp) 12554 // } 12555 // 12556 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAssociations 12557 func (c *SageMaker) ListAssociationsRequest(input *ListAssociationsInput) (req *request.Request, output *ListAssociationsOutput) { 12558 op := &request.Operation{ 12559 Name: opListAssociations, 12560 HTTPMethod: "POST", 12561 HTTPPath: "/", 12562 Paginator: &request.Paginator{ 12563 InputTokens: []string{"NextToken"}, 12564 OutputTokens: []string{"NextToken"}, 12565 LimitToken: "MaxResults", 12566 TruncationToken: "", 12567 }, 12568 } 12569 12570 if input == nil { 12571 input = &ListAssociationsInput{} 12572 } 12573 12574 output = &ListAssociationsOutput{} 12575 req = c.newRequest(op, input, output) 12576 return 12577 } 12578 12579 // ListAssociations API operation for Amazon SageMaker Service. 12580 // 12581 // Lists the associations in your account and their properties. 12582 // 12583 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 12584 // with awserr.Error's Code and Message methods to get detailed information about 12585 // the error. 12586 // 12587 // See the AWS API reference guide for Amazon SageMaker Service's 12588 // API operation ListAssociations for usage and error information. 12589 // 12590 // Returned Error Types: 12591 // * ResourceNotFound 12592 // Resource being access is not found. 12593 // 12594 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAssociations 12595 func (c *SageMaker) ListAssociations(input *ListAssociationsInput) (*ListAssociationsOutput, error) { 12596 req, out := c.ListAssociationsRequest(input) 12597 return out, req.Send() 12598 } 12599 12600 // ListAssociationsWithContext is the same as ListAssociations with the addition of 12601 // the ability to pass a context and additional request options. 12602 // 12603 // See ListAssociations for details on how to use this API operation. 12604 // 12605 // The context must be non-nil and will be used for request cancellation. If 12606 // the context is nil a panic will occur. In the future the SDK may create 12607 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 12608 // for more information on using Contexts. 12609 func (c *SageMaker) ListAssociationsWithContext(ctx aws.Context, input *ListAssociationsInput, opts ...request.Option) (*ListAssociationsOutput, error) { 12610 req, out := c.ListAssociationsRequest(input) 12611 req.SetContext(ctx) 12612 req.ApplyOptions(opts...) 12613 return out, req.Send() 12614 } 12615 12616 // ListAssociationsPages iterates over the pages of a ListAssociations operation, 12617 // calling the "fn" function with the response data for each page. To stop 12618 // iterating, return false from the fn function. 12619 // 12620 // See ListAssociations method for more information on how to use this operation. 12621 // 12622 // Note: This operation can generate multiple requests to a service. 12623 // 12624 // // Example iterating over at most 3 pages of a ListAssociations operation. 12625 // pageNum := 0 12626 // err := client.ListAssociationsPages(params, 12627 // func(page *sagemaker.ListAssociationsOutput, lastPage bool) bool { 12628 // pageNum++ 12629 // fmt.Println(page) 12630 // return pageNum <= 3 12631 // }) 12632 // 12633 func (c *SageMaker) ListAssociationsPages(input *ListAssociationsInput, fn func(*ListAssociationsOutput, bool) bool) error { 12634 return c.ListAssociationsPagesWithContext(aws.BackgroundContext(), input, fn) 12635 } 12636 12637 // ListAssociationsPagesWithContext same as ListAssociationsPages except 12638 // it takes a Context and allows setting request options on the pages. 12639 // 12640 // The context must be non-nil and will be used for request cancellation. If 12641 // the context is nil a panic will occur. In the future the SDK may create 12642 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 12643 // for more information on using Contexts. 12644 func (c *SageMaker) ListAssociationsPagesWithContext(ctx aws.Context, input *ListAssociationsInput, fn func(*ListAssociationsOutput, bool) bool, opts ...request.Option) error { 12645 p := request.Pagination{ 12646 NewRequest: func() (*request.Request, error) { 12647 var inCpy *ListAssociationsInput 12648 if input != nil { 12649 tmp := *input 12650 inCpy = &tmp 12651 } 12652 req, _ := c.ListAssociationsRequest(inCpy) 12653 req.SetContext(ctx) 12654 req.ApplyOptions(opts...) 12655 return req, nil 12656 }, 12657 } 12658 12659 for p.Next() { 12660 if !fn(p.Page().(*ListAssociationsOutput), !p.HasNextPage()) { 12661 break 12662 } 12663 } 12664 12665 return p.Err() 12666 } 12667 12668 const opListAutoMLJobs = "ListAutoMLJobs" 12669 12670 // ListAutoMLJobsRequest generates a "aws/request.Request" representing the 12671 // client's request for the ListAutoMLJobs operation. The "output" return 12672 // value will be populated with the request's response once the request completes 12673 // successfully. 12674 // 12675 // Use "Send" method on the returned Request to send the API call to the service. 12676 // the "output" return value is not valid until after Send returns without error. 12677 // 12678 // See ListAutoMLJobs for more information on using the ListAutoMLJobs 12679 // API call, and error handling. 12680 // 12681 // This method is useful when you want to inject custom logic or configuration 12682 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 12683 // 12684 // 12685 // // Example sending a request using the ListAutoMLJobsRequest method. 12686 // req, resp := client.ListAutoMLJobsRequest(params) 12687 // 12688 // err := req.Send() 12689 // if err == nil { // resp is now filled 12690 // fmt.Println(resp) 12691 // } 12692 // 12693 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAutoMLJobs 12694 func (c *SageMaker) ListAutoMLJobsRequest(input *ListAutoMLJobsInput) (req *request.Request, output *ListAutoMLJobsOutput) { 12695 op := &request.Operation{ 12696 Name: opListAutoMLJobs, 12697 HTTPMethod: "POST", 12698 HTTPPath: "/", 12699 Paginator: &request.Paginator{ 12700 InputTokens: []string{"NextToken"}, 12701 OutputTokens: []string{"NextToken"}, 12702 LimitToken: "MaxResults", 12703 TruncationToken: "", 12704 }, 12705 } 12706 12707 if input == nil { 12708 input = &ListAutoMLJobsInput{} 12709 } 12710 12711 output = &ListAutoMLJobsOutput{} 12712 req = c.newRequest(op, input, output) 12713 return 12714 } 12715 12716 // ListAutoMLJobs API operation for Amazon SageMaker Service. 12717 // 12718 // Request a list of jobs. 12719 // 12720 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 12721 // with awserr.Error's Code and Message methods to get detailed information about 12722 // the error. 12723 // 12724 // See the AWS API reference guide for Amazon SageMaker Service's 12725 // API operation ListAutoMLJobs for usage and error information. 12726 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAutoMLJobs 12727 func (c *SageMaker) ListAutoMLJobs(input *ListAutoMLJobsInput) (*ListAutoMLJobsOutput, error) { 12728 req, out := c.ListAutoMLJobsRequest(input) 12729 return out, req.Send() 12730 } 12731 12732 // ListAutoMLJobsWithContext is the same as ListAutoMLJobs with the addition of 12733 // the ability to pass a context and additional request options. 12734 // 12735 // See ListAutoMLJobs for details on how to use this API operation. 12736 // 12737 // The context must be non-nil and will be used for request cancellation. If 12738 // the context is nil a panic will occur. In the future the SDK may create 12739 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 12740 // for more information on using Contexts. 12741 func (c *SageMaker) ListAutoMLJobsWithContext(ctx aws.Context, input *ListAutoMLJobsInput, opts ...request.Option) (*ListAutoMLJobsOutput, error) { 12742 req, out := c.ListAutoMLJobsRequest(input) 12743 req.SetContext(ctx) 12744 req.ApplyOptions(opts...) 12745 return out, req.Send() 12746 } 12747 12748 // ListAutoMLJobsPages iterates over the pages of a ListAutoMLJobs operation, 12749 // calling the "fn" function with the response data for each page. To stop 12750 // iterating, return false from the fn function. 12751 // 12752 // See ListAutoMLJobs method for more information on how to use this operation. 12753 // 12754 // Note: This operation can generate multiple requests to a service. 12755 // 12756 // // Example iterating over at most 3 pages of a ListAutoMLJobs operation. 12757 // pageNum := 0 12758 // err := client.ListAutoMLJobsPages(params, 12759 // func(page *sagemaker.ListAutoMLJobsOutput, lastPage bool) bool { 12760 // pageNum++ 12761 // fmt.Println(page) 12762 // return pageNum <= 3 12763 // }) 12764 // 12765 func (c *SageMaker) ListAutoMLJobsPages(input *ListAutoMLJobsInput, fn func(*ListAutoMLJobsOutput, bool) bool) error { 12766 return c.ListAutoMLJobsPagesWithContext(aws.BackgroundContext(), input, fn) 12767 } 12768 12769 // ListAutoMLJobsPagesWithContext same as ListAutoMLJobsPages except 12770 // it takes a Context and allows setting request options on the pages. 12771 // 12772 // The context must be non-nil and will be used for request cancellation. If 12773 // the context is nil a panic will occur. In the future the SDK may create 12774 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 12775 // for more information on using Contexts. 12776 func (c *SageMaker) ListAutoMLJobsPagesWithContext(ctx aws.Context, input *ListAutoMLJobsInput, fn func(*ListAutoMLJobsOutput, bool) bool, opts ...request.Option) error { 12777 p := request.Pagination{ 12778 NewRequest: func() (*request.Request, error) { 12779 var inCpy *ListAutoMLJobsInput 12780 if input != nil { 12781 tmp := *input 12782 inCpy = &tmp 12783 } 12784 req, _ := c.ListAutoMLJobsRequest(inCpy) 12785 req.SetContext(ctx) 12786 req.ApplyOptions(opts...) 12787 return req, nil 12788 }, 12789 } 12790 12791 for p.Next() { 12792 if !fn(p.Page().(*ListAutoMLJobsOutput), !p.HasNextPage()) { 12793 break 12794 } 12795 } 12796 12797 return p.Err() 12798 } 12799 12800 const opListCandidatesForAutoMLJob = "ListCandidatesForAutoMLJob" 12801 12802 // ListCandidatesForAutoMLJobRequest generates a "aws/request.Request" representing the 12803 // client's request for the ListCandidatesForAutoMLJob operation. The "output" return 12804 // value will be populated with the request's response once the request completes 12805 // successfully. 12806 // 12807 // Use "Send" method on the returned Request to send the API call to the service. 12808 // the "output" return value is not valid until after Send returns without error. 12809 // 12810 // See ListCandidatesForAutoMLJob for more information on using the ListCandidatesForAutoMLJob 12811 // API call, and error handling. 12812 // 12813 // This method is useful when you want to inject custom logic or configuration 12814 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 12815 // 12816 // 12817 // // Example sending a request using the ListCandidatesForAutoMLJobRequest method. 12818 // req, resp := client.ListCandidatesForAutoMLJobRequest(params) 12819 // 12820 // err := req.Send() 12821 // if err == nil { // resp is now filled 12822 // fmt.Println(resp) 12823 // } 12824 // 12825 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCandidatesForAutoMLJob 12826 func (c *SageMaker) ListCandidatesForAutoMLJobRequest(input *ListCandidatesForAutoMLJobInput) (req *request.Request, output *ListCandidatesForAutoMLJobOutput) { 12827 op := &request.Operation{ 12828 Name: opListCandidatesForAutoMLJob, 12829 HTTPMethod: "POST", 12830 HTTPPath: "/", 12831 Paginator: &request.Paginator{ 12832 InputTokens: []string{"NextToken"}, 12833 OutputTokens: []string{"NextToken"}, 12834 LimitToken: "MaxResults", 12835 TruncationToken: "", 12836 }, 12837 } 12838 12839 if input == nil { 12840 input = &ListCandidatesForAutoMLJobInput{} 12841 } 12842 12843 output = &ListCandidatesForAutoMLJobOutput{} 12844 req = c.newRequest(op, input, output) 12845 return 12846 } 12847 12848 // ListCandidatesForAutoMLJob API operation for Amazon SageMaker Service. 12849 // 12850 // List the candidates created for the job. 12851 // 12852 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 12853 // with awserr.Error's Code and Message methods to get detailed information about 12854 // the error. 12855 // 12856 // See the AWS API reference guide for Amazon SageMaker Service's 12857 // API operation ListCandidatesForAutoMLJob for usage and error information. 12858 // 12859 // Returned Error Types: 12860 // * ResourceNotFound 12861 // Resource being access is not found. 12862 // 12863 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCandidatesForAutoMLJob 12864 func (c *SageMaker) ListCandidatesForAutoMLJob(input *ListCandidatesForAutoMLJobInput) (*ListCandidatesForAutoMLJobOutput, error) { 12865 req, out := c.ListCandidatesForAutoMLJobRequest(input) 12866 return out, req.Send() 12867 } 12868 12869 // ListCandidatesForAutoMLJobWithContext is the same as ListCandidatesForAutoMLJob with the addition of 12870 // the ability to pass a context and additional request options. 12871 // 12872 // See ListCandidatesForAutoMLJob for details on how to use this API operation. 12873 // 12874 // The context must be non-nil and will be used for request cancellation. If 12875 // the context is nil a panic will occur. In the future the SDK may create 12876 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 12877 // for more information on using Contexts. 12878 func (c *SageMaker) ListCandidatesForAutoMLJobWithContext(ctx aws.Context, input *ListCandidatesForAutoMLJobInput, opts ...request.Option) (*ListCandidatesForAutoMLJobOutput, error) { 12879 req, out := c.ListCandidatesForAutoMLJobRequest(input) 12880 req.SetContext(ctx) 12881 req.ApplyOptions(opts...) 12882 return out, req.Send() 12883 } 12884 12885 // ListCandidatesForAutoMLJobPages iterates over the pages of a ListCandidatesForAutoMLJob operation, 12886 // calling the "fn" function with the response data for each page. To stop 12887 // iterating, return false from the fn function. 12888 // 12889 // See ListCandidatesForAutoMLJob method for more information on how to use this operation. 12890 // 12891 // Note: This operation can generate multiple requests to a service. 12892 // 12893 // // Example iterating over at most 3 pages of a ListCandidatesForAutoMLJob operation. 12894 // pageNum := 0 12895 // err := client.ListCandidatesForAutoMLJobPages(params, 12896 // func(page *sagemaker.ListCandidatesForAutoMLJobOutput, lastPage bool) bool { 12897 // pageNum++ 12898 // fmt.Println(page) 12899 // return pageNum <= 3 12900 // }) 12901 // 12902 func (c *SageMaker) ListCandidatesForAutoMLJobPages(input *ListCandidatesForAutoMLJobInput, fn func(*ListCandidatesForAutoMLJobOutput, bool) bool) error { 12903 return c.ListCandidatesForAutoMLJobPagesWithContext(aws.BackgroundContext(), input, fn) 12904 } 12905 12906 // ListCandidatesForAutoMLJobPagesWithContext same as ListCandidatesForAutoMLJobPages except 12907 // it takes a Context and allows setting request options on the pages. 12908 // 12909 // The context must be non-nil and will be used for request cancellation. If 12910 // the context is nil a panic will occur. In the future the SDK may create 12911 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 12912 // for more information on using Contexts. 12913 func (c *SageMaker) ListCandidatesForAutoMLJobPagesWithContext(ctx aws.Context, input *ListCandidatesForAutoMLJobInput, fn func(*ListCandidatesForAutoMLJobOutput, bool) bool, opts ...request.Option) error { 12914 p := request.Pagination{ 12915 NewRequest: func() (*request.Request, error) { 12916 var inCpy *ListCandidatesForAutoMLJobInput 12917 if input != nil { 12918 tmp := *input 12919 inCpy = &tmp 12920 } 12921 req, _ := c.ListCandidatesForAutoMLJobRequest(inCpy) 12922 req.SetContext(ctx) 12923 req.ApplyOptions(opts...) 12924 return req, nil 12925 }, 12926 } 12927 12928 for p.Next() { 12929 if !fn(p.Page().(*ListCandidatesForAutoMLJobOutput), !p.HasNextPage()) { 12930 break 12931 } 12932 } 12933 12934 return p.Err() 12935 } 12936 12937 const opListCodeRepositories = "ListCodeRepositories" 12938 12939 // ListCodeRepositoriesRequest generates a "aws/request.Request" representing the 12940 // client's request for the ListCodeRepositories operation. The "output" return 12941 // value will be populated with the request's response once the request completes 12942 // successfully. 12943 // 12944 // Use "Send" method on the returned Request to send the API call to the service. 12945 // the "output" return value is not valid until after Send returns without error. 12946 // 12947 // See ListCodeRepositories for more information on using the ListCodeRepositories 12948 // API call, and error handling. 12949 // 12950 // This method is useful when you want to inject custom logic or configuration 12951 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 12952 // 12953 // 12954 // // Example sending a request using the ListCodeRepositoriesRequest method. 12955 // req, resp := client.ListCodeRepositoriesRequest(params) 12956 // 12957 // err := req.Send() 12958 // if err == nil { // resp is now filled 12959 // fmt.Println(resp) 12960 // } 12961 // 12962 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCodeRepositories 12963 func (c *SageMaker) ListCodeRepositoriesRequest(input *ListCodeRepositoriesInput) (req *request.Request, output *ListCodeRepositoriesOutput) { 12964 op := &request.Operation{ 12965 Name: opListCodeRepositories, 12966 HTTPMethod: "POST", 12967 HTTPPath: "/", 12968 Paginator: &request.Paginator{ 12969 InputTokens: []string{"NextToken"}, 12970 OutputTokens: []string{"NextToken"}, 12971 LimitToken: "MaxResults", 12972 TruncationToken: "", 12973 }, 12974 } 12975 12976 if input == nil { 12977 input = &ListCodeRepositoriesInput{} 12978 } 12979 12980 output = &ListCodeRepositoriesOutput{} 12981 req = c.newRequest(op, input, output) 12982 return 12983 } 12984 12985 // ListCodeRepositories API operation for Amazon SageMaker Service. 12986 // 12987 // Gets a list of the Git repositories in your account. 12988 // 12989 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 12990 // with awserr.Error's Code and Message methods to get detailed information about 12991 // the error. 12992 // 12993 // See the AWS API reference guide for Amazon SageMaker Service's 12994 // API operation ListCodeRepositories for usage and error information. 12995 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCodeRepositories 12996 func (c *SageMaker) ListCodeRepositories(input *ListCodeRepositoriesInput) (*ListCodeRepositoriesOutput, error) { 12997 req, out := c.ListCodeRepositoriesRequest(input) 12998 return out, req.Send() 12999 } 13000 13001 // ListCodeRepositoriesWithContext is the same as ListCodeRepositories with the addition of 13002 // the ability to pass a context and additional request options. 13003 // 13004 // See ListCodeRepositories for details on how to use this API operation. 13005 // 13006 // The context must be non-nil and will be used for request cancellation. If 13007 // the context is nil a panic will occur. In the future the SDK may create 13008 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 13009 // for more information on using Contexts. 13010 func (c *SageMaker) ListCodeRepositoriesWithContext(ctx aws.Context, input *ListCodeRepositoriesInput, opts ...request.Option) (*ListCodeRepositoriesOutput, error) { 13011 req, out := c.ListCodeRepositoriesRequest(input) 13012 req.SetContext(ctx) 13013 req.ApplyOptions(opts...) 13014 return out, req.Send() 13015 } 13016 13017 // ListCodeRepositoriesPages iterates over the pages of a ListCodeRepositories operation, 13018 // calling the "fn" function with the response data for each page. To stop 13019 // iterating, return false from the fn function. 13020 // 13021 // See ListCodeRepositories method for more information on how to use this operation. 13022 // 13023 // Note: This operation can generate multiple requests to a service. 13024 // 13025 // // Example iterating over at most 3 pages of a ListCodeRepositories operation. 13026 // pageNum := 0 13027 // err := client.ListCodeRepositoriesPages(params, 13028 // func(page *sagemaker.ListCodeRepositoriesOutput, lastPage bool) bool { 13029 // pageNum++ 13030 // fmt.Println(page) 13031 // return pageNum <= 3 13032 // }) 13033 // 13034 func (c *SageMaker) ListCodeRepositoriesPages(input *ListCodeRepositoriesInput, fn func(*ListCodeRepositoriesOutput, bool) bool) error { 13035 return c.ListCodeRepositoriesPagesWithContext(aws.BackgroundContext(), input, fn) 13036 } 13037 13038 // ListCodeRepositoriesPagesWithContext same as ListCodeRepositoriesPages except 13039 // it takes a Context and allows setting request options on the pages. 13040 // 13041 // The context must be non-nil and will be used for request cancellation. If 13042 // the context is nil a panic will occur. In the future the SDK may create 13043 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 13044 // for more information on using Contexts. 13045 func (c *SageMaker) ListCodeRepositoriesPagesWithContext(ctx aws.Context, input *ListCodeRepositoriesInput, fn func(*ListCodeRepositoriesOutput, bool) bool, opts ...request.Option) error { 13046 p := request.Pagination{ 13047 NewRequest: func() (*request.Request, error) { 13048 var inCpy *ListCodeRepositoriesInput 13049 if input != nil { 13050 tmp := *input 13051 inCpy = &tmp 13052 } 13053 req, _ := c.ListCodeRepositoriesRequest(inCpy) 13054 req.SetContext(ctx) 13055 req.ApplyOptions(opts...) 13056 return req, nil 13057 }, 13058 } 13059 13060 for p.Next() { 13061 if !fn(p.Page().(*ListCodeRepositoriesOutput), !p.HasNextPage()) { 13062 break 13063 } 13064 } 13065 13066 return p.Err() 13067 } 13068 13069 const opListCompilationJobs = "ListCompilationJobs" 13070 13071 // ListCompilationJobsRequest generates a "aws/request.Request" representing the 13072 // client's request for the ListCompilationJobs operation. The "output" return 13073 // value will be populated with the request's response once the request completes 13074 // successfully. 13075 // 13076 // Use "Send" method on the returned Request to send the API call to the service. 13077 // the "output" return value is not valid until after Send returns without error. 13078 // 13079 // See ListCompilationJobs for more information on using the ListCompilationJobs 13080 // API call, and error handling. 13081 // 13082 // This method is useful when you want to inject custom logic or configuration 13083 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 13084 // 13085 // 13086 // // Example sending a request using the ListCompilationJobsRequest method. 13087 // req, resp := client.ListCompilationJobsRequest(params) 13088 // 13089 // err := req.Send() 13090 // if err == nil { // resp is now filled 13091 // fmt.Println(resp) 13092 // } 13093 // 13094 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCompilationJobs 13095 func (c *SageMaker) ListCompilationJobsRequest(input *ListCompilationJobsInput) (req *request.Request, output *ListCompilationJobsOutput) { 13096 op := &request.Operation{ 13097 Name: opListCompilationJobs, 13098 HTTPMethod: "POST", 13099 HTTPPath: "/", 13100 Paginator: &request.Paginator{ 13101 InputTokens: []string{"NextToken"}, 13102 OutputTokens: []string{"NextToken"}, 13103 LimitToken: "MaxResults", 13104 TruncationToken: "", 13105 }, 13106 } 13107 13108 if input == nil { 13109 input = &ListCompilationJobsInput{} 13110 } 13111 13112 output = &ListCompilationJobsOutput{} 13113 req = c.newRequest(op, input, output) 13114 return 13115 } 13116 13117 // ListCompilationJobs API operation for Amazon SageMaker Service. 13118 // 13119 // Lists model compilation jobs that satisfy various filters. 13120 // 13121 // To create a model compilation job, use CreateCompilationJob. To get information 13122 // about a particular model compilation job you have created, use DescribeCompilationJob. 13123 // 13124 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 13125 // with awserr.Error's Code and Message methods to get detailed information about 13126 // the error. 13127 // 13128 // See the AWS API reference guide for Amazon SageMaker Service's 13129 // API operation ListCompilationJobs for usage and error information. 13130 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCompilationJobs 13131 func (c *SageMaker) ListCompilationJobs(input *ListCompilationJobsInput) (*ListCompilationJobsOutput, error) { 13132 req, out := c.ListCompilationJobsRequest(input) 13133 return out, req.Send() 13134 } 13135 13136 // ListCompilationJobsWithContext is the same as ListCompilationJobs with the addition of 13137 // the ability to pass a context and additional request options. 13138 // 13139 // See ListCompilationJobs for details on how to use this API operation. 13140 // 13141 // The context must be non-nil and will be used for request cancellation. If 13142 // the context is nil a panic will occur. In the future the SDK may create 13143 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 13144 // for more information on using Contexts. 13145 func (c *SageMaker) ListCompilationJobsWithContext(ctx aws.Context, input *ListCompilationJobsInput, opts ...request.Option) (*ListCompilationJobsOutput, error) { 13146 req, out := c.ListCompilationJobsRequest(input) 13147 req.SetContext(ctx) 13148 req.ApplyOptions(opts...) 13149 return out, req.Send() 13150 } 13151 13152 // ListCompilationJobsPages iterates over the pages of a ListCompilationJobs operation, 13153 // calling the "fn" function with the response data for each page. To stop 13154 // iterating, return false from the fn function. 13155 // 13156 // See ListCompilationJobs method for more information on how to use this operation. 13157 // 13158 // Note: This operation can generate multiple requests to a service. 13159 // 13160 // // Example iterating over at most 3 pages of a ListCompilationJobs operation. 13161 // pageNum := 0 13162 // err := client.ListCompilationJobsPages(params, 13163 // func(page *sagemaker.ListCompilationJobsOutput, lastPage bool) bool { 13164 // pageNum++ 13165 // fmt.Println(page) 13166 // return pageNum <= 3 13167 // }) 13168 // 13169 func (c *SageMaker) ListCompilationJobsPages(input *ListCompilationJobsInput, fn func(*ListCompilationJobsOutput, bool) bool) error { 13170 return c.ListCompilationJobsPagesWithContext(aws.BackgroundContext(), input, fn) 13171 } 13172 13173 // ListCompilationJobsPagesWithContext same as ListCompilationJobsPages except 13174 // it takes a Context and allows setting request options on the pages. 13175 // 13176 // The context must be non-nil and will be used for request cancellation. If 13177 // the context is nil a panic will occur. In the future the SDK may create 13178 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 13179 // for more information on using Contexts. 13180 func (c *SageMaker) ListCompilationJobsPagesWithContext(ctx aws.Context, input *ListCompilationJobsInput, fn func(*ListCompilationJobsOutput, bool) bool, opts ...request.Option) error { 13181 p := request.Pagination{ 13182 NewRequest: func() (*request.Request, error) { 13183 var inCpy *ListCompilationJobsInput 13184 if input != nil { 13185 tmp := *input 13186 inCpy = &tmp 13187 } 13188 req, _ := c.ListCompilationJobsRequest(inCpy) 13189 req.SetContext(ctx) 13190 req.ApplyOptions(opts...) 13191 return req, nil 13192 }, 13193 } 13194 13195 for p.Next() { 13196 if !fn(p.Page().(*ListCompilationJobsOutput), !p.HasNextPage()) { 13197 break 13198 } 13199 } 13200 13201 return p.Err() 13202 } 13203 13204 const opListContexts = "ListContexts" 13205 13206 // ListContextsRequest generates a "aws/request.Request" representing the 13207 // client's request for the ListContexts operation. The "output" return 13208 // value will be populated with the request's response once the request completes 13209 // successfully. 13210 // 13211 // Use "Send" method on the returned Request to send the API call to the service. 13212 // the "output" return value is not valid until after Send returns without error. 13213 // 13214 // See ListContexts for more information on using the ListContexts 13215 // API call, and error handling. 13216 // 13217 // This method is useful when you want to inject custom logic or configuration 13218 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 13219 // 13220 // 13221 // // Example sending a request using the ListContextsRequest method. 13222 // req, resp := client.ListContextsRequest(params) 13223 // 13224 // err := req.Send() 13225 // if err == nil { // resp is now filled 13226 // fmt.Println(resp) 13227 // } 13228 // 13229 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListContexts 13230 func (c *SageMaker) ListContextsRequest(input *ListContextsInput) (req *request.Request, output *ListContextsOutput) { 13231 op := &request.Operation{ 13232 Name: opListContexts, 13233 HTTPMethod: "POST", 13234 HTTPPath: "/", 13235 Paginator: &request.Paginator{ 13236 InputTokens: []string{"NextToken"}, 13237 OutputTokens: []string{"NextToken"}, 13238 LimitToken: "MaxResults", 13239 TruncationToken: "", 13240 }, 13241 } 13242 13243 if input == nil { 13244 input = &ListContextsInput{} 13245 } 13246 13247 output = &ListContextsOutput{} 13248 req = c.newRequest(op, input, output) 13249 return 13250 } 13251 13252 // ListContexts API operation for Amazon SageMaker Service. 13253 // 13254 // Lists the contexts in your account and their properties. 13255 // 13256 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 13257 // with awserr.Error's Code and Message methods to get detailed information about 13258 // the error. 13259 // 13260 // See the AWS API reference guide for Amazon SageMaker Service's 13261 // API operation ListContexts for usage and error information. 13262 // 13263 // Returned Error Types: 13264 // * ResourceNotFound 13265 // Resource being access is not found. 13266 // 13267 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListContexts 13268 func (c *SageMaker) ListContexts(input *ListContextsInput) (*ListContextsOutput, error) { 13269 req, out := c.ListContextsRequest(input) 13270 return out, req.Send() 13271 } 13272 13273 // ListContextsWithContext is the same as ListContexts with the addition of 13274 // the ability to pass a context and additional request options. 13275 // 13276 // See ListContexts for details on how to use this API operation. 13277 // 13278 // The context must be non-nil and will be used for request cancellation. If 13279 // the context is nil a panic will occur. In the future the SDK may create 13280 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 13281 // for more information on using Contexts. 13282 func (c *SageMaker) ListContextsWithContext(ctx aws.Context, input *ListContextsInput, opts ...request.Option) (*ListContextsOutput, error) { 13283 req, out := c.ListContextsRequest(input) 13284 req.SetContext(ctx) 13285 req.ApplyOptions(opts...) 13286 return out, req.Send() 13287 } 13288 13289 // ListContextsPages iterates over the pages of a ListContexts operation, 13290 // calling the "fn" function with the response data for each page. To stop 13291 // iterating, return false from the fn function. 13292 // 13293 // See ListContexts method for more information on how to use this operation. 13294 // 13295 // Note: This operation can generate multiple requests to a service. 13296 // 13297 // // Example iterating over at most 3 pages of a ListContexts operation. 13298 // pageNum := 0 13299 // err := client.ListContextsPages(params, 13300 // func(page *sagemaker.ListContextsOutput, lastPage bool) bool { 13301 // pageNum++ 13302 // fmt.Println(page) 13303 // return pageNum <= 3 13304 // }) 13305 // 13306 func (c *SageMaker) ListContextsPages(input *ListContextsInput, fn func(*ListContextsOutput, bool) bool) error { 13307 return c.ListContextsPagesWithContext(aws.BackgroundContext(), input, fn) 13308 } 13309 13310 // ListContextsPagesWithContext same as ListContextsPages except 13311 // it takes a Context and allows setting request options on the pages. 13312 // 13313 // The context must be non-nil and will be used for request cancellation. If 13314 // the context is nil a panic will occur. In the future the SDK may create 13315 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 13316 // for more information on using Contexts. 13317 func (c *SageMaker) ListContextsPagesWithContext(ctx aws.Context, input *ListContextsInput, fn func(*ListContextsOutput, bool) bool, opts ...request.Option) error { 13318 p := request.Pagination{ 13319 NewRequest: func() (*request.Request, error) { 13320 var inCpy *ListContextsInput 13321 if input != nil { 13322 tmp := *input 13323 inCpy = &tmp 13324 } 13325 req, _ := c.ListContextsRequest(inCpy) 13326 req.SetContext(ctx) 13327 req.ApplyOptions(opts...) 13328 return req, nil 13329 }, 13330 } 13331 13332 for p.Next() { 13333 if !fn(p.Page().(*ListContextsOutput), !p.HasNextPage()) { 13334 break 13335 } 13336 } 13337 13338 return p.Err() 13339 } 13340 13341 const opListDataQualityJobDefinitions = "ListDataQualityJobDefinitions" 13342 13343 // ListDataQualityJobDefinitionsRequest generates a "aws/request.Request" representing the 13344 // client's request for the ListDataQualityJobDefinitions operation. The "output" return 13345 // value will be populated with the request's response once the request completes 13346 // successfully. 13347 // 13348 // Use "Send" method on the returned Request to send the API call to the service. 13349 // the "output" return value is not valid until after Send returns without error. 13350 // 13351 // See ListDataQualityJobDefinitions for more information on using the ListDataQualityJobDefinitions 13352 // API call, and error handling. 13353 // 13354 // This method is useful when you want to inject custom logic or configuration 13355 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 13356 // 13357 // 13358 // // Example sending a request using the ListDataQualityJobDefinitionsRequest method. 13359 // req, resp := client.ListDataQualityJobDefinitionsRequest(params) 13360 // 13361 // err := req.Send() 13362 // if err == nil { // resp is now filled 13363 // fmt.Println(resp) 13364 // } 13365 // 13366 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDataQualityJobDefinitions 13367 func (c *SageMaker) ListDataQualityJobDefinitionsRequest(input *ListDataQualityJobDefinitionsInput) (req *request.Request, output *ListDataQualityJobDefinitionsOutput) { 13368 op := &request.Operation{ 13369 Name: opListDataQualityJobDefinitions, 13370 HTTPMethod: "POST", 13371 HTTPPath: "/", 13372 Paginator: &request.Paginator{ 13373 InputTokens: []string{"NextToken"}, 13374 OutputTokens: []string{"NextToken"}, 13375 LimitToken: "MaxResults", 13376 TruncationToken: "", 13377 }, 13378 } 13379 13380 if input == nil { 13381 input = &ListDataQualityJobDefinitionsInput{} 13382 } 13383 13384 output = &ListDataQualityJobDefinitionsOutput{} 13385 req = c.newRequest(op, input, output) 13386 return 13387 } 13388 13389 // ListDataQualityJobDefinitions API operation for Amazon SageMaker Service. 13390 // 13391 // Lists the data quality job definitions in your account. 13392 // 13393 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 13394 // with awserr.Error's Code and Message methods to get detailed information about 13395 // the error. 13396 // 13397 // See the AWS API reference guide for Amazon SageMaker Service's 13398 // API operation ListDataQualityJobDefinitions for usage and error information. 13399 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDataQualityJobDefinitions 13400 func (c *SageMaker) ListDataQualityJobDefinitions(input *ListDataQualityJobDefinitionsInput) (*ListDataQualityJobDefinitionsOutput, error) { 13401 req, out := c.ListDataQualityJobDefinitionsRequest(input) 13402 return out, req.Send() 13403 } 13404 13405 // ListDataQualityJobDefinitionsWithContext is the same as ListDataQualityJobDefinitions with the addition of 13406 // the ability to pass a context and additional request options. 13407 // 13408 // See ListDataQualityJobDefinitions for details on how to use this API operation. 13409 // 13410 // The context must be non-nil and will be used for request cancellation. If 13411 // the context is nil a panic will occur. In the future the SDK may create 13412 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 13413 // for more information on using Contexts. 13414 func (c *SageMaker) ListDataQualityJobDefinitionsWithContext(ctx aws.Context, input *ListDataQualityJobDefinitionsInput, opts ...request.Option) (*ListDataQualityJobDefinitionsOutput, error) { 13415 req, out := c.ListDataQualityJobDefinitionsRequest(input) 13416 req.SetContext(ctx) 13417 req.ApplyOptions(opts...) 13418 return out, req.Send() 13419 } 13420 13421 // ListDataQualityJobDefinitionsPages iterates over the pages of a ListDataQualityJobDefinitions operation, 13422 // calling the "fn" function with the response data for each page. To stop 13423 // iterating, return false from the fn function. 13424 // 13425 // See ListDataQualityJobDefinitions method for more information on how to use this operation. 13426 // 13427 // Note: This operation can generate multiple requests to a service. 13428 // 13429 // // Example iterating over at most 3 pages of a ListDataQualityJobDefinitions operation. 13430 // pageNum := 0 13431 // err := client.ListDataQualityJobDefinitionsPages(params, 13432 // func(page *sagemaker.ListDataQualityJobDefinitionsOutput, lastPage bool) bool { 13433 // pageNum++ 13434 // fmt.Println(page) 13435 // return pageNum <= 3 13436 // }) 13437 // 13438 func (c *SageMaker) ListDataQualityJobDefinitionsPages(input *ListDataQualityJobDefinitionsInput, fn func(*ListDataQualityJobDefinitionsOutput, bool) bool) error { 13439 return c.ListDataQualityJobDefinitionsPagesWithContext(aws.BackgroundContext(), input, fn) 13440 } 13441 13442 // ListDataQualityJobDefinitionsPagesWithContext same as ListDataQualityJobDefinitionsPages except 13443 // it takes a Context and allows setting request options on the pages. 13444 // 13445 // The context must be non-nil and will be used for request cancellation. If 13446 // the context is nil a panic will occur. In the future the SDK may create 13447 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 13448 // for more information on using Contexts. 13449 func (c *SageMaker) ListDataQualityJobDefinitionsPagesWithContext(ctx aws.Context, input *ListDataQualityJobDefinitionsInput, fn func(*ListDataQualityJobDefinitionsOutput, bool) bool, opts ...request.Option) error { 13450 p := request.Pagination{ 13451 NewRequest: func() (*request.Request, error) { 13452 var inCpy *ListDataQualityJobDefinitionsInput 13453 if input != nil { 13454 tmp := *input 13455 inCpy = &tmp 13456 } 13457 req, _ := c.ListDataQualityJobDefinitionsRequest(inCpy) 13458 req.SetContext(ctx) 13459 req.ApplyOptions(opts...) 13460 return req, nil 13461 }, 13462 } 13463 13464 for p.Next() { 13465 if !fn(p.Page().(*ListDataQualityJobDefinitionsOutput), !p.HasNextPage()) { 13466 break 13467 } 13468 } 13469 13470 return p.Err() 13471 } 13472 13473 const opListDeviceFleets = "ListDeviceFleets" 13474 13475 // ListDeviceFleetsRequest generates a "aws/request.Request" representing the 13476 // client's request for the ListDeviceFleets operation. The "output" return 13477 // value will be populated with the request's response once the request completes 13478 // successfully. 13479 // 13480 // Use "Send" method on the returned Request to send the API call to the service. 13481 // the "output" return value is not valid until after Send returns without error. 13482 // 13483 // See ListDeviceFleets for more information on using the ListDeviceFleets 13484 // API call, and error handling. 13485 // 13486 // This method is useful when you want to inject custom logic or configuration 13487 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 13488 // 13489 // 13490 // // Example sending a request using the ListDeviceFleetsRequest method. 13491 // req, resp := client.ListDeviceFleetsRequest(params) 13492 // 13493 // err := req.Send() 13494 // if err == nil { // resp is now filled 13495 // fmt.Println(resp) 13496 // } 13497 // 13498 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDeviceFleets 13499 func (c *SageMaker) ListDeviceFleetsRequest(input *ListDeviceFleetsInput) (req *request.Request, output *ListDeviceFleetsOutput) { 13500 op := &request.Operation{ 13501 Name: opListDeviceFleets, 13502 HTTPMethod: "POST", 13503 HTTPPath: "/", 13504 Paginator: &request.Paginator{ 13505 InputTokens: []string{"NextToken"}, 13506 OutputTokens: []string{"NextToken"}, 13507 LimitToken: "MaxResults", 13508 TruncationToken: "", 13509 }, 13510 } 13511 13512 if input == nil { 13513 input = &ListDeviceFleetsInput{} 13514 } 13515 13516 output = &ListDeviceFleetsOutput{} 13517 req = c.newRequest(op, input, output) 13518 return 13519 } 13520 13521 // ListDeviceFleets API operation for Amazon SageMaker Service. 13522 // 13523 // Returns a list of devices in the fleet. 13524 // 13525 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 13526 // with awserr.Error's Code and Message methods to get detailed information about 13527 // the error. 13528 // 13529 // See the AWS API reference guide for Amazon SageMaker Service's 13530 // API operation ListDeviceFleets for usage and error information. 13531 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDeviceFleets 13532 func (c *SageMaker) ListDeviceFleets(input *ListDeviceFleetsInput) (*ListDeviceFleetsOutput, error) { 13533 req, out := c.ListDeviceFleetsRequest(input) 13534 return out, req.Send() 13535 } 13536 13537 // ListDeviceFleetsWithContext is the same as ListDeviceFleets with the addition of 13538 // the ability to pass a context and additional request options. 13539 // 13540 // See ListDeviceFleets for details on how to use this API operation. 13541 // 13542 // The context must be non-nil and will be used for request cancellation. If 13543 // the context is nil a panic will occur. In the future the SDK may create 13544 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 13545 // for more information on using Contexts. 13546 func (c *SageMaker) ListDeviceFleetsWithContext(ctx aws.Context, input *ListDeviceFleetsInput, opts ...request.Option) (*ListDeviceFleetsOutput, error) { 13547 req, out := c.ListDeviceFleetsRequest(input) 13548 req.SetContext(ctx) 13549 req.ApplyOptions(opts...) 13550 return out, req.Send() 13551 } 13552 13553 // ListDeviceFleetsPages iterates over the pages of a ListDeviceFleets operation, 13554 // calling the "fn" function with the response data for each page. To stop 13555 // iterating, return false from the fn function. 13556 // 13557 // See ListDeviceFleets method for more information on how to use this operation. 13558 // 13559 // Note: This operation can generate multiple requests to a service. 13560 // 13561 // // Example iterating over at most 3 pages of a ListDeviceFleets operation. 13562 // pageNum := 0 13563 // err := client.ListDeviceFleetsPages(params, 13564 // func(page *sagemaker.ListDeviceFleetsOutput, lastPage bool) bool { 13565 // pageNum++ 13566 // fmt.Println(page) 13567 // return pageNum <= 3 13568 // }) 13569 // 13570 func (c *SageMaker) ListDeviceFleetsPages(input *ListDeviceFleetsInput, fn func(*ListDeviceFleetsOutput, bool) bool) error { 13571 return c.ListDeviceFleetsPagesWithContext(aws.BackgroundContext(), input, fn) 13572 } 13573 13574 // ListDeviceFleetsPagesWithContext same as ListDeviceFleetsPages except 13575 // it takes a Context and allows setting request options on the pages. 13576 // 13577 // The context must be non-nil and will be used for request cancellation. If 13578 // the context is nil a panic will occur. In the future the SDK may create 13579 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 13580 // for more information on using Contexts. 13581 func (c *SageMaker) ListDeviceFleetsPagesWithContext(ctx aws.Context, input *ListDeviceFleetsInput, fn func(*ListDeviceFleetsOutput, bool) bool, opts ...request.Option) error { 13582 p := request.Pagination{ 13583 NewRequest: func() (*request.Request, error) { 13584 var inCpy *ListDeviceFleetsInput 13585 if input != nil { 13586 tmp := *input 13587 inCpy = &tmp 13588 } 13589 req, _ := c.ListDeviceFleetsRequest(inCpy) 13590 req.SetContext(ctx) 13591 req.ApplyOptions(opts...) 13592 return req, nil 13593 }, 13594 } 13595 13596 for p.Next() { 13597 if !fn(p.Page().(*ListDeviceFleetsOutput), !p.HasNextPage()) { 13598 break 13599 } 13600 } 13601 13602 return p.Err() 13603 } 13604 13605 const opListDevices = "ListDevices" 13606 13607 // ListDevicesRequest generates a "aws/request.Request" representing the 13608 // client's request for the ListDevices operation. The "output" return 13609 // value will be populated with the request's response once the request completes 13610 // successfully. 13611 // 13612 // Use "Send" method on the returned Request to send the API call to the service. 13613 // the "output" return value is not valid until after Send returns without error. 13614 // 13615 // See ListDevices for more information on using the ListDevices 13616 // API call, and error handling. 13617 // 13618 // This method is useful when you want to inject custom logic or configuration 13619 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 13620 // 13621 // 13622 // // Example sending a request using the ListDevicesRequest method. 13623 // req, resp := client.ListDevicesRequest(params) 13624 // 13625 // err := req.Send() 13626 // if err == nil { // resp is now filled 13627 // fmt.Println(resp) 13628 // } 13629 // 13630 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDevices 13631 func (c *SageMaker) ListDevicesRequest(input *ListDevicesInput) (req *request.Request, output *ListDevicesOutput) { 13632 op := &request.Operation{ 13633 Name: opListDevices, 13634 HTTPMethod: "POST", 13635 HTTPPath: "/", 13636 Paginator: &request.Paginator{ 13637 InputTokens: []string{"NextToken"}, 13638 OutputTokens: []string{"NextToken"}, 13639 LimitToken: "MaxResults", 13640 TruncationToken: "", 13641 }, 13642 } 13643 13644 if input == nil { 13645 input = &ListDevicesInput{} 13646 } 13647 13648 output = &ListDevicesOutput{} 13649 req = c.newRequest(op, input, output) 13650 return 13651 } 13652 13653 // ListDevices API operation for Amazon SageMaker Service. 13654 // 13655 // A list of devices. 13656 // 13657 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 13658 // with awserr.Error's Code and Message methods to get detailed information about 13659 // the error. 13660 // 13661 // See the AWS API reference guide for Amazon SageMaker Service's 13662 // API operation ListDevices for usage and error information. 13663 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDevices 13664 func (c *SageMaker) ListDevices(input *ListDevicesInput) (*ListDevicesOutput, error) { 13665 req, out := c.ListDevicesRequest(input) 13666 return out, req.Send() 13667 } 13668 13669 // ListDevicesWithContext is the same as ListDevices with the addition of 13670 // the ability to pass a context and additional request options. 13671 // 13672 // See ListDevices for details on how to use this API operation. 13673 // 13674 // The context must be non-nil and will be used for request cancellation. If 13675 // the context is nil a panic will occur. In the future the SDK may create 13676 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 13677 // for more information on using Contexts. 13678 func (c *SageMaker) ListDevicesWithContext(ctx aws.Context, input *ListDevicesInput, opts ...request.Option) (*ListDevicesOutput, error) { 13679 req, out := c.ListDevicesRequest(input) 13680 req.SetContext(ctx) 13681 req.ApplyOptions(opts...) 13682 return out, req.Send() 13683 } 13684 13685 // ListDevicesPages iterates over the pages of a ListDevices operation, 13686 // calling the "fn" function with the response data for each page. To stop 13687 // iterating, return false from the fn function. 13688 // 13689 // See ListDevices method for more information on how to use this operation. 13690 // 13691 // Note: This operation can generate multiple requests to a service. 13692 // 13693 // // Example iterating over at most 3 pages of a ListDevices operation. 13694 // pageNum := 0 13695 // err := client.ListDevicesPages(params, 13696 // func(page *sagemaker.ListDevicesOutput, lastPage bool) bool { 13697 // pageNum++ 13698 // fmt.Println(page) 13699 // return pageNum <= 3 13700 // }) 13701 // 13702 func (c *SageMaker) ListDevicesPages(input *ListDevicesInput, fn func(*ListDevicesOutput, bool) bool) error { 13703 return c.ListDevicesPagesWithContext(aws.BackgroundContext(), input, fn) 13704 } 13705 13706 // ListDevicesPagesWithContext same as ListDevicesPages except 13707 // it takes a Context and allows setting request options on the pages. 13708 // 13709 // The context must be non-nil and will be used for request cancellation. If 13710 // the context is nil a panic will occur. In the future the SDK may create 13711 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 13712 // for more information on using Contexts. 13713 func (c *SageMaker) ListDevicesPagesWithContext(ctx aws.Context, input *ListDevicesInput, fn func(*ListDevicesOutput, bool) bool, opts ...request.Option) error { 13714 p := request.Pagination{ 13715 NewRequest: func() (*request.Request, error) { 13716 var inCpy *ListDevicesInput 13717 if input != nil { 13718 tmp := *input 13719 inCpy = &tmp 13720 } 13721 req, _ := c.ListDevicesRequest(inCpy) 13722 req.SetContext(ctx) 13723 req.ApplyOptions(opts...) 13724 return req, nil 13725 }, 13726 } 13727 13728 for p.Next() { 13729 if !fn(p.Page().(*ListDevicesOutput), !p.HasNextPage()) { 13730 break 13731 } 13732 } 13733 13734 return p.Err() 13735 } 13736 13737 const opListDomains = "ListDomains" 13738 13739 // ListDomainsRequest generates a "aws/request.Request" representing the 13740 // client's request for the ListDomains operation. The "output" return 13741 // value will be populated with the request's response once the request completes 13742 // successfully. 13743 // 13744 // Use "Send" method on the returned Request to send the API call to the service. 13745 // the "output" return value is not valid until after Send returns without error. 13746 // 13747 // See ListDomains for more information on using the ListDomains 13748 // API call, and error handling. 13749 // 13750 // This method is useful when you want to inject custom logic or configuration 13751 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 13752 // 13753 // 13754 // // Example sending a request using the ListDomainsRequest method. 13755 // req, resp := client.ListDomainsRequest(params) 13756 // 13757 // err := req.Send() 13758 // if err == nil { // resp is now filled 13759 // fmt.Println(resp) 13760 // } 13761 // 13762 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDomains 13763 func (c *SageMaker) ListDomainsRequest(input *ListDomainsInput) (req *request.Request, output *ListDomainsOutput) { 13764 op := &request.Operation{ 13765 Name: opListDomains, 13766 HTTPMethod: "POST", 13767 HTTPPath: "/", 13768 Paginator: &request.Paginator{ 13769 InputTokens: []string{"NextToken"}, 13770 OutputTokens: []string{"NextToken"}, 13771 LimitToken: "MaxResults", 13772 TruncationToken: "", 13773 }, 13774 } 13775 13776 if input == nil { 13777 input = &ListDomainsInput{} 13778 } 13779 13780 output = &ListDomainsOutput{} 13781 req = c.newRequest(op, input, output) 13782 return 13783 } 13784 13785 // ListDomains API operation for Amazon SageMaker Service. 13786 // 13787 // Lists the domains. 13788 // 13789 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 13790 // with awserr.Error's Code and Message methods to get detailed information about 13791 // the error. 13792 // 13793 // See the AWS API reference guide for Amazon SageMaker Service's 13794 // API operation ListDomains for usage and error information. 13795 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDomains 13796 func (c *SageMaker) ListDomains(input *ListDomainsInput) (*ListDomainsOutput, error) { 13797 req, out := c.ListDomainsRequest(input) 13798 return out, req.Send() 13799 } 13800 13801 // ListDomainsWithContext is the same as ListDomains with the addition of 13802 // the ability to pass a context and additional request options. 13803 // 13804 // See ListDomains for details on how to use this API operation. 13805 // 13806 // The context must be non-nil and will be used for request cancellation. If 13807 // the context is nil a panic will occur. In the future the SDK may create 13808 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 13809 // for more information on using Contexts. 13810 func (c *SageMaker) ListDomainsWithContext(ctx aws.Context, input *ListDomainsInput, opts ...request.Option) (*ListDomainsOutput, error) { 13811 req, out := c.ListDomainsRequest(input) 13812 req.SetContext(ctx) 13813 req.ApplyOptions(opts...) 13814 return out, req.Send() 13815 } 13816 13817 // ListDomainsPages iterates over the pages of a ListDomains operation, 13818 // calling the "fn" function with the response data for each page. To stop 13819 // iterating, return false from the fn function. 13820 // 13821 // See ListDomains method for more information on how to use this operation. 13822 // 13823 // Note: This operation can generate multiple requests to a service. 13824 // 13825 // // Example iterating over at most 3 pages of a ListDomains operation. 13826 // pageNum := 0 13827 // err := client.ListDomainsPages(params, 13828 // func(page *sagemaker.ListDomainsOutput, lastPage bool) bool { 13829 // pageNum++ 13830 // fmt.Println(page) 13831 // return pageNum <= 3 13832 // }) 13833 // 13834 func (c *SageMaker) ListDomainsPages(input *ListDomainsInput, fn func(*ListDomainsOutput, bool) bool) error { 13835 return c.ListDomainsPagesWithContext(aws.BackgroundContext(), input, fn) 13836 } 13837 13838 // ListDomainsPagesWithContext same as ListDomainsPages except 13839 // it takes a Context and allows setting request options on the pages. 13840 // 13841 // The context must be non-nil and will be used for request cancellation. If 13842 // the context is nil a panic will occur. In the future the SDK may create 13843 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 13844 // for more information on using Contexts. 13845 func (c *SageMaker) ListDomainsPagesWithContext(ctx aws.Context, input *ListDomainsInput, fn func(*ListDomainsOutput, bool) bool, opts ...request.Option) error { 13846 p := request.Pagination{ 13847 NewRequest: func() (*request.Request, error) { 13848 var inCpy *ListDomainsInput 13849 if input != nil { 13850 tmp := *input 13851 inCpy = &tmp 13852 } 13853 req, _ := c.ListDomainsRequest(inCpy) 13854 req.SetContext(ctx) 13855 req.ApplyOptions(opts...) 13856 return req, nil 13857 }, 13858 } 13859 13860 for p.Next() { 13861 if !fn(p.Page().(*ListDomainsOutput), !p.HasNextPage()) { 13862 break 13863 } 13864 } 13865 13866 return p.Err() 13867 } 13868 13869 const opListEdgePackagingJobs = "ListEdgePackagingJobs" 13870 13871 // ListEdgePackagingJobsRequest generates a "aws/request.Request" representing the 13872 // client's request for the ListEdgePackagingJobs operation. The "output" return 13873 // value will be populated with the request's response once the request completes 13874 // successfully. 13875 // 13876 // Use "Send" method on the returned Request to send the API call to the service. 13877 // the "output" return value is not valid until after Send returns without error. 13878 // 13879 // See ListEdgePackagingJobs for more information on using the ListEdgePackagingJobs 13880 // API call, and error handling. 13881 // 13882 // This method is useful when you want to inject custom logic or configuration 13883 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 13884 // 13885 // 13886 // // Example sending a request using the ListEdgePackagingJobsRequest method. 13887 // req, resp := client.ListEdgePackagingJobsRequest(params) 13888 // 13889 // err := req.Send() 13890 // if err == nil { // resp is now filled 13891 // fmt.Println(resp) 13892 // } 13893 // 13894 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEdgePackagingJobs 13895 func (c *SageMaker) ListEdgePackagingJobsRequest(input *ListEdgePackagingJobsInput) (req *request.Request, output *ListEdgePackagingJobsOutput) { 13896 op := &request.Operation{ 13897 Name: opListEdgePackagingJobs, 13898 HTTPMethod: "POST", 13899 HTTPPath: "/", 13900 Paginator: &request.Paginator{ 13901 InputTokens: []string{"NextToken"}, 13902 OutputTokens: []string{"NextToken"}, 13903 LimitToken: "MaxResults", 13904 TruncationToken: "", 13905 }, 13906 } 13907 13908 if input == nil { 13909 input = &ListEdgePackagingJobsInput{} 13910 } 13911 13912 output = &ListEdgePackagingJobsOutput{} 13913 req = c.newRequest(op, input, output) 13914 return 13915 } 13916 13917 // ListEdgePackagingJobs API operation for Amazon SageMaker Service. 13918 // 13919 // Returns a list of edge packaging jobs. 13920 // 13921 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 13922 // with awserr.Error's Code and Message methods to get detailed information about 13923 // the error. 13924 // 13925 // See the AWS API reference guide for Amazon SageMaker Service's 13926 // API operation ListEdgePackagingJobs for usage and error information. 13927 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEdgePackagingJobs 13928 func (c *SageMaker) ListEdgePackagingJobs(input *ListEdgePackagingJobsInput) (*ListEdgePackagingJobsOutput, error) { 13929 req, out := c.ListEdgePackagingJobsRequest(input) 13930 return out, req.Send() 13931 } 13932 13933 // ListEdgePackagingJobsWithContext is the same as ListEdgePackagingJobs with the addition of 13934 // the ability to pass a context and additional request options. 13935 // 13936 // See ListEdgePackagingJobs for details on how to use this API operation. 13937 // 13938 // The context must be non-nil and will be used for request cancellation. If 13939 // the context is nil a panic will occur. In the future the SDK may create 13940 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 13941 // for more information on using Contexts. 13942 func (c *SageMaker) ListEdgePackagingJobsWithContext(ctx aws.Context, input *ListEdgePackagingJobsInput, opts ...request.Option) (*ListEdgePackagingJobsOutput, error) { 13943 req, out := c.ListEdgePackagingJobsRequest(input) 13944 req.SetContext(ctx) 13945 req.ApplyOptions(opts...) 13946 return out, req.Send() 13947 } 13948 13949 // ListEdgePackagingJobsPages iterates over the pages of a ListEdgePackagingJobs operation, 13950 // calling the "fn" function with the response data for each page. To stop 13951 // iterating, return false from the fn function. 13952 // 13953 // See ListEdgePackagingJobs method for more information on how to use this operation. 13954 // 13955 // Note: This operation can generate multiple requests to a service. 13956 // 13957 // // Example iterating over at most 3 pages of a ListEdgePackagingJobs operation. 13958 // pageNum := 0 13959 // err := client.ListEdgePackagingJobsPages(params, 13960 // func(page *sagemaker.ListEdgePackagingJobsOutput, lastPage bool) bool { 13961 // pageNum++ 13962 // fmt.Println(page) 13963 // return pageNum <= 3 13964 // }) 13965 // 13966 func (c *SageMaker) ListEdgePackagingJobsPages(input *ListEdgePackagingJobsInput, fn func(*ListEdgePackagingJobsOutput, bool) bool) error { 13967 return c.ListEdgePackagingJobsPagesWithContext(aws.BackgroundContext(), input, fn) 13968 } 13969 13970 // ListEdgePackagingJobsPagesWithContext same as ListEdgePackagingJobsPages except 13971 // it takes a Context and allows setting request options on the pages. 13972 // 13973 // The context must be non-nil and will be used for request cancellation. If 13974 // the context is nil a panic will occur. In the future the SDK may create 13975 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 13976 // for more information on using Contexts. 13977 func (c *SageMaker) ListEdgePackagingJobsPagesWithContext(ctx aws.Context, input *ListEdgePackagingJobsInput, fn func(*ListEdgePackagingJobsOutput, bool) bool, opts ...request.Option) error { 13978 p := request.Pagination{ 13979 NewRequest: func() (*request.Request, error) { 13980 var inCpy *ListEdgePackagingJobsInput 13981 if input != nil { 13982 tmp := *input 13983 inCpy = &tmp 13984 } 13985 req, _ := c.ListEdgePackagingJobsRequest(inCpy) 13986 req.SetContext(ctx) 13987 req.ApplyOptions(opts...) 13988 return req, nil 13989 }, 13990 } 13991 13992 for p.Next() { 13993 if !fn(p.Page().(*ListEdgePackagingJobsOutput), !p.HasNextPage()) { 13994 break 13995 } 13996 } 13997 13998 return p.Err() 13999 } 14000 14001 const opListEndpointConfigs = "ListEndpointConfigs" 14002 14003 // ListEndpointConfigsRequest generates a "aws/request.Request" representing the 14004 // client's request for the ListEndpointConfigs operation. The "output" return 14005 // value will be populated with the request's response once the request completes 14006 // successfully. 14007 // 14008 // Use "Send" method on the returned Request to send the API call to the service. 14009 // the "output" return value is not valid until after Send returns without error. 14010 // 14011 // See ListEndpointConfigs for more information on using the ListEndpointConfigs 14012 // API call, and error handling. 14013 // 14014 // This method is useful when you want to inject custom logic or configuration 14015 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 14016 // 14017 // 14018 // // Example sending a request using the ListEndpointConfigsRequest method. 14019 // req, resp := client.ListEndpointConfigsRequest(params) 14020 // 14021 // err := req.Send() 14022 // if err == nil { // resp is now filled 14023 // fmt.Println(resp) 14024 // } 14025 // 14026 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpointConfigs 14027 func (c *SageMaker) ListEndpointConfigsRequest(input *ListEndpointConfigsInput) (req *request.Request, output *ListEndpointConfigsOutput) { 14028 op := &request.Operation{ 14029 Name: opListEndpointConfigs, 14030 HTTPMethod: "POST", 14031 HTTPPath: "/", 14032 Paginator: &request.Paginator{ 14033 InputTokens: []string{"NextToken"}, 14034 OutputTokens: []string{"NextToken"}, 14035 LimitToken: "MaxResults", 14036 TruncationToken: "", 14037 }, 14038 } 14039 14040 if input == nil { 14041 input = &ListEndpointConfigsInput{} 14042 } 14043 14044 output = &ListEndpointConfigsOutput{} 14045 req = c.newRequest(op, input, output) 14046 return 14047 } 14048 14049 // ListEndpointConfigs API operation for Amazon SageMaker Service. 14050 // 14051 // Lists endpoint configurations. 14052 // 14053 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 14054 // with awserr.Error's Code and Message methods to get detailed information about 14055 // the error. 14056 // 14057 // See the AWS API reference guide for Amazon SageMaker Service's 14058 // API operation ListEndpointConfigs for usage and error information. 14059 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpointConfigs 14060 func (c *SageMaker) ListEndpointConfigs(input *ListEndpointConfigsInput) (*ListEndpointConfigsOutput, error) { 14061 req, out := c.ListEndpointConfigsRequest(input) 14062 return out, req.Send() 14063 } 14064 14065 // ListEndpointConfigsWithContext is the same as ListEndpointConfigs with the addition of 14066 // the ability to pass a context and additional request options. 14067 // 14068 // See ListEndpointConfigs for details on how to use this API operation. 14069 // 14070 // The context must be non-nil and will be used for request cancellation. If 14071 // the context is nil a panic will occur. In the future the SDK may create 14072 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 14073 // for more information on using Contexts. 14074 func (c *SageMaker) ListEndpointConfigsWithContext(ctx aws.Context, input *ListEndpointConfigsInput, opts ...request.Option) (*ListEndpointConfigsOutput, error) { 14075 req, out := c.ListEndpointConfigsRequest(input) 14076 req.SetContext(ctx) 14077 req.ApplyOptions(opts...) 14078 return out, req.Send() 14079 } 14080 14081 // ListEndpointConfigsPages iterates over the pages of a ListEndpointConfigs operation, 14082 // calling the "fn" function with the response data for each page. To stop 14083 // iterating, return false from the fn function. 14084 // 14085 // See ListEndpointConfigs method for more information on how to use this operation. 14086 // 14087 // Note: This operation can generate multiple requests to a service. 14088 // 14089 // // Example iterating over at most 3 pages of a ListEndpointConfigs operation. 14090 // pageNum := 0 14091 // err := client.ListEndpointConfigsPages(params, 14092 // func(page *sagemaker.ListEndpointConfigsOutput, lastPage bool) bool { 14093 // pageNum++ 14094 // fmt.Println(page) 14095 // return pageNum <= 3 14096 // }) 14097 // 14098 func (c *SageMaker) ListEndpointConfigsPages(input *ListEndpointConfigsInput, fn func(*ListEndpointConfigsOutput, bool) bool) error { 14099 return c.ListEndpointConfigsPagesWithContext(aws.BackgroundContext(), input, fn) 14100 } 14101 14102 // ListEndpointConfigsPagesWithContext same as ListEndpointConfigsPages except 14103 // it takes a Context and allows setting request options on the pages. 14104 // 14105 // The context must be non-nil and will be used for request cancellation. If 14106 // the context is nil a panic will occur. In the future the SDK may create 14107 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 14108 // for more information on using Contexts. 14109 func (c *SageMaker) ListEndpointConfigsPagesWithContext(ctx aws.Context, input *ListEndpointConfigsInput, fn func(*ListEndpointConfigsOutput, bool) bool, opts ...request.Option) error { 14110 p := request.Pagination{ 14111 NewRequest: func() (*request.Request, error) { 14112 var inCpy *ListEndpointConfigsInput 14113 if input != nil { 14114 tmp := *input 14115 inCpy = &tmp 14116 } 14117 req, _ := c.ListEndpointConfigsRequest(inCpy) 14118 req.SetContext(ctx) 14119 req.ApplyOptions(opts...) 14120 return req, nil 14121 }, 14122 } 14123 14124 for p.Next() { 14125 if !fn(p.Page().(*ListEndpointConfigsOutput), !p.HasNextPage()) { 14126 break 14127 } 14128 } 14129 14130 return p.Err() 14131 } 14132 14133 const opListEndpoints = "ListEndpoints" 14134 14135 // ListEndpointsRequest generates a "aws/request.Request" representing the 14136 // client's request for the ListEndpoints operation. The "output" return 14137 // value will be populated with the request's response once the request completes 14138 // successfully. 14139 // 14140 // Use "Send" method on the returned Request to send the API call to the service. 14141 // the "output" return value is not valid until after Send returns without error. 14142 // 14143 // See ListEndpoints for more information on using the ListEndpoints 14144 // API call, and error handling. 14145 // 14146 // This method is useful when you want to inject custom logic or configuration 14147 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 14148 // 14149 // 14150 // // Example sending a request using the ListEndpointsRequest method. 14151 // req, resp := client.ListEndpointsRequest(params) 14152 // 14153 // err := req.Send() 14154 // if err == nil { // resp is now filled 14155 // fmt.Println(resp) 14156 // } 14157 // 14158 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpoints 14159 func (c *SageMaker) ListEndpointsRequest(input *ListEndpointsInput) (req *request.Request, output *ListEndpointsOutput) { 14160 op := &request.Operation{ 14161 Name: opListEndpoints, 14162 HTTPMethod: "POST", 14163 HTTPPath: "/", 14164 Paginator: &request.Paginator{ 14165 InputTokens: []string{"NextToken"}, 14166 OutputTokens: []string{"NextToken"}, 14167 LimitToken: "MaxResults", 14168 TruncationToken: "", 14169 }, 14170 } 14171 14172 if input == nil { 14173 input = &ListEndpointsInput{} 14174 } 14175 14176 output = &ListEndpointsOutput{} 14177 req = c.newRequest(op, input, output) 14178 return 14179 } 14180 14181 // ListEndpoints API operation for Amazon SageMaker Service. 14182 // 14183 // Lists endpoints. 14184 // 14185 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 14186 // with awserr.Error's Code and Message methods to get detailed information about 14187 // the error. 14188 // 14189 // See the AWS API reference guide for Amazon SageMaker Service's 14190 // API operation ListEndpoints for usage and error information. 14191 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpoints 14192 func (c *SageMaker) ListEndpoints(input *ListEndpointsInput) (*ListEndpointsOutput, error) { 14193 req, out := c.ListEndpointsRequest(input) 14194 return out, req.Send() 14195 } 14196 14197 // ListEndpointsWithContext is the same as ListEndpoints with the addition of 14198 // the ability to pass a context and additional request options. 14199 // 14200 // See ListEndpoints for details on how to use this API operation. 14201 // 14202 // The context must be non-nil and will be used for request cancellation. If 14203 // the context is nil a panic will occur. In the future the SDK may create 14204 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 14205 // for more information on using Contexts. 14206 func (c *SageMaker) ListEndpointsWithContext(ctx aws.Context, input *ListEndpointsInput, opts ...request.Option) (*ListEndpointsOutput, error) { 14207 req, out := c.ListEndpointsRequest(input) 14208 req.SetContext(ctx) 14209 req.ApplyOptions(opts...) 14210 return out, req.Send() 14211 } 14212 14213 // ListEndpointsPages iterates over the pages of a ListEndpoints operation, 14214 // calling the "fn" function with the response data for each page. To stop 14215 // iterating, return false from the fn function. 14216 // 14217 // See ListEndpoints method for more information on how to use this operation. 14218 // 14219 // Note: This operation can generate multiple requests to a service. 14220 // 14221 // // Example iterating over at most 3 pages of a ListEndpoints operation. 14222 // pageNum := 0 14223 // err := client.ListEndpointsPages(params, 14224 // func(page *sagemaker.ListEndpointsOutput, lastPage bool) bool { 14225 // pageNum++ 14226 // fmt.Println(page) 14227 // return pageNum <= 3 14228 // }) 14229 // 14230 func (c *SageMaker) ListEndpointsPages(input *ListEndpointsInput, fn func(*ListEndpointsOutput, bool) bool) error { 14231 return c.ListEndpointsPagesWithContext(aws.BackgroundContext(), input, fn) 14232 } 14233 14234 // ListEndpointsPagesWithContext same as ListEndpointsPages except 14235 // it takes a Context and allows setting request options on the pages. 14236 // 14237 // The context must be non-nil and will be used for request cancellation. If 14238 // the context is nil a panic will occur. In the future the SDK may create 14239 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 14240 // for more information on using Contexts. 14241 func (c *SageMaker) ListEndpointsPagesWithContext(ctx aws.Context, input *ListEndpointsInput, fn func(*ListEndpointsOutput, bool) bool, opts ...request.Option) error { 14242 p := request.Pagination{ 14243 NewRequest: func() (*request.Request, error) { 14244 var inCpy *ListEndpointsInput 14245 if input != nil { 14246 tmp := *input 14247 inCpy = &tmp 14248 } 14249 req, _ := c.ListEndpointsRequest(inCpy) 14250 req.SetContext(ctx) 14251 req.ApplyOptions(opts...) 14252 return req, nil 14253 }, 14254 } 14255 14256 for p.Next() { 14257 if !fn(p.Page().(*ListEndpointsOutput), !p.HasNextPage()) { 14258 break 14259 } 14260 } 14261 14262 return p.Err() 14263 } 14264 14265 const opListExperiments = "ListExperiments" 14266 14267 // ListExperimentsRequest generates a "aws/request.Request" representing the 14268 // client's request for the ListExperiments operation. The "output" return 14269 // value will be populated with the request's response once the request completes 14270 // successfully. 14271 // 14272 // Use "Send" method on the returned Request to send the API call to the service. 14273 // the "output" return value is not valid until after Send returns without error. 14274 // 14275 // See ListExperiments for more information on using the ListExperiments 14276 // API call, and error handling. 14277 // 14278 // This method is useful when you want to inject custom logic or configuration 14279 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 14280 // 14281 // 14282 // // Example sending a request using the ListExperimentsRequest method. 14283 // req, resp := client.ListExperimentsRequest(params) 14284 // 14285 // err := req.Send() 14286 // if err == nil { // resp is now filled 14287 // fmt.Println(resp) 14288 // } 14289 // 14290 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListExperiments 14291 func (c *SageMaker) ListExperimentsRequest(input *ListExperimentsInput) (req *request.Request, output *ListExperimentsOutput) { 14292 op := &request.Operation{ 14293 Name: opListExperiments, 14294 HTTPMethod: "POST", 14295 HTTPPath: "/", 14296 Paginator: &request.Paginator{ 14297 InputTokens: []string{"NextToken"}, 14298 OutputTokens: []string{"NextToken"}, 14299 LimitToken: "MaxResults", 14300 TruncationToken: "", 14301 }, 14302 } 14303 14304 if input == nil { 14305 input = &ListExperimentsInput{} 14306 } 14307 14308 output = &ListExperimentsOutput{} 14309 req = c.newRequest(op, input, output) 14310 return 14311 } 14312 14313 // ListExperiments API operation for Amazon SageMaker Service. 14314 // 14315 // Lists all the experiments in your account. The list can be filtered to show 14316 // only experiments that were created in a specific time range. The list can 14317 // be sorted by experiment name or creation time. 14318 // 14319 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 14320 // with awserr.Error's Code and Message methods to get detailed information about 14321 // the error. 14322 // 14323 // See the AWS API reference guide for Amazon SageMaker Service's 14324 // API operation ListExperiments for usage and error information. 14325 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListExperiments 14326 func (c *SageMaker) ListExperiments(input *ListExperimentsInput) (*ListExperimentsOutput, error) { 14327 req, out := c.ListExperimentsRequest(input) 14328 return out, req.Send() 14329 } 14330 14331 // ListExperimentsWithContext is the same as ListExperiments with the addition of 14332 // the ability to pass a context and additional request options. 14333 // 14334 // See ListExperiments for details on how to use this API operation. 14335 // 14336 // The context must be non-nil and will be used for request cancellation. If 14337 // the context is nil a panic will occur. In the future the SDK may create 14338 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 14339 // for more information on using Contexts. 14340 func (c *SageMaker) ListExperimentsWithContext(ctx aws.Context, input *ListExperimentsInput, opts ...request.Option) (*ListExperimentsOutput, error) { 14341 req, out := c.ListExperimentsRequest(input) 14342 req.SetContext(ctx) 14343 req.ApplyOptions(opts...) 14344 return out, req.Send() 14345 } 14346 14347 // ListExperimentsPages iterates over the pages of a ListExperiments operation, 14348 // calling the "fn" function with the response data for each page. To stop 14349 // iterating, return false from the fn function. 14350 // 14351 // See ListExperiments method for more information on how to use this operation. 14352 // 14353 // Note: This operation can generate multiple requests to a service. 14354 // 14355 // // Example iterating over at most 3 pages of a ListExperiments operation. 14356 // pageNum := 0 14357 // err := client.ListExperimentsPages(params, 14358 // func(page *sagemaker.ListExperimentsOutput, lastPage bool) bool { 14359 // pageNum++ 14360 // fmt.Println(page) 14361 // return pageNum <= 3 14362 // }) 14363 // 14364 func (c *SageMaker) ListExperimentsPages(input *ListExperimentsInput, fn func(*ListExperimentsOutput, bool) bool) error { 14365 return c.ListExperimentsPagesWithContext(aws.BackgroundContext(), input, fn) 14366 } 14367 14368 // ListExperimentsPagesWithContext same as ListExperimentsPages except 14369 // it takes a Context and allows setting request options on the pages. 14370 // 14371 // The context must be non-nil and will be used for request cancellation. If 14372 // the context is nil a panic will occur. In the future the SDK may create 14373 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 14374 // for more information on using Contexts. 14375 func (c *SageMaker) ListExperimentsPagesWithContext(ctx aws.Context, input *ListExperimentsInput, fn func(*ListExperimentsOutput, bool) bool, opts ...request.Option) error { 14376 p := request.Pagination{ 14377 NewRequest: func() (*request.Request, error) { 14378 var inCpy *ListExperimentsInput 14379 if input != nil { 14380 tmp := *input 14381 inCpy = &tmp 14382 } 14383 req, _ := c.ListExperimentsRequest(inCpy) 14384 req.SetContext(ctx) 14385 req.ApplyOptions(opts...) 14386 return req, nil 14387 }, 14388 } 14389 14390 for p.Next() { 14391 if !fn(p.Page().(*ListExperimentsOutput), !p.HasNextPage()) { 14392 break 14393 } 14394 } 14395 14396 return p.Err() 14397 } 14398 14399 const opListFeatureGroups = "ListFeatureGroups" 14400 14401 // ListFeatureGroupsRequest generates a "aws/request.Request" representing the 14402 // client's request for the ListFeatureGroups operation. The "output" return 14403 // value will be populated with the request's response once the request completes 14404 // successfully. 14405 // 14406 // Use "Send" method on the returned Request to send the API call to the service. 14407 // the "output" return value is not valid until after Send returns without error. 14408 // 14409 // See ListFeatureGroups for more information on using the ListFeatureGroups 14410 // API call, and error handling. 14411 // 14412 // This method is useful when you want to inject custom logic or configuration 14413 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 14414 // 14415 // 14416 // // Example sending a request using the ListFeatureGroupsRequest method. 14417 // req, resp := client.ListFeatureGroupsRequest(params) 14418 // 14419 // err := req.Send() 14420 // if err == nil { // resp is now filled 14421 // fmt.Println(resp) 14422 // } 14423 // 14424 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListFeatureGroups 14425 func (c *SageMaker) ListFeatureGroupsRequest(input *ListFeatureGroupsInput) (req *request.Request, output *ListFeatureGroupsOutput) { 14426 op := &request.Operation{ 14427 Name: opListFeatureGroups, 14428 HTTPMethod: "POST", 14429 HTTPPath: "/", 14430 Paginator: &request.Paginator{ 14431 InputTokens: []string{"NextToken"}, 14432 OutputTokens: []string{"NextToken"}, 14433 LimitToken: "MaxResults", 14434 TruncationToken: "", 14435 }, 14436 } 14437 14438 if input == nil { 14439 input = &ListFeatureGroupsInput{} 14440 } 14441 14442 output = &ListFeatureGroupsOutput{} 14443 req = c.newRequest(op, input, output) 14444 return 14445 } 14446 14447 // ListFeatureGroups API operation for Amazon SageMaker Service. 14448 // 14449 // List FeatureGroups based on given filter and order. 14450 // 14451 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 14452 // with awserr.Error's Code and Message methods to get detailed information about 14453 // the error. 14454 // 14455 // See the AWS API reference guide for Amazon SageMaker Service's 14456 // API operation ListFeatureGroups for usage and error information. 14457 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListFeatureGroups 14458 func (c *SageMaker) ListFeatureGroups(input *ListFeatureGroupsInput) (*ListFeatureGroupsOutput, error) { 14459 req, out := c.ListFeatureGroupsRequest(input) 14460 return out, req.Send() 14461 } 14462 14463 // ListFeatureGroupsWithContext is the same as ListFeatureGroups with the addition of 14464 // the ability to pass a context and additional request options. 14465 // 14466 // See ListFeatureGroups for details on how to use this API operation. 14467 // 14468 // The context must be non-nil and will be used for request cancellation. If 14469 // the context is nil a panic will occur. In the future the SDK may create 14470 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 14471 // for more information on using Contexts. 14472 func (c *SageMaker) ListFeatureGroupsWithContext(ctx aws.Context, input *ListFeatureGroupsInput, opts ...request.Option) (*ListFeatureGroupsOutput, error) { 14473 req, out := c.ListFeatureGroupsRequest(input) 14474 req.SetContext(ctx) 14475 req.ApplyOptions(opts...) 14476 return out, req.Send() 14477 } 14478 14479 // ListFeatureGroupsPages iterates over the pages of a ListFeatureGroups operation, 14480 // calling the "fn" function with the response data for each page. To stop 14481 // iterating, return false from the fn function. 14482 // 14483 // See ListFeatureGroups method for more information on how to use this operation. 14484 // 14485 // Note: This operation can generate multiple requests to a service. 14486 // 14487 // // Example iterating over at most 3 pages of a ListFeatureGroups operation. 14488 // pageNum := 0 14489 // err := client.ListFeatureGroupsPages(params, 14490 // func(page *sagemaker.ListFeatureGroupsOutput, lastPage bool) bool { 14491 // pageNum++ 14492 // fmt.Println(page) 14493 // return pageNum <= 3 14494 // }) 14495 // 14496 func (c *SageMaker) ListFeatureGroupsPages(input *ListFeatureGroupsInput, fn func(*ListFeatureGroupsOutput, bool) bool) error { 14497 return c.ListFeatureGroupsPagesWithContext(aws.BackgroundContext(), input, fn) 14498 } 14499 14500 // ListFeatureGroupsPagesWithContext same as ListFeatureGroupsPages except 14501 // it takes a Context and allows setting request options on the pages. 14502 // 14503 // The context must be non-nil and will be used for request cancellation. If 14504 // the context is nil a panic will occur. In the future the SDK may create 14505 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 14506 // for more information on using Contexts. 14507 func (c *SageMaker) ListFeatureGroupsPagesWithContext(ctx aws.Context, input *ListFeatureGroupsInput, fn func(*ListFeatureGroupsOutput, bool) bool, opts ...request.Option) error { 14508 p := request.Pagination{ 14509 NewRequest: func() (*request.Request, error) { 14510 var inCpy *ListFeatureGroupsInput 14511 if input != nil { 14512 tmp := *input 14513 inCpy = &tmp 14514 } 14515 req, _ := c.ListFeatureGroupsRequest(inCpy) 14516 req.SetContext(ctx) 14517 req.ApplyOptions(opts...) 14518 return req, nil 14519 }, 14520 } 14521 14522 for p.Next() { 14523 if !fn(p.Page().(*ListFeatureGroupsOutput), !p.HasNextPage()) { 14524 break 14525 } 14526 } 14527 14528 return p.Err() 14529 } 14530 14531 const opListFlowDefinitions = "ListFlowDefinitions" 14532 14533 // ListFlowDefinitionsRequest generates a "aws/request.Request" representing the 14534 // client's request for the ListFlowDefinitions operation. The "output" return 14535 // value will be populated with the request's response once the request completes 14536 // successfully. 14537 // 14538 // Use "Send" method on the returned Request to send the API call to the service. 14539 // the "output" return value is not valid until after Send returns without error. 14540 // 14541 // See ListFlowDefinitions for more information on using the ListFlowDefinitions 14542 // API call, and error handling. 14543 // 14544 // This method is useful when you want to inject custom logic or configuration 14545 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 14546 // 14547 // 14548 // // Example sending a request using the ListFlowDefinitionsRequest method. 14549 // req, resp := client.ListFlowDefinitionsRequest(params) 14550 // 14551 // err := req.Send() 14552 // if err == nil { // resp is now filled 14553 // fmt.Println(resp) 14554 // } 14555 // 14556 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListFlowDefinitions 14557 func (c *SageMaker) ListFlowDefinitionsRequest(input *ListFlowDefinitionsInput) (req *request.Request, output *ListFlowDefinitionsOutput) { 14558 op := &request.Operation{ 14559 Name: opListFlowDefinitions, 14560 HTTPMethod: "POST", 14561 HTTPPath: "/", 14562 Paginator: &request.Paginator{ 14563 InputTokens: []string{"NextToken"}, 14564 OutputTokens: []string{"NextToken"}, 14565 LimitToken: "MaxResults", 14566 TruncationToken: "", 14567 }, 14568 } 14569 14570 if input == nil { 14571 input = &ListFlowDefinitionsInput{} 14572 } 14573 14574 output = &ListFlowDefinitionsOutput{} 14575 req = c.newRequest(op, input, output) 14576 return 14577 } 14578 14579 // ListFlowDefinitions API operation for Amazon SageMaker Service. 14580 // 14581 // Returns information about the flow definitions in your account. 14582 // 14583 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 14584 // with awserr.Error's Code and Message methods to get detailed information about 14585 // the error. 14586 // 14587 // See the AWS API reference guide for Amazon SageMaker Service's 14588 // API operation ListFlowDefinitions for usage and error information. 14589 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListFlowDefinitions 14590 func (c *SageMaker) ListFlowDefinitions(input *ListFlowDefinitionsInput) (*ListFlowDefinitionsOutput, error) { 14591 req, out := c.ListFlowDefinitionsRequest(input) 14592 return out, req.Send() 14593 } 14594 14595 // ListFlowDefinitionsWithContext is the same as ListFlowDefinitions with the addition of 14596 // the ability to pass a context and additional request options. 14597 // 14598 // See ListFlowDefinitions for details on how to use this API operation. 14599 // 14600 // The context must be non-nil and will be used for request cancellation. If 14601 // the context is nil a panic will occur. In the future the SDK may create 14602 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 14603 // for more information on using Contexts. 14604 func (c *SageMaker) ListFlowDefinitionsWithContext(ctx aws.Context, input *ListFlowDefinitionsInput, opts ...request.Option) (*ListFlowDefinitionsOutput, error) { 14605 req, out := c.ListFlowDefinitionsRequest(input) 14606 req.SetContext(ctx) 14607 req.ApplyOptions(opts...) 14608 return out, req.Send() 14609 } 14610 14611 // ListFlowDefinitionsPages iterates over the pages of a ListFlowDefinitions operation, 14612 // calling the "fn" function with the response data for each page. To stop 14613 // iterating, return false from the fn function. 14614 // 14615 // See ListFlowDefinitions method for more information on how to use this operation. 14616 // 14617 // Note: This operation can generate multiple requests to a service. 14618 // 14619 // // Example iterating over at most 3 pages of a ListFlowDefinitions operation. 14620 // pageNum := 0 14621 // err := client.ListFlowDefinitionsPages(params, 14622 // func(page *sagemaker.ListFlowDefinitionsOutput, lastPage bool) bool { 14623 // pageNum++ 14624 // fmt.Println(page) 14625 // return pageNum <= 3 14626 // }) 14627 // 14628 func (c *SageMaker) ListFlowDefinitionsPages(input *ListFlowDefinitionsInput, fn func(*ListFlowDefinitionsOutput, bool) bool) error { 14629 return c.ListFlowDefinitionsPagesWithContext(aws.BackgroundContext(), input, fn) 14630 } 14631 14632 // ListFlowDefinitionsPagesWithContext same as ListFlowDefinitionsPages except 14633 // it takes a Context and allows setting request options on the pages. 14634 // 14635 // The context must be non-nil and will be used for request cancellation. If 14636 // the context is nil a panic will occur. In the future the SDK may create 14637 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 14638 // for more information on using Contexts. 14639 func (c *SageMaker) ListFlowDefinitionsPagesWithContext(ctx aws.Context, input *ListFlowDefinitionsInput, fn func(*ListFlowDefinitionsOutput, bool) bool, opts ...request.Option) error { 14640 p := request.Pagination{ 14641 NewRequest: func() (*request.Request, error) { 14642 var inCpy *ListFlowDefinitionsInput 14643 if input != nil { 14644 tmp := *input 14645 inCpy = &tmp 14646 } 14647 req, _ := c.ListFlowDefinitionsRequest(inCpy) 14648 req.SetContext(ctx) 14649 req.ApplyOptions(opts...) 14650 return req, nil 14651 }, 14652 } 14653 14654 for p.Next() { 14655 if !fn(p.Page().(*ListFlowDefinitionsOutput), !p.HasNextPage()) { 14656 break 14657 } 14658 } 14659 14660 return p.Err() 14661 } 14662 14663 const opListHumanTaskUis = "ListHumanTaskUis" 14664 14665 // ListHumanTaskUisRequest generates a "aws/request.Request" representing the 14666 // client's request for the ListHumanTaskUis operation. The "output" return 14667 // value will be populated with the request's response once the request completes 14668 // successfully. 14669 // 14670 // Use "Send" method on the returned Request to send the API call to the service. 14671 // the "output" return value is not valid until after Send returns without error. 14672 // 14673 // See ListHumanTaskUis for more information on using the ListHumanTaskUis 14674 // API call, and error handling. 14675 // 14676 // This method is useful when you want to inject custom logic or configuration 14677 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 14678 // 14679 // 14680 // // Example sending a request using the ListHumanTaskUisRequest method. 14681 // req, resp := client.ListHumanTaskUisRequest(params) 14682 // 14683 // err := req.Send() 14684 // if err == nil { // resp is now filled 14685 // fmt.Println(resp) 14686 // } 14687 // 14688 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListHumanTaskUis 14689 func (c *SageMaker) ListHumanTaskUisRequest(input *ListHumanTaskUisInput) (req *request.Request, output *ListHumanTaskUisOutput) { 14690 op := &request.Operation{ 14691 Name: opListHumanTaskUis, 14692 HTTPMethod: "POST", 14693 HTTPPath: "/", 14694 Paginator: &request.Paginator{ 14695 InputTokens: []string{"NextToken"}, 14696 OutputTokens: []string{"NextToken"}, 14697 LimitToken: "MaxResults", 14698 TruncationToken: "", 14699 }, 14700 } 14701 14702 if input == nil { 14703 input = &ListHumanTaskUisInput{} 14704 } 14705 14706 output = &ListHumanTaskUisOutput{} 14707 req = c.newRequest(op, input, output) 14708 return 14709 } 14710 14711 // ListHumanTaskUis API operation for Amazon SageMaker Service. 14712 // 14713 // Returns information about the human task user interfaces in your account. 14714 // 14715 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 14716 // with awserr.Error's Code and Message methods to get detailed information about 14717 // the error. 14718 // 14719 // See the AWS API reference guide for Amazon SageMaker Service's 14720 // API operation ListHumanTaskUis for usage and error information. 14721 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListHumanTaskUis 14722 func (c *SageMaker) ListHumanTaskUis(input *ListHumanTaskUisInput) (*ListHumanTaskUisOutput, error) { 14723 req, out := c.ListHumanTaskUisRequest(input) 14724 return out, req.Send() 14725 } 14726 14727 // ListHumanTaskUisWithContext is the same as ListHumanTaskUis with the addition of 14728 // the ability to pass a context and additional request options. 14729 // 14730 // See ListHumanTaskUis for details on how to use this API operation. 14731 // 14732 // The context must be non-nil and will be used for request cancellation. If 14733 // the context is nil a panic will occur. In the future the SDK may create 14734 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 14735 // for more information on using Contexts. 14736 func (c *SageMaker) ListHumanTaskUisWithContext(ctx aws.Context, input *ListHumanTaskUisInput, opts ...request.Option) (*ListHumanTaskUisOutput, error) { 14737 req, out := c.ListHumanTaskUisRequest(input) 14738 req.SetContext(ctx) 14739 req.ApplyOptions(opts...) 14740 return out, req.Send() 14741 } 14742 14743 // ListHumanTaskUisPages iterates over the pages of a ListHumanTaskUis operation, 14744 // calling the "fn" function with the response data for each page. To stop 14745 // iterating, return false from the fn function. 14746 // 14747 // See ListHumanTaskUis method for more information on how to use this operation. 14748 // 14749 // Note: This operation can generate multiple requests to a service. 14750 // 14751 // // Example iterating over at most 3 pages of a ListHumanTaskUis operation. 14752 // pageNum := 0 14753 // err := client.ListHumanTaskUisPages(params, 14754 // func(page *sagemaker.ListHumanTaskUisOutput, lastPage bool) bool { 14755 // pageNum++ 14756 // fmt.Println(page) 14757 // return pageNum <= 3 14758 // }) 14759 // 14760 func (c *SageMaker) ListHumanTaskUisPages(input *ListHumanTaskUisInput, fn func(*ListHumanTaskUisOutput, bool) bool) error { 14761 return c.ListHumanTaskUisPagesWithContext(aws.BackgroundContext(), input, fn) 14762 } 14763 14764 // ListHumanTaskUisPagesWithContext same as ListHumanTaskUisPages except 14765 // it takes a Context and allows setting request options on the pages. 14766 // 14767 // The context must be non-nil and will be used for request cancellation. If 14768 // the context is nil a panic will occur. In the future the SDK may create 14769 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 14770 // for more information on using Contexts. 14771 func (c *SageMaker) ListHumanTaskUisPagesWithContext(ctx aws.Context, input *ListHumanTaskUisInput, fn func(*ListHumanTaskUisOutput, bool) bool, opts ...request.Option) error { 14772 p := request.Pagination{ 14773 NewRequest: func() (*request.Request, error) { 14774 var inCpy *ListHumanTaskUisInput 14775 if input != nil { 14776 tmp := *input 14777 inCpy = &tmp 14778 } 14779 req, _ := c.ListHumanTaskUisRequest(inCpy) 14780 req.SetContext(ctx) 14781 req.ApplyOptions(opts...) 14782 return req, nil 14783 }, 14784 } 14785 14786 for p.Next() { 14787 if !fn(p.Page().(*ListHumanTaskUisOutput), !p.HasNextPage()) { 14788 break 14789 } 14790 } 14791 14792 return p.Err() 14793 } 14794 14795 const opListHyperParameterTuningJobs = "ListHyperParameterTuningJobs" 14796 14797 // ListHyperParameterTuningJobsRequest generates a "aws/request.Request" representing the 14798 // client's request for the ListHyperParameterTuningJobs operation. The "output" return 14799 // value will be populated with the request's response once the request completes 14800 // successfully. 14801 // 14802 // Use "Send" method on the returned Request to send the API call to the service. 14803 // the "output" return value is not valid until after Send returns without error. 14804 // 14805 // See ListHyperParameterTuningJobs for more information on using the ListHyperParameterTuningJobs 14806 // API call, and error handling. 14807 // 14808 // This method is useful when you want to inject custom logic or configuration 14809 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 14810 // 14811 // 14812 // // Example sending a request using the ListHyperParameterTuningJobsRequest method. 14813 // req, resp := client.ListHyperParameterTuningJobsRequest(params) 14814 // 14815 // err := req.Send() 14816 // if err == nil { // resp is now filled 14817 // fmt.Println(resp) 14818 // } 14819 // 14820 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListHyperParameterTuningJobs 14821 func (c *SageMaker) ListHyperParameterTuningJobsRequest(input *ListHyperParameterTuningJobsInput) (req *request.Request, output *ListHyperParameterTuningJobsOutput) { 14822 op := &request.Operation{ 14823 Name: opListHyperParameterTuningJobs, 14824 HTTPMethod: "POST", 14825 HTTPPath: "/", 14826 Paginator: &request.Paginator{ 14827 InputTokens: []string{"NextToken"}, 14828 OutputTokens: []string{"NextToken"}, 14829 LimitToken: "MaxResults", 14830 TruncationToken: "", 14831 }, 14832 } 14833 14834 if input == nil { 14835 input = &ListHyperParameterTuningJobsInput{} 14836 } 14837 14838 output = &ListHyperParameterTuningJobsOutput{} 14839 req = c.newRequest(op, input, output) 14840 return 14841 } 14842 14843 // ListHyperParameterTuningJobs API operation for Amazon SageMaker Service. 14844 // 14845 // Gets a list of HyperParameterTuningJobSummary objects that describe the hyperparameter 14846 // tuning jobs launched in your account. 14847 // 14848 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 14849 // with awserr.Error's Code and Message methods to get detailed information about 14850 // the error. 14851 // 14852 // See the AWS API reference guide for Amazon SageMaker Service's 14853 // API operation ListHyperParameterTuningJobs for usage and error information. 14854 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListHyperParameterTuningJobs 14855 func (c *SageMaker) ListHyperParameterTuningJobs(input *ListHyperParameterTuningJobsInput) (*ListHyperParameterTuningJobsOutput, error) { 14856 req, out := c.ListHyperParameterTuningJobsRequest(input) 14857 return out, req.Send() 14858 } 14859 14860 // ListHyperParameterTuningJobsWithContext is the same as ListHyperParameterTuningJobs with the addition of 14861 // the ability to pass a context and additional request options. 14862 // 14863 // See ListHyperParameterTuningJobs for details on how to use this API operation. 14864 // 14865 // The context must be non-nil and will be used for request cancellation. If 14866 // the context is nil a panic will occur. In the future the SDK may create 14867 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 14868 // for more information on using Contexts. 14869 func (c *SageMaker) ListHyperParameterTuningJobsWithContext(ctx aws.Context, input *ListHyperParameterTuningJobsInput, opts ...request.Option) (*ListHyperParameterTuningJobsOutput, error) { 14870 req, out := c.ListHyperParameterTuningJobsRequest(input) 14871 req.SetContext(ctx) 14872 req.ApplyOptions(opts...) 14873 return out, req.Send() 14874 } 14875 14876 // ListHyperParameterTuningJobsPages iterates over the pages of a ListHyperParameterTuningJobs operation, 14877 // calling the "fn" function with the response data for each page. To stop 14878 // iterating, return false from the fn function. 14879 // 14880 // See ListHyperParameterTuningJobs method for more information on how to use this operation. 14881 // 14882 // Note: This operation can generate multiple requests to a service. 14883 // 14884 // // Example iterating over at most 3 pages of a ListHyperParameterTuningJobs operation. 14885 // pageNum := 0 14886 // err := client.ListHyperParameterTuningJobsPages(params, 14887 // func(page *sagemaker.ListHyperParameterTuningJobsOutput, lastPage bool) bool { 14888 // pageNum++ 14889 // fmt.Println(page) 14890 // return pageNum <= 3 14891 // }) 14892 // 14893 func (c *SageMaker) ListHyperParameterTuningJobsPages(input *ListHyperParameterTuningJobsInput, fn func(*ListHyperParameterTuningJobsOutput, bool) bool) error { 14894 return c.ListHyperParameterTuningJobsPagesWithContext(aws.BackgroundContext(), input, fn) 14895 } 14896 14897 // ListHyperParameterTuningJobsPagesWithContext same as ListHyperParameterTuningJobsPages except 14898 // it takes a Context and allows setting request options on the pages. 14899 // 14900 // The context must be non-nil and will be used for request cancellation. If 14901 // the context is nil a panic will occur. In the future the SDK may create 14902 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 14903 // for more information on using Contexts. 14904 func (c *SageMaker) ListHyperParameterTuningJobsPagesWithContext(ctx aws.Context, input *ListHyperParameterTuningJobsInput, fn func(*ListHyperParameterTuningJobsOutput, bool) bool, opts ...request.Option) error { 14905 p := request.Pagination{ 14906 NewRequest: func() (*request.Request, error) { 14907 var inCpy *ListHyperParameterTuningJobsInput 14908 if input != nil { 14909 tmp := *input 14910 inCpy = &tmp 14911 } 14912 req, _ := c.ListHyperParameterTuningJobsRequest(inCpy) 14913 req.SetContext(ctx) 14914 req.ApplyOptions(opts...) 14915 return req, nil 14916 }, 14917 } 14918 14919 for p.Next() { 14920 if !fn(p.Page().(*ListHyperParameterTuningJobsOutput), !p.HasNextPage()) { 14921 break 14922 } 14923 } 14924 14925 return p.Err() 14926 } 14927 14928 const opListImageVersions = "ListImageVersions" 14929 14930 // ListImageVersionsRequest generates a "aws/request.Request" representing the 14931 // client's request for the ListImageVersions operation. The "output" return 14932 // value will be populated with the request's response once the request completes 14933 // successfully. 14934 // 14935 // Use "Send" method on the returned Request to send the API call to the service. 14936 // the "output" return value is not valid until after Send returns without error. 14937 // 14938 // See ListImageVersions for more information on using the ListImageVersions 14939 // API call, and error handling. 14940 // 14941 // This method is useful when you want to inject custom logic or configuration 14942 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 14943 // 14944 // 14945 // // Example sending a request using the ListImageVersionsRequest method. 14946 // req, resp := client.ListImageVersionsRequest(params) 14947 // 14948 // err := req.Send() 14949 // if err == nil { // resp is now filled 14950 // fmt.Println(resp) 14951 // } 14952 // 14953 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListImageVersions 14954 func (c *SageMaker) ListImageVersionsRequest(input *ListImageVersionsInput) (req *request.Request, output *ListImageVersionsOutput) { 14955 op := &request.Operation{ 14956 Name: opListImageVersions, 14957 HTTPMethod: "POST", 14958 HTTPPath: "/", 14959 Paginator: &request.Paginator{ 14960 InputTokens: []string{"NextToken"}, 14961 OutputTokens: []string{"NextToken"}, 14962 LimitToken: "MaxResults", 14963 TruncationToken: "", 14964 }, 14965 } 14966 14967 if input == nil { 14968 input = &ListImageVersionsInput{} 14969 } 14970 14971 output = &ListImageVersionsOutput{} 14972 req = c.newRequest(op, input, output) 14973 return 14974 } 14975 14976 // ListImageVersions API operation for Amazon SageMaker Service. 14977 // 14978 // Lists the versions of a specified image and their properties. The list can 14979 // be filtered by creation time or modified time. 14980 // 14981 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 14982 // with awserr.Error's Code and Message methods to get detailed information about 14983 // the error. 14984 // 14985 // See the AWS API reference guide for Amazon SageMaker Service's 14986 // API operation ListImageVersions for usage and error information. 14987 // 14988 // Returned Error Types: 14989 // * ResourceNotFound 14990 // Resource being access is not found. 14991 // 14992 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListImageVersions 14993 func (c *SageMaker) ListImageVersions(input *ListImageVersionsInput) (*ListImageVersionsOutput, error) { 14994 req, out := c.ListImageVersionsRequest(input) 14995 return out, req.Send() 14996 } 14997 14998 // ListImageVersionsWithContext is the same as ListImageVersions with the addition of 14999 // the ability to pass a context and additional request options. 15000 // 15001 // See ListImageVersions for details on how to use this API operation. 15002 // 15003 // The context must be non-nil and will be used for request cancellation. If 15004 // the context is nil a panic will occur. In the future the SDK may create 15005 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 15006 // for more information on using Contexts. 15007 func (c *SageMaker) ListImageVersionsWithContext(ctx aws.Context, input *ListImageVersionsInput, opts ...request.Option) (*ListImageVersionsOutput, error) { 15008 req, out := c.ListImageVersionsRequest(input) 15009 req.SetContext(ctx) 15010 req.ApplyOptions(opts...) 15011 return out, req.Send() 15012 } 15013 15014 // ListImageVersionsPages iterates over the pages of a ListImageVersions operation, 15015 // calling the "fn" function with the response data for each page. To stop 15016 // iterating, return false from the fn function. 15017 // 15018 // See ListImageVersions method for more information on how to use this operation. 15019 // 15020 // Note: This operation can generate multiple requests to a service. 15021 // 15022 // // Example iterating over at most 3 pages of a ListImageVersions operation. 15023 // pageNum := 0 15024 // err := client.ListImageVersionsPages(params, 15025 // func(page *sagemaker.ListImageVersionsOutput, lastPage bool) bool { 15026 // pageNum++ 15027 // fmt.Println(page) 15028 // return pageNum <= 3 15029 // }) 15030 // 15031 func (c *SageMaker) ListImageVersionsPages(input *ListImageVersionsInput, fn func(*ListImageVersionsOutput, bool) bool) error { 15032 return c.ListImageVersionsPagesWithContext(aws.BackgroundContext(), input, fn) 15033 } 15034 15035 // ListImageVersionsPagesWithContext same as ListImageVersionsPages except 15036 // it takes a Context and allows setting request options on the pages. 15037 // 15038 // The context must be non-nil and will be used for request cancellation. If 15039 // the context is nil a panic will occur. In the future the SDK may create 15040 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 15041 // for more information on using Contexts. 15042 func (c *SageMaker) ListImageVersionsPagesWithContext(ctx aws.Context, input *ListImageVersionsInput, fn func(*ListImageVersionsOutput, bool) bool, opts ...request.Option) error { 15043 p := request.Pagination{ 15044 NewRequest: func() (*request.Request, error) { 15045 var inCpy *ListImageVersionsInput 15046 if input != nil { 15047 tmp := *input 15048 inCpy = &tmp 15049 } 15050 req, _ := c.ListImageVersionsRequest(inCpy) 15051 req.SetContext(ctx) 15052 req.ApplyOptions(opts...) 15053 return req, nil 15054 }, 15055 } 15056 15057 for p.Next() { 15058 if !fn(p.Page().(*ListImageVersionsOutput), !p.HasNextPage()) { 15059 break 15060 } 15061 } 15062 15063 return p.Err() 15064 } 15065 15066 const opListImages = "ListImages" 15067 15068 // ListImagesRequest generates a "aws/request.Request" representing the 15069 // client's request for the ListImages operation. The "output" return 15070 // value will be populated with the request's response once the request completes 15071 // successfully. 15072 // 15073 // Use "Send" method on the returned Request to send the API call to the service. 15074 // the "output" return value is not valid until after Send returns without error. 15075 // 15076 // See ListImages for more information on using the ListImages 15077 // API call, and error handling. 15078 // 15079 // This method is useful when you want to inject custom logic or configuration 15080 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 15081 // 15082 // 15083 // // Example sending a request using the ListImagesRequest method. 15084 // req, resp := client.ListImagesRequest(params) 15085 // 15086 // err := req.Send() 15087 // if err == nil { // resp is now filled 15088 // fmt.Println(resp) 15089 // } 15090 // 15091 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListImages 15092 func (c *SageMaker) ListImagesRequest(input *ListImagesInput) (req *request.Request, output *ListImagesOutput) { 15093 op := &request.Operation{ 15094 Name: opListImages, 15095 HTTPMethod: "POST", 15096 HTTPPath: "/", 15097 Paginator: &request.Paginator{ 15098 InputTokens: []string{"NextToken"}, 15099 OutputTokens: []string{"NextToken"}, 15100 LimitToken: "MaxResults", 15101 TruncationToken: "", 15102 }, 15103 } 15104 15105 if input == nil { 15106 input = &ListImagesInput{} 15107 } 15108 15109 output = &ListImagesOutput{} 15110 req = c.newRequest(op, input, output) 15111 return 15112 } 15113 15114 // ListImages API operation for Amazon SageMaker Service. 15115 // 15116 // Lists the images in your account and their properties. The list can be filtered 15117 // by creation time or modified time, and whether the image name contains a 15118 // specified string. 15119 // 15120 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 15121 // with awserr.Error's Code and Message methods to get detailed information about 15122 // the error. 15123 // 15124 // See the AWS API reference guide for Amazon SageMaker Service's 15125 // API operation ListImages for usage and error information. 15126 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListImages 15127 func (c *SageMaker) ListImages(input *ListImagesInput) (*ListImagesOutput, error) { 15128 req, out := c.ListImagesRequest(input) 15129 return out, req.Send() 15130 } 15131 15132 // ListImagesWithContext is the same as ListImages with the addition of 15133 // the ability to pass a context and additional request options. 15134 // 15135 // See ListImages for details on how to use this API operation. 15136 // 15137 // The context must be non-nil and will be used for request cancellation. If 15138 // the context is nil a panic will occur. In the future the SDK may create 15139 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 15140 // for more information on using Contexts. 15141 func (c *SageMaker) ListImagesWithContext(ctx aws.Context, input *ListImagesInput, opts ...request.Option) (*ListImagesOutput, error) { 15142 req, out := c.ListImagesRequest(input) 15143 req.SetContext(ctx) 15144 req.ApplyOptions(opts...) 15145 return out, req.Send() 15146 } 15147 15148 // ListImagesPages iterates over the pages of a ListImages operation, 15149 // calling the "fn" function with the response data for each page. To stop 15150 // iterating, return false from the fn function. 15151 // 15152 // See ListImages method for more information on how to use this operation. 15153 // 15154 // Note: This operation can generate multiple requests to a service. 15155 // 15156 // // Example iterating over at most 3 pages of a ListImages operation. 15157 // pageNum := 0 15158 // err := client.ListImagesPages(params, 15159 // func(page *sagemaker.ListImagesOutput, lastPage bool) bool { 15160 // pageNum++ 15161 // fmt.Println(page) 15162 // return pageNum <= 3 15163 // }) 15164 // 15165 func (c *SageMaker) ListImagesPages(input *ListImagesInput, fn func(*ListImagesOutput, bool) bool) error { 15166 return c.ListImagesPagesWithContext(aws.BackgroundContext(), input, fn) 15167 } 15168 15169 // ListImagesPagesWithContext same as ListImagesPages except 15170 // it takes a Context and allows setting request options on the pages. 15171 // 15172 // The context must be non-nil and will be used for request cancellation. If 15173 // the context is nil a panic will occur. In the future the SDK may create 15174 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 15175 // for more information on using Contexts. 15176 func (c *SageMaker) ListImagesPagesWithContext(ctx aws.Context, input *ListImagesInput, fn func(*ListImagesOutput, bool) bool, opts ...request.Option) error { 15177 p := request.Pagination{ 15178 NewRequest: func() (*request.Request, error) { 15179 var inCpy *ListImagesInput 15180 if input != nil { 15181 tmp := *input 15182 inCpy = &tmp 15183 } 15184 req, _ := c.ListImagesRequest(inCpy) 15185 req.SetContext(ctx) 15186 req.ApplyOptions(opts...) 15187 return req, nil 15188 }, 15189 } 15190 15191 for p.Next() { 15192 if !fn(p.Page().(*ListImagesOutput), !p.HasNextPage()) { 15193 break 15194 } 15195 } 15196 15197 return p.Err() 15198 } 15199 15200 const opListLabelingJobs = "ListLabelingJobs" 15201 15202 // ListLabelingJobsRequest generates a "aws/request.Request" representing the 15203 // client's request for the ListLabelingJobs operation. The "output" return 15204 // value will be populated with the request's response once the request completes 15205 // successfully. 15206 // 15207 // Use "Send" method on the returned Request to send the API call to the service. 15208 // the "output" return value is not valid until after Send returns without error. 15209 // 15210 // See ListLabelingJobs for more information on using the ListLabelingJobs 15211 // API call, and error handling. 15212 // 15213 // This method is useful when you want to inject custom logic or configuration 15214 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 15215 // 15216 // 15217 // // Example sending a request using the ListLabelingJobsRequest method. 15218 // req, resp := client.ListLabelingJobsRequest(params) 15219 // 15220 // err := req.Send() 15221 // if err == nil { // resp is now filled 15222 // fmt.Println(resp) 15223 // } 15224 // 15225 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLabelingJobs 15226 func (c *SageMaker) ListLabelingJobsRequest(input *ListLabelingJobsInput) (req *request.Request, output *ListLabelingJobsOutput) { 15227 op := &request.Operation{ 15228 Name: opListLabelingJobs, 15229 HTTPMethod: "POST", 15230 HTTPPath: "/", 15231 Paginator: &request.Paginator{ 15232 InputTokens: []string{"NextToken"}, 15233 OutputTokens: []string{"NextToken"}, 15234 LimitToken: "MaxResults", 15235 TruncationToken: "", 15236 }, 15237 } 15238 15239 if input == nil { 15240 input = &ListLabelingJobsInput{} 15241 } 15242 15243 output = &ListLabelingJobsOutput{} 15244 req = c.newRequest(op, input, output) 15245 return 15246 } 15247 15248 // ListLabelingJobs API operation for Amazon SageMaker Service. 15249 // 15250 // Gets a list of labeling jobs. 15251 // 15252 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 15253 // with awserr.Error's Code and Message methods to get detailed information about 15254 // the error. 15255 // 15256 // See the AWS API reference guide for Amazon SageMaker Service's 15257 // API operation ListLabelingJobs for usage and error information. 15258 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLabelingJobs 15259 func (c *SageMaker) ListLabelingJobs(input *ListLabelingJobsInput) (*ListLabelingJobsOutput, error) { 15260 req, out := c.ListLabelingJobsRequest(input) 15261 return out, req.Send() 15262 } 15263 15264 // ListLabelingJobsWithContext is the same as ListLabelingJobs with the addition of 15265 // the ability to pass a context and additional request options. 15266 // 15267 // See ListLabelingJobs for details on how to use this API operation. 15268 // 15269 // The context must be non-nil and will be used for request cancellation. If 15270 // the context is nil a panic will occur. In the future the SDK may create 15271 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 15272 // for more information on using Contexts. 15273 func (c *SageMaker) ListLabelingJobsWithContext(ctx aws.Context, input *ListLabelingJobsInput, opts ...request.Option) (*ListLabelingJobsOutput, error) { 15274 req, out := c.ListLabelingJobsRequest(input) 15275 req.SetContext(ctx) 15276 req.ApplyOptions(opts...) 15277 return out, req.Send() 15278 } 15279 15280 // ListLabelingJobsPages iterates over the pages of a ListLabelingJobs operation, 15281 // calling the "fn" function with the response data for each page. To stop 15282 // iterating, return false from the fn function. 15283 // 15284 // See ListLabelingJobs method for more information on how to use this operation. 15285 // 15286 // Note: This operation can generate multiple requests to a service. 15287 // 15288 // // Example iterating over at most 3 pages of a ListLabelingJobs operation. 15289 // pageNum := 0 15290 // err := client.ListLabelingJobsPages(params, 15291 // func(page *sagemaker.ListLabelingJobsOutput, lastPage bool) bool { 15292 // pageNum++ 15293 // fmt.Println(page) 15294 // return pageNum <= 3 15295 // }) 15296 // 15297 func (c *SageMaker) ListLabelingJobsPages(input *ListLabelingJobsInput, fn func(*ListLabelingJobsOutput, bool) bool) error { 15298 return c.ListLabelingJobsPagesWithContext(aws.BackgroundContext(), input, fn) 15299 } 15300 15301 // ListLabelingJobsPagesWithContext same as ListLabelingJobsPages except 15302 // it takes a Context and allows setting request options on the pages. 15303 // 15304 // The context must be non-nil and will be used for request cancellation. If 15305 // the context is nil a panic will occur. In the future the SDK may create 15306 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 15307 // for more information on using Contexts. 15308 func (c *SageMaker) ListLabelingJobsPagesWithContext(ctx aws.Context, input *ListLabelingJobsInput, fn func(*ListLabelingJobsOutput, bool) bool, opts ...request.Option) error { 15309 p := request.Pagination{ 15310 NewRequest: func() (*request.Request, error) { 15311 var inCpy *ListLabelingJobsInput 15312 if input != nil { 15313 tmp := *input 15314 inCpy = &tmp 15315 } 15316 req, _ := c.ListLabelingJobsRequest(inCpy) 15317 req.SetContext(ctx) 15318 req.ApplyOptions(opts...) 15319 return req, nil 15320 }, 15321 } 15322 15323 for p.Next() { 15324 if !fn(p.Page().(*ListLabelingJobsOutput), !p.HasNextPage()) { 15325 break 15326 } 15327 } 15328 15329 return p.Err() 15330 } 15331 15332 const opListLabelingJobsForWorkteam = "ListLabelingJobsForWorkteam" 15333 15334 // ListLabelingJobsForWorkteamRequest generates a "aws/request.Request" representing the 15335 // client's request for the ListLabelingJobsForWorkteam operation. The "output" return 15336 // value will be populated with the request's response once the request completes 15337 // successfully. 15338 // 15339 // Use "Send" method on the returned Request to send the API call to the service. 15340 // the "output" return value is not valid until after Send returns without error. 15341 // 15342 // See ListLabelingJobsForWorkteam for more information on using the ListLabelingJobsForWorkteam 15343 // API call, and error handling. 15344 // 15345 // This method is useful when you want to inject custom logic or configuration 15346 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 15347 // 15348 // 15349 // // Example sending a request using the ListLabelingJobsForWorkteamRequest method. 15350 // req, resp := client.ListLabelingJobsForWorkteamRequest(params) 15351 // 15352 // err := req.Send() 15353 // if err == nil { // resp is now filled 15354 // fmt.Println(resp) 15355 // } 15356 // 15357 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLabelingJobsForWorkteam 15358 func (c *SageMaker) ListLabelingJobsForWorkteamRequest(input *ListLabelingJobsForWorkteamInput) (req *request.Request, output *ListLabelingJobsForWorkteamOutput) { 15359 op := &request.Operation{ 15360 Name: opListLabelingJobsForWorkteam, 15361 HTTPMethod: "POST", 15362 HTTPPath: "/", 15363 Paginator: &request.Paginator{ 15364 InputTokens: []string{"NextToken"}, 15365 OutputTokens: []string{"NextToken"}, 15366 LimitToken: "MaxResults", 15367 TruncationToken: "", 15368 }, 15369 } 15370 15371 if input == nil { 15372 input = &ListLabelingJobsForWorkteamInput{} 15373 } 15374 15375 output = &ListLabelingJobsForWorkteamOutput{} 15376 req = c.newRequest(op, input, output) 15377 return 15378 } 15379 15380 // ListLabelingJobsForWorkteam API operation for Amazon SageMaker Service. 15381 // 15382 // Gets a list of labeling jobs assigned to a specified work team. 15383 // 15384 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 15385 // with awserr.Error's Code and Message methods to get detailed information about 15386 // the error. 15387 // 15388 // See the AWS API reference guide for Amazon SageMaker Service's 15389 // API operation ListLabelingJobsForWorkteam for usage and error information. 15390 // 15391 // Returned Error Types: 15392 // * ResourceNotFound 15393 // Resource being access is not found. 15394 // 15395 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLabelingJobsForWorkteam 15396 func (c *SageMaker) ListLabelingJobsForWorkteam(input *ListLabelingJobsForWorkteamInput) (*ListLabelingJobsForWorkteamOutput, error) { 15397 req, out := c.ListLabelingJobsForWorkteamRequest(input) 15398 return out, req.Send() 15399 } 15400 15401 // ListLabelingJobsForWorkteamWithContext is the same as ListLabelingJobsForWorkteam with the addition of 15402 // the ability to pass a context and additional request options. 15403 // 15404 // See ListLabelingJobsForWorkteam for details on how to use this API operation. 15405 // 15406 // The context must be non-nil and will be used for request cancellation. If 15407 // the context is nil a panic will occur. In the future the SDK may create 15408 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 15409 // for more information on using Contexts. 15410 func (c *SageMaker) ListLabelingJobsForWorkteamWithContext(ctx aws.Context, input *ListLabelingJobsForWorkteamInput, opts ...request.Option) (*ListLabelingJobsForWorkteamOutput, error) { 15411 req, out := c.ListLabelingJobsForWorkteamRequest(input) 15412 req.SetContext(ctx) 15413 req.ApplyOptions(opts...) 15414 return out, req.Send() 15415 } 15416 15417 // ListLabelingJobsForWorkteamPages iterates over the pages of a ListLabelingJobsForWorkteam operation, 15418 // calling the "fn" function with the response data for each page. To stop 15419 // iterating, return false from the fn function. 15420 // 15421 // See ListLabelingJobsForWorkteam method for more information on how to use this operation. 15422 // 15423 // Note: This operation can generate multiple requests to a service. 15424 // 15425 // // Example iterating over at most 3 pages of a ListLabelingJobsForWorkteam operation. 15426 // pageNum := 0 15427 // err := client.ListLabelingJobsForWorkteamPages(params, 15428 // func(page *sagemaker.ListLabelingJobsForWorkteamOutput, lastPage bool) bool { 15429 // pageNum++ 15430 // fmt.Println(page) 15431 // return pageNum <= 3 15432 // }) 15433 // 15434 func (c *SageMaker) ListLabelingJobsForWorkteamPages(input *ListLabelingJobsForWorkteamInput, fn func(*ListLabelingJobsForWorkteamOutput, bool) bool) error { 15435 return c.ListLabelingJobsForWorkteamPagesWithContext(aws.BackgroundContext(), input, fn) 15436 } 15437 15438 // ListLabelingJobsForWorkteamPagesWithContext same as ListLabelingJobsForWorkteamPages except 15439 // it takes a Context and allows setting request options on the pages. 15440 // 15441 // The context must be non-nil and will be used for request cancellation. If 15442 // the context is nil a panic will occur. In the future the SDK may create 15443 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 15444 // for more information on using Contexts. 15445 func (c *SageMaker) ListLabelingJobsForWorkteamPagesWithContext(ctx aws.Context, input *ListLabelingJobsForWorkteamInput, fn func(*ListLabelingJobsForWorkteamOutput, bool) bool, opts ...request.Option) error { 15446 p := request.Pagination{ 15447 NewRequest: func() (*request.Request, error) { 15448 var inCpy *ListLabelingJobsForWorkteamInput 15449 if input != nil { 15450 tmp := *input 15451 inCpy = &tmp 15452 } 15453 req, _ := c.ListLabelingJobsForWorkteamRequest(inCpy) 15454 req.SetContext(ctx) 15455 req.ApplyOptions(opts...) 15456 return req, nil 15457 }, 15458 } 15459 15460 for p.Next() { 15461 if !fn(p.Page().(*ListLabelingJobsForWorkteamOutput), !p.HasNextPage()) { 15462 break 15463 } 15464 } 15465 15466 return p.Err() 15467 } 15468 15469 const opListModelBiasJobDefinitions = "ListModelBiasJobDefinitions" 15470 15471 // ListModelBiasJobDefinitionsRequest generates a "aws/request.Request" representing the 15472 // client's request for the ListModelBiasJobDefinitions operation. The "output" return 15473 // value will be populated with the request's response once the request completes 15474 // successfully. 15475 // 15476 // Use "Send" method on the returned Request to send the API call to the service. 15477 // the "output" return value is not valid until after Send returns without error. 15478 // 15479 // See ListModelBiasJobDefinitions for more information on using the ListModelBiasJobDefinitions 15480 // API call, and error handling. 15481 // 15482 // This method is useful when you want to inject custom logic or configuration 15483 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 15484 // 15485 // 15486 // // Example sending a request using the ListModelBiasJobDefinitionsRequest method. 15487 // req, resp := client.ListModelBiasJobDefinitionsRequest(params) 15488 // 15489 // err := req.Send() 15490 // if err == nil { // resp is now filled 15491 // fmt.Println(resp) 15492 // } 15493 // 15494 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelBiasJobDefinitions 15495 func (c *SageMaker) ListModelBiasJobDefinitionsRequest(input *ListModelBiasJobDefinitionsInput) (req *request.Request, output *ListModelBiasJobDefinitionsOutput) { 15496 op := &request.Operation{ 15497 Name: opListModelBiasJobDefinitions, 15498 HTTPMethod: "POST", 15499 HTTPPath: "/", 15500 Paginator: &request.Paginator{ 15501 InputTokens: []string{"NextToken"}, 15502 OutputTokens: []string{"NextToken"}, 15503 LimitToken: "MaxResults", 15504 TruncationToken: "", 15505 }, 15506 } 15507 15508 if input == nil { 15509 input = &ListModelBiasJobDefinitionsInput{} 15510 } 15511 15512 output = &ListModelBiasJobDefinitionsOutput{} 15513 req = c.newRequest(op, input, output) 15514 return 15515 } 15516 15517 // ListModelBiasJobDefinitions API operation for Amazon SageMaker Service. 15518 // 15519 // Lists model bias jobs definitions that satisfy various filters. 15520 // 15521 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 15522 // with awserr.Error's Code and Message methods to get detailed information about 15523 // the error. 15524 // 15525 // See the AWS API reference guide for Amazon SageMaker Service's 15526 // API operation ListModelBiasJobDefinitions for usage and error information. 15527 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelBiasJobDefinitions 15528 func (c *SageMaker) ListModelBiasJobDefinitions(input *ListModelBiasJobDefinitionsInput) (*ListModelBiasJobDefinitionsOutput, error) { 15529 req, out := c.ListModelBiasJobDefinitionsRequest(input) 15530 return out, req.Send() 15531 } 15532 15533 // ListModelBiasJobDefinitionsWithContext is the same as ListModelBiasJobDefinitions with the addition of 15534 // the ability to pass a context and additional request options. 15535 // 15536 // See ListModelBiasJobDefinitions for details on how to use this API operation. 15537 // 15538 // The context must be non-nil and will be used for request cancellation. If 15539 // the context is nil a panic will occur. In the future the SDK may create 15540 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 15541 // for more information on using Contexts. 15542 func (c *SageMaker) ListModelBiasJobDefinitionsWithContext(ctx aws.Context, input *ListModelBiasJobDefinitionsInput, opts ...request.Option) (*ListModelBiasJobDefinitionsOutput, error) { 15543 req, out := c.ListModelBiasJobDefinitionsRequest(input) 15544 req.SetContext(ctx) 15545 req.ApplyOptions(opts...) 15546 return out, req.Send() 15547 } 15548 15549 // ListModelBiasJobDefinitionsPages iterates over the pages of a ListModelBiasJobDefinitions operation, 15550 // calling the "fn" function with the response data for each page. To stop 15551 // iterating, return false from the fn function. 15552 // 15553 // See ListModelBiasJobDefinitions method for more information on how to use this operation. 15554 // 15555 // Note: This operation can generate multiple requests to a service. 15556 // 15557 // // Example iterating over at most 3 pages of a ListModelBiasJobDefinitions operation. 15558 // pageNum := 0 15559 // err := client.ListModelBiasJobDefinitionsPages(params, 15560 // func(page *sagemaker.ListModelBiasJobDefinitionsOutput, lastPage bool) bool { 15561 // pageNum++ 15562 // fmt.Println(page) 15563 // return pageNum <= 3 15564 // }) 15565 // 15566 func (c *SageMaker) ListModelBiasJobDefinitionsPages(input *ListModelBiasJobDefinitionsInput, fn func(*ListModelBiasJobDefinitionsOutput, bool) bool) error { 15567 return c.ListModelBiasJobDefinitionsPagesWithContext(aws.BackgroundContext(), input, fn) 15568 } 15569 15570 // ListModelBiasJobDefinitionsPagesWithContext same as ListModelBiasJobDefinitionsPages except 15571 // it takes a Context and allows setting request options on the pages. 15572 // 15573 // The context must be non-nil and will be used for request cancellation. If 15574 // the context is nil a panic will occur. In the future the SDK may create 15575 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 15576 // for more information on using Contexts. 15577 func (c *SageMaker) ListModelBiasJobDefinitionsPagesWithContext(ctx aws.Context, input *ListModelBiasJobDefinitionsInput, fn func(*ListModelBiasJobDefinitionsOutput, bool) bool, opts ...request.Option) error { 15578 p := request.Pagination{ 15579 NewRequest: func() (*request.Request, error) { 15580 var inCpy *ListModelBiasJobDefinitionsInput 15581 if input != nil { 15582 tmp := *input 15583 inCpy = &tmp 15584 } 15585 req, _ := c.ListModelBiasJobDefinitionsRequest(inCpy) 15586 req.SetContext(ctx) 15587 req.ApplyOptions(opts...) 15588 return req, nil 15589 }, 15590 } 15591 15592 for p.Next() { 15593 if !fn(p.Page().(*ListModelBiasJobDefinitionsOutput), !p.HasNextPage()) { 15594 break 15595 } 15596 } 15597 15598 return p.Err() 15599 } 15600 15601 const opListModelExplainabilityJobDefinitions = "ListModelExplainabilityJobDefinitions" 15602 15603 // ListModelExplainabilityJobDefinitionsRequest generates a "aws/request.Request" representing the 15604 // client's request for the ListModelExplainabilityJobDefinitions operation. The "output" return 15605 // value will be populated with the request's response once the request completes 15606 // successfully. 15607 // 15608 // Use "Send" method on the returned Request to send the API call to the service. 15609 // the "output" return value is not valid until after Send returns without error. 15610 // 15611 // See ListModelExplainabilityJobDefinitions for more information on using the ListModelExplainabilityJobDefinitions 15612 // API call, and error handling. 15613 // 15614 // This method is useful when you want to inject custom logic or configuration 15615 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 15616 // 15617 // 15618 // // Example sending a request using the ListModelExplainabilityJobDefinitionsRequest method. 15619 // req, resp := client.ListModelExplainabilityJobDefinitionsRequest(params) 15620 // 15621 // err := req.Send() 15622 // if err == nil { // resp is now filled 15623 // fmt.Println(resp) 15624 // } 15625 // 15626 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelExplainabilityJobDefinitions 15627 func (c *SageMaker) ListModelExplainabilityJobDefinitionsRequest(input *ListModelExplainabilityJobDefinitionsInput) (req *request.Request, output *ListModelExplainabilityJobDefinitionsOutput) { 15628 op := &request.Operation{ 15629 Name: opListModelExplainabilityJobDefinitions, 15630 HTTPMethod: "POST", 15631 HTTPPath: "/", 15632 Paginator: &request.Paginator{ 15633 InputTokens: []string{"NextToken"}, 15634 OutputTokens: []string{"NextToken"}, 15635 LimitToken: "MaxResults", 15636 TruncationToken: "", 15637 }, 15638 } 15639 15640 if input == nil { 15641 input = &ListModelExplainabilityJobDefinitionsInput{} 15642 } 15643 15644 output = &ListModelExplainabilityJobDefinitionsOutput{} 15645 req = c.newRequest(op, input, output) 15646 return 15647 } 15648 15649 // ListModelExplainabilityJobDefinitions API operation for Amazon SageMaker Service. 15650 // 15651 // Lists model explainability job definitions that satisfy various filters. 15652 // 15653 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 15654 // with awserr.Error's Code and Message methods to get detailed information about 15655 // the error. 15656 // 15657 // See the AWS API reference guide for Amazon SageMaker Service's 15658 // API operation ListModelExplainabilityJobDefinitions for usage and error information. 15659 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelExplainabilityJobDefinitions 15660 func (c *SageMaker) ListModelExplainabilityJobDefinitions(input *ListModelExplainabilityJobDefinitionsInput) (*ListModelExplainabilityJobDefinitionsOutput, error) { 15661 req, out := c.ListModelExplainabilityJobDefinitionsRequest(input) 15662 return out, req.Send() 15663 } 15664 15665 // ListModelExplainabilityJobDefinitionsWithContext is the same as ListModelExplainabilityJobDefinitions with the addition of 15666 // the ability to pass a context and additional request options. 15667 // 15668 // See ListModelExplainabilityJobDefinitions for details on how to use this API operation. 15669 // 15670 // The context must be non-nil and will be used for request cancellation. If 15671 // the context is nil a panic will occur. In the future the SDK may create 15672 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 15673 // for more information on using Contexts. 15674 func (c *SageMaker) ListModelExplainabilityJobDefinitionsWithContext(ctx aws.Context, input *ListModelExplainabilityJobDefinitionsInput, opts ...request.Option) (*ListModelExplainabilityJobDefinitionsOutput, error) { 15675 req, out := c.ListModelExplainabilityJobDefinitionsRequest(input) 15676 req.SetContext(ctx) 15677 req.ApplyOptions(opts...) 15678 return out, req.Send() 15679 } 15680 15681 // ListModelExplainabilityJobDefinitionsPages iterates over the pages of a ListModelExplainabilityJobDefinitions operation, 15682 // calling the "fn" function with the response data for each page. To stop 15683 // iterating, return false from the fn function. 15684 // 15685 // See ListModelExplainabilityJobDefinitions method for more information on how to use this operation. 15686 // 15687 // Note: This operation can generate multiple requests to a service. 15688 // 15689 // // Example iterating over at most 3 pages of a ListModelExplainabilityJobDefinitions operation. 15690 // pageNum := 0 15691 // err := client.ListModelExplainabilityJobDefinitionsPages(params, 15692 // func(page *sagemaker.ListModelExplainabilityJobDefinitionsOutput, lastPage bool) bool { 15693 // pageNum++ 15694 // fmt.Println(page) 15695 // return pageNum <= 3 15696 // }) 15697 // 15698 func (c *SageMaker) ListModelExplainabilityJobDefinitionsPages(input *ListModelExplainabilityJobDefinitionsInput, fn func(*ListModelExplainabilityJobDefinitionsOutput, bool) bool) error { 15699 return c.ListModelExplainabilityJobDefinitionsPagesWithContext(aws.BackgroundContext(), input, fn) 15700 } 15701 15702 // ListModelExplainabilityJobDefinitionsPagesWithContext same as ListModelExplainabilityJobDefinitionsPages except 15703 // it takes a Context and allows setting request options on the pages. 15704 // 15705 // The context must be non-nil and will be used for request cancellation. If 15706 // the context is nil a panic will occur. In the future the SDK may create 15707 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 15708 // for more information on using Contexts. 15709 func (c *SageMaker) ListModelExplainabilityJobDefinitionsPagesWithContext(ctx aws.Context, input *ListModelExplainabilityJobDefinitionsInput, fn func(*ListModelExplainabilityJobDefinitionsOutput, bool) bool, opts ...request.Option) error { 15710 p := request.Pagination{ 15711 NewRequest: func() (*request.Request, error) { 15712 var inCpy *ListModelExplainabilityJobDefinitionsInput 15713 if input != nil { 15714 tmp := *input 15715 inCpy = &tmp 15716 } 15717 req, _ := c.ListModelExplainabilityJobDefinitionsRequest(inCpy) 15718 req.SetContext(ctx) 15719 req.ApplyOptions(opts...) 15720 return req, nil 15721 }, 15722 } 15723 15724 for p.Next() { 15725 if !fn(p.Page().(*ListModelExplainabilityJobDefinitionsOutput), !p.HasNextPage()) { 15726 break 15727 } 15728 } 15729 15730 return p.Err() 15731 } 15732 15733 const opListModelPackageGroups = "ListModelPackageGroups" 15734 15735 // ListModelPackageGroupsRequest generates a "aws/request.Request" representing the 15736 // client's request for the ListModelPackageGroups operation. The "output" return 15737 // value will be populated with the request's response once the request completes 15738 // successfully. 15739 // 15740 // Use "Send" method on the returned Request to send the API call to the service. 15741 // the "output" return value is not valid until after Send returns without error. 15742 // 15743 // See ListModelPackageGroups for more information on using the ListModelPackageGroups 15744 // API call, and error handling. 15745 // 15746 // This method is useful when you want to inject custom logic or configuration 15747 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 15748 // 15749 // 15750 // // Example sending a request using the ListModelPackageGroupsRequest method. 15751 // req, resp := client.ListModelPackageGroupsRequest(params) 15752 // 15753 // err := req.Send() 15754 // if err == nil { // resp is now filled 15755 // fmt.Println(resp) 15756 // } 15757 // 15758 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelPackageGroups 15759 func (c *SageMaker) ListModelPackageGroupsRequest(input *ListModelPackageGroupsInput) (req *request.Request, output *ListModelPackageGroupsOutput) { 15760 op := &request.Operation{ 15761 Name: opListModelPackageGroups, 15762 HTTPMethod: "POST", 15763 HTTPPath: "/", 15764 Paginator: &request.Paginator{ 15765 InputTokens: []string{"NextToken"}, 15766 OutputTokens: []string{"NextToken"}, 15767 LimitToken: "MaxResults", 15768 TruncationToken: "", 15769 }, 15770 } 15771 15772 if input == nil { 15773 input = &ListModelPackageGroupsInput{} 15774 } 15775 15776 output = &ListModelPackageGroupsOutput{} 15777 req = c.newRequest(op, input, output) 15778 return 15779 } 15780 15781 // ListModelPackageGroups API operation for Amazon SageMaker Service. 15782 // 15783 // Gets a list of the model groups in your Amazon Web Services account. 15784 // 15785 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 15786 // with awserr.Error's Code and Message methods to get detailed information about 15787 // the error. 15788 // 15789 // See the AWS API reference guide for Amazon SageMaker Service's 15790 // API operation ListModelPackageGroups for usage and error information. 15791 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelPackageGroups 15792 func (c *SageMaker) ListModelPackageGroups(input *ListModelPackageGroupsInput) (*ListModelPackageGroupsOutput, error) { 15793 req, out := c.ListModelPackageGroupsRequest(input) 15794 return out, req.Send() 15795 } 15796 15797 // ListModelPackageGroupsWithContext is the same as ListModelPackageGroups with the addition of 15798 // the ability to pass a context and additional request options. 15799 // 15800 // See ListModelPackageGroups for details on how to use this API operation. 15801 // 15802 // The context must be non-nil and will be used for request cancellation. If 15803 // the context is nil a panic will occur. In the future the SDK may create 15804 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 15805 // for more information on using Contexts. 15806 func (c *SageMaker) ListModelPackageGroupsWithContext(ctx aws.Context, input *ListModelPackageGroupsInput, opts ...request.Option) (*ListModelPackageGroupsOutput, error) { 15807 req, out := c.ListModelPackageGroupsRequest(input) 15808 req.SetContext(ctx) 15809 req.ApplyOptions(opts...) 15810 return out, req.Send() 15811 } 15812 15813 // ListModelPackageGroupsPages iterates over the pages of a ListModelPackageGroups operation, 15814 // calling the "fn" function with the response data for each page. To stop 15815 // iterating, return false from the fn function. 15816 // 15817 // See ListModelPackageGroups method for more information on how to use this operation. 15818 // 15819 // Note: This operation can generate multiple requests to a service. 15820 // 15821 // // Example iterating over at most 3 pages of a ListModelPackageGroups operation. 15822 // pageNum := 0 15823 // err := client.ListModelPackageGroupsPages(params, 15824 // func(page *sagemaker.ListModelPackageGroupsOutput, lastPage bool) bool { 15825 // pageNum++ 15826 // fmt.Println(page) 15827 // return pageNum <= 3 15828 // }) 15829 // 15830 func (c *SageMaker) ListModelPackageGroupsPages(input *ListModelPackageGroupsInput, fn func(*ListModelPackageGroupsOutput, bool) bool) error { 15831 return c.ListModelPackageGroupsPagesWithContext(aws.BackgroundContext(), input, fn) 15832 } 15833 15834 // ListModelPackageGroupsPagesWithContext same as ListModelPackageGroupsPages except 15835 // it takes a Context and allows setting request options on the pages. 15836 // 15837 // The context must be non-nil and will be used for request cancellation. If 15838 // the context is nil a panic will occur. In the future the SDK may create 15839 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 15840 // for more information on using Contexts. 15841 func (c *SageMaker) ListModelPackageGroupsPagesWithContext(ctx aws.Context, input *ListModelPackageGroupsInput, fn func(*ListModelPackageGroupsOutput, bool) bool, opts ...request.Option) error { 15842 p := request.Pagination{ 15843 NewRequest: func() (*request.Request, error) { 15844 var inCpy *ListModelPackageGroupsInput 15845 if input != nil { 15846 tmp := *input 15847 inCpy = &tmp 15848 } 15849 req, _ := c.ListModelPackageGroupsRequest(inCpy) 15850 req.SetContext(ctx) 15851 req.ApplyOptions(opts...) 15852 return req, nil 15853 }, 15854 } 15855 15856 for p.Next() { 15857 if !fn(p.Page().(*ListModelPackageGroupsOutput), !p.HasNextPage()) { 15858 break 15859 } 15860 } 15861 15862 return p.Err() 15863 } 15864 15865 const opListModelPackages = "ListModelPackages" 15866 15867 // ListModelPackagesRequest generates a "aws/request.Request" representing the 15868 // client's request for the ListModelPackages operation. The "output" return 15869 // value will be populated with the request's response once the request completes 15870 // successfully. 15871 // 15872 // Use "Send" method on the returned Request to send the API call to the service. 15873 // the "output" return value is not valid until after Send returns without error. 15874 // 15875 // See ListModelPackages for more information on using the ListModelPackages 15876 // API call, and error handling. 15877 // 15878 // This method is useful when you want to inject custom logic or configuration 15879 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 15880 // 15881 // 15882 // // Example sending a request using the ListModelPackagesRequest method. 15883 // req, resp := client.ListModelPackagesRequest(params) 15884 // 15885 // err := req.Send() 15886 // if err == nil { // resp is now filled 15887 // fmt.Println(resp) 15888 // } 15889 // 15890 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelPackages 15891 func (c *SageMaker) ListModelPackagesRequest(input *ListModelPackagesInput) (req *request.Request, output *ListModelPackagesOutput) { 15892 op := &request.Operation{ 15893 Name: opListModelPackages, 15894 HTTPMethod: "POST", 15895 HTTPPath: "/", 15896 Paginator: &request.Paginator{ 15897 InputTokens: []string{"NextToken"}, 15898 OutputTokens: []string{"NextToken"}, 15899 LimitToken: "MaxResults", 15900 TruncationToken: "", 15901 }, 15902 } 15903 15904 if input == nil { 15905 input = &ListModelPackagesInput{} 15906 } 15907 15908 output = &ListModelPackagesOutput{} 15909 req = c.newRequest(op, input, output) 15910 return 15911 } 15912 15913 // ListModelPackages API operation for Amazon SageMaker Service. 15914 // 15915 // Lists the model packages that have been created. 15916 // 15917 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 15918 // with awserr.Error's Code and Message methods to get detailed information about 15919 // the error. 15920 // 15921 // See the AWS API reference guide for Amazon SageMaker Service's 15922 // API operation ListModelPackages for usage and error information. 15923 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelPackages 15924 func (c *SageMaker) ListModelPackages(input *ListModelPackagesInput) (*ListModelPackagesOutput, error) { 15925 req, out := c.ListModelPackagesRequest(input) 15926 return out, req.Send() 15927 } 15928 15929 // ListModelPackagesWithContext is the same as ListModelPackages with the addition of 15930 // the ability to pass a context and additional request options. 15931 // 15932 // See ListModelPackages for details on how to use this API operation. 15933 // 15934 // The context must be non-nil and will be used for request cancellation. If 15935 // the context is nil a panic will occur. In the future the SDK may create 15936 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 15937 // for more information on using Contexts. 15938 func (c *SageMaker) ListModelPackagesWithContext(ctx aws.Context, input *ListModelPackagesInput, opts ...request.Option) (*ListModelPackagesOutput, error) { 15939 req, out := c.ListModelPackagesRequest(input) 15940 req.SetContext(ctx) 15941 req.ApplyOptions(opts...) 15942 return out, req.Send() 15943 } 15944 15945 // ListModelPackagesPages iterates over the pages of a ListModelPackages operation, 15946 // calling the "fn" function with the response data for each page. To stop 15947 // iterating, return false from the fn function. 15948 // 15949 // See ListModelPackages method for more information on how to use this operation. 15950 // 15951 // Note: This operation can generate multiple requests to a service. 15952 // 15953 // // Example iterating over at most 3 pages of a ListModelPackages operation. 15954 // pageNum := 0 15955 // err := client.ListModelPackagesPages(params, 15956 // func(page *sagemaker.ListModelPackagesOutput, lastPage bool) bool { 15957 // pageNum++ 15958 // fmt.Println(page) 15959 // return pageNum <= 3 15960 // }) 15961 // 15962 func (c *SageMaker) ListModelPackagesPages(input *ListModelPackagesInput, fn func(*ListModelPackagesOutput, bool) bool) error { 15963 return c.ListModelPackagesPagesWithContext(aws.BackgroundContext(), input, fn) 15964 } 15965 15966 // ListModelPackagesPagesWithContext same as ListModelPackagesPages except 15967 // it takes a Context and allows setting request options on the pages. 15968 // 15969 // The context must be non-nil and will be used for request cancellation. If 15970 // the context is nil a panic will occur. In the future the SDK may create 15971 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 15972 // for more information on using Contexts. 15973 func (c *SageMaker) ListModelPackagesPagesWithContext(ctx aws.Context, input *ListModelPackagesInput, fn func(*ListModelPackagesOutput, bool) bool, opts ...request.Option) error { 15974 p := request.Pagination{ 15975 NewRequest: func() (*request.Request, error) { 15976 var inCpy *ListModelPackagesInput 15977 if input != nil { 15978 tmp := *input 15979 inCpy = &tmp 15980 } 15981 req, _ := c.ListModelPackagesRequest(inCpy) 15982 req.SetContext(ctx) 15983 req.ApplyOptions(opts...) 15984 return req, nil 15985 }, 15986 } 15987 15988 for p.Next() { 15989 if !fn(p.Page().(*ListModelPackagesOutput), !p.HasNextPage()) { 15990 break 15991 } 15992 } 15993 15994 return p.Err() 15995 } 15996 15997 const opListModelQualityJobDefinitions = "ListModelQualityJobDefinitions" 15998 15999 // ListModelQualityJobDefinitionsRequest generates a "aws/request.Request" representing the 16000 // client's request for the ListModelQualityJobDefinitions operation. The "output" return 16001 // value will be populated with the request's response once the request completes 16002 // successfully. 16003 // 16004 // Use "Send" method on the returned Request to send the API call to the service. 16005 // the "output" return value is not valid until after Send returns without error. 16006 // 16007 // See ListModelQualityJobDefinitions for more information on using the ListModelQualityJobDefinitions 16008 // API call, and error handling. 16009 // 16010 // This method is useful when you want to inject custom logic or configuration 16011 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 16012 // 16013 // 16014 // // Example sending a request using the ListModelQualityJobDefinitionsRequest method. 16015 // req, resp := client.ListModelQualityJobDefinitionsRequest(params) 16016 // 16017 // err := req.Send() 16018 // if err == nil { // resp is now filled 16019 // fmt.Println(resp) 16020 // } 16021 // 16022 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelQualityJobDefinitions 16023 func (c *SageMaker) ListModelQualityJobDefinitionsRequest(input *ListModelQualityJobDefinitionsInput) (req *request.Request, output *ListModelQualityJobDefinitionsOutput) { 16024 op := &request.Operation{ 16025 Name: opListModelQualityJobDefinitions, 16026 HTTPMethod: "POST", 16027 HTTPPath: "/", 16028 Paginator: &request.Paginator{ 16029 InputTokens: []string{"NextToken"}, 16030 OutputTokens: []string{"NextToken"}, 16031 LimitToken: "MaxResults", 16032 TruncationToken: "", 16033 }, 16034 } 16035 16036 if input == nil { 16037 input = &ListModelQualityJobDefinitionsInput{} 16038 } 16039 16040 output = &ListModelQualityJobDefinitionsOutput{} 16041 req = c.newRequest(op, input, output) 16042 return 16043 } 16044 16045 // ListModelQualityJobDefinitions API operation for Amazon SageMaker Service. 16046 // 16047 // Gets a list of model quality monitoring job definitions in your account. 16048 // 16049 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 16050 // with awserr.Error's Code and Message methods to get detailed information about 16051 // the error. 16052 // 16053 // See the AWS API reference guide for Amazon SageMaker Service's 16054 // API operation ListModelQualityJobDefinitions for usage and error information. 16055 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelQualityJobDefinitions 16056 func (c *SageMaker) ListModelQualityJobDefinitions(input *ListModelQualityJobDefinitionsInput) (*ListModelQualityJobDefinitionsOutput, error) { 16057 req, out := c.ListModelQualityJobDefinitionsRequest(input) 16058 return out, req.Send() 16059 } 16060 16061 // ListModelQualityJobDefinitionsWithContext is the same as ListModelQualityJobDefinitions with the addition of 16062 // the ability to pass a context and additional request options. 16063 // 16064 // See ListModelQualityJobDefinitions for details on how to use this API operation. 16065 // 16066 // The context must be non-nil and will be used for request cancellation. If 16067 // the context is nil a panic will occur. In the future the SDK may create 16068 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 16069 // for more information on using Contexts. 16070 func (c *SageMaker) ListModelQualityJobDefinitionsWithContext(ctx aws.Context, input *ListModelQualityJobDefinitionsInput, opts ...request.Option) (*ListModelQualityJobDefinitionsOutput, error) { 16071 req, out := c.ListModelQualityJobDefinitionsRequest(input) 16072 req.SetContext(ctx) 16073 req.ApplyOptions(opts...) 16074 return out, req.Send() 16075 } 16076 16077 // ListModelQualityJobDefinitionsPages iterates over the pages of a ListModelQualityJobDefinitions operation, 16078 // calling the "fn" function with the response data for each page. To stop 16079 // iterating, return false from the fn function. 16080 // 16081 // See ListModelQualityJobDefinitions method for more information on how to use this operation. 16082 // 16083 // Note: This operation can generate multiple requests to a service. 16084 // 16085 // // Example iterating over at most 3 pages of a ListModelQualityJobDefinitions operation. 16086 // pageNum := 0 16087 // err := client.ListModelQualityJobDefinitionsPages(params, 16088 // func(page *sagemaker.ListModelQualityJobDefinitionsOutput, lastPage bool) bool { 16089 // pageNum++ 16090 // fmt.Println(page) 16091 // return pageNum <= 3 16092 // }) 16093 // 16094 func (c *SageMaker) ListModelQualityJobDefinitionsPages(input *ListModelQualityJobDefinitionsInput, fn func(*ListModelQualityJobDefinitionsOutput, bool) bool) error { 16095 return c.ListModelQualityJobDefinitionsPagesWithContext(aws.BackgroundContext(), input, fn) 16096 } 16097 16098 // ListModelQualityJobDefinitionsPagesWithContext same as ListModelQualityJobDefinitionsPages except 16099 // it takes a Context and allows setting request options on the pages. 16100 // 16101 // The context must be non-nil and will be used for request cancellation. If 16102 // the context is nil a panic will occur. In the future the SDK may create 16103 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 16104 // for more information on using Contexts. 16105 func (c *SageMaker) ListModelQualityJobDefinitionsPagesWithContext(ctx aws.Context, input *ListModelQualityJobDefinitionsInput, fn func(*ListModelQualityJobDefinitionsOutput, bool) bool, opts ...request.Option) error { 16106 p := request.Pagination{ 16107 NewRequest: func() (*request.Request, error) { 16108 var inCpy *ListModelQualityJobDefinitionsInput 16109 if input != nil { 16110 tmp := *input 16111 inCpy = &tmp 16112 } 16113 req, _ := c.ListModelQualityJobDefinitionsRequest(inCpy) 16114 req.SetContext(ctx) 16115 req.ApplyOptions(opts...) 16116 return req, nil 16117 }, 16118 } 16119 16120 for p.Next() { 16121 if !fn(p.Page().(*ListModelQualityJobDefinitionsOutput), !p.HasNextPage()) { 16122 break 16123 } 16124 } 16125 16126 return p.Err() 16127 } 16128 16129 const opListModels = "ListModels" 16130 16131 // ListModelsRequest generates a "aws/request.Request" representing the 16132 // client's request for the ListModels operation. The "output" return 16133 // value will be populated with the request's response once the request completes 16134 // successfully. 16135 // 16136 // Use "Send" method on the returned Request to send the API call to the service. 16137 // the "output" return value is not valid until after Send returns without error. 16138 // 16139 // See ListModels for more information on using the ListModels 16140 // API call, and error handling. 16141 // 16142 // This method is useful when you want to inject custom logic or configuration 16143 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 16144 // 16145 // 16146 // // Example sending a request using the ListModelsRequest method. 16147 // req, resp := client.ListModelsRequest(params) 16148 // 16149 // err := req.Send() 16150 // if err == nil { // resp is now filled 16151 // fmt.Println(resp) 16152 // } 16153 // 16154 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModels 16155 func (c *SageMaker) ListModelsRequest(input *ListModelsInput) (req *request.Request, output *ListModelsOutput) { 16156 op := &request.Operation{ 16157 Name: opListModels, 16158 HTTPMethod: "POST", 16159 HTTPPath: "/", 16160 Paginator: &request.Paginator{ 16161 InputTokens: []string{"NextToken"}, 16162 OutputTokens: []string{"NextToken"}, 16163 LimitToken: "MaxResults", 16164 TruncationToken: "", 16165 }, 16166 } 16167 16168 if input == nil { 16169 input = &ListModelsInput{} 16170 } 16171 16172 output = &ListModelsOutput{} 16173 req = c.newRequest(op, input, output) 16174 return 16175 } 16176 16177 // ListModels API operation for Amazon SageMaker Service. 16178 // 16179 // Lists models created with the CreateModel API. 16180 // 16181 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 16182 // with awserr.Error's Code and Message methods to get detailed information about 16183 // the error. 16184 // 16185 // See the AWS API reference guide for Amazon SageMaker Service's 16186 // API operation ListModels for usage and error information. 16187 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModels 16188 func (c *SageMaker) ListModels(input *ListModelsInput) (*ListModelsOutput, error) { 16189 req, out := c.ListModelsRequest(input) 16190 return out, req.Send() 16191 } 16192 16193 // ListModelsWithContext is the same as ListModels with the addition of 16194 // the ability to pass a context and additional request options. 16195 // 16196 // See ListModels for details on how to use this API operation. 16197 // 16198 // The context must be non-nil and will be used for request cancellation. If 16199 // the context is nil a panic will occur. In the future the SDK may create 16200 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 16201 // for more information on using Contexts. 16202 func (c *SageMaker) ListModelsWithContext(ctx aws.Context, input *ListModelsInput, opts ...request.Option) (*ListModelsOutput, error) { 16203 req, out := c.ListModelsRequest(input) 16204 req.SetContext(ctx) 16205 req.ApplyOptions(opts...) 16206 return out, req.Send() 16207 } 16208 16209 // ListModelsPages iterates over the pages of a ListModels operation, 16210 // calling the "fn" function with the response data for each page. To stop 16211 // iterating, return false from the fn function. 16212 // 16213 // See ListModels method for more information on how to use this operation. 16214 // 16215 // Note: This operation can generate multiple requests to a service. 16216 // 16217 // // Example iterating over at most 3 pages of a ListModels operation. 16218 // pageNum := 0 16219 // err := client.ListModelsPages(params, 16220 // func(page *sagemaker.ListModelsOutput, lastPage bool) bool { 16221 // pageNum++ 16222 // fmt.Println(page) 16223 // return pageNum <= 3 16224 // }) 16225 // 16226 func (c *SageMaker) ListModelsPages(input *ListModelsInput, fn func(*ListModelsOutput, bool) bool) error { 16227 return c.ListModelsPagesWithContext(aws.BackgroundContext(), input, fn) 16228 } 16229 16230 // ListModelsPagesWithContext same as ListModelsPages except 16231 // it takes a Context and allows setting request options on the pages. 16232 // 16233 // The context must be non-nil and will be used for request cancellation. If 16234 // the context is nil a panic will occur. In the future the SDK may create 16235 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 16236 // for more information on using Contexts. 16237 func (c *SageMaker) ListModelsPagesWithContext(ctx aws.Context, input *ListModelsInput, fn func(*ListModelsOutput, bool) bool, opts ...request.Option) error { 16238 p := request.Pagination{ 16239 NewRequest: func() (*request.Request, error) { 16240 var inCpy *ListModelsInput 16241 if input != nil { 16242 tmp := *input 16243 inCpy = &tmp 16244 } 16245 req, _ := c.ListModelsRequest(inCpy) 16246 req.SetContext(ctx) 16247 req.ApplyOptions(opts...) 16248 return req, nil 16249 }, 16250 } 16251 16252 for p.Next() { 16253 if !fn(p.Page().(*ListModelsOutput), !p.HasNextPage()) { 16254 break 16255 } 16256 } 16257 16258 return p.Err() 16259 } 16260 16261 const opListMonitoringExecutions = "ListMonitoringExecutions" 16262 16263 // ListMonitoringExecutionsRequest generates a "aws/request.Request" representing the 16264 // client's request for the ListMonitoringExecutions operation. The "output" return 16265 // value will be populated with the request's response once the request completes 16266 // successfully. 16267 // 16268 // Use "Send" method on the returned Request to send the API call to the service. 16269 // the "output" return value is not valid until after Send returns without error. 16270 // 16271 // See ListMonitoringExecutions for more information on using the ListMonitoringExecutions 16272 // API call, and error handling. 16273 // 16274 // This method is useful when you want to inject custom logic or configuration 16275 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 16276 // 16277 // 16278 // // Example sending a request using the ListMonitoringExecutionsRequest method. 16279 // req, resp := client.ListMonitoringExecutionsRequest(params) 16280 // 16281 // err := req.Send() 16282 // if err == nil { // resp is now filled 16283 // fmt.Println(resp) 16284 // } 16285 // 16286 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListMonitoringExecutions 16287 func (c *SageMaker) ListMonitoringExecutionsRequest(input *ListMonitoringExecutionsInput) (req *request.Request, output *ListMonitoringExecutionsOutput) { 16288 op := &request.Operation{ 16289 Name: opListMonitoringExecutions, 16290 HTTPMethod: "POST", 16291 HTTPPath: "/", 16292 Paginator: &request.Paginator{ 16293 InputTokens: []string{"NextToken"}, 16294 OutputTokens: []string{"NextToken"}, 16295 LimitToken: "MaxResults", 16296 TruncationToken: "", 16297 }, 16298 } 16299 16300 if input == nil { 16301 input = &ListMonitoringExecutionsInput{} 16302 } 16303 16304 output = &ListMonitoringExecutionsOutput{} 16305 req = c.newRequest(op, input, output) 16306 return 16307 } 16308 16309 // ListMonitoringExecutions API operation for Amazon SageMaker Service. 16310 // 16311 // Returns list of all monitoring job executions. 16312 // 16313 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 16314 // with awserr.Error's Code and Message methods to get detailed information about 16315 // the error. 16316 // 16317 // See the AWS API reference guide for Amazon SageMaker Service's 16318 // API operation ListMonitoringExecutions for usage and error information. 16319 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListMonitoringExecutions 16320 func (c *SageMaker) ListMonitoringExecutions(input *ListMonitoringExecutionsInput) (*ListMonitoringExecutionsOutput, error) { 16321 req, out := c.ListMonitoringExecutionsRequest(input) 16322 return out, req.Send() 16323 } 16324 16325 // ListMonitoringExecutionsWithContext is the same as ListMonitoringExecutions with the addition of 16326 // the ability to pass a context and additional request options. 16327 // 16328 // See ListMonitoringExecutions for details on how to use this API operation. 16329 // 16330 // The context must be non-nil and will be used for request cancellation. If 16331 // the context is nil a panic will occur. In the future the SDK may create 16332 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 16333 // for more information on using Contexts. 16334 func (c *SageMaker) ListMonitoringExecutionsWithContext(ctx aws.Context, input *ListMonitoringExecutionsInput, opts ...request.Option) (*ListMonitoringExecutionsOutput, error) { 16335 req, out := c.ListMonitoringExecutionsRequest(input) 16336 req.SetContext(ctx) 16337 req.ApplyOptions(opts...) 16338 return out, req.Send() 16339 } 16340 16341 // ListMonitoringExecutionsPages iterates over the pages of a ListMonitoringExecutions operation, 16342 // calling the "fn" function with the response data for each page. To stop 16343 // iterating, return false from the fn function. 16344 // 16345 // See ListMonitoringExecutions method for more information on how to use this operation. 16346 // 16347 // Note: This operation can generate multiple requests to a service. 16348 // 16349 // // Example iterating over at most 3 pages of a ListMonitoringExecutions operation. 16350 // pageNum := 0 16351 // err := client.ListMonitoringExecutionsPages(params, 16352 // func(page *sagemaker.ListMonitoringExecutionsOutput, lastPage bool) bool { 16353 // pageNum++ 16354 // fmt.Println(page) 16355 // return pageNum <= 3 16356 // }) 16357 // 16358 func (c *SageMaker) ListMonitoringExecutionsPages(input *ListMonitoringExecutionsInput, fn func(*ListMonitoringExecutionsOutput, bool) bool) error { 16359 return c.ListMonitoringExecutionsPagesWithContext(aws.BackgroundContext(), input, fn) 16360 } 16361 16362 // ListMonitoringExecutionsPagesWithContext same as ListMonitoringExecutionsPages except 16363 // it takes a Context and allows setting request options on the pages. 16364 // 16365 // The context must be non-nil and will be used for request cancellation. If 16366 // the context is nil a panic will occur. In the future the SDK may create 16367 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 16368 // for more information on using Contexts. 16369 func (c *SageMaker) ListMonitoringExecutionsPagesWithContext(ctx aws.Context, input *ListMonitoringExecutionsInput, fn func(*ListMonitoringExecutionsOutput, bool) bool, opts ...request.Option) error { 16370 p := request.Pagination{ 16371 NewRequest: func() (*request.Request, error) { 16372 var inCpy *ListMonitoringExecutionsInput 16373 if input != nil { 16374 tmp := *input 16375 inCpy = &tmp 16376 } 16377 req, _ := c.ListMonitoringExecutionsRequest(inCpy) 16378 req.SetContext(ctx) 16379 req.ApplyOptions(opts...) 16380 return req, nil 16381 }, 16382 } 16383 16384 for p.Next() { 16385 if !fn(p.Page().(*ListMonitoringExecutionsOutput), !p.HasNextPage()) { 16386 break 16387 } 16388 } 16389 16390 return p.Err() 16391 } 16392 16393 const opListMonitoringSchedules = "ListMonitoringSchedules" 16394 16395 // ListMonitoringSchedulesRequest generates a "aws/request.Request" representing the 16396 // client's request for the ListMonitoringSchedules operation. The "output" return 16397 // value will be populated with the request's response once the request completes 16398 // successfully. 16399 // 16400 // Use "Send" method on the returned Request to send the API call to the service. 16401 // the "output" return value is not valid until after Send returns without error. 16402 // 16403 // See ListMonitoringSchedules for more information on using the ListMonitoringSchedules 16404 // API call, and error handling. 16405 // 16406 // This method is useful when you want to inject custom logic or configuration 16407 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 16408 // 16409 // 16410 // // Example sending a request using the ListMonitoringSchedulesRequest method. 16411 // req, resp := client.ListMonitoringSchedulesRequest(params) 16412 // 16413 // err := req.Send() 16414 // if err == nil { // resp is now filled 16415 // fmt.Println(resp) 16416 // } 16417 // 16418 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListMonitoringSchedules 16419 func (c *SageMaker) ListMonitoringSchedulesRequest(input *ListMonitoringSchedulesInput) (req *request.Request, output *ListMonitoringSchedulesOutput) { 16420 op := &request.Operation{ 16421 Name: opListMonitoringSchedules, 16422 HTTPMethod: "POST", 16423 HTTPPath: "/", 16424 Paginator: &request.Paginator{ 16425 InputTokens: []string{"NextToken"}, 16426 OutputTokens: []string{"NextToken"}, 16427 LimitToken: "MaxResults", 16428 TruncationToken: "", 16429 }, 16430 } 16431 16432 if input == nil { 16433 input = &ListMonitoringSchedulesInput{} 16434 } 16435 16436 output = &ListMonitoringSchedulesOutput{} 16437 req = c.newRequest(op, input, output) 16438 return 16439 } 16440 16441 // ListMonitoringSchedules API operation for Amazon SageMaker Service. 16442 // 16443 // Returns list of all monitoring schedules. 16444 // 16445 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 16446 // with awserr.Error's Code and Message methods to get detailed information about 16447 // the error. 16448 // 16449 // See the AWS API reference guide for Amazon SageMaker Service's 16450 // API operation ListMonitoringSchedules for usage and error information. 16451 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListMonitoringSchedules 16452 func (c *SageMaker) ListMonitoringSchedules(input *ListMonitoringSchedulesInput) (*ListMonitoringSchedulesOutput, error) { 16453 req, out := c.ListMonitoringSchedulesRequest(input) 16454 return out, req.Send() 16455 } 16456 16457 // ListMonitoringSchedulesWithContext is the same as ListMonitoringSchedules with the addition of 16458 // the ability to pass a context and additional request options. 16459 // 16460 // See ListMonitoringSchedules for details on how to use this API operation. 16461 // 16462 // The context must be non-nil and will be used for request cancellation. If 16463 // the context is nil a panic will occur. In the future the SDK may create 16464 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 16465 // for more information on using Contexts. 16466 func (c *SageMaker) ListMonitoringSchedulesWithContext(ctx aws.Context, input *ListMonitoringSchedulesInput, opts ...request.Option) (*ListMonitoringSchedulesOutput, error) { 16467 req, out := c.ListMonitoringSchedulesRequest(input) 16468 req.SetContext(ctx) 16469 req.ApplyOptions(opts...) 16470 return out, req.Send() 16471 } 16472 16473 // ListMonitoringSchedulesPages iterates over the pages of a ListMonitoringSchedules operation, 16474 // calling the "fn" function with the response data for each page. To stop 16475 // iterating, return false from the fn function. 16476 // 16477 // See ListMonitoringSchedules method for more information on how to use this operation. 16478 // 16479 // Note: This operation can generate multiple requests to a service. 16480 // 16481 // // Example iterating over at most 3 pages of a ListMonitoringSchedules operation. 16482 // pageNum := 0 16483 // err := client.ListMonitoringSchedulesPages(params, 16484 // func(page *sagemaker.ListMonitoringSchedulesOutput, lastPage bool) bool { 16485 // pageNum++ 16486 // fmt.Println(page) 16487 // return pageNum <= 3 16488 // }) 16489 // 16490 func (c *SageMaker) ListMonitoringSchedulesPages(input *ListMonitoringSchedulesInput, fn func(*ListMonitoringSchedulesOutput, bool) bool) error { 16491 return c.ListMonitoringSchedulesPagesWithContext(aws.BackgroundContext(), input, fn) 16492 } 16493 16494 // ListMonitoringSchedulesPagesWithContext same as ListMonitoringSchedulesPages except 16495 // it takes a Context and allows setting request options on the pages. 16496 // 16497 // The context must be non-nil and will be used for request cancellation. If 16498 // the context is nil a panic will occur. In the future the SDK may create 16499 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 16500 // for more information on using Contexts. 16501 func (c *SageMaker) ListMonitoringSchedulesPagesWithContext(ctx aws.Context, input *ListMonitoringSchedulesInput, fn func(*ListMonitoringSchedulesOutput, bool) bool, opts ...request.Option) error { 16502 p := request.Pagination{ 16503 NewRequest: func() (*request.Request, error) { 16504 var inCpy *ListMonitoringSchedulesInput 16505 if input != nil { 16506 tmp := *input 16507 inCpy = &tmp 16508 } 16509 req, _ := c.ListMonitoringSchedulesRequest(inCpy) 16510 req.SetContext(ctx) 16511 req.ApplyOptions(opts...) 16512 return req, nil 16513 }, 16514 } 16515 16516 for p.Next() { 16517 if !fn(p.Page().(*ListMonitoringSchedulesOutput), !p.HasNextPage()) { 16518 break 16519 } 16520 } 16521 16522 return p.Err() 16523 } 16524 16525 const opListNotebookInstanceLifecycleConfigs = "ListNotebookInstanceLifecycleConfigs" 16526 16527 // ListNotebookInstanceLifecycleConfigsRequest generates a "aws/request.Request" representing the 16528 // client's request for the ListNotebookInstanceLifecycleConfigs operation. The "output" return 16529 // value will be populated with the request's response once the request completes 16530 // successfully. 16531 // 16532 // Use "Send" method on the returned Request to send the API call to the service. 16533 // the "output" return value is not valid until after Send returns without error. 16534 // 16535 // See ListNotebookInstanceLifecycleConfigs for more information on using the ListNotebookInstanceLifecycleConfigs 16536 // API call, and error handling. 16537 // 16538 // This method is useful when you want to inject custom logic or configuration 16539 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 16540 // 16541 // 16542 // // Example sending a request using the ListNotebookInstanceLifecycleConfigsRequest method. 16543 // req, resp := client.ListNotebookInstanceLifecycleConfigsRequest(params) 16544 // 16545 // err := req.Send() 16546 // if err == nil { // resp is now filled 16547 // fmt.Println(resp) 16548 // } 16549 // 16550 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstanceLifecycleConfigs 16551 func (c *SageMaker) ListNotebookInstanceLifecycleConfigsRequest(input *ListNotebookInstanceLifecycleConfigsInput) (req *request.Request, output *ListNotebookInstanceLifecycleConfigsOutput) { 16552 op := &request.Operation{ 16553 Name: opListNotebookInstanceLifecycleConfigs, 16554 HTTPMethod: "POST", 16555 HTTPPath: "/", 16556 Paginator: &request.Paginator{ 16557 InputTokens: []string{"NextToken"}, 16558 OutputTokens: []string{"NextToken"}, 16559 LimitToken: "MaxResults", 16560 TruncationToken: "", 16561 }, 16562 } 16563 16564 if input == nil { 16565 input = &ListNotebookInstanceLifecycleConfigsInput{} 16566 } 16567 16568 output = &ListNotebookInstanceLifecycleConfigsOutput{} 16569 req = c.newRequest(op, input, output) 16570 return 16571 } 16572 16573 // ListNotebookInstanceLifecycleConfigs API operation for Amazon SageMaker Service. 16574 // 16575 // Lists notebook instance lifestyle configurations created with the CreateNotebookInstanceLifecycleConfig 16576 // API. 16577 // 16578 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 16579 // with awserr.Error's Code and Message methods to get detailed information about 16580 // the error. 16581 // 16582 // See the AWS API reference guide for Amazon SageMaker Service's 16583 // API operation ListNotebookInstanceLifecycleConfigs for usage and error information. 16584 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstanceLifecycleConfigs 16585 func (c *SageMaker) ListNotebookInstanceLifecycleConfigs(input *ListNotebookInstanceLifecycleConfigsInput) (*ListNotebookInstanceLifecycleConfigsOutput, error) { 16586 req, out := c.ListNotebookInstanceLifecycleConfigsRequest(input) 16587 return out, req.Send() 16588 } 16589 16590 // ListNotebookInstanceLifecycleConfigsWithContext is the same as ListNotebookInstanceLifecycleConfigs with the addition of 16591 // the ability to pass a context and additional request options. 16592 // 16593 // See ListNotebookInstanceLifecycleConfigs for details on how to use this API operation. 16594 // 16595 // The context must be non-nil and will be used for request cancellation. If 16596 // the context is nil a panic will occur. In the future the SDK may create 16597 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 16598 // for more information on using Contexts. 16599 func (c *SageMaker) ListNotebookInstanceLifecycleConfigsWithContext(ctx aws.Context, input *ListNotebookInstanceLifecycleConfigsInput, opts ...request.Option) (*ListNotebookInstanceLifecycleConfigsOutput, error) { 16600 req, out := c.ListNotebookInstanceLifecycleConfigsRequest(input) 16601 req.SetContext(ctx) 16602 req.ApplyOptions(opts...) 16603 return out, req.Send() 16604 } 16605 16606 // ListNotebookInstanceLifecycleConfigsPages iterates over the pages of a ListNotebookInstanceLifecycleConfigs operation, 16607 // calling the "fn" function with the response data for each page. To stop 16608 // iterating, return false from the fn function. 16609 // 16610 // See ListNotebookInstanceLifecycleConfigs method for more information on how to use this operation. 16611 // 16612 // Note: This operation can generate multiple requests to a service. 16613 // 16614 // // Example iterating over at most 3 pages of a ListNotebookInstanceLifecycleConfigs operation. 16615 // pageNum := 0 16616 // err := client.ListNotebookInstanceLifecycleConfigsPages(params, 16617 // func(page *sagemaker.ListNotebookInstanceLifecycleConfigsOutput, lastPage bool) bool { 16618 // pageNum++ 16619 // fmt.Println(page) 16620 // return pageNum <= 3 16621 // }) 16622 // 16623 func (c *SageMaker) ListNotebookInstanceLifecycleConfigsPages(input *ListNotebookInstanceLifecycleConfigsInput, fn func(*ListNotebookInstanceLifecycleConfigsOutput, bool) bool) error { 16624 return c.ListNotebookInstanceLifecycleConfigsPagesWithContext(aws.BackgroundContext(), input, fn) 16625 } 16626 16627 // ListNotebookInstanceLifecycleConfigsPagesWithContext same as ListNotebookInstanceLifecycleConfigsPages except 16628 // it takes a Context and allows setting request options on the pages. 16629 // 16630 // The context must be non-nil and will be used for request cancellation. If 16631 // the context is nil a panic will occur. In the future the SDK may create 16632 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 16633 // for more information on using Contexts. 16634 func (c *SageMaker) ListNotebookInstanceLifecycleConfigsPagesWithContext(ctx aws.Context, input *ListNotebookInstanceLifecycleConfigsInput, fn func(*ListNotebookInstanceLifecycleConfigsOutput, bool) bool, opts ...request.Option) error { 16635 p := request.Pagination{ 16636 NewRequest: func() (*request.Request, error) { 16637 var inCpy *ListNotebookInstanceLifecycleConfigsInput 16638 if input != nil { 16639 tmp := *input 16640 inCpy = &tmp 16641 } 16642 req, _ := c.ListNotebookInstanceLifecycleConfigsRequest(inCpy) 16643 req.SetContext(ctx) 16644 req.ApplyOptions(opts...) 16645 return req, nil 16646 }, 16647 } 16648 16649 for p.Next() { 16650 if !fn(p.Page().(*ListNotebookInstanceLifecycleConfigsOutput), !p.HasNextPage()) { 16651 break 16652 } 16653 } 16654 16655 return p.Err() 16656 } 16657 16658 const opListNotebookInstances = "ListNotebookInstances" 16659 16660 // ListNotebookInstancesRequest generates a "aws/request.Request" representing the 16661 // client's request for the ListNotebookInstances operation. The "output" return 16662 // value will be populated with the request's response once the request completes 16663 // successfully. 16664 // 16665 // Use "Send" method on the returned Request to send the API call to the service. 16666 // the "output" return value is not valid until after Send returns without error. 16667 // 16668 // See ListNotebookInstances for more information on using the ListNotebookInstances 16669 // API call, and error handling. 16670 // 16671 // This method is useful when you want to inject custom logic or configuration 16672 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 16673 // 16674 // 16675 // // Example sending a request using the ListNotebookInstancesRequest method. 16676 // req, resp := client.ListNotebookInstancesRequest(params) 16677 // 16678 // err := req.Send() 16679 // if err == nil { // resp is now filled 16680 // fmt.Println(resp) 16681 // } 16682 // 16683 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstances 16684 func (c *SageMaker) ListNotebookInstancesRequest(input *ListNotebookInstancesInput) (req *request.Request, output *ListNotebookInstancesOutput) { 16685 op := &request.Operation{ 16686 Name: opListNotebookInstances, 16687 HTTPMethod: "POST", 16688 HTTPPath: "/", 16689 Paginator: &request.Paginator{ 16690 InputTokens: []string{"NextToken"}, 16691 OutputTokens: []string{"NextToken"}, 16692 LimitToken: "MaxResults", 16693 TruncationToken: "", 16694 }, 16695 } 16696 16697 if input == nil { 16698 input = &ListNotebookInstancesInput{} 16699 } 16700 16701 output = &ListNotebookInstancesOutput{} 16702 req = c.newRequest(op, input, output) 16703 return 16704 } 16705 16706 // ListNotebookInstances API operation for Amazon SageMaker Service. 16707 // 16708 // Returns a list of the Amazon SageMaker notebook instances in the requester's 16709 // account in an Amazon Web Services Region. 16710 // 16711 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 16712 // with awserr.Error's Code and Message methods to get detailed information about 16713 // the error. 16714 // 16715 // See the AWS API reference guide for Amazon SageMaker Service's 16716 // API operation ListNotebookInstances for usage and error information. 16717 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstances 16718 func (c *SageMaker) ListNotebookInstances(input *ListNotebookInstancesInput) (*ListNotebookInstancesOutput, error) { 16719 req, out := c.ListNotebookInstancesRequest(input) 16720 return out, req.Send() 16721 } 16722 16723 // ListNotebookInstancesWithContext is the same as ListNotebookInstances with the addition of 16724 // the ability to pass a context and additional request options. 16725 // 16726 // See ListNotebookInstances for details on how to use this API operation. 16727 // 16728 // The context must be non-nil and will be used for request cancellation. If 16729 // the context is nil a panic will occur. In the future the SDK may create 16730 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 16731 // for more information on using Contexts. 16732 func (c *SageMaker) ListNotebookInstancesWithContext(ctx aws.Context, input *ListNotebookInstancesInput, opts ...request.Option) (*ListNotebookInstancesOutput, error) { 16733 req, out := c.ListNotebookInstancesRequest(input) 16734 req.SetContext(ctx) 16735 req.ApplyOptions(opts...) 16736 return out, req.Send() 16737 } 16738 16739 // ListNotebookInstancesPages iterates over the pages of a ListNotebookInstances operation, 16740 // calling the "fn" function with the response data for each page. To stop 16741 // iterating, return false from the fn function. 16742 // 16743 // See ListNotebookInstances method for more information on how to use this operation. 16744 // 16745 // Note: This operation can generate multiple requests to a service. 16746 // 16747 // // Example iterating over at most 3 pages of a ListNotebookInstances operation. 16748 // pageNum := 0 16749 // err := client.ListNotebookInstancesPages(params, 16750 // func(page *sagemaker.ListNotebookInstancesOutput, lastPage bool) bool { 16751 // pageNum++ 16752 // fmt.Println(page) 16753 // return pageNum <= 3 16754 // }) 16755 // 16756 func (c *SageMaker) ListNotebookInstancesPages(input *ListNotebookInstancesInput, fn func(*ListNotebookInstancesOutput, bool) bool) error { 16757 return c.ListNotebookInstancesPagesWithContext(aws.BackgroundContext(), input, fn) 16758 } 16759 16760 // ListNotebookInstancesPagesWithContext same as ListNotebookInstancesPages except 16761 // it takes a Context and allows setting request options on the pages. 16762 // 16763 // The context must be non-nil and will be used for request cancellation. If 16764 // the context is nil a panic will occur. In the future the SDK may create 16765 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 16766 // for more information on using Contexts. 16767 func (c *SageMaker) ListNotebookInstancesPagesWithContext(ctx aws.Context, input *ListNotebookInstancesInput, fn func(*ListNotebookInstancesOutput, bool) bool, opts ...request.Option) error { 16768 p := request.Pagination{ 16769 NewRequest: func() (*request.Request, error) { 16770 var inCpy *ListNotebookInstancesInput 16771 if input != nil { 16772 tmp := *input 16773 inCpy = &tmp 16774 } 16775 req, _ := c.ListNotebookInstancesRequest(inCpy) 16776 req.SetContext(ctx) 16777 req.ApplyOptions(opts...) 16778 return req, nil 16779 }, 16780 } 16781 16782 for p.Next() { 16783 if !fn(p.Page().(*ListNotebookInstancesOutput), !p.HasNextPage()) { 16784 break 16785 } 16786 } 16787 16788 return p.Err() 16789 } 16790 16791 const opListPipelineExecutionSteps = "ListPipelineExecutionSteps" 16792 16793 // ListPipelineExecutionStepsRequest generates a "aws/request.Request" representing the 16794 // client's request for the ListPipelineExecutionSteps operation. The "output" return 16795 // value will be populated with the request's response once the request completes 16796 // successfully. 16797 // 16798 // Use "Send" method on the returned Request to send the API call to the service. 16799 // the "output" return value is not valid until after Send returns without error. 16800 // 16801 // See ListPipelineExecutionSteps for more information on using the ListPipelineExecutionSteps 16802 // API call, and error handling. 16803 // 16804 // This method is useful when you want to inject custom logic or configuration 16805 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 16806 // 16807 // 16808 // // Example sending a request using the ListPipelineExecutionStepsRequest method. 16809 // req, resp := client.ListPipelineExecutionStepsRequest(params) 16810 // 16811 // err := req.Send() 16812 // if err == nil { // resp is now filled 16813 // fmt.Println(resp) 16814 // } 16815 // 16816 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListPipelineExecutionSteps 16817 func (c *SageMaker) ListPipelineExecutionStepsRequest(input *ListPipelineExecutionStepsInput) (req *request.Request, output *ListPipelineExecutionStepsOutput) { 16818 op := &request.Operation{ 16819 Name: opListPipelineExecutionSteps, 16820 HTTPMethod: "POST", 16821 HTTPPath: "/", 16822 Paginator: &request.Paginator{ 16823 InputTokens: []string{"NextToken"}, 16824 OutputTokens: []string{"NextToken"}, 16825 LimitToken: "MaxResults", 16826 TruncationToken: "", 16827 }, 16828 } 16829 16830 if input == nil { 16831 input = &ListPipelineExecutionStepsInput{} 16832 } 16833 16834 output = &ListPipelineExecutionStepsOutput{} 16835 req = c.newRequest(op, input, output) 16836 return 16837 } 16838 16839 // ListPipelineExecutionSteps API operation for Amazon SageMaker Service. 16840 // 16841 // Gets a list of PipeLineExecutionStep objects. 16842 // 16843 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 16844 // with awserr.Error's Code and Message methods to get detailed information about 16845 // the error. 16846 // 16847 // See the AWS API reference guide for Amazon SageMaker Service's 16848 // API operation ListPipelineExecutionSteps for usage and error information. 16849 // 16850 // Returned Error Types: 16851 // * ResourceNotFound 16852 // Resource being access is not found. 16853 // 16854 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListPipelineExecutionSteps 16855 func (c *SageMaker) ListPipelineExecutionSteps(input *ListPipelineExecutionStepsInput) (*ListPipelineExecutionStepsOutput, error) { 16856 req, out := c.ListPipelineExecutionStepsRequest(input) 16857 return out, req.Send() 16858 } 16859 16860 // ListPipelineExecutionStepsWithContext is the same as ListPipelineExecutionSteps with the addition of 16861 // the ability to pass a context and additional request options. 16862 // 16863 // See ListPipelineExecutionSteps for details on how to use this API operation. 16864 // 16865 // The context must be non-nil and will be used for request cancellation. If 16866 // the context is nil a panic will occur. In the future the SDK may create 16867 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 16868 // for more information on using Contexts. 16869 func (c *SageMaker) ListPipelineExecutionStepsWithContext(ctx aws.Context, input *ListPipelineExecutionStepsInput, opts ...request.Option) (*ListPipelineExecutionStepsOutput, error) { 16870 req, out := c.ListPipelineExecutionStepsRequest(input) 16871 req.SetContext(ctx) 16872 req.ApplyOptions(opts...) 16873 return out, req.Send() 16874 } 16875 16876 // ListPipelineExecutionStepsPages iterates over the pages of a ListPipelineExecutionSteps operation, 16877 // calling the "fn" function with the response data for each page. To stop 16878 // iterating, return false from the fn function. 16879 // 16880 // See ListPipelineExecutionSteps method for more information on how to use this operation. 16881 // 16882 // Note: This operation can generate multiple requests to a service. 16883 // 16884 // // Example iterating over at most 3 pages of a ListPipelineExecutionSteps operation. 16885 // pageNum := 0 16886 // err := client.ListPipelineExecutionStepsPages(params, 16887 // func(page *sagemaker.ListPipelineExecutionStepsOutput, lastPage bool) bool { 16888 // pageNum++ 16889 // fmt.Println(page) 16890 // return pageNum <= 3 16891 // }) 16892 // 16893 func (c *SageMaker) ListPipelineExecutionStepsPages(input *ListPipelineExecutionStepsInput, fn func(*ListPipelineExecutionStepsOutput, bool) bool) error { 16894 return c.ListPipelineExecutionStepsPagesWithContext(aws.BackgroundContext(), input, fn) 16895 } 16896 16897 // ListPipelineExecutionStepsPagesWithContext same as ListPipelineExecutionStepsPages except 16898 // it takes a Context and allows setting request options on the pages. 16899 // 16900 // The context must be non-nil and will be used for request cancellation. If 16901 // the context is nil a panic will occur. In the future the SDK may create 16902 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 16903 // for more information on using Contexts. 16904 func (c *SageMaker) ListPipelineExecutionStepsPagesWithContext(ctx aws.Context, input *ListPipelineExecutionStepsInput, fn func(*ListPipelineExecutionStepsOutput, bool) bool, opts ...request.Option) error { 16905 p := request.Pagination{ 16906 NewRequest: func() (*request.Request, error) { 16907 var inCpy *ListPipelineExecutionStepsInput 16908 if input != nil { 16909 tmp := *input 16910 inCpy = &tmp 16911 } 16912 req, _ := c.ListPipelineExecutionStepsRequest(inCpy) 16913 req.SetContext(ctx) 16914 req.ApplyOptions(opts...) 16915 return req, nil 16916 }, 16917 } 16918 16919 for p.Next() { 16920 if !fn(p.Page().(*ListPipelineExecutionStepsOutput), !p.HasNextPage()) { 16921 break 16922 } 16923 } 16924 16925 return p.Err() 16926 } 16927 16928 const opListPipelineExecutions = "ListPipelineExecutions" 16929 16930 // ListPipelineExecutionsRequest generates a "aws/request.Request" representing the 16931 // client's request for the ListPipelineExecutions operation. The "output" return 16932 // value will be populated with the request's response once the request completes 16933 // successfully. 16934 // 16935 // Use "Send" method on the returned Request to send the API call to the service. 16936 // the "output" return value is not valid until after Send returns without error. 16937 // 16938 // See ListPipelineExecutions for more information on using the ListPipelineExecutions 16939 // API call, and error handling. 16940 // 16941 // This method is useful when you want to inject custom logic or configuration 16942 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 16943 // 16944 // 16945 // // Example sending a request using the ListPipelineExecutionsRequest method. 16946 // req, resp := client.ListPipelineExecutionsRequest(params) 16947 // 16948 // err := req.Send() 16949 // if err == nil { // resp is now filled 16950 // fmt.Println(resp) 16951 // } 16952 // 16953 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListPipelineExecutions 16954 func (c *SageMaker) ListPipelineExecutionsRequest(input *ListPipelineExecutionsInput) (req *request.Request, output *ListPipelineExecutionsOutput) { 16955 op := &request.Operation{ 16956 Name: opListPipelineExecutions, 16957 HTTPMethod: "POST", 16958 HTTPPath: "/", 16959 Paginator: &request.Paginator{ 16960 InputTokens: []string{"NextToken"}, 16961 OutputTokens: []string{"NextToken"}, 16962 LimitToken: "MaxResults", 16963 TruncationToken: "", 16964 }, 16965 } 16966 16967 if input == nil { 16968 input = &ListPipelineExecutionsInput{} 16969 } 16970 16971 output = &ListPipelineExecutionsOutput{} 16972 req = c.newRequest(op, input, output) 16973 return 16974 } 16975 16976 // ListPipelineExecutions API operation for Amazon SageMaker Service. 16977 // 16978 // Gets a list of the pipeline executions. 16979 // 16980 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 16981 // with awserr.Error's Code and Message methods to get detailed information about 16982 // the error. 16983 // 16984 // See the AWS API reference guide for Amazon SageMaker Service's 16985 // API operation ListPipelineExecutions for usage and error information. 16986 // 16987 // Returned Error Types: 16988 // * ResourceNotFound 16989 // Resource being access is not found. 16990 // 16991 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListPipelineExecutions 16992 func (c *SageMaker) ListPipelineExecutions(input *ListPipelineExecutionsInput) (*ListPipelineExecutionsOutput, error) { 16993 req, out := c.ListPipelineExecutionsRequest(input) 16994 return out, req.Send() 16995 } 16996 16997 // ListPipelineExecutionsWithContext is the same as ListPipelineExecutions with the addition of 16998 // the ability to pass a context and additional request options. 16999 // 17000 // See ListPipelineExecutions for details on how to use this API operation. 17001 // 17002 // The context must be non-nil and will be used for request cancellation. If 17003 // the context is nil a panic will occur. In the future the SDK may create 17004 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 17005 // for more information on using Contexts. 17006 func (c *SageMaker) ListPipelineExecutionsWithContext(ctx aws.Context, input *ListPipelineExecutionsInput, opts ...request.Option) (*ListPipelineExecutionsOutput, error) { 17007 req, out := c.ListPipelineExecutionsRequest(input) 17008 req.SetContext(ctx) 17009 req.ApplyOptions(opts...) 17010 return out, req.Send() 17011 } 17012 17013 // ListPipelineExecutionsPages iterates over the pages of a ListPipelineExecutions operation, 17014 // calling the "fn" function with the response data for each page. To stop 17015 // iterating, return false from the fn function. 17016 // 17017 // See ListPipelineExecutions method for more information on how to use this operation. 17018 // 17019 // Note: This operation can generate multiple requests to a service. 17020 // 17021 // // Example iterating over at most 3 pages of a ListPipelineExecutions operation. 17022 // pageNum := 0 17023 // err := client.ListPipelineExecutionsPages(params, 17024 // func(page *sagemaker.ListPipelineExecutionsOutput, lastPage bool) bool { 17025 // pageNum++ 17026 // fmt.Println(page) 17027 // return pageNum <= 3 17028 // }) 17029 // 17030 func (c *SageMaker) ListPipelineExecutionsPages(input *ListPipelineExecutionsInput, fn func(*ListPipelineExecutionsOutput, bool) bool) error { 17031 return c.ListPipelineExecutionsPagesWithContext(aws.BackgroundContext(), input, fn) 17032 } 17033 17034 // ListPipelineExecutionsPagesWithContext same as ListPipelineExecutionsPages except 17035 // it takes a Context and allows setting request options on the pages. 17036 // 17037 // The context must be non-nil and will be used for request cancellation. If 17038 // the context is nil a panic will occur. In the future the SDK may create 17039 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 17040 // for more information on using Contexts. 17041 func (c *SageMaker) ListPipelineExecutionsPagesWithContext(ctx aws.Context, input *ListPipelineExecutionsInput, fn func(*ListPipelineExecutionsOutput, bool) bool, opts ...request.Option) error { 17042 p := request.Pagination{ 17043 NewRequest: func() (*request.Request, error) { 17044 var inCpy *ListPipelineExecutionsInput 17045 if input != nil { 17046 tmp := *input 17047 inCpy = &tmp 17048 } 17049 req, _ := c.ListPipelineExecutionsRequest(inCpy) 17050 req.SetContext(ctx) 17051 req.ApplyOptions(opts...) 17052 return req, nil 17053 }, 17054 } 17055 17056 for p.Next() { 17057 if !fn(p.Page().(*ListPipelineExecutionsOutput), !p.HasNextPage()) { 17058 break 17059 } 17060 } 17061 17062 return p.Err() 17063 } 17064 17065 const opListPipelineParametersForExecution = "ListPipelineParametersForExecution" 17066 17067 // ListPipelineParametersForExecutionRequest generates a "aws/request.Request" representing the 17068 // client's request for the ListPipelineParametersForExecution operation. The "output" return 17069 // value will be populated with the request's response once the request completes 17070 // successfully. 17071 // 17072 // Use "Send" method on the returned Request to send the API call to the service. 17073 // the "output" return value is not valid until after Send returns without error. 17074 // 17075 // See ListPipelineParametersForExecution for more information on using the ListPipelineParametersForExecution 17076 // API call, and error handling. 17077 // 17078 // This method is useful when you want to inject custom logic or configuration 17079 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 17080 // 17081 // 17082 // // Example sending a request using the ListPipelineParametersForExecutionRequest method. 17083 // req, resp := client.ListPipelineParametersForExecutionRequest(params) 17084 // 17085 // err := req.Send() 17086 // if err == nil { // resp is now filled 17087 // fmt.Println(resp) 17088 // } 17089 // 17090 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListPipelineParametersForExecution 17091 func (c *SageMaker) ListPipelineParametersForExecutionRequest(input *ListPipelineParametersForExecutionInput) (req *request.Request, output *ListPipelineParametersForExecutionOutput) { 17092 op := &request.Operation{ 17093 Name: opListPipelineParametersForExecution, 17094 HTTPMethod: "POST", 17095 HTTPPath: "/", 17096 Paginator: &request.Paginator{ 17097 InputTokens: []string{"NextToken"}, 17098 OutputTokens: []string{"NextToken"}, 17099 LimitToken: "MaxResults", 17100 TruncationToken: "", 17101 }, 17102 } 17103 17104 if input == nil { 17105 input = &ListPipelineParametersForExecutionInput{} 17106 } 17107 17108 output = &ListPipelineParametersForExecutionOutput{} 17109 req = c.newRequest(op, input, output) 17110 return 17111 } 17112 17113 // ListPipelineParametersForExecution API operation for Amazon SageMaker Service. 17114 // 17115 // Gets a list of parameters for a pipeline execution. 17116 // 17117 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 17118 // with awserr.Error's Code and Message methods to get detailed information about 17119 // the error. 17120 // 17121 // See the AWS API reference guide for Amazon SageMaker Service's 17122 // API operation ListPipelineParametersForExecution for usage and error information. 17123 // 17124 // Returned Error Types: 17125 // * ResourceNotFound 17126 // Resource being access is not found. 17127 // 17128 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListPipelineParametersForExecution 17129 func (c *SageMaker) ListPipelineParametersForExecution(input *ListPipelineParametersForExecutionInput) (*ListPipelineParametersForExecutionOutput, error) { 17130 req, out := c.ListPipelineParametersForExecutionRequest(input) 17131 return out, req.Send() 17132 } 17133 17134 // ListPipelineParametersForExecutionWithContext is the same as ListPipelineParametersForExecution with the addition of 17135 // the ability to pass a context and additional request options. 17136 // 17137 // See ListPipelineParametersForExecution for details on how to use this API operation. 17138 // 17139 // The context must be non-nil and will be used for request cancellation. If 17140 // the context is nil a panic will occur. In the future the SDK may create 17141 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 17142 // for more information on using Contexts. 17143 func (c *SageMaker) ListPipelineParametersForExecutionWithContext(ctx aws.Context, input *ListPipelineParametersForExecutionInput, opts ...request.Option) (*ListPipelineParametersForExecutionOutput, error) { 17144 req, out := c.ListPipelineParametersForExecutionRequest(input) 17145 req.SetContext(ctx) 17146 req.ApplyOptions(opts...) 17147 return out, req.Send() 17148 } 17149 17150 // ListPipelineParametersForExecutionPages iterates over the pages of a ListPipelineParametersForExecution operation, 17151 // calling the "fn" function with the response data for each page. To stop 17152 // iterating, return false from the fn function. 17153 // 17154 // See ListPipelineParametersForExecution method for more information on how to use this operation. 17155 // 17156 // Note: This operation can generate multiple requests to a service. 17157 // 17158 // // Example iterating over at most 3 pages of a ListPipelineParametersForExecution operation. 17159 // pageNum := 0 17160 // err := client.ListPipelineParametersForExecutionPages(params, 17161 // func(page *sagemaker.ListPipelineParametersForExecutionOutput, lastPage bool) bool { 17162 // pageNum++ 17163 // fmt.Println(page) 17164 // return pageNum <= 3 17165 // }) 17166 // 17167 func (c *SageMaker) ListPipelineParametersForExecutionPages(input *ListPipelineParametersForExecutionInput, fn func(*ListPipelineParametersForExecutionOutput, bool) bool) error { 17168 return c.ListPipelineParametersForExecutionPagesWithContext(aws.BackgroundContext(), input, fn) 17169 } 17170 17171 // ListPipelineParametersForExecutionPagesWithContext same as ListPipelineParametersForExecutionPages except 17172 // it takes a Context and allows setting request options on the pages. 17173 // 17174 // The context must be non-nil and will be used for request cancellation. If 17175 // the context is nil a panic will occur. In the future the SDK may create 17176 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 17177 // for more information on using Contexts. 17178 func (c *SageMaker) ListPipelineParametersForExecutionPagesWithContext(ctx aws.Context, input *ListPipelineParametersForExecutionInput, fn func(*ListPipelineParametersForExecutionOutput, bool) bool, opts ...request.Option) error { 17179 p := request.Pagination{ 17180 NewRequest: func() (*request.Request, error) { 17181 var inCpy *ListPipelineParametersForExecutionInput 17182 if input != nil { 17183 tmp := *input 17184 inCpy = &tmp 17185 } 17186 req, _ := c.ListPipelineParametersForExecutionRequest(inCpy) 17187 req.SetContext(ctx) 17188 req.ApplyOptions(opts...) 17189 return req, nil 17190 }, 17191 } 17192 17193 for p.Next() { 17194 if !fn(p.Page().(*ListPipelineParametersForExecutionOutput), !p.HasNextPage()) { 17195 break 17196 } 17197 } 17198 17199 return p.Err() 17200 } 17201 17202 const opListPipelines = "ListPipelines" 17203 17204 // ListPipelinesRequest generates a "aws/request.Request" representing the 17205 // client's request for the ListPipelines operation. The "output" return 17206 // value will be populated with the request's response once the request completes 17207 // successfully. 17208 // 17209 // Use "Send" method on the returned Request to send the API call to the service. 17210 // the "output" return value is not valid until after Send returns without error. 17211 // 17212 // See ListPipelines for more information on using the ListPipelines 17213 // API call, and error handling. 17214 // 17215 // This method is useful when you want to inject custom logic or configuration 17216 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 17217 // 17218 // 17219 // // Example sending a request using the ListPipelinesRequest method. 17220 // req, resp := client.ListPipelinesRequest(params) 17221 // 17222 // err := req.Send() 17223 // if err == nil { // resp is now filled 17224 // fmt.Println(resp) 17225 // } 17226 // 17227 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListPipelines 17228 func (c *SageMaker) ListPipelinesRequest(input *ListPipelinesInput) (req *request.Request, output *ListPipelinesOutput) { 17229 op := &request.Operation{ 17230 Name: opListPipelines, 17231 HTTPMethod: "POST", 17232 HTTPPath: "/", 17233 Paginator: &request.Paginator{ 17234 InputTokens: []string{"NextToken"}, 17235 OutputTokens: []string{"NextToken"}, 17236 LimitToken: "MaxResults", 17237 TruncationToken: "", 17238 }, 17239 } 17240 17241 if input == nil { 17242 input = &ListPipelinesInput{} 17243 } 17244 17245 output = &ListPipelinesOutput{} 17246 req = c.newRequest(op, input, output) 17247 return 17248 } 17249 17250 // ListPipelines API operation for Amazon SageMaker Service. 17251 // 17252 // Gets a list of pipelines. 17253 // 17254 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 17255 // with awserr.Error's Code and Message methods to get detailed information about 17256 // the error. 17257 // 17258 // See the AWS API reference guide for Amazon SageMaker Service's 17259 // API operation ListPipelines for usage and error information. 17260 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListPipelines 17261 func (c *SageMaker) ListPipelines(input *ListPipelinesInput) (*ListPipelinesOutput, error) { 17262 req, out := c.ListPipelinesRequest(input) 17263 return out, req.Send() 17264 } 17265 17266 // ListPipelinesWithContext is the same as ListPipelines with the addition of 17267 // the ability to pass a context and additional request options. 17268 // 17269 // See ListPipelines for details on how to use this API operation. 17270 // 17271 // The context must be non-nil and will be used for request cancellation. If 17272 // the context is nil a panic will occur. In the future the SDK may create 17273 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 17274 // for more information on using Contexts. 17275 func (c *SageMaker) ListPipelinesWithContext(ctx aws.Context, input *ListPipelinesInput, opts ...request.Option) (*ListPipelinesOutput, error) { 17276 req, out := c.ListPipelinesRequest(input) 17277 req.SetContext(ctx) 17278 req.ApplyOptions(opts...) 17279 return out, req.Send() 17280 } 17281 17282 // ListPipelinesPages iterates over the pages of a ListPipelines operation, 17283 // calling the "fn" function with the response data for each page. To stop 17284 // iterating, return false from the fn function. 17285 // 17286 // See ListPipelines method for more information on how to use this operation. 17287 // 17288 // Note: This operation can generate multiple requests to a service. 17289 // 17290 // // Example iterating over at most 3 pages of a ListPipelines operation. 17291 // pageNum := 0 17292 // err := client.ListPipelinesPages(params, 17293 // func(page *sagemaker.ListPipelinesOutput, lastPage bool) bool { 17294 // pageNum++ 17295 // fmt.Println(page) 17296 // return pageNum <= 3 17297 // }) 17298 // 17299 func (c *SageMaker) ListPipelinesPages(input *ListPipelinesInput, fn func(*ListPipelinesOutput, bool) bool) error { 17300 return c.ListPipelinesPagesWithContext(aws.BackgroundContext(), input, fn) 17301 } 17302 17303 // ListPipelinesPagesWithContext same as ListPipelinesPages except 17304 // it takes a Context and allows setting request options on the pages. 17305 // 17306 // The context must be non-nil and will be used for request cancellation. If 17307 // the context is nil a panic will occur. In the future the SDK may create 17308 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 17309 // for more information on using Contexts. 17310 func (c *SageMaker) ListPipelinesPagesWithContext(ctx aws.Context, input *ListPipelinesInput, fn func(*ListPipelinesOutput, bool) bool, opts ...request.Option) error { 17311 p := request.Pagination{ 17312 NewRequest: func() (*request.Request, error) { 17313 var inCpy *ListPipelinesInput 17314 if input != nil { 17315 tmp := *input 17316 inCpy = &tmp 17317 } 17318 req, _ := c.ListPipelinesRequest(inCpy) 17319 req.SetContext(ctx) 17320 req.ApplyOptions(opts...) 17321 return req, nil 17322 }, 17323 } 17324 17325 for p.Next() { 17326 if !fn(p.Page().(*ListPipelinesOutput), !p.HasNextPage()) { 17327 break 17328 } 17329 } 17330 17331 return p.Err() 17332 } 17333 17334 const opListProcessingJobs = "ListProcessingJobs" 17335 17336 // ListProcessingJobsRequest generates a "aws/request.Request" representing the 17337 // client's request for the ListProcessingJobs operation. The "output" return 17338 // value will be populated with the request's response once the request completes 17339 // successfully. 17340 // 17341 // Use "Send" method on the returned Request to send the API call to the service. 17342 // the "output" return value is not valid until after Send returns without error. 17343 // 17344 // See ListProcessingJobs for more information on using the ListProcessingJobs 17345 // API call, and error handling. 17346 // 17347 // This method is useful when you want to inject custom logic or configuration 17348 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 17349 // 17350 // 17351 // // Example sending a request using the ListProcessingJobsRequest method. 17352 // req, resp := client.ListProcessingJobsRequest(params) 17353 // 17354 // err := req.Send() 17355 // if err == nil { // resp is now filled 17356 // fmt.Println(resp) 17357 // } 17358 // 17359 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListProcessingJobs 17360 func (c *SageMaker) ListProcessingJobsRequest(input *ListProcessingJobsInput) (req *request.Request, output *ListProcessingJobsOutput) { 17361 op := &request.Operation{ 17362 Name: opListProcessingJobs, 17363 HTTPMethod: "POST", 17364 HTTPPath: "/", 17365 Paginator: &request.Paginator{ 17366 InputTokens: []string{"NextToken"}, 17367 OutputTokens: []string{"NextToken"}, 17368 LimitToken: "MaxResults", 17369 TruncationToken: "", 17370 }, 17371 } 17372 17373 if input == nil { 17374 input = &ListProcessingJobsInput{} 17375 } 17376 17377 output = &ListProcessingJobsOutput{} 17378 req = c.newRequest(op, input, output) 17379 return 17380 } 17381 17382 // ListProcessingJobs API operation for Amazon SageMaker Service. 17383 // 17384 // Lists processing jobs that satisfy various filters. 17385 // 17386 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 17387 // with awserr.Error's Code and Message methods to get detailed information about 17388 // the error. 17389 // 17390 // See the AWS API reference guide for Amazon SageMaker Service's 17391 // API operation ListProcessingJobs for usage and error information. 17392 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListProcessingJobs 17393 func (c *SageMaker) ListProcessingJobs(input *ListProcessingJobsInput) (*ListProcessingJobsOutput, error) { 17394 req, out := c.ListProcessingJobsRequest(input) 17395 return out, req.Send() 17396 } 17397 17398 // ListProcessingJobsWithContext is the same as ListProcessingJobs with the addition of 17399 // the ability to pass a context and additional request options. 17400 // 17401 // See ListProcessingJobs for details on how to use this API operation. 17402 // 17403 // The context must be non-nil and will be used for request cancellation. If 17404 // the context is nil a panic will occur. In the future the SDK may create 17405 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 17406 // for more information on using Contexts. 17407 func (c *SageMaker) ListProcessingJobsWithContext(ctx aws.Context, input *ListProcessingJobsInput, opts ...request.Option) (*ListProcessingJobsOutput, error) { 17408 req, out := c.ListProcessingJobsRequest(input) 17409 req.SetContext(ctx) 17410 req.ApplyOptions(opts...) 17411 return out, req.Send() 17412 } 17413 17414 // ListProcessingJobsPages iterates over the pages of a ListProcessingJobs operation, 17415 // calling the "fn" function with the response data for each page. To stop 17416 // iterating, return false from the fn function. 17417 // 17418 // See ListProcessingJobs method for more information on how to use this operation. 17419 // 17420 // Note: This operation can generate multiple requests to a service. 17421 // 17422 // // Example iterating over at most 3 pages of a ListProcessingJobs operation. 17423 // pageNum := 0 17424 // err := client.ListProcessingJobsPages(params, 17425 // func(page *sagemaker.ListProcessingJobsOutput, lastPage bool) bool { 17426 // pageNum++ 17427 // fmt.Println(page) 17428 // return pageNum <= 3 17429 // }) 17430 // 17431 func (c *SageMaker) ListProcessingJobsPages(input *ListProcessingJobsInput, fn func(*ListProcessingJobsOutput, bool) bool) error { 17432 return c.ListProcessingJobsPagesWithContext(aws.BackgroundContext(), input, fn) 17433 } 17434 17435 // ListProcessingJobsPagesWithContext same as ListProcessingJobsPages except 17436 // it takes a Context and allows setting request options on the pages. 17437 // 17438 // The context must be non-nil and will be used for request cancellation. If 17439 // the context is nil a panic will occur. In the future the SDK may create 17440 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 17441 // for more information on using Contexts. 17442 func (c *SageMaker) ListProcessingJobsPagesWithContext(ctx aws.Context, input *ListProcessingJobsInput, fn func(*ListProcessingJobsOutput, bool) bool, opts ...request.Option) error { 17443 p := request.Pagination{ 17444 NewRequest: func() (*request.Request, error) { 17445 var inCpy *ListProcessingJobsInput 17446 if input != nil { 17447 tmp := *input 17448 inCpy = &tmp 17449 } 17450 req, _ := c.ListProcessingJobsRequest(inCpy) 17451 req.SetContext(ctx) 17452 req.ApplyOptions(opts...) 17453 return req, nil 17454 }, 17455 } 17456 17457 for p.Next() { 17458 if !fn(p.Page().(*ListProcessingJobsOutput), !p.HasNextPage()) { 17459 break 17460 } 17461 } 17462 17463 return p.Err() 17464 } 17465 17466 const opListProjects = "ListProjects" 17467 17468 // ListProjectsRequest generates a "aws/request.Request" representing the 17469 // client's request for the ListProjects operation. The "output" return 17470 // value will be populated with the request's response once the request completes 17471 // successfully. 17472 // 17473 // Use "Send" method on the returned Request to send the API call to the service. 17474 // the "output" return value is not valid until after Send returns without error. 17475 // 17476 // See ListProjects for more information on using the ListProjects 17477 // API call, and error handling. 17478 // 17479 // This method is useful when you want to inject custom logic or configuration 17480 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 17481 // 17482 // 17483 // // Example sending a request using the ListProjectsRequest method. 17484 // req, resp := client.ListProjectsRequest(params) 17485 // 17486 // err := req.Send() 17487 // if err == nil { // resp is now filled 17488 // fmt.Println(resp) 17489 // } 17490 // 17491 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListProjects 17492 func (c *SageMaker) ListProjectsRequest(input *ListProjectsInput) (req *request.Request, output *ListProjectsOutput) { 17493 op := &request.Operation{ 17494 Name: opListProjects, 17495 HTTPMethod: "POST", 17496 HTTPPath: "/", 17497 Paginator: &request.Paginator{ 17498 InputTokens: []string{"NextToken"}, 17499 OutputTokens: []string{"NextToken"}, 17500 LimitToken: "MaxResults", 17501 TruncationToken: "", 17502 }, 17503 } 17504 17505 if input == nil { 17506 input = &ListProjectsInput{} 17507 } 17508 17509 output = &ListProjectsOutput{} 17510 req = c.newRequest(op, input, output) 17511 return 17512 } 17513 17514 // ListProjects API operation for Amazon SageMaker Service. 17515 // 17516 // Gets a list of the projects in an Amazon Web Services account. 17517 // 17518 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 17519 // with awserr.Error's Code and Message methods to get detailed information about 17520 // the error. 17521 // 17522 // See the AWS API reference guide for Amazon SageMaker Service's 17523 // API operation ListProjects for usage and error information. 17524 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListProjects 17525 func (c *SageMaker) ListProjects(input *ListProjectsInput) (*ListProjectsOutput, error) { 17526 req, out := c.ListProjectsRequest(input) 17527 return out, req.Send() 17528 } 17529 17530 // ListProjectsWithContext is the same as ListProjects with the addition of 17531 // the ability to pass a context and additional request options. 17532 // 17533 // See ListProjects for details on how to use this API operation. 17534 // 17535 // The context must be non-nil and will be used for request cancellation. If 17536 // the context is nil a panic will occur. In the future the SDK may create 17537 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 17538 // for more information on using Contexts. 17539 func (c *SageMaker) ListProjectsWithContext(ctx aws.Context, input *ListProjectsInput, opts ...request.Option) (*ListProjectsOutput, error) { 17540 req, out := c.ListProjectsRequest(input) 17541 req.SetContext(ctx) 17542 req.ApplyOptions(opts...) 17543 return out, req.Send() 17544 } 17545 17546 // ListProjectsPages iterates over the pages of a ListProjects operation, 17547 // calling the "fn" function with the response data for each page. To stop 17548 // iterating, return false from the fn function. 17549 // 17550 // See ListProjects method for more information on how to use this operation. 17551 // 17552 // Note: This operation can generate multiple requests to a service. 17553 // 17554 // // Example iterating over at most 3 pages of a ListProjects operation. 17555 // pageNum := 0 17556 // err := client.ListProjectsPages(params, 17557 // func(page *sagemaker.ListProjectsOutput, lastPage bool) bool { 17558 // pageNum++ 17559 // fmt.Println(page) 17560 // return pageNum <= 3 17561 // }) 17562 // 17563 func (c *SageMaker) ListProjectsPages(input *ListProjectsInput, fn func(*ListProjectsOutput, bool) bool) error { 17564 return c.ListProjectsPagesWithContext(aws.BackgroundContext(), input, fn) 17565 } 17566 17567 // ListProjectsPagesWithContext same as ListProjectsPages except 17568 // it takes a Context and allows setting request options on the pages. 17569 // 17570 // The context must be non-nil and will be used for request cancellation. If 17571 // the context is nil a panic will occur. In the future the SDK may create 17572 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 17573 // for more information on using Contexts. 17574 func (c *SageMaker) ListProjectsPagesWithContext(ctx aws.Context, input *ListProjectsInput, fn func(*ListProjectsOutput, bool) bool, opts ...request.Option) error { 17575 p := request.Pagination{ 17576 NewRequest: func() (*request.Request, error) { 17577 var inCpy *ListProjectsInput 17578 if input != nil { 17579 tmp := *input 17580 inCpy = &tmp 17581 } 17582 req, _ := c.ListProjectsRequest(inCpy) 17583 req.SetContext(ctx) 17584 req.ApplyOptions(opts...) 17585 return req, nil 17586 }, 17587 } 17588 17589 for p.Next() { 17590 if !fn(p.Page().(*ListProjectsOutput), !p.HasNextPage()) { 17591 break 17592 } 17593 } 17594 17595 return p.Err() 17596 } 17597 17598 const opListStudioLifecycleConfigs = "ListStudioLifecycleConfigs" 17599 17600 // ListStudioLifecycleConfigsRequest generates a "aws/request.Request" representing the 17601 // client's request for the ListStudioLifecycleConfigs operation. The "output" return 17602 // value will be populated with the request's response once the request completes 17603 // successfully. 17604 // 17605 // Use "Send" method on the returned Request to send the API call to the service. 17606 // the "output" return value is not valid until after Send returns without error. 17607 // 17608 // See ListStudioLifecycleConfigs for more information on using the ListStudioLifecycleConfigs 17609 // API call, and error handling. 17610 // 17611 // This method is useful when you want to inject custom logic or configuration 17612 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 17613 // 17614 // 17615 // // Example sending a request using the ListStudioLifecycleConfigsRequest method. 17616 // req, resp := client.ListStudioLifecycleConfigsRequest(params) 17617 // 17618 // err := req.Send() 17619 // if err == nil { // resp is now filled 17620 // fmt.Println(resp) 17621 // } 17622 // 17623 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListStudioLifecycleConfigs 17624 func (c *SageMaker) ListStudioLifecycleConfigsRequest(input *ListStudioLifecycleConfigsInput) (req *request.Request, output *ListStudioLifecycleConfigsOutput) { 17625 op := &request.Operation{ 17626 Name: opListStudioLifecycleConfigs, 17627 HTTPMethod: "POST", 17628 HTTPPath: "/", 17629 Paginator: &request.Paginator{ 17630 InputTokens: []string{"NextToken"}, 17631 OutputTokens: []string{"NextToken"}, 17632 LimitToken: "MaxResults", 17633 TruncationToken: "", 17634 }, 17635 } 17636 17637 if input == nil { 17638 input = &ListStudioLifecycleConfigsInput{} 17639 } 17640 17641 output = &ListStudioLifecycleConfigsOutput{} 17642 req = c.newRequest(op, input, output) 17643 return 17644 } 17645 17646 // ListStudioLifecycleConfigs API operation for Amazon SageMaker Service. 17647 // 17648 // Lists the Studio Lifecycle Configurations in your Amazon Web Services Account. 17649 // 17650 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 17651 // with awserr.Error's Code and Message methods to get detailed information about 17652 // the error. 17653 // 17654 // See the AWS API reference guide for Amazon SageMaker Service's 17655 // API operation ListStudioLifecycleConfigs for usage and error information. 17656 // 17657 // Returned Error Types: 17658 // * ResourceInUse 17659 // Resource being accessed is in use. 17660 // 17661 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListStudioLifecycleConfigs 17662 func (c *SageMaker) ListStudioLifecycleConfigs(input *ListStudioLifecycleConfigsInput) (*ListStudioLifecycleConfigsOutput, error) { 17663 req, out := c.ListStudioLifecycleConfigsRequest(input) 17664 return out, req.Send() 17665 } 17666 17667 // ListStudioLifecycleConfigsWithContext is the same as ListStudioLifecycleConfigs with the addition of 17668 // the ability to pass a context and additional request options. 17669 // 17670 // See ListStudioLifecycleConfigs for details on how to use this API operation. 17671 // 17672 // The context must be non-nil and will be used for request cancellation. If 17673 // the context is nil a panic will occur. In the future the SDK may create 17674 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 17675 // for more information on using Contexts. 17676 func (c *SageMaker) ListStudioLifecycleConfigsWithContext(ctx aws.Context, input *ListStudioLifecycleConfigsInput, opts ...request.Option) (*ListStudioLifecycleConfigsOutput, error) { 17677 req, out := c.ListStudioLifecycleConfigsRequest(input) 17678 req.SetContext(ctx) 17679 req.ApplyOptions(opts...) 17680 return out, req.Send() 17681 } 17682 17683 // ListStudioLifecycleConfigsPages iterates over the pages of a ListStudioLifecycleConfigs operation, 17684 // calling the "fn" function with the response data for each page. To stop 17685 // iterating, return false from the fn function. 17686 // 17687 // See ListStudioLifecycleConfigs method for more information on how to use this operation. 17688 // 17689 // Note: This operation can generate multiple requests to a service. 17690 // 17691 // // Example iterating over at most 3 pages of a ListStudioLifecycleConfigs operation. 17692 // pageNum := 0 17693 // err := client.ListStudioLifecycleConfigsPages(params, 17694 // func(page *sagemaker.ListStudioLifecycleConfigsOutput, lastPage bool) bool { 17695 // pageNum++ 17696 // fmt.Println(page) 17697 // return pageNum <= 3 17698 // }) 17699 // 17700 func (c *SageMaker) ListStudioLifecycleConfigsPages(input *ListStudioLifecycleConfigsInput, fn func(*ListStudioLifecycleConfigsOutput, bool) bool) error { 17701 return c.ListStudioLifecycleConfigsPagesWithContext(aws.BackgroundContext(), input, fn) 17702 } 17703 17704 // ListStudioLifecycleConfigsPagesWithContext same as ListStudioLifecycleConfigsPages except 17705 // it takes a Context and allows setting request options on the pages. 17706 // 17707 // The context must be non-nil and will be used for request cancellation. If 17708 // the context is nil a panic will occur. In the future the SDK may create 17709 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 17710 // for more information on using Contexts. 17711 func (c *SageMaker) ListStudioLifecycleConfigsPagesWithContext(ctx aws.Context, input *ListStudioLifecycleConfigsInput, fn func(*ListStudioLifecycleConfigsOutput, bool) bool, opts ...request.Option) error { 17712 p := request.Pagination{ 17713 NewRequest: func() (*request.Request, error) { 17714 var inCpy *ListStudioLifecycleConfigsInput 17715 if input != nil { 17716 tmp := *input 17717 inCpy = &tmp 17718 } 17719 req, _ := c.ListStudioLifecycleConfigsRequest(inCpy) 17720 req.SetContext(ctx) 17721 req.ApplyOptions(opts...) 17722 return req, nil 17723 }, 17724 } 17725 17726 for p.Next() { 17727 if !fn(p.Page().(*ListStudioLifecycleConfigsOutput), !p.HasNextPage()) { 17728 break 17729 } 17730 } 17731 17732 return p.Err() 17733 } 17734 17735 const opListSubscribedWorkteams = "ListSubscribedWorkteams" 17736 17737 // ListSubscribedWorkteamsRequest generates a "aws/request.Request" representing the 17738 // client's request for the ListSubscribedWorkteams operation. The "output" return 17739 // value will be populated with the request's response once the request completes 17740 // successfully. 17741 // 17742 // Use "Send" method on the returned Request to send the API call to the service. 17743 // the "output" return value is not valid until after Send returns without error. 17744 // 17745 // See ListSubscribedWorkteams for more information on using the ListSubscribedWorkteams 17746 // API call, and error handling. 17747 // 17748 // This method is useful when you want to inject custom logic or configuration 17749 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 17750 // 17751 // 17752 // // Example sending a request using the ListSubscribedWorkteamsRequest method. 17753 // req, resp := client.ListSubscribedWorkteamsRequest(params) 17754 // 17755 // err := req.Send() 17756 // if err == nil { // resp is now filled 17757 // fmt.Println(resp) 17758 // } 17759 // 17760 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListSubscribedWorkteams 17761 func (c *SageMaker) ListSubscribedWorkteamsRequest(input *ListSubscribedWorkteamsInput) (req *request.Request, output *ListSubscribedWorkteamsOutput) { 17762 op := &request.Operation{ 17763 Name: opListSubscribedWorkteams, 17764 HTTPMethod: "POST", 17765 HTTPPath: "/", 17766 Paginator: &request.Paginator{ 17767 InputTokens: []string{"NextToken"}, 17768 OutputTokens: []string{"NextToken"}, 17769 LimitToken: "MaxResults", 17770 TruncationToken: "", 17771 }, 17772 } 17773 17774 if input == nil { 17775 input = &ListSubscribedWorkteamsInput{} 17776 } 17777 17778 output = &ListSubscribedWorkteamsOutput{} 17779 req = c.newRequest(op, input, output) 17780 return 17781 } 17782 17783 // ListSubscribedWorkteams API operation for Amazon SageMaker Service. 17784 // 17785 // Gets a list of the work teams that you are subscribed to in the Amazon Web 17786 // Services Marketplace. The list may be empty if no work team satisfies the 17787 // filter specified in the NameContains parameter. 17788 // 17789 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 17790 // with awserr.Error's Code and Message methods to get detailed information about 17791 // the error. 17792 // 17793 // See the AWS API reference guide for Amazon SageMaker Service's 17794 // API operation ListSubscribedWorkteams for usage and error information. 17795 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListSubscribedWorkteams 17796 func (c *SageMaker) ListSubscribedWorkteams(input *ListSubscribedWorkteamsInput) (*ListSubscribedWorkteamsOutput, error) { 17797 req, out := c.ListSubscribedWorkteamsRequest(input) 17798 return out, req.Send() 17799 } 17800 17801 // ListSubscribedWorkteamsWithContext is the same as ListSubscribedWorkteams with the addition of 17802 // the ability to pass a context and additional request options. 17803 // 17804 // See ListSubscribedWorkteams for details on how to use this API operation. 17805 // 17806 // The context must be non-nil and will be used for request cancellation. If 17807 // the context is nil a panic will occur. In the future the SDK may create 17808 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 17809 // for more information on using Contexts. 17810 func (c *SageMaker) ListSubscribedWorkteamsWithContext(ctx aws.Context, input *ListSubscribedWorkteamsInput, opts ...request.Option) (*ListSubscribedWorkteamsOutput, error) { 17811 req, out := c.ListSubscribedWorkteamsRequest(input) 17812 req.SetContext(ctx) 17813 req.ApplyOptions(opts...) 17814 return out, req.Send() 17815 } 17816 17817 // ListSubscribedWorkteamsPages iterates over the pages of a ListSubscribedWorkteams operation, 17818 // calling the "fn" function with the response data for each page. To stop 17819 // iterating, return false from the fn function. 17820 // 17821 // See ListSubscribedWorkteams method for more information on how to use this operation. 17822 // 17823 // Note: This operation can generate multiple requests to a service. 17824 // 17825 // // Example iterating over at most 3 pages of a ListSubscribedWorkteams operation. 17826 // pageNum := 0 17827 // err := client.ListSubscribedWorkteamsPages(params, 17828 // func(page *sagemaker.ListSubscribedWorkteamsOutput, lastPage bool) bool { 17829 // pageNum++ 17830 // fmt.Println(page) 17831 // return pageNum <= 3 17832 // }) 17833 // 17834 func (c *SageMaker) ListSubscribedWorkteamsPages(input *ListSubscribedWorkteamsInput, fn func(*ListSubscribedWorkteamsOutput, bool) bool) error { 17835 return c.ListSubscribedWorkteamsPagesWithContext(aws.BackgroundContext(), input, fn) 17836 } 17837 17838 // ListSubscribedWorkteamsPagesWithContext same as ListSubscribedWorkteamsPages except 17839 // it takes a Context and allows setting request options on the pages. 17840 // 17841 // The context must be non-nil and will be used for request cancellation. If 17842 // the context is nil a panic will occur. In the future the SDK may create 17843 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 17844 // for more information on using Contexts. 17845 func (c *SageMaker) ListSubscribedWorkteamsPagesWithContext(ctx aws.Context, input *ListSubscribedWorkteamsInput, fn func(*ListSubscribedWorkteamsOutput, bool) bool, opts ...request.Option) error { 17846 p := request.Pagination{ 17847 NewRequest: func() (*request.Request, error) { 17848 var inCpy *ListSubscribedWorkteamsInput 17849 if input != nil { 17850 tmp := *input 17851 inCpy = &tmp 17852 } 17853 req, _ := c.ListSubscribedWorkteamsRequest(inCpy) 17854 req.SetContext(ctx) 17855 req.ApplyOptions(opts...) 17856 return req, nil 17857 }, 17858 } 17859 17860 for p.Next() { 17861 if !fn(p.Page().(*ListSubscribedWorkteamsOutput), !p.HasNextPage()) { 17862 break 17863 } 17864 } 17865 17866 return p.Err() 17867 } 17868 17869 const opListTags = "ListTags" 17870 17871 // ListTagsRequest generates a "aws/request.Request" representing the 17872 // client's request for the ListTags operation. The "output" return 17873 // value will be populated with the request's response once the request completes 17874 // successfully. 17875 // 17876 // Use "Send" method on the returned Request to send the API call to the service. 17877 // the "output" return value is not valid until after Send returns without error. 17878 // 17879 // See ListTags for more information on using the ListTags 17880 // API call, and error handling. 17881 // 17882 // This method is useful when you want to inject custom logic or configuration 17883 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 17884 // 17885 // 17886 // // Example sending a request using the ListTagsRequest method. 17887 // req, resp := client.ListTagsRequest(params) 17888 // 17889 // err := req.Send() 17890 // if err == nil { // resp is now filled 17891 // fmt.Println(resp) 17892 // } 17893 // 17894 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTags 17895 func (c *SageMaker) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput) { 17896 op := &request.Operation{ 17897 Name: opListTags, 17898 HTTPMethod: "POST", 17899 HTTPPath: "/", 17900 Paginator: &request.Paginator{ 17901 InputTokens: []string{"NextToken"}, 17902 OutputTokens: []string{"NextToken"}, 17903 LimitToken: "MaxResults", 17904 TruncationToken: "", 17905 }, 17906 } 17907 17908 if input == nil { 17909 input = &ListTagsInput{} 17910 } 17911 17912 output = &ListTagsOutput{} 17913 req = c.newRequest(op, input, output) 17914 return 17915 } 17916 17917 // ListTags API operation for Amazon SageMaker Service. 17918 // 17919 // Returns the tags for the specified Amazon SageMaker resource. 17920 // 17921 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 17922 // with awserr.Error's Code and Message methods to get detailed information about 17923 // the error. 17924 // 17925 // See the AWS API reference guide for Amazon SageMaker Service's 17926 // API operation ListTags for usage and error information. 17927 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTags 17928 func (c *SageMaker) ListTags(input *ListTagsInput) (*ListTagsOutput, error) { 17929 req, out := c.ListTagsRequest(input) 17930 return out, req.Send() 17931 } 17932 17933 // ListTagsWithContext is the same as ListTags with the addition of 17934 // the ability to pass a context and additional request options. 17935 // 17936 // See ListTags for details on how to use this API operation. 17937 // 17938 // The context must be non-nil and will be used for request cancellation. If 17939 // the context is nil a panic will occur. In the future the SDK may create 17940 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 17941 // for more information on using Contexts. 17942 func (c *SageMaker) ListTagsWithContext(ctx aws.Context, input *ListTagsInput, opts ...request.Option) (*ListTagsOutput, error) { 17943 req, out := c.ListTagsRequest(input) 17944 req.SetContext(ctx) 17945 req.ApplyOptions(opts...) 17946 return out, req.Send() 17947 } 17948 17949 // ListTagsPages iterates over the pages of a ListTags operation, 17950 // calling the "fn" function with the response data for each page. To stop 17951 // iterating, return false from the fn function. 17952 // 17953 // See ListTags method for more information on how to use this operation. 17954 // 17955 // Note: This operation can generate multiple requests to a service. 17956 // 17957 // // Example iterating over at most 3 pages of a ListTags operation. 17958 // pageNum := 0 17959 // err := client.ListTagsPages(params, 17960 // func(page *sagemaker.ListTagsOutput, lastPage bool) bool { 17961 // pageNum++ 17962 // fmt.Println(page) 17963 // return pageNum <= 3 17964 // }) 17965 // 17966 func (c *SageMaker) ListTagsPages(input *ListTagsInput, fn func(*ListTagsOutput, bool) bool) error { 17967 return c.ListTagsPagesWithContext(aws.BackgroundContext(), input, fn) 17968 } 17969 17970 // ListTagsPagesWithContext same as ListTagsPages except 17971 // it takes a Context and allows setting request options on the pages. 17972 // 17973 // The context must be non-nil and will be used for request cancellation. If 17974 // the context is nil a panic will occur. In the future the SDK may create 17975 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 17976 // for more information on using Contexts. 17977 func (c *SageMaker) ListTagsPagesWithContext(ctx aws.Context, input *ListTagsInput, fn func(*ListTagsOutput, bool) bool, opts ...request.Option) error { 17978 p := request.Pagination{ 17979 NewRequest: func() (*request.Request, error) { 17980 var inCpy *ListTagsInput 17981 if input != nil { 17982 tmp := *input 17983 inCpy = &tmp 17984 } 17985 req, _ := c.ListTagsRequest(inCpy) 17986 req.SetContext(ctx) 17987 req.ApplyOptions(opts...) 17988 return req, nil 17989 }, 17990 } 17991 17992 for p.Next() { 17993 if !fn(p.Page().(*ListTagsOutput), !p.HasNextPage()) { 17994 break 17995 } 17996 } 17997 17998 return p.Err() 17999 } 18000 18001 const opListTrainingJobs = "ListTrainingJobs" 18002 18003 // ListTrainingJobsRequest generates a "aws/request.Request" representing the 18004 // client's request for the ListTrainingJobs operation. The "output" return 18005 // value will be populated with the request's response once the request completes 18006 // successfully. 18007 // 18008 // Use "Send" method on the returned Request to send the API call to the service. 18009 // the "output" return value is not valid until after Send returns without error. 18010 // 18011 // See ListTrainingJobs for more information on using the ListTrainingJobs 18012 // API call, and error handling. 18013 // 18014 // This method is useful when you want to inject custom logic or configuration 18015 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 18016 // 18017 // 18018 // // Example sending a request using the ListTrainingJobsRequest method. 18019 // req, resp := client.ListTrainingJobsRequest(params) 18020 // 18021 // err := req.Send() 18022 // if err == nil { // resp is now filled 18023 // fmt.Println(resp) 18024 // } 18025 // 18026 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobs 18027 func (c *SageMaker) ListTrainingJobsRequest(input *ListTrainingJobsInput) (req *request.Request, output *ListTrainingJobsOutput) { 18028 op := &request.Operation{ 18029 Name: opListTrainingJobs, 18030 HTTPMethod: "POST", 18031 HTTPPath: "/", 18032 Paginator: &request.Paginator{ 18033 InputTokens: []string{"NextToken"}, 18034 OutputTokens: []string{"NextToken"}, 18035 LimitToken: "MaxResults", 18036 TruncationToken: "", 18037 }, 18038 } 18039 18040 if input == nil { 18041 input = &ListTrainingJobsInput{} 18042 } 18043 18044 output = &ListTrainingJobsOutput{} 18045 req = c.newRequest(op, input, output) 18046 return 18047 } 18048 18049 // ListTrainingJobs API operation for Amazon SageMaker Service. 18050 // 18051 // Lists training jobs. 18052 // 18053 // When StatusEquals and MaxResults are set at the same time, the MaxResults 18054 // number of training jobs are first retrieved ignoring the StatusEquals parameter 18055 // and then they are filtered by the StatusEquals parameter, which is returned 18056 // as a response. 18057 // 18058 // For example, if ListTrainingJobs is invoked with the following parameters: 18059 // 18060 // { ... MaxResults: 100, StatusEquals: InProgress ... } 18061 // 18062 // First, 100 trainings jobs with any status, including those other than InProgress, 18063 // are selected (sorted according to the creation time, from the most current 18064 // to the oldest). Next, those with a status of InProgress are returned. 18065 // 18066 // You can quickly test the API using the following Amazon Web Services CLI 18067 // code. 18068 // 18069 // aws sagemaker list-training-jobs --max-results 100 --status-equals InProgress 18070 // 18071 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 18072 // with awserr.Error's Code and Message methods to get detailed information about 18073 // the error. 18074 // 18075 // See the AWS API reference guide for Amazon SageMaker Service's 18076 // API operation ListTrainingJobs for usage and error information. 18077 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobs 18078 func (c *SageMaker) ListTrainingJobs(input *ListTrainingJobsInput) (*ListTrainingJobsOutput, error) { 18079 req, out := c.ListTrainingJobsRequest(input) 18080 return out, req.Send() 18081 } 18082 18083 // ListTrainingJobsWithContext is the same as ListTrainingJobs with the addition of 18084 // the ability to pass a context and additional request options. 18085 // 18086 // See ListTrainingJobs for details on how to use this API operation. 18087 // 18088 // The context must be non-nil and will be used for request cancellation. If 18089 // the context is nil a panic will occur. In the future the SDK may create 18090 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 18091 // for more information on using Contexts. 18092 func (c *SageMaker) ListTrainingJobsWithContext(ctx aws.Context, input *ListTrainingJobsInput, opts ...request.Option) (*ListTrainingJobsOutput, error) { 18093 req, out := c.ListTrainingJobsRequest(input) 18094 req.SetContext(ctx) 18095 req.ApplyOptions(opts...) 18096 return out, req.Send() 18097 } 18098 18099 // ListTrainingJobsPages iterates over the pages of a ListTrainingJobs operation, 18100 // calling the "fn" function with the response data for each page. To stop 18101 // iterating, return false from the fn function. 18102 // 18103 // See ListTrainingJobs method for more information on how to use this operation. 18104 // 18105 // Note: This operation can generate multiple requests to a service. 18106 // 18107 // // Example iterating over at most 3 pages of a ListTrainingJobs operation. 18108 // pageNum := 0 18109 // err := client.ListTrainingJobsPages(params, 18110 // func(page *sagemaker.ListTrainingJobsOutput, lastPage bool) bool { 18111 // pageNum++ 18112 // fmt.Println(page) 18113 // return pageNum <= 3 18114 // }) 18115 // 18116 func (c *SageMaker) ListTrainingJobsPages(input *ListTrainingJobsInput, fn func(*ListTrainingJobsOutput, bool) bool) error { 18117 return c.ListTrainingJobsPagesWithContext(aws.BackgroundContext(), input, fn) 18118 } 18119 18120 // ListTrainingJobsPagesWithContext same as ListTrainingJobsPages except 18121 // it takes a Context and allows setting request options on the pages. 18122 // 18123 // The context must be non-nil and will be used for request cancellation. If 18124 // the context is nil a panic will occur. In the future the SDK may create 18125 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 18126 // for more information on using Contexts. 18127 func (c *SageMaker) ListTrainingJobsPagesWithContext(ctx aws.Context, input *ListTrainingJobsInput, fn func(*ListTrainingJobsOutput, bool) bool, opts ...request.Option) error { 18128 p := request.Pagination{ 18129 NewRequest: func() (*request.Request, error) { 18130 var inCpy *ListTrainingJobsInput 18131 if input != nil { 18132 tmp := *input 18133 inCpy = &tmp 18134 } 18135 req, _ := c.ListTrainingJobsRequest(inCpy) 18136 req.SetContext(ctx) 18137 req.ApplyOptions(opts...) 18138 return req, nil 18139 }, 18140 } 18141 18142 for p.Next() { 18143 if !fn(p.Page().(*ListTrainingJobsOutput), !p.HasNextPage()) { 18144 break 18145 } 18146 } 18147 18148 return p.Err() 18149 } 18150 18151 const opListTrainingJobsForHyperParameterTuningJob = "ListTrainingJobsForHyperParameterTuningJob" 18152 18153 // ListTrainingJobsForHyperParameterTuningJobRequest generates a "aws/request.Request" representing the 18154 // client's request for the ListTrainingJobsForHyperParameterTuningJob operation. The "output" return 18155 // value will be populated with the request's response once the request completes 18156 // successfully. 18157 // 18158 // Use "Send" method on the returned Request to send the API call to the service. 18159 // the "output" return value is not valid until after Send returns without error. 18160 // 18161 // See ListTrainingJobsForHyperParameterTuningJob for more information on using the ListTrainingJobsForHyperParameterTuningJob 18162 // API call, and error handling. 18163 // 18164 // This method is useful when you want to inject custom logic or configuration 18165 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 18166 // 18167 // 18168 // // Example sending a request using the ListTrainingJobsForHyperParameterTuningJobRequest method. 18169 // req, resp := client.ListTrainingJobsForHyperParameterTuningJobRequest(params) 18170 // 18171 // err := req.Send() 18172 // if err == nil { // resp is now filled 18173 // fmt.Println(resp) 18174 // } 18175 // 18176 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobsForHyperParameterTuningJob 18177 func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJobRequest(input *ListTrainingJobsForHyperParameterTuningJobInput) (req *request.Request, output *ListTrainingJobsForHyperParameterTuningJobOutput) { 18178 op := &request.Operation{ 18179 Name: opListTrainingJobsForHyperParameterTuningJob, 18180 HTTPMethod: "POST", 18181 HTTPPath: "/", 18182 Paginator: &request.Paginator{ 18183 InputTokens: []string{"NextToken"}, 18184 OutputTokens: []string{"NextToken"}, 18185 LimitToken: "MaxResults", 18186 TruncationToken: "", 18187 }, 18188 } 18189 18190 if input == nil { 18191 input = &ListTrainingJobsForHyperParameterTuningJobInput{} 18192 } 18193 18194 output = &ListTrainingJobsForHyperParameterTuningJobOutput{} 18195 req = c.newRequest(op, input, output) 18196 return 18197 } 18198 18199 // ListTrainingJobsForHyperParameterTuningJob API operation for Amazon SageMaker Service. 18200 // 18201 // Gets a list of TrainingJobSummary objects that describe the training jobs 18202 // that a hyperparameter tuning job launched. 18203 // 18204 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 18205 // with awserr.Error's Code and Message methods to get detailed information about 18206 // the error. 18207 // 18208 // See the AWS API reference guide for Amazon SageMaker Service's 18209 // API operation ListTrainingJobsForHyperParameterTuningJob for usage and error information. 18210 // 18211 // Returned Error Types: 18212 // * ResourceNotFound 18213 // Resource being access is not found. 18214 // 18215 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobsForHyperParameterTuningJob 18216 func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJob(input *ListTrainingJobsForHyperParameterTuningJobInput) (*ListTrainingJobsForHyperParameterTuningJobOutput, error) { 18217 req, out := c.ListTrainingJobsForHyperParameterTuningJobRequest(input) 18218 return out, req.Send() 18219 } 18220 18221 // ListTrainingJobsForHyperParameterTuningJobWithContext is the same as ListTrainingJobsForHyperParameterTuningJob with the addition of 18222 // the ability to pass a context and additional request options. 18223 // 18224 // See ListTrainingJobsForHyperParameterTuningJob for details on how to use this API operation. 18225 // 18226 // The context must be non-nil and will be used for request cancellation. If 18227 // the context is nil a panic will occur. In the future the SDK may create 18228 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 18229 // for more information on using Contexts. 18230 func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJobWithContext(ctx aws.Context, input *ListTrainingJobsForHyperParameterTuningJobInput, opts ...request.Option) (*ListTrainingJobsForHyperParameterTuningJobOutput, error) { 18231 req, out := c.ListTrainingJobsForHyperParameterTuningJobRequest(input) 18232 req.SetContext(ctx) 18233 req.ApplyOptions(opts...) 18234 return out, req.Send() 18235 } 18236 18237 // ListTrainingJobsForHyperParameterTuningJobPages iterates over the pages of a ListTrainingJobsForHyperParameterTuningJob operation, 18238 // calling the "fn" function with the response data for each page. To stop 18239 // iterating, return false from the fn function. 18240 // 18241 // See ListTrainingJobsForHyperParameterTuningJob method for more information on how to use this operation. 18242 // 18243 // Note: This operation can generate multiple requests to a service. 18244 // 18245 // // Example iterating over at most 3 pages of a ListTrainingJobsForHyperParameterTuningJob operation. 18246 // pageNum := 0 18247 // err := client.ListTrainingJobsForHyperParameterTuningJobPages(params, 18248 // func(page *sagemaker.ListTrainingJobsForHyperParameterTuningJobOutput, lastPage bool) bool { 18249 // pageNum++ 18250 // fmt.Println(page) 18251 // return pageNum <= 3 18252 // }) 18253 // 18254 func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJobPages(input *ListTrainingJobsForHyperParameterTuningJobInput, fn func(*ListTrainingJobsForHyperParameterTuningJobOutput, bool) bool) error { 18255 return c.ListTrainingJobsForHyperParameterTuningJobPagesWithContext(aws.BackgroundContext(), input, fn) 18256 } 18257 18258 // ListTrainingJobsForHyperParameterTuningJobPagesWithContext same as ListTrainingJobsForHyperParameterTuningJobPages except 18259 // it takes a Context and allows setting request options on the pages. 18260 // 18261 // The context must be non-nil and will be used for request cancellation. If 18262 // the context is nil a panic will occur. In the future the SDK may create 18263 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 18264 // for more information on using Contexts. 18265 func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJobPagesWithContext(ctx aws.Context, input *ListTrainingJobsForHyperParameterTuningJobInput, fn func(*ListTrainingJobsForHyperParameterTuningJobOutput, bool) bool, opts ...request.Option) error { 18266 p := request.Pagination{ 18267 NewRequest: func() (*request.Request, error) { 18268 var inCpy *ListTrainingJobsForHyperParameterTuningJobInput 18269 if input != nil { 18270 tmp := *input 18271 inCpy = &tmp 18272 } 18273 req, _ := c.ListTrainingJobsForHyperParameterTuningJobRequest(inCpy) 18274 req.SetContext(ctx) 18275 req.ApplyOptions(opts...) 18276 return req, nil 18277 }, 18278 } 18279 18280 for p.Next() { 18281 if !fn(p.Page().(*ListTrainingJobsForHyperParameterTuningJobOutput), !p.HasNextPage()) { 18282 break 18283 } 18284 } 18285 18286 return p.Err() 18287 } 18288 18289 const opListTransformJobs = "ListTransformJobs" 18290 18291 // ListTransformJobsRequest generates a "aws/request.Request" representing the 18292 // client's request for the ListTransformJobs operation. The "output" return 18293 // value will be populated with the request's response once the request completes 18294 // successfully. 18295 // 18296 // Use "Send" method on the returned Request to send the API call to the service. 18297 // the "output" return value is not valid until after Send returns without error. 18298 // 18299 // See ListTransformJobs for more information on using the ListTransformJobs 18300 // API call, and error handling. 18301 // 18302 // This method is useful when you want to inject custom logic or configuration 18303 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 18304 // 18305 // 18306 // // Example sending a request using the ListTransformJobsRequest method. 18307 // req, resp := client.ListTransformJobsRequest(params) 18308 // 18309 // err := req.Send() 18310 // if err == nil { // resp is now filled 18311 // fmt.Println(resp) 18312 // } 18313 // 18314 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTransformJobs 18315 func (c *SageMaker) ListTransformJobsRequest(input *ListTransformJobsInput) (req *request.Request, output *ListTransformJobsOutput) { 18316 op := &request.Operation{ 18317 Name: opListTransformJobs, 18318 HTTPMethod: "POST", 18319 HTTPPath: "/", 18320 Paginator: &request.Paginator{ 18321 InputTokens: []string{"NextToken"}, 18322 OutputTokens: []string{"NextToken"}, 18323 LimitToken: "MaxResults", 18324 TruncationToken: "", 18325 }, 18326 } 18327 18328 if input == nil { 18329 input = &ListTransformJobsInput{} 18330 } 18331 18332 output = &ListTransformJobsOutput{} 18333 req = c.newRequest(op, input, output) 18334 return 18335 } 18336 18337 // ListTransformJobs API operation for Amazon SageMaker Service. 18338 // 18339 // Lists transform jobs. 18340 // 18341 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 18342 // with awserr.Error's Code and Message methods to get detailed information about 18343 // the error. 18344 // 18345 // See the AWS API reference guide for Amazon SageMaker Service's 18346 // API operation ListTransformJobs for usage and error information. 18347 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTransformJobs 18348 func (c *SageMaker) ListTransformJobs(input *ListTransformJobsInput) (*ListTransformJobsOutput, error) { 18349 req, out := c.ListTransformJobsRequest(input) 18350 return out, req.Send() 18351 } 18352 18353 // ListTransformJobsWithContext is the same as ListTransformJobs with the addition of 18354 // the ability to pass a context and additional request options. 18355 // 18356 // See ListTransformJobs for details on how to use this API operation. 18357 // 18358 // The context must be non-nil and will be used for request cancellation. If 18359 // the context is nil a panic will occur. In the future the SDK may create 18360 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 18361 // for more information on using Contexts. 18362 func (c *SageMaker) ListTransformJobsWithContext(ctx aws.Context, input *ListTransformJobsInput, opts ...request.Option) (*ListTransformJobsOutput, error) { 18363 req, out := c.ListTransformJobsRequest(input) 18364 req.SetContext(ctx) 18365 req.ApplyOptions(opts...) 18366 return out, req.Send() 18367 } 18368 18369 // ListTransformJobsPages iterates over the pages of a ListTransformJobs operation, 18370 // calling the "fn" function with the response data for each page. To stop 18371 // iterating, return false from the fn function. 18372 // 18373 // See ListTransformJobs method for more information on how to use this operation. 18374 // 18375 // Note: This operation can generate multiple requests to a service. 18376 // 18377 // // Example iterating over at most 3 pages of a ListTransformJobs operation. 18378 // pageNum := 0 18379 // err := client.ListTransformJobsPages(params, 18380 // func(page *sagemaker.ListTransformJobsOutput, lastPage bool) bool { 18381 // pageNum++ 18382 // fmt.Println(page) 18383 // return pageNum <= 3 18384 // }) 18385 // 18386 func (c *SageMaker) ListTransformJobsPages(input *ListTransformJobsInput, fn func(*ListTransformJobsOutput, bool) bool) error { 18387 return c.ListTransformJobsPagesWithContext(aws.BackgroundContext(), input, fn) 18388 } 18389 18390 // ListTransformJobsPagesWithContext same as ListTransformJobsPages except 18391 // it takes a Context and allows setting request options on the pages. 18392 // 18393 // The context must be non-nil and will be used for request cancellation. If 18394 // the context is nil a panic will occur. In the future the SDK may create 18395 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 18396 // for more information on using Contexts. 18397 func (c *SageMaker) ListTransformJobsPagesWithContext(ctx aws.Context, input *ListTransformJobsInput, fn func(*ListTransformJobsOutput, bool) bool, opts ...request.Option) error { 18398 p := request.Pagination{ 18399 NewRequest: func() (*request.Request, error) { 18400 var inCpy *ListTransformJobsInput 18401 if input != nil { 18402 tmp := *input 18403 inCpy = &tmp 18404 } 18405 req, _ := c.ListTransformJobsRequest(inCpy) 18406 req.SetContext(ctx) 18407 req.ApplyOptions(opts...) 18408 return req, nil 18409 }, 18410 } 18411 18412 for p.Next() { 18413 if !fn(p.Page().(*ListTransformJobsOutput), !p.HasNextPage()) { 18414 break 18415 } 18416 } 18417 18418 return p.Err() 18419 } 18420 18421 const opListTrialComponents = "ListTrialComponents" 18422 18423 // ListTrialComponentsRequest generates a "aws/request.Request" representing the 18424 // client's request for the ListTrialComponents operation. The "output" return 18425 // value will be populated with the request's response once the request completes 18426 // successfully. 18427 // 18428 // Use "Send" method on the returned Request to send the API call to the service. 18429 // the "output" return value is not valid until after Send returns without error. 18430 // 18431 // See ListTrialComponents for more information on using the ListTrialComponents 18432 // API call, and error handling. 18433 // 18434 // This method is useful when you want to inject custom logic or configuration 18435 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 18436 // 18437 // 18438 // // Example sending a request using the ListTrialComponentsRequest method. 18439 // req, resp := client.ListTrialComponentsRequest(params) 18440 // 18441 // err := req.Send() 18442 // if err == nil { // resp is now filled 18443 // fmt.Println(resp) 18444 // } 18445 // 18446 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrialComponents 18447 func (c *SageMaker) ListTrialComponentsRequest(input *ListTrialComponentsInput) (req *request.Request, output *ListTrialComponentsOutput) { 18448 op := &request.Operation{ 18449 Name: opListTrialComponents, 18450 HTTPMethod: "POST", 18451 HTTPPath: "/", 18452 Paginator: &request.Paginator{ 18453 InputTokens: []string{"NextToken"}, 18454 OutputTokens: []string{"NextToken"}, 18455 LimitToken: "MaxResults", 18456 TruncationToken: "", 18457 }, 18458 } 18459 18460 if input == nil { 18461 input = &ListTrialComponentsInput{} 18462 } 18463 18464 output = &ListTrialComponentsOutput{} 18465 req = c.newRequest(op, input, output) 18466 return 18467 } 18468 18469 // ListTrialComponents API operation for Amazon SageMaker Service. 18470 // 18471 // Lists the trial components in your account. You can sort the list by trial 18472 // component name or creation time. You can filter the list to show only components 18473 // that were created in a specific time range. You can also filter on one of 18474 // the following: 18475 // 18476 // * ExperimentName 18477 // 18478 // * SourceArn 18479 // 18480 // * TrialName 18481 // 18482 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 18483 // with awserr.Error's Code and Message methods to get detailed information about 18484 // the error. 18485 // 18486 // See the AWS API reference guide for Amazon SageMaker Service's 18487 // API operation ListTrialComponents for usage and error information. 18488 // 18489 // Returned Error Types: 18490 // * ResourceNotFound 18491 // Resource being access is not found. 18492 // 18493 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrialComponents 18494 func (c *SageMaker) ListTrialComponents(input *ListTrialComponentsInput) (*ListTrialComponentsOutput, error) { 18495 req, out := c.ListTrialComponentsRequest(input) 18496 return out, req.Send() 18497 } 18498 18499 // ListTrialComponentsWithContext is the same as ListTrialComponents with the addition of 18500 // the ability to pass a context and additional request options. 18501 // 18502 // See ListTrialComponents for details on how to use this API operation. 18503 // 18504 // The context must be non-nil and will be used for request cancellation. If 18505 // the context is nil a panic will occur. In the future the SDK may create 18506 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 18507 // for more information on using Contexts. 18508 func (c *SageMaker) ListTrialComponentsWithContext(ctx aws.Context, input *ListTrialComponentsInput, opts ...request.Option) (*ListTrialComponentsOutput, error) { 18509 req, out := c.ListTrialComponentsRequest(input) 18510 req.SetContext(ctx) 18511 req.ApplyOptions(opts...) 18512 return out, req.Send() 18513 } 18514 18515 // ListTrialComponentsPages iterates over the pages of a ListTrialComponents operation, 18516 // calling the "fn" function with the response data for each page. To stop 18517 // iterating, return false from the fn function. 18518 // 18519 // See ListTrialComponents method for more information on how to use this operation. 18520 // 18521 // Note: This operation can generate multiple requests to a service. 18522 // 18523 // // Example iterating over at most 3 pages of a ListTrialComponents operation. 18524 // pageNum := 0 18525 // err := client.ListTrialComponentsPages(params, 18526 // func(page *sagemaker.ListTrialComponentsOutput, lastPage bool) bool { 18527 // pageNum++ 18528 // fmt.Println(page) 18529 // return pageNum <= 3 18530 // }) 18531 // 18532 func (c *SageMaker) ListTrialComponentsPages(input *ListTrialComponentsInput, fn func(*ListTrialComponentsOutput, bool) bool) error { 18533 return c.ListTrialComponentsPagesWithContext(aws.BackgroundContext(), input, fn) 18534 } 18535 18536 // ListTrialComponentsPagesWithContext same as ListTrialComponentsPages except 18537 // it takes a Context and allows setting request options on the pages. 18538 // 18539 // The context must be non-nil and will be used for request cancellation. If 18540 // the context is nil a panic will occur. In the future the SDK may create 18541 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 18542 // for more information on using Contexts. 18543 func (c *SageMaker) ListTrialComponentsPagesWithContext(ctx aws.Context, input *ListTrialComponentsInput, fn func(*ListTrialComponentsOutput, bool) bool, opts ...request.Option) error { 18544 p := request.Pagination{ 18545 NewRequest: func() (*request.Request, error) { 18546 var inCpy *ListTrialComponentsInput 18547 if input != nil { 18548 tmp := *input 18549 inCpy = &tmp 18550 } 18551 req, _ := c.ListTrialComponentsRequest(inCpy) 18552 req.SetContext(ctx) 18553 req.ApplyOptions(opts...) 18554 return req, nil 18555 }, 18556 } 18557 18558 for p.Next() { 18559 if !fn(p.Page().(*ListTrialComponentsOutput), !p.HasNextPage()) { 18560 break 18561 } 18562 } 18563 18564 return p.Err() 18565 } 18566 18567 const opListTrials = "ListTrials" 18568 18569 // ListTrialsRequest generates a "aws/request.Request" representing the 18570 // client's request for the ListTrials operation. The "output" return 18571 // value will be populated with the request's response once the request completes 18572 // successfully. 18573 // 18574 // Use "Send" method on the returned Request to send the API call to the service. 18575 // the "output" return value is not valid until after Send returns without error. 18576 // 18577 // See ListTrials for more information on using the ListTrials 18578 // API call, and error handling. 18579 // 18580 // This method is useful when you want to inject custom logic or configuration 18581 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 18582 // 18583 // 18584 // // Example sending a request using the ListTrialsRequest method. 18585 // req, resp := client.ListTrialsRequest(params) 18586 // 18587 // err := req.Send() 18588 // if err == nil { // resp is now filled 18589 // fmt.Println(resp) 18590 // } 18591 // 18592 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrials 18593 func (c *SageMaker) ListTrialsRequest(input *ListTrialsInput) (req *request.Request, output *ListTrialsOutput) { 18594 op := &request.Operation{ 18595 Name: opListTrials, 18596 HTTPMethod: "POST", 18597 HTTPPath: "/", 18598 Paginator: &request.Paginator{ 18599 InputTokens: []string{"NextToken"}, 18600 OutputTokens: []string{"NextToken"}, 18601 LimitToken: "MaxResults", 18602 TruncationToken: "", 18603 }, 18604 } 18605 18606 if input == nil { 18607 input = &ListTrialsInput{} 18608 } 18609 18610 output = &ListTrialsOutput{} 18611 req = c.newRequest(op, input, output) 18612 return 18613 } 18614 18615 // ListTrials API operation for Amazon SageMaker Service. 18616 // 18617 // Lists the trials in your account. Specify an experiment name to limit the 18618 // list to the trials that are part of that experiment. Specify a trial component 18619 // name to limit the list to the trials that associated with that trial component. 18620 // The list can be filtered to show only trials that were created in a specific 18621 // time range. The list can be sorted by trial name or creation time. 18622 // 18623 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 18624 // with awserr.Error's Code and Message methods to get detailed information about 18625 // the error. 18626 // 18627 // See the AWS API reference guide for Amazon SageMaker Service's 18628 // API operation ListTrials for usage and error information. 18629 // 18630 // Returned Error Types: 18631 // * ResourceNotFound 18632 // Resource being access is not found. 18633 // 18634 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrials 18635 func (c *SageMaker) ListTrials(input *ListTrialsInput) (*ListTrialsOutput, error) { 18636 req, out := c.ListTrialsRequest(input) 18637 return out, req.Send() 18638 } 18639 18640 // ListTrialsWithContext is the same as ListTrials with the addition of 18641 // the ability to pass a context and additional request options. 18642 // 18643 // See ListTrials for details on how to use this API operation. 18644 // 18645 // The context must be non-nil and will be used for request cancellation. If 18646 // the context is nil a panic will occur. In the future the SDK may create 18647 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 18648 // for more information on using Contexts. 18649 func (c *SageMaker) ListTrialsWithContext(ctx aws.Context, input *ListTrialsInput, opts ...request.Option) (*ListTrialsOutput, error) { 18650 req, out := c.ListTrialsRequest(input) 18651 req.SetContext(ctx) 18652 req.ApplyOptions(opts...) 18653 return out, req.Send() 18654 } 18655 18656 // ListTrialsPages iterates over the pages of a ListTrials operation, 18657 // calling the "fn" function with the response data for each page. To stop 18658 // iterating, return false from the fn function. 18659 // 18660 // See ListTrials method for more information on how to use this operation. 18661 // 18662 // Note: This operation can generate multiple requests to a service. 18663 // 18664 // // Example iterating over at most 3 pages of a ListTrials operation. 18665 // pageNum := 0 18666 // err := client.ListTrialsPages(params, 18667 // func(page *sagemaker.ListTrialsOutput, lastPage bool) bool { 18668 // pageNum++ 18669 // fmt.Println(page) 18670 // return pageNum <= 3 18671 // }) 18672 // 18673 func (c *SageMaker) ListTrialsPages(input *ListTrialsInput, fn func(*ListTrialsOutput, bool) bool) error { 18674 return c.ListTrialsPagesWithContext(aws.BackgroundContext(), input, fn) 18675 } 18676 18677 // ListTrialsPagesWithContext same as ListTrialsPages except 18678 // it takes a Context and allows setting request options on the pages. 18679 // 18680 // The context must be non-nil and will be used for request cancellation. If 18681 // the context is nil a panic will occur. In the future the SDK may create 18682 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 18683 // for more information on using Contexts. 18684 func (c *SageMaker) ListTrialsPagesWithContext(ctx aws.Context, input *ListTrialsInput, fn func(*ListTrialsOutput, bool) bool, opts ...request.Option) error { 18685 p := request.Pagination{ 18686 NewRequest: func() (*request.Request, error) { 18687 var inCpy *ListTrialsInput 18688 if input != nil { 18689 tmp := *input 18690 inCpy = &tmp 18691 } 18692 req, _ := c.ListTrialsRequest(inCpy) 18693 req.SetContext(ctx) 18694 req.ApplyOptions(opts...) 18695 return req, nil 18696 }, 18697 } 18698 18699 for p.Next() { 18700 if !fn(p.Page().(*ListTrialsOutput), !p.HasNextPage()) { 18701 break 18702 } 18703 } 18704 18705 return p.Err() 18706 } 18707 18708 const opListUserProfiles = "ListUserProfiles" 18709 18710 // ListUserProfilesRequest generates a "aws/request.Request" representing the 18711 // client's request for the ListUserProfiles operation. The "output" return 18712 // value will be populated with the request's response once the request completes 18713 // successfully. 18714 // 18715 // Use "Send" method on the returned Request to send the API call to the service. 18716 // the "output" return value is not valid until after Send returns without error. 18717 // 18718 // See ListUserProfiles for more information on using the ListUserProfiles 18719 // API call, and error handling. 18720 // 18721 // This method is useful when you want to inject custom logic or configuration 18722 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 18723 // 18724 // 18725 // // Example sending a request using the ListUserProfilesRequest method. 18726 // req, resp := client.ListUserProfilesRequest(params) 18727 // 18728 // err := req.Send() 18729 // if err == nil { // resp is now filled 18730 // fmt.Println(resp) 18731 // } 18732 // 18733 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListUserProfiles 18734 func (c *SageMaker) ListUserProfilesRequest(input *ListUserProfilesInput) (req *request.Request, output *ListUserProfilesOutput) { 18735 op := &request.Operation{ 18736 Name: opListUserProfiles, 18737 HTTPMethod: "POST", 18738 HTTPPath: "/", 18739 Paginator: &request.Paginator{ 18740 InputTokens: []string{"NextToken"}, 18741 OutputTokens: []string{"NextToken"}, 18742 LimitToken: "MaxResults", 18743 TruncationToken: "", 18744 }, 18745 } 18746 18747 if input == nil { 18748 input = &ListUserProfilesInput{} 18749 } 18750 18751 output = &ListUserProfilesOutput{} 18752 req = c.newRequest(op, input, output) 18753 return 18754 } 18755 18756 // ListUserProfiles API operation for Amazon SageMaker Service. 18757 // 18758 // Lists user profiles. 18759 // 18760 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 18761 // with awserr.Error's Code and Message methods to get detailed information about 18762 // the error. 18763 // 18764 // See the AWS API reference guide for Amazon SageMaker Service's 18765 // API operation ListUserProfiles for usage and error information. 18766 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListUserProfiles 18767 func (c *SageMaker) ListUserProfiles(input *ListUserProfilesInput) (*ListUserProfilesOutput, error) { 18768 req, out := c.ListUserProfilesRequest(input) 18769 return out, req.Send() 18770 } 18771 18772 // ListUserProfilesWithContext is the same as ListUserProfiles with the addition of 18773 // the ability to pass a context and additional request options. 18774 // 18775 // See ListUserProfiles for details on how to use this API operation. 18776 // 18777 // The context must be non-nil and will be used for request cancellation. If 18778 // the context is nil a panic will occur. In the future the SDK may create 18779 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 18780 // for more information on using Contexts. 18781 func (c *SageMaker) ListUserProfilesWithContext(ctx aws.Context, input *ListUserProfilesInput, opts ...request.Option) (*ListUserProfilesOutput, error) { 18782 req, out := c.ListUserProfilesRequest(input) 18783 req.SetContext(ctx) 18784 req.ApplyOptions(opts...) 18785 return out, req.Send() 18786 } 18787 18788 // ListUserProfilesPages iterates over the pages of a ListUserProfiles operation, 18789 // calling the "fn" function with the response data for each page. To stop 18790 // iterating, return false from the fn function. 18791 // 18792 // See ListUserProfiles method for more information on how to use this operation. 18793 // 18794 // Note: This operation can generate multiple requests to a service. 18795 // 18796 // // Example iterating over at most 3 pages of a ListUserProfiles operation. 18797 // pageNum := 0 18798 // err := client.ListUserProfilesPages(params, 18799 // func(page *sagemaker.ListUserProfilesOutput, lastPage bool) bool { 18800 // pageNum++ 18801 // fmt.Println(page) 18802 // return pageNum <= 3 18803 // }) 18804 // 18805 func (c *SageMaker) ListUserProfilesPages(input *ListUserProfilesInput, fn func(*ListUserProfilesOutput, bool) bool) error { 18806 return c.ListUserProfilesPagesWithContext(aws.BackgroundContext(), input, fn) 18807 } 18808 18809 // ListUserProfilesPagesWithContext same as ListUserProfilesPages except 18810 // it takes a Context and allows setting request options on the pages. 18811 // 18812 // The context must be non-nil and will be used for request cancellation. If 18813 // the context is nil a panic will occur. In the future the SDK may create 18814 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 18815 // for more information on using Contexts. 18816 func (c *SageMaker) ListUserProfilesPagesWithContext(ctx aws.Context, input *ListUserProfilesInput, fn func(*ListUserProfilesOutput, bool) bool, opts ...request.Option) error { 18817 p := request.Pagination{ 18818 NewRequest: func() (*request.Request, error) { 18819 var inCpy *ListUserProfilesInput 18820 if input != nil { 18821 tmp := *input 18822 inCpy = &tmp 18823 } 18824 req, _ := c.ListUserProfilesRequest(inCpy) 18825 req.SetContext(ctx) 18826 req.ApplyOptions(opts...) 18827 return req, nil 18828 }, 18829 } 18830 18831 for p.Next() { 18832 if !fn(p.Page().(*ListUserProfilesOutput), !p.HasNextPage()) { 18833 break 18834 } 18835 } 18836 18837 return p.Err() 18838 } 18839 18840 const opListWorkforces = "ListWorkforces" 18841 18842 // ListWorkforcesRequest generates a "aws/request.Request" representing the 18843 // client's request for the ListWorkforces operation. The "output" return 18844 // value will be populated with the request's response once the request completes 18845 // successfully. 18846 // 18847 // Use "Send" method on the returned Request to send the API call to the service. 18848 // the "output" return value is not valid until after Send returns without error. 18849 // 18850 // See ListWorkforces for more information on using the ListWorkforces 18851 // API call, and error handling. 18852 // 18853 // This method is useful when you want to inject custom logic or configuration 18854 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 18855 // 18856 // 18857 // // Example sending a request using the ListWorkforcesRequest method. 18858 // req, resp := client.ListWorkforcesRequest(params) 18859 // 18860 // err := req.Send() 18861 // if err == nil { // resp is now filled 18862 // fmt.Println(resp) 18863 // } 18864 // 18865 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListWorkforces 18866 func (c *SageMaker) ListWorkforcesRequest(input *ListWorkforcesInput) (req *request.Request, output *ListWorkforcesOutput) { 18867 op := &request.Operation{ 18868 Name: opListWorkforces, 18869 HTTPMethod: "POST", 18870 HTTPPath: "/", 18871 Paginator: &request.Paginator{ 18872 InputTokens: []string{"NextToken"}, 18873 OutputTokens: []string{"NextToken"}, 18874 LimitToken: "MaxResults", 18875 TruncationToken: "", 18876 }, 18877 } 18878 18879 if input == nil { 18880 input = &ListWorkforcesInput{} 18881 } 18882 18883 output = &ListWorkforcesOutput{} 18884 req = c.newRequest(op, input, output) 18885 return 18886 } 18887 18888 // ListWorkforces API operation for Amazon SageMaker Service. 18889 // 18890 // Use this operation to list all private and vendor workforces in an Amazon 18891 // Web Services Region. Note that you can only have one private workforce per 18892 // Amazon Web Services Region. 18893 // 18894 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 18895 // with awserr.Error's Code and Message methods to get detailed information about 18896 // the error. 18897 // 18898 // See the AWS API reference guide for Amazon SageMaker Service's 18899 // API operation ListWorkforces for usage and error information. 18900 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListWorkforces 18901 func (c *SageMaker) ListWorkforces(input *ListWorkforcesInput) (*ListWorkforcesOutput, error) { 18902 req, out := c.ListWorkforcesRequest(input) 18903 return out, req.Send() 18904 } 18905 18906 // ListWorkforcesWithContext is the same as ListWorkforces with the addition of 18907 // the ability to pass a context and additional request options. 18908 // 18909 // See ListWorkforces for details on how to use this API operation. 18910 // 18911 // The context must be non-nil and will be used for request cancellation. If 18912 // the context is nil a panic will occur. In the future the SDK may create 18913 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 18914 // for more information on using Contexts. 18915 func (c *SageMaker) ListWorkforcesWithContext(ctx aws.Context, input *ListWorkforcesInput, opts ...request.Option) (*ListWorkforcesOutput, error) { 18916 req, out := c.ListWorkforcesRequest(input) 18917 req.SetContext(ctx) 18918 req.ApplyOptions(opts...) 18919 return out, req.Send() 18920 } 18921 18922 // ListWorkforcesPages iterates over the pages of a ListWorkforces operation, 18923 // calling the "fn" function with the response data for each page. To stop 18924 // iterating, return false from the fn function. 18925 // 18926 // See ListWorkforces method for more information on how to use this operation. 18927 // 18928 // Note: This operation can generate multiple requests to a service. 18929 // 18930 // // Example iterating over at most 3 pages of a ListWorkforces operation. 18931 // pageNum := 0 18932 // err := client.ListWorkforcesPages(params, 18933 // func(page *sagemaker.ListWorkforcesOutput, lastPage bool) bool { 18934 // pageNum++ 18935 // fmt.Println(page) 18936 // return pageNum <= 3 18937 // }) 18938 // 18939 func (c *SageMaker) ListWorkforcesPages(input *ListWorkforcesInput, fn func(*ListWorkforcesOutput, bool) bool) error { 18940 return c.ListWorkforcesPagesWithContext(aws.BackgroundContext(), input, fn) 18941 } 18942 18943 // ListWorkforcesPagesWithContext same as ListWorkforcesPages except 18944 // it takes a Context and allows setting request options on the pages. 18945 // 18946 // The context must be non-nil and will be used for request cancellation. If 18947 // the context is nil a panic will occur. In the future the SDK may create 18948 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 18949 // for more information on using Contexts. 18950 func (c *SageMaker) ListWorkforcesPagesWithContext(ctx aws.Context, input *ListWorkforcesInput, fn func(*ListWorkforcesOutput, bool) bool, opts ...request.Option) error { 18951 p := request.Pagination{ 18952 NewRequest: func() (*request.Request, error) { 18953 var inCpy *ListWorkforcesInput 18954 if input != nil { 18955 tmp := *input 18956 inCpy = &tmp 18957 } 18958 req, _ := c.ListWorkforcesRequest(inCpy) 18959 req.SetContext(ctx) 18960 req.ApplyOptions(opts...) 18961 return req, nil 18962 }, 18963 } 18964 18965 for p.Next() { 18966 if !fn(p.Page().(*ListWorkforcesOutput), !p.HasNextPage()) { 18967 break 18968 } 18969 } 18970 18971 return p.Err() 18972 } 18973 18974 const opListWorkteams = "ListWorkteams" 18975 18976 // ListWorkteamsRequest generates a "aws/request.Request" representing the 18977 // client's request for the ListWorkteams operation. The "output" return 18978 // value will be populated with the request's response once the request completes 18979 // successfully. 18980 // 18981 // Use "Send" method on the returned Request to send the API call to the service. 18982 // the "output" return value is not valid until after Send returns without error. 18983 // 18984 // See ListWorkteams for more information on using the ListWorkteams 18985 // API call, and error handling. 18986 // 18987 // This method is useful when you want to inject custom logic or configuration 18988 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 18989 // 18990 // 18991 // // Example sending a request using the ListWorkteamsRequest method. 18992 // req, resp := client.ListWorkteamsRequest(params) 18993 // 18994 // err := req.Send() 18995 // if err == nil { // resp is now filled 18996 // fmt.Println(resp) 18997 // } 18998 // 18999 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListWorkteams 19000 func (c *SageMaker) ListWorkteamsRequest(input *ListWorkteamsInput) (req *request.Request, output *ListWorkteamsOutput) { 19001 op := &request.Operation{ 19002 Name: opListWorkteams, 19003 HTTPMethod: "POST", 19004 HTTPPath: "/", 19005 Paginator: &request.Paginator{ 19006 InputTokens: []string{"NextToken"}, 19007 OutputTokens: []string{"NextToken"}, 19008 LimitToken: "MaxResults", 19009 TruncationToken: "", 19010 }, 19011 } 19012 19013 if input == nil { 19014 input = &ListWorkteamsInput{} 19015 } 19016 19017 output = &ListWorkteamsOutput{} 19018 req = c.newRequest(op, input, output) 19019 return 19020 } 19021 19022 // ListWorkteams API operation for Amazon SageMaker Service. 19023 // 19024 // Gets a list of private work teams that you have defined in a region. The 19025 // list may be empty if no work team satisfies the filter specified in the NameContains 19026 // parameter. 19027 // 19028 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 19029 // with awserr.Error's Code and Message methods to get detailed information about 19030 // the error. 19031 // 19032 // See the AWS API reference guide for Amazon SageMaker Service's 19033 // API operation ListWorkteams for usage and error information. 19034 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListWorkteams 19035 func (c *SageMaker) ListWorkteams(input *ListWorkteamsInput) (*ListWorkteamsOutput, error) { 19036 req, out := c.ListWorkteamsRequest(input) 19037 return out, req.Send() 19038 } 19039 19040 // ListWorkteamsWithContext is the same as ListWorkteams with the addition of 19041 // the ability to pass a context and additional request options. 19042 // 19043 // See ListWorkteams for details on how to use this API operation. 19044 // 19045 // The context must be non-nil and will be used for request cancellation. If 19046 // the context is nil a panic will occur. In the future the SDK may create 19047 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 19048 // for more information on using Contexts. 19049 func (c *SageMaker) ListWorkteamsWithContext(ctx aws.Context, input *ListWorkteamsInput, opts ...request.Option) (*ListWorkteamsOutput, error) { 19050 req, out := c.ListWorkteamsRequest(input) 19051 req.SetContext(ctx) 19052 req.ApplyOptions(opts...) 19053 return out, req.Send() 19054 } 19055 19056 // ListWorkteamsPages iterates over the pages of a ListWorkteams operation, 19057 // calling the "fn" function with the response data for each page. To stop 19058 // iterating, return false from the fn function. 19059 // 19060 // See ListWorkteams method for more information on how to use this operation. 19061 // 19062 // Note: This operation can generate multiple requests to a service. 19063 // 19064 // // Example iterating over at most 3 pages of a ListWorkteams operation. 19065 // pageNum := 0 19066 // err := client.ListWorkteamsPages(params, 19067 // func(page *sagemaker.ListWorkteamsOutput, lastPage bool) bool { 19068 // pageNum++ 19069 // fmt.Println(page) 19070 // return pageNum <= 3 19071 // }) 19072 // 19073 func (c *SageMaker) ListWorkteamsPages(input *ListWorkteamsInput, fn func(*ListWorkteamsOutput, bool) bool) error { 19074 return c.ListWorkteamsPagesWithContext(aws.BackgroundContext(), input, fn) 19075 } 19076 19077 // ListWorkteamsPagesWithContext same as ListWorkteamsPages except 19078 // it takes a Context and allows setting request options on the pages. 19079 // 19080 // The context must be non-nil and will be used for request cancellation. If 19081 // the context is nil a panic will occur. In the future the SDK may create 19082 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 19083 // for more information on using Contexts. 19084 func (c *SageMaker) ListWorkteamsPagesWithContext(ctx aws.Context, input *ListWorkteamsInput, fn func(*ListWorkteamsOutput, bool) bool, opts ...request.Option) error { 19085 p := request.Pagination{ 19086 NewRequest: func() (*request.Request, error) { 19087 var inCpy *ListWorkteamsInput 19088 if input != nil { 19089 tmp := *input 19090 inCpy = &tmp 19091 } 19092 req, _ := c.ListWorkteamsRequest(inCpy) 19093 req.SetContext(ctx) 19094 req.ApplyOptions(opts...) 19095 return req, nil 19096 }, 19097 } 19098 19099 for p.Next() { 19100 if !fn(p.Page().(*ListWorkteamsOutput), !p.HasNextPage()) { 19101 break 19102 } 19103 } 19104 19105 return p.Err() 19106 } 19107 19108 const opPutModelPackageGroupPolicy = "PutModelPackageGroupPolicy" 19109 19110 // PutModelPackageGroupPolicyRequest generates a "aws/request.Request" representing the 19111 // client's request for the PutModelPackageGroupPolicy operation. The "output" return 19112 // value will be populated with the request's response once the request completes 19113 // successfully. 19114 // 19115 // Use "Send" method on the returned Request to send the API call to the service. 19116 // the "output" return value is not valid until after Send returns without error. 19117 // 19118 // See PutModelPackageGroupPolicy for more information on using the PutModelPackageGroupPolicy 19119 // API call, and error handling. 19120 // 19121 // This method is useful when you want to inject custom logic or configuration 19122 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 19123 // 19124 // 19125 // // Example sending a request using the PutModelPackageGroupPolicyRequest method. 19126 // req, resp := client.PutModelPackageGroupPolicyRequest(params) 19127 // 19128 // err := req.Send() 19129 // if err == nil { // resp is now filled 19130 // fmt.Println(resp) 19131 // } 19132 // 19133 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/PutModelPackageGroupPolicy 19134 func (c *SageMaker) PutModelPackageGroupPolicyRequest(input *PutModelPackageGroupPolicyInput) (req *request.Request, output *PutModelPackageGroupPolicyOutput) { 19135 op := &request.Operation{ 19136 Name: opPutModelPackageGroupPolicy, 19137 HTTPMethod: "POST", 19138 HTTPPath: "/", 19139 } 19140 19141 if input == nil { 19142 input = &PutModelPackageGroupPolicyInput{} 19143 } 19144 19145 output = &PutModelPackageGroupPolicyOutput{} 19146 req = c.newRequest(op, input, output) 19147 return 19148 } 19149 19150 // PutModelPackageGroupPolicy API operation for Amazon SageMaker Service. 19151 // 19152 // Adds a resouce policy to control access to a model group. For information 19153 // about resoure policies, see Identity-based policies and resource-based policies 19154 // (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_identity-vs-resource.html) 19155 // in the Amazon Web Services Identity and Access Management User Guide.. 19156 // 19157 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 19158 // with awserr.Error's Code and Message methods to get detailed information about 19159 // the error. 19160 // 19161 // See the AWS API reference guide for Amazon SageMaker Service's 19162 // API operation PutModelPackageGroupPolicy for usage and error information. 19163 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/PutModelPackageGroupPolicy 19164 func (c *SageMaker) PutModelPackageGroupPolicy(input *PutModelPackageGroupPolicyInput) (*PutModelPackageGroupPolicyOutput, error) { 19165 req, out := c.PutModelPackageGroupPolicyRequest(input) 19166 return out, req.Send() 19167 } 19168 19169 // PutModelPackageGroupPolicyWithContext is the same as PutModelPackageGroupPolicy with the addition of 19170 // the ability to pass a context and additional request options. 19171 // 19172 // See PutModelPackageGroupPolicy for details on how to use this API operation. 19173 // 19174 // The context must be non-nil and will be used for request cancellation. If 19175 // the context is nil a panic will occur. In the future the SDK may create 19176 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 19177 // for more information on using Contexts. 19178 func (c *SageMaker) PutModelPackageGroupPolicyWithContext(ctx aws.Context, input *PutModelPackageGroupPolicyInput, opts ...request.Option) (*PutModelPackageGroupPolicyOutput, error) { 19179 req, out := c.PutModelPackageGroupPolicyRequest(input) 19180 req.SetContext(ctx) 19181 req.ApplyOptions(opts...) 19182 return out, req.Send() 19183 } 19184 19185 const opRegisterDevices = "RegisterDevices" 19186 19187 // RegisterDevicesRequest generates a "aws/request.Request" representing the 19188 // client's request for the RegisterDevices operation. The "output" return 19189 // value will be populated with the request's response once the request completes 19190 // successfully. 19191 // 19192 // Use "Send" method on the returned Request to send the API call to the service. 19193 // the "output" return value is not valid until after Send returns without error. 19194 // 19195 // See RegisterDevices for more information on using the RegisterDevices 19196 // API call, and error handling. 19197 // 19198 // This method is useful when you want to inject custom logic or configuration 19199 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 19200 // 19201 // 19202 // // Example sending a request using the RegisterDevicesRequest method. 19203 // req, resp := client.RegisterDevicesRequest(params) 19204 // 19205 // err := req.Send() 19206 // if err == nil { // resp is now filled 19207 // fmt.Println(resp) 19208 // } 19209 // 19210 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RegisterDevices 19211 func (c *SageMaker) RegisterDevicesRequest(input *RegisterDevicesInput) (req *request.Request, output *RegisterDevicesOutput) { 19212 op := &request.Operation{ 19213 Name: opRegisterDevices, 19214 HTTPMethod: "POST", 19215 HTTPPath: "/", 19216 } 19217 19218 if input == nil { 19219 input = &RegisterDevicesInput{} 19220 } 19221 19222 output = &RegisterDevicesOutput{} 19223 req = c.newRequest(op, input, output) 19224 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 19225 return 19226 } 19227 19228 // RegisterDevices API operation for Amazon SageMaker Service. 19229 // 19230 // Register devices. 19231 // 19232 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 19233 // with awserr.Error's Code and Message methods to get detailed information about 19234 // the error. 19235 // 19236 // See the AWS API reference guide for Amazon SageMaker Service's 19237 // API operation RegisterDevices for usage and error information. 19238 // 19239 // Returned Error Types: 19240 // * ResourceLimitExceeded 19241 // You have exceeded an Amazon SageMaker resource limit. For example, you might 19242 // have too many training jobs created. 19243 // 19244 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RegisterDevices 19245 func (c *SageMaker) RegisterDevices(input *RegisterDevicesInput) (*RegisterDevicesOutput, error) { 19246 req, out := c.RegisterDevicesRequest(input) 19247 return out, req.Send() 19248 } 19249 19250 // RegisterDevicesWithContext is the same as RegisterDevices with the addition of 19251 // the ability to pass a context and additional request options. 19252 // 19253 // See RegisterDevices for details on how to use this API operation. 19254 // 19255 // The context must be non-nil and will be used for request cancellation. If 19256 // the context is nil a panic will occur. In the future the SDK may create 19257 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 19258 // for more information on using Contexts. 19259 func (c *SageMaker) RegisterDevicesWithContext(ctx aws.Context, input *RegisterDevicesInput, opts ...request.Option) (*RegisterDevicesOutput, error) { 19260 req, out := c.RegisterDevicesRequest(input) 19261 req.SetContext(ctx) 19262 req.ApplyOptions(opts...) 19263 return out, req.Send() 19264 } 19265 19266 const opRenderUiTemplate = "RenderUiTemplate" 19267 19268 // RenderUiTemplateRequest generates a "aws/request.Request" representing the 19269 // client's request for the RenderUiTemplate operation. The "output" return 19270 // value will be populated with the request's response once the request completes 19271 // successfully. 19272 // 19273 // Use "Send" method on the returned Request to send the API call to the service. 19274 // the "output" return value is not valid until after Send returns without error. 19275 // 19276 // See RenderUiTemplate for more information on using the RenderUiTemplate 19277 // API call, and error handling. 19278 // 19279 // This method is useful when you want to inject custom logic or configuration 19280 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 19281 // 19282 // 19283 // // Example sending a request using the RenderUiTemplateRequest method. 19284 // req, resp := client.RenderUiTemplateRequest(params) 19285 // 19286 // err := req.Send() 19287 // if err == nil { // resp is now filled 19288 // fmt.Println(resp) 19289 // } 19290 // 19291 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RenderUiTemplate 19292 func (c *SageMaker) RenderUiTemplateRequest(input *RenderUiTemplateInput) (req *request.Request, output *RenderUiTemplateOutput) { 19293 op := &request.Operation{ 19294 Name: opRenderUiTemplate, 19295 HTTPMethod: "POST", 19296 HTTPPath: "/", 19297 } 19298 19299 if input == nil { 19300 input = &RenderUiTemplateInput{} 19301 } 19302 19303 output = &RenderUiTemplateOutput{} 19304 req = c.newRequest(op, input, output) 19305 return 19306 } 19307 19308 // RenderUiTemplate API operation for Amazon SageMaker Service. 19309 // 19310 // Renders the UI template so that you can preview the worker's experience. 19311 // 19312 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 19313 // with awserr.Error's Code and Message methods to get detailed information about 19314 // the error. 19315 // 19316 // See the AWS API reference guide for Amazon SageMaker Service's 19317 // API operation RenderUiTemplate for usage and error information. 19318 // 19319 // Returned Error Types: 19320 // * ResourceNotFound 19321 // Resource being access is not found. 19322 // 19323 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RenderUiTemplate 19324 func (c *SageMaker) RenderUiTemplate(input *RenderUiTemplateInput) (*RenderUiTemplateOutput, error) { 19325 req, out := c.RenderUiTemplateRequest(input) 19326 return out, req.Send() 19327 } 19328 19329 // RenderUiTemplateWithContext is the same as RenderUiTemplate with the addition of 19330 // the ability to pass a context and additional request options. 19331 // 19332 // See RenderUiTemplate for details on how to use this API operation. 19333 // 19334 // The context must be non-nil and will be used for request cancellation. If 19335 // the context is nil a panic will occur. In the future the SDK may create 19336 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 19337 // for more information on using Contexts. 19338 func (c *SageMaker) RenderUiTemplateWithContext(ctx aws.Context, input *RenderUiTemplateInput, opts ...request.Option) (*RenderUiTemplateOutput, error) { 19339 req, out := c.RenderUiTemplateRequest(input) 19340 req.SetContext(ctx) 19341 req.ApplyOptions(opts...) 19342 return out, req.Send() 19343 } 19344 19345 const opRetryPipelineExecution = "RetryPipelineExecution" 19346 19347 // RetryPipelineExecutionRequest generates a "aws/request.Request" representing the 19348 // client's request for the RetryPipelineExecution operation. The "output" return 19349 // value will be populated with the request's response once the request completes 19350 // successfully. 19351 // 19352 // Use "Send" method on the returned Request to send the API call to the service. 19353 // the "output" return value is not valid until after Send returns without error. 19354 // 19355 // See RetryPipelineExecution for more information on using the RetryPipelineExecution 19356 // API call, and error handling. 19357 // 19358 // This method is useful when you want to inject custom logic or configuration 19359 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 19360 // 19361 // 19362 // // Example sending a request using the RetryPipelineExecutionRequest method. 19363 // req, resp := client.RetryPipelineExecutionRequest(params) 19364 // 19365 // err := req.Send() 19366 // if err == nil { // resp is now filled 19367 // fmt.Println(resp) 19368 // } 19369 // 19370 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RetryPipelineExecution 19371 func (c *SageMaker) RetryPipelineExecutionRequest(input *RetryPipelineExecutionInput) (req *request.Request, output *RetryPipelineExecutionOutput) { 19372 op := &request.Operation{ 19373 Name: opRetryPipelineExecution, 19374 HTTPMethod: "POST", 19375 HTTPPath: "/", 19376 } 19377 19378 if input == nil { 19379 input = &RetryPipelineExecutionInput{} 19380 } 19381 19382 output = &RetryPipelineExecutionOutput{} 19383 req = c.newRequest(op, input, output) 19384 return 19385 } 19386 19387 // RetryPipelineExecution API operation for Amazon SageMaker Service. 19388 // 19389 // Retry the execution of the pipeline. 19390 // 19391 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 19392 // with awserr.Error's Code and Message methods to get detailed information about 19393 // the error. 19394 // 19395 // See the AWS API reference guide for Amazon SageMaker Service's 19396 // API operation RetryPipelineExecution for usage and error information. 19397 // 19398 // Returned Error Types: 19399 // * ResourceNotFound 19400 // Resource being access is not found. 19401 // 19402 // * ResourceLimitExceeded 19403 // You have exceeded an Amazon SageMaker resource limit. For example, you might 19404 // have too many training jobs created. 19405 // 19406 // * ConflictException 19407 // There was a conflict when you attempted to modify a SageMaker entity such 19408 // as an Experiment or Artifact. 19409 // 19410 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RetryPipelineExecution 19411 func (c *SageMaker) RetryPipelineExecution(input *RetryPipelineExecutionInput) (*RetryPipelineExecutionOutput, error) { 19412 req, out := c.RetryPipelineExecutionRequest(input) 19413 return out, req.Send() 19414 } 19415 19416 // RetryPipelineExecutionWithContext is the same as RetryPipelineExecution with the addition of 19417 // the ability to pass a context and additional request options. 19418 // 19419 // See RetryPipelineExecution for details on how to use this API operation. 19420 // 19421 // The context must be non-nil and will be used for request cancellation. If 19422 // the context is nil a panic will occur. In the future the SDK may create 19423 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 19424 // for more information on using Contexts. 19425 func (c *SageMaker) RetryPipelineExecutionWithContext(ctx aws.Context, input *RetryPipelineExecutionInput, opts ...request.Option) (*RetryPipelineExecutionOutput, error) { 19426 req, out := c.RetryPipelineExecutionRequest(input) 19427 req.SetContext(ctx) 19428 req.ApplyOptions(opts...) 19429 return out, req.Send() 19430 } 19431 19432 const opSearch = "Search" 19433 19434 // SearchRequest generates a "aws/request.Request" representing the 19435 // client's request for the Search operation. The "output" return 19436 // value will be populated with the request's response once the request completes 19437 // successfully. 19438 // 19439 // Use "Send" method on the returned Request to send the API call to the service. 19440 // the "output" return value is not valid until after Send returns without error. 19441 // 19442 // See Search for more information on using the Search 19443 // API call, and error handling. 19444 // 19445 // This method is useful when you want to inject custom logic or configuration 19446 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 19447 // 19448 // 19449 // // Example sending a request using the SearchRequest method. 19450 // req, resp := client.SearchRequest(params) 19451 // 19452 // err := req.Send() 19453 // if err == nil { // resp is now filled 19454 // fmt.Println(resp) 19455 // } 19456 // 19457 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Search 19458 func (c *SageMaker) SearchRequest(input *SearchInput) (req *request.Request, output *SearchOutput) { 19459 op := &request.Operation{ 19460 Name: opSearch, 19461 HTTPMethod: "POST", 19462 HTTPPath: "/", 19463 Paginator: &request.Paginator{ 19464 InputTokens: []string{"NextToken"}, 19465 OutputTokens: []string{"NextToken"}, 19466 LimitToken: "MaxResults", 19467 TruncationToken: "", 19468 }, 19469 } 19470 19471 if input == nil { 19472 input = &SearchInput{} 19473 } 19474 19475 output = &SearchOutput{} 19476 req = c.newRequest(op, input, output) 19477 return 19478 } 19479 19480 // Search API operation for Amazon SageMaker Service. 19481 // 19482 // Finds Amazon SageMaker resources that match a search query. Matching resources 19483 // are returned as a list of SearchRecord objects in the response. You can sort 19484 // the search results by any resource property in a ascending or descending 19485 // order. 19486 // 19487 // You can query against the following value types: numeric, text, Boolean, 19488 // and timestamp. 19489 // 19490 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 19491 // with awserr.Error's Code and Message methods to get detailed information about 19492 // the error. 19493 // 19494 // See the AWS API reference guide for Amazon SageMaker Service's 19495 // API operation Search for usage and error information. 19496 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Search 19497 func (c *SageMaker) Search(input *SearchInput) (*SearchOutput, error) { 19498 req, out := c.SearchRequest(input) 19499 return out, req.Send() 19500 } 19501 19502 // SearchWithContext is the same as Search with the addition of 19503 // the ability to pass a context and additional request options. 19504 // 19505 // See Search for details on how to use this API operation. 19506 // 19507 // The context must be non-nil and will be used for request cancellation. If 19508 // the context is nil a panic will occur. In the future the SDK may create 19509 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 19510 // for more information on using Contexts. 19511 func (c *SageMaker) SearchWithContext(ctx aws.Context, input *SearchInput, opts ...request.Option) (*SearchOutput, error) { 19512 req, out := c.SearchRequest(input) 19513 req.SetContext(ctx) 19514 req.ApplyOptions(opts...) 19515 return out, req.Send() 19516 } 19517 19518 // SearchPages iterates over the pages of a Search operation, 19519 // calling the "fn" function with the response data for each page. To stop 19520 // iterating, return false from the fn function. 19521 // 19522 // See Search method for more information on how to use this operation. 19523 // 19524 // Note: This operation can generate multiple requests to a service. 19525 // 19526 // // Example iterating over at most 3 pages of a Search operation. 19527 // pageNum := 0 19528 // err := client.SearchPages(params, 19529 // func(page *sagemaker.SearchOutput, lastPage bool) bool { 19530 // pageNum++ 19531 // fmt.Println(page) 19532 // return pageNum <= 3 19533 // }) 19534 // 19535 func (c *SageMaker) SearchPages(input *SearchInput, fn func(*SearchOutput, bool) bool) error { 19536 return c.SearchPagesWithContext(aws.BackgroundContext(), input, fn) 19537 } 19538 19539 // SearchPagesWithContext same as SearchPages except 19540 // it takes a Context and allows setting request options on the pages. 19541 // 19542 // The context must be non-nil and will be used for request cancellation. If 19543 // the context is nil a panic will occur. In the future the SDK may create 19544 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 19545 // for more information on using Contexts. 19546 func (c *SageMaker) SearchPagesWithContext(ctx aws.Context, input *SearchInput, fn func(*SearchOutput, bool) bool, opts ...request.Option) error { 19547 p := request.Pagination{ 19548 NewRequest: func() (*request.Request, error) { 19549 var inCpy *SearchInput 19550 if input != nil { 19551 tmp := *input 19552 inCpy = &tmp 19553 } 19554 req, _ := c.SearchRequest(inCpy) 19555 req.SetContext(ctx) 19556 req.ApplyOptions(opts...) 19557 return req, nil 19558 }, 19559 } 19560 19561 for p.Next() { 19562 if !fn(p.Page().(*SearchOutput), !p.HasNextPage()) { 19563 break 19564 } 19565 } 19566 19567 return p.Err() 19568 } 19569 19570 const opSendPipelineExecutionStepFailure = "SendPipelineExecutionStepFailure" 19571 19572 // SendPipelineExecutionStepFailureRequest generates a "aws/request.Request" representing the 19573 // client's request for the SendPipelineExecutionStepFailure operation. The "output" return 19574 // value will be populated with the request's response once the request completes 19575 // successfully. 19576 // 19577 // Use "Send" method on the returned Request to send the API call to the service. 19578 // the "output" return value is not valid until after Send returns without error. 19579 // 19580 // See SendPipelineExecutionStepFailure for more information on using the SendPipelineExecutionStepFailure 19581 // API call, and error handling. 19582 // 19583 // This method is useful when you want to inject custom logic or configuration 19584 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 19585 // 19586 // 19587 // // Example sending a request using the SendPipelineExecutionStepFailureRequest method. 19588 // req, resp := client.SendPipelineExecutionStepFailureRequest(params) 19589 // 19590 // err := req.Send() 19591 // if err == nil { // resp is now filled 19592 // fmt.Println(resp) 19593 // } 19594 // 19595 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/SendPipelineExecutionStepFailure 19596 func (c *SageMaker) SendPipelineExecutionStepFailureRequest(input *SendPipelineExecutionStepFailureInput) (req *request.Request, output *SendPipelineExecutionStepFailureOutput) { 19597 op := &request.Operation{ 19598 Name: opSendPipelineExecutionStepFailure, 19599 HTTPMethod: "POST", 19600 HTTPPath: "/", 19601 } 19602 19603 if input == nil { 19604 input = &SendPipelineExecutionStepFailureInput{} 19605 } 19606 19607 output = &SendPipelineExecutionStepFailureOutput{} 19608 req = c.newRequest(op, input, output) 19609 return 19610 } 19611 19612 // SendPipelineExecutionStepFailure API operation for Amazon SageMaker Service. 19613 // 19614 // Notifies the pipeline that the execution of a callback step failed, along 19615 // with a message describing why. When a callback step is run, the pipeline 19616 // generates a callback token and includes the token in a message sent to Amazon 19617 // Simple Queue Service (Amazon SQS). 19618 // 19619 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 19620 // with awserr.Error's Code and Message methods to get detailed information about 19621 // the error. 19622 // 19623 // See the AWS API reference guide for Amazon SageMaker Service's 19624 // API operation SendPipelineExecutionStepFailure for usage and error information. 19625 // 19626 // Returned Error Types: 19627 // * ResourceNotFound 19628 // Resource being access is not found. 19629 // 19630 // * ResourceLimitExceeded 19631 // You have exceeded an Amazon SageMaker resource limit. For example, you might 19632 // have too many training jobs created. 19633 // 19634 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/SendPipelineExecutionStepFailure 19635 func (c *SageMaker) SendPipelineExecutionStepFailure(input *SendPipelineExecutionStepFailureInput) (*SendPipelineExecutionStepFailureOutput, error) { 19636 req, out := c.SendPipelineExecutionStepFailureRequest(input) 19637 return out, req.Send() 19638 } 19639 19640 // SendPipelineExecutionStepFailureWithContext is the same as SendPipelineExecutionStepFailure with the addition of 19641 // the ability to pass a context and additional request options. 19642 // 19643 // See SendPipelineExecutionStepFailure for details on how to use this API operation. 19644 // 19645 // The context must be non-nil and will be used for request cancellation. If 19646 // the context is nil a panic will occur. In the future the SDK may create 19647 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 19648 // for more information on using Contexts. 19649 func (c *SageMaker) SendPipelineExecutionStepFailureWithContext(ctx aws.Context, input *SendPipelineExecutionStepFailureInput, opts ...request.Option) (*SendPipelineExecutionStepFailureOutput, error) { 19650 req, out := c.SendPipelineExecutionStepFailureRequest(input) 19651 req.SetContext(ctx) 19652 req.ApplyOptions(opts...) 19653 return out, req.Send() 19654 } 19655 19656 const opSendPipelineExecutionStepSuccess = "SendPipelineExecutionStepSuccess" 19657 19658 // SendPipelineExecutionStepSuccessRequest generates a "aws/request.Request" representing the 19659 // client's request for the SendPipelineExecutionStepSuccess operation. The "output" return 19660 // value will be populated with the request's response once the request completes 19661 // successfully. 19662 // 19663 // Use "Send" method on the returned Request to send the API call to the service. 19664 // the "output" return value is not valid until after Send returns without error. 19665 // 19666 // See SendPipelineExecutionStepSuccess for more information on using the SendPipelineExecutionStepSuccess 19667 // API call, and error handling. 19668 // 19669 // This method is useful when you want to inject custom logic or configuration 19670 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 19671 // 19672 // 19673 // // Example sending a request using the SendPipelineExecutionStepSuccessRequest method. 19674 // req, resp := client.SendPipelineExecutionStepSuccessRequest(params) 19675 // 19676 // err := req.Send() 19677 // if err == nil { // resp is now filled 19678 // fmt.Println(resp) 19679 // } 19680 // 19681 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/SendPipelineExecutionStepSuccess 19682 func (c *SageMaker) SendPipelineExecutionStepSuccessRequest(input *SendPipelineExecutionStepSuccessInput) (req *request.Request, output *SendPipelineExecutionStepSuccessOutput) { 19683 op := &request.Operation{ 19684 Name: opSendPipelineExecutionStepSuccess, 19685 HTTPMethod: "POST", 19686 HTTPPath: "/", 19687 } 19688 19689 if input == nil { 19690 input = &SendPipelineExecutionStepSuccessInput{} 19691 } 19692 19693 output = &SendPipelineExecutionStepSuccessOutput{} 19694 req = c.newRequest(op, input, output) 19695 return 19696 } 19697 19698 // SendPipelineExecutionStepSuccess API operation for Amazon SageMaker Service. 19699 // 19700 // Notifies the pipeline that the execution of a callback step succeeded and 19701 // provides a list of the step's output parameters. When a callback step is 19702 // run, the pipeline generates a callback token and includes the token in a 19703 // message sent to Amazon Simple Queue Service (Amazon SQS). 19704 // 19705 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 19706 // with awserr.Error's Code and Message methods to get detailed information about 19707 // the error. 19708 // 19709 // See the AWS API reference guide for Amazon SageMaker Service's 19710 // API operation SendPipelineExecutionStepSuccess for usage and error information. 19711 // 19712 // Returned Error Types: 19713 // * ResourceNotFound 19714 // Resource being access is not found. 19715 // 19716 // * ResourceLimitExceeded 19717 // You have exceeded an Amazon SageMaker resource limit. For example, you might 19718 // have too many training jobs created. 19719 // 19720 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/SendPipelineExecutionStepSuccess 19721 func (c *SageMaker) SendPipelineExecutionStepSuccess(input *SendPipelineExecutionStepSuccessInput) (*SendPipelineExecutionStepSuccessOutput, error) { 19722 req, out := c.SendPipelineExecutionStepSuccessRequest(input) 19723 return out, req.Send() 19724 } 19725 19726 // SendPipelineExecutionStepSuccessWithContext is the same as SendPipelineExecutionStepSuccess with the addition of 19727 // the ability to pass a context and additional request options. 19728 // 19729 // See SendPipelineExecutionStepSuccess for details on how to use this API operation. 19730 // 19731 // The context must be non-nil and will be used for request cancellation. If 19732 // the context is nil a panic will occur. In the future the SDK may create 19733 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 19734 // for more information on using Contexts. 19735 func (c *SageMaker) SendPipelineExecutionStepSuccessWithContext(ctx aws.Context, input *SendPipelineExecutionStepSuccessInput, opts ...request.Option) (*SendPipelineExecutionStepSuccessOutput, error) { 19736 req, out := c.SendPipelineExecutionStepSuccessRequest(input) 19737 req.SetContext(ctx) 19738 req.ApplyOptions(opts...) 19739 return out, req.Send() 19740 } 19741 19742 const opStartMonitoringSchedule = "StartMonitoringSchedule" 19743 19744 // StartMonitoringScheduleRequest generates a "aws/request.Request" representing the 19745 // client's request for the StartMonitoringSchedule operation. The "output" return 19746 // value will be populated with the request's response once the request completes 19747 // successfully. 19748 // 19749 // Use "Send" method on the returned Request to send the API call to the service. 19750 // the "output" return value is not valid until after Send returns without error. 19751 // 19752 // See StartMonitoringSchedule for more information on using the StartMonitoringSchedule 19753 // API call, and error handling. 19754 // 19755 // This method is useful when you want to inject custom logic or configuration 19756 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 19757 // 19758 // 19759 // // Example sending a request using the StartMonitoringScheduleRequest method. 19760 // req, resp := client.StartMonitoringScheduleRequest(params) 19761 // 19762 // err := req.Send() 19763 // if err == nil { // resp is now filled 19764 // fmt.Println(resp) 19765 // } 19766 // 19767 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartMonitoringSchedule 19768 func (c *SageMaker) StartMonitoringScheduleRequest(input *StartMonitoringScheduleInput) (req *request.Request, output *StartMonitoringScheduleOutput) { 19769 op := &request.Operation{ 19770 Name: opStartMonitoringSchedule, 19771 HTTPMethod: "POST", 19772 HTTPPath: "/", 19773 } 19774 19775 if input == nil { 19776 input = &StartMonitoringScheduleInput{} 19777 } 19778 19779 output = &StartMonitoringScheduleOutput{} 19780 req = c.newRequest(op, input, output) 19781 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 19782 return 19783 } 19784 19785 // StartMonitoringSchedule API operation for Amazon SageMaker Service. 19786 // 19787 // Starts a previously stopped monitoring schedule. 19788 // 19789 // By default, when you successfully create a new schedule, the status of a 19790 // monitoring schedule is scheduled. 19791 // 19792 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 19793 // with awserr.Error's Code and Message methods to get detailed information about 19794 // the error. 19795 // 19796 // See the AWS API reference guide for Amazon SageMaker Service's 19797 // API operation StartMonitoringSchedule for usage and error information. 19798 // 19799 // Returned Error Types: 19800 // * ResourceNotFound 19801 // Resource being access is not found. 19802 // 19803 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartMonitoringSchedule 19804 func (c *SageMaker) StartMonitoringSchedule(input *StartMonitoringScheduleInput) (*StartMonitoringScheduleOutput, error) { 19805 req, out := c.StartMonitoringScheduleRequest(input) 19806 return out, req.Send() 19807 } 19808 19809 // StartMonitoringScheduleWithContext is the same as StartMonitoringSchedule with the addition of 19810 // the ability to pass a context and additional request options. 19811 // 19812 // See StartMonitoringSchedule for details on how to use this API operation. 19813 // 19814 // The context must be non-nil and will be used for request cancellation. If 19815 // the context is nil a panic will occur. In the future the SDK may create 19816 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 19817 // for more information on using Contexts. 19818 func (c *SageMaker) StartMonitoringScheduleWithContext(ctx aws.Context, input *StartMonitoringScheduleInput, opts ...request.Option) (*StartMonitoringScheduleOutput, error) { 19819 req, out := c.StartMonitoringScheduleRequest(input) 19820 req.SetContext(ctx) 19821 req.ApplyOptions(opts...) 19822 return out, req.Send() 19823 } 19824 19825 const opStartNotebookInstance = "StartNotebookInstance" 19826 19827 // StartNotebookInstanceRequest generates a "aws/request.Request" representing the 19828 // client's request for the StartNotebookInstance operation. The "output" return 19829 // value will be populated with the request's response once the request completes 19830 // successfully. 19831 // 19832 // Use "Send" method on the returned Request to send the API call to the service. 19833 // the "output" return value is not valid until after Send returns without error. 19834 // 19835 // See StartNotebookInstance for more information on using the StartNotebookInstance 19836 // API call, and error handling. 19837 // 19838 // This method is useful when you want to inject custom logic or configuration 19839 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 19840 // 19841 // 19842 // // Example sending a request using the StartNotebookInstanceRequest method. 19843 // req, resp := client.StartNotebookInstanceRequest(params) 19844 // 19845 // err := req.Send() 19846 // if err == nil { // resp is now filled 19847 // fmt.Println(resp) 19848 // } 19849 // 19850 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartNotebookInstance 19851 func (c *SageMaker) StartNotebookInstanceRequest(input *StartNotebookInstanceInput) (req *request.Request, output *StartNotebookInstanceOutput) { 19852 op := &request.Operation{ 19853 Name: opStartNotebookInstance, 19854 HTTPMethod: "POST", 19855 HTTPPath: "/", 19856 } 19857 19858 if input == nil { 19859 input = &StartNotebookInstanceInput{} 19860 } 19861 19862 output = &StartNotebookInstanceOutput{} 19863 req = c.newRequest(op, input, output) 19864 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 19865 return 19866 } 19867 19868 // StartNotebookInstance API operation for Amazon SageMaker Service. 19869 // 19870 // Launches an ML compute instance with the latest version of the libraries 19871 // and attaches your ML storage volume. After configuring the notebook instance, 19872 // Amazon SageMaker sets the notebook instance status to InService. A notebook 19873 // instance's status must be InService before you can connect to your Jupyter 19874 // notebook. 19875 // 19876 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 19877 // with awserr.Error's Code and Message methods to get detailed information about 19878 // the error. 19879 // 19880 // See the AWS API reference guide for Amazon SageMaker Service's 19881 // API operation StartNotebookInstance for usage and error information. 19882 // 19883 // Returned Error Types: 19884 // * ResourceLimitExceeded 19885 // You have exceeded an Amazon SageMaker resource limit. For example, you might 19886 // have too many training jobs created. 19887 // 19888 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartNotebookInstance 19889 func (c *SageMaker) StartNotebookInstance(input *StartNotebookInstanceInput) (*StartNotebookInstanceOutput, error) { 19890 req, out := c.StartNotebookInstanceRequest(input) 19891 return out, req.Send() 19892 } 19893 19894 // StartNotebookInstanceWithContext is the same as StartNotebookInstance with the addition of 19895 // the ability to pass a context and additional request options. 19896 // 19897 // See StartNotebookInstance for details on how to use this API operation. 19898 // 19899 // The context must be non-nil and will be used for request cancellation. If 19900 // the context is nil a panic will occur. In the future the SDK may create 19901 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 19902 // for more information on using Contexts. 19903 func (c *SageMaker) StartNotebookInstanceWithContext(ctx aws.Context, input *StartNotebookInstanceInput, opts ...request.Option) (*StartNotebookInstanceOutput, error) { 19904 req, out := c.StartNotebookInstanceRequest(input) 19905 req.SetContext(ctx) 19906 req.ApplyOptions(opts...) 19907 return out, req.Send() 19908 } 19909 19910 const opStartPipelineExecution = "StartPipelineExecution" 19911 19912 // StartPipelineExecutionRequest generates a "aws/request.Request" representing the 19913 // client's request for the StartPipelineExecution operation. The "output" return 19914 // value will be populated with the request's response once the request completes 19915 // successfully. 19916 // 19917 // Use "Send" method on the returned Request to send the API call to the service. 19918 // the "output" return value is not valid until after Send returns without error. 19919 // 19920 // See StartPipelineExecution for more information on using the StartPipelineExecution 19921 // API call, and error handling. 19922 // 19923 // This method is useful when you want to inject custom logic or configuration 19924 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 19925 // 19926 // 19927 // // Example sending a request using the StartPipelineExecutionRequest method. 19928 // req, resp := client.StartPipelineExecutionRequest(params) 19929 // 19930 // err := req.Send() 19931 // if err == nil { // resp is now filled 19932 // fmt.Println(resp) 19933 // } 19934 // 19935 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartPipelineExecution 19936 func (c *SageMaker) StartPipelineExecutionRequest(input *StartPipelineExecutionInput) (req *request.Request, output *StartPipelineExecutionOutput) { 19937 op := &request.Operation{ 19938 Name: opStartPipelineExecution, 19939 HTTPMethod: "POST", 19940 HTTPPath: "/", 19941 } 19942 19943 if input == nil { 19944 input = &StartPipelineExecutionInput{} 19945 } 19946 19947 output = &StartPipelineExecutionOutput{} 19948 req = c.newRequest(op, input, output) 19949 return 19950 } 19951 19952 // StartPipelineExecution API operation for Amazon SageMaker Service. 19953 // 19954 // Starts a pipeline execution. 19955 // 19956 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 19957 // with awserr.Error's Code and Message methods to get detailed information about 19958 // the error. 19959 // 19960 // See the AWS API reference guide for Amazon SageMaker Service's 19961 // API operation StartPipelineExecution for usage and error information. 19962 // 19963 // Returned Error Types: 19964 // * ResourceNotFound 19965 // Resource being access is not found. 19966 // 19967 // * ResourceLimitExceeded 19968 // You have exceeded an Amazon SageMaker resource limit. For example, you might 19969 // have too many training jobs created. 19970 // 19971 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartPipelineExecution 19972 func (c *SageMaker) StartPipelineExecution(input *StartPipelineExecutionInput) (*StartPipelineExecutionOutput, error) { 19973 req, out := c.StartPipelineExecutionRequest(input) 19974 return out, req.Send() 19975 } 19976 19977 // StartPipelineExecutionWithContext is the same as StartPipelineExecution with the addition of 19978 // the ability to pass a context and additional request options. 19979 // 19980 // See StartPipelineExecution for details on how to use this API operation. 19981 // 19982 // The context must be non-nil and will be used for request cancellation. If 19983 // the context is nil a panic will occur. In the future the SDK may create 19984 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 19985 // for more information on using Contexts. 19986 func (c *SageMaker) StartPipelineExecutionWithContext(ctx aws.Context, input *StartPipelineExecutionInput, opts ...request.Option) (*StartPipelineExecutionOutput, error) { 19987 req, out := c.StartPipelineExecutionRequest(input) 19988 req.SetContext(ctx) 19989 req.ApplyOptions(opts...) 19990 return out, req.Send() 19991 } 19992 19993 const opStopAutoMLJob = "StopAutoMLJob" 19994 19995 // StopAutoMLJobRequest generates a "aws/request.Request" representing the 19996 // client's request for the StopAutoMLJob operation. The "output" return 19997 // value will be populated with the request's response once the request completes 19998 // successfully. 19999 // 20000 // Use "Send" method on the returned Request to send the API call to the service. 20001 // the "output" return value is not valid until after Send returns without error. 20002 // 20003 // See StopAutoMLJob for more information on using the StopAutoMLJob 20004 // API call, and error handling. 20005 // 20006 // This method is useful when you want to inject custom logic or configuration 20007 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 20008 // 20009 // 20010 // // Example sending a request using the StopAutoMLJobRequest method. 20011 // req, resp := client.StopAutoMLJobRequest(params) 20012 // 20013 // err := req.Send() 20014 // if err == nil { // resp is now filled 20015 // fmt.Println(resp) 20016 // } 20017 // 20018 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopAutoMLJob 20019 func (c *SageMaker) StopAutoMLJobRequest(input *StopAutoMLJobInput) (req *request.Request, output *StopAutoMLJobOutput) { 20020 op := &request.Operation{ 20021 Name: opStopAutoMLJob, 20022 HTTPMethod: "POST", 20023 HTTPPath: "/", 20024 } 20025 20026 if input == nil { 20027 input = &StopAutoMLJobInput{} 20028 } 20029 20030 output = &StopAutoMLJobOutput{} 20031 req = c.newRequest(op, input, output) 20032 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 20033 return 20034 } 20035 20036 // StopAutoMLJob API operation for Amazon SageMaker Service. 20037 // 20038 // A method for forcing the termination of a running job. 20039 // 20040 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 20041 // with awserr.Error's Code and Message methods to get detailed information about 20042 // the error. 20043 // 20044 // See the AWS API reference guide for Amazon SageMaker Service's 20045 // API operation StopAutoMLJob for usage and error information. 20046 // 20047 // Returned Error Types: 20048 // * ResourceNotFound 20049 // Resource being access is not found. 20050 // 20051 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopAutoMLJob 20052 func (c *SageMaker) StopAutoMLJob(input *StopAutoMLJobInput) (*StopAutoMLJobOutput, error) { 20053 req, out := c.StopAutoMLJobRequest(input) 20054 return out, req.Send() 20055 } 20056 20057 // StopAutoMLJobWithContext is the same as StopAutoMLJob with the addition of 20058 // the ability to pass a context and additional request options. 20059 // 20060 // See StopAutoMLJob for details on how to use this API operation. 20061 // 20062 // The context must be non-nil and will be used for request cancellation. If 20063 // the context is nil a panic will occur. In the future the SDK may create 20064 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 20065 // for more information on using Contexts. 20066 func (c *SageMaker) StopAutoMLJobWithContext(ctx aws.Context, input *StopAutoMLJobInput, opts ...request.Option) (*StopAutoMLJobOutput, error) { 20067 req, out := c.StopAutoMLJobRequest(input) 20068 req.SetContext(ctx) 20069 req.ApplyOptions(opts...) 20070 return out, req.Send() 20071 } 20072 20073 const opStopCompilationJob = "StopCompilationJob" 20074 20075 // StopCompilationJobRequest generates a "aws/request.Request" representing the 20076 // client's request for the StopCompilationJob operation. The "output" return 20077 // value will be populated with the request's response once the request completes 20078 // successfully. 20079 // 20080 // Use "Send" method on the returned Request to send the API call to the service. 20081 // the "output" return value is not valid until after Send returns without error. 20082 // 20083 // See StopCompilationJob for more information on using the StopCompilationJob 20084 // API call, and error handling. 20085 // 20086 // This method is useful when you want to inject custom logic or configuration 20087 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 20088 // 20089 // 20090 // // Example sending a request using the StopCompilationJobRequest method. 20091 // req, resp := client.StopCompilationJobRequest(params) 20092 // 20093 // err := req.Send() 20094 // if err == nil { // resp is now filled 20095 // fmt.Println(resp) 20096 // } 20097 // 20098 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopCompilationJob 20099 func (c *SageMaker) StopCompilationJobRequest(input *StopCompilationJobInput) (req *request.Request, output *StopCompilationJobOutput) { 20100 op := &request.Operation{ 20101 Name: opStopCompilationJob, 20102 HTTPMethod: "POST", 20103 HTTPPath: "/", 20104 } 20105 20106 if input == nil { 20107 input = &StopCompilationJobInput{} 20108 } 20109 20110 output = &StopCompilationJobOutput{} 20111 req = c.newRequest(op, input, output) 20112 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 20113 return 20114 } 20115 20116 // StopCompilationJob API operation for Amazon SageMaker Service. 20117 // 20118 // Stops a model compilation job. 20119 // 20120 // To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal. This 20121 // gracefully shuts the job down. If the job hasn't stopped, it sends the SIGKILL 20122 // signal. 20123 // 20124 // When it receives a StopCompilationJob request, Amazon SageMaker changes the 20125 // CompilationJobSummary$CompilationJobStatus of the job to Stopping. After 20126 // Amazon SageMaker stops the job, it sets the CompilationJobSummary$CompilationJobStatus 20127 // to Stopped. 20128 // 20129 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 20130 // with awserr.Error's Code and Message methods to get detailed information about 20131 // the error. 20132 // 20133 // See the AWS API reference guide for Amazon SageMaker Service's 20134 // API operation StopCompilationJob for usage and error information. 20135 // 20136 // Returned Error Types: 20137 // * ResourceNotFound 20138 // Resource being access is not found. 20139 // 20140 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopCompilationJob 20141 func (c *SageMaker) StopCompilationJob(input *StopCompilationJobInput) (*StopCompilationJobOutput, error) { 20142 req, out := c.StopCompilationJobRequest(input) 20143 return out, req.Send() 20144 } 20145 20146 // StopCompilationJobWithContext is the same as StopCompilationJob with the addition of 20147 // the ability to pass a context and additional request options. 20148 // 20149 // See StopCompilationJob for details on how to use this API operation. 20150 // 20151 // The context must be non-nil and will be used for request cancellation. If 20152 // the context is nil a panic will occur. In the future the SDK may create 20153 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 20154 // for more information on using Contexts. 20155 func (c *SageMaker) StopCompilationJobWithContext(ctx aws.Context, input *StopCompilationJobInput, opts ...request.Option) (*StopCompilationJobOutput, error) { 20156 req, out := c.StopCompilationJobRequest(input) 20157 req.SetContext(ctx) 20158 req.ApplyOptions(opts...) 20159 return out, req.Send() 20160 } 20161 20162 const opStopEdgePackagingJob = "StopEdgePackagingJob" 20163 20164 // StopEdgePackagingJobRequest generates a "aws/request.Request" representing the 20165 // client's request for the StopEdgePackagingJob operation. The "output" return 20166 // value will be populated with the request's response once the request completes 20167 // successfully. 20168 // 20169 // Use "Send" method on the returned Request to send the API call to the service. 20170 // the "output" return value is not valid until after Send returns without error. 20171 // 20172 // See StopEdgePackagingJob for more information on using the StopEdgePackagingJob 20173 // API call, and error handling. 20174 // 20175 // This method is useful when you want to inject custom logic or configuration 20176 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 20177 // 20178 // 20179 // // Example sending a request using the StopEdgePackagingJobRequest method. 20180 // req, resp := client.StopEdgePackagingJobRequest(params) 20181 // 20182 // err := req.Send() 20183 // if err == nil { // resp is now filled 20184 // fmt.Println(resp) 20185 // } 20186 // 20187 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopEdgePackagingJob 20188 func (c *SageMaker) StopEdgePackagingJobRequest(input *StopEdgePackagingJobInput) (req *request.Request, output *StopEdgePackagingJobOutput) { 20189 op := &request.Operation{ 20190 Name: opStopEdgePackagingJob, 20191 HTTPMethod: "POST", 20192 HTTPPath: "/", 20193 } 20194 20195 if input == nil { 20196 input = &StopEdgePackagingJobInput{} 20197 } 20198 20199 output = &StopEdgePackagingJobOutput{} 20200 req = c.newRequest(op, input, output) 20201 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 20202 return 20203 } 20204 20205 // StopEdgePackagingJob API operation for Amazon SageMaker Service. 20206 // 20207 // Request to stop an edge packaging job. 20208 // 20209 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 20210 // with awserr.Error's Code and Message methods to get detailed information about 20211 // the error. 20212 // 20213 // See the AWS API reference guide for Amazon SageMaker Service's 20214 // API operation StopEdgePackagingJob for usage and error information. 20215 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopEdgePackagingJob 20216 func (c *SageMaker) StopEdgePackagingJob(input *StopEdgePackagingJobInput) (*StopEdgePackagingJobOutput, error) { 20217 req, out := c.StopEdgePackagingJobRequest(input) 20218 return out, req.Send() 20219 } 20220 20221 // StopEdgePackagingJobWithContext is the same as StopEdgePackagingJob with the addition of 20222 // the ability to pass a context and additional request options. 20223 // 20224 // See StopEdgePackagingJob for details on how to use this API operation. 20225 // 20226 // The context must be non-nil and will be used for request cancellation. If 20227 // the context is nil a panic will occur. In the future the SDK may create 20228 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 20229 // for more information on using Contexts. 20230 func (c *SageMaker) StopEdgePackagingJobWithContext(ctx aws.Context, input *StopEdgePackagingJobInput, opts ...request.Option) (*StopEdgePackagingJobOutput, error) { 20231 req, out := c.StopEdgePackagingJobRequest(input) 20232 req.SetContext(ctx) 20233 req.ApplyOptions(opts...) 20234 return out, req.Send() 20235 } 20236 20237 const opStopHyperParameterTuningJob = "StopHyperParameterTuningJob" 20238 20239 // StopHyperParameterTuningJobRequest generates a "aws/request.Request" representing the 20240 // client's request for the StopHyperParameterTuningJob operation. The "output" return 20241 // value will be populated with the request's response once the request completes 20242 // successfully. 20243 // 20244 // Use "Send" method on the returned Request to send the API call to the service. 20245 // the "output" return value is not valid until after Send returns without error. 20246 // 20247 // See StopHyperParameterTuningJob for more information on using the StopHyperParameterTuningJob 20248 // API call, and error handling. 20249 // 20250 // This method is useful when you want to inject custom logic or configuration 20251 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 20252 // 20253 // 20254 // // Example sending a request using the StopHyperParameterTuningJobRequest method. 20255 // req, resp := client.StopHyperParameterTuningJobRequest(params) 20256 // 20257 // err := req.Send() 20258 // if err == nil { // resp is now filled 20259 // fmt.Println(resp) 20260 // } 20261 // 20262 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopHyperParameterTuningJob 20263 func (c *SageMaker) StopHyperParameterTuningJobRequest(input *StopHyperParameterTuningJobInput) (req *request.Request, output *StopHyperParameterTuningJobOutput) { 20264 op := &request.Operation{ 20265 Name: opStopHyperParameterTuningJob, 20266 HTTPMethod: "POST", 20267 HTTPPath: "/", 20268 } 20269 20270 if input == nil { 20271 input = &StopHyperParameterTuningJobInput{} 20272 } 20273 20274 output = &StopHyperParameterTuningJobOutput{} 20275 req = c.newRequest(op, input, output) 20276 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 20277 return 20278 } 20279 20280 // StopHyperParameterTuningJob API operation for Amazon SageMaker Service. 20281 // 20282 // Stops a running hyperparameter tuning job and all running training jobs that 20283 // the tuning job launched. 20284 // 20285 // All model artifacts output from the training jobs are stored in Amazon Simple 20286 // Storage Service (Amazon S3). All data that the training jobs write to Amazon 20287 // CloudWatch Logs are still available in CloudWatch. After the tuning job moves 20288 // to the Stopped state, it releases all reserved resources for the tuning job. 20289 // 20290 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 20291 // with awserr.Error's Code and Message methods to get detailed information about 20292 // the error. 20293 // 20294 // See the AWS API reference guide for Amazon SageMaker Service's 20295 // API operation StopHyperParameterTuningJob for usage and error information. 20296 // 20297 // Returned Error Types: 20298 // * ResourceNotFound 20299 // Resource being access is not found. 20300 // 20301 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopHyperParameterTuningJob 20302 func (c *SageMaker) StopHyperParameterTuningJob(input *StopHyperParameterTuningJobInput) (*StopHyperParameterTuningJobOutput, error) { 20303 req, out := c.StopHyperParameterTuningJobRequest(input) 20304 return out, req.Send() 20305 } 20306 20307 // StopHyperParameterTuningJobWithContext is the same as StopHyperParameterTuningJob with the addition of 20308 // the ability to pass a context and additional request options. 20309 // 20310 // See StopHyperParameterTuningJob for details on how to use this API operation. 20311 // 20312 // The context must be non-nil and will be used for request cancellation. If 20313 // the context is nil a panic will occur. In the future the SDK may create 20314 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 20315 // for more information on using Contexts. 20316 func (c *SageMaker) StopHyperParameterTuningJobWithContext(ctx aws.Context, input *StopHyperParameterTuningJobInput, opts ...request.Option) (*StopHyperParameterTuningJobOutput, error) { 20317 req, out := c.StopHyperParameterTuningJobRequest(input) 20318 req.SetContext(ctx) 20319 req.ApplyOptions(opts...) 20320 return out, req.Send() 20321 } 20322 20323 const opStopLabelingJob = "StopLabelingJob" 20324 20325 // StopLabelingJobRequest generates a "aws/request.Request" representing the 20326 // client's request for the StopLabelingJob operation. The "output" return 20327 // value will be populated with the request's response once the request completes 20328 // successfully. 20329 // 20330 // Use "Send" method on the returned Request to send the API call to the service. 20331 // the "output" return value is not valid until after Send returns without error. 20332 // 20333 // See StopLabelingJob for more information on using the StopLabelingJob 20334 // API call, and error handling. 20335 // 20336 // This method is useful when you want to inject custom logic or configuration 20337 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 20338 // 20339 // 20340 // // Example sending a request using the StopLabelingJobRequest method. 20341 // req, resp := client.StopLabelingJobRequest(params) 20342 // 20343 // err := req.Send() 20344 // if err == nil { // resp is now filled 20345 // fmt.Println(resp) 20346 // } 20347 // 20348 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopLabelingJob 20349 func (c *SageMaker) StopLabelingJobRequest(input *StopLabelingJobInput) (req *request.Request, output *StopLabelingJobOutput) { 20350 op := &request.Operation{ 20351 Name: opStopLabelingJob, 20352 HTTPMethod: "POST", 20353 HTTPPath: "/", 20354 } 20355 20356 if input == nil { 20357 input = &StopLabelingJobInput{} 20358 } 20359 20360 output = &StopLabelingJobOutput{} 20361 req = c.newRequest(op, input, output) 20362 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 20363 return 20364 } 20365 20366 // StopLabelingJob API operation for Amazon SageMaker Service. 20367 // 20368 // Stops a running labeling job. A job that is stopped cannot be restarted. 20369 // Any results obtained before the job is stopped are placed in the Amazon S3 20370 // output bucket. 20371 // 20372 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 20373 // with awserr.Error's Code and Message methods to get detailed information about 20374 // the error. 20375 // 20376 // See the AWS API reference guide for Amazon SageMaker Service's 20377 // API operation StopLabelingJob for usage and error information. 20378 // 20379 // Returned Error Types: 20380 // * ResourceNotFound 20381 // Resource being access is not found. 20382 // 20383 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopLabelingJob 20384 func (c *SageMaker) StopLabelingJob(input *StopLabelingJobInput) (*StopLabelingJobOutput, error) { 20385 req, out := c.StopLabelingJobRequest(input) 20386 return out, req.Send() 20387 } 20388 20389 // StopLabelingJobWithContext is the same as StopLabelingJob with the addition of 20390 // the ability to pass a context and additional request options. 20391 // 20392 // See StopLabelingJob for details on how to use this API operation. 20393 // 20394 // The context must be non-nil and will be used for request cancellation. If 20395 // the context is nil a panic will occur. In the future the SDK may create 20396 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 20397 // for more information on using Contexts. 20398 func (c *SageMaker) StopLabelingJobWithContext(ctx aws.Context, input *StopLabelingJobInput, opts ...request.Option) (*StopLabelingJobOutput, error) { 20399 req, out := c.StopLabelingJobRequest(input) 20400 req.SetContext(ctx) 20401 req.ApplyOptions(opts...) 20402 return out, req.Send() 20403 } 20404 20405 const opStopMonitoringSchedule = "StopMonitoringSchedule" 20406 20407 // StopMonitoringScheduleRequest generates a "aws/request.Request" representing the 20408 // client's request for the StopMonitoringSchedule operation. The "output" return 20409 // value will be populated with the request's response once the request completes 20410 // successfully. 20411 // 20412 // Use "Send" method on the returned Request to send the API call to the service. 20413 // the "output" return value is not valid until after Send returns without error. 20414 // 20415 // See StopMonitoringSchedule for more information on using the StopMonitoringSchedule 20416 // API call, and error handling. 20417 // 20418 // This method is useful when you want to inject custom logic or configuration 20419 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 20420 // 20421 // 20422 // // Example sending a request using the StopMonitoringScheduleRequest method. 20423 // req, resp := client.StopMonitoringScheduleRequest(params) 20424 // 20425 // err := req.Send() 20426 // if err == nil { // resp is now filled 20427 // fmt.Println(resp) 20428 // } 20429 // 20430 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopMonitoringSchedule 20431 func (c *SageMaker) StopMonitoringScheduleRequest(input *StopMonitoringScheduleInput) (req *request.Request, output *StopMonitoringScheduleOutput) { 20432 op := &request.Operation{ 20433 Name: opStopMonitoringSchedule, 20434 HTTPMethod: "POST", 20435 HTTPPath: "/", 20436 } 20437 20438 if input == nil { 20439 input = &StopMonitoringScheduleInput{} 20440 } 20441 20442 output = &StopMonitoringScheduleOutput{} 20443 req = c.newRequest(op, input, output) 20444 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 20445 return 20446 } 20447 20448 // StopMonitoringSchedule API operation for Amazon SageMaker Service. 20449 // 20450 // Stops a previously started monitoring schedule. 20451 // 20452 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 20453 // with awserr.Error's Code and Message methods to get detailed information about 20454 // the error. 20455 // 20456 // See the AWS API reference guide for Amazon SageMaker Service's 20457 // API operation StopMonitoringSchedule for usage and error information. 20458 // 20459 // Returned Error Types: 20460 // * ResourceNotFound 20461 // Resource being access is not found. 20462 // 20463 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopMonitoringSchedule 20464 func (c *SageMaker) StopMonitoringSchedule(input *StopMonitoringScheduleInput) (*StopMonitoringScheduleOutput, error) { 20465 req, out := c.StopMonitoringScheduleRequest(input) 20466 return out, req.Send() 20467 } 20468 20469 // StopMonitoringScheduleWithContext is the same as StopMonitoringSchedule with the addition of 20470 // the ability to pass a context and additional request options. 20471 // 20472 // See StopMonitoringSchedule for details on how to use this API operation. 20473 // 20474 // The context must be non-nil and will be used for request cancellation. If 20475 // the context is nil a panic will occur. In the future the SDK may create 20476 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 20477 // for more information on using Contexts. 20478 func (c *SageMaker) StopMonitoringScheduleWithContext(ctx aws.Context, input *StopMonitoringScheduleInput, opts ...request.Option) (*StopMonitoringScheduleOutput, error) { 20479 req, out := c.StopMonitoringScheduleRequest(input) 20480 req.SetContext(ctx) 20481 req.ApplyOptions(opts...) 20482 return out, req.Send() 20483 } 20484 20485 const opStopNotebookInstance = "StopNotebookInstance" 20486 20487 // StopNotebookInstanceRequest generates a "aws/request.Request" representing the 20488 // client's request for the StopNotebookInstance operation. The "output" return 20489 // value will be populated with the request's response once the request completes 20490 // successfully. 20491 // 20492 // Use "Send" method on the returned Request to send the API call to the service. 20493 // the "output" return value is not valid until after Send returns without error. 20494 // 20495 // See StopNotebookInstance for more information on using the StopNotebookInstance 20496 // API call, and error handling. 20497 // 20498 // This method is useful when you want to inject custom logic or configuration 20499 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 20500 // 20501 // 20502 // // Example sending a request using the StopNotebookInstanceRequest method. 20503 // req, resp := client.StopNotebookInstanceRequest(params) 20504 // 20505 // err := req.Send() 20506 // if err == nil { // resp is now filled 20507 // fmt.Println(resp) 20508 // } 20509 // 20510 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopNotebookInstance 20511 func (c *SageMaker) StopNotebookInstanceRequest(input *StopNotebookInstanceInput) (req *request.Request, output *StopNotebookInstanceOutput) { 20512 op := &request.Operation{ 20513 Name: opStopNotebookInstance, 20514 HTTPMethod: "POST", 20515 HTTPPath: "/", 20516 } 20517 20518 if input == nil { 20519 input = &StopNotebookInstanceInput{} 20520 } 20521 20522 output = &StopNotebookInstanceOutput{} 20523 req = c.newRequest(op, input, output) 20524 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 20525 return 20526 } 20527 20528 // StopNotebookInstance API operation for Amazon SageMaker Service. 20529 // 20530 // Terminates the ML compute instance. Before terminating the instance, Amazon 20531 // SageMaker disconnects the ML storage volume from it. Amazon SageMaker preserves 20532 // the ML storage volume. Amazon SageMaker stops charging you for the ML compute 20533 // instance when you call StopNotebookInstance. 20534 // 20535 // To access data on the ML storage volume for a notebook instance that has 20536 // been terminated, call the StartNotebookInstance API. StartNotebookInstance 20537 // launches another ML compute instance, configures it, and attaches the preserved 20538 // ML storage volume so you can continue your work. 20539 // 20540 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 20541 // with awserr.Error's Code and Message methods to get detailed information about 20542 // the error. 20543 // 20544 // See the AWS API reference guide for Amazon SageMaker Service's 20545 // API operation StopNotebookInstance for usage and error information. 20546 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopNotebookInstance 20547 func (c *SageMaker) StopNotebookInstance(input *StopNotebookInstanceInput) (*StopNotebookInstanceOutput, error) { 20548 req, out := c.StopNotebookInstanceRequest(input) 20549 return out, req.Send() 20550 } 20551 20552 // StopNotebookInstanceWithContext is the same as StopNotebookInstance with the addition of 20553 // the ability to pass a context and additional request options. 20554 // 20555 // See StopNotebookInstance for details on how to use this API operation. 20556 // 20557 // The context must be non-nil and will be used for request cancellation. If 20558 // the context is nil a panic will occur. In the future the SDK may create 20559 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 20560 // for more information on using Contexts. 20561 func (c *SageMaker) StopNotebookInstanceWithContext(ctx aws.Context, input *StopNotebookInstanceInput, opts ...request.Option) (*StopNotebookInstanceOutput, error) { 20562 req, out := c.StopNotebookInstanceRequest(input) 20563 req.SetContext(ctx) 20564 req.ApplyOptions(opts...) 20565 return out, req.Send() 20566 } 20567 20568 const opStopPipelineExecution = "StopPipelineExecution" 20569 20570 // StopPipelineExecutionRequest generates a "aws/request.Request" representing the 20571 // client's request for the StopPipelineExecution operation. The "output" return 20572 // value will be populated with the request's response once the request completes 20573 // successfully. 20574 // 20575 // Use "Send" method on the returned Request to send the API call to the service. 20576 // the "output" return value is not valid until after Send returns without error. 20577 // 20578 // See StopPipelineExecution for more information on using the StopPipelineExecution 20579 // API call, and error handling. 20580 // 20581 // This method is useful when you want to inject custom logic or configuration 20582 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 20583 // 20584 // 20585 // // Example sending a request using the StopPipelineExecutionRequest method. 20586 // req, resp := client.StopPipelineExecutionRequest(params) 20587 // 20588 // err := req.Send() 20589 // if err == nil { // resp is now filled 20590 // fmt.Println(resp) 20591 // } 20592 // 20593 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopPipelineExecution 20594 func (c *SageMaker) StopPipelineExecutionRequest(input *StopPipelineExecutionInput) (req *request.Request, output *StopPipelineExecutionOutput) { 20595 op := &request.Operation{ 20596 Name: opStopPipelineExecution, 20597 HTTPMethod: "POST", 20598 HTTPPath: "/", 20599 } 20600 20601 if input == nil { 20602 input = &StopPipelineExecutionInput{} 20603 } 20604 20605 output = &StopPipelineExecutionOutput{} 20606 req = c.newRequest(op, input, output) 20607 return 20608 } 20609 20610 // StopPipelineExecution API operation for Amazon SageMaker Service. 20611 // 20612 // Stops a pipeline execution. 20613 // 20614 // Callback Step 20615 // 20616 // A pipeline execution won't stop while a callback step is running. When you 20617 // call StopPipelineExecution on a pipeline execution with a running callback 20618 // step, SageMaker Pipelines sends an additional Amazon SQS message to the specified 20619 // SQS queue. The body of the SQS message contains a "Status" field which is 20620 // set to "Stopping". 20621 // 20622 // You should add logic to your Amazon SQS message consumer to take any needed 20623 // action (for example, resource cleanup) upon receipt of the message followed 20624 // by a call to SendPipelineExecutionStepSuccess or SendPipelineExecutionStepFailure. 20625 // 20626 // Only when SageMaker Pipelines receives one of these calls will it stop the 20627 // pipeline execution. 20628 // 20629 // Lambda Step 20630 // 20631 // A pipeline execution can't be stopped while a lambda step is running because 20632 // the Lambda function invoked by the lambda step can't be stopped. If you attempt 20633 // to stop the execution while the Lambda function is running, the pipeline 20634 // waits for the Lambda function to finish or until the timeout is hit, whichever 20635 // occurs first, and then stops. If the Lambda function finishes, the pipeline 20636 // execution status is Stopped. If the timeout is hit the pipeline execution 20637 // status is Failed. 20638 // 20639 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 20640 // with awserr.Error's Code and Message methods to get detailed information about 20641 // the error. 20642 // 20643 // See the AWS API reference guide for Amazon SageMaker Service's 20644 // API operation StopPipelineExecution for usage and error information. 20645 // 20646 // Returned Error Types: 20647 // * ResourceNotFound 20648 // Resource being access is not found. 20649 // 20650 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopPipelineExecution 20651 func (c *SageMaker) StopPipelineExecution(input *StopPipelineExecutionInput) (*StopPipelineExecutionOutput, error) { 20652 req, out := c.StopPipelineExecutionRequest(input) 20653 return out, req.Send() 20654 } 20655 20656 // StopPipelineExecutionWithContext is the same as StopPipelineExecution with the addition of 20657 // the ability to pass a context and additional request options. 20658 // 20659 // See StopPipelineExecution for details on how to use this API operation. 20660 // 20661 // The context must be non-nil and will be used for request cancellation. If 20662 // the context is nil a panic will occur. In the future the SDK may create 20663 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 20664 // for more information on using Contexts. 20665 func (c *SageMaker) StopPipelineExecutionWithContext(ctx aws.Context, input *StopPipelineExecutionInput, opts ...request.Option) (*StopPipelineExecutionOutput, error) { 20666 req, out := c.StopPipelineExecutionRequest(input) 20667 req.SetContext(ctx) 20668 req.ApplyOptions(opts...) 20669 return out, req.Send() 20670 } 20671 20672 const opStopProcessingJob = "StopProcessingJob" 20673 20674 // StopProcessingJobRequest generates a "aws/request.Request" representing the 20675 // client's request for the StopProcessingJob operation. The "output" return 20676 // value will be populated with the request's response once the request completes 20677 // successfully. 20678 // 20679 // Use "Send" method on the returned Request to send the API call to the service. 20680 // the "output" return value is not valid until after Send returns without error. 20681 // 20682 // See StopProcessingJob for more information on using the StopProcessingJob 20683 // API call, and error handling. 20684 // 20685 // This method is useful when you want to inject custom logic or configuration 20686 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 20687 // 20688 // 20689 // // Example sending a request using the StopProcessingJobRequest method. 20690 // req, resp := client.StopProcessingJobRequest(params) 20691 // 20692 // err := req.Send() 20693 // if err == nil { // resp is now filled 20694 // fmt.Println(resp) 20695 // } 20696 // 20697 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopProcessingJob 20698 func (c *SageMaker) StopProcessingJobRequest(input *StopProcessingJobInput) (req *request.Request, output *StopProcessingJobOutput) { 20699 op := &request.Operation{ 20700 Name: opStopProcessingJob, 20701 HTTPMethod: "POST", 20702 HTTPPath: "/", 20703 } 20704 20705 if input == nil { 20706 input = &StopProcessingJobInput{} 20707 } 20708 20709 output = &StopProcessingJobOutput{} 20710 req = c.newRequest(op, input, output) 20711 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 20712 return 20713 } 20714 20715 // StopProcessingJob API operation for Amazon SageMaker Service. 20716 // 20717 // Stops a processing job. 20718 // 20719 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 20720 // with awserr.Error's Code and Message methods to get detailed information about 20721 // the error. 20722 // 20723 // See the AWS API reference guide for Amazon SageMaker Service's 20724 // API operation StopProcessingJob for usage and error information. 20725 // 20726 // Returned Error Types: 20727 // * ResourceNotFound 20728 // Resource being access is not found. 20729 // 20730 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopProcessingJob 20731 func (c *SageMaker) StopProcessingJob(input *StopProcessingJobInput) (*StopProcessingJobOutput, error) { 20732 req, out := c.StopProcessingJobRequest(input) 20733 return out, req.Send() 20734 } 20735 20736 // StopProcessingJobWithContext is the same as StopProcessingJob with the addition of 20737 // the ability to pass a context and additional request options. 20738 // 20739 // See StopProcessingJob for details on how to use this API operation. 20740 // 20741 // The context must be non-nil and will be used for request cancellation. If 20742 // the context is nil a panic will occur. In the future the SDK may create 20743 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 20744 // for more information on using Contexts. 20745 func (c *SageMaker) StopProcessingJobWithContext(ctx aws.Context, input *StopProcessingJobInput, opts ...request.Option) (*StopProcessingJobOutput, error) { 20746 req, out := c.StopProcessingJobRequest(input) 20747 req.SetContext(ctx) 20748 req.ApplyOptions(opts...) 20749 return out, req.Send() 20750 } 20751 20752 const opStopTrainingJob = "StopTrainingJob" 20753 20754 // StopTrainingJobRequest generates a "aws/request.Request" representing the 20755 // client's request for the StopTrainingJob operation. The "output" return 20756 // value will be populated with the request's response once the request completes 20757 // successfully. 20758 // 20759 // Use "Send" method on the returned Request to send the API call to the service. 20760 // the "output" return value is not valid until after Send returns without error. 20761 // 20762 // See StopTrainingJob for more information on using the StopTrainingJob 20763 // API call, and error handling. 20764 // 20765 // This method is useful when you want to inject custom logic or configuration 20766 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 20767 // 20768 // 20769 // // Example sending a request using the StopTrainingJobRequest method. 20770 // req, resp := client.StopTrainingJobRequest(params) 20771 // 20772 // err := req.Send() 20773 // if err == nil { // resp is now filled 20774 // fmt.Println(resp) 20775 // } 20776 // 20777 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTrainingJob 20778 func (c *SageMaker) StopTrainingJobRequest(input *StopTrainingJobInput) (req *request.Request, output *StopTrainingJobOutput) { 20779 op := &request.Operation{ 20780 Name: opStopTrainingJob, 20781 HTTPMethod: "POST", 20782 HTTPPath: "/", 20783 } 20784 20785 if input == nil { 20786 input = &StopTrainingJobInput{} 20787 } 20788 20789 output = &StopTrainingJobOutput{} 20790 req = c.newRequest(op, input, output) 20791 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 20792 return 20793 } 20794 20795 // StopTrainingJob API operation for Amazon SageMaker Service. 20796 // 20797 // Stops a training job. To stop a job, Amazon SageMaker sends the algorithm 20798 // the SIGTERM signal, which delays job termination for 120 seconds. Algorithms 20799 // might use this 120-second window to save the model artifacts, so the results 20800 // of the training is not lost. 20801 // 20802 // When it receives a StopTrainingJob request, Amazon SageMaker changes the 20803 // status of the job to Stopping. After Amazon SageMaker stops the job, it sets 20804 // the status to Stopped. 20805 // 20806 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 20807 // with awserr.Error's Code and Message methods to get detailed information about 20808 // the error. 20809 // 20810 // See the AWS API reference guide for Amazon SageMaker Service's 20811 // API operation StopTrainingJob for usage and error information. 20812 // 20813 // Returned Error Types: 20814 // * ResourceNotFound 20815 // Resource being access is not found. 20816 // 20817 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTrainingJob 20818 func (c *SageMaker) StopTrainingJob(input *StopTrainingJobInput) (*StopTrainingJobOutput, error) { 20819 req, out := c.StopTrainingJobRequest(input) 20820 return out, req.Send() 20821 } 20822 20823 // StopTrainingJobWithContext is the same as StopTrainingJob with the addition of 20824 // the ability to pass a context and additional request options. 20825 // 20826 // See StopTrainingJob for details on how to use this API operation. 20827 // 20828 // The context must be non-nil and will be used for request cancellation. If 20829 // the context is nil a panic will occur. In the future the SDK may create 20830 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 20831 // for more information on using Contexts. 20832 func (c *SageMaker) StopTrainingJobWithContext(ctx aws.Context, input *StopTrainingJobInput, opts ...request.Option) (*StopTrainingJobOutput, error) { 20833 req, out := c.StopTrainingJobRequest(input) 20834 req.SetContext(ctx) 20835 req.ApplyOptions(opts...) 20836 return out, req.Send() 20837 } 20838 20839 const opStopTransformJob = "StopTransformJob" 20840 20841 // StopTransformJobRequest generates a "aws/request.Request" representing the 20842 // client's request for the StopTransformJob operation. The "output" return 20843 // value will be populated with the request's response once the request completes 20844 // successfully. 20845 // 20846 // Use "Send" method on the returned Request to send the API call to the service. 20847 // the "output" return value is not valid until after Send returns without error. 20848 // 20849 // See StopTransformJob for more information on using the StopTransformJob 20850 // API call, and error handling. 20851 // 20852 // This method is useful when you want to inject custom logic or configuration 20853 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 20854 // 20855 // 20856 // // Example sending a request using the StopTransformJobRequest method. 20857 // req, resp := client.StopTransformJobRequest(params) 20858 // 20859 // err := req.Send() 20860 // if err == nil { // resp is now filled 20861 // fmt.Println(resp) 20862 // } 20863 // 20864 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTransformJob 20865 func (c *SageMaker) StopTransformJobRequest(input *StopTransformJobInput) (req *request.Request, output *StopTransformJobOutput) { 20866 op := &request.Operation{ 20867 Name: opStopTransformJob, 20868 HTTPMethod: "POST", 20869 HTTPPath: "/", 20870 } 20871 20872 if input == nil { 20873 input = &StopTransformJobInput{} 20874 } 20875 20876 output = &StopTransformJobOutput{} 20877 req = c.newRequest(op, input, output) 20878 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 20879 return 20880 } 20881 20882 // StopTransformJob API operation for Amazon SageMaker Service. 20883 // 20884 // Stops a transform job. 20885 // 20886 // When Amazon SageMaker receives a StopTransformJob request, the status of 20887 // the job changes to Stopping. After Amazon SageMaker stops the job, the status 20888 // is set to Stopped. When you stop a transform job before it is completed, 20889 // Amazon SageMaker doesn't store the job's output in Amazon S3. 20890 // 20891 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 20892 // with awserr.Error's Code and Message methods to get detailed information about 20893 // the error. 20894 // 20895 // See the AWS API reference guide for Amazon SageMaker Service's 20896 // API operation StopTransformJob for usage and error information. 20897 // 20898 // Returned Error Types: 20899 // * ResourceNotFound 20900 // Resource being access is not found. 20901 // 20902 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTransformJob 20903 func (c *SageMaker) StopTransformJob(input *StopTransformJobInput) (*StopTransformJobOutput, error) { 20904 req, out := c.StopTransformJobRequest(input) 20905 return out, req.Send() 20906 } 20907 20908 // StopTransformJobWithContext is the same as StopTransformJob with the addition of 20909 // the ability to pass a context and additional request options. 20910 // 20911 // See StopTransformJob for details on how to use this API operation. 20912 // 20913 // The context must be non-nil and will be used for request cancellation. If 20914 // the context is nil a panic will occur. In the future the SDK may create 20915 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 20916 // for more information on using Contexts. 20917 func (c *SageMaker) StopTransformJobWithContext(ctx aws.Context, input *StopTransformJobInput, opts ...request.Option) (*StopTransformJobOutput, error) { 20918 req, out := c.StopTransformJobRequest(input) 20919 req.SetContext(ctx) 20920 req.ApplyOptions(opts...) 20921 return out, req.Send() 20922 } 20923 20924 const opUpdateAction = "UpdateAction" 20925 20926 // UpdateActionRequest generates a "aws/request.Request" representing the 20927 // client's request for the UpdateAction operation. The "output" return 20928 // value will be populated with the request's response once the request completes 20929 // successfully. 20930 // 20931 // Use "Send" method on the returned Request to send the API call to the service. 20932 // the "output" return value is not valid until after Send returns without error. 20933 // 20934 // See UpdateAction for more information on using the UpdateAction 20935 // API call, and error handling. 20936 // 20937 // This method is useful when you want to inject custom logic or configuration 20938 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 20939 // 20940 // 20941 // // Example sending a request using the UpdateActionRequest method. 20942 // req, resp := client.UpdateActionRequest(params) 20943 // 20944 // err := req.Send() 20945 // if err == nil { // resp is now filled 20946 // fmt.Println(resp) 20947 // } 20948 // 20949 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateAction 20950 func (c *SageMaker) UpdateActionRequest(input *UpdateActionInput) (req *request.Request, output *UpdateActionOutput) { 20951 op := &request.Operation{ 20952 Name: opUpdateAction, 20953 HTTPMethod: "POST", 20954 HTTPPath: "/", 20955 } 20956 20957 if input == nil { 20958 input = &UpdateActionInput{} 20959 } 20960 20961 output = &UpdateActionOutput{} 20962 req = c.newRequest(op, input, output) 20963 return 20964 } 20965 20966 // UpdateAction API operation for Amazon SageMaker Service. 20967 // 20968 // Updates an action. 20969 // 20970 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 20971 // with awserr.Error's Code and Message methods to get detailed information about 20972 // the error. 20973 // 20974 // See the AWS API reference guide for Amazon SageMaker Service's 20975 // API operation UpdateAction for usage and error information. 20976 // 20977 // Returned Error Types: 20978 // * ConflictException 20979 // There was a conflict when you attempted to modify a SageMaker entity such 20980 // as an Experiment or Artifact. 20981 // 20982 // * ResourceNotFound 20983 // Resource being access is not found. 20984 // 20985 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateAction 20986 func (c *SageMaker) UpdateAction(input *UpdateActionInput) (*UpdateActionOutput, error) { 20987 req, out := c.UpdateActionRequest(input) 20988 return out, req.Send() 20989 } 20990 20991 // UpdateActionWithContext is the same as UpdateAction with the addition of 20992 // the ability to pass a context and additional request options. 20993 // 20994 // See UpdateAction for details on how to use this API operation. 20995 // 20996 // The context must be non-nil and will be used for request cancellation. If 20997 // the context is nil a panic will occur. In the future the SDK may create 20998 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 20999 // for more information on using Contexts. 21000 func (c *SageMaker) UpdateActionWithContext(ctx aws.Context, input *UpdateActionInput, opts ...request.Option) (*UpdateActionOutput, error) { 21001 req, out := c.UpdateActionRequest(input) 21002 req.SetContext(ctx) 21003 req.ApplyOptions(opts...) 21004 return out, req.Send() 21005 } 21006 21007 const opUpdateAppImageConfig = "UpdateAppImageConfig" 21008 21009 // UpdateAppImageConfigRequest generates a "aws/request.Request" representing the 21010 // client's request for the UpdateAppImageConfig operation. The "output" return 21011 // value will be populated with the request's response once the request completes 21012 // successfully. 21013 // 21014 // Use "Send" method on the returned Request to send the API call to the service. 21015 // the "output" return value is not valid until after Send returns without error. 21016 // 21017 // See UpdateAppImageConfig for more information on using the UpdateAppImageConfig 21018 // API call, and error handling. 21019 // 21020 // This method is useful when you want to inject custom logic or configuration 21021 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 21022 // 21023 // 21024 // // Example sending a request using the UpdateAppImageConfigRequest method. 21025 // req, resp := client.UpdateAppImageConfigRequest(params) 21026 // 21027 // err := req.Send() 21028 // if err == nil { // resp is now filled 21029 // fmt.Println(resp) 21030 // } 21031 // 21032 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateAppImageConfig 21033 func (c *SageMaker) UpdateAppImageConfigRequest(input *UpdateAppImageConfigInput) (req *request.Request, output *UpdateAppImageConfigOutput) { 21034 op := &request.Operation{ 21035 Name: opUpdateAppImageConfig, 21036 HTTPMethod: "POST", 21037 HTTPPath: "/", 21038 } 21039 21040 if input == nil { 21041 input = &UpdateAppImageConfigInput{} 21042 } 21043 21044 output = &UpdateAppImageConfigOutput{} 21045 req = c.newRequest(op, input, output) 21046 return 21047 } 21048 21049 // UpdateAppImageConfig API operation for Amazon SageMaker Service. 21050 // 21051 // Updates the properties of an AppImageConfig. 21052 // 21053 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 21054 // with awserr.Error's Code and Message methods to get detailed information about 21055 // the error. 21056 // 21057 // See the AWS API reference guide for Amazon SageMaker Service's 21058 // API operation UpdateAppImageConfig for usage and error information. 21059 // 21060 // Returned Error Types: 21061 // * ResourceNotFound 21062 // Resource being access is not found. 21063 // 21064 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateAppImageConfig 21065 func (c *SageMaker) UpdateAppImageConfig(input *UpdateAppImageConfigInput) (*UpdateAppImageConfigOutput, error) { 21066 req, out := c.UpdateAppImageConfigRequest(input) 21067 return out, req.Send() 21068 } 21069 21070 // UpdateAppImageConfigWithContext is the same as UpdateAppImageConfig with the addition of 21071 // the ability to pass a context and additional request options. 21072 // 21073 // See UpdateAppImageConfig for details on how to use this API operation. 21074 // 21075 // The context must be non-nil and will be used for request cancellation. If 21076 // the context is nil a panic will occur. In the future the SDK may create 21077 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 21078 // for more information on using Contexts. 21079 func (c *SageMaker) UpdateAppImageConfigWithContext(ctx aws.Context, input *UpdateAppImageConfigInput, opts ...request.Option) (*UpdateAppImageConfigOutput, error) { 21080 req, out := c.UpdateAppImageConfigRequest(input) 21081 req.SetContext(ctx) 21082 req.ApplyOptions(opts...) 21083 return out, req.Send() 21084 } 21085 21086 const opUpdateArtifact = "UpdateArtifact" 21087 21088 // UpdateArtifactRequest generates a "aws/request.Request" representing the 21089 // client's request for the UpdateArtifact operation. The "output" return 21090 // value will be populated with the request's response once the request completes 21091 // successfully. 21092 // 21093 // Use "Send" method on the returned Request to send the API call to the service. 21094 // the "output" return value is not valid until after Send returns without error. 21095 // 21096 // See UpdateArtifact for more information on using the UpdateArtifact 21097 // API call, and error handling. 21098 // 21099 // This method is useful when you want to inject custom logic or configuration 21100 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 21101 // 21102 // 21103 // // Example sending a request using the UpdateArtifactRequest method. 21104 // req, resp := client.UpdateArtifactRequest(params) 21105 // 21106 // err := req.Send() 21107 // if err == nil { // resp is now filled 21108 // fmt.Println(resp) 21109 // } 21110 // 21111 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateArtifact 21112 func (c *SageMaker) UpdateArtifactRequest(input *UpdateArtifactInput) (req *request.Request, output *UpdateArtifactOutput) { 21113 op := &request.Operation{ 21114 Name: opUpdateArtifact, 21115 HTTPMethod: "POST", 21116 HTTPPath: "/", 21117 } 21118 21119 if input == nil { 21120 input = &UpdateArtifactInput{} 21121 } 21122 21123 output = &UpdateArtifactOutput{} 21124 req = c.newRequest(op, input, output) 21125 return 21126 } 21127 21128 // UpdateArtifact API operation for Amazon SageMaker Service. 21129 // 21130 // Updates an artifact. 21131 // 21132 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 21133 // with awserr.Error's Code and Message methods to get detailed information about 21134 // the error. 21135 // 21136 // See the AWS API reference guide for Amazon SageMaker Service's 21137 // API operation UpdateArtifact for usage and error information. 21138 // 21139 // Returned Error Types: 21140 // * ConflictException 21141 // There was a conflict when you attempted to modify a SageMaker entity such 21142 // as an Experiment or Artifact. 21143 // 21144 // * ResourceNotFound 21145 // Resource being access is not found. 21146 // 21147 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateArtifact 21148 func (c *SageMaker) UpdateArtifact(input *UpdateArtifactInput) (*UpdateArtifactOutput, error) { 21149 req, out := c.UpdateArtifactRequest(input) 21150 return out, req.Send() 21151 } 21152 21153 // UpdateArtifactWithContext is the same as UpdateArtifact with the addition of 21154 // the ability to pass a context and additional request options. 21155 // 21156 // See UpdateArtifact for details on how to use this API operation. 21157 // 21158 // The context must be non-nil and will be used for request cancellation. If 21159 // the context is nil a panic will occur. In the future the SDK may create 21160 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 21161 // for more information on using Contexts. 21162 func (c *SageMaker) UpdateArtifactWithContext(ctx aws.Context, input *UpdateArtifactInput, opts ...request.Option) (*UpdateArtifactOutput, error) { 21163 req, out := c.UpdateArtifactRequest(input) 21164 req.SetContext(ctx) 21165 req.ApplyOptions(opts...) 21166 return out, req.Send() 21167 } 21168 21169 const opUpdateCodeRepository = "UpdateCodeRepository" 21170 21171 // UpdateCodeRepositoryRequest generates a "aws/request.Request" representing the 21172 // client's request for the UpdateCodeRepository operation. The "output" return 21173 // value will be populated with the request's response once the request completes 21174 // successfully. 21175 // 21176 // Use "Send" method on the returned Request to send the API call to the service. 21177 // the "output" return value is not valid until after Send returns without error. 21178 // 21179 // See UpdateCodeRepository for more information on using the UpdateCodeRepository 21180 // API call, and error handling. 21181 // 21182 // This method is useful when you want to inject custom logic or configuration 21183 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 21184 // 21185 // 21186 // // Example sending a request using the UpdateCodeRepositoryRequest method. 21187 // req, resp := client.UpdateCodeRepositoryRequest(params) 21188 // 21189 // err := req.Send() 21190 // if err == nil { // resp is now filled 21191 // fmt.Println(resp) 21192 // } 21193 // 21194 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateCodeRepository 21195 func (c *SageMaker) UpdateCodeRepositoryRequest(input *UpdateCodeRepositoryInput) (req *request.Request, output *UpdateCodeRepositoryOutput) { 21196 op := &request.Operation{ 21197 Name: opUpdateCodeRepository, 21198 HTTPMethod: "POST", 21199 HTTPPath: "/", 21200 } 21201 21202 if input == nil { 21203 input = &UpdateCodeRepositoryInput{} 21204 } 21205 21206 output = &UpdateCodeRepositoryOutput{} 21207 req = c.newRequest(op, input, output) 21208 return 21209 } 21210 21211 // UpdateCodeRepository API operation for Amazon SageMaker Service. 21212 // 21213 // Updates the specified Git repository with the specified values. 21214 // 21215 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 21216 // with awserr.Error's Code and Message methods to get detailed information about 21217 // the error. 21218 // 21219 // See the AWS API reference guide for Amazon SageMaker Service's 21220 // API operation UpdateCodeRepository for usage and error information. 21221 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateCodeRepository 21222 func (c *SageMaker) UpdateCodeRepository(input *UpdateCodeRepositoryInput) (*UpdateCodeRepositoryOutput, error) { 21223 req, out := c.UpdateCodeRepositoryRequest(input) 21224 return out, req.Send() 21225 } 21226 21227 // UpdateCodeRepositoryWithContext is the same as UpdateCodeRepository with the addition of 21228 // the ability to pass a context and additional request options. 21229 // 21230 // See UpdateCodeRepository for details on how to use this API operation. 21231 // 21232 // The context must be non-nil and will be used for request cancellation. If 21233 // the context is nil a panic will occur. In the future the SDK may create 21234 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 21235 // for more information on using Contexts. 21236 func (c *SageMaker) UpdateCodeRepositoryWithContext(ctx aws.Context, input *UpdateCodeRepositoryInput, opts ...request.Option) (*UpdateCodeRepositoryOutput, error) { 21237 req, out := c.UpdateCodeRepositoryRequest(input) 21238 req.SetContext(ctx) 21239 req.ApplyOptions(opts...) 21240 return out, req.Send() 21241 } 21242 21243 const opUpdateContext = "UpdateContext" 21244 21245 // UpdateContextRequest generates a "aws/request.Request" representing the 21246 // client's request for the UpdateContext operation. The "output" return 21247 // value will be populated with the request's response once the request completes 21248 // successfully. 21249 // 21250 // Use "Send" method on the returned Request to send the API call to the service. 21251 // the "output" return value is not valid until after Send returns without error. 21252 // 21253 // See UpdateContext for more information on using the UpdateContext 21254 // API call, and error handling. 21255 // 21256 // This method is useful when you want to inject custom logic or configuration 21257 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 21258 // 21259 // 21260 // // Example sending a request using the UpdateContextRequest method. 21261 // req, resp := client.UpdateContextRequest(params) 21262 // 21263 // err := req.Send() 21264 // if err == nil { // resp is now filled 21265 // fmt.Println(resp) 21266 // } 21267 // 21268 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateContext 21269 func (c *SageMaker) UpdateContextRequest(input *UpdateContextInput) (req *request.Request, output *UpdateContextOutput) { 21270 op := &request.Operation{ 21271 Name: opUpdateContext, 21272 HTTPMethod: "POST", 21273 HTTPPath: "/", 21274 } 21275 21276 if input == nil { 21277 input = &UpdateContextInput{} 21278 } 21279 21280 output = &UpdateContextOutput{} 21281 req = c.newRequest(op, input, output) 21282 return 21283 } 21284 21285 // UpdateContext API operation for Amazon SageMaker Service. 21286 // 21287 // Updates a context. 21288 // 21289 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 21290 // with awserr.Error's Code and Message methods to get detailed information about 21291 // the error. 21292 // 21293 // See the AWS API reference guide for Amazon SageMaker Service's 21294 // API operation UpdateContext for usage and error information. 21295 // 21296 // Returned Error Types: 21297 // * ConflictException 21298 // There was a conflict when you attempted to modify a SageMaker entity such 21299 // as an Experiment or Artifact. 21300 // 21301 // * ResourceNotFound 21302 // Resource being access is not found. 21303 // 21304 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateContext 21305 func (c *SageMaker) UpdateContext(input *UpdateContextInput) (*UpdateContextOutput, error) { 21306 req, out := c.UpdateContextRequest(input) 21307 return out, req.Send() 21308 } 21309 21310 // UpdateContextWithContext is the same as UpdateContext with the addition of 21311 // the ability to pass a context and additional request options. 21312 // 21313 // See UpdateContext for details on how to use this API operation. 21314 // 21315 // The context must be non-nil and will be used for request cancellation. If 21316 // the context is nil a panic will occur. In the future the SDK may create 21317 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 21318 // for more information on using Contexts. 21319 func (c *SageMaker) UpdateContextWithContext(ctx aws.Context, input *UpdateContextInput, opts ...request.Option) (*UpdateContextOutput, error) { 21320 req, out := c.UpdateContextRequest(input) 21321 req.SetContext(ctx) 21322 req.ApplyOptions(opts...) 21323 return out, req.Send() 21324 } 21325 21326 const opUpdateDeviceFleet = "UpdateDeviceFleet" 21327 21328 // UpdateDeviceFleetRequest generates a "aws/request.Request" representing the 21329 // client's request for the UpdateDeviceFleet operation. The "output" return 21330 // value will be populated with the request's response once the request completes 21331 // successfully. 21332 // 21333 // Use "Send" method on the returned Request to send the API call to the service. 21334 // the "output" return value is not valid until after Send returns without error. 21335 // 21336 // See UpdateDeviceFleet for more information on using the UpdateDeviceFleet 21337 // API call, and error handling. 21338 // 21339 // This method is useful when you want to inject custom logic or configuration 21340 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 21341 // 21342 // 21343 // // Example sending a request using the UpdateDeviceFleetRequest method. 21344 // req, resp := client.UpdateDeviceFleetRequest(params) 21345 // 21346 // err := req.Send() 21347 // if err == nil { // resp is now filled 21348 // fmt.Println(resp) 21349 // } 21350 // 21351 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateDeviceFleet 21352 func (c *SageMaker) UpdateDeviceFleetRequest(input *UpdateDeviceFleetInput) (req *request.Request, output *UpdateDeviceFleetOutput) { 21353 op := &request.Operation{ 21354 Name: opUpdateDeviceFleet, 21355 HTTPMethod: "POST", 21356 HTTPPath: "/", 21357 } 21358 21359 if input == nil { 21360 input = &UpdateDeviceFleetInput{} 21361 } 21362 21363 output = &UpdateDeviceFleetOutput{} 21364 req = c.newRequest(op, input, output) 21365 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 21366 return 21367 } 21368 21369 // UpdateDeviceFleet API operation for Amazon SageMaker Service. 21370 // 21371 // Updates a fleet of devices. 21372 // 21373 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 21374 // with awserr.Error's Code and Message methods to get detailed information about 21375 // the error. 21376 // 21377 // See the AWS API reference guide for Amazon SageMaker Service's 21378 // API operation UpdateDeviceFleet for usage and error information. 21379 // 21380 // Returned Error Types: 21381 // * ResourceInUse 21382 // Resource being accessed is in use. 21383 // 21384 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateDeviceFleet 21385 func (c *SageMaker) UpdateDeviceFleet(input *UpdateDeviceFleetInput) (*UpdateDeviceFleetOutput, error) { 21386 req, out := c.UpdateDeviceFleetRequest(input) 21387 return out, req.Send() 21388 } 21389 21390 // UpdateDeviceFleetWithContext is the same as UpdateDeviceFleet with the addition of 21391 // the ability to pass a context and additional request options. 21392 // 21393 // See UpdateDeviceFleet for details on how to use this API operation. 21394 // 21395 // The context must be non-nil and will be used for request cancellation. If 21396 // the context is nil a panic will occur. In the future the SDK may create 21397 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 21398 // for more information on using Contexts. 21399 func (c *SageMaker) UpdateDeviceFleetWithContext(ctx aws.Context, input *UpdateDeviceFleetInput, opts ...request.Option) (*UpdateDeviceFleetOutput, error) { 21400 req, out := c.UpdateDeviceFleetRequest(input) 21401 req.SetContext(ctx) 21402 req.ApplyOptions(opts...) 21403 return out, req.Send() 21404 } 21405 21406 const opUpdateDevices = "UpdateDevices" 21407 21408 // UpdateDevicesRequest generates a "aws/request.Request" representing the 21409 // client's request for the UpdateDevices operation. The "output" return 21410 // value will be populated with the request's response once the request completes 21411 // successfully. 21412 // 21413 // Use "Send" method on the returned Request to send the API call to the service. 21414 // the "output" return value is not valid until after Send returns without error. 21415 // 21416 // See UpdateDevices for more information on using the UpdateDevices 21417 // API call, and error handling. 21418 // 21419 // This method is useful when you want to inject custom logic or configuration 21420 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 21421 // 21422 // 21423 // // Example sending a request using the UpdateDevicesRequest method. 21424 // req, resp := client.UpdateDevicesRequest(params) 21425 // 21426 // err := req.Send() 21427 // if err == nil { // resp is now filled 21428 // fmt.Println(resp) 21429 // } 21430 // 21431 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateDevices 21432 func (c *SageMaker) UpdateDevicesRequest(input *UpdateDevicesInput) (req *request.Request, output *UpdateDevicesOutput) { 21433 op := &request.Operation{ 21434 Name: opUpdateDevices, 21435 HTTPMethod: "POST", 21436 HTTPPath: "/", 21437 } 21438 21439 if input == nil { 21440 input = &UpdateDevicesInput{} 21441 } 21442 21443 output = &UpdateDevicesOutput{} 21444 req = c.newRequest(op, input, output) 21445 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 21446 return 21447 } 21448 21449 // UpdateDevices API operation for Amazon SageMaker Service. 21450 // 21451 // Updates one or more devices in a fleet. 21452 // 21453 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 21454 // with awserr.Error's Code and Message methods to get detailed information about 21455 // the error. 21456 // 21457 // See the AWS API reference guide for Amazon SageMaker Service's 21458 // API operation UpdateDevices for usage and error information. 21459 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateDevices 21460 func (c *SageMaker) UpdateDevices(input *UpdateDevicesInput) (*UpdateDevicesOutput, error) { 21461 req, out := c.UpdateDevicesRequest(input) 21462 return out, req.Send() 21463 } 21464 21465 // UpdateDevicesWithContext is the same as UpdateDevices with the addition of 21466 // the ability to pass a context and additional request options. 21467 // 21468 // See UpdateDevices for details on how to use this API operation. 21469 // 21470 // The context must be non-nil and will be used for request cancellation. If 21471 // the context is nil a panic will occur. In the future the SDK may create 21472 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 21473 // for more information on using Contexts. 21474 func (c *SageMaker) UpdateDevicesWithContext(ctx aws.Context, input *UpdateDevicesInput, opts ...request.Option) (*UpdateDevicesOutput, error) { 21475 req, out := c.UpdateDevicesRequest(input) 21476 req.SetContext(ctx) 21477 req.ApplyOptions(opts...) 21478 return out, req.Send() 21479 } 21480 21481 const opUpdateDomain = "UpdateDomain" 21482 21483 // UpdateDomainRequest generates a "aws/request.Request" representing the 21484 // client's request for the UpdateDomain operation. The "output" return 21485 // value will be populated with the request's response once the request completes 21486 // successfully. 21487 // 21488 // Use "Send" method on the returned Request to send the API call to the service. 21489 // the "output" return value is not valid until after Send returns without error. 21490 // 21491 // See UpdateDomain for more information on using the UpdateDomain 21492 // API call, and error handling. 21493 // 21494 // This method is useful when you want to inject custom logic or configuration 21495 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 21496 // 21497 // 21498 // // Example sending a request using the UpdateDomainRequest method. 21499 // req, resp := client.UpdateDomainRequest(params) 21500 // 21501 // err := req.Send() 21502 // if err == nil { // resp is now filled 21503 // fmt.Println(resp) 21504 // } 21505 // 21506 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateDomain 21507 func (c *SageMaker) UpdateDomainRequest(input *UpdateDomainInput) (req *request.Request, output *UpdateDomainOutput) { 21508 op := &request.Operation{ 21509 Name: opUpdateDomain, 21510 HTTPMethod: "POST", 21511 HTTPPath: "/", 21512 } 21513 21514 if input == nil { 21515 input = &UpdateDomainInput{} 21516 } 21517 21518 output = &UpdateDomainOutput{} 21519 req = c.newRequest(op, input, output) 21520 return 21521 } 21522 21523 // UpdateDomain API operation for Amazon SageMaker Service. 21524 // 21525 // Updates the default settings for new user profiles in the domain. 21526 // 21527 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 21528 // with awserr.Error's Code and Message methods to get detailed information about 21529 // the error. 21530 // 21531 // See the AWS API reference guide for Amazon SageMaker Service's 21532 // API operation UpdateDomain for usage and error information. 21533 // 21534 // Returned Error Types: 21535 // * ResourceLimitExceeded 21536 // You have exceeded an Amazon SageMaker resource limit. For example, you might 21537 // have too many training jobs created. 21538 // 21539 // * ResourceInUse 21540 // Resource being accessed is in use. 21541 // 21542 // * ResourceNotFound 21543 // Resource being access is not found. 21544 // 21545 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateDomain 21546 func (c *SageMaker) UpdateDomain(input *UpdateDomainInput) (*UpdateDomainOutput, error) { 21547 req, out := c.UpdateDomainRequest(input) 21548 return out, req.Send() 21549 } 21550 21551 // UpdateDomainWithContext is the same as UpdateDomain with the addition of 21552 // the ability to pass a context and additional request options. 21553 // 21554 // See UpdateDomain for details on how to use this API operation. 21555 // 21556 // The context must be non-nil and will be used for request cancellation. If 21557 // the context is nil a panic will occur. In the future the SDK may create 21558 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 21559 // for more information on using Contexts. 21560 func (c *SageMaker) UpdateDomainWithContext(ctx aws.Context, input *UpdateDomainInput, opts ...request.Option) (*UpdateDomainOutput, error) { 21561 req, out := c.UpdateDomainRequest(input) 21562 req.SetContext(ctx) 21563 req.ApplyOptions(opts...) 21564 return out, req.Send() 21565 } 21566 21567 const opUpdateEndpoint = "UpdateEndpoint" 21568 21569 // UpdateEndpointRequest generates a "aws/request.Request" representing the 21570 // client's request for the UpdateEndpoint operation. The "output" return 21571 // value will be populated with the request's response once the request completes 21572 // successfully. 21573 // 21574 // Use "Send" method on the returned Request to send the API call to the service. 21575 // the "output" return value is not valid until after Send returns without error. 21576 // 21577 // See UpdateEndpoint for more information on using the UpdateEndpoint 21578 // API call, and error handling. 21579 // 21580 // This method is useful when you want to inject custom logic or configuration 21581 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 21582 // 21583 // 21584 // // Example sending a request using the UpdateEndpointRequest method. 21585 // req, resp := client.UpdateEndpointRequest(params) 21586 // 21587 // err := req.Send() 21588 // if err == nil { // resp is now filled 21589 // fmt.Println(resp) 21590 // } 21591 // 21592 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpoint 21593 func (c *SageMaker) UpdateEndpointRequest(input *UpdateEndpointInput) (req *request.Request, output *UpdateEndpointOutput) { 21594 op := &request.Operation{ 21595 Name: opUpdateEndpoint, 21596 HTTPMethod: "POST", 21597 HTTPPath: "/", 21598 } 21599 21600 if input == nil { 21601 input = &UpdateEndpointInput{} 21602 } 21603 21604 output = &UpdateEndpointOutput{} 21605 req = c.newRequest(op, input, output) 21606 return 21607 } 21608 21609 // UpdateEndpoint API operation for Amazon SageMaker Service. 21610 // 21611 // Deploys the new EndpointConfig specified in the request, switches to using 21612 // newly created endpoint, and then deletes resources provisioned for the endpoint 21613 // using the previous EndpointConfig (there is no availability loss). 21614 // 21615 // When Amazon SageMaker receives the request, it sets the endpoint status to 21616 // Updating. After updating the endpoint, it sets the status to InService. To 21617 // check the status of an endpoint, use the DescribeEndpoint API. 21618 // 21619 // You must not delete an EndpointConfig in use by an endpoint that is live 21620 // or while the UpdateEndpoint or CreateEndpoint operations are being performed 21621 // on the endpoint. To update an endpoint, you must create a new EndpointConfig. 21622 // 21623 // If you delete the EndpointConfig of an endpoint that is active or being created 21624 // or updated you may lose visibility into the instance type the endpoint is 21625 // using. The endpoint must be deleted in order to stop incurring charges. 21626 // 21627 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 21628 // with awserr.Error's Code and Message methods to get detailed information about 21629 // the error. 21630 // 21631 // See the AWS API reference guide for Amazon SageMaker Service's 21632 // API operation UpdateEndpoint for usage and error information. 21633 // 21634 // Returned Error Types: 21635 // * ResourceLimitExceeded 21636 // You have exceeded an Amazon SageMaker resource limit. For example, you might 21637 // have too many training jobs created. 21638 // 21639 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpoint 21640 func (c *SageMaker) UpdateEndpoint(input *UpdateEndpointInput) (*UpdateEndpointOutput, error) { 21641 req, out := c.UpdateEndpointRequest(input) 21642 return out, req.Send() 21643 } 21644 21645 // UpdateEndpointWithContext is the same as UpdateEndpoint with the addition of 21646 // the ability to pass a context and additional request options. 21647 // 21648 // See UpdateEndpoint for details on how to use this API operation. 21649 // 21650 // The context must be non-nil and will be used for request cancellation. If 21651 // the context is nil a panic will occur. In the future the SDK may create 21652 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 21653 // for more information on using Contexts. 21654 func (c *SageMaker) UpdateEndpointWithContext(ctx aws.Context, input *UpdateEndpointInput, opts ...request.Option) (*UpdateEndpointOutput, error) { 21655 req, out := c.UpdateEndpointRequest(input) 21656 req.SetContext(ctx) 21657 req.ApplyOptions(opts...) 21658 return out, req.Send() 21659 } 21660 21661 const opUpdateEndpointWeightsAndCapacities = "UpdateEndpointWeightsAndCapacities" 21662 21663 // UpdateEndpointWeightsAndCapacitiesRequest generates a "aws/request.Request" representing the 21664 // client's request for the UpdateEndpointWeightsAndCapacities operation. The "output" return 21665 // value will be populated with the request's response once the request completes 21666 // successfully. 21667 // 21668 // Use "Send" method on the returned Request to send the API call to the service. 21669 // the "output" return value is not valid until after Send returns without error. 21670 // 21671 // See UpdateEndpointWeightsAndCapacities for more information on using the UpdateEndpointWeightsAndCapacities 21672 // API call, and error handling. 21673 // 21674 // This method is useful when you want to inject custom logic or configuration 21675 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 21676 // 21677 // 21678 // // Example sending a request using the UpdateEndpointWeightsAndCapacitiesRequest method. 21679 // req, resp := client.UpdateEndpointWeightsAndCapacitiesRequest(params) 21680 // 21681 // err := req.Send() 21682 // if err == nil { // resp is now filled 21683 // fmt.Println(resp) 21684 // } 21685 // 21686 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpointWeightsAndCapacities 21687 func (c *SageMaker) UpdateEndpointWeightsAndCapacitiesRequest(input *UpdateEndpointWeightsAndCapacitiesInput) (req *request.Request, output *UpdateEndpointWeightsAndCapacitiesOutput) { 21688 op := &request.Operation{ 21689 Name: opUpdateEndpointWeightsAndCapacities, 21690 HTTPMethod: "POST", 21691 HTTPPath: "/", 21692 } 21693 21694 if input == nil { 21695 input = &UpdateEndpointWeightsAndCapacitiesInput{} 21696 } 21697 21698 output = &UpdateEndpointWeightsAndCapacitiesOutput{} 21699 req = c.newRequest(op, input, output) 21700 return 21701 } 21702 21703 // UpdateEndpointWeightsAndCapacities API operation for Amazon SageMaker Service. 21704 // 21705 // Updates variant weight of one or more variants associated with an existing 21706 // endpoint, or capacity of one variant associated with an existing endpoint. 21707 // When it receives the request, Amazon SageMaker sets the endpoint status to 21708 // Updating. After updating the endpoint, it sets the status to InService. To 21709 // check the status of an endpoint, use the DescribeEndpoint API. 21710 // 21711 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 21712 // with awserr.Error's Code and Message methods to get detailed information about 21713 // the error. 21714 // 21715 // See the AWS API reference guide for Amazon SageMaker Service's 21716 // API operation UpdateEndpointWeightsAndCapacities for usage and error information. 21717 // 21718 // Returned Error Types: 21719 // * ResourceLimitExceeded 21720 // You have exceeded an Amazon SageMaker resource limit. For example, you might 21721 // have too many training jobs created. 21722 // 21723 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpointWeightsAndCapacities 21724 func (c *SageMaker) UpdateEndpointWeightsAndCapacities(input *UpdateEndpointWeightsAndCapacitiesInput) (*UpdateEndpointWeightsAndCapacitiesOutput, error) { 21725 req, out := c.UpdateEndpointWeightsAndCapacitiesRequest(input) 21726 return out, req.Send() 21727 } 21728 21729 // UpdateEndpointWeightsAndCapacitiesWithContext is the same as UpdateEndpointWeightsAndCapacities with the addition of 21730 // the ability to pass a context and additional request options. 21731 // 21732 // See UpdateEndpointWeightsAndCapacities for details on how to use this API operation. 21733 // 21734 // The context must be non-nil and will be used for request cancellation. If 21735 // the context is nil a panic will occur. In the future the SDK may create 21736 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 21737 // for more information on using Contexts. 21738 func (c *SageMaker) UpdateEndpointWeightsAndCapacitiesWithContext(ctx aws.Context, input *UpdateEndpointWeightsAndCapacitiesInput, opts ...request.Option) (*UpdateEndpointWeightsAndCapacitiesOutput, error) { 21739 req, out := c.UpdateEndpointWeightsAndCapacitiesRequest(input) 21740 req.SetContext(ctx) 21741 req.ApplyOptions(opts...) 21742 return out, req.Send() 21743 } 21744 21745 const opUpdateExperiment = "UpdateExperiment" 21746 21747 // UpdateExperimentRequest generates a "aws/request.Request" representing the 21748 // client's request for the UpdateExperiment operation. The "output" return 21749 // value will be populated with the request's response once the request completes 21750 // successfully. 21751 // 21752 // Use "Send" method on the returned Request to send the API call to the service. 21753 // the "output" return value is not valid until after Send returns without error. 21754 // 21755 // See UpdateExperiment for more information on using the UpdateExperiment 21756 // API call, and error handling. 21757 // 21758 // This method is useful when you want to inject custom logic or configuration 21759 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 21760 // 21761 // 21762 // // Example sending a request using the UpdateExperimentRequest method. 21763 // req, resp := client.UpdateExperimentRequest(params) 21764 // 21765 // err := req.Send() 21766 // if err == nil { // resp is now filled 21767 // fmt.Println(resp) 21768 // } 21769 // 21770 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateExperiment 21771 func (c *SageMaker) UpdateExperimentRequest(input *UpdateExperimentInput) (req *request.Request, output *UpdateExperimentOutput) { 21772 op := &request.Operation{ 21773 Name: opUpdateExperiment, 21774 HTTPMethod: "POST", 21775 HTTPPath: "/", 21776 } 21777 21778 if input == nil { 21779 input = &UpdateExperimentInput{} 21780 } 21781 21782 output = &UpdateExperimentOutput{} 21783 req = c.newRequest(op, input, output) 21784 return 21785 } 21786 21787 // UpdateExperiment API operation for Amazon SageMaker Service. 21788 // 21789 // Adds, updates, or removes the description of an experiment. Updates the display 21790 // name of an experiment. 21791 // 21792 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 21793 // with awserr.Error's Code and Message methods to get detailed information about 21794 // the error. 21795 // 21796 // See the AWS API reference guide for Amazon SageMaker Service's 21797 // API operation UpdateExperiment for usage and error information. 21798 // 21799 // Returned Error Types: 21800 // * ConflictException 21801 // There was a conflict when you attempted to modify a SageMaker entity such 21802 // as an Experiment or Artifact. 21803 // 21804 // * ResourceNotFound 21805 // Resource being access is not found. 21806 // 21807 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateExperiment 21808 func (c *SageMaker) UpdateExperiment(input *UpdateExperimentInput) (*UpdateExperimentOutput, error) { 21809 req, out := c.UpdateExperimentRequest(input) 21810 return out, req.Send() 21811 } 21812 21813 // UpdateExperimentWithContext is the same as UpdateExperiment with the addition of 21814 // the ability to pass a context and additional request options. 21815 // 21816 // See UpdateExperiment for details on how to use this API operation. 21817 // 21818 // The context must be non-nil and will be used for request cancellation. If 21819 // the context is nil a panic will occur. In the future the SDK may create 21820 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 21821 // for more information on using Contexts. 21822 func (c *SageMaker) UpdateExperimentWithContext(ctx aws.Context, input *UpdateExperimentInput, opts ...request.Option) (*UpdateExperimentOutput, error) { 21823 req, out := c.UpdateExperimentRequest(input) 21824 req.SetContext(ctx) 21825 req.ApplyOptions(opts...) 21826 return out, req.Send() 21827 } 21828 21829 const opUpdateImage = "UpdateImage" 21830 21831 // UpdateImageRequest generates a "aws/request.Request" representing the 21832 // client's request for the UpdateImage operation. The "output" return 21833 // value will be populated with the request's response once the request completes 21834 // successfully. 21835 // 21836 // Use "Send" method on the returned Request to send the API call to the service. 21837 // the "output" return value is not valid until after Send returns without error. 21838 // 21839 // See UpdateImage for more information on using the UpdateImage 21840 // API call, and error handling. 21841 // 21842 // This method is useful when you want to inject custom logic or configuration 21843 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 21844 // 21845 // 21846 // // Example sending a request using the UpdateImageRequest method. 21847 // req, resp := client.UpdateImageRequest(params) 21848 // 21849 // err := req.Send() 21850 // if err == nil { // resp is now filled 21851 // fmt.Println(resp) 21852 // } 21853 // 21854 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateImage 21855 func (c *SageMaker) UpdateImageRequest(input *UpdateImageInput) (req *request.Request, output *UpdateImageOutput) { 21856 op := &request.Operation{ 21857 Name: opUpdateImage, 21858 HTTPMethod: "POST", 21859 HTTPPath: "/", 21860 } 21861 21862 if input == nil { 21863 input = &UpdateImageInput{} 21864 } 21865 21866 output = &UpdateImageOutput{} 21867 req = c.newRequest(op, input, output) 21868 return 21869 } 21870 21871 // UpdateImage API operation for Amazon SageMaker Service. 21872 // 21873 // Updates the properties of a SageMaker image. To change the image's tags, 21874 // use the AddTags and DeleteTags APIs. 21875 // 21876 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 21877 // with awserr.Error's Code and Message methods to get detailed information about 21878 // the error. 21879 // 21880 // See the AWS API reference guide for Amazon SageMaker Service's 21881 // API operation UpdateImage for usage and error information. 21882 // 21883 // Returned Error Types: 21884 // * ResourceInUse 21885 // Resource being accessed is in use. 21886 // 21887 // * ResourceNotFound 21888 // Resource being access is not found. 21889 // 21890 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateImage 21891 func (c *SageMaker) UpdateImage(input *UpdateImageInput) (*UpdateImageOutput, error) { 21892 req, out := c.UpdateImageRequest(input) 21893 return out, req.Send() 21894 } 21895 21896 // UpdateImageWithContext is the same as UpdateImage with the addition of 21897 // the ability to pass a context and additional request options. 21898 // 21899 // See UpdateImage for details on how to use this API operation. 21900 // 21901 // The context must be non-nil and will be used for request cancellation. If 21902 // the context is nil a panic will occur. In the future the SDK may create 21903 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 21904 // for more information on using Contexts. 21905 func (c *SageMaker) UpdateImageWithContext(ctx aws.Context, input *UpdateImageInput, opts ...request.Option) (*UpdateImageOutput, error) { 21906 req, out := c.UpdateImageRequest(input) 21907 req.SetContext(ctx) 21908 req.ApplyOptions(opts...) 21909 return out, req.Send() 21910 } 21911 21912 const opUpdateModelPackage = "UpdateModelPackage" 21913 21914 // UpdateModelPackageRequest generates a "aws/request.Request" representing the 21915 // client's request for the UpdateModelPackage operation. The "output" return 21916 // value will be populated with the request's response once the request completes 21917 // successfully. 21918 // 21919 // Use "Send" method on the returned Request to send the API call to the service. 21920 // the "output" return value is not valid until after Send returns without error. 21921 // 21922 // See UpdateModelPackage for more information on using the UpdateModelPackage 21923 // API call, and error handling. 21924 // 21925 // This method is useful when you want to inject custom logic or configuration 21926 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 21927 // 21928 // 21929 // // Example sending a request using the UpdateModelPackageRequest method. 21930 // req, resp := client.UpdateModelPackageRequest(params) 21931 // 21932 // err := req.Send() 21933 // if err == nil { // resp is now filled 21934 // fmt.Println(resp) 21935 // } 21936 // 21937 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateModelPackage 21938 func (c *SageMaker) UpdateModelPackageRequest(input *UpdateModelPackageInput) (req *request.Request, output *UpdateModelPackageOutput) { 21939 op := &request.Operation{ 21940 Name: opUpdateModelPackage, 21941 HTTPMethod: "POST", 21942 HTTPPath: "/", 21943 } 21944 21945 if input == nil { 21946 input = &UpdateModelPackageInput{} 21947 } 21948 21949 output = &UpdateModelPackageOutput{} 21950 req = c.newRequest(op, input, output) 21951 return 21952 } 21953 21954 // UpdateModelPackage API operation for Amazon SageMaker Service. 21955 // 21956 // Updates a versioned model. 21957 // 21958 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 21959 // with awserr.Error's Code and Message methods to get detailed information about 21960 // the error. 21961 // 21962 // See the AWS API reference guide for Amazon SageMaker Service's 21963 // API operation UpdateModelPackage for usage and error information. 21964 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateModelPackage 21965 func (c *SageMaker) UpdateModelPackage(input *UpdateModelPackageInput) (*UpdateModelPackageOutput, error) { 21966 req, out := c.UpdateModelPackageRequest(input) 21967 return out, req.Send() 21968 } 21969 21970 // UpdateModelPackageWithContext is the same as UpdateModelPackage with the addition of 21971 // the ability to pass a context and additional request options. 21972 // 21973 // See UpdateModelPackage for details on how to use this API operation. 21974 // 21975 // The context must be non-nil and will be used for request cancellation. If 21976 // the context is nil a panic will occur. In the future the SDK may create 21977 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 21978 // for more information on using Contexts. 21979 func (c *SageMaker) UpdateModelPackageWithContext(ctx aws.Context, input *UpdateModelPackageInput, opts ...request.Option) (*UpdateModelPackageOutput, error) { 21980 req, out := c.UpdateModelPackageRequest(input) 21981 req.SetContext(ctx) 21982 req.ApplyOptions(opts...) 21983 return out, req.Send() 21984 } 21985 21986 const opUpdateMonitoringSchedule = "UpdateMonitoringSchedule" 21987 21988 // UpdateMonitoringScheduleRequest generates a "aws/request.Request" representing the 21989 // client's request for the UpdateMonitoringSchedule operation. The "output" return 21990 // value will be populated with the request's response once the request completes 21991 // successfully. 21992 // 21993 // Use "Send" method on the returned Request to send the API call to the service. 21994 // the "output" return value is not valid until after Send returns without error. 21995 // 21996 // See UpdateMonitoringSchedule for more information on using the UpdateMonitoringSchedule 21997 // API call, and error handling. 21998 // 21999 // This method is useful when you want to inject custom logic or configuration 22000 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 22001 // 22002 // 22003 // // Example sending a request using the UpdateMonitoringScheduleRequest method. 22004 // req, resp := client.UpdateMonitoringScheduleRequest(params) 22005 // 22006 // err := req.Send() 22007 // if err == nil { // resp is now filled 22008 // fmt.Println(resp) 22009 // } 22010 // 22011 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateMonitoringSchedule 22012 func (c *SageMaker) UpdateMonitoringScheduleRequest(input *UpdateMonitoringScheduleInput) (req *request.Request, output *UpdateMonitoringScheduleOutput) { 22013 op := &request.Operation{ 22014 Name: opUpdateMonitoringSchedule, 22015 HTTPMethod: "POST", 22016 HTTPPath: "/", 22017 } 22018 22019 if input == nil { 22020 input = &UpdateMonitoringScheduleInput{} 22021 } 22022 22023 output = &UpdateMonitoringScheduleOutput{} 22024 req = c.newRequest(op, input, output) 22025 return 22026 } 22027 22028 // UpdateMonitoringSchedule API operation for Amazon SageMaker Service. 22029 // 22030 // Updates a previously created schedule. 22031 // 22032 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 22033 // with awserr.Error's Code and Message methods to get detailed information about 22034 // the error. 22035 // 22036 // See the AWS API reference guide for Amazon SageMaker Service's 22037 // API operation UpdateMonitoringSchedule for usage and error information. 22038 // 22039 // Returned Error Types: 22040 // * ResourceLimitExceeded 22041 // You have exceeded an Amazon SageMaker resource limit. For example, you might 22042 // have too many training jobs created. 22043 // 22044 // * ResourceNotFound 22045 // Resource being access is not found. 22046 // 22047 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateMonitoringSchedule 22048 func (c *SageMaker) UpdateMonitoringSchedule(input *UpdateMonitoringScheduleInput) (*UpdateMonitoringScheduleOutput, error) { 22049 req, out := c.UpdateMonitoringScheduleRequest(input) 22050 return out, req.Send() 22051 } 22052 22053 // UpdateMonitoringScheduleWithContext is the same as UpdateMonitoringSchedule with the addition of 22054 // the ability to pass a context and additional request options. 22055 // 22056 // See UpdateMonitoringSchedule for details on how to use this API operation. 22057 // 22058 // The context must be non-nil and will be used for request cancellation. If 22059 // the context is nil a panic will occur. In the future the SDK may create 22060 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 22061 // for more information on using Contexts. 22062 func (c *SageMaker) UpdateMonitoringScheduleWithContext(ctx aws.Context, input *UpdateMonitoringScheduleInput, opts ...request.Option) (*UpdateMonitoringScheduleOutput, error) { 22063 req, out := c.UpdateMonitoringScheduleRequest(input) 22064 req.SetContext(ctx) 22065 req.ApplyOptions(opts...) 22066 return out, req.Send() 22067 } 22068 22069 const opUpdateNotebookInstance = "UpdateNotebookInstance" 22070 22071 // UpdateNotebookInstanceRequest generates a "aws/request.Request" representing the 22072 // client's request for the UpdateNotebookInstance operation. The "output" return 22073 // value will be populated with the request's response once the request completes 22074 // successfully. 22075 // 22076 // Use "Send" method on the returned Request to send the API call to the service. 22077 // the "output" return value is not valid until after Send returns without error. 22078 // 22079 // See UpdateNotebookInstance for more information on using the UpdateNotebookInstance 22080 // API call, and error handling. 22081 // 22082 // This method is useful when you want to inject custom logic or configuration 22083 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 22084 // 22085 // 22086 // // Example sending a request using the UpdateNotebookInstanceRequest method. 22087 // req, resp := client.UpdateNotebookInstanceRequest(params) 22088 // 22089 // err := req.Send() 22090 // if err == nil { // resp is now filled 22091 // fmt.Println(resp) 22092 // } 22093 // 22094 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstance 22095 func (c *SageMaker) UpdateNotebookInstanceRequest(input *UpdateNotebookInstanceInput) (req *request.Request, output *UpdateNotebookInstanceOutput) { 22096 op := &request.Operation{ 22097 Name: opUpdateNotebookInstance, 22098 HTTPMethod: "POST", 22099 HTTPPath: "/", 22100 } 22101 22102 if input == nil { 22103 input = &UpdateNotebookInstanceInput{} 22104 } 22105 22106 output = &UpdateNotebookInstanceOutput{} 22107 req = c.newRequest(op, input, output) 22108 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 22109 return 22110 } 22111 22112 // UpdateNotebookInstance API operation for Amazon SageMaker Service. 22113 // 22114 // Updates a notebook instance. NotebookInstance updates include upgrading or 22115 // downgrading the ML compute instance used for your notebook instance to accommodate 22116 // changes in your workload requirements. 22117 // 22118 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 22119 // with awserr.Error's Code and Message methods to get detailed information about 22120 // the error. 22121 // 22122 // See the AWS API reference guide for Amazon SageMaker Service's 22123 // API operation UpdateNotebookInstance for usage and error information. 22124 // 22125 // Returned Error Types: 22126 // * ResourceLimitExceeded 22127 // You have exceeded an Amazon SageMaker resource limit. For example, you might 22128 // have too many training jobs created. 22129 // 22130 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstance 22131 func (c *SageMaker) UpdateNotebookInstance(input *UpdateNotebookInstanceInput) (*UpdateNotebookInstanceOutput, error) { 22132 req, out := c.UpdateNotebookInstanceRequest(input) 22133 return out, req.Send() 22134 } 22135 22136 // UpdateNotebookInstanceWithContext is the same as UpdateNotebookInstance with the addition of 22137 // the ability to pass a context and additional request options. 22138 // 22139 // See UpdateNotebookInstance for details on how to use this API operation. 22140 // 22141 // The context must be non-nil and will be used for request cancellation. If 22142 // the context is nil a panic will occur. In the future the SDK may create 22143 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 22144 // for more information on using Contexts. 22145 func (c *SageMaker) UpdateNotebookInstanceWithContext(ctx aws.Context, input *UpdateNotebookInstanceInput, opts ...request.Option) (*UpdateNotebookInstanceOutput, error) { 22146 req, out := c.UpdateNotebookInstanceRequest(input) 22147 req.SetContext(ctx) 22148 req.ApplyOptions(opts...) 22149 return out, req.Send() 22150 } 22151 22152 const opUpdateNotebookInstanceLifecycleConfig = "UpdateNotebookInstanceLifecycleConfig" 22153 22154 // UpdateNotebookInstanceLifecycleConfigRequest generates a "aws/request.Request" representing the 22155 // client's request for the UpdateNotebookInstanceLifecycleConfig operation. The "output" return 22156 // value will be populated with the request's response once the request completes 22157 // successfully. 22158 // 22159 // Use "Send" method on the returned Request to send the API call to the service. 22160 // the "output" return value is not valid until after Send returns without error. 22161 // 22162 // See UpdateNotebookInstanceLifecycleConfig for more information on using the UpdateNotebookInstanceLifecycleConfig 22163 // API call, and error handling. 22164 // 22165 // This method is useful when you want to inject custom logic or configuration 22166 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 22167 // 22168 // 22169 // // Example sending a request using the UpdateNotebookInstanceLifecycleConfigRequest method. 22170 // req, resp := client.UpdateNotebookInstanceLifecycleConfigRequest(params) 22171 // 22172 // err := req.Send() 22173 // if err == nil { // resp is now filled 22174 // fmt.Println(resp) 22175 // } 22176 // 22177 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstanceLifecycleConfig 22178 func (c *SageMaker) UpdateNotebookInstanceLifecycleConfigRequest(input *UpdateNotebookInstanceLifecycleConfigInput) (req *request.Request, output *UpdateNotebookInstanceLifecycleConfigOutput) { 22179 op := &request.Operation{ 22180 Name: opUpdateNotebookInstanceLifecycleConfig, 22181 HTTPMethod: "POST", 22182 HTTPPath: "/", 22183 } 22184 22185 if input == nil { 22186 input = &UpdateNotebookInstanceLifecycleConfigInput{} 22187 } 22188 22189 output = &UpdateNotebookInstanceLifecycleConfigOutput{} 22190 req = c.newRequest(op, input, output) 22191 req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) 22192 return 22193 } 22194 22195 // UpdateNotebookInstanceLifecycleConfig API operation for Amazon SageMaker Service. 22196 // 22197 // Updates a notebook instance lifecycle configuration created with the CreateNotebookInstanceLifecycleConfig 22198 // API. 22199 // 22200 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 22201 // with awserr.Error's Code and Message methods to get detailed information about 22202 // the error. 22203 // 22204 // See the AWS API reference guide for Amazon SageMaker Service's 22205 // API operation UpdateNotebookInstanceLifecycleConfig for usage and error information. 22206 // 22207 // Returned Error Types: 22208 // * ResourceLimitExceeded 22209 // You have exceeded an Amazon SageMaker resource limit. For example, you might 22210 // have too many training jobs created. 22211 // 22212 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstanceLifecycleConfig 22213 func (c *SageMaker) UpdateNotebookInstanceLifecycleConfig(input *UpdateNotebookInstanceLifecycleConfigInput) (*UpdateNotebookInstanceLifecycleConfigOutput, error) { 22214 req, out := c.UpdateNotebookInstanceLifecycleConfigRequest(input) 22215 return out, req.Send() 22216 } 22217 22218 // UpdateNotebookInstanceLifecycleConfigWithContext is the same as UpdateNotebookInstanceLifecycleConfig with the addition of 22219 // the ability to pass a context and additional request options. 22220 // 22221 // See UpdateNotebookInstanceLifecycleConfig for details on how to use this API operation. 22222 // 22223 // The context must be non-nil and will be used for request cancellation. If 22224 // the context is nil a panic will occur. In the future the SDK may create 22225 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 22226 // for more information on using Contexts. 22227 func (c *SageMaker) UpdateNotebookInstanceLifecycleConfigWithContext(ctx aws.Context, input *UpdateNotebookInstanceLifecycleConfigInput, opts ...request.Option) (*UpdateNotebookInstanceLifecycleConfigOutput, error) { 22228 req, out := c.UpdateNotebookInstanceLifecycleConfigRequest(input) 22229 req.SetContext(ctx) 22230 req.ApplyOptions(opts...) 22231 return out, req.Send() 22232 } 22233 22234 const opUpdatePipeline = "UpdatePipeline" 22235 22236 // UpdatePipelineRequest generates a "aws/request.Request" representing the 22237 // client's request for the UpdatePipeline operation. The "output" return 22238 // value will be populated with the request's response once the request completes 22239 // successfully. 22240 // 22241 // Use "Send" method on the returned Request to send the API call to the service. 22242 // the "output" return value is not valid until after Send returns without error. 22243 // 22244 // See UpdatePipeline for more information on using the UpdatePipeline 22245 // API call, and error handling. 22246 // 22247 // This method is useful when you want to inject custom logic or configuration 22248 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 22249 // 22250 // 22251 // // Example sending a request using the UpdatePipelineRequest method. 22252 // req, resp := client.UpdatePipelineRequest(params) 22253 // 22254 // err := req.Send() 22255 // if err == nil { // resp is now filled 22256 // fmt.Println(resp) 22257 // } 22258 // 22259 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdatePipeline 22260 func (c *SageMaker) UpdatePipelineRequest(input *UpdatePipelineInput) (req *request.Request, output *UpdatePipelineOutput) { 22261 op := &request.Operation{ 22262 Name: opUpdatePipeline, 22263 HTTPMethod: "POST", 22264 HTTPPath: "/", 22265 } 22266 22267 if input == nil { 22268 input = &UpdatePipelineInput{} 22269 } 22270 22271 output = &UpdatePipelineOutput{} 22272 req = c.newRequest(op, input, output) 22273 return 22274 } 22275 22276 // UpdatePipeline API operation for Amazon SageMaker Service. 22277 // 22278 // Updates a pipeline. 22279 // 22280 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 22281 // with awserr.Error's Code and Message methods to get detailed information about 22282 // the error. 22283 // 22284 // See the AWS API reference guide for Amazon SageMaker Service's 22285 // API operation UpdatePipeline for usage and error information. 22286 // 22287 // Returned Error Types: 22288 // * ResourceNotFound 22289 // Resource being access is not found. 22290 // 22291 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdatePipeline 22292 func (c *SageMaker) UpdatePipeline(input *UpdatePipelineInput) (*UpdatePipelineOutput, error) { 22293 req, out := c.UpdatePipelineRequest(input) 22294 return out, req.Send() 22295 } 22296 22297 // UpdatePipelineWithContext is the same as UpdatePipeline with the addition of 22298 // the ability to pass a context and additional request options. 22299 // 22300 // See UpdatePipeline for details on how to use this API operation. 22301 // 22302 // The context must be non-nil and will be used for request cancellation. If 22303 // the context is nil a panic will occur. In the future the SDK may create 22304 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 22305 // for more information on using Contexts. 22306 func (c *SageMaker) UpdatePipelineWithContext(ctx aws.Context, input *UpdatePipelineInput, opts ...request.Option) (*UpdatePipelineOutput, error) { 22307 req, out := c.UpdatePipelineRequest(input) 22308 req.SetContext(ctx) 22309 req.ApplyOptions(opts...) 22310 return out, req.Send() 22311 } 22312 22313 const opUpdatePipelineExecution = "UpdatePipelineExecution" 22314 22315 // UpdatePipelineExecutionRequest generates a "aws/request.Request" representing the 22316 // client's request for the UpdatePipelineExecution operation. The "output" return 22317 // value will be populated with the request's response once the request completes 22318 // successfully. 22319 // 22320 // Use "Send" method on the returned Request to send the API call to the service. 22321 // the "output" return value is not valid until after Send returns without error. 22322 // 22323 // See UpdatePipelineExecution for more information on using the UpdatePipelineExecution 22324 // API call, and error handling. 22325 // 22326 // This method is useful when you want to inject custom logic or configuration 22327 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 22328 // 22329 // 22330 // // Example sending a request using the UpdatePipelineExecutionRequest method. 22331 // req, resp := client.UpdatePipelineExecutionRequest(params) 22332 // 22333 // err := req.Send() 22334 // if err == nil { // resp is now filled 22335 // fmt.Println(resp) 22336 // } 22337 // 22338 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdatePipelineExecution 22339 func (c *SageMaker) UpdatePipelineExecutionRequest(input *UpdatePipelineExecutionInput) (req *request.Request, output *UpdatePipelineExecutionOutput) { 22340 op := &request.Operation{ 22341 Name: opUpdatePipelineExecution, 22342 HTTPMethod: "POST", 22343 HTTPPath: "/", 22344 } 22345 22346 if input == nil { 22347 input = &UpdatePipelineExecutionInput{} 22348 } 22349 22350 output = &UpdatePipelineExecutionOutput{} 22351 req = c.newRequest(op, input, output) 22352 return 22353 } 22354 22355 // UpdatePipelineExecution API operation for Amazon SageMaker Service. 22356 // 22357 // Updates a pipeline execution. 22358 // 22359 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 22360 // with awserr.Error's Code and Message methods to get detailed information about 22361 // the error. 22362 // 22363 // See the AWS API reference guide for Amazon SageMaker Service's 22364 // API operation UpdatePipelineExecution for usage and error information. 22365 // 22366 // Returned Error Types: 22367 // * ResourceNotFound 22368 // Resource being access is not found. 22369 // 22370 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdatePipelineExecution 22371 func (c *SageMaker) UpdatePipelineExecution(input *UpdatePipelineExecutionInput) (*UpdatePipelineExecutionOutput, error) { 22372 req, out := c.UpdatePipelineExecutionRequest(input) 22373 return out, req.Send() 22374 } 22375 22376 // UpdatePipelineExecutionWithContext is the same as UpdatePipelineExecution with the addition of 22377 // the ability to pass a context and additional request options. 22378 // 22379 // See UpdatePipelineExecution for details on how to use this API operation. 22380 // 22381 // The context must be non-nil and will be used for request cancellation. If 22382 // the context is nil a panic will occur. In the future the SDK may create 22383 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 22384 // for more information on using Contexts. 22385 func (c *SageMaker) UpdatePipelineExecutionWithContext(ctx aws.Context, input *UpdatePipelineExecutionInput, opts ...request.Option) (*UpdatePipelineExecutionOutput, error) { 22386 req, out := c.UpdatePipelineExecutionRequest(input) 22387 req.SetContext(ctx) 22388 req.ApplyOptions(opts...) 22389 return out, req.Send() 22390 } 22391 22392 const opUpdateTrainingJob = "UpdateTrainingJob" 22393 22394 // UpdateTrainingJobRequest generates a "aws/request.Request" representing the 22395 // client's request for the UpdateTrainingJob operation. The "output" return 22396 // value will be populated with the request's response once the request completes 22397 // successfully. 22398 // 22399 // Use "Send" method on the returned Request to send the API call to the service. 22400 // the "output" return value is not valid until after Send returns without error. 22401 // 22402 // See UpdateTrainingJob for more information on using the UpdateTrainingJob 22403 // API call, and error handling. 22404 // 22405 // This method is useful when you want to inject custom logic or configuration 22406 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 22407 // 22408 // 22409 // // Example sending a request using the UpdateTrainingJobRequest method. 22410 // req, resp := client.UpdateTrainingJobRequest(params) 22411 // 22412 // err := req.Send() 22413 // if err == nil { // resp is now filled 22414 // fmt.Println(resp) 22415 // } 22416 // 22417 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrainingJob 22418 func (c *SageMaker) UpdateTrainingJobRequest(input *UpdateTrainingJobInput) (req *request.Request, output *UpdateTrainingJobOutput) { 22419 op := &request.Operation{ 22420 Name: opUpdateTrainingJob, 22421 HTTPMethod: "POST", 22422 HTTPPath: "/", 22423 } 22424 22425 if input == nil { 22426 input = &UpdateTrainingJobInput{} 22427 } 22428 22429 output = &UpdateTrainingJobOutput{} 22430 req = c.newRequest(op, input, output) 22431 return 22432 } 22433 22434 // UpdateTrainingJob API operation for Amazon SageMaker Service. 22435 // 22436 // Update a model training job to request a new Debugger profiling configuration. 22437 // 22438 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 22439 // with awserr.Error's Code and Message methods to get detailed information about 22440 // the error. 22441 // 22442 // See the AWS API reference guide for Amazon SageMaker Service's 22443 // API operation UpdateTrainingJob for usage and error information. 22444 // 22445 // Returned Error Types: 22446 // * ResourceNotFound 22447 // Resource being access is not found. 22448 // 22449 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrainingJob 22450 func (c *SageMaker) UpdateTrainingJob(input *UpdateTrainingJobInput) (*UpdateTrainingJobOutput, error) { 22451 req, out := c.UpdateTrainingJobRequest(input) 22452 return out, req.Send() 22453 } 22454 22455 // UpdateTrainingJobWithContext is the same as UpdateTrainingJob with the addition of 22456 // the ability to pass a context and additional request options. 22457 // 22458 // See UpdateTrainingJob for details on how to use this API operation. 22459 // 22460 // The context must be non-nil and will be used for request cancellation. If 22461 // the context is nil a panic will occur. In the future the SDK may create 22462 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 22463 // for more information on using Contexts. 22464 func (c *SageMaker) UpdateTrainingJobWithContext(ctx aws.Context, input *UpdateTrainingJobInput, opts ...request.Option) (*UpdateTrainingJobOutput, error) { 22465 req, out := c.UpdateTrainingJobRequest(input) 22466 req.SetContext(ctx) 22467 req.ApplyOptions(opts...) 22468 return out, req.Send() 22469 } 22470 22471 const opUpdateTrial = "UpdateTrial" 22472 22473 // UpdateTrialRequest generates a "aws/request.Request" representing the 22474 // client's request for the UpdateTrial operation. The "output" return 22475 // value will be populated with the request's response once the request completes 22476 // successfully. 22477 // 22478 // Use "Send" method on the returned Request to send the API call to the service. 22479 // the "output" return value is not valid until after Send returns without error. 22480 // 22481 // See UpdateTrial for more information on using the UpdateTrial 22482 // API call, and error handling. 22483 // 22484 // This method is useful when you want to inject custom logic or configuration 22485 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 22486 // 22487 // 22488 // // Example sending a request using the UpdateTrialRequest method. 22489 // req, resp := client.UpdateTrialRequest(params) 22490 // 22491 // err := req.Send() 22492 // if err == nil { // resp is now filled 22493 // fmt.Println(resp) 22494 // } 22495 // 22496 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrial 22497 func (c *SageMaker) UpdateTrialRequest(input *UpdateTrialInput) (req *request.Request, output *UpdateTrialOutput) { 22498 op := &request.Operation{ 22499 Name: opUpdateTrial, 22500 HTTPMethod: "POST", 22501 HTTPPath: "/", 22502 } 22503 22504 if input == nil { 22505 input = &UpdateTrialInput{} 22506 } 22507 22508 output = &UpdateTrialOutput{} 22509 req = c.newRequest(op, input, output) 22510 return 22511 } 22512 22513 // UpdateTrial API operation for Amazon SageMaker Service. 22514 // 22515 // Updates the display name of a trial. 22516 // 22517 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 22518 // with awserr.Error's Code and Message methods to get detailed information about 22519 // the error. 22520 // 22521 // See the AWS API reference guide for Amazon SageMaker Service's 22522 // API operation UpdateTrial for usage and error information. 22523 // 22524 // Returned Error Types: 22525 // * ConflictException 22526 // There was a conflict when you attempted to modify a SageMaker entity such 22527 // as an Experiment or Artifact. 22528 // 22529 // * ResourceNotFound 22530 // Resource being access is not found. 22531 // 22532 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrial 22533 func (c *SageMaker) UpdateTrial(input *UpdateTrialInput) (*UpdateTrialOutput, error) { 22534 req, out := c.UpdateTrialRequest(input) 22535 return out, req.Send() 22536 } 22537 22538 // UpdateTrialWithContext is the same as UpdateTrial with the addition of 22539 // the ability to pass a context and additional request options. 22540 // 22541 // See UpdateTrial for details on how to use this API operation. 22542 // 22543 // The context must be non-nil and will be used for request cancellation. If 22544 // the context is nil a panic will occur. In the future the SDK may create 22545 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 22546 // for more information on using Contexts. 22547 func (c *SageMaker) UpdateTrialWithContext(ctx aws.Context, input *UpdateTrialInput, opts ...request.Option) (*UpdateTrialOutput, error) { 22548 req, out := c.UpdateTrialRequest(input) 22549 req.SetContext(ctx) 22550 req.ApplyOptions(opts...) 22551 return out, req.Send() 22552 } 22553 22554 const opUpdateTrialComponent = "UpdateTrialComponent" 22555 22556 // UpdateTrialComponentRequest generates a "aws/request.Request" representing the 22557 // client's request for the UpdateTrialComponent operation. The "output" return 22558 // value will be populated with the request's response once the request completes 22559 // successfully. 22560 // 22561 // Use "Send" method on the returned Request to send the API call to the service. 22562 // the "output" return value is not valid until after Send returns without error. 22563 // 22564 // See UpdateTrialComponent for more information on using the UpdateTrialComponent 22565 // API call, and error handling. 22566 // 22567 // This method is useful when you want to inject custom logic or configuration 22568 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 22569 // 22570 // 22571 // // Example sending a request using the UpdateTrialComponentRequest method. 22572 // req, resp := client.UpdateTrialComponentRequest(params) 22573 // 22574 // err := req.Send() 22575 // if err == nil { // resp is now filled 22576 // fmt.Println(resp) 22577 // } 22578 // 22579 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrialComponent 22580 func (c *SageMaker) UpdateTrialComponentRequest(input *UpdateTrialComponentInput) (req *request.Request, output *UpdateTrialComponentOutput) { 22581 op := &request.Operation{ 22582 Name: opUpdateTrialComponent, 22583 HTTPMethod: "POST", 22584 HTTPPath: "/", 22585 } 22586 22587 if input == nil { 22588 input = &UpdateTrialComponentInput{} 22589 } 22590 22591 output = &UpdateTrialComponentOutput{} 22592 req = c.newRequest(op, input, output) 22593 return 22594 } 22595 22596 // UpdateTrialComponent API operation for Amazon SageMaker Service. 22597 // 22598 // Updates one or more properties of a trial component. 22599 // 22600 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 22601 // with awserr.Error's Code and Message methods to get detailed information about 22602 // the error. 22603 // 22604 // See the AWS API reference guide for Amazon SageMaker Service's 22605 // API operation UpdateTrialComponent for usage and error information. 22606 // 22607 // Returned Error Types: 22608 // * ConflictException 22609 // There was a conflict when you attempted to modify a SageMaker entity such 22610 // as an Experiment or Artifact. 22611 // 22612 // * ResourceNotFound 22613 // Resource being access is not found. 22614 // 22615 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrialComponent 22616 func (c *SageMaker) UpdateTrialComponent(input *UpdateTrialComponentInput) (*UpdateTrialComponentOutput, error) { 22617 req, out := c.UpdateTrialComponentRequest(input) 22618 return out, req.Send() 22619 } 22620 22621 // UpdateTrialComponentWithContext is the same as UpdateTrialComponent with the addition of 22622 // the ability to pass a context and additional request options. 22623 // 22624 // See UpdateTrialComponent for details on how to use this API operation. 22625 // 22626 // The context must be non-nil and will be used for request cancellation. If 22627 // the context is nil a panic will occur. In the future the SDK may create 22628 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 22629 // for more information on using Contexts. 22630 func (c *SageMaker) UpdateTrialComponentWithContext(ctx aws.Context, input *UpdateTrialComponentInput, opts ...request.Option) (*UpdateTrialComponentOutput, error) { 22631 req, out := c.UpdateTrialComponentRequest(input) 22632 req.SetContext(ctx) 22633 req.ApplyOptions(opts...) 22634 return out, req.Send() 22635 } 22636 22637 const opUpdateUserProfile = "UpdateUserProfile" 22638 22639 // UpdateUserProfileRequest generates a "aws/request.Request" representing the 22640 // client's request for the UpdateUserProfile operation. The "output" return 22641 // value will be populated with the request's response once the request completes 22642 // successfully. 22643 // 22644 // Use "Send" method on the returned Request to send the API call to the service. 22645 // the "output" return value is not valid until after Send returns without error. 22646 // 22647 // See UpdateUserProfile for more information on using the UpdateUserProfile 22648 // API call, and error handling. 22649 // 22650 // This method is useful when you want to inject custom logic or configuration 22651 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 22652 // 22653 // 22654 // // Example sending a request using the UpdateUserProfileRequest method. 22655 // req, resp := client.UpdateUserProfileRequest(params) 22656 // 22657 // err := req.Send() 22658 // if err == nil { // resp is now filled 22659 // fmt.Println(resp) 22660 // } 22661 // 22662 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateUserProfile 22663 func (c *SageMaker) UpdateUserProfileRequest(input *UpdateUserProfileInput) (req *request.Request, output *UpdateUserProfileOutput) { 22664 op := &request.Operation{ 22665 Name: opUpdateUserProfile, 22666 HTTPMethod: "POST", 22667 HTTPPath: "/", 22668 } 22669 22670 if input == nil { 22671 input = &UpdateUserProfileInput{} 22672 } 22673 22674 output = &UpdateUserProfileOutput{} 22675 req = c.newRequest(op, input, output) 22676 return 22677 } 22678 22679 // UpdateUserProfile API operation for Amazon SageMaker Service. 22680 // 22681 // Updates a user profile. 22682 // 22683 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 22684 // with awserr.Error's Code and Message methods to get detailed information about 22685 // the error. 22686 // 22687 // See the AWS API reference guide for Amazon SageMaker Service's 22688 // API operation UpdateUserProfile for usage and error information. 22689 // 22690 // Returned Error Types: 22691 // * ResourceLimitExceeded 22692 // You have exceeded an Amazon SageMaker resource limit. For example, you might 22693 // have too many training jobs created. 22694 // 22695 // * ResourceInUse 22696 // Resource being accessed is in use. 22697 // 22698 // * ResourceNotFound 22699 // Resource being access is not found. 22700 // 22701 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateUserProfile 22702 func (c *SageMaker) UpdateUserProfile(input *UpdateUserProfileInput) (*UpdateUserProfileOutput, error) { 22703 req, out := c.UpdateUserProfileRequest(input) 22704 return out, req.Send() 22705 } 22706 22707 // UpdateUserProfileWithContext is the same as UpdateUserProfile with the addition of 22708 // the ability to pass a context and additional request options. 22709 // 22710 // See UpdateUserProfile for details on how to use this API operation. 22711 // 22712 // The context must be non-nil and will be used for request cancellation. If 22713 // the context is nil a panic will occur. In the future the SDK may create 22714 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 22715 // for more information on using Contexts. 22716 func (c *SageMaker) UpdateUserProfileWithContext(ctx aws.Context, input *UpdateUserProfileInput, opts ...request.Option) (*UpdateUserProfileOutput, error) { 22717 req, out := c.UpdateUserProfileRequest(input) 22718 req.SetContext(ctx) 22719 req.ApplyOptions(opts...) 22720 return out, req.Send() 22721 } 22722 22723 const opUpdateWorkforce = "UpdateWorkforce" 22724 22725 // UpdateWorkforceRequest generates a "aws/request.Request" representing the 22726 // client's request for the UpdateWorkforce operation. The "output" return 22727 // value will be populated with the request's response once the request completes 22728 // successfully. 22729 // 22730 // Use "Send" method on the returned Request to send the API call to the service. 22731 // the "output" return value is not valid until after Send returns without error. 22732 // 22733 // See UpdateWorkforce for more information on using the UpdateWorkforce 22734 // API call, and error handling. 22735 // 22736 // This method is useful when you want to inject custom logic or configuration 22737 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 22738 // 22739 // 22740 // // Example sending a request using the UpdateWorkforceRequest method. 22741 // req, resp := client.UpdateWorkforceRequest(params) 22742 // 22743 // err := req.Send() 22744 // if err == nil { // resp is now filled 22745 // fmt.Println(resp) 22746 // } 22747 // 22748 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateWorkforce 22749 func (c *SageMaker) UpdateWorkforceRequest(input *UpdateWorkforceInput) (req *request.Request, output *UpdateWorkforceOutput) { 22750 op := &request.Operation{ 22751 Name: opUpdateWorkforce, 22752 HTTPMethod: "POST", 22753 HTTPPath: "/", 22754 } 22755 22756 if input == nil { 22757 input = &UpdateWorkforceInput{} 22758 } 22759 22760 output = &UpdateWorkforceOutput{} 22761 req = c.newRequest(op, input, output) 22762 return 22763 } 22764 22765 // UpdateWorkforce API operation for Amazon SageMaker Service. 22766 // 22767 // Use this operation to update your workforce. You can use this operation to 22768 // require that workers use specific IP addresses to work on tasks and to update 22769 // your OpenID Connect (OIDC) Identity Provider (IdP) workforce configuration. 22770 // 22771 // Use SourceIpConfig to restrict worker access to tasks to a specific range 22772 // of IP addresses. You specify allowed IP addresses by creating a list of up 22773 // to ten CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html). 22774 // By default, a workforce isn't restricted to specific IP addresses. If you 22775 // specify a range of IP addresses, workers who attempt to access tasks using 22776 // any IP address outside the specified range are denied and get a Not Found 22777 // error message on the worker portal. 22778 // 22779 // Use OidcConfig to update the configuration of a workforce created using your 22780 // own OIDC IdP. 22781 // 22782 // You can only update your OIDC IdP configuration when there are no work teams 22783 // associated with your workforce. You can delete work teams using the operation. 22784 // 22785 // After restricting access to a range of IP addresses or updating your OIDC 22786 // IdP configuration with this operation, you can view details about your update 22787 // workforce using the operation. 22788 // 22789 // This operation only applies to private workforces. 22790 // 22791 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 22792 // with awserr.Error's Code and Message methods to get detailed information about 22793 // the error. 22794 // 22795 // See the AWS API reference guide for Amazon SageMaker Service's 22796 // API operation UpdateWorkforce for usage and error information. 22797 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateWorkforce 22798 func (c *SageMaker) UpdateWorkforce(input *UpdateWorkforceInput) (*UpdateWorkforceOutput, error) { 22799 req, out := c.UpdateWorkforceRequest(input) 22800 return out, req.Send() 22801 } 22802 22803 // UpdateWorkforceWithContext is the same as UpdateWorkforce with the addition of 22804 // the ability to pass a context and additional request options. 22805 // 22806 // See UpdateWorkforce for details on how to use this API operation. 22807 // 22808 // The context must be non-nil and will be used for request cancellation. If 22809 // the context is nil a panic will occur. In the future the SDK may create 22810 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 22811 // for more information on using Contexts. 22812 func (c *SageMaker) UpdateWorkforceWithContext(ctx aws.Context, input *UpdateWorkforceInput, opts ...request.Option) (*UpdateWorkforceOutput, error) { 22813 req, out := c.UpdateWorkforceRequest(input) 22814 req.SetContext(ctx) 22815 req.ApplyOptions(opts...) 22816 return out, req.Send() 22817 } 22818 22819 const opUpdateWorkteam = "UpdateWorkteam" 22820 22821 // UpdateWorkteamRequest generates a "aws/request.Request" representing the 22822 // client's request for the UpdateWorkteam operation. The "output" return 22823 // value will be populated with the request's response once the request completes 22824 // successfully. 22825 // 22826 // Use "Send" method on the returned Request to send the API call to the service. 22827 // the "output" return value is not valid until after Send returns without error. 22828 // 22829 // See UpdateWorkteam for more information on using the UpdateWorkteam 22830 // API call, and error handling. 22831 // 22832 // This method is useful when you want to inject custom logic or configuration 22833 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 22834 // 22835 // 22836 // // Example sending a request using the UpdateWorkteamRequest method. 22837 // req, resp := client.UpdateWorkteamRequest(params) 22838 // 22839 // err := req.Send() 22840 // if err == nil { // resp is now filled 22841 // fmt.Println(resp) 22842 // } 22843 // 22844 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateWorkteam 22845 func (c *SageMaker) UpdateWorkteamRequest(input *UpdateWorkteamInput) (req *request.Request, output *UpdateWorkteamOutput) { 22846 op := &request.Operation{ 22847 Name: opUpdateWorkteam, 22848 HTTPMethod: "POST", 22849 HTTPPath: "/", 22850 } 22851 22852 if input == nil { 22853 input = &UpdateWorkteamInput{} 22854 } 22855 22856 output = &UpdateWorkteamOutput{} 22857 req = c.newRequest(op, input, output) 22858 return 22859 } 22860 22861 // UpdateWorkteam API operation for Amazon SageMaker Service. 22862 // 22863 // Updates an existing work team with new member definitions or description. 22864 // 22865 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 22866 // with awserr.Error's Code and Message methods to get detailed information about 22867 // the error. 22868 // 22869 // See the AWS API reference guide for Amazon SageMaker Service's 22870 // API operation UpdateWorkteam for usage and error information. 22871 // 22872 // Returned Error Types: 22873 // * ResourceLimitExceeded 22874 // You have exceeded an Amazon SageMaker resource limit. For example, you might 22875 // have too many training jobs created. 22876 // 22877 // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateWorkteam 22878 func (c *SageMaker) UpdateWorkteam(input *UpdateWorkteamInput) (*UpdateWorkteamOutput, error) { 22879 req, out := c.UpdateWorkteamRequest(input) 22880 return out, req.Send() 22881 } 22882 22883 // UpdateWorkteamWithContext is the same as UpdateWorkteam with the addition of 22884 // the ability to pass a context and additional request options. 22885 // 22886 // See UpdateWorkteam for details on how to use this API operation. 22887 // 22888 // The context must be non-nil and will be used for request cancellation. If 22889 // the context is nil a panic will occur. In the future the SDK may create 22890 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 22891 // for more information on using Contexts. 22892 func (c *SageMaker) UpdateWorkteamWithContext(ctx aws.Context, input *UpdateWorkteamInput, opts ...request.Option) (*UpdateWorkteamOutput, error) { 22893 req, out := c.UpdateWorkteamRequest(input) 22894 req.SetContext(ctx) 22895 req.ApplyOptions(opts...) 22896 return out, req.Send() 22897 } 22898 22899 // A structure describing the source of an action. 22900 type ActionSource struct { 22901 _ struct{} `type:"structure"` 22902 22903 // The ID of the source. 22904 SourceId *string `type:"string"` 22905 22906 // The type of the source. 22907 SourceType *string `type:"string"` 22908 22909 // The URI of the source. 22910 // 22911 // SourceUri is a required field 22912 SourceUri *string `type:"string" required:"true"` 22913 } 22914 22915 // String returns the string representation. 22916 // 22917 // API parameter values that are decorated as "sensitive" in the API will not 22918 // be included in the string output. The member name will be present, but the 22919 // value will be replaced with "sensitive". 22920 func (s ActionSource) String() string { 22921 return awsutil.Prettify(s) 22922 } 22923 22924 // GoString returns the string representation. 22925 // 22926 // API parameter values that are decorated as "sensitive" in the API will not 22927 // be included in the string output. The member name will be present, but the 22928 // value will be replaced with "sensitive". 22929 func (s ActionSource) GoString() string { 22930 return s.String() 22931 } 22932 22933 // Validate inspects the fields of the type to determine if they are valid. 22934 func (s *ActionSource) Validate() error { 22935 invalidParams := request.ErrInvalidParams{Context: "ActionSource"} 22936 if s.SourceUri == nil { 22937 invalidParams.Add(request.NewErrParamRequired("SourceUri")) 22938 } 22939 22940 if invalidParams.Len() > 0 { 22941 return invalidParams 22942 } 22943 return nil 22944 } 22945 22946 // SetSourceId sets the SourceId field's value. 22947 func (s *ActionSource) SetSourceId(v string) *ActionSource { 22948 s.SourceId = &v 22949 return s 22950 } 22951 22952 // SetSourceType sets the SourceType field's value. 22953 func (s *ActionSource) SetSourceType(v string) *ActionSource { 22954 s.SourceType = &v 22955 return s 22956 } 22957 22958 // SetSourceUri sets the SourceUri field's value. 22959 func (s *ActionSource) SetSourceUri(v string) *ActionSource { 22960 s.SourceUri = &v 22961 return s 22962 } 22963 22964 // Lists the properties of an action. An action represents an action or activity. 22965 // Some examples are a workflow step and a model deployment. Generally, an action 22966 // involves at least one input artifact or output artifact. 22967 type ActionSummary struct { 22968 _ struct{} `type:"structure"` 22969 22970 // The Amazon Resource Name (ARN) of the action. 22971 ActionArn *string `type:"string"` 22972 22973 // The name of the action. 22974 ActionName *string `min:"1" type:"string"` 22975 22976 // The type of the action. 22977 ActionType *string `type:"string"` 22978 22979 // When the action was created. 22980 CreationTime *time.Time `type:"timestamp"` 22981 22982 // When the action was last modified. 22983 LastModifiedTime *time.Time `type:"timestamp"` 22984 22985 // The source of the action. 22986 Source *ActionSource `type:"structure"` 22987 22988 // The status of the action. 22989 Status *string `type:"string" enum:"ActionStatus"` 22990 } 22991 22992 // String returns the string representation. 22993 // 22994 // API parameter values that are decorated as "sensitive" in the API will not 22995 // be included in the string output. The member name will be present, but the 22996 // value will be replaced with "sensitive". 22997 func (s ActionSummary) String() string { 22998 return awsutil.Prettify(s) 22999 } 23000 23001 // GoString returns the string representation. 23002 // 23003 // API parameter values that are decorated as "sensitive" in the API will not 23004 // be included in the string output. The member name will be present, but the 23005 // value will be replaced with "sensitive". 23006 func (s ActionSummary) GoString() string { 23007 return s.String() 23008 } 23009 23010 // SetActionArn sets the ActionArn field's value. 23011 func (s *ActionSummary) SetActionArn(v string) *ActionSummary { 23012 s.ActionArn = &v 23013 return s 23014 } 23015 23016 // SetActionName sets the ActionName field's value. 23017 func (s *ActionSummary) SetActionName(v string) *ActionSummary { 23018 s.ActionName = &v 23019 return s 23020 } 23021 23022 // SetActionType sets the ActionType field's value. 23023 func (s *ActionSummary) SetActionType(v string) *ActionSummary { 23024 s.ActionType = &v 23025 return s 23026 } 23027 23028 // SetCreationTime sets the CreationTime field's value. 23029 func (s *ActionSummary) SetCreationTime(v time.Time) *ActionSummary { 23030 s.CreationTime = &v 23031 return s 23032 } 23033 23034 // SetLastModifiedTime sets the LastModifiedTime field's value. 23035 func (s *ActionSummary) SetLastModifiedTime(v time.Time) *ActionSummary { 23036 s.LastModifiedTime = &v 23037 return s 23038 } 23039 23040 // SetSource sets the Source field's value. 23041 func (s *ActionSummary) SetSource(v *ActionSource) *ActionSummary { 23042 s.Source = v 23043 return s 23044 } 23045 23046 // SetStatus sets the Status field's value. 23047 func (s *ActionSummary) SetStatus(v string) *ActionSummary { 23048 s.Status = &v 23049 return s 23050 } 23051 23052 type AddAssociationInput struct { 23053 _ struct{} `type:"structure"` 23054 23055 // The type of association. The following are suggested uses for each type. 23056 // Amazon SageMaker places no restrictions on their use. 23057 // 23058 // * ContributedTo - The source contributed to the destination or had a part 23059 // in enabling the destination. For example, the training data contributed 23060 // to the training job. 23061 // 23062 // * AssociatedWith - The source is connected to the destination. For example, 23063 // an approval workflow is associated with a model deployment. 23064 // 23065 // * DerivedFrom - The destination is a modification of the source. For example, 23066 // a digest output of a channel input for a processing job is derived from 23067 // the original inputs. 23068 // 23069 // * Produced - The source generated the destination. For example, a training 23070 // job produced a model artifact. 23071 AssociationType *string `type:"string" enum:"AssociationEdgeType"` 23072 23073 // The Amazon Resource Name (ARN) of the destination. 23074 // 23075 // DestinationArn is a required field 23076 DestinationArn *string `type:"string" required:"true"` 23077 23078 // The ARN of the source. 23079 // 23080 // SourceArn is a required field 23081 SourceArn *string `type:"string" required:"true"` 23082 } 23083 23084 // String returns the string representation. 23085 // 23086 // API parameter values that are decorated as "sensitive" in the API will not 23087 // be included in the string output. The member name will be present, but the 23088 // value will be replaced with "sensitive". 23089 func (s AddAssociationInput) String() string { 23090 return awsutil.Prettify(s) 23091 } 23092 23093 // GoString returns the string representation. 23094 // 23095 // API parameter values that are decorated as "sensitive" in the API will not 23096 // be included in the string output. The member name will be present, but the 23097 // value will be replaced with "sensitive". 23098 func (s AddAssociationInput) GoString() string { 23099 return s.String() 23100 } 23101 23102 // Validate inspects the fields of the type to determine if they are valid. 23103 func (s *AddAssociationInput) Validate() error { 23104 invalidParams := request.ErrInvalidParams{Context: "AddAssociationInput"} 23105 if s.DestinationArn == nil { 23106 invalidParams.Add(request.NewErrParamRequired("DestinationArn")) 23107 } 23108 if s.SourceArn == nil { 23109 invalidParams.Add(request.NewErrParamRequired("SourceArn")) 23110 } 23111 23112 if invalidParams.Len() > 0 { 23113 return invalidParams 23114 } 23115 return nil 23116 } 23117 23118 // SetAssociationType sets the AssociationType field's value. 23119 func (s *AddAssociationInput) SetAssociationType(v string) *AddAssociationInput { 23120 s.AssociationType = &v 23121 return s 23122 } 23123 23124 // SetDestinationArn sets the DestinationArn field's value. 23125 func (s *AddAssociationInput) SetDestinationArn(v string) *AddAssociationInput { 23126 s.DestinationArn = &v 23127 return s 23128 } 23129 23130 // SetSourceArn sets the SourceArn field's value. 23131 func (s *AddAssociationInput) SetSourceArn(v string) *AddAssociationInput { 23132 s.SourceArn = &v 23133 return s 23134 } 23135 23136 type AddAssociationOutput struct { 23137 _ struct{} `type:"structure"` 23138 23139 // The Amazon Resource Name (ARN) of the destination. 23140 DestinationArn *string `type:"string"` 23141 23142 // The ARN of the source. 23143 SourceArn *string `type:"string"` 23144 } 23145 23146 // String returns the string representation. 23147 // 23148 // API parameter values that are decorated as "sensitive" in the API will not 23149 // be included in the string output. The member name will be present, but the 23150 // value will be replaced with "sensitive". 23151 func (s AddAssociationOutput) String() string { 23152 return awsutil.Prettify(s) 23153 } 23154 23155 // GoString returns the string representation. 23156 // 23157 // API parameter values that are decorated as "sensitive" in the API will not 23158 // be included in the string output. The member name will be present, but the 23159 // value will be replaced with "sensitive". 23160 func (s AddAssociationOutput) GoString() string { 23161 return s.String() 23162 } 23163 23164 // SetDestinationArn sets the DestinationArn field's value. 23165 func (s *AddAssociationOutput) SetDestinationArn(v string) *AddAssociationOutput { 23166 s.DestinationArn = &v 23167 return s 23168 } 23169 23170 // SetSourceArn sets the SourceArn field's value. 23171 func (s *AddAssociationOutput) SetSourceArn(v string) *AddAssociationOutput { 23172 s.SourceArn = &v 23173 return s 23174 } 23175 23176 type AddTagsInput struct { 23177 _ struct{} `type:"structure"` 23178 23179 // The Amazon Resource Name (ARN) of the resource that you want to tag. 23180 // 23181 // ResourceArn is a required field 23182 ResourceArn *string `type:"string" required:"true"` 23183 23184 // An array of key-value pairs. You can use tags to categorize your Amazon Web 23185 // Services resources in different ways, for example, by purpose, owner, or 23186 // environment. For more information, see Tagging Amazon Web Services Resources 23187 // (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html). 23188 // 23189 // Tags is a required field 23190 Tags []*Tag `type:"list" required:"true"` 23191 } 23192 23193 // String returns the string representation. 23194 // 23195 // API parameter values that are decorated as "sensitive" in the API will not 23196 // be included in the string output. The member name will be present, but the 23197 // value will be replaced with "sensitive". 23198 func (s AddTagsInput) String() string { 23199 return awsutil.Prettify(s) 23200 } 23201 23202 // GoString returns the string representation. 23203 // 23204 // API parameter values that are decorated as "sensitive" in the API will not 23205 // be included in the string output. The member name will be present, but the 23206 // value will be replaced with "sensitive". 23207 func (s AddTagsInput) GoString() string { 23208 return s.String() 23209 } 23210 23211 // Validate inspects the fields of the type to determine if they are valid. 23212 func (s *AddTagsInput) Validate() error { 23213 invalidParams := request.ErrInvalidParams{Context: "AddTagsInput"} 23214 if s.ResourceArn == nil { 23215 invalidParams.Add(request.NewErrParamRequired("ResourceArn")) 23216 } 23217 if s.Tags == nil { 23218 invalidParams.Add(request.NewErrParamRequired("Tags")) 23219 } 23220 if s.Tags != nil { 23221 for i, v := range s.Tags { 23222 if v == nil { 23223 continue 23224 } 23225 if err := v.Validate(); err != nil { 23226 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 23227 } 23228 } 23229 } 23230 23231 if invalidParams.Len() > 0 { 23232 return invalidParams 23233 } 23234 return nil 23235 } 23236 23237 // SetResourceArn sets the ResourceArn field's value. 23238 func (s *AddTagsInput) SetResourceArn(v string) *AddTagsInput { 23239 s.ResourceArn = &v 23240 return s 23241 } 23242 23243 // SetTags sets the Tags field's value. 23244 func (s *AddTagsInput) SetTags(v []*Tag) *AddTagsInput { 23245 s.Tags = v 23246 return s 23247 } 23248 23249 type AddTagsOutput struct { 23250 _ struct{} `type:"structure"` 23251 23252 // A list of tags associated with the Amazon SageMaker resource. 23253 Tags []*Tag `type:"list"` 23254 } 23255 23256 // String returns the string representation. 23257 // 23258 // API parameter values that are decorated as "sensitive" in the API will not 23259 // be included in the string output. The member name will be present, but the 23260 // value will be replaced with "sensitive". 23261 func (s AddTagsOutput) String() string { 23262 return awsutil.Prettify(s) 23263 } 23264 23265 // GoString returns the string representation. 23266 // 23267 // API parameter values that are decorated as "sensitive" in the API will not 23268 // be included in the string output. The member name will be present, but the 23269 // value will be replaced with "sensitive". 23270 func (s AddTagsOutput) GoString() string { 23271 return s.String() 23272 } 23273 23274 // SetTags sets the Tags field's value. 23275 func (s *AddTagsOutput) SetTags(v []*Tag) *AddTagsOutput { 23276 s.Tags = v 23277 return s 23278 } 23279 23280 // Edge Manager agent version. 23281 type AgentVersion struct { 23282 _ struct{} `type:"structure"` 23283 23284 // The number of Edge Manager agents. 23285 // 23286 // AgentCount is a required field 23287 AgentCount *int64 `type:"long" required:"true"` 23288 23289 // Version of the agent. 23290 // 23291 // Version is a required field 23292 Version *string `min:"1" type:"string" required:"true"` 23293 } 23294 23295 // String returns the string representation. 23296 // 23297 // API parameter values that are decorated as "sensitive" in the API will not 23298 // be included in the string output. The member name will be present, but the 23299 // value will be replaced with "sensitive". 23300 func (s AgentVersion) String() string { 23301 return awsutil.Prettify(s) 23302 } 23303 23304 // GoString returns the string representation. 23305 // 23306 // API parameter values that are decorated as "sensitive" in the API will not 23307 // be included in the string output. The member name will be present, but the 23308 // value will be replaced with "sensitive". 23309 func (s AgentVersion) GoString() string { 23310 return s.String() 23311 } 23312 23313 // SetAgentCount sets the AgentCount field's value. 23314 func (s *AgentVersion) SetAgentCount(v int64) *AgentVersion { 23315 s.AgentCount = &v 23316 return s 23317 } 23318 23319 // SetVersion sets the Version field's value. 23320 func (s *AgentVersion) SetVersion(v string) *AgentVersion { 23321 s.Version = &v 23322 return s 23323 } 23324 23325 // This API is not supported. 23326 type Alarm struct { 23327 _ struct{} `type:"structure"` 23328 23329 AlarmName *string `min:"1" type:"string"` 23330 } 23331 23332 // String returns the string representation. 23333 // 23334 // API parameter values that are decorated as "sensitive" in the API will not 23335 // be included in the string output. The member name will be present, but the 23336 // value will be replaced with "sensitive". 23337 func (s Alarm) String() string { 23338 return awsutil.Prettify(s) 23339 } 23340 23341 // GoString returns the string representation. 23342 // 23343 // API parameter values that are decorated as "sensitive" in the API will not 23344 // be included in the string output. The member name will be present, but the 23345 // value will be replaced with "sensitive". 23346 func (s Alarm) GoString() string { 23347 return s.String() 23348 } 23349 23350 // Validate inspects the fields of the type to determine if they are valid. 23351 func (s *Alarm) Validate() error { 23352 invalidParams := request.ErrInvalidParams{Context: "Alarm"} 23353 if s.AlarmName != nil && len(*s.AlarmName) < 1 { 23354 invalidParams.Add(request.NewErrParamMinLen("AlarmName", 1)) 23355 } 23356 23357 if invalidParams.Len() > 0 { 23358 return invalidParams 23359 } 23360 return nil 23361 } 23362 23363 // SetAlarmName sets the AlarmName field's value. 23364 func (s *Alarm) SetAlarmName(v string) *Alarm { 23365 s.AlarmName = &v 23366 return s 23367 } 23368 23369 // Specifies the training algorithm to use in a CreateTrainingJob request. 23370 // 23371 // For more information about algorithms provided by Amazon SageMaker, see Algorithms 23372 // (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html). For information 23373 // about using your own algorithms, see Using Your Own Algorithms with Amazon 23374 // SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html). 23375 type AlgorithmSpecification struct { 23376 _ struct{} `type:"structure"` 23377 23378 // The name of the algorithm resource to use for the training job. This must 23379 // be an algorithm resource that you created or subscribe to on Amazon Web Services 23380 // Marketplace. If you specify a value for this parameter, you can't specify 23381 // a value for TrainingImage. 23382 AlgorithmName *string `min:"1" type:"string"` 23383 23384 // To generate and save time-series metrics during training, set to true. The 23385 // default is false and time-series metrics aren't generated except in the following 23386 // cases: 23387 // 23388 // * You use one of the Amazon SageMaker built-in algorithms 23389 // 23390 // * You use one of the following Prebuilt Amazon SageMaker Docker Images 23391 // (https://docs.aws.amazon.com/sagemaker/latest/dg/pre-built-containers-frameworks-deep-learning.html): 23392 // Tensorflow (version >= 1.15) MXNet (version >= 1.6) PyTorch (version >= 23393 // 1.3) 23394 // 23395 // * You specify at least one MetricDefinition 23396 EnableSageMakerMetricsTimeSeries *bool `type:"boolean"` 23397 23398 // A list of metric definition objects. Each object specifies the metric name 23399 // and regular expressions used to parse algorithm logs. Amazon SageMaker publishes 23400 // each metric to Amazon CloudWatch. 23401 MetricDefinitions []*MetricDefinition `type:"list"` 23402 23403 // The registry path of the Docker image that contains the training algorithm. 23404 // For information about docker registry paths for built-in algorithms, see 23405 // Algorithms Provided by Amazon SageMaker: Common Parameters (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-algo-docker-registry-paths.html). 23406 // Amazon SageMaker supports both registry/repository[:tag] and registry/repository[@digest] 23407 // image path formats. For more information, see Using Your Own Algorithms with 23408 // Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html). 23409 TrainingImage *string `type:"string"` 23410 23411 // The training input mode that the algorithm supports. For more information 23412 // about input modes, see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html). 23413 // 23414 // Pipe mode 23415 // 23416 // If an algorithm supports Pipe mode, Amazon SageMaker streams data directly 23417 // from Amazon S3 to the container. 23418 // 23419 // File mode 23420 // 23421 // If an algorithm supports File mode, SageMaker downloads the training data 23422 // from S3 to the provisioned ML storage volume, and mounts the directory to 23423 // the Docker volume for the training container. 23424 // 23425 // You must provision the ML storage volume with sufficient capacity to accommodate 23426 // the data downloaded from S3. In addition to the training data, the ML storage 23427 // volume also stores the output model. The algorithm container uses the ML 23428 // storage volume to also store intermediate information, if any. 23429 // 23430 // For distributed algorithms, training data is distributed uniformly. Your 23431 // training duration is predictable if the input data objects sizes are approximately 23432 // the same. SageMaker does not split the files any further for model training. 23433 // If the object sizes are skewed, training won't be optimal as the data distribution 23434 // is also skewed when one host in a training cluster is overloaded, thus becoming 23435 // a bottleneck in training. 23436 // 23437 // FastFile mode 23438 // 23439 // If an algorithm supports FastFile mode, SageMaker streams data directly from 23440 // S3 to the container with no code changes, and provides file system access 23441 // to the data. Users can author their training script to interact with these 23442 // files as if they were stored on disk. 23443 // 23444 // FastFile mode works best when the data is read sequentially. Augmented manifest 23445 // files aren't supported. The startup time is lower when there are fewer files 23446 // in the S3 bucket provided. 23447 // 23448 // TrainingInputMode is a required field 23449 TrainingInputMode *string `type:"string" required:"true" enum:"TrainingInputMode"` 23450 } 23451 23452 // String returns the string representation. 23453 // 23454 // API parameter values that are decorated as "sensitive" in the API will not 23455 // be included in the string output. The member name will be present, but the 23456 // value will be replaced with "sensitive". 23457 func (s AlgorithmSpecification) String() string { 23458 return awsutil.Prettify(s) 23459 } 23460 23461 // GoString returns the string representation. 23462 // 23463 // API parameter values that are decorated as "sensitive" in the API will not 23464 // be included in the string output. The member name will be present, but the 23465 // value will be replaced with "sensitive". 23466 func (s AlgorithmSpecification) GoString() string { 23467 return s.String() 23468 } 23469 23470 // Validate inspects the fields of the type to determine if they are valid. 23471 func (s *AlgorithmSpecification) Validate() error { 23472 invalidParams := request.ErrInvalidParams{Context: "AlgorithmSpecification"} 23473 if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 { 23474 invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1)) 23475 } 23476 if s.TrainingInputMode == nil { 23477 invalidParams.Add(request.NewErrParamRequired("TrainingInputMode")) 23478 } 23479 if s.MetricDefinitions != nil { 23480 for i, v := range s.MetricDefinitions { 23481 if v == nil { 23482 continue 23483 } 23484 if err := v.Validate(); err != nil { 23485 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MetricDefinitions", i), err.(request.ErrInvalidParams)) 23486 } 23487 } 23488 } 23489 23490 if invalidParams.Len() > 0 { 23491 return invalidParams 23492 } 23493 return nil 23494 } 23495 23496 // SetAlgorithmName sets the AlgorithmName field's value. 23497 func (s *AlgorithmSpecification) SetAlgorithmName(v string) *AlgorithmSpecification { 23498 s.AlgorithmName = &v 23499 return s 23500 } 23501 23502 // SetEnableSageMakerMetricsTimeSeries sets the EnableSageMakerMetricsTimeSeries field's value. 23503 func (s *AlgorithmSpecification) SetEnableSageMakerMetricsTimeSeries(v bool) *AlgorithmSpecification { 23504 s.EnableSageMakerMetricsTimeSeries = &v 23505 return s 23506 } 23507 23508 // SetMetricDefinitions sets the MetricDefinitions field's value. 23509 func (s *AlgorithmSpecification) SetMetricDefinitions(v []*MetricDefinition) *AlgorithmSpecification { 23510 s.MetricDefinitions = v 23511 return s 23512 } 23513 23514 // SetTrainingImage sets the TrainingImage field's value. 23515 func (s *AlgorithmSpecification) SetTrainingImage(v string) *AlgorithmSpecification { 23516 s.TrainingImage = &v 23517 return s 23518 } 23519 23520 // SetTrainingInputMode sets the TrainingInputMode field's value. 23521 func (s *AlgorithmSpecification) SetTrainingInputMode(v string) *AlgorithmSpecification { 23522 s.TrainingInputMode = &v 23523 return s 23524 } 23525 23526 // Specifies the validation and image scan statuses of the algorithm. 23527 type AlgorithmStatusDetails struct { 23528 _ struct{} `type:"structure"` 23529 23530 // The status of the scan of the algorithm's Docker image container. 23531 ImageScanStatuses []*AlgorithmStatusItem `type:"list"` 23532 23533 // The status of algorithm validation. 23534 ValidationStatuses []*AlgorithmStatusItem `type:"list"` 23535 } 23536 23537 // String returns the string representation. 23538 // 23539 // API parameter values that are decorated as "sensitive" in the API will not 23540 // be included in the string output. The member name will be present, but the 23541 // value will be replaced with "sensitive". 23542 func (s AlgorithmStatusDetails) String() string { 23543 return awsutil.Prettify(s) 23544 } 23545 23546 // GoString returns the string representation. 23547 // 23548 // API parameter values that are decorated as "sensitive" in the API will not 23549 // be included in the string output. The member name will be present, but the 23550 // value will be replaced with "sensitive". 23551 func (s AlgorithmStatusDetails) GoString() string { 23552 return s.String() 23553 } 23554 23555 // SetImageScanStatuses sets the ImageScanStatuses field's value. 23556 func (s *AlgorithmStatusDetails) SetImageScanStatuses(v []*AlgorithmStatusItem) *AlgorithmStatusDetails { 23557 s.ImageScanStatuses = v 23558 return s 23559 } 23560 23561 // SetValidationStatuses sets the ValidationStatuses field's value. 23562 func (s *AlgorithmStatusDetails) SetValidationStatuses(v []*AlgorithmStatusItem) *AlgorithmStatusDetails { 23563 s.ValidationStatuses = v 23564 return s 23565 } 23566 23567 // Represents the overall status of an algorithm. 23568 type AlgorithmStatusItem struct { 23569 _ struct{} `type:"structure"` 23570 23571 // if the overall status is Failed, the reason for the failure. 23572 FailureReason *string `type:"string"` 23573 23574 // The name of the algorithm for which the overall status is being reported. 23575 // 23576 // Name is a required field 23577 Name *string `min:"1" type:"string" required:"true"` 23578 23579 // The current status. 23580 // 23581 // Status is a required field 23582 Status *string `type:"string" required:"true" enum:"DetailedAlgorithmStatus"` 23583 } 23584 23585 // String returns the string representation. 23586 // 23587 // API parameter values that are decorated as "sensitive" in the API will not 23588 // be included in the string output. The member name will be present, but the 23589 // value will be replaced with "sensitive". 23590 func (s AlgorithmStatusItem) String() string { 23591 return awsutil.Prettify(s) 23592 } 23593 23594 // GoString returns the string representation. 23595 // 23596 // API parameter values that are decorated as "sensitive" in the API will not 23597 // be included in the string output. The member name will be present, but the 23598 // value will be replaced with "sensitive". 23599 func (s AlgorithmStatusItem) GoString() string { 23600 return s.String() 23601 } 23602 23603 // SetFailureReason sets the FailureReason field's value. 23604 func (s *AlgorithmStatusItem) SetFailureReason(v string) *AlgorithmStatusItem { 23605 s.FailureReason = &v 23606 return s 23607 } 23608 23609 // SetName sets the Name field's value. 23610 func (s *AlgorithmStatusItem) SetName(v string) *AlgorithmStatusItem { 23611 s.Name = &v 23612 return s 23613 } 23614 23615 // SetStatus sets the Status field's value. 23616 func (s *AlgorithmStatusItem) SetStatus(v string) *AlgorithmStatusItem { 23617 s.Status = &v 23618 return s 23619 } 23620 23621 // Provides summary information about an algorithm. 23622 type AlgorithmSummary struct { 23623 _ struct{} `type:"structure"` 23624 23625 // The Amazon Resource Name (ARN) of the algorithm. 23626 // 23627 // AlgorithmArn is a required field 23628 AlgorithmArn *string `min:"1" type:"string" required:"true"` 23629 23630 // A brief description of the algorithm. 23631 AlgorithmDescription *string `type:"string"` 23632 23633 // The name of the algorithm that is described by the summary. 23634 // 23635 // AlgorithmName is a required field 23636 AlgorithmName *string `min:"1" type:"string" required:"true"` 23637 23638 // The overall status of the algorithm. 23639 // 23640 // AlgorithmStatus is a required field 23641 AlgorithmStatus *string `type:"string" required:"true" enum:"AlgorithmStatus"` 23642 23643 // A timestamp that shows when the algorithm was created. 23644 // 23645 // CreationTime is a required field 23646 CreationTime *time.Time `type:"timestamp" required:"true"` 23647 } 23648 23649 // String returns the string representation. 23650 // 23651 // API parameter values that are decorated as "sensitive" in the API will not 23652 // be included in the string output. The member name will be present, but the 23653 // value will be replaced with "sensitive". 23654 func (s AlgorithmSummary) String() string { 23655 return awsutil.Prettify(s) 23656 } 23657 23658 // GoString returns the string representation. 23659 // 23660 // API parameter values that are decorated as "sensitive" in the API will not 23661 // be included in the string output. The member name will be present, but the 23662 // value will be replaced with "sensitive". 23663 func (s AlgorithmSummary) GoString() string { 23664 return s.String() 23665 } 23666 23667 // SetAlgorithmArn sets the AlgorithmArn field's value. 23668 func (s *AlgorithmSummary) SetAlgorithmArn(v string) *AlgorithmSummary { 23669 s.AlgorithmArn = &v 23670 return s 23671 } 23672 23673 // SetAlgorithmDescription sets the AlgorithmDescription field's value. 23674 func (s *AlgorithmSummary) SetAlgorithmDescription(v string) *AlgorithmSummary { 23675 s.AlgorithmDescription = &v 23676 return s 23677 } 23678 23679 // SetAlgorithmName sets the AlgorithmName field's value. 23680 func (s *AlgorithmSummary) SetAlgorithmName(v string) *AlgorithmSummary { 23681 s.AlgorithmName = &v 23682 return s 23683 } 23684 23685 // SetAlgorithmStatus sets the AlgorithmStatus field's value. 23686 func (s *AlgorithmSummary) SetAlgorithmStatus(v string) *AlgorithmSummary { 23687 s.AlgorithmStatus = &v 23688 return s 23689 } 23690 23691 // SetCreationTime sets the CreationTime field's value. 23692 func (s *AlgorithmSummary) SetCreationTime(v time.Time) *AlgorithmSummary { 23693 s.CreationTime = &v 23694 return s 23695 } 23696 23697 // Defines a training job and a batch transform job that Amazon SageMaker runs 23698 // to validate your algorithm. 23699 // 23700 // The data provided in the validation profile is made available to your buyers 23701 // on Amazon Web Services Marketplace. 23702 type AlgorithmValidationProfile struct { 23703 _ struct{} `type:"structure"` 23704 23705 // The name of the profile for the algorithm. The name must have 1 to 63 characters. 23706 // Valid characters are a-z, A-Z, 0-9, and - (hyphen). 23707 // 23708 // ProfileName is a required field 23709 ProfileName *string `min:"1" type:"string" required:"true"` 23710 23711 // The TrainingJobDefinition object that describes the training job that Amazon 23712 // SageMaker runs to validate your algorithm. 23713 // 23714 // TrainingJobDefinition is a required field 23715 TrainingJobDefinition *TrainingJobDefinition `type:"structure" required:"true"` 23716 23717 // The TransformJobDefinition object that describes the transform job that Amazon 23718 // SageMaker runs to validate your algorithm. 23719 TransformJobDefinition *TransformJobDefinition `type:"structure"` 23720 } 23721 23722 // String returns the string representation. 23723 // 23724 // API parameter values that are decorated as "sensitive" in the API will not 23725 // be included in the string output. The member name will be present, but the 23726 // value will be replaced with "sensitive". 23727 func (s AlgorithmValidationProfile) String() string { 23728 return awsutil.Prettify(s) 23729 } 23730 23731 // GoString returns the string representation. 23732 // 23733 // API parameter values that are decorated as "sensitive" in the API will not 23734 // be included in the string output. The member name will be present, but the 23735 // value will be replaced with "sensitive". 23736 func (s AlgorithmValidationProfile) GoString() string { 23737 return s.String() 23738 } 23739 23740 // Validate inspects the fields of the type to determine if they are valid. 23741 func (s *AlgorithmValidationProfile) Validate() error { 23742 invalidParams := request.ErrInvalidParams{Context: "AlgorithmValidationProfile"} 23743 if s.ProfileName == nil { 23744 invalidParams.Add(request.NewErrParamRequired("ProfileName")) 23745 } 23746 if s.ProfileName != nil && len(*s.ProfileName) < 1 { 23747 invalidParams.Add(request.NewErrParamMinLen("ProfileName", 1)) 23748 } 23749 if s.TrainingJobDefinition == nil { 23750 invalidParams.Add(request.NewErrParamRequired("TrainingJobDefinition")) 23751 } 23752 if s.TrainingJobDefinition != nil { 23753 if err := s.TrainingJobDefinition.Validate(); err != nil { 23754 invalidParams.AddNested("TrainingJobDefinition", err.(request.ErrInvalidParams)) 23755 } 23756 } 23757 if s.TransformJobDefinition != nil { 23758 if err := s.TransformJobDefinition.Validate(); err != nil { 23759 invalidParams.AddNested("TransformJobDefinition", err.(request.ErrInvalidParams)) 23760 } 23761 } 23762 23763 if invalidParams.Len() > 0 { 23764 return invalidParams 23765 } 23766 return nil 23767 } 23768 23769 // SetProfileName sets the ProfileName field's value. 23770 func (s *AlgorithmValidationProfile) SetProfileName(v string) *AlgorithmValidationProfile { 23771 s.ProfileName = &v 23772 return s 23773 } 23774 23775 // SetTrainingJobDefinition sets the TrainingJobDefinition field's value. 23776 func (s *AlgorithmValidationProfile) SetTrainingJobDefinition(v *TrainingJobDefinition) *AlgorithmValidationProfile { 23777 s.TrainingJobDefinition = v 23778 return s 23779 } 23780 23781 // SetTransformJobDefinition sets the TransformJobDefinition field's value. 23782 func (s *AlgorithmValidationProfile) SetTransformJobDefinition(v *TransformJobDefinition) *AlgorithmValidationProfile { 23783 s.TransformJobDefinition = v 23784 return s 23785 } 23786 23787 // Specifies configurations for one or more training jobs that Amazon SageMaker 23788 // runs to test the algorithm. 23789 type AlgorithmValidationSpecification struct { 23790 _ struct{} `type:"structure"` 23791 23792 // An array of AlgorithmValidationProfile objects, each of which specifies a 23793 // training job and batch transform job that Amazon SageMaker runs to validate 23794 // your algorithm. 23795 // 23796 // ValidationProfiles is a required field 23797 ValidationProfiles []*AlgorithmValidationProfile `min:"1" type:"list" required:"true"` 23798 23799 // The IAM roles that Amazon SageMaker uses to run the training jobs. 23800 // 23801 // ValidationRole is a required field 23802 ValidationRole *string `min:"20" type:"string" required:"true"` 23803 } 23804 23805 // String returns the string representation. 23806 // 23807 // API parameter values that are decorated as "sensitive" in the API will not 23808 // be included in the string output. The member name will be present, but the 23809 // value will be replaced with "sensitive". 23810 func (s AlgorithmValidationSpecification) String() string { 23811 return awsutil.Prettify(s) 23812 } 23813 23814 // GoString returns the string representation. 23815 // 23816 // API parameter values that are decorated as "sensitive" in the API will not 23817 // be included in the string output. The member name will be present, but the 23818 // value will be replaced with "sensitive". 23819 func (s AlgorithmValidationSpecification) GoString() string { 23820 return s.String() 23821 } 23822 23823 // Validate inspects the fields of the type to determine if they are valid. 23824 func (s *AlgorithmValidationSpecification) Validate() error { 23825 invalidParams := request.ErrInvalidParams{Context: "AlgorithmValidationSpecification"} 23826 if s.ValidationProfiles == nil { 23827 invalidParams.Add(request.NewErrParamRequired("ValidationProfiles")) 23828 } 23829 if s.ValidationProfiles != nil && len(s.ValidationProfiles) < 1 { 23830 invalidParams.Add(request.NewErrParamMinLen("ValidationProfiles", 1)) 23831 } 23832 if s.ValidationRole == nil { 23833 invalidParams.Add(request.NewErrParamRequired("ValidationRole")) 23834 } 23835 if s.ValidationRole != nil && len(*s.ValidationRole) < 20 { 23836 invalidParams.Add(request.NewErrParamMinLen("ValidationRole", 20)) 23837 } 23838 if s.ValidationProfiles != nil { 23839 for i, v := range s.ValidationProfiles { 23840 if v == nil { 23841 continue 23842 } 23843 if err := v.Validate(); err != nil { 23844 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ValidationProfiles", i), err.(request.ErrInvalidParams)) 23845 } 23846 } 23847 } 23848 23849 if invalidParams.Len() > 0 { 23850 return invalidParams 23851 } 23852 return nil 23853 } 23854 23855 // SetValidationProfiles sets the ValidationProfiles field's value. 23856 func (s *AlgorithmValidationSpecification) SetValidationProfiles(v []*AlgorithmValidationProfile) *AlgorithmValidationSpecification { 23857 s.ValidationProfiles = v 23858 return s 23859 } 23860 23861 // SetValidationRole sets the ValidationRole field's value. 23862 func (s *AlgorithmValidationSpecification) SetValidationRole(v string) *AlgorithmValidationSpecification { 23863 s.ValidationRole = &v 23864 return s 23865 } 23866 23867 // Configures how labels are consolidated across human workers and processes 23868 // output data. 23869 type AnnotationConsolidationConfig struct { 23870 _ struct{} `type:"structure"` 23871 23872 // The Amazon Resource Name (ARN) of a Lambda function implements the logic 23873 // for annotation consolidation (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-annotation-consolidation.html) 23874 // and to process output data. 23875 // 23876 // This parameter is required for all labeling jobs. For built-in task types 23877 // (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-task-types.html), use 23878 // one of the following Amazon SageMaker Ground Truth Lambda function ARNs for 23879 // AnnotationConsolidationLambdaArn. For custom labeling workflows, see Post-annotation 23880 // Lambda (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-custom-templates-step3.html#sms-custom-templates-step3-postlambda). 23881 // 23882 // Bounding box - Finds the most similar boxes from different workers based 23883 // on the Jaccard index of the boxes. 23884 // 23885 // * arn:aws:lambda:us-east-1:432418664414:function:ACS-BoundingBox 23886 // 23887 // * arn:aws:lambda:us-east-2:266458841044:function:ACS-BoundingBox 23888 // 23889 // * arn:aws:lambda:us-west-2:081040173940:function:ACS-BoundingBox 23890 // 23891 // * arn:aws:lambda:eu-west-1:568282634449:function:ACS-BoundingBox 23892 // 23893 // * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-BoundingBox 23894 // 23895 // * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-BoundingBox 23896 // 23897 // * arn:aws:lambda:ap-south-1:565803892007:function:ACS-BoundingBox 23898 // 23899 // * arn:aws:lambda:eu-central-1:203001061592:function:ACS-BoundingBox 23900 // 23901 // * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-BoundingBox 23902 // 23903 // * arn:aws:lambda:eu-west-2:487402164563:function:ACS-BoundingBox 23904 // 23905 // * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-BoundingBox 23906 // 23907 // * arn:aws:lambda:ca-central-1:918755190332:function:ACS-BoundingBox 23908 // 23909 // Image classification - Uses a variant of the Expectation Maximization approach 23910 // to estimate the true class of an image based on annotations from individual 23911 // workers. 23912 // 23913 // * arn:aws:lambda:us-east-1:432418664414:function:ACS-ImageMultiClass 23914 // 23915 // * arn:aws:lambda:us-east-2:266458841044:function:ACS-ImageMultiClass 23916 // 23917 // * arn:aws:lambda:us-west-2:081040173940:function:ACS-ImageMultiClass 23918 // 23919 // * arn:aws:lambda:eu-west-1:568282634449:function:ACS-ImageMultiClass 23920 // 23921 // * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-ImageMultiClass 23922 // 23923 // * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-ImageMultiClass 23924 // 23925 // * arn:aws:lambda:ap-south-1:565803892007:function:ACS-ImageMultiClass 23926 // 23927 // * arn:aws:lambda:eu-central-1:203001061592:function:ACS-ImageMultiClass 23928 // 23929 // * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-ImageMultiClass 23930 // 23931 // * arn:aws:lambda:eu-west-2:487402164563:function:ACS-ImageMultiClass 23932 // 23933 // * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-ImageMultiClass 23934 // 23935 // * arn:aws:lambda:ca-central-1:918755190332:function:ACS-ImageMultiClass 23936 // 23937 // Multi-label image classification - Uses a variant of the Expectation Maximization 23938 // approach to estimate the true classes of an image based on annotations from 23939 // individual workers. 23940 // 23941 // * arn:aws:lambda:us-east-1:432418664414:function:ACS-ImageMultiClassMultiLabel 23942 // 23943 // * arn:aws:lambda:us-east-2:266458841044:function:ACS-ImageMultiClassMultiLabel 23944 // 23945 // * arn:aws:lambda:us-west-2:081040173940:function:ACS-ImageMultiClassMultiLabel 23946 // 23947 // * arn:aws:lambda:eu-west-1:568282634449:function:ACS-ImageMultiClassMultiLabel 23948 // 23949 // * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-ImageMultiClassMultiLabel 23950 // 23951 // * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-ImageMultiClassMultiLabel 23952 // 23953 // * arn:aws:lambda:ap-south-1:565803892007:function:ACS-ImageMultiClassMultiLabel 23954 // 23955 // * arn:aws:lambda:eu-central-1:203001061592:function:ACS-ImageMultiClassMultiLabel 23956 // 23957 // * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-ImageMultiClassMultiLabel 23958 // 23959 // * arn:aws:lambda:eu-west-2:487402164563:function:ACS-ImageMultiClassMultiLabel 23960 // 23961 // * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-ImageMultiClassMultiLabel 23962 // 23963 // * arn:aws:lambda:ca-central-1:918755190332:function:ACS-ImageMultiClassMultiLabel 23964 // 23965 // Semantic segmentation - Treats each pixel in an image as a multi-class classification 23966 // and treats pixel annotations from workers as "votes" for the correct label. 23967 // 23968 // * arn:aws:lambda:us-east-1:432418664414:function:ACS-SemanticSegmentation 23969 // 23970 // * arn:aws:lambda:us-east-2:266458841044:function:ACS-SemanticSegmentation 23971 // 23972 // * arn:aws:lambda:us-west-2:081040173940:function:ACS-SemanticSegmentation 23973 // 23974 // * arn:aws:lambda:eu-west-1:568282634449:function:ACS-SemanticSegmentation 23975 // 23976 // * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-SemanticSegmentation 23977 // 23978 // * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-SemanticSegmentation 23979 // 23980 // * arn:aws:lambda:ap-south-1:565803892007:function:ACS-SemanticSegmentation 23981 // 23982 // * arn:aws:lambda:eu-central-1:203001061592:function:ACS-SemanticSegmentation 23983 // 23984 // * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-SemanticSegmentation 23985 // 23986 // * arn:aws:lambda:eu-west-2:487402164563:function:ACS-SemanticSegmentation 23987 // 23988 // * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-SemanticSegmentation 23989 // 23990 // * arn:aws:lambda:ca-central-1:918755190332:function:ACS-SemanticSegmentation 23991 // 23992 // Text classification - Uses a variant of the Expectation Maximization approach 23993 // to estimate the true class of text based on annotations from individual workers. 23994 // 23995 // * arn:aws:lambda:us-east-1:432418664414:function:ACS-TextMultiClass 23996 // 23997 // * arn:aws:lambda:us-east-2:266458841044:function:ACS-TextMultiClass 23998 // 23999 // * arn:aws:lambda:us-west-2:081040173940:function:ACS-TextMultiClass 24000 // 24001 // * arn:aws:lambda:eu-west-1:568282634449:function:ACS-TextMultiClass 24002 // 24003 // * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-TextMultiClass 24004 // 24005 // * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-TextMultiClass 24006 // 24007 // * arn:aws:lambda:ap-south-1:565803892007:function:ACS-TextMultiClass 24008 // 24009 // * arn:aws:lambda:eu-central-1:203001061592:function:ACS-TextMultiClass 24010 // 24011 // * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-TextMultiClass 24012 // 24013 // * arn:aws:lambda:eu-west-2:487402164563:function:ACS-TextMultiClass 24014 // 24015 // * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-TextMultiClass 24016 // 24017 // * arn:aws:lambda:ca-central-1:918755190332:function:ACS-TextMultiClass 24018 // 24019 // Multi-label text classification - Uses a variant of the Expectation Maximization 24020 // approach to estimate the true classes of text based on annotations from individual 24021 // workers. 24022 // 24023 // * arn:aws:lambda:us-east-1:432418664414:function:ACS-TextMultiClassMultiLabel 24024 // 24025 // * arn:aws:lambda:us-east-2:266458841044:function:ACS-TextMultiClassMultiLabel 24026 // 24027 // * arn:aws:lambda:us-west-2:081040173940:function:ACS-TextMultiClassMultiLabel 24028 // 24029 // * arn:aws:lambda:eu-west-1:568282634449:function:ACS-TextMultiClassMultiLabel 24030 // 24031 // * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-TextMultiClassMultiLabel 24032 // 24033 // * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-TextMultiClassMultiLabel 24034 // 24035 // * arn:aws:lambda:ap-south-1:565803892007:function:ACS-TextMultiClassMultiLabel 24036 // 24037 // * arn:aws:lambda:eu-central-1:203001061592:function:ACS-TextMultiClassMultiLabel 24038 // 24039 // * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-TextMultiClassMultiLabel 24040 // 24041 // * arn:aws:lambda:eu-west-2:487402164563:function:ACS-TextMultiClassMultiLabel 24042 // 24043 // * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-TextMultiClassMultiLabel 24044 // 24045 // * arn:aws:lambda:ca-central-1:918755190332:function:ACS-TextMultiClassMultiLabel 24046 // 24047 // Named entity recognition - Groups similar selections and calculates aggregate 24048 // boundaries, resolving to most-assigned label. 24049 // 24050 // * arn:aws:lambda:us-east-1:432418664414:function:ACS-NamedEntityRecognition 24051 // 24052 // * arn:aws:lambda:us-east-2:266458841044:function:ACS-NamedEntityRecognition 24053 // 24054 // * arn:aws:lambda:us-west-2:081040173940:function:ACS-NamedEntityRecognition 24055 // 24056 // * arn:aws:lambda:eu-west-1:568282634449:function:ACS-NamedEntityRecognition 24057 // 24058 // * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-NamedEntityRecognition 24059 // 24060 // * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-NamedEntityRecognition 24061 // 24062 // * arn:aws:lambda:ap-south-1:565803892007:function:ACS-NamedEntityRecognition 24063 // 24064 // * arn:aws:lambda:eu-central-1:203001061592:function:ACS-NamedEntityRecognition 24065 // 24066 // * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-NamedEntityRecognition 24067 // 24068 // * arn:aws:lambda:eu-west-2:487402164563:function:ACS-NamedEntityRecognition 24069 // 24070 // * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-NamedEntityRecognition 24071 // 24072 // * arn:aws:lambda:ca-central-1:918755190332:function:ACS-NamedEntityRecognition 24073 // 24074 // Video Classification - Use this task type when you need workers to classify 24075 // videos using predefined labels that you specify. Workers are shown videos 24076 // and are asked to choose one label for each video. 24077 // 24078 // * arn:aws:lambda:us-east-1:432418664414:function:ACS-VideoMultiClass 24079 // 24080 // * arn:aws:lambda:us-east-2:266458841044:function:ACS-VideoMultiClass 24081 // 24082 // * arn:aws:lambda:us-west-2:081040173940:function:ACS-VideoMultiClass 24083 // 24084 // * arn:aws:lambda:eu-west-1:568282634449:function:ACS-VideoMultiClass 24085 // 24086 // * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-VideoMultiClass 24087 // 24088 // * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-VideoMultiClass 24089 // 24090 // * arn:aws:lambda:ap-south-1:565803892007:function:ACS-VideoMultiClass 24091 // 24092 // * arn:aws:lambda:eu-central-1:203001061592:function:ACS-VideoMultiClass 24093 // 24094 // * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-VideoMultiClass 24095 // 24096 // * arn:aws:lambda:eu-west-2:487402164563:function:ACS-VideoMultiClass 24097 // 24098 // * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-VideoMultiClass 24099 // 24100 // * arn:aws:lambda:ca-central-1:918755190332:function:ACS-VideoMultiClass 24101 // 24102 // Video Frame Object Detection - Use this task type to have workers identify 24103 // and locate objects in a sequence of video frames (images extracted from a 24104 // video) using bounding boxes. For example, you can use this task to ask workers 24105 // to identify and localize various objects in a series of video frames, such 24106 // as cars, bikes, and pedestrians. 24107 // 24108 // * arn:aws:lambda:us-east-1:432418664414:function:ACS-VideoObjectDetection 24109 // 24110 // * arn:aws:lambda:us-east-2:266458841044:function:ACS-VideoObjectDetection 24111 // 24112 // * arn:aws:lambda:us-west-2:081040173940:function:ACS-VideoObjectDetection 24113 // 24114 // * arn:aws:lambda:eu-west-1:568282634449:function:ACS-VideoObjectDetection 24115 // 24116 // * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-VideoObjectDetection 24117 // 24118 // * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-VideoObjectDetection 24119 // 24120 // * arn:aws:lambda:ap-south-1:565803892007:function:ACS-VideoObjectDetection 24121 // 24122 // * arn:aws:lambda:eu-central-1:203001061592:function:ACS-VideoObjectDetection 24123 // 24124 // * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-VideoObjectDetection 24125 // 24126 // * arn:aws:lambda:eu-west-2:487402164563:function:ACS-VideoObjectDetection 24127 // 24128 // * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-VideoObjectDetection 24129 // 24130 // * arn:aws:lambda:ca-central-1:918755190332:function:ACS-VideoObjectDetection 24131 // 24132 // Video Frame Object Tracking - Use this task type to have workers track the 24133 // movement of objects in a sequence of video frames (images extracted from 24134 // a video) using bounding boxes. For example, you can use this task to ask 24135 // workers to track the movement of objects, such as cars, bikes, and pedestrians. 24136 // 24137 // * arn:aws:lambda:us-east-1:432418664414:function:ACS-VideoObjectTracking 24138 // 24139 // * arn:aws:lambda:us-east-2:266458841044:function:ACS-VideoObjectTracking 24140 // 24141 // * arn:aws:lambda:us-west-2:081040173940:function:ACS-VideoObjectTracking 24142 // 24143 // * arn:aws:lambda:eu-west-1:568282634449:function:ACS-VideoObjectTracking 24144 // 24145 // * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-VideoObjectTracking 24146 // 24147 // * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-VideoObjectTracking 24148 // 24149 // * arn:aws:lambda:ap-south-1:565803892007:function:ACS-VideoObjectTracking 24150 // 24151 // * arn:aws:lambda:eu-central-1:203001061592:function:ACS-VideoObjectTracking 24152 // 24153 // * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-VideoObjectTracking 24154 // 24155 // * arn:aws:lambda:eu-west-2:487402164563:function:ACS-VideoObjectTracking 24156 // 24157 // * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-VideoObjectTracking 24158 // 24159 // * arn:aws:lambda:ca-central-1:918755190332:function:ACS-VideoObjectTracking 24160 // 24161 // 3D Point Cloud Object Detection - Use this task type when you want workers 24162 // to classify objects in a 3D point cloud by drawing 3D cuboids around objects. 24163 // For example, you can use this task type to ask workers to identify different 24164 // types of objects in a point cloud, such as cars, bikes, and pedestrians. 24165 // 24166 // * arn:aws:lambda:us-east-1:432418664414:function:ACS-3DPointCloudObjectDetection 24167 // 24168 // * arn:aws:lambda:us-east-2:266458841044:function:ACS-3DPointCloudObjectDetection 24169 // 24170 // * arn:aws:lambda:us-west-2:081040173940:function:ACS-3DPointCloudObjectDetection 24171 // 24172 // * arn:aws:lambda:eu-west-1:568282634449:function:ACS-3DPointCloudObjectDetection 24173 // 24174 // * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-3DPointCloudObjectDetection 24175 // 24176 // * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-3DPointCloudObjectDetection 24177 // 24178 // * arn:aws:lambda:ap-south-1:565803892007:function:ACS-3DPointCloudObjectDetection 24179 // 24180 // * arn:aws:lambda:eu-central-1:203001061592:function:ACS-3DPointCloudObjectDetection 24181 // 24182 // * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-3DPointCloudObjectDetection 24183 // 24184 // * arn:aws:lambda:eu-west-2:487402164563:function:ACS-3DPointCloudObjectDetection 24185 // 24186 // * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-3DPointCloudObjectDetection 24187 // 24188 // * arn:aws:lambda:ca-central-1:918755190332:function:ACS-3DPointCloudObjectDetection 24189 // 24190 // 3D Point Cloud Object Tracking - Use this task type when you want workers 24191 // to draw 3D cuboids around objects that appear in a sequence of 3D point cloud 24192 // frames. For example, you can use this task type to ask workers to track the 24193 // movement of vehicles across multiple point cloud frames. 24194 // 24195 // * arn:aws:lambda:us-east-1:432418664414:function:ACS-3DPointCloudObjectTracking 24196 // 24197 // * arn:aws:lambda:us-east-2:266458841044:function:ACS-3DPointCloudObjectTracking 24198 // 24199 // * arn:aws:lambda:us-west-2:081040173940:function:ACS-3DPointCloudObjectTracking 24200 // 24201 // * arn:aws:lambda:eu-west-1:568282634449:function:ACS-3DPointCloudObjectTracking 24202 // 24203 // * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-3DPointCloudObjectTracking 24204 // 24205 // * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-3DPointCloudObjectTracking 24206 // 24207 // * arn:aws:lambda:ap-south-1:565803892007:function:ACS-3DPointCloudObjectTracking 24208 // 24209 // * arn:aws:lambda:eu-central-1:203001061592:function:ACS-3DPointCloudObjectTracking 24210 // 24211 // * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-3DPointCloudObjectTracking 24212 // 24213 // * arn:aws:lambda:eu-west-2:487402164563:function:ACS-3DPointCloudObjectTracking 24214 // 24215 // * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-3DPointCloudObjectTracking 24216 // 24217 // * arn:aws:lambda:ca-central-1:918755190332:function:ACS-3DPointCloudObjectTracking 24218 // 24219 // 3D Point Cloud Semantic Segmentation - Use this task type when you want workers 24220 // to create a point-level semantic segmentation masks by painting objects in 24221 // a 3D point cloud using different colors where each color is assigned to one 24222 // of the classes you specify. 24223 // 24224 // * arn:aws:lambda:us-east-1:432418664414:function:ACS-3DPointCloudSemanticSegmentation 24225 // 24226 // * arn:aws:lambda:us-east-2:266458841044:function:ACS-3DPointCloudSemanticSegmentation 24227 // 24228 // * arn:aws:lambda:us-west-2:081040173940:function:ACS-3DPointCloudSemanticSegmentation 24229 // 24230 // * arn:aws:lambda:eu-west-1:568282634449:function:ACS-3DPointCloudSemanticSegmentation 24231 // 24232 // * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-3DPointCloudSemanticSegmentation 24233 // 24234 // * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-3DPointCloudSemanticSegmentation 24235 // 24236 // * arn:aws:lambda:ap-south-1:565803892007:function:ACS-3DPointCloudSemanticSegmentation 24237 // 24238 // * arn:aws:lambda:eu-central-1:203001061592:function:ACS-3DPointCloudSemanticSegmentation 24239 // 24240 // * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-3DPointCloudSemanticSegmentation 24241 // 24242 // * arn:aws:lambda:eu-west-2:487402164563:function:ACS-3DPointCloudSemanticSegmentation 24243 // 24244 // * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-3DPointCloudSemanticSegmentation 24245 // 24246 // * arn:aws:lambda:ca-central-1:918755190332:function:ACS-3DPointCloudSemanticSegmentation 24247 // 24248 // Use the following ARNs for Label Verification and Adjustment Jobs 24249 // 24250 // Use label verification and adjustment jobs to review and adjust labels. To 24251 // learn more, see Verify and Adjust Labels (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-verification-data.html). 24252 // 24253 // Semantic Segmentation Adjustment - Treats each pixel in an image as a multi-class 24254 // classification and treats pixel adjusted annotations from workers as "votes" 24255 // for the correct label. 24256 // 24257 // * arn:aws:lambda:us-east-1:432418664414:function:ACS-AdjustmentSemanticSegmentation 24258 // 24259 // * arn:aws:lambda:us-east-2:266458841044:function:ACS-AdjustmentSemanticSegmentation 24260 // 24261 // * arn:aws:lambda:us-west-2:081040173940:function:ACS-AdjustmentSemanticSegmentation 24262 // 24263 // * arn:aws:lambda:eu-west-1:568282634449:function:ACS-AdjustmentSemanticSegmentation 24264 // 24265 // * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-AdjustmentSemanticSegmentation 24266 // 24267 // * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-AdjustmentSemanticSegmentation 24268 // 24269 // * arn:aws:lambda:ap-south-1:565803892007:function:ACS-AdjustmentSemanticSegmentation 24270 // 24271 // * arn:aws:lambda:eu-central-1:203001061592:function:ACS-AdjustmentSemanticSegmentation 24272 // 24273 // * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-AdjustmentSemanticSegmentation 24274 // 24275 // * arn:aws:lambda:eu-west-2:487402164563:function:ACS-AdjustmentSemanticSegmentation 24276 // 24277 // * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-AdjustmentSemanticSegmentation 24278 // 24279 // * arn:aws:lambda:ca-central-1:918755190332:function:ACS-AdjustmentSemanticSegmentation 24280 // 24281 // Semantic Segmentation Verification - Uses a variant of the Expectation Maximization 24282 // approach to estimate the true class of verification judgment for semantic 24283 // segmentation labels based on annotations from individual workers. 24284 // 24285 // * arn:aws:lambda:us-east-1:432418664414:function:ACS-VerificationSemanticSegmentation 24286 // 24287 // * arn:aws:lambda:us-east-2:266458841044:function:ACS-VerificationSemanticSegmentation 24288 // 24289 // * arn:aws:lambda:us-west-2:081040173940:function:ACS-VerificationSemanticSegmentation 24290 // 24291 // * arn:aws:lambda:eu-west-1:568282634449:function:ACS-VerificationSemanticSegmentation 24292 // 24293 // * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-VerificationSemanticSegmentation 24294 // 24295 // * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-VerificationSemanticSegmentation 24296 // 24297 // * arn:aws:lambda:ap-south-1:565803892007:function:ACS-VerificationSemanticSegmentation 24298 // 24299 // * arn:aws:lambda:eu-central-1:203001061592:function:ACS-VerificationSemanticSegmentation 24300 // 24301 // * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-VerificationSemanticSegmentation 24302 // 24303 // * arn:aws:lambda:eu-west-2:487402164563:function:ACS-VerificationSemanticSegmentation 24304 // 24305 // * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-VerificationSemanticSegmentation 24306 // 24307 // * arn:aws:lambda:ca-central-1:918755190332:function:ACS-VerificationSemanticSegmentation 24308 // 24309 // Bounding Box Adjustment - Finds the most similar boxes from different workers 24310 // based on the Jaccard index of the adjusted annotations. 24311 // 24312 // * arn:aws:lambda:us-east-1:432418664414:function:ACS-AdjustmentBoundingBox 24313 // 24314 // * arn:aws:lambda:us-east-2:266458841044:function:ACS-AdjustmentBoundingBox 24315 // 24316 // * arn:aws:lambda:us-west-2:081040173940:function:ACS-AdjustmentBoundingBox 24317 // 24318 // * arn:aws:lambda:eu-west-1:568282634449:function:ACS-AdjustmentBoundingBox 24319 // 24320 // * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-AdjustmentBoundingBox 24321 // 24322 // * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-AdjustmentBoundingBox 24323 // 24324 // * arn:aws:lambda:ap-south-1:565803892007:function:ACS-AdjustmentBoundingBox 24325 // 24326 // * arn:aws:lambda:eu-central-1:203001061592:function:ACS-AdjustmentBoundingBox 24327 // 24328 // * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-AdjustmentBoundingBox 24329 // 24330 // * arn:aws:lambda:eu-west-2:487402164563:function:ACS-AdjustmentBoundingBox 24331 // 24332 // * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-AdjustmentBoundingBox 24333 // 24334 // * arn:aws:lambda:ca-central-1:918755190332:function:ACS-AdjustmentBoundingBox 24335 // 24336 // Bounding Box Verification - Uses a variant of the Expectation Maximization 24337 // approach to estimate the true class of verification judgement for bounding 24338 // box labels based on annotations from individual workers. 24339 // 24340 // * arn:aws:lambda:us-east-1:432418664414:function:ACS-VerificationBoundingBox 24341 // 24342 // * arn:aws:lambda:us-east-2:266458841044:function:ACS-VerificationBoundingBox 24343 // 24344 // * arn:aws:lambda:us-west-2:081040173940:function:ACS-VerificationBoundingBox 24345 // 24346 // * arn:aws:lambda:eu-west-1:568282634449:function:ACS-VerificationBoundingBox 24347 // 24348 // * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-VerificationBoundingBox 24349 // 24350 // * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-VerificationBoundingBox 24351 // 24352 // * arn:aws:lambda:ap-south-1:565803892007:function:ACS-VerificationBoundingBox 24353 // 24354 // * arn:aws:lambda:eu-central-1:203001061592:function:ACS-VerificationBoundingBox 24355 // 24356 // * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-VerificationBoundingBox 24357 // 24358 // * arn:aws:lambda:eu-west-2:487402164563:function:ACS-VerificationBoundingBox 24359 // 24360 // * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-VerificationBoundingBox 24361 // 24362 // * arn:aws:lambda:ca-central-1:918755190332:function:ACS-VerificationBoundingBox 24363 // 24364 // Video Frame Object Detection Adjustment - Use this task type when you want 24365 // workers to adjust bounding boxes that workers have added to video frames 24366 // to classify and localize objects in a sequence of video frames. 24367 // 24368 // * arn:aws:lambda:us-east-1:432418664414:function:ACS-AdjustmentVideoObjectDetection 24369 // 24370 // * arn:aws:lambda:us-east-2:266458841044:function:ACS-AdjustmentVideoObjectDetection 24371 // 24372 // * arn:aws:lambda:us-west-2:081040173940:function:ACS-AdjustmentVideoObjectDetection 24373 // 24374 // * arn:aws:lambda:eu-west-1:568282634449:function:ACS-AdjustmentVideoObjectDetection 24375 // 24376 // * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-AdjustmentVideoObjectDetection 24377 // 24378 // * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-AdjustmentVideoObjectDetection 24379 // 24380 // * arn:aws:lambda:ap-south-1:565803892007:function:ACS-AdjustmentVideoObjectDetection 24381 // 24382 // * arn:aws:lambda:eu-central-1:203001061592:function:ACS-AdjustmentVideoObjectDetection 24383 // 24384 // * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-AdjustmentVideoObjectDetection 24385 // 24386 // * arn:aws:lambda:eu-west-2:487402164563:function:ACS-AdjustmentVideoObjectDetection 24387 // 24388 // * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-AdjustmentVideoObjectDetection 24389 // 24390 // * arn:aws:lambda:ca-central-1:918755190332:function:ACS-AdjustmentVideoObjectDetection 24391 // 24392 // Video Frame Object Tracking Adjustment - Use this task type when you want 24393 // workers to adjust bounding boxes that workers have added to video frames 24394 // to track object movement across a sequence of video frames. 24395 // 24396 // * arn:aws:lambda:us-east-1:432418664414:function:ACS-AdjustmentVideoObjectTracking 24397 // 24398 // * arn:aws:lambda:us-east-2:266458841044:function:ACS-AdjustmentVideoObjectTracking 24399 // 24400 // * arn:aws:lambda:us-west-2:081040173940:function:ACS-AdjustmentVideoObjectTracking 24401 // 24402 // * arn:aws:lambda:eu-west-1:568282634449:function:ACS-AdjustmentVideoObjectTracking 24403 // 24404 // * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-AdjustmentVideoObjectTracking 24405 // 24406 // * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-AdjustmentVideoObjectTracking 24407 // 24408 // * arn:aws:lambda:ap-south-1:565803892007:function:ACS-AdjustmentVideoObjectTracking 24409 // 24410 // * arn:aws:lambda:eu-central-1:203001061592:function:ACS-AdjustmentVideoObjectTracking 24411 // 24412 // * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-AdjustmentVideoObjectTracking 24413 // 24414 // * arn:aws:lambda:eu-west-2:487402164563:function:ACS-AdjustmentVideoObjectTracking 24415 // 24416 // * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-AdjustmentVideoObjectTracking 24417 // 24418 // * arn:aws:lambda:ca-central-1:918755190332:function:ACS-AdjustmentVideoObjectTracking 24419 // 24420 // 3D Point Cloud Object Detection Adjustment - Use this task type when you 24421 // want workers to adjust 3D cuboids around objects in a 3D point cloud. 24422 // 24423 // * arn:aws:lambda:us-east-1:432418664414:function:ACS-Adjustment3DPointCloudObjectDetection 24424 // 24425 // * arn:aws:lambda:us-east-2:266458841044:function:ACS-Adjustment3DPointCloudObjectDetection 24426 // 24427 // * arn:aws:lambda:us-west-2:081040173940:function:ACS-Adjustment3DPointCloudObjectDetection 24428 // 24429 // * arn:aws:lambda:eu-west-1:568282634449:function:ACS-Adjustment3DPointCloudObjectDetection 24430 // 24431 // * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-Adjustment3DPointCloudObjectDetection 24432 // 24433 // * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-Adjustment3DPointCloudObjectDetection 24434 // 24435 // * arn:aws:lambda:ap-south-1:565803892007:function:ACS-Adjustment3DPointCloudObjectDetection 24436 // 24437 // * arn:aws:lambda:eu-central-1:203001061592:function:ACS-Adjustment3DPointCloudObjectDetection 24438 // 24439 // * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-Adjustment3DPointCloudObjectDetection 24440 // 24441 // * arn:aws:lambda:eu-west-2:487402164563:function:ACS-Adjustment3DPointCloudObjectDetection 24442 // 24443 // * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-Adjustment3DPointCloudObjectDetection 24444 // 24445 // * arn:aws:lambda:ca-central-1:918755190332:function:ACS-Adjustment3DPointCloudObjectDetection 24446 // 24447 // 3D Point Cloud Object Tracking Adjustment - Use this task type when you want 24448 // workers to adjust 3D cuboids around objects that appear in a sequence of 24449 // 3D point cloud frames. 24450 // 24451 // * arn:aws:lambda:us-east-1:432418664414:function:ACS-Adjustment3DPointCloudObjectTracking 24452 // 24453 // * arn:aws:lambda:us-east-2:266458841044:function:ACS-Adjustment3DPointCloudObjectTracking 24454 // 24455 // * arn:aws:lambda:us-west-2:081040173940:function:ACS-Adjustment3DPointCloudObjectTracking 24456 // 24457 // * arn:aws:lambda:eu-west-1:568282634449:function:ACS-Adjustment3DPointCloudObjectTracking 24458 // 24459 // * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-Adjustment3DPointCloudObjectTracking 24460 // 24461 // * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-Adjustment3DPointCloudObjectTracking 24462 // 24463 // * arn:aws:lambda:ap-south-1:565803892007:function:ACS-Adjustment3DPointCloudObjectTracking 24464 // 24465 // * arn:aws:lambda:eu-central-1:203001061592:function:ACS-Adjustment3DPointCloudObjectTracking 24466 // 24467 // * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-Adjustment3DPointCloudObjectTracking 24468 // 24469 // * arn:aws:lambda:eu-west-2:487402164563:function:ACS-Adjustment3DPointCloudObjectTracking 24470 // 24471 // * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-Adjustment3DPointCloudObjectTracking 24472 // 24473 // * arn:aws:lambda:ca-central-1:918755190332:function:ACS-Adjustment3DPointCloudObjectTracking 24474 // 24475 // 3D Point Cloud Semantic Segmentation Adjustment - Use this task type when 24476 // you want workers to adjust a point-level semantic segmentation masks using 24477 // a paint tool. 24478 // 24479 // * arn:aws:lambda:us-east-1:432418664414:function:ACS-3DPointCloudSemanticSegmentation 24480 // 24481 // * arn:aws:lambda:us-east-1:432418664414:function:ACS-Adjustment3DPointCloudSemanticSegmentation 24482 // 24483 // * arn:aws:lambda:us-east-2:266458841044:function:ACS-Adjustment3DPointCloudSemanticSegmentation 24484 // 24485 // * arn:aws:lambda:us-west-2:081040173940:function:ACS-Adjustment3DPointCloudSemanticSegmentation 24486 // 24487 // * arn:aws:lambda:eu-west-1:568282634449:function:ACS-Adjustment3DPointCloudSemanticSegmentation 24488 // 24489 // * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-Adjustment3DPointCloudSemanticSegmentation 24490 // 24491 // * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-Adjustment3DPointCloudSemanticSegmentation 24492 // 24493 // * arn:aws:lambda:ap-south-1:565803892007:function:ACS-Adjustment3DPointCloudSemanticSegmentation 24494 // 24495 // * arn:aws:lambda:eu-central-1:203001061592:function:ACS-Adjustment3DPointCloudSemanticSegmentation 24496 // 24497 // * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-Adjustment3DPointCloudSemanticSegmentation 24498 // 24499 // * arn:aws:lambda:eu-west-2:487402164563:function:ACS-Adjustment3DPointCloudSemanticSegmentation 24500 // 24501 // * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-Adjustment3DPointCloudSemanticSegmentation 24502 // 24503 // * arn:aws:lambda:ca-central-1:918755190332:function:ACS-Adjustment3DPointCloudSemanticSegmentation 24504 // 24505 // AnnotationConsolidationLambdaArn is a required field 24506 AnnotationConsolidationLambdaArn *string `type:"string" required:"true"` 24507 } 24508 24509 // String returns the string representation. 24510 // 24511 // API parameter values that are decorated as "sensitive" in the API will not 24512 // be included in the string output. The member name will be present, but the 24513 // value will be replaced with "sensitive". 24514 func (s AnnotationConsolidationConfig) String() string { 24515 return awsutil.Prettify(s) 24516 } 24517 24518 // GoString returns the string representation. 24519 // 24520 // API parameter values that are decorated as "sensitive" in the API will not 24521 // be included in the string output. The member name will be present, but the 24522 // value will be replaced with "sensitive". 24523 func (s AnnotationConsolidationConfig) GoString() string { 24524 return s.String() 24525 } 24526 24527 // Validate inspects the fields of the type to determine if they are valid. 24528 func (s *AnnotationConsolidationConfig) Validate() error { 24529 invalidParams := request.ErrInvalidParams{Context: "AnnotationConsolidationConfig"} 24530 if s.AnnotationConsolidationLambdaArn == nil { 24531 invalidParams.Add(request.NewErrParamRequired("AnnotationConsolidationLambdaArn")) 24532 } 24533 24534 if invalidParams.Len() > 0 { 24535 return invalidParams 24536 } 24537 return nil 24538 } 24539 24540 // SetAnnotationConsolidationLambdaArn sets the AnnotationConsolidationLambdaArn field's value. 24541 func (s *AnnotationConsolidationConfig) SetAnnotationConsolidationLambdaArn(v string) *AnnotationConsolidationConfig { 24542 s.AnnotationConsolidationLambdaArn = &v 24543 return s 24544 } 24545 24546 // Details about an Amazon SageMaker app. 24547 type AppDetails struct { 24548 _ struct{} `type:"structure"` 24549 24550 // The name of the app. 24551 AppName *string `type:"string"` 24552 24553 // The type of app. 24554 AppType *string `type:"string" enum:"AppType"` 24555 24556 // The creation time. 24557 CreationTime *time.Time `type:"timestamp"` 24558 24559 // The domain ID. 24560 DomainId *string `type:"string"` 24561 24562 // The status. 24563 Status *string `type:"string" enum:"AppStatus"` 24564 24565 // The user profile name. 24566 UserProfileName *string `type:"string"` 24567 } 24568 24569 // String returns the string representation. 24570 // 24571 // API parameter values that are decorated as "sensitive" in the API will not 24572 // be included in the string output. The member name will be present, but the 24573 // value will be replaced with "sensitive". 24574 func (s AppDetails) String() string { 24575 return awsutil.Prettify(s) 24576 } 24577 24578 // GoString returns the string representation. 24579 // 24580 // API parameter values that are decorated as "sensitive" in the API will not 24581 // be included in the string output. The member name will be present, but the 24582 // value will be replaced with "sensitive". 24583 func (s AppDetails) GoString() string { 24584 return s.String() 24585 } 24586 24587 // SetAppName sets the AppName field's value. 24588 func (s *AppDetails) SetAppName(v string) *AppDetails { 24589 s.AppName = &v 24590 return s 24591 } 24592 24593 // SetAppType sets the AppType field's value. 24594 func (s *AppDetails) SetAppType(v string) *AppDetails { 24595 s.AppType = &v 24596 return s 24597 } 24598 24599 // SetCreationTime sets the CreationTime field's value. 24600 func (s *AppDetails) SetCreationTime(v time.Time) *AppDetails { 24601 s.CreationTime = &v 24602 return s 24603 } 24604 24605 // SetDomainId sets the DomainId field's value. 24606 func (s *AppDetails) SetDomainId(v string) *AppDetails { 24607 s.DomainId = &v 24608 return s 24609 } 24610 24611 // SetStatus sets the Status field's value. 24612 func (s *AppDetails) SetStatus(v string) *AppDetails { 24613 s.Status = &v 24614 return s 24615 } 24616 24617 // SetUserProfileName sets the UserProfileName field's value. 24618 func (s *AppDetails) SetUserProfileName(v string) *AppDetails { 24619 s.UserProfileName = &v 24620 return s 24621 } 24622 24623 // The configuration for running a SageMaker image as a KernelGateway app. 24624 type AppImageConfigDetails struct { 24625 _ struct{} `type:"structure"` 24626 24627 // The Amazon Resource Name (ARN) of the AppImageConfig. 24628 AppImageConfigArn *string `type:"string"` 24629 24630 // The name of the AppImageConfig. Must be unique to your account. 24631 AppImageConfigName *string `type:"string"` 24632 24633 // When the AppImageConfig was created. 24634 CreationTime *time.Time `type:"timestamp"` 24635 24636 // The configuration for the file system and kernels in the SageMaker image. 24637 KernelGatewayImageConfig *KernelGatewayImageConfig `type:"structure"` 24638 24639 // When the AppImageConfig was last modified. 24640 LastModifiedTime *time.Time `type:"timestamp"` 24641 } 24642 24643 // String returns the string representation. 24644 // 24645 // API parameter values that are decorated as "sensitive" in the API will not 24646 // be included in the string output. The member name will be present, but the 24647 // value will be replaced with "sensitive". 24648 func (s AppImageConfigDetails) String() string { 24649 return awsutil.Prettify(s) 24650 } 24651 24652 // GoString returns the string representation. 24653 // 24654 // API parameter values that are decorated as "sensitive" in the API will not 24655 // be included in the string output. The member name will be present, but the 24656 // value will be replaced with "sensitive". 24657 func (s AppImageConfigDetails) GoString() string { 24658 return s.String() 24659 } 24660 24661 // SetAppImageConfigArn sets the AppImageConfigArn field's value. 24662 func (s *AppImageConfigDetails) SetAppImageConfigArn(v string) *AppImageConfigDetails { 24663 s.AppImageConfigArn = &v 24664 return s 24665 } 24666 24667 // SetAppImageConfigName sets the AppImageConfigName field's value. 24668 func (s *AppImageConfigDetails) SetAppImageConfigName(v string) *AppImageConfigDetails { 24669 s.AppImageConfigName = &v 24670 return s 24671 } 24672 24673 // SetCreationTime sets the CreationTime field's value. 24674 func (s *AppImageConfigDetails) SetCreationTime(v time.Time) *AppImageConfigDetails { 24675 s.CreationTime = &v 24676 return s 24677 } 24678 24679 // SetKernelGatewayImageConfig sets the KernelGatewayImageConfig field's value. 24680 func (s *AppImageConfigDetails) SetKernelGatewayImageConfig(v *KernelGatewayImageConfig) *AppImageConfigDetails { 24681 s.KernelGatewayImageConfig = v 24682 return s 24683 } 24684 24685 // SetLastModifiedTime sets the LastModifiedTime field's value. 24686 func (s *AppImageConfigDetails) SetLastModifiedTime(v time.Time) *AppImageConfigDetails { 24687 s.LastModifiedTime = &v 24688 return s 24689 } 24690 24691 // Configuration to run a processing job in a specified container image. 24692 type AppSpecification struct { 24693 _ struct{} `type:"structure"` 24694 24695 // The arguments for a container used to run a processing job. 24696 ContainerArguments []*string `min:"1" type:"list"` 24697 24698 // The entrypoint for a container used to run a processing job. 24699 ContainerEntrypoint []*string `min:"1" type:"list"` 24700 24701 // The container image to be run by the processing job. 24702 // 24703 // ImageUri is a required field 24704 ImageUri *string `type:"string" required:"true"` 24705 } 24706 24707 // String returns the string representation. 24708 // 24709 // API parameter values that are decorated as "sensitive" in the API will not 24710 // be included in the string output. The member name will be present, but the 24711 // value will be replaced with "sensitive". 24712 func (s AppSpecification) String() string { 24713 return awsutil.Prettify(s) 24714 } 24715 24716 // GoString returns the string representation. 24717 // 24718 // API parameter values that are decorated as "sensitive" in the API will not 24719 // be included in the string output. The member name will be present, but the 24720 // value will be replaced with "sensitive". 24721 func (s AppSpecification) GoString() string { 24722 return s.String() 24723 } 24724 24725 // Validate inspects the fields of the type to determine if they are valid. 24726 func (s *AppSpecification) Validate() error { 24727 invalidParams := request.ErrInvalidParams{Context: "AppSpecification"} 24728 if s.ContainerArguments != nil && len(s.ContainerArguments) < 1 { 24729 invalidParams.Add(request.NewErrParamMinLen("ContainerArguments", 1)) 24730 } 24731 if s.ContainerEntrypoint != nil && len(s.ContainerEntrypoint) < 1 { 24732 invalidParams.Add(request.NewErrParamMinLen("ContainerEntrypoint", 1)) 24733 } 24734 if s.ImageUri == nil { 24735 invalidParams.Add(request.NewErrParamRequired("ImageUri")) 24736 } 24737 24738 if invalidParams.Len() > 0 { 24739 return invalidParams 24740 } 24741 return nil 24742 } 24743 24744 // SetContainerArguments sets the ContainerArguments field's value. 24745 func (s *AppSpecification) SetContainerArguments(v []*string) *AppSpecification { 24746 s.ContainerArguments = v 24747 return s 24748 } 24749 24750 // SetContainerEntrypoint sets the ContainerEntrypoint field's value. 24751 func (s *AppSpecification) SetContainerEntrypoint(v []*string) *AppSpecification { 24752 s.ContainerEntrypoint = v 24753 return s 24754 } 24755 24756 // SetImageUri sets the ImageUri field's value. 24757 func (s *AppSpecification) SetImageUri(v string) *AppSpecification { 24758 s.ImageUri = &v 24759 return s 24760 } 24761 24762 // A structure describing the source of an artifact. 24763 type ArtifactSource struct { 24764 _ struct{} `type:"structure"` 24765 24766 // A list of source types. 24767 SourceTypes []*ArtifactSourceType `type:"list"` 24768 24769 // The URI of the source. 24770 // 24771 // SourceUri is a required field 24772 SourceUri *string `type:"string" required:"true"` 24773 } 24774 24775 // String returns the string representation. 24776 // 24777 // API parameter values that are decorated as "sensitive" in the API will not 24778 // be included in the string output. The member name will be present, but the 24779 // value will be replaced with "sensitive". 24780 func (s ArtifactSource) String() string { 24781 return awsutil.Prettify(s) 24782 } 24783 24784 // GoString returns the string representation. 24785 // 24786 // API parameter values that are decorated as "sensitive" in the API will not 24787 // be included in the string output. The member name will be present, but the 24788 // value will be replaced with "sensitive". 24789 func (s ArtifactSource) GoString() string { 24790 return s.String() 24791 } 24792 24793 // Validate inspects the fields of the type to determine if they are valid. 24794 func (s *ArtifactSource) Validate() error { 24795 invalidParams := request.ErrInvalidParams{Context: "ArtifactSource"} 24796 if s.SourceUri == nil { 24797 invalidParams.Add(request.NewErrParamRequired("SourceUri")) 24798 } 24799 if s.SourceTypes != nil { 24800 for i, v := range s.SourceTypes { 24801 if v == nil { 24802 continue 24803 } 24804 if err := v.Validate(); err != nil { 24805 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SourceTypes", i), err.(request.ErrInvalidParams)) 24806 } 24807 } 24808 } 24809 24810 if invalidParams.Len() > 0 { 24811 return invalidParams 24812 } 24813 return nil 24814 } 24815 24816 // SetSourceTypes sets the SourceTypes field's value. 24817 func (s *ArtifactSource) SetSourceTypes(v []*ArtifactSourceType) *ArtifactSource { 24818 s.SourceTypes = v 24819 return s 24820 } 24821 24822 // SetSourceUri sets the SourceUri field's value. 24823 func (s *ArtifactSource) SetSourceUri(v string) *ArtifactSource { 24824 s.SourceUri = &v 24825 return s 24826 } 24827 24828 // The ID and ID type of an artifact source. 24829 type ArtifactSourceType struct { 24830 _ struct{} `type:"structure"` 24831 24832 // The type of ID. 24833 // 24834 // SourceIdType is a required field 24835 SourceIdType *string `type:"string" required:"true" enum:"ArtifactSourceIdType"` 24836 24837 // The ID. 24838 // 24839 // Value is a required field 24840 Value *string `type:"string" required:"true"` 24841 } 24842 24843 // String returns the string representation. 24844 // 24845 // API parameter values that are decorated as "sensitive" in the API will not 24846 // be included in the string output. The member name will be present, but the 24847 // value will be replaced with "sensitive". 24848 func (s ArtifactSourceType) String() string { 24849 return awsutil.Prettify(s) 24850 } 24851 24852 // GoString returns the string representation. 24853 // 24854 // API parameter values that are decorated as "sensitive" in the API will not 24855 // be included in the string output. The member name will be present, but the 24856 // value will be replaced with "sensitive". 24857 func (s ArtifactSourceType) GoString() string { 24858 return s.String() 24859 } 24860 24861 // Validate inspects the fields of the type to determine if they are valid. 24862 func (s *ArtifactSourceType) Validate() error { 24863 invalidParams := request.ErrInvalidParams{Context: "ArtifactSourceType"} 24864 if s.SourceIdType == nil { 24865 invalidParams.Add(request.NewErrParamRequired("SourceIdType")) 24866 } 24867 if s.Value == nil { 24868 invalidParams.Add(request.NewErrParamRequired("Value")) 24869 } 24870 24871 if invalidParams.Len() > 0 { 24872 return invalidParams 24873 } 24874 return nil 24875 } 24876 24877 // SetSourceIdType sets the SourceIdType field's value. 24878 func (s *ArtifactSourceType) SetSourceIdType(v string) *ArtifactSourceType { 24879 s.SourceIdType = &v 24880 return s 24881 } 24882 24883 // SetValue sets the Value field's value. 24884 func (s *ArtifactSourceType) SetValue(v string) *ArtifactSourceType { 24885 s.Value = &v 24886 return s 24887 } 24888 24889 // Lists a summary of the properties of an artifact. An artifact represents 24890 // a URI addressable object or data. Some examples are a dataset and a model. 24891 type ArtifactSummary struct { 24892 _ struct{} `type:"structure"` 24893 24894 // The Amazon Resource Name (ARN) of the artifact. 24895 ArtifactArn *string `type:"string"` 24896 24897 // The name of the artifact. 24898 ArtifactName *string `min:"1" type:"string"` 24899 24900 // The type of the artifact. 24901 ArtifactType *string `type:"string"` 24902 24903 // When the artifact was created. 24904 CreationTime *time.Time `type:"timestamp"` 24905 24906 // When the artifact was last modified. 24907 LastModifiedTime *time.Time `type:"timestamp"` 24908 24909 // The source of the artifact. 24910 Source *ArtifactSource `type:"structure"` 24911 } 24912 24913 // String returns the string representation. 24914 // 24915 // API parameter values that are decorated as "sensitive" in the API will not 24916 // be included in the string output. The member name will be present, but the 24917 // value will be replaced with "sensitive". 24918 func (s ArtifactSummary) String() string { 24919 return awsutil.Prettify(s) 24920 } 24921 24922 // GoString returns the string representation. 24923 // 24924 // API parameter values that are decorated as "sensitive" in the API will not 24925 // be included in the string output. The member name will be present, but the 24926 // value will be replaced with "sensitive". 24927 func (s ArtifactSummary) GoString() string { 24928 return s.String() 24929 } 24930 24931 // SetArtifactArn sets the ArtifactArn field's value. 24932 func (s *ArtifactSummary) SetArtifactArn(v string) *ArtifactSummary { 24933 s.ArtifactArn = &v 24934 return s 24935 } 24936 24937 // SetArtifactName sets the ArtifactName field's value. 24938 func (s *ArtifactSummary) SetArtifactName(v string) *ArtifactSummary { 24939 s.ArtifactName = &v 24940 return s 24941 } 24942 24943 // SetArtifactType sets the ArtifactType field's value. 24944 func (s *ArtifactSummary) SetArtifactType(v string) *ArtifactSummary { 24945 s.ArtifactType = &v 24946 return s 24947 } 24948 24949 // SetCreationTime sets the CreationTime field's value. 24950 func (s *ArtifactSummary) SetCreationTime(v time.Time) *ArtifactSummary { 24951 s.CreationTime = &v 24952 return s 24953 } 24954 24955 // SetLastModifiedTime sets the LastModifiedTime field's value. 24956 func (s *ArtifactSummary) SetLastModifiedTime(v time.Time) *ArtifactSummary { 24957 s.LastModifiedTime = &v 24958 return s 24959 } 24960 24961 // SetSource sets the Source field's value. 24962 func (s *ArtifactSummary) SetSource(v *ArtifactSource) *ArtifactSummary { 24963 s.Source = v 24964 return s 24965 } 24966 24967 type AssociateTrialComponentInput struct { 24968 _ struct{} `type:"structure"` 24969 24970 // The name of the component to associated with the trial. 24971 // 24972 // TrialComponentName is a required field 24973 TrialComponentName *string `min:"1" type:"string" required:"true"` 24974 24975 // The name of the trial to associate with. 24976 // 24977 // TrialName is a required field 24978 TrialName *string `min:"1" type:"string" required:"true"` 24979 } 24980 24981 // String returns the string representation. 24982 // 24983 // API parameter values that are decorated as "sensitive" in the API will not 24984 // be included in the string output. The member name will be present, but the 24985 // value will be replaced with "sensitive". 24986 func (s AssociateTrialComponentInput) String() string { 24987 return awsutil.Prettify(s) 24988 } 24989 24990 // GoString returns the string representation. 24991 // 24992 // API parameter values that are decorated as "sensitive" in the API will not 24993 // be included in the string output. The member name will be present, but the 24994 // value will be replaced with "sensitive". 24995 func (s AssociateTrialComponentInput) GoString() string { 24996 return s.String() 24997 } 24998 24999 // Validate inspects the fields of the type to determine if they are valid. 25000 func (s *AssociateTrialComponentInput) Validate() error { 25001 invalidParams := request.ErrInvalidParams{Context: "AssociateTrialComponentInput"} 25002 if s.TrialComponentName == nil { 25003 invalidParams.Add(request.NewErrParamRequired("TrialComponentName")) 25004 } 25005 if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 { 25006 invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1)) 25007 } 25008 if s.TrialName == nil { 25009 invalidParams.Add(request.NewErrParamRequired("TrialName")) 25010 } 25011 if s.TrialName != nil && len(*s.TrialName) < 1 { 25012 invalidParams.Add(request.NewErrParamMinLen("TrialName", 1)) 25013 } 25014 25015 if invalidParams.Len() > 0 { 25016 return invalidParams 25017 } 25018 return nil 25019 } 25020 25021 // SetTrialComponentName sets the TrialComponentName field's value. 25022 func (s *AssociateTrialComponentInput) SetTrialComponentName(v string) *AssociateTrialComponentInput { 25023 s.TrialComponentName = &v 25024 return s 25025 } 25026 25027 // SetTrialName sets the TrialName field's value. 25028 func (s *AssociateTrialComponentInput) SetTrialName(v string) *AssociateTrialComponentInput { 25029 s.TrialName = &v 25030 return s 25031 } 25032 25033 type AssociateTrialComponentOutput struct { 25034 _ struct{} `type:"structure"` 25035 25036 // The Amazon Resource Name (ARN) of the trial. 25037 TrialArn *string `type:"string"` 25038 25039 // The ARN of the trial component. 25040 TrialComponentArn *string `type:"string"` 25041 } 25042 25043 // String returns the string representation. 25044 // 25045 // API parameter values that are decorated as "sensitive" in the API will not 25046 // be included in the string output. The member name will be present, but the 25047 // value will be replaced with "sensitive". 25048 func (s AssociateTrialComponentOutput) String() string { 25049 return awsutil.Prettify(s) 25050 } 25051 25052 // GoString returns the string representation. 25053 // 25054 // API parameter values that are decorated as "sensitive" in the API will not 25055 // be included in the string output. The member name will be present, but the 25056 // value will be replaced with "sensitive". 25057 func (s AssociateTrialComponentOutput) GoString() string { 25058 return s.String() 25059 } 25060 25061 // SetTrialArn sets the TrialArn field's value. 25062 func (s *AssociateTrialComponentOutput) SetTrialArn(v string) *AssociateTrialComponentOutput { 25063 s.TrialArn = &v 25064 return s 25065 } 25066 25067 // SetTrialComponentArn sets the TrialComponentArn field's value. 25068 func (s *AssociateTrialComponentOutput) SetTrialComponentArn(v string) *AssociateTrialComponentOutput { 25069 s.TrialComponentArn = &v 25070 return s 25071 } 25072 25073 // Lists a summary of the properties of an association. An association is an 25074 // entity that links other lineage or experiment entities. An example would 25075 // be an association between a training job and a model. 25076 type AssociationSummary struct { 25077 _ struct{} `type:"structure"` 25078 25079 // The type of the association. 25080 AssociationType *string `type:"string" enum:"AssociationEdgeType"` 25081 25082 // Information about the user who created or modified an experiment, trial, 25083 // trial component, or project. 25084 CreatedBy *UserContext `type:"structure"` 25085 25086 // When the association was created. 25087 CreationTime *time.Time `type:"timestamp"` 25088 25089 // The Amazon Resource Name (ARN) of the destination. 25090 DestinationArn *string `type:"string"` 25091 25092 // The name of the destination. 25093 DestinationName *string `min:"1" type:"string"` 25094 25095 // The destination type. 25096 DestinationType *string `type:"string"` 25097 25098 // The ARN of the source. 25099 SourceArn *string `type:"string"` 25100 25101 // The name of the source. 25102 SourceName *string `min:"1" type:"string"` 25103 25104 // The source type. 25105 SourceType *string `type:"string"` 25106 } 25107 25108 // String returns the string representation. 25109 // 25110 // API parameter values that are decorated as "sensitive" in the API will not 25111 // be included in the string output. The member name will be present, but the 25112 // value will be replaced with "sensitive". 25113 func (s AssociationSummary) String() string { 25114 return awsutil.Prettify(s) 25115 } 25116 25117 // GoString returns the string representation. 25118 // 25119 // API parameter values that are decorated as "sensitive" in the API will not 25120 // be included in the string output. The member name will be present, but the 25121 // value will be replaced with "sensitive". 25122 func (s AssociationSummary) GoString() string { 25123 return s.String() 25124 } 25125 25126 // SetAssociationType sets the AssociationType field's value. 25127 func (s *AssociationSummary) SetAssociationType(v string) *AssociationSummary { 25128 s.AssociationType = &v 25129 return s 25130 } 25131 25132 // SetCreatedBy sets the CreatedBy field's value. 25133 func (s *AssociationSummary) SetCreatedBy(v *UserContext) *AssociationSummary { 25134 s.CreatedBy = v 25135 return s 25136 } 25137 25138 // SetCreationTime sets the CreationTime field's value. 25139 func (s *AssociationSummary) SetCreationTime(v time.Time) *AssociationSummary { 25140 s.CreationTime = &v 25141 return s 25142 } 25143 25144 // SetDestinationArn sets the DestinationArn field's value. 25145 func (s *AssociationSummary) SetDestinationArn(v string) *AssociationSummary { 25146 s.DestinationArn = &v 25147 return s 25148 } 25149 25150 // SetDestinationName sets the DestinationName field's value. 25151 func (s *AssociationSummary) SetDestinationName(v string) *AssociationSummary { 25152 s.DestinationName = &v 25153 return s 25154 } 25155 25156 // SetDestinationType sets the DestinationType field's value. 25157 func (s *AssociationSummary) SetDestinationType(v string) *AssociationSummary { 25158 s.DestinationType = &v 25159 return s 25160 } 25161 25162 // SetSourceArn sets the SourceArn field's value. 25163 func (s *AssociationSummary) SetSourceArn(v string) *AssociationSummary { 25164 s.SourceArn = &v 25165 return s 25166 } 25167 25168 // SetSourceName sets the SourceName field's value. 25169 func (s *AssociationSummary) SetSourceName(v string) *AssociationSummary { 25170 s.SourceName = &v 25171 return s 25172 } 25173 25174 // SetSourceType sets the SourceType field's value. 25175 func (s *AssociationSummary) SetSourceType(v string) *AssociationSummary { 25176 s.SourceType = &v 25177 return s 25178 } 25179 25180 // Configures the behavior of the client used by Amazon SageMaker to interact 25181 // with the model container during asynchronous inference. 25182 type AsyncInferenceClientConfig struct { 25183 _ struct{} `type:"structure"` 25184 25185 // The maximum number of concurrent requests sent by the SageMaker client to 25186 // the model container. If no value is provided, Amazon SageMaker will choose 25187 // an optimal value for you. 25188 MaxConcurrentInvocationsPerInstance *int64 `min:"1" type:"integer"` 25189 } 25190 25191 // String returns the string representation. 25192 // 25193 // API parameter values that are decorated as "sensitive" in the API will not 25194 // be included in the string output. The member name will be present, but the 25195 // value will be replaced with "sensitive". 25196 func (s AsyncInferenceClientConfig) String() string { 25197 return awsutil.Prettify(s) 25198 } 25199 25200 // GoString returns the string representation. 25201 // 25202 // API parameter values that are decorated as "sensitive" in the API will not 25203 // be included in the string output. The member name will be present, but the 25204 // value will be replaced with "sensitive". 25205 func (s AsyncInferenceClientConfig) GoString() string { 25206 return s.String() 25207 } 25208 25209 // Validate inspects the fields of the type to determine if they are valid. 25210 func (s *AsyncInferenceClientConfig) Validate() error { 25211 invalidParams := request.ErrInvalidParams{Context: "AsyncInferenceClientConfig"} 25212 if s.MaxConcurrentInvocationsPerInstance != nil && *s.MaxConcurrentInvocationsPerInstance < 1 { 25213 invalidParams.Add(request.NewErrParamMinValue("MaxConcurrentInvocationsPerInstance", 1)) 25214 } 25215 25216 if invalidParams.Len() > 0 { 25217 return invalidParams 25218 } 25219 return nil 25220 } 25221 25222 // SetMaxConcurrentInvocationsPerInstance sets the MaxConcurrentInvocationsPerInstance field's value. 25223 func (s *AsyncInferenceClientConfig) SetMaxConcurrentInvocationsPerInstance(v int64) *AsyncInferenceClientConfig { 25224 s.MaxConcurrentInvocationsPerInstance = &v 25225 return s 25226 } 25227 25228 // Specifies configuration for how an endpoint performs asynchronous inference. 25229 type AsyncInferenceConfig struct { 25230 _ struct{} `type:"structure"` 25231 25232 // Configures the behavior of the client used by Amazon SageMaker to interact 25233 // with the model container during asynchronous inference. 25234 ClientConfig *AsyncInferenceClientConfig `type:"structure"` 25235 25236 // Specifies the configuration for asynchronous inference invocation outputs. 25237 // 25238 // OutputConfig is a required field 25239 OutputConfig *AsyncInferenceOutputConfig `type:"structure" required:"true"` 25240 } 25241 25242 // String returns the string representation. 25243 // 25244 // API parameter values that are decorated as "sensitive" in the API will not 25245 // be included in the string output. The member name will be present, but the 25246 // value will be replaced with "sensitive". 25247 func (s AsyncInferenceConfig) String() string { 25248 return awsutil.Prettify(s) 25249 } 25250 25251 // GoString returns the string representation. 25252 // 25253 // API parameter values that are decorated as "sensitive" in the API will not 25254 // be included in the string output. The member name will be present, but the 25255 // value will be replaced with "sensitive". 25256 func (s AsyncInferenceConfig) GoString() string { 25257 return s.String() 25258 } 25259 25260 // Validate inspects the fields of the type to determine if they are valid. 25261 func (s *AsyncInferenceConfig) Validate() error { 25262 invalidParams := request.ErrInvalidParams{Context: "AsyncInferenceConfig"} 25263 if s.OutputConfig == nil { 25264 invalidParams.Add(request.NewErrParamRequired("OutputConfig")) 25265 } 25266 if s.ClientConfig != nil { 25267 if err := s.ClientConfig.Validate(); err != nil { 25268 invalidParams.AddNested("ClientConfig", err.(request.ErrInvalidParams)) 25269 } 25270 } 25271 if s.OutputConfig != nil { 25272 if err := s.OutputConfig.Validate(); err != nil { 25273 invalidParams.AddNested("OutputConfig", err.(request.ErrInvalidParams)) 25274 } 25275 } 25276 25277 if invalidParams.Len() > 0 { 25278 return invalidParams 25279 } 25280 return nil 25281 } 25282 25283 // SetClientConfig sets the ClientConfig field's value. 25284 func (s *AsyncInferenceConfig) SetClientConfig(v *AsyncInferenceClientConfig) *AsyncInferenceConfig { 25285 s.ClientConfig = v 25286 return s 25287 } 25288 25289 // SetOutputConfig sets the OutputConfig field's value. 25290 func (s *AsyncInferenceConfig) SetOutputConfig(v *AsyncInferenceOutputConfig) *AsyncInferenceConfig { 25291 s.OutputConfig = v 25292 return s 25293 } 25294 25295 // Specifies the configuration for notifications of inference results for asynchronous 25296 // inference. 25297 type AsyncInferenceNotificationConfig struct { 25298 _ struct{} `type:"structure"` 25299 25300 // Amazon SNS topic to post a notification to when inference fails. If no topic 25301 // is provided, no notification is sent on failure. 25302 ErrorTopic *string `type:"string"` 25303 25304 // Amazon SNS topic to post a notification to when inference completes successfully. 25305 // If no topic is provided, no notification is sent on success. 25306 SuccessTopic *string `type:"string"` 25307 } 25308 25309 // String returns the string representation. 25310 // 25311 // API parameter values that are decorated as "sensitive" in the API will not 25312 // be included in the string output. The member name will be present, but the 25313 // value will be replaced with "sensitive". 25314 func (s AsyncInferenceNotificationConfig) String() string { 25315 return awsutil.Prettify(s) 25316 } 25317 25318 // GoString returns the string representation. 25319 // 25320 // API parameter values that are decorated as "sensitive" in the API will not 25321 // be included in the string output. The member name will be present, but the 25322 // value will be replaced with "sensitive". 25323 func (s AsyncInferenceNotificationConfig) GoString() string { 25324 return s.String() 25325 } 25326 25327 // SetErrorTopic sets the ErrorTopic field's value. 25328 func (s *AsyncInferenceNotificationConfig) SetErrorTopic(v string) *AsyncInferenceNotificationConfig { 25329 s.ErrorTopic = &v 25330 return s 25331 } 25332 25333 // SetSuccessTopic sets the SuccessTopic field's value. 25334 func (s *AsyncInferenceNotificationConfig) SetSuccessTopic(v string) *AsyncInferenceNotificationConfig { 25335 s.SuccessTopic = &v 25336 return s 25337 } 25338 25339 // Specifies the configuration for asynchronous inference invocation outputs. 25340 type AsyncInferenceOutputConfig struct { 25341 _ struct{} `type:"structure"` 25342 25343 // The Amazon Web Services Key Management Service (Amazon Web Services KMS) 25344 // key that Amazon SageMaker uses to encrypt the asynchronous inference output 25345 // in Amazon S3. 25346 KmsKeyId *string `type:"string"` 25347 25348 // Specifies the configuration for notifications of inference results for asynchronous 25349 // inference. 25350 NotificationConfig *AsyncInferenceNotificationConfig `type:"structure"` 25351 25352 // The Amazon S3 location to upload inference responses to. 25353 // 25354 // S3OutputPath is a required field 25355 S3OutputPath *string `type:"string" required:"true"` 25356 } 25357 25358 // String returns the string representation. 25359 // 25360 // API parameter values that are decorated as "sensitive" in the API will not 25361 // be included in the string output. The member name will be present, but the 25362 // value will be replaced with "sensitive". 25363 func (s AsyncInferenceOutputConfig) String() string { 25364 return awsutil.Prettify(s) 25365 } 25366 25367 // GoString returns the string representation. 25368 // 25369 // API parameter values that are decorated as "sensitive" in the API will not 25370 // be included in the string output. The member name will be present, but the 25371 // value will be replaced with "sensitive". 25372 func (s AsyncInferenceOutputConfig) GoString() string { 25373 return s.String() 25374 } 25375 25376 // Validate inspects the fields of the type to determine if they are valid. 25377 func (s *AsyncInferenceOutputConfig) Validate() error { 25378 invalidParams := request.ErrInvalidParams{Context: "AsyncInferenceOutputConfig"} 25379 if s.S3OutputPath == nil { 25380 invalidParams.Add(request.NewErrParamRequired("S3OutputPath")) 25381 } 25382 25383 if invalidParams.Len() > 0 { 25384 return invalidParams 25385 } 25386 return nil 25387 } 25388 25389 // SetKmsKeyId sets the KmsKeyId field's value. 25390 func (s *AsyncInferenceOutputConfig) SetKmsKeyId(v string) *AsyncInferenceOutputConfig { 25391 s.KmsKeyId = &v 25392 return s 25393 } 25394 25395 // SetNotificationConfig sets the NotificationConfig field's value. 25396 func (s *AsyncInferenceOutputConfig) SetNotificationConfig(v *AsyncInferenceNotificationConfig) *AsyncInferenceOutputConfig { 25397 s.NotificationConfig = v 25398 return s 25399 } 25400 25401 // SetS3OutputPath sets the S3OutputPath field's value. 25402 func (s *AsyncInferenceOutputConfig) SetS3OutputPath(v string) *AsyncInferenceOutputConfig { 25403 s.S3OutputPath = &v 25404 return s 25405 } 25406 25407 // Configuration for Athena Dataset Definition input. 25408 type AthenaDatasetDefinition struct { 25409 _ struct{} `type:"structure"` 25410 25411 // The name of the data catalog used in Athena query execution. 25412 // 25413 // Catalog is a required field 25414 Catalog *string `min:"1" type:"string" required:"true"` 25415 25416 // The name of the database used in the Athena query execution. 25417 // 25418 // Database is a required field 25419 Database *string `min:"1" type:"string" required:"true"` 25420 25421 // The Amazon Web Services Key Management Service (Amazon Web Services KMS) 25422 // key that Amazon SageMaker uses to encrypt data generated from an Athena query 25423 // execution. 25424 KmsKeyId *string `type:"string"` 25425 25426 // The compression used for Athena query results. 25427 OutputCompression *string `type:"string" enum:"AthenaResultCompressionType"` 25428 25429 // The data storage format for Athena query results. 25430 // 25431 // OutputFormat is a required field 25432 OutputFormat *string `type:"string" required:"true" enum:"AthenaResultFormat"` 25433 25434 // The location in Amazon S3 where Athena query results are stored. 25435 // 25436 // OutputS3Uri is a required field 25437 OutputS3Uri *string `type:"string" required:"true"` 25438 25439 // The SQL query statements, to be executed. 25440 // 25441 // QueryString is a required field 25442 QueryString *string `min:"1" type:"string" required:"true"` 25443 25444 // The name of the workgroup in which the Athena query is being started. 25445 WorkGroup *string `min:"1" type:"string"` 25446 } 25447 25448 // String returns the string representation. 25449 // 25450 // API parameter values that are decorated as "sensitive" in the API will not 25451 // be included in the string output. The member name will be present, but the 25452 // value will be replaced with "sensitive". 25453 func (s AthenaDatasetDefinition) String() string { 25454 return awsutil.Prettify(s) 25455 } 25456 25457 // GoString returns the string representation. 25458 // 25459 // API parameter values that are decorated as "sensitive" in the API will not 25460 // be included in the string output. The member name will be present, but the 25461 // value will be replaced with "sensitive". 25462 func (s AthenaDatasetDefinition) GoString() string { 25463 return s.String() 25464 } 25465 25466 // Validate inspects the fields of the type to determine if they are valid. 25467 func (s *AthenaDatasetDefinition) Validate() error { 25468 invalidParams := request.ErrInvalidParams{Context: "AthenaDatasetDefinition"} 25469 if s.Catalog == nil { 25470 invalidParams.Add(request.NewErrParamRequired("Catalog")) 25471 } 25472 if s.Catalog != nil && len(*s.Catalog) < 1 { 25473 invalidParams.Add(request.NewErrParamMinLen("Catalog", 1)) 25474 } 25475 if s.Database == nil { 25476 invalidParams.Add(request.NewErrParamRequired("Database")) 25477 } 25478 if s.Database != nil && len(*s.Database) < 1 { 25479 invalidParams.Add(request.NewErrParamMinLen("Database", 1)) 25480 } 25481 if s.OutputFormat == nil { 25482 invalidParams.Add(request.NewErrParamRequired("OutputFormat")) 25483 } 25484 if s.OutputS3Uri == nil { 25485 invalidParams.Add(request.NewErrParamRequired("OutputS3Uri")) 25486 } 25487 if s.QueryString == nil { 25488 invalidParams.Add(request.NewErrParamRequired("QueryString")) 25489 } 25490 if s.QueryString != nil && len(*s.QueryString) < 1 { 25491 invalidParams.Add(request.NewErrParamMinLen("QueryString", 1)) 25492 } 25493 if s.WorkGroup != nil && len(*s.WorkGroup) < 1 { 25494 invalidParams.Add(request.NewErrParamMinLen("WorkGroup", 1)) 25495 } 25496 25497 if invalidParams.Len() > 0 { 25498 return invalidParams 25499 } 25500 return nil 25501 } 25502 25503 // SetCatalog sets the Catalog field's value. 25504 func (s *AthenaDatasetDefinition) SetCatalog(v string) *AthenaDatasetDefinition { 25505 s.Catalog = &v 25506 return s 25507 } 25508 25509 // SetDatabase sets the Database field's value. 25510 func (s *AthenaDatasetDefinition) SetDatabase(v string) *AthenaDatasetDefinition { 25511 s.Database = &v 25512 return s 25513 } 25514 25515 // SetKmsKeyId sets the KmsKeyId field's value. 25516 func (s *AthenaDatasetDefinition) SetKmsKeyId(v string) *AthenaDatasetDefinition { 25517 s.KmsKeyId = &v 25518 return s 25519 } 25520 25521 // SetOutputCompression sets the OutputCompression field's value. 25522 func (s *AthenaDatasetDefinition) SetOutputCompression(v string) *AthenaDatasetDefinition { 25523 s.OutputCompression = &v 25524 return s 25525 } 25526 25527 // SetOutputFormat sets the OutputFormat field's value. 25528 func (s *AthenaDatasetDefinition) SetOutputFormat(v string) *AthenaDatasetDefinition { 25529 s.OutputFormat = &v 25530 return s 25531 } 25532 25533 // SetOutputS3Uri sets the OutputS3Uri field's value. 25534 func (s *AthenaDatasetDefinition) SetOutputS3Uri(v string) *AthenaDatasetDefinition { 25535 s.OutputS3Uri = &v 25536 return s 25537 } 25538 25539 // SetQueryString sets the QueryString field's value. 25540 func (s *AthenaDatasetDefinition) SetQueryString(v string) *AthenaDatasetDefinition { 25541 s.QueryString = &v 25542 return s 25543 } 25544 25545 // SetWorkGroup sets the WorkGroup field's value. 25546 func (s *AthenaDatasetDefinition) SetWorkGroup(v string) *AthenaDatasetDefinition { 25547 s.WorkGroup = &v 25548 return s 25549 } 25550 25551 // Information about a candidate produced by an AutoML training job, including 25552 // its status, steps, and other properties. 25553 type AutoMLCandidate struct { 25554 _ struct{} `type:"structure"` 25555 25556 // The name of the candidate. 25557 // 25558 // CandidateName is a required field 25559 CandidateName *string `min:"1" type:"string" required:"true"` 25560 25561 // The properties of an AutoML candidate job. 25562 CandidateProperties *CandidateProperties `type:"structure"` 25563 25564 // The candidate's status. 25565 // 25566 // CandidateStatus is a required field 25567 CandidateStatus *string `type:"string" required:"true" enum:"CandidateStatus"` 25568 25569 // Information about the candidate's steps. 25570 // 25571 // CandidateSteps is a required field 25572 CandidateSteps []*AutoMLCandidateStep `type:"list" required:"true"` 25573 25574 // The creation time. 25575 // 25576 // CreationTime is a required field 25577 CreationTime *time.Time `type:"timestamp" required:"true"` 25578 25579 // The end time. 25580 EndTime *time.Time `type:"timestamp"` 25581 25582 // The failure reason. 25583 FailureReason *string `type:"string"` 25584 25585 // The best candidate result from an AutoML training job. 25586 FinalAutoMLJobObjectiveMetric *FinalAutoMLJobObjectiveMetric `type:"structure"` 25587 25588 // Information about the inference container definitions. 25589 InferenceContainers []*AutoMLContainerDefinition `type:"list"` 25590 25591 // The last modified time. 25592 // 25593 // LastModifiedTime is a required field 25594 LastModifiedTime *time.Time `type:"timestamp" required:"true"` 25595 25596 // The objective's status. 25597 // 25598 // ObjectiveStatus is a required field 25599 ObjectiveStatus *string `type:"string" required:"true" enum:"ObjectiveStatus"` 25600 } 25601 25602 // String returns the string representation. 25603 // 25604 // API parameter values that are decorated as "sensitive" in the API will not 25605 // be included in the string output. The member name will be present, but the 25606 // value will be replaced with "sensitive". 25607 func (s AutoMLCandidate) String() string { 25608 return awsutil.Prettify(s) 25609 } 25610 25611 // GoString returns the string representation. 25612 // 25613 // API parameter values that are decorated as "sensitive" in the API will not 25614 // be included in the string output. The member name will be present, but the 25615 // value will be replaced with "sensitive". 25616 func (s AutoMLCandidate) GoString() string { 25617 return s.String() 25618 } 25619 25620 // SetCandidateName sets the CandidateName field's value. 25621 func (s *AutoMLCandidate) SetCandidateName(v string) *AutoMLCandidate { 25622 s.CandidateName = &v 25623 return s 25624 } 25625 25626 // SetCandidateProperties sets the CandidateProperties field's value. 25627 func (s *AutoMLCandidate) SetCandidateProperties(v *CandidateProperties) *AutoMLCandidate { 25628 s.CandidateProperties = v 25629 return s 25630 } 25631 25632 // SetCandidateStatus sets the CandidateStatus field's value. 25633 func (s *AutoMLCandidate) SetCandidateStatus(v string) *AutoMLCandidate { 25634 s.CandidateStatus = &v 25635 return s 25636 } 25637 25638 // SetCandidateSteps sets the CandidateSteps field's value. 25639 func (s *AutoMLCandidate) SetCandidateSteps(v []*AutoMLCandidateStep) *AutoMLCandidate { 25640 s.CandidateSteps = v 25641 return s 25642 } 25643 25644 // SetCreationTime sets the CreationTime field's value. 25645 func (s *AutoMLCandidate) SetCreationTime(v time.Time) *AutoMLCandidate { 25646 s.CreationTime = &v 25647 return s 25648 } 25649 25650 // SetEndTime sets the EndTime field's value. 25651 func (s *AutoMLCandidate) SetEndTime(v time.Time) *AutoMLCandidate { 25652 s.EndTime = &v 25653 return s 25654 } 25655 25656 // SetFailureReason sets the FailureReason field's value. 25657 func (s *AutoMLCandidate) SetFailureReason(v string) *AutoMLCandidate { 25658 s.FailureReason = &v 25659 return s 25660 } 25661 25662 // SetFinalAutoMLJobObjectiveMetric sets the FinalAutoMLJobObjectiveMetric field's value. 25663 func (s *AutoMLCandidate) SetFinalAutoMLJobObjectiveMetric(v *FinalAutoMLJobObjectiveMetric) *AutoMLCandidate { 25664 s.FinalAutoMLJobObjectiveMetric = v 25665 return s 25666 } 25667 25668 // SetInferenceContainers sets the InferenceContainers field's value. 25669 func (s *AutoMLCandidate) SetInferenceContainers(v []*AutoMLContainerDefinition) *AutoMLCandidate { 25670 s.InferenceContainers = v 25671 return s 25672 } 25673 25674 // SetLastModifiedTime sets the LastModifiedTime field's value. 25675 func (s *AutoMLCandidate) SetLastModifiedTime(v time.Time) *AutoMLCandidate { 25676 s.LastModifiedTime = &v 25677 return s 25678 } 25679 25680 // SetObjectiveStatus sets the ObjectiveStatus field's value. 25681 func (s *AutoMLCandidate) SetObjectiveStatus(v string) *AutoMLCandidate { 25682 s.ObjectiveStatus = &v 25683 return s 25684 } 25685 25686 // Information about the steps for a candidate and what step it is working on. 25687 type AutoMLCandidateStep struct { 25688 _ struct{} `type:"structure"` 25689 25690 // The ARN for the candidate's step. 25691 // 25692 // CandidateStepArn is a required field 25693 CandidateStepArn *string `min:"1" type:"string" required:"true"` 25694 25695 // The name for the candidate's step. 25696 // 25697 // CandidateStepName is a required field 25698 CandidateStepName *string `min:"1" type:"string" required:"true"` 25699 25700 // Whether the candidate is at the transform, training, or processing step. 25701 // 25702 // CandidateStepType is a required field 25703 CandidateStepType *string `type:"string" required:"true" enum:"CandidateStepType"` 25704 } 25705 25706 // String returns the string representation. 25707 // 25708 // API parameter values that are decorated as "sensitive" in the API will not 25709 // be included in the string output. The member name will be present, but the 25710 // value will be replaced with "sensitive". 25711 func (s AutoMLCandidateStep) String() string { 25712 return awsutil.Prettify(s) 25713 } 25714 25715 // GoString returns the string representation. 25716 // 25717 // API parameter values that are decorated as "sensitive" in the API will not 25718 // be included in the string output. The member name will be present, but the 25719 // value will be replaced with "sensitive". 25720 func (s AutoMLCandidateStep) GoString() string { 25721 return s.String() 25722 } 25723 25724 // SetCandidateStepArn sets the CandidateStepArn field's value. 25725 func (s *AutoMLCandidateStep) SetCandidateStepArn(v string) *AutoMLCandidateStep { 25726 s.CandidateStepArn = &v 25727 return s 25728 } 25729 25730 // SetCandidateStepName sets the CandidateStepName field's value. 25731 func (s *AutoMLCandidateStep) SetCandidateStepName(v string) *AutoMLCandidateStep { 25732 s.CandidateStepName = &v 25733 return s 25734 } 25735 25736 // SetCandidateStepType sets the CandidateStepType field's value. 25737 func (s *AutoMLCandidateStep) SetCandidateStepType(v string) *AutoMLCandidateStep { 25738 s.CandidateStepType = &v 25739 return s 25740 } 25741 25742 // A channel is a named input source that training algorithms can consume. For 25743 // more information, see . 25744 type AutoMLChannel struct { 25745 _ struct{} `type:"structure"` 25746 25747 // You can use Gzip or None. The default value is None. 25748 CompressionType *string `type:"string" enum:"CompressionType"` 25749 25750 // The data source for an AutoML channel. 25751 // 25752 // DataSource is a required field 25753 DataSource *AutoMLDataSource `type:"structure" required:"true"` 25754 25755 // The name of the target variable in supervised learning, usually represented 25756 // by 'y'. 25757 // 25758 // TargetAttributeName is a required field 25759 TargetAttributeName *string `min:"1" type:"string" required:"true"` 25760 } 25761 25762 // String returns the string representation. 25763 // 25764 // API parameter values that are decorated as "sensitive" in the API will not 25765 // be included in the string output. The member name will be present, but the 25766 // value will be replaced with "sensitive". 25767 func (s AutoMLChannel) String() string { 25768 return awsutil.Prettify(s) 25769 } 25770 25771 // GoString returns the string representation. 25772 // 25773 // API parameter values that are decorated as "sensitive" in the API will not 25774 // be included in the string output. The member name will be present, but the 25775 // value will be replaced with "sensitive". 25776 func (s AutoMLChannel) GoString() string { 25777 return s.String() 25778 } 25779 25780 // Validate inspects the fields of the type to determine if they are valid. 25781 func (s *AutoMLChannel) Validate() error { 25782 invalidParams := request.ErrInvalidParams{Context: "AutoMLChannel"} 25783 if s.DataSource == nil { 25784 invalidParams.Add(request.NewErrParamRequired("DataSource")) 25785 } 25786 if s.TargetAttributeName == nil { 25787 invalidParams.Add(request.NewErrParamRequired("TargetAttributeName")) 25788 } 25789 if s.TargetAttributeName != nil && len(*s.TargetAttributeName) < 1 { 25790 invalidParams.Add(request.NewErrParamMinLen("TargetAttributeName", 1)) 25791 } 25792 if s.DataSource != nil { 25793 if err := s.DataSource.Validate(); err != nil { 25794 invalidParams.AddNested("DataSource", err.(request.ErrInvalidParams)) 25795 } 25796 } 25797 25798 if invalidParams.Len() > 0 { 25799 return invalidParams 25800 } 25801 return nil 25802 } 25803 25804 // SetCompressionType sets the CompressionType field's value. 25805 func (s *AutoMLChannel) SetCompressionType(v string) *AutoMLChannel { 25806 s.CompressionType = &v 25807 return s 25808 } 25809 25810 // SetDataSource sets the DataSource field's value. 25811 func (s *AutoMLChannel) SetDataSource(v *AutoMLDataSource) *AutoMLChannel { 25812 s.DataSource = v 25813 return s 25814 } 25815 25816 // SetTargetAttributeName sets the TargetAttributeName field's value. 25817 func (s *AutoMLChannel) SetTargetAttributeName(v string) *AutoMLChannel { 25818 s.TargetAttributeName = &v 25819 return s 25820 } 25821 25822 // A list of container definitions that describe the different containers that 25823 // make up an AutoML candidate. For more information, see . 25824 type AutoMLContainerDefinition struct { 25825 _ struct{} `type:"structure"` 25826 25827 // The environment variables to set in the container. For more information, 25828 // see . 25829 Environment map[string]*string `type:"map"` 25830 25831 // The Amazon Elastic Container Registry (Amazon ECR) path of the container. 25832 // For more information, see . 25833 // 25834 // Image is a required field 25835 Image *string `type:"string" required:"true"` 25836 25837 // The location of the model artifacts. For more information, see . 25838 // 25839 // ModelDataUrl is a required field 25840 ModelDataUrl *string `type:"string" required:"true"` 25841 } 25842 25843 // String returns the string representation. 25844 // 25845 // API parameter values that are decorated as "sensitive" in the API will not 25846 // be included in the string output. The member name will be present, but the 25847 // value will be replaced with "sensitive". 25848 func (s AutoMLContainerDefinition) String() string { 25849 return awsutil.Prettify(s) 25850 } 25851 25852 // GoString returns the string representation. 25853 // 25854 // API parameter values that are decorated as "sensitive" in the API will not 25855 // be included in the string output. The member name will be present, but the 25856 // value will be replaced with "sensitive". 25857 func (s AutoMLContainerDefinition) GoString() string { 25858 return s.String() 25859 } 25860 25861 // SetEnvironment sets the Environment field's value. 25862 func (s *AutoMLContainerDefinition) SetEnvironment(v map[string]*string) *AutoMLContainerDefinition { 25863 s.Environment = v 25864 return s 25865 } 25866 25867 // SetImage sets the Image field's value. 25868 func (s *AutoMLContainerDefinition) SetImage(v string) *AutoMLContainerDefinition { 25869 s.Image = &v 25870 return s 25871 } 25872 25873 // SetModelDataUrl sets the ModelDataUrl field's value. 25874 func (s *AutoMLContainerDefinition) SetModelDataUrl(v string) *AutoMLContainerDefinition { 25875 s.ModelDataUrl = &v 25876 return s 25877 } 25878 25879 // The data source for the Autopilot job. 25880 type AutoMLDataSource struct { 25881 _ struct{} `type:"structure"` 25882 25883 // The Amazon S3 location of the input data. 25884 // 25885 // The input data must be in CSV format and contain at least 500 rows. 25886 // 25887 // S3DataSource is a required field 25888 S3DataSource *AutoMLS3DataSource `type:"structure" required:"true"` 25889 } 25890 25891 // String returns the string representation. 25892 // 25893 // API parameter values that are decorated as "sensitive" in the API will not 25894 // be included in the string output. The member name will be present, but the 25895 // value will be replaced with "sensitive". 25896 func (s AutoMLDataSource) String() string { 25897 return awsutil.Prettify(s) 25898 } 25899 25900 // GoString returns the string representation. 25901 // 25902 // API parameter values that are decorated as "sensitive" in the API will not 25903 // be included in the string output. The member name will be present, but the 25904 // value will be replaced with "sensitive". 25905 func (s AutoMLDataSource) GoString() string { 25906 return s.String() 25907 } 25908 25909 // Validate inspects the fields of the type to determine if they are valid. 25910 func (s *AutoMLDataSource) Validate() error { 25911 invalidParams := request.ErrInvalidParams{Context: "AutoMLDataSource"} 25912 if s.S3DataSource == nil { 25913 invalidParams.Add(request.NewErrParamRequired("S3DataSource")) 25914 } 25915 if s.S3DataSource != nil { 25916 if err := s.S3DataSource.Validate(); err != nil { 25917 invalidParams.AddNested("S3DataSource", err.(request.ErrInvalidParams)) 25918 } 25919 } 25920 25921 if invalidParams.Len() > 0 { 25922 return invalidParams 25923 } 25924 return nil 25925 } 25926 25927 // SetS3DataSource sets the S3DataSource field's value. 25928 func (s *AutoMLDataSource) SetS3DataSource(v *AutoMLS3DataSource) *AutoMLDataSource { 25929 s.S3DataSource = v 25930 return s 25931 } 25932 25933 // The artifacts that are generated during an AutoML job. 25934 type AutoMLJobArtifacts struct { 25935 _ struct{} `type:"structure"` 25936 25937 // The URL of the notebook location. 25938 CandidateDefinitionNotebookLocation *string `min:"1" type:"string"` 25939 25940 // The URL of the notebook location. 25941 DataExplorationNotebookLocation *string `min:"1" type:"string"` 25942 } 25943 25944 // String returns the string representation. 25945 // 25946 // API parameter values that are decorated as "sensitive" in the API will not 25947 // be included in the string output. The member name will be present, but the 25948 // value will be replaced with "sensitive". 25949 func (s AutoMLJobArtifacts) String() string { 25950 return awsutil.Prettify(s) 25951 } 25952 25953 // GoString returns the string representation. 25954 // 25955 // API parameter values that are decorated as "sensitive" in the API will not 25956 // be included in the string output. The member name will be present, but the 25957 // value will be replaced with "sensitive". 25958 func (s AutoMLJobArtifacts) GoString() string { 25959 return s.String() 25960 } 25961 25962 // SetCandidateDefinitionNotebookLocation sets the CandidateDefinitionNotebookLocation field's value. 25963 func (s *AutoMLJobArtifacts) SetCandidateDefinitionNotebookLocation(v string) *AutoMLJobArtifacts { 25964 s.CandidateDefinitionNotebookLocation = &v 25965 return s 25966 } 25967 25968 // SetDataExplorationNotebookLocation sets the DataExplorationNotebookLocation field's value. 25969 func (s *AutoMLJobArtifacts) SetDataExplorationNotebookLocation(v string) *AutoMLJobArtifacts { 25970 s.DataExplorationNotebookLocation = &v 25971 return s 25972 } 25973 25974 // How long a job is allowed to run, or how many candidates a job is allowed 25975 // to generate. 25976 type AutoMLJobCompletionCriteria struct { 25977 _ struct{} `type:"structure"` 25978 25979 // The maximum runtime, in seconds, an AutoML job has to complete. 25980 // 25981 // If an AutoML job exceeds the maximum runtime, the job is stopped automatically 25982 // and its processing is ended gracefully. The AutoML job identifies the best 25983 // model whose training was completed and marks it as the best-performing model. 25984 // Any unfinished steps of the job, such as automatic one-click Autopilot model 25985 // deployment, will not be completed. 25986 MaxAutoMLJobRuntimeInSeconds *int64 `min:"1" type:"integer"` 25987 25988 // The maximum number of times a training job is allowed to run. 25989 MaxCandidates *int64 `min:"1" type:"integer"` 25990 25991 // The maximum time, in seconds, that each training job is allowed to run as 25992 // part of a hyperparameter tuning job. For more information, see the used by 25993 // the action. 25994 MaxRuntimePerTrainingJobInSeconds *int64 `min:"1" type:"integer"` 25995 } 25996 25997 // String returns the string representation. 25998 // 25999 // API parameter values that are decorated as "sensitive" in the API will not 26000 // be included in the string output. The member name will be present, but the 26001 // value will be replaced with "sensitive". 26002 func (s AutoMLJobCompletionCriteria) String() string { 26003 return awsutil.Prettify(s) 26004 } 26005 26006 // GoString returns the string representation. 26007 // 26008 // API parameter values that are decorated as "sensitive" in the API will not 26009 // be included in the string output. The member name will be present, but the 26010 // value will be replaced with "sensitive". 26011 func (s AutoMLJobCompletionCriteria) GoString() string { 26012 return s.String() 26013 } 26014 26015 // Validate inspects the fields of the type to determine if they are valid. 26016 func (s *AutoMLJobCompletionCriteria) Validate() error { 26017 invalidParams := request.ErrInvalidParams{Context: "AutoMLJobCompletionCriteria"} 26018 if s.MaxAutoMLJobRuntimeInSeconds != nil && *s.MaxAutoMLJobRuntimeInSeconds < 1 { 26019 invalidParams.Add(request.NewErrParamMinValue("MaxAutoMLJobRuntimeInSeconds", 1)) 26020 } 26021 if s.MaxCandidates != nil && *s.MaxCandidates < 1 { 26022 invalidParams.Add(request.NewErrParamMinValue("MaxCandidates", 1)) 26023 } 26024 if s.MaxRuntimePerTrainingJobInSeconds != nil && *s.MaxRuntimePerTrainingJobInSeconds < 1 { 26025 invalidParams.Add(request.NewErrParamMinValue("MaxRuntimePerTrainingJobInSeconds", 1)) 26026 } 26027 26028 if invalidParams.Len() > 0 { 26029 return invalidParams 26030 } 26031 return nil 26032 } 26033 26034 // SetMaxAutoMLJobRuntimeInSeconds sets the MaxAutoMLJobRuntimeInSeconds field's value. 26035 func (s *AutoMLJobCompletionCriteria) SetMaxAutoMLJobRuntimeInSeconds(v int64) *AutoMLJobCompletionCriteria { 26036 s.MaxAutoMLJobRuntimeInSeconds = &v 26037 return s 26038 } 26039 26040 // SetMaxCandidates sets the MaxCandidates field's value. 26041 func (s *AutoMLJobCompletionCriteria) SetMaxCandidates(v int64) *AutoMLJobCompletionCriteria { 26042 s.MaxCandidates = &v 26043 return s 26044 } 26045 26046 // SetMaxRuntimePerTrainingJobInSeconds sets the MaxRuntimePerTrainingJobInSeconds field's value. 26047 func (s *AutoMLJobCompletionCriteria) SetMaxRuntimePerTrainingJobInSeconds(v int64) *AutoMLJobCompletionCriteria { 26048 s.MaxRuntimePerTrainingJobInSeconds = &v 26049 return s 26050 } 26051 26052 // A collection of settings used for an AutoML job. 26053 type AutoMLJobConfig struct { 26054 _ struct{} `type:"structure"` 26055 26056 // How long an AutoML job is allowed to run, or how many candidates a job is 26057 // allowed to generate. 26058 CompletionCriteria *AutoMLJobCompletionCriteria `type:"structure"` 26059 26060 // The security configuration for traffic encryption or Amazon VPC settings. 26061 SecurityConfig *AutoMLSecurityConfig `type:"structure"` 26062 } 26063 26064 // String returns the string representation. 26065 // 26066 // API parameter values that are decorated as "sensitive" in the API will not 26067 // be included in the string output. The member name will be present, but the 26068 // value will be replaced with "sensitive". 26069 func (s AutoMLJobConfig) String() string { 26070 return awsutil.Prettify(s) 26071 } 26072 26073 // GoString returns the string representation. 26074 // 26075 // API parameter values that are decorated as "sensitive" in the API will not 26076 // be included in the string output. The member name will be present, but the 26077 // value will be replaced with "sensitive". 26078 func (s AutoMLJobConfig) GoString() string { 26079 return s.String() 26080 } 26081 26082 // Validate inspects the fields of the type to determine if they are valid. 26083 func (s *AutoMLJobConfig) Validate() error { 26084 invalidParams := request.ErrInvalidParams{Context: "AutoMLJobConfig"} 26085 if s.CompletionCriteria != nil { 26086 if err := s.CompletionCriteria.Validate(); err != nil { 26087 invalidParams.AddNested("CompletionCriteria", err.(request.ErrInvalidParams)) 26088 } 26089 } 26090 if s.SecurityConfig != nil { 26091 if err := s.SecurityConfig.Validate(); err != nil { 26092 invalidParams.AddNested("SecurityConfig", err.(request.ErrInvalidParams)) 26093 } 26094 } 26095 26096 if invalidParams.Len() > 0 { 26097 return invalidParams 26098 } 26099 return nil 26100 } 26101 26102 // SetCompletionCriteria sets the CompletionCriteria field's value. 26103 func (s *AutoMLJobConfig) SetCompletionCriteria(v *AutoMLJobCompletionCriteria) *AutoMLJobConfig { 26104 s.CompletionCriteria = v 26105 return s 26106 } 26107 26108 // SetSecurityConfig sets the SecurityConfig field's value. 26109 func (s *AutoMLJobConfig) SetSecurityConfig(v *AutoMLSecurityConfig) *AutoMLJobConfig { 26110 s.SecurityConfig = v 26111 return s 26112 } 26113 26114 // Specifies a metric to minimize or maximize as the objective of a job. 26115 type AutoMLJobObjective struct { 26116 _ struct{} `type:"structure"` 26117 26118 // The name of the objective metric used to measure the predictive quality of 26119 // a machine learning system. This metric is optimized during training to provide 26120 // the best estimate for model parameter values from data. 26121 // 26122 // Here are the options: 26123 // 26124 // * MSE: The mean squared error (MSE) is the average of the squared differences 26125 // between the predicted and actual values. It is used for regression. MSE 26126 // values are always positive: the better a model is at predicting the actual 26127 // values, the smaller the MSE value is. When the data contains outliers, 26128 // they tend to dominate the MSE, which might cause subpar prediction performance. 26129 // 26130 // * Accuracy: The ratio of the number of correctly classified items to the 26131 // total number of (correctly and incorrectly) classified items. It is used 26132 // for binary and multiclass classification. It measures how close the predicted 26133 // class values are to the actual values. Accuracy values vary between zero 26134 // and one: one indicates perfect accuracy and zero indicates perfect inaccuracy. 26135 // 26136 // * F1: The F1 score is the harmonic mean of the precision and recall. It 26137 // is used for binary classification into classes traditionally referred 26138 // to as positive and negative. Predictions are said to be true when they 26139 // match their actual (correct) class and false when they do not. Precision 26140 // is the ratio of the true positive predictions to all positive predictions 26141 // (including the false positives) in a data set and measures the quality 26142 // of the prediction when it predicts the positive class. Recall (or sensitivity) 26143 // is the ratio of the true positive predictions to all actual positive instances 26144 // and measures how completely a model predicts the actual class members 26145 // in a data set. The standard F1 score weighs precision and recall equally. 26146 // But which metric is paramount typically depends on specific aspects of 26147 // a problem. F1 scores vary between zero and one: one indicates the best 26148 // possible performance and zero the worst. 26149 // 26150 // * AUC: The area under the curve (AUC) metric is used to compare and evaluate 26151 // binary classification by algorithms such as logistic regression that return 26152 // probabilities. A threshold is needed to map the probabilities into classifications. 26153 // The relevant curve is the receiver operating characteristic curve that 26154 // plots the true positive rate (TPR) of predictions (or recall) against 26155 // the false positive rate (FPR) as a function of the threshold value, above 26156 // which a prediction is considered positive. Increasing the threshold results 26157 // in fewer false positives but more false negatives. AUC is the area under 26158 // this receiver operating characteristic curve and so provides an aggregated 26159 // measure of the model performance across all possible classification thresholds. 26160 // The AUC score can also be interpreted as the probability that a randomly 26161 // selected positive data point is more likely to be predicted positive than 26162 // a randomly selected negative example. AUC scores vary between zero and 26163 // one: a score of one indicates perfect accuracy and a score of one half 26164 // indicates that the prediction is not better than a random classifier. 26165 // Values under one half predict less accurately than a random predictor. 26166 // But such consistently bad predictors can simply be inverted to obtain 26167 // better than random predictors. 26168 // 26169 // * F1macro: The F1macro score applies F1 scoring to multiclass classification. 26170 // In this context, you have multiple classes to predict. You just calculate 26171 // the precision and recall for each class as you did for the positive class 26172 // in binary classification. Then, use these values to calculate the F1 score 26173 // for each class and average them to obtain the F1macro score. F1macro scores 26174 // vary between zero and one: one indicates the best possible performance 26175 // and zero the worst. 26176 // 26177 // If you do not specify a metric explicitly, the default behavior is to automatically 26178 // use: 26179 // 26180 // * MSE: for regression. 26181 // 26182 // * F1: for binary classification 26183 // 26184 // * Accuracy: for multiclass classification. 26185 // 26186 // MetricName is a required field 26187 MetricName *string `type:"string" required:"true" enum:"AutoMLMetricEnum"` 26188 } 26189 26190 // String returns the string representation. 26191 // 26192 // API parameter values that are decorated as "sensitive" in the API will not 26193 // be included in the string output. The member name will be present, but the 26194 // value will be replaced with "sensitive". 26195 func (s AutoMLJobObjective) String() string { 26196 return awsutil.Prettify(s) 26197 } 26198 26199 // GoString returns the string representation. 26200 // 26201 // API parameter values that are decorated as "sensitive" in the API will not 26202 // be included in the string output. The member name will be present, but the 26203 // value will be replaced with "sensitive". 26204 func (s AutoMLJobObjective) GoString() string { 26205 return s.String() 26206 } 26207 26208 // Validate inspects the fields of the type to determine if they are valid. 26209 func (s *AutoMLJobObjective) Validate() error { 26210 invalidParams := request.ErrInvalidParams{Context: "AutoMLJobObjective"} 26211 if s.MetricName == nil { 26212 invalidParams.Add(request.NewErrParamRequired("MetricName")) 26213 } 26214 26215 if invalidParams.Len() > 0 { 26216 return invalidParams 26217 } 26218 return nil 26219 } 26220 26221 // SetMetricName sets the MetricName field's value. 26222 func (s *AutoMLJobObjective) SetMetricName(v string) *AutoMLJobObjective { 26223 s.MetricName = &v 26224 return s 26225 } 26226 26227 // Provides a summary about an AutoML job. 26228 type AutoMLJobSummary struct { 26229 _ struct{} `type:"structure"` 26230 26231 // The ARN of the AutoML job. 26232 // 26233 // AutoMLJobArn is a required field 26234 AutoMLJobArn *string `min:"1" type:"string" required:"true"` 26235 26236 // The name of the AutoML job you are requesting. 26237 // 26238 // AutoMLJobName is a required field 26239 AutoMLJobName *string `min:"1" type:"string" required:"true"` 26240 26241 // The secondary status of the AutoML job. 26242 // 26243 // AutoMLJobSecondaryStatus is a required field 26244 AutoMLJobSecondaryStatus *string `type:"string" required:"true" enum:"AutoMLJobSecondaryStatus"` 26245 26246 // The status of the AutoML job. 26247 // 26248 // AutoMLJobStatus is a required field 26249 AutoMLJobStatus *string `type:"string" required:"true" enum:"AutoMLJobStatus"` 26250 26251 // When the AutoML job was created. 26252 // 26253 // CreationTime is a required field 26254 CreationTime *time.Time `type:"timestamp" required:"true"` 26255 26256 // The end time of an AutoML job. 26257 EndTime *time.Time `type:"timestamp"` 26258 26259 // The failure reason of an AutoML job. 26260 FailureReason *string `type:"string"` 26261 26262 // When the AutoML job was last modified. 26263 // 26264 // LastModifiedTime is a required field 26265 LastModifiedTime *time.Time `type:"timestamp" required:"true"` 26266 26267 // The list of reasons for partial failures within an AutoML job. 26268 PartialFailureReasons []*AutoMLPartialFailureReason `min:"1" type:"list"` 26269 } 26270 26271 // String returns the string representation. 26272 // 26273 // API parameter values that are decorated as "sensitive" in the API will not 26274 // be included in the string output. The member name will be present, but the 26275 // value will be replaced with "sensitive". 26276 func (s AutoMLJobSummary) String() string { 26277 return awsutil.Prettify(s) 26278 } 26279 26280 // GoString returns the string representation. 26281 // 26282 // API parameter values that are decorated as "sensitive" in the API will not 26283 // be included in the string output. The member name will be present, but the 26284 // value will be replaced with "sensitive". 26285 func (s AutoMLJobSummary) GoString() string { 26286 return s.String() 26287 } 26288 26289 // SetAutoMLJobArn sets the AutoMLJobArn field's value. 26290 func (s *AutoMLJobSummary) SetAutoMLJobArn(v string) *AutoMLJobSummary { 26291 s.AutoMLJobArn = &v 26292 return s 26293 } 26294 26295 // SetAutoMLJobName sets the AutoMLJobName field's value. 26296 func (s *AutoMLJobSummary) SetAutoMLJobName(v string) *AutoMLJobSummary { 26297 s.AutoMLJobName = &v 26298 return s 26299 } 26300 26301 // SetAutoMLJobSecondaryStatus sets the AutoMLJobSecondaryStatus field's value. 26302 func (s *AutoMLJobSummary) SetAutoMLJobSecondaryStatus(v string) *AutoMLJobSummary { 26303 s.AutoMLJobSecondaryStatus = &v 26304 return s 26305 } 26306 26307 // SetAutoMLJobStatus sets the AutoMLJobStatus field's value. 26308 func (s *AutoMLJobSummary) SetAutoMLJobStatus(v string) *AutoMLJobSummary { 26309 s.AutoMLJobStatus = &v 26310 return s 26311 } 26312 26313 // SetCreationTime sets the CreationTime field's value. 26314 func (s *AutoMLJobSummary) SetCreationTime(v time.Time) *AutoMLJobSummary { 26315 s.CreationTime = &v 26316 return s 26317 } 26318 26319 // SetEndTime sets the EndTime field's value. 26320 func (s *AutoMLJobSummary) SetEndTime(v time.Time) *AutoMLJobSummary { 26321 s.EndTime = &v 26322 return s 26323 } 26324 26325 // SetFailureReason sets the FailureReason field's value. 26326 func (s *AutoMLJobSummary) SetFailureReason(v string) *AutoMLJobSummary { 26327 s.FailureReason = &v 26328 return s 26329 } 26330 26331 // SetLastModifiedTime sets the LastModifiedTime field's value. 26332 func (s *AutoMLJobSummary) SetLastModifiedTime(v time.Time) *AutoMLJobSummary { 26333 s.LastModifiedTime = &v 26334 return s 26335 } 26336 26337 // SetPartialFailureReasons sets the PartialFailureReasons field's value. 26338 func (s *AutoMLJobSummary) SetPartialFailureReasons(v []*AutoMLPartialFailureReason) *AutoMLJobSummary { 26339 s.PartialFailureReasons = v 26340 return s 26341 } 26342 26343 // The output data configuration. 26344 type AutoMLOutputDataConfig struct { 26345 _ struct{} `type:"structure"` 26346 26347 // The Amazon Web Services KMS encryption key ID. 26348 KmsKeyId *string `type:"string"` 26349 26350 // The Amazon S3 output path. Must be 128 characters or less. 26351 // 26352 // S3OutputPath is a required field 26353 S3OutputPath *string `type:"string" required:"true"` 26354 } 26355 26356 // String returns the string representation. 26357 // 26358 // API parameter values that are decorated as "sensitive" in the API will not 26359 // be included in the string output. The member name will be present, but the 26360 // value will be replaced with "sensitive". 26361 func (s AutoMLOutputDataConfig) String() string { 26362 return awsutil.Prettify(s) 26363 } 26364 26365 // GoString returns the string representation. 26366 // 26367 // API parameter values that are decorated as "sensitive" in the API will not 26368 // be included in the string output. The member name will be present, but the 26369 // value will be replaced with "sensitive". 26370 func (s AutoMLOutputDataConfig) GoString() string { 26371 return s.String() 26372 } 26373 26374 // Validate inspects the fields of the type to determine if they are valid. 26375 func (s *AutoMLOutputDataConfig) Validate() error { 26376 invalidParams := request.ErrInvalidParams{Context: "AutoMLOutputDataConfig"} 26377 if s.S3OutputPath == nil { 26378 invalidParams.Add(request.NewErrParamRequired("S3OutputPath")) 26379 } 26380 26381 if invalidParams.Len() > 0 { 26382 return invalidParams 26383 } 26384 return nil 26385 } 26386 26387 // SetKmsKeyId sets the KmsKeyId field's value. 26388 func (s *AutoMLOutputDataConfig) SetKmsKeyId(v string) *AutoMLOutputDataConfig { 26389 s.KmsKeyId = &v 26390 return s 26391 } 26392 26393 // SetS3OutputPath sets the S3OutputPath field's value. 26394 func (s *AutoMLOutputDataConfig) SetS3OutputPath(v string) *AutoMLOutputDataConfig { 26395 s.S3OutputPath = &v 26396 return s 26397 } 26398 26399 // The reason for a partial failure of an AutoML job. 26400 type AutoMLPartialFailureReason struct { 26401 _ struct{} `type:"structure"` 26402 26403 // The message containing the reason for a partial failure of an AutoML job. 26404 PartialFailureMessage *string `type:"string"` 26405 } 26406 26407 // String returns the string representation. 26408 // 26409 // API parameter values that are decorated as "sensitive" in the API will not 26410 // be included in the string output. The member name will be present, but the 26411 // value will be replaced with "sensitive". 26412 func (s AutoMLPartialFailureReason) String() string { 26413 return awsutil.Prettify(s) 26414 } 26415 26416 // GoString returns the string representation. 26417 // 26418 // API parameter values that are decorated as "sensitive" in the API will not 26419 // be included in the string output. The member name will be present, but the 26420 // value will be replaced with "sensitive". 26421 func (s AutoMLPartialFailureReason) GoString() string { 26422 return s.String() 26423 } 26424 26425 // SetPartialFailureMessage sets the PartialFailureMessage field's value. 26426 func (s *AutoMLPartialFailureReason) SetPartialFailureMessage(v string) *AutoMLPartialFailureReason { 26427 s.PartialFailureMessage = &v 26428 return s 26429 } 26430 26431 // The Amazon S3 data source. 26432 type AutoMLS3DataSource struct { 26433 _ struct{} `type:"structure"` 26434 26435 // The data type. 26436 // 26437 // S3DataType is a required field 26438 S3DataType *string `type:"string" required:"true" enum:"AutoMLS3DataType"` 26439 26440 // The URL to the Amazon S3 data source. 26441 // 26442 // S3Uri is a required field 26443 S3Uri *string `type:"string" required:"true"` 26444 } 26445 26446 // String returns the string representation. 26447 // 26448 // API parameter values that are decorated as "sensitive" in the API will not 26449 // be included in the string output. The member name will be present, but the 26450 // value will be replaced with "sensitive". 26451 func (s AutoMLS3DataSource) String() string { 26452 return awsutil.Prettify(s) 26453 } 26454 26455 // GoString returns the string representation. 26456 // 26457 // API parameter values that are decorated as "sensitive" in the API will not 26458 // be included in the string output. The member name will be present, but the 26459 // value will be replaced with "sensitive". 26460 func (s AutoMLS3DataSource) GoString() string { 26461 return s.String() 26462 } 26463 26464 // Validate inspects the fields of the type to determine if they are valid. 26465 func (s *AutoMLS3DataSource) Validate() error { 26466 invalidParams := request.ErrInvalidParams{Context: "AutoMLS3DataSource"} 26467 if s.S3DataType == nil { 26468 invalidParams.Add(request.NewErrParamRequired("S3DataType")) 26469 } 26470 if s.S3Uri == nil { 26471 invalidParams.Add(request.NewErrParamRequired("S3Uri")) 26472 } 26473 26474 if invalidParams.Len() > 0 { 26475 return invalidParams 26476 } 26477 return nil 26478 } 26479 26480 // SetS3DataType sets the S3DataType field's value. 26481 func (s *AutoMLS3DataSource) SetS3DataType(v string) *AutoMLS3DataSource { 26482 s.S3DataType = &v 26483 return s 26484 } 26485 26486 // SetS3Uri sets the S3Uri field's value. 26487 func (s *AutoMLS3DataSource) SetS3Uri(v string) *AutoMLS3DataSource { 26488 s.S3Uri = &v 26489 return s 26490 } 26491 26492 // Security options. 26493 type AutoMLSecurityConfig struct { 26494 _ struct{} `type:"structure"` 26495 26496 // Whether to use traffic encryption between the container layers. 26497 EnableInterContainerTrafficEncryption *bool `type:"boolean"` 26498 26499 // The key used to encrypt stored data. 26500 VolumeKmsKeyId *string `type:"string"` 26501 26502 // The VPC configuration. 26503 VpcConfig *VpcConfig `type:"structure"` 26504 } 26505 26506 // String returns the string representation. 26507 // 26508 // API parameter values that are decorated as "sensitive" in the API will not 26509 // be included in the string output. The member name will be present, but the 26510 // value will be replaced with "sensitive". 26511 func (s AutoMLSecurityConfig) String() string { 26512 return awsutil.Prettify(s) 26513 } 26514 26515 // GoString returns the string representation. 26516 // 26517 // API parameter values that are decorated as "sensitive" in the API will not 26518 // be included in the string output. The member name will be present, but the 26519 // value will be replaced with "sensitive". 26520 func (s AutoMLSecurityConfig) GoString() string { 26521 return s.String() 26522 } 26523 26524 // Validate inspects the fields of the type to determine if they are valid. 26525 func (s *AutoMLSecurityConfig) Validate() error { 26526 invalidParams := request.ErrInvalidParams{Context: "AutoMLSecurityConfig"} 26527 if s.VpcConfig != nil { 26528 if err := s.VpcConfig.Validate(); err != nil { 26529 invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams)) 26530 } 26531 } 26532 26533 if invalidParams.Len() > 0 { 26534 return invalidParams 26535 } 26536 return nil 26537 } 26538 26539 // SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value. 26540 func (s *AutoMLSecurityConfig) SetEnableInterContainerTrafficEncryption(v bool) *AutoMLSecurityConfig { 26541 s.EnableInterContainerTrafficEncryption = &v 26542 return s 26543 } 26544 26545 // SetVolumeKmsKeyId sets the VolumeKmsKeyId field's value. 26546 func (s *AutoMLSecurityConfig) SetVolumeKmsKeyId(v string) *AutoMLSecurityConfig { 26547 s.VolumeKmsKeyId = &v 26548 return s 26549 } 26550 26551 // SetVpcConfig sets the VpcConfig field's value. 26552 func (s *AutoMLSecurityConfig) SetVpcConfig(v *VpcConfig) *AutoMLSecurityConfig { 26553 s.VpcConfig = v 26554 return s 26555 } 26556 26557 // Currently, the AutoRollbackConfig API is not supported. 26558 type AutoRollbackConfig struct { 26559 _ struct{} `type:"structure"` 26560 26561 Alarms []*Alarm `min:"1" type:"list"` 26562 } 26563 26564 // String returns the string representation. 26565 // 26566 // API parameter values that are decorated as "sensitive" in the API will not 26567 // be included in the string output. The member name will be present, but the 26568 // value will be replaced with "sensitive". 26569 func (s AutoRollbackConfig) String() string { 26570 return awsutil.Prettify(s) 26571 } 26572 26573 // GoString returns the string representation. 26574 // 26575 // API parameter values that are decorated as "sensitive" in the API will not 26576 // be included in the string output. The member name will be present, but the 26577 // value will be replaced with "sensitive". 26578 func (s AutoRollbackConfig) GoString() string { 26579 return s.String() 26580 } 26581 26582 // Validate inspects the fields of the type to determine if they are valid. 26583 func (s *AutoRollbackConfig) Validate() error { 26584 invalidParams := request.ErrInvalidParams{Context: "AutoRollbackConfig"} 26585 if s.Alarms != nil && len(s.Alarms) < 1 { 26586 invalidParams.Add(request.NewErrParamMinLen("Alarms", 1)) 26587 } 26588 if s.Alarms != nil { 26589 for i, v := range s.Alarms { 26590 if v == nil { 26591 continue 26592 } 26593 if err := v.Validate(); err != nil { 26594 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Alarms", i), err.(request.ErrInvalidParams)) 26595 } 26596 } 26597 } 26598 26599 if invalidParams.Len() > 0 { 26600 return invalidParams 26601 } 26602 return nil 26603 } 26604 26605 // SetAlarms sets the Alarms field's value. 26606 func (s *AutoRollbackConfig) SetAlarms(v []*Alarm) *AutoRollbackConfig { 26607 s.Alarms = v 26608 return s 26609 } 26610 26611 // Contains bias metrics for a model. 26612 type Bias struct { 26613 _ struct{} `type:"structure"` 26614 26615 // The bias report for a model 26616 Report *MetricsSource `type:"structure"` 26617 } 26618 26619 // String returns the string representation. 26620 // 26621 // API parameter values that are decorated as "sensitive" in the API will not 26622 // be included in the string output. The member name will be present, but the 26623 // value will be replaced with "sensitive". 26624 func (s Bias) String() string { 26625 return awsutil.Prettify(s) 26626 } 26627 26628 // GoString returns the string representation. 26629 // 26630 // API parameter values that are decorated as "sensitive" in the API will not 26631 // be included in the string output. The member name will be present, but the 26632 // value will be replaced with "sensitive". 26633 func (s Bias) GoString() string { 26634 return s.String() 26635 } 26636 26637 // Validate inspects the fields of the type to determine if they are valid. 26638 func (s *Bias) Validate() error { 26639 invalidParams := request.ErrInvalidParams{Context: "Bias"} 26640 if s.Report != nil { 26641 if err := s.Report.Validate(); err != nil { 26642 invalidParams.AddNested("Report", err.(request.ErrInvalidParams)) 26643 } 26644 } 26645 26646 if invalidParams.Len() > 0 { 26647 return invalidParams 26648 } 26649 return nil 26650 } 26651 26652 // SetReport sets the Report field's value. 26653 func (s *Bias) SetReport(v *MetricsSource) *Bias { 26654 s.Report = v 26655 return s 26656 } 26657 26658 // Currently, the BlueGreenUpdatePolicy API is not supported. 26659 type BlueGreenUpdatePolicy struct { 26660 _ struct{} `type:"structure"` 26661 26662 MaximumExecutionTimeoutInSeconds *int64 `min:"600" type:"integer"` 26663 26664 TerminationWaitInSeconds *int64 `type:"integer"` 26665 26666 // Currently, the TrafficRoutingConfig API is not supported. 26667 // 26668 // TrafficRoutingConfiguration is a required field 26669 TrafficRoutingConfiguration *TrafficRoutingConfig `type:"structure" required:"true"` 26670 } 26671 26672 // String returns the string representation. 26673 // 26674 // API parameter values that are decorated as "sensitive" in the API will not 26675 // be included in the string output. The member name will be present, but the 26676 // value will be replaced with "sensitive". 26677 func (s BlueGreenUpdatePolicy) String() string { 26678 return awsutil.Prettify(s) 26679 } 26680 26681 // GoString returns the string representation. 26682 // 26683 // API parameter values that are decorated as "sensitive" in the API will not 26684 // be included in the string output. The member name will be present, but the 26685 // value will be replaced with "sensitive". 26686 func (s BlueGreenUpdatePolicy) GoString() string { 26687 return s.String() 26688 } 26689 26690 // Validate inspects the fields of the type to determine if they are valid. 26691 func (s *BlueGreenUpdatePolicy) Validate() error { 26692 invalidParams := request.ErrInvalidParams{Context: "BlueGreenUpdatePolicy"} 26693 if s.MaximumExecutionTimeoutInSeconds != nil && *s.MaximumExecutionTimeoutInSeconds < 600 { 26694 invalidParams.Add(request.NewErrParamMinValue("MaximumExecutionTimeoutInSeconds", 600)) 26695 } 26696 if s.TrafficRoutingConfiguration == nil { 26697 invalidParams.Add(request.NewErrParamRequired("TrafficRoutingConfiguration")) 26698 } 26699 if s.TrafficRoutingConfiguration != nil { 26700 if err := s.TrafficRoutingConfiguration.Validate(); err != nil { 26701 invalidParams.AddNested("TrafficRoutingConfiguration", err.(request.ErrInvalidParams)) 26702 } 26703 } 26704 26705 if invalidParams.Len() > 0 { 26706 return invalidParams 26707 } 26708 return nil 26709 } 26710 26711 // SetMaximumExecutionTimeoutInSeconds sets the MaximumExecutionTimeoutInSeconds field's value. 26712 func (s *BlueGreenUpdatePolicy) SetMaximumExecutionTimeoutInSeconds(v int64) *BlueGreenUpdatePolicy { 26713 s.MaximumExecutionTimeoutInSeconds = &v 26714 return s 26715 } 26716 26717 // SetTerminationWaitInSeconds sets the TerminationWaitInSeconds field's value. 26718 func (s *BlueGreenUpdatePolicy) SetTerminationWaitInSeconds(v int64) *BlueGreenUpdatePolicy { 26719 s.TerminationWaitInSeconds = &v 26720 return s 26721 } 26722 26723 // SetTrafficRoutingConfiguration sets the TrafficRoutingConfiguration field's value. 26724 func (s *BlueGreenUpdatePolicy) SetTrafficRoutingConfiguration(v *TrafficRoutingConfig) *BlueGreenUpdatePolicy { 26725 s.TrafficRoutingConfiguration = v 26726 return s 26727 } 26728 26729 // Details on the cache hit of a pipeline execution step. 26730 type CacheHitResult struct { 26731 _ struct{} `type:"structure"` 26732 26733 // The Amazon Resource Name (ARN) of the pipeline execution. 26734 SourcePipelineExecutionArn *string `type:"string"` 26735 } 26736 26737 // String returns the string representation. 26738 // 26739 // API parameter values that are decorated as "sensitive" in the API will not 26740 // be included in the string output. The member name will be present, but the 26741 // value will be replaced with "sensitive". 26742 func (s CacheHitResult) String() string { 26743 return awsutil.Prettify(s) 26744 } 26745 26746 // GoString returns the string representation. 26747 // 26748 // API parameter values that are decorated as "sensitive" in the API will not 26749 // be included in the string output. The member name will be present, but the 26750 // value will be replaced with "sensitive". 26751 func (s CacheHitResult) GoString() string { 26752 return s.String() 26753 } 26754 26755 // SetSourcePipelineExecutionArn sets the SourcePipelineExecutionArn field's value. 26756 func (s *CacheHitResult) SetSourcePipelineExecutionArn(v string) *CacheHitResult { 26757 s.SourcePipelineExecutionArn = &v 26758 return s 26759 } 26760 26761 // Metadata about a callback step. 26762 type CallbackStepMetadata struct { 26763 _ struct{} `type:"structure"` 26764 26765 // The pipeline generated token from the Amazon SQS queue. 26766 CallbackToken *string `min:"10" type:"string"` 26767 26768 // A list of the output parameters of the callback step. 26769 OutputParameters []*OutputParameter `type:"list"` 26770 26771 // The URL of the Amazon Simple Queue Service (Amazon SQS) queue used by the 26772 // callback step. 26773 SqsQueueUrl *string `type:"string"` 26774 } 26775 26776 // String returns the string representation. 26777 // 26778 // API parameter values that are decorated as "sensitive" in the API will not 26779 // be included in the string output. The member name will be present, but the 26780 // value will be replaced with "sensitive". 26781 func (s CallbackStepMetadata) String() string { 26782 return awsutil.Prettify(s) 26783 } 26784 26785 // GoString returns the string representation. 26786 // 26787 // API parameter values that are decorated as "sensitive" in the API will not 26788 // be included in the string output. The member name will be present, but the 26789 // value will be replaced with "sensitive". 26790 func (s CallbackStepMetadata) GoString() string { 26791 return s.String() 26792 } 26793 26794 // SetCallbackToken sets the CallbackToken field's value. 26795 func (s *CallbackStepMetadata) SetCallbackToken(v string) *CallbackStepMetadata { 26796 s.CallbackToken = &v 26797 return s 26798 } 26799 26800 // SetOutputParameters sets the OutputParameters field's value. 26801 func (s *CallbackStepMetadata) SetOutputParameters(v []*OutputParameter) *CallbackStepMetadata { 26802 s.OutputParameters = v 26803 return s 26804 } 26805 26806 // SetSqsQueueUrl sets the SqsQueueUrl field's value. 26807 func (s *CallbackStepMetadata) SetSqsQueueUrl(v string) *CallbackStepMetadata { 26808 s.SqsQueueUrl = &v 26809 return s 26810 } 26811 26812 // The location of artifacts for an AutoML candidate job. 26813 type CandidateArtifactLocations struct { 26814 _ struct{} `type:"structure"` 26815 26816 // The Amazon S3 prefix to the explainability artifacts generated for the AutoML 26817 // candidate. 26818 // 26819 // Explainability is a required field 26820 Explainability *string `min:"1" type:"string" required:"true"` 26821 } 26822 26823 // String returns the string representation. 26824 // 26825 // API parameter values that are decorated as "sensitive" in the API will not 26826 // be included in the string output. The member name will be present, but the 26827 // value will be replaced with "sensitive". 26828 func (s CandidateArtifactLocations) String() string { 26829 return awsutil.Prettify(s) 26830 } 26831 26832 // GoString returns the string representation. 26833 // 26834 // API parameter values that are decorated as "sensitive" in the API will not 26835 // be included in the string output. The member name will be present, but the 26836 // value will be replaced with "sensitive". 26837 func (s CandidateArtifactLocations) GoString() string { 26838 return s.String() 26839 } 26840 26841 // SetExplainability sets the Explainability field's value. 26842 func (s *CandidateArtifactLocations) SetExplainability(v string) *CandidateArtifactLocations { 26843 s.Explainability = &v 26844 return s 26845 } 26846 26847 // The properties of an AutoML candidate job. 26848 type CandidateProperties struct { 26849 _ struct{} `type:"structure"` 26850 26851 // The Amazon S3 prefix to the artifacts generated for an AutoML candidate. 26852 CandidateArtifactLocations *CandidateArtifactLocations `type:"structure"` 26853 26854 // Information about the candidate metrics for an AutoML job. 26855 CandidateMetrics []*MetricDatum `type:"list"` 26856 } 26857 26858 // String returns the string representation. 26859 // 26860 // API parameter values that are decorated as "sensitive" in the API will not 26861 // be included in the string output. The member name will be present, but the 26862 // value will be replaced with "sensitive". 26863 func (s CandidateProperties) String() string { 26864 return awsutil.Prettify(s) 26865 } 26866 26867 // GoString returns the string representation. 26868 // 26869 // API parameter values that are decorated as "sensitive" in the API will not 26870 // be included in the string output. The member name will be present, but the 26871 // value will be replaced with "sensitive". 26872 func (s CandidateProperties) GoString() string { 26873 return s.String() 26874 } 26875 26876 // SetCandidateArtifactLocations sets the CandidateArtifactLocations field's value. 26877 func (s *CandidateProperties) SetCandidateArtifactLocations(v *CandidateArtifactLocations) *CandidateProperties { 26878 s.CandidateArtifactLocations = v 26879 return s 26880 } 26881 26882 // SetCandidateMetrics sets the CandidateMetrics field's value. 26883 func (s *CandidateProperties) SetCandidateMetrics(v []*MetricDatum) *CandidateProperties { 26884 s.CandidateMetrics = v 26885 return s 26886 } 26887 26888 // Currently, the CapacitySize API is not supported. 26889 type CapacitySize struct { 26890 _ struct{} `type:"structure"` 26891 26892 // This API is not supported. 26893 // 26894 // Type is a required field 26895 Type *string `type:"string" required:"true" enum:"CapacitySizeType"` 26896 26897 // Value is a required field 26898 Value *int64 `min:"1" type:"integer" required:"true"` 26899 } 26900 26901 // String returns the string representation. 26902 // 26903 // API parameter values that are decorated as "sensitive" in the API will not 26904 // be included in the string output. The member name will be present, but the 26905 // value will be replaced with "sensitive". 26906 func (s CapacitySize) String() string { 26907 return awsutil.Prettify(s) 26908 } 26909 26910 // GoString returns the string representation. 26911 // 26912 // API parameter values that are decorated as "sensitive" in the API will not 26913 // be included in the string output. The member name will be present, but the 26914 // value will be replaced with "sensitive". 26915 func (s CapacitySize) GoString() string { 26916 return s.String() 26917 } 26918 26919 // Validate inspects the fields of the type to determine if they are valid. 26920 func (s *CapacitySize) Validate() error { 26921 invalidParams := request.ErrInvalidParams{Context: "CapacitySize"} 26922 if s.Type == nil { 26923 invalidParams.Add(request.NewErrParamRequired("Type")) 26924 } 26925 if s.Value == nil { 26926 invalidParams.Add(request.NewErrParamRequired("Value")) 26927 } 26928 if s.Value != nil && *s.Value < 1 { 26929 invalidParams.Add(request.NewErrParamMinValue("Value", 1)) 26930 } 26931 26932 if invalidParams.Len() > 0 { 26933 return invalidParams 26934 } 26935 return nil 26936 } 26937 26938 // SetType sets the Type field's value. 26939 func (s *CapacitySize) SetType(v string) *CapacitySize { 26940 s.Type = &v 26941 return s 26942 } 26943 26944 // SetValue sets the Value field's value. 26945 func (s *CapacitySize) SetValue(v int64) *CapacitySize { 26946 s.Value = &v 26947 return s 26948 } 26949 26950 type CaptureContentTypeHeader struct { 26951 _ struct{} `type:"structure"` 26952 26953 CsvContentTypes []*string `min:"1" type:"list"` 26954 26955 JsonContentTypes []*string `min:"1" type:"list"` 26956 } 26957 26958 // String returns the string representation. 26959 // 26960 // API parameter values that are decorated as "sensitive" in the API will not 26961 // be included in the string output. The member name will be present, but the 26962 // value will be replaced with "sensitive". 26963 func (s CaptureContentTypeHeader) String() string { 26964 return awsutil.Prettify(s) 26965 } 26966 26967 // GoString returns the string representation. 26968 // 26969 // API parameter values that are decorated as "sensitive" in the API will not 26970 // be included in the string output. The member name will be present, but the 26971 // value will be replaced with "sensitive". 26972 func (s CaptureContentTypeHeader) GoString() string { 26973 return s.String() 26974 } 26975 26976 // Validate inspects the fields of the type to determine if they are valid. 26977 func (s *CaptureContentTypeHeader) Validate() error { 26978 invalidParams := request.ErrInvalidParams{Context: "CaptureContentTypeHeader"} 26979 if s.CsvContentTypes != nil && len(s.CsvContentTypes) < 1 { 26980 invalidParams.Add(request.NewErrParamMinLen("CsvContentTypes", 1)) 26981 } 26982 if s.JsonContentTypes != nil && len(s.JsonContentTypes) < 1 { 26983 invalidParams.Add(request.NewErrParamMinLen("JsonContentTypes", 1)) 26984 } 26985 26986 if invalidParams.Len() > 0 { 26987 return invalidParams 26988 } 26989 return nil 26990 } 26991 26992 // SetCsvContentTypes sets the CsvContentTypes field's value. 26993 func (s *CaptureContentTypeHeader) SetCsvContentTypes(v []*string) *CaptureContentTypeHeader { 26994 s.CsvContentTypes = v 26995 return s 26996 } 26997 26998 // SetJsonContentTypes sets the JsonContentTypes field's value. 26999 func (s *CaptureContentTypeHeader) SetJsonContentTypes(v []*string) *CaptureContentTypeHeader { 27000 s.JsonContentTypes = v 27001 return s 27002 } 27003 27004 type CaptureOption struct { 27005 _ struct{} `type:"structure"` 27006 27007 // CaptureMode is a required field 27008 CaptureMode *string `type:"string" required:"true" enum:"CaptureMode"` 27009 } 27010 27011 // String returns the string representation. 27012 // 27013 // API parameter values that are decorated as "sensitive" in the API will not 27014 // be included in the string output. The member name will be present, but the 27015 // value will be replaced with "sensitive". 27016 func (s CaptureOption) String() string { 27017 return awsutil.Prettify(s) 27018 } 27019 27020 // GoString returns the string representation. 27021 // 27022 // API parameter values that are decorated as "sensitive" in the API will not 27023 // be included in the string output. The member name will be present, but the 27024 // value will be replaced with "sensitive". 27025 func (s CaptureOption) GoString() string { 27026 return s.String() 27027 } 27028 27029 // Validate inspects the fields of the type to determine if they are valid. 27030 func (s *CaptureOption) Validate() error { 27031 invalidParams := request.ErrInvalidParams{Context: "CaptureOption"} 27032 if s.CaptureMode == nil { 27033 invalidParams.Add(request.NewErrParamRequired("CaptureMode")) 27034 } 27035 27036 if invalidParams.Len() > 0 { 27037 return invalidParams 27038 } 27039 return nil 27040 } 27041 27042 // SetCaptureMode sets the CaptureMode field's value. 27043 func (s *CaptureOption) SetCaptureMode(v string) *CaptureOption { 27044 s.CaptureMode = &v 27045 return s 27046 } 27047 27048 // A list of categorical hyperparameters to tune. 27049 type CategoricalParameterRange struct { 27050 _ struct{} `type:"structure"` 27051 27052 // The name of the categorical hyperparameter to tune. 27053 // 27054 // Name is a required field 27055 Name *string `type:"string" required:"true"` 27056 27057 // A list of the categories for the hyperparameter. 27058 // 27059 // Values is a required field 27060 Values []*string `min:"1" type:"list" required:"true"` 27061 } 27062 27063 // String returns the string representation. 27064 // 27065 // API parameter values that are decorated as "sensitive" in the API will not 27066 // be included in the string output. The member name will be present, but the 27067 // value will be replaced with "sensitive". 27068 func (s CategoricalParameterRange) String() string { 27069 return awsutil.Prettify(s) 27070 } 27071 27072 // GoString returns the string representation. 27073 // 27074 // API parameter values that are decorated as "sensitive" in the API will not 27075 // be included in the string output. The member name will be present, but the 27076 // value will be replaced with "sensitive". 27077 func (s CategoricalParameterRange) GoString() string { 27078 return s.String() 27079 } 27080 27081 // Validate inspects the fields of the type to determine if they are valid. 27082 func (s *CategoricalParameterRange) Validate() error { 27083 invalidParams := request.ErrInvalidParams{Context: "CategoricalParameterRange"} 27084 if s.Name == nil { 27085 invalidParams.Add(request.NewErrParamRequired("Name")) 27086 } 27087 if s.Values == nil { 27088 invalidParams.Add(request.NewErrParamRequired("Values")) 27089 } 27090 if s.Values != nil && len(s.Values) < 1 { 27091 invalidParams.Add(request.NewErrParamMinLen("Values", 1)) 27092 } 27093 27094 if invalidParams.Len() > 0 { 27095 return invalidParams 27096 } 27097 return nil 27098 } 27099 27100 // SetName sets the Name field's value. 27101 func (s *CategoricalParameterRange) SetName(v string) *CategoricalParameterRange { 27102 s.Name = &v 27103 return s 27104 } 27105 27106 // SetValues sets the Values field's value. 27107 func (s *CategoricalParameterRange) SetValues(v []*string) *CategoricalParameterRange { 27108 s.Values = v 27109 return s 27110 } 27111 27112 // Defines the possible values for a categorical hyperparameter. 27113 type CategoricalParameterRangeSpecification struct { 27114 _ struct{} `type:"structure"` 27115 27116 // The allowed categories for the hyperparameter. 27117 // 27118 // Values is a required field 27119 Values []*string `min:"1" type:"list" required:"true"` 27120 } 27121 27122 // String returns the string representation. 27123 // 27124 // API parameter values that are decorated as "sensitive" in the API will not 27125 // be included in the string output. The member name will be present, but the 27126 // value will be replaced with "sensitive". 27127 func (s CategoricalParameterRangeSpecification) String() string { 27128 return awsutil.Prettify(s) 27129 } 27130 27131 // GoString returns the string representation. 27132 // 27133 // API parameter values that are decorated as "sensitive" in the API will not 27134 // be included in the string output. The member name will be present, but the 27135 // value will be replaced with "sensitive". 27136 func (s CategoricalParameterRangeSpecification) GoString() string { 27137 return s.String() 27138 } 27139 27140 // Validate inspects the fields of the type to determine if they are valid. 27141 func (s *CategoricalParameterRangeSpecification) Validate() error { 27142 invalidParams := request.ErrInvalidParams{Context: "CategoricalParameterRangeSpecification"} 27143 if s.Values == nil { 27144 invalidParams.Add(request.NewErrParamRequired("Values")) 27145 } 27146 if s.Values != nil && len(s.Values) < 1 { 27147 invalidParams.Add(request.NewErrParamMinLen("Values", 1)) 27148 } 27149 27150 if invalidParams.Len() > 0 { 27151 return invalidParams 27152 } 27153 return nil 27154 } 27155 27156 // SetValues sets the Values field's value. 27157 func (s *CategoricalParameterRangeSpecification) SetValues(v []*string) *CategoricalParameterRangeSpecification { 27158 s.Values = v 27159 return s 27160 } 27161 27162 // A channel is a named input source that training algorithms can consume. 27163 type Channel struct { 27164 _ struct{} `type:"structure"` 27165 27166 // The name of the channel. 27167 // 27168 // ChannelName is a required field 27169 ChannelName *string `min:"1" type:"string" required:"true"` 27170 27171 // If training data is compressed, the compression type. The default value is 27172 // None. CompressionType is used only in Pipe input mode. In File mode, leave 27173 // this field unset or set it to None. 27174 CompressionType *string `type:"string" enum:"CompressionType"` 27175 27176 // The MIME type of the data. 27177 ContentType *string `type:"string"` 27178 27179 // The location of the channel data. 27180 // 27181 // DataSource is a required field 27182 DataSource *DataSource `type:"structure" required:"true"` 27183 27184 // (Optional) The input mode to use for the data channel in a training job. 27185 // If you don't set a value for InputMode, Amazon SageMaker uses the value set 27186 // for TrainingInputMode. Use this parameter to override the TrainingInputMode 27187 // setting in a AlgorithmSpecification request when you have a channel that 27188 // needs a different input mode from the training job's general setting. To 27189 // download the data from Amazon Simple Storage Service (Amazon S3) to the provisioned 27190 // ML storage volume, and mount the directory to a Docker volume, use File input 27191 // mode. To stream data directly from Amazon S3 to the container, choose Pipe 27192 // input mode. 27193 // 27194 // To use a model for incremental training, choose File input model. 27195 InputMode *string `type:"string" enum:"TrainingInputMode"` 27196 27197 // Specify RecordIO as the value when input data is in raw format but the training 27198 // algorithm requires the RecordIO format. In this case, Amazon SageMaker wraps 27199 // each individual S3 object in a RecordIO record. If the input data is already 27200 // in RecordIO format, you don't need to set this attribute. For more information, 27201 // see Create a Dataset Using RecordIO (https://mxnet.apache.org/api/architecture/note_data_loading#data-format). 27202 // 27203 // In File mode, leave this field unset or set it to None. 27204 RecordWrapperType *string `type:"string" enum:"RecordWrapper"` 27205 27206 // A configuration for a shuffle option for input data in a channel. If you 27207 // use S3Prefix for S3DataType, this shuffles the results of the S3 key prefix 27208 // matches. If you use ManifestFile, the order of the S3 object references in 27209 // the ManifestFile is shuffled. If you use AugmentedManifestFile, the order 27210 // of the JSON lines in the AugmentedManifestFile is shuffled. The shuffling 27211 // order is determined using the Seed value. 27212 // 27213 // For Pipe input mode, shuffling is done at the start of every epoch. With 27214 // large datasets this ensures that the order of the training data is different 27215 // for each epoch, it helps reduce bias and possible overfitting. In a multi-node 27216 // training job when ShuffleConfig is combined with S3DataDistributionType of 27217 // ShardedByS3Key, the data is shuffled across nodes so that the content sent 27218 // to a particular node on the first epoch might be sent to a different node 27219 // on the second epoch. 27220 ShuffleConfig *ShuffleConfig `type:"structure"` 27221 } 27222 27223 // String returns the string representation. 27224 // 27225 // API parameter values that are decorated as "sensitive" in the API will not 27226 // be included in the string output. The member name will be present, but the 27227 // value will be replaced with "sensitive". 27228 func (s Channel) String() string { 27229 return awsutil.Prettify(s) 27230 } 27231 27232 // GoString returns the string representation. 27233 // 27234 // API parameter values that are decorated as "sensitive" in the API will not 27235 // be included in the string output. The member name will be present, but the 27236 // value will be replaced with "sensitive". 27237 func (s Channel) GoString() string { 27238 return s.String() 27239 } 27240 27241 // Validate inspects the fields of the type to determine if they are valid. 27242 func (s *Channel) Validate() error { 27243 invalidParams := request.ErrInvalidParams{Context: "Channel"} 27244 if s.ChannelName == nil { 27245 invalidParams.Add(request.NewErrParamRequired("ChannelName")) 27246 } 27247 if s.ChannelName != nil && len(*s.ChannelName) < 1 { 27248 invalidParams.Add(request.NewErrParamMinLen("ChannelName", 1)) 27249 } 27250 if s.DataSource == nil { 27251 invalidParams.Add(request.NewErrParamRequired("DataSource")) 27252 } 27253 if s.DataSource != nil { 27254 if err := s.DataSource.Validate(); err != nil { 27255 invalidParams.AddNested("DataSource", err.(request.ErrInvalidParams)) 27256 } 27257 } 27258 if s.ShuffleConfig != nil { 27259 if err := s.ShuffleConfig.Validate(); err != nil { 27260 invalidParams.AddNested("ShuffleConfig", err.(request.ErrInvalidParams)) 27261 } 27262 } 27263 27264 if invalidParams.Len() > 0 { 27265 return invalidParams 27266 } 27267 return nil 27268 } 27269 27270 // SetChannelName sets the ChannelName field's value. 27271 func (s *Channel) SetChannelName(v string) *Channel { 27272 s.ChannelName = &v 27273 return s 27274 } 27275 27276 // SetCompressionType sets the CompressionType field's value. 27277 func (s *Channel) SetCompressionType(v string) *Channel { 27278 s.CompressionType = &v 27279 return s 27280 } 27281 27282 // SetContentType sets the ContentType field's value. 27283 func (s *Channel) SetContentType(v string) *Channel { 27284 s.ContentType = &v 27285 return s 27286 } 27287 27288 // SetDataSource sets the DataSource field's value. 27289 func (s *Channel) SetDataSource(v *DataSource) *Channel { 27290 s.DataSource = v 27291 return s 27292 } 27293 27294 // SetInputMode sets the InputMode field's value. 27295 func (s *Channel) SetInputMode(v string) *Channel { 27296 s.InputMode = &v 27297 return s 27298 } 27299 27300 // SetRecordWrapperType sets the RecordWrapperType field's value. 27301 func (s *Channel) SetRecordWrapperType(v string) *Channel { 27302 s.RecordWrapperType = &v 27303 return s 27304 } 27305 27306 // SetShuffleConfig sets the ShuffleConfig field's value. 27307 func (s *Channel) SetShuffleConfig(v *ShuffleConfig) *Channel { 27308 s.ShuffleConfig = v 27309 return s 27310 } 27311 27312 // Defines a named input source, called a channel, to be used by an algorithm. 27313 type ChannelSpecification struct { 27314 _ struct{} `type:"structure"` 27315 27316 // A brief description of the channel. 27317 Description *string `type:"string"` 27318 27319 // Indicates whether the channel is required by the algorithm. 27320 IsRequired *bool `type:"boolean"` 27321 27322 // The name of the channel. 27323 // 27324 // Name is a required field 27325 Name *string `min:"1" type:"string" required:"true"` 27326 27327 // The allowed compression types, if data compression is used. 27328 SupportedCompressionTypes []*string `type:"list"` 27329 27330 // The supported MIME types for the data. 27331 // 27332 // SupportedContentTypes is a required field 27333 SupportedContentTypes []*string `type:"list" required:"true"` 27334 27335 // The allowed input mode, either FILE or PIPE. 27336 // 27337 // In FILE mode, Amazon SageMaker copies the data from the input source onto 27338 // the local Amazon Elastic Block Store (Amazon EBS) volumes before starting 27339 // your training algorithm. This is the most commonly used input mode. 27340 // 27341 // In PIPE mode, Amazon SageMaker streams input data from the source directly 27342 // to your algorithm without using the EBS volume. 27343 // 27344 // SupportedInputModes is a required field 27345 SupportedInputModes []*string `min:"1" type:"list" required:"true"` 27346 } 27347 27348 // String returns the string representation. 27349 // 27350 // API parameter values that are decorated as "sensitive" in the API will not 27351 // be included in the string output. The member name will be present, but the 27352 // value will be replaced with "sensitive". 27353 func (s ChannelSpecification) String() string { 27354 return awsutil.Prettify(s) 27355 } 27356 27357 // GoString returns the string representation. 27358 // 27359 // API parameter values that are decorated as "sensitive" in the API will not 27360 // be included in the string output. The member name will be present, but the 27361 // value will be replaced with "sensitive". 27362 func (s ChannelSpecification) GoString() string { 27363 return s.String() 27364 } 27365 27366 // Validate inspects the fields of the type to determine if they are valid. 27367 func (s *ChannelSpecification) Validate() error { 27368 invalidParams := request.ErrInvalidParams{Context: "ChannelSpecification"} 27369 if s.Name == nil { 27370 invalidParams.Add(request.NewErrParamRequired("Name")) 27371 } 27372 if s.Name != nil && len(*s.Name) < 1 { 27373 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 27374 } 27375 if s.SupportedContentTypes == nil { 27376 invalidParams.Add(request.NewErrParamRequired("SupportedContentTypes")) 27377 } 27378 if s.SupportedInputModes == nil { 27379 invalidParams.Add(request.NewErrParamRequired("SupportedInputModes")) 27380 } 27381 if s.SupportedInputModes != nil && len(s.SupportedInputModes) < 1 { 27382 invalidParams.Add(request.NewErrParamMinLen("SupportedInputModes", 1)) 27383 } 27384 27385 if invalidParams.Len() > 0 { 27386 return invalidParams 27387 } 27388 return nil 27389 } 27390 27391 // SetDescription sets the Description field's value. 27392 func (s *ChannelSpecification) SetDescription(v string) *ChannelSpecification { 27393 s.Description = &v 27394 return s 27395 } 27396 27397 // SetIsRequired sets the IsRequired field's value. 27398 func (s *ChannelSpecification) SetIsRequired(v bool) *ChannelSpecification { 27399 s.IsRequired = &v 27400 return s 27401 } 27402 27403 // SetName sets the Name field's value. 27404 func (s *ChannelSpecification) SetName(v string) *ChannelSpecification { 27405 s.Name = &v 27406 return s 27407 } 27408 27409 // SetSupportedCompressionTypes sets the SupportedCompressionTypes field's value. 27410 func (s *ChannelSpecification) SetSupportedCompressionTypes(v []*string) *ChannelSpecification { 27411 s.SupportedCompressionTypes = v 27412 return s 27413 } 27414 27415 // SetSupportedContentTypes sets the SupportedContentTypes field's value. 27416 func (s *ChannelSpecification) SetSupportedContentTypes(v []*string) *ChannelSpecification { 27417 s.SupportedContentTypes = v 27418 return s 27419 } 27420 27421 // SetSupportedInputModes sets the SupportedInputModes field's value. 27422 func (s *ChannelSpecification) SetSupportedInputModes(v []*string) *ChannelSpecification { 27423 s.SupportedInputModes = v 27424 return s 27425 } 27426 27427 // Contains information about the output location for managed spot training 27428 // checkpoint data. 27429 type CheckpointConfig struct { 27430 _ struct{} `type:"structure"` 27431 27432 // (Optional) The local directory where checkpoints are written. The default 27433 // directory is /opt/ml/checkpoints/. 27434 LocalPath *string `type:"string"` 27435 27436 // Identifies the S3 path where you want Amazon SageMaker to store checkpoints. 27437 // For example, s3://bucket-name/key-name-prefix. 27438 // 27439 // S3Uri is a required field 27440 S3Uri *string `type:"string" required:"true"` 27441 } 27442 27443 // String returns the string representation. 27444 // 27445 // API parameter values that are decorated as "sensitive" in the API will not 27446 // be included in the string output. The member name will be present, but the 27447 // value will be replaced with "sensitive". 27448 func (s CheckpointConfig) String() string { 27449 return awsutil.Prettify(s) 27450 } 27451 27452 // GoString returns the string representation. 27453 // 27454 // API parameter values that are decorated as "sensitive" in the API will not 27455 // be included in the string output. The member name will be present, but the 27456 // value will be replaced with "sensitive". 27457 func (s CheckpointConfig) GoString() string { 27458 return s.String() 27459 } 27460 27461 // Validate inspects the fields of the type to determine if they are valid. 27462 func (s *CheckpointConfig) Validate() error { 27463 invalidParams := request.ErrInvalidParams{Context: "CheckpointConfig"} 27464 if s.S3Uri == nil { 27465 invalidParams.Add(request.NewErrParamRequired("S3Uri")) 27466 } 27467 27468 if invalidParams.Len() > 0 { 27469 return invalidParams 27470 } 27471 return nil 27472 } 27473 27474 // SetLocalPath sets the LocalPath field's value. 27475 func (s *CheckpointConfig) SetLocalPath(v string) *CheckpointConfig { 27476 s.LocalPath = &v 27477 return s 27478 } 27479 27480 // SetS3Uri sets the S3Uri field's value. 27481 func (s *CheckpointConfig) SetS3Uri(v string) *CheckpointConfig { 27482 s.S3Uri = &v 27483 return s 27484 } 27485 27486 // Specifies summary information about a Git repository. 27487 type CodeRepositorySummary struct { 27488 _ struct{} `type:"structure"` 27489 27490 // The Amazon Resource Name (ARN) of the Git repository. 27491 // 27492 // CodeRepositoryArn is a required field 27493 CodeRepositoryArn *string `min:"1" type:"string" required:"true"` 27494 27495 // The name of the Git repository. 27496 // 27497 // CodeRepositoryName is a required field 27498 CodeRepositoryName *string `min:"1" type:"string" required:"true"` 27499 27500 // The date and time that the Git repository was created. 27501 // 27502 // CreationTime is a required field 27503 CreationTime *time.Time `type:"timestamp" required:"true"` 27504 27505 // Configuration details for the Git repository, including the URL where it 27506 // is located and the ARN of the Amazon Web Services Secrets Manager secret 27507 // that contains the credentials used to access the repository. 27508 GitConfig *GitConfig `type:"structure"` 27509 27510 // The date and time that the Git repository was last modified. 27511 // 27512 // LastModifiedTime is a required field 27513 LastModifiedTime *time.Time `type:"timestamp" required:"true"` 27514 } 27515 27516 // String returns the string representation. 27517 // 27518 // API parameter values that are decorated as "sensitive" in the API will not 27519 // be included in the string output. The member name will be present, but the 27520 // value will be replaced with "sensitive". 27521 func (s CodeRepositorySummary) String() string { 27522 return awsutil.Prettify(s) 27523 } 27524 27525 // GoString returns the string representation. 27526 // 27527 // API parameter values that are decorated as "sensitive" in the API will not 27528 // be included in the string output. The member name will be present, but the 27529 // value will be replaced with "sensitive". 27530 func (s CodeRepositorySummary) GoString() string { 27531 return s.String() 27532 } 27533 27534 // SetCodeRepositoryArn sets the CodeRepositoryArn field's value. 27535 func (s *CodeRepositorySummary) SetCodeRepositoryArn(v string) *CodeRepositorySummary { 27536 s.CodeRepositoryArn = &v 27537 return s 27538 } 27539 27540 // SetCodeRepositoryName sets the CodeRepositoryName field's value. 27541 func (s *CodeRepositorySummary) SetCodeRepositoryName(v string) *CodeRepositorySummary { 27542 s.CodeRepositoryName = &v 27543 return s 27544 } 27545 27546 // SetCreationTime sets the CreationTime field's value. 27547 func (s *CodeRepositorySummary) SetCreationTime(v time.Time) *CodeRepositorySummary { 27548 s.CreationTime = &v 27549 return s 27550 } 27551 27552 // SetGitConfig sets the GitConfig field's value. 27553 func (s *CodeRepositorySummary) SetGitConfig(v *GitConfig) *CodeRepositorySummary { 27554 s.GitConfig = v 27555 return s 27556 } 27557 27558 // SetLastModifiedTime sets the LastModifiedTime field's value. 27559 func (s *CodeRepositorySummary) SetLastModifiedTime(v time.Time) *CodeRepositorySummary { 27560 s.LastModifiedTime = &v 27561 return s 27562 } 27563 27564 // Use this parameter to configure your Amazon Cognito workforce. A single Cognito 27565 // workforce is created using and corresponds to a single Amazon Cognito user 27566 // pool (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html). 27567 type CognitoConfig struct { 27568 _ struct{} `type:"structure"` 27569 27570 // The client ID for your Amazon Cognito user pool. 27571 // 27572 // ClientId is a required field 27573 ClientId *string `min:"1" type:"string" required:"true"` 27574 27575 // A user pool (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html) 27576 // is a user directory in Amazon Cognito. With a user pool, your users can sign 27577 // in to your web or mobile app through Amazon Cognito. Your users can also 27578 // sign in through social identity providers like Google, Facebook, Amazon, 27579 // or Apple, and through SAML identity providers. 27580 // 27581 // UserPool is a required field 27582 UserPool *string `min:"1" type:"string" required:"true"` 27583 } 27584 27585 // String returns the string representation. 27586 // 27587 // API parameter values that are decorated as "sensitive" in the API will not 27588 // be included in the string output. The member name will be present, but the 27589 // value will be replaced with "sensitive". 27590 func (s CognitoConfig) String() string { 27591 return awsutil.Prettify(s) 27592 } 27593 27594 // GoString returns the string representation. 27595 // 27596 // API parameter values that are decorated as "sensitive" in the API will not 27597 // be included in the string output. The member name will be present, but the 27598 // value will be replaced with "sensitive". 27599 func (s CognitoConfig) GoString() string { 27600 return s.String() 27601 } 27602 27603 // Validate inspects the fields of the type to determine if they are valid. 27604 func (s *CognitoConfig) Validate() error { 27605 invalidParams := request.ErrInvalidParams{Context: "CognitoConfig"} 27606 if s.ClientId == nil { 27607 invalidParams.Add(request.NewErrParamRequired("ClientId")) 27608 } 27609 if s.ClientId != nil && len(*s.ClientId) < 1 { 27610 invalidParams.Add(request.NewErrParamMinLen("ClientId", 1)) 27611 } 27612 if s.UserPool == nil { 27613 invalidParams.Add(request.NewErrParamRequired("UserPool")) 27614 } 27615 if s.UserPool != nil && len(*s.UserPool) < 1 { 27616 invalidParams.Add(request.NewErrParamMinLen("UserPool", 1)) 27617 } 27618 27619 if invalidParams.Len() > 0 { 27620 return invalidParams 27621 } 27622 return nil 27623 } 27624 27625 // SetClientId sets the ClientId field's value. 27626 func (s *CognitoConfig) SetClientId(v string) *CognitoConfig { 27627 s.ClientId = &v 27628 return s 27629 } 27630 27631 // SetUserPool sets the UserPool field's value. 27632 func (s *CognitoConfig) SetUserPool(v string) *CognitoConfig { 27633 s.UserPool = &v 27634 return s 27635 } 27636 27637 // Identifies a Amazon Cognito user group. A user group can be used in on or 27638 // more work teams. 27639 type CognitoMemberDefinition struct { 27640 _ struct{} `type:"structure"` 27641 27642 // An identifier for an application client. You must create the app client ID 27643 // using Amazon Cognito. 27644 // 27645 // ClientId is a required field 27646 ClientId *string `min:"1" type:"string" required:"true"` 27647 27648 // An identifier for a user group. 27649 // 27650 // UserGroup is a required field 27651 UserGroup *string `min:"1" type:"string" required:"true"` 27652 27653 // An identifier for a user pool. The user pool must be in the same region as 27654 // the service that you are calling. 27655 // 27656 // UserPool is a required field 27657 UserPool *string `min:"1" type:"string" required:"true"` 27658 } 27659 27660 // String returns the string representation. 27661 // 27662 // API parameter values that are decorated as "sensitive" in the API will not 27663 // be included in the string output. The member name will be present, but the 27664 // value will be replaced with "sensitive". 27665 func (s CognitoMemberDefinition) String() string { 27666 return awsutil.Prettify(s) 27667 } 27668 27669 // GoString returns the string representation. 27670 // 27671 // API parameter values that are decorated as "sensitive" in the API will not 27672 // be included in the string output. The member name will be present, but the 27673 // value will be replaced with "sensitive". 27674 func (s CognitoMemberDefinition) GoString() string { 27675 return s.String() 27676 } 27677 27678 // Validate inspects the fields of the type to determine if they are valid. 27679 func (s *CognitoMemberDefinition) Validate() error { 27680 invalidParams := request.ErrInvalidParams{Context: "CognitoMemberDefinition"} 27681 if s.ClientId == nil { 27682 invalidParams.Add(request.NewErrParamRequired("ClientId")) 27683 } 27684 if s.ClientId != nil && len(*s.ClientId) < 1 { 27685 invalidParams.Add(request.NewErrParamMinLen("ClientId", 1)) 27686 } 27687 if s.UserGroup == nil { 27688 invalidParams.Add(request.NewErrParamRequired("UserGroup")) 27689 } 27690 if s.UserGroup != nil && len(*s.UserGroup) < 1 { 27691 invalidParams.Add(request.NewErrParamMinLen("UserGroup", 1)) 27692 } 27693 if s.UserPool == nil { 27694 invalidParams.Add(request.NewErrParamRequired("UserPool")) 27695 } 27696 if s.UserPool != nil && len(*s.UserPool) < 1 { 27697 invalidParams.Add(request.NewErrParamMinLen("UserPool", 1)) 27698 } 27699 27700 if invalidParams.Len() > 0 { 27701 return invalidParams 27702 } 27703 return nil 27704 } 27705 27706 // SetClientId sets the ClientId field's value. 27707 func (s *CognitoMemberDefinition) SetClientId(v string) *CognitoMemberDefinition { 27708 s.ClientId = &v 27709 return s 27710 } 27711 27712 // SetUserGroup sets the UserGroup field's value. 27713 func (s *CognitoMemberDefinition) SetUserGroup(v string) *CognitoMemberDefinition { 27714 s.UserGroup = &v 27715 return s 27716 } 27717 27718 // SetUserPool sets the UserPool field's value. 27719 func (s *CognitoMemberDefinition) SetUserPool(v string) *CognitoMemberDefinition { 27720 s.UserPool = &v 27721 return s 27722 } 27723 27724 // Configuration information for the Debugger output tensor collections. 27725 type CollectionConfiguration struct { 27726 _ struct{} `type:"structure"` 27727 27728 // The name of the tensor collection. The name must be unique relative to other 27729 // rule configuration names. 27730 CollectionName *string `min:"1" type:"string"` 27731 27732 // Parameter values for the tensor collection. The allowed parameters are "name", 27733 // "include_regex", "reduction_config", "save_config", "tensor_names", and "save_histogram". 27734 CollectionParameters map[string]*string `type:"map"` 27735 } 27736 27737 // String returns the string representation. 27738 // 27739 // API parameter values that are decorated as "sensitive" in the API will not 27740 // be included in the string output. The member name will be present, but the 27741 // value will be replaced with "sensitive". 27742 func (s CollectionConfiguration) String() string { 27743 return awsutil.Prettify(s) 27744 } 27745 27746 // GoString returns the string representation. 27747 // 27748 // API parameter values that are decorated as "sensitive" in the API will not 27749 // be included in the string output. The member name will be present, but the 27750 // value will be replaced with "sensitive". 27751 func (s CollectionConfiguration) GoString() string { 27752 return s.String() 27753 } 27754 27755 // Validate inspects the fields of the type to determine if they are valid. 27756 func (s *CollectionConfiguration) Validate() error { 27757 invalidParams := request.ErrInvalidParams{Context: "CollectionConfiguration"} 27758 if s.CollectionName != nil && len(*s.CollectionName) < 1 { 27759 invalidParams.Add(request.NewErrParamMinLen("CollectionName", 1)) 27760 } 27761 27762 if invalidParams.Len() > 0 { 27763 return invalidParams 27764 } 27765 return nil 27766 } 27767 27768 // SetCollectionName sets the CollectionName field's value. 27769 func (s *CollectionConfiguration) SetCollectionName(v string) *CollectionConfiguration { 27770 s.CollectionName = &v 27771 return s 27772 } 27773 27774 // SetCollectionParameters sets the CollectionParameters field's value. 27775 func (s *CollectionConfiguration) SetCollectionParameters(v map[string]*string) *CollectionConfiguration { 27776 s.CollectionParameters = v 27777 return s 27778 } 27779 27780 // A summary of a model compilation job. 27781 type CompilationJobSummary struct { 27782 _ struct{} `type:"structure"` 27783 27784 // The time when the model compilation job completed. 27785 CompilationEndTime *time.Time `type:"timestamp"` 27786 27787 // The Amazon Resource Name (ARN) of the model compilation job. 27788 // 27789 // CompilationJobArn is a required field 27790 CompilationJobArn *string `type:"string" required:"true"` 27791 27792 // The name of the model compilation job that you want a summary for. 27793 // 27794 // CompilationJobName is a required field 27795 CompilationJobName *string `min:"1" type:"string" required:"true"` 27796 27797 // The status of the model compilation job. 27798 // 27799 // CompilationJobStatus is a required field 27800 CompilationJobStatus *string `type:"string" required:"true" enum:"CompilationJobStatus"` 27801 27802 // The time when the model compilation job started. 27803 CompilationStartTime *time.Time `type:"timestamp"` 27804 27805 // The type of device that the model will run on after the compilation job has 27806 // completed. 27807 CompilationTargetDevice *string `type:"string" enum:"TargetDevice"` 27808 27809 // The type of accelerator that the model will run on after the compilation 27810 // job has completed. 27811 CompilationTargetPlatformAccelerator *string `type:"string" enum:"TargetPlatformAccelerator"` 27812 27813 // The type of architecture that the model will run on after the compilation 27814 // job has completed. 27815 CompilationTargetPlatformArch *string `type:"string" enum:"TargetPlatformArch"` 27816 27817 // The type of OS that the model will run on after the compilation job has completed. 27818 CompilationTargetPlatformOs *string `type:"string" enum:"TargetPlatformOs"` 27819 27820 // The time when the model compilation job was created. 27821 // 27822 // CreationTime is a required field 27823 CreationTime *time.Time `type:"timestamp" required:"true"` 27824 27825 // The time when the model compilation job was last modified. 27826 LastModifiedTime *time.Time `type:"timestamp"` 27827 } 27828 27829 // String returns the string representation. 27830 // 27831 // API parameter values that are decorated as "sensitive" in the API will not 27832 // be included in the string output. The member name will be present, but the 27833 // value will be replaced with "sensitive". 27834 func (s CompilationJobSummary) String() string { 27835 return awsutil.Prettify(s) 27836 } 27837 27838 // GoString returns the string representation. 27839 // 27840 // API parameter values that are decorated as "sensitive" in the API will not 27841 // be included in the string output. The member name will be present, but the 27842 // value will be replaced with "sensitive". 27843 func (s CompilationJobSummary) GoString() string { 27844 return s.String() 27845 } 27846 27847 // SetCompilationEndTime sets the CompilationEndTime field's value. 27848 func (s *CompilationJobSummary) SetCompilationEndTime(v time.Time) *CompilationJobSummary { 27849 s.CompilationEndTime = &v 27850 return s 27851 } 27852 27853 // SetCompilationJobArn sets the CompilationJobArn field's value. 27854 func (s *CompilationJobSummary) SetCompilationJobArn(v string) *CompilationJobSummary { 27855 s.CompilationJobArn = &v 27856 return s 27857 } 27858 27859 // SetCompilationJobName sets the CompilationJobName field's value. 27860 func (s *CompilationJobSummary) SetCompilationJobName(v string) *CompilationJobSummary { 27861 s.CompilationJobName = &v 27862 return s 27863 } 27864 27865 // SetCompilationJobStatus sets the CompilationJobStatus field's value. 27866 func (s *CompilationJobSummary) SetCompilationJobStatus(v string) *CompilationJobSummary { 27867 s.CompilationJobStatus = &v 27868 return s 27869 } 27870 27871 // SetCompilationStartTime sets the CompilationStartTime field's value. 27872 func (s *CompilationJobSummary) SetCompilationStartTime(v time.Time) *CompilationJobSummary { 27873 s.CompilationStartTime = &v 27874 return s 27875 } 27876 27877 // SetCompilationTargetDevice sets the CompilationTargetDevice field's value. 27878 func (s *CompilationJobSummary) SetCompilationTargetDevice(v string) *CompilationJobSummary { 27879 s.CompilationTargetDevice = &v 27880 return s 27881 } 27882 27883 // SetCompilationTargetPlatformAccelerator sets the CompilationTargetPlatformAccelerator field's value. 27884 func (s *CompilationJobSummary) SetCompilationTargetPlatformAccelerator(v string) *CompilationJobSummary { 27885 s.CompilationTargetPlatformAccelerator = &v 27886 return s 27887 } 27888 27889 // SetCompilationTargetPlatformArch sets the CompilationTargetPlatformArch field's value. 27890 func (s *CompilationJobSummary) SetCompilationTargetPlatformArch(v string) *CompilationJobSummary { 27891 s.CompilationTargetPlatformArch = &v 27892 return s 27893 } 27894 27895 // SetCompilationTargetPlatformOs sets the CompilationTargetPlatformOs field's value. 27896 func (s *CompilationJobSummary) SetCompilationTargetPlatformOs(v string) *CompilationJobSummary { 27897 s.CompilationTargetPlatformOs = &v 27898 return s 27899 } 27900 27901 // SetCreationTime sets the CreationTime field's value. 27902 func (s *CompilationJobSummary) SetCreationTime(v time.Time) *CompilationJobSummary { 27903 s.CreationTime = &v 27904 return s 27905 } 27906 27907 // SetLastModifiedTime sets the LastModifiedTime field's value. 27908 func (s *CompilationJobSummary) SetLastModifiedTime(v time.Time) *CompilationJobSummary { 27909 s.LastModifiedTime = &v 27910 return s 27911 } 27912 27913 // Metadata for a Condition step. 27914 type ConditionStepMetadata struct { 27915 _ struct{} `type:"structure"` 27916 27917 // The outcome of the Condition step evaluation. 27918 Outcome *string `type:"string" enum:"ConditionOutcome"` 27919 } 27920 27921 // String returns the string representation. 27922 // 27923 // API parameter values that are decorated as "sensitive" in the API will not 27924 // be included in the string output. The member name will be present, but the 27925 // value will be replaced with "sensitive". 27926 func (s ConditionStepMetadata) String() string { 27927 return awsutil.Prettify(s) 27928 } 27929 27930 // GoString returns the string representation. 27931 // 27932 // API parameter values that are decorated as "sensitive" in the API will not 27933 // be included in the string output. The member name will be present, but the 27934 // value will be replaced with "sensitive". 27935 func (s ConditionStepMetadata) GoString() string { 27936 return s.String() 27937 } 27938 27939 // SetOutcome sets the Outcome field's value. 27940 func (s *ConditionStepMetadata) SetOutcome(v string) *ConditionStepMetadata { 27941 s.Outcome = &v 27942 return s 27943 } 27944 27945 // There was a conflict when you attempted to modify a SageMaker entity such 27946 // as an Experiment or Artifact. 27947 type ConflictException struct { 27948 _ struct{} `type:"structure"` 27949 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 27950 27951 Message_ *string `locationName:"Message" type:"string"` 27952 } 27953 27954 // String returns the string representation. 27955 // 27956 // API parameter values that are decorated as "sensitive" in the API will not 27957 // be included in the string output. The member name will be present, but the 27958 // value will be replaced with "sensitive". 27959 func (s ConflictException) String() string { 27960 return awsutil.Prettify(s) 27961 } 27962 27963 // GoString returns the string representation. 27964 // 27965 // API parameter values that are decorated as "sensitive" in the API will not 27966 // be included in the string output. The member name will be present, but the 27967 // value will be replaced with "sensitive". 27968 func (s ConflictException) GoString() string { 27969 return s.String() 27970 } 27971 27972 func newErrorConflictException(v protocol.ResponseMetadata) error { 27973 return &ConflictException{ 27974 RespMetadata: v, 27975 } 27976 } 27977 27978 // Code returns the exception type name. 27979 func (s *ConflictException) Code() string { 27980 return "ConflictException" 27981 } 27982 27983 // Message returns the exception's message. 27984 func (s *ConflictException) Message() string { 27985 if s.Message_ != nil { 27986 return *s.Message_ 27987 } 27988 return "" 27989 } 27990 27991 // OrigErr always returns nil, satisfies awserr.Error interface. 27992 func (s *ConflictException) OrigErr() error { 27993 return nil 27994 } 27995 27996 func (s *ConflictException) Error() string { 27997 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 27998 } 27999 28000 // Status code returns the HTTP status code for the request's response error. 28001 func (s *ConflictException) StatusCode() int { 28002 return s.RespMetadata.StatusCode 28003 } 28004 28005 // RequestID returns the service's response RequestID for request. 28006 func (s *ConflictException) RequestID() string { 28007 return s.RespMetadata.RequestID 28008 } 28009 28010 // Describes the container, as part of model definition. 28011 type ContainerDefinition struct { 28012 _ struct{} `type:"structure"` 28013 28014 // This parameter is ignored for models that contain only a PrimaryContainer. 28015 // 28016 // When a ContainerDefinition is part of an inference pipeline, the value of 28017 // the parameter uniquely identifies the container for the purposes of logging 28018 // and metrics. For information, see Use Logs and Metrics to Monitor an Inference 28019 // Pipeline (https://docs.aws.amazon.com/sagemaker/latest/dg/inference-pipeline-logs-metrics.html). 28020 // If you don't specify a value for this parameter for a ContainerDefinition 28021 // that is part of an inference pipeline, a unique name is automatically assigned 28022 // based on the position of the ContainerDefinition in the pipeline. If you 28023 // specify a value for the ContainerHostName for any ContainerDefinition that 28024 // is part of an inference pipeline, you must specify a value for the ContainerHostName 28025 // parameter of every ContainerDefinition in that pipeline. 28026 ContainerHostname *string `type:"string"` 28027 28028 // The environment variables to set in the Docker container. Each key and value 28029 // in the Environment string to string map can have length of up to 1024. We 28030 // support up to 16 entries in the map. 28031 Environment map[string]*string `type:"map"` 28032 28033 // The path where inference code is stored. This can be either in Amazon EC2 28034 // Container Registry or in a Docker registry that is accessible from the same 28035 // VPC that you configure for your endpoint. If you are using your own custom 28036 // algorithm instead of an algorithm provided by Amazon SageMaker, the inference 28037 // code must meet Amazon SageMaker requirements. Amazon SageMaker supports both 28038 // registry/repository[:tag] and registry/repository[@digest] image path formats. 28039 // For more information, see Using Your Own Algorithms with Amazon SageMaker 28040 // (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html) 28041 Image *string `type:"string"` 28042 28043 // Specifies whether the model container is in Amazon ECR or a private Docker 28044 // registry accessible from your Amazon Virtual Private Cloud (VPC). For information 28045 // about storing containers in a private Docker registry, see Use a Private 28046 // Docker Registry for Real-Time Inference Containers (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-containers-inference-private.html) 28047 ImageConfig *ImageConfig `type:"structure"` 28048 28049 // Whether the container hosts a single model or multiple models. 28050 Mode *string `type:"string" enum:"ContainerMode"` 28051 28052 // The S3 path where the model artifacts, which result from model training, 28053 // are stored. This path must point to a single gzip compressed tar archive 28054 // (.tar.gz suffix). The S3 path is required for Amazon SageMaker built-in algorithms, 28055 // but not if you use your own algorithms. For more information on built-in 28056 // algorithms, see Common Parameters (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-algo-docker-registry-paths.html). 28057 // 28058 // The model artifacts must be in an S3 bucket that is in the same region as 28059 // the model or endpoint you are creating. 28060 // 28061 // If you provide a value for this parameter, Amazon SageMaker uses Amazon Web 28062 // Services Security Token Service to download model artifacts from the S3 path 28063 // you provide. Amazon Web Services STS is activated in your IAM user account 28064 // by default. If you previously deactivated Amazon Web Services STS for a region, 28065 // you need to reactivate Amazon Web Services STS for that region. For more 28066 // information, see Activating and Deactivating Amazon Web Services STS in an 28067 // Amazon Web Services Region (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html) 28068 // in the Amazon Web Services Identity and Access Management User Guide. 28069 // 28070 // If you use a built-in algorithm to create a model, Amazon SageMaker requires 28071 // that you provide a S3 path to the model artifacts in ModelDataUrl. 28072 ModelDataUrl *string `type:"string"` 28073 28074 // The name or Amazon Resource Name (ARN) of the model package to use to create 28075 // the model. 28076 ModelPackageName *string `min:"1" type:"string"` 28077 28078 // Specifies additional configuration for multi-model endpoints. 28079 MultiModelConfig *MultiModelConfig `type:"structure"` 28080 } 28081 28082 // String returns the string representation. 28083 // 28084 // API parameter values that are decorated as "sensitive" in the API will not 28085 // be included in the string output. The member name will be present, but the 28086 // value will be replaced with "sensitive". 28087 func (s ContainerDefinition) String() string { 28088 return awsutil.Prettify(s) 28089 } 28090 28091 // GoString returns the string representation. 28092 // 28093 // API parameter values that are decorated as "sensitive" in the API will not 28094 // be included in the string output. The member name will be present, but the 28095 // value will be replaced with "sensitive". 28096 func (s ContainerDefinition) GoString() string { 28097 return s.String() 28098 } 28099 28100 // Validate inspects the fields of the type to determine if they are valid. 28101 func (s *ContainerDefinition) Validate() error { 28102 invalidParams := request.ErrInvalidParams{Context: "ContainerDefinition"} 28103 if s.ModelPackageName != nil && len(*s.ModelPackageName) < 1 { 28104 invalidParams.Add(request.NewErrParamMinLen("ModelPackageName", 1)) 28105 } 28106 if s.ImageConfig != nil { 28107 if err := s.ImageConfig.Validate(); err != nil { 28108 invalidParams.AddNested("ImageConfig", err.(request.ErrInvalidParams)) 28109 } 28110 } 28111 28112 if invalidParams.Len() > 0 { 28113 return invalidParams 28114 } 28115 return nil 28116 } 28117 28118 // SetContainerHostname sets the ContainerHostname field's value. 28119 func (s *ContainerDefinition) SetContainerHostname(v string) *ContainerDefinition { 28120 s.ContainerHostname = &v 28121 return s 28122 } 28123 28124 // SetEnvironment sets the Environment field's value. 28125 func (s *ContainerDefinition) SetEnvironment(v map[string]*string) *ContainerDefinition { 28126 s.Environment = v 28127 return s 28128 } 28129 28130 // SetImage sets the Image field's value. 28131 func (s *ContainerDefinition) SetImage(v string) *ContainerDefinition { 28132 s.Image = &v 28133 return s 28134 } 28135 28136 // SetImageConfig sets the ImageConfig field's value. 28137 func (s *ContainerDefinition) SetImageConfig(v *ImageConfig) *ContainerDefinition { 28138 s.ImageConfig = v 28139 return s 28140 } 28141 28142 // SetMode sets the Mode field's value. 28143 func (s *ContainerDefinition) SetMode(v string) *ContainerDefinition { 28144 s.Mode = &v 28145 return s 28146 } 28147 28148 // SetModelDataUrl sets the ModelDataUrl field's value. 28149 func (s *ContainerDefinition) SetModelDataUrl(v string) *ContainerDefinition { 28150 s.ModelDataUrl = &v 28151 return s 28152 } 28153 28154 // SetModelPackageName sets the ModelPackageName field's value. 28155 func (s *ContainerDefinition) SetModelPackageName(v string) *ContainerDefinition { 28156 s.ModelPackageName = &v 28157 return s 28158 } 28159 28160 // SetMultiModelConfig sets the MultiModelConfig field's value. 28161 func (s *ContainerDefinition) SetMultiModelConfig(v *MultiModelConfig) *ContainerDefinition { 28162 s.MultiModelConfig = v 28163 return s 28164 } 28165 28166 // A structure describing the source of a context. 28167 type ContextSource struct { 28168 _ struct{} `type:"structure"` 28169 28170 // The ID of the source. 28171 SourceId *string `type:"string"` 28172 28173 // The type of the source. 28174 SourceType *string `type:"string"` 28175 28176 // The URI of the source. 28177 // 28178 // SourceUri is a required field 28179 SourceUri *string `type:"string" required:"true"` 28180 } 28181 28182 // String returns the string representation. 28183 // 28184 // API parameter values that are decorated as "sensitive" in the API will not 28185 // be included in the string output. The member name will be present, but the 28186 // value will be replaced with "sensitive". 28187 func (s ContextSource) String() string { 28188 return awsutil.Prettify(s) 28189 } 28190 28191 // GoString returns the string representation. 28192 // 28193 // API parameter values that are decorated as "sensitive" in the API will not 28194 // be included in the string output. The member name will be present, but the 28195 // value will be replaced with "sensitive". 28196 func (s ContextSource) GoString() string { 28197 return s.String() 28198 } 28199 28200 // Validate inspects the fields of the type to determine if they are valid. 28201 func (s *ContextSource) Validate() error { 28202 invalidParams := request.ErrInvalidParams{Context: "ContextSource"} 28203 if s.SourceUri == nil { 28204 invalidParams.Add(request.NewErrParamRequired("SourceUri")) 28205 } 28206 28207 if invalidParams.Len() > 0 { 28208 return invalidParams 28209 } 28210 return nil 28211 } 28212 28213 // SetSourceId sets the SourceId field's value. 28214 func (s *ContextSource) SetSourceId(v string) *ContextSource { 28215 s.SourceId = &v 28216 return s 28217 } 28218 28219 // SetSourceType sets the SourceType field's value. 28220 func (s *ContextSource) SetSourceType(v string) *ContextSource { 28221 s.SourceType = &v 28222 return s 28223 } 28224 28225 // SetSourceUri sets the SourceUri field's value. 28226 func (s *ContextSource) SetSourceUri(v string) *ContextSource { 28227 s.SourceUri = &v 28228 return s 28229 } 28230 28231 // Lists a summary of the properties of a context. A context provides a logical 28232 // grouping of other entities. 28233 type ContextSummary struct { 28234 _ struct{} `type:"structure"` 28235 28236 // The Amazon Resource Name (ARN) of the context. 28237 ContextArn *string `type:"string"` 28238 28239 // The name of the context. 28240 ContextName *string `min:"1" type:"string"` 28241 28242 // The type of the context. 28243 ContextType *string `type:"string"` 28244 28245 // When the context was created. 28246 CreationTime *time.Time `type:"timestamp"` 28247 28248 // When the context was last modified. 28249 LastModifiedTime *time.Time `type:"timestamp"` 28250 28251 // The source of the context. 28252 Source *ContextSource `type:"structure"` 28253 } 28254 28255 // String returns the string representation. 28256 // 28257 // API parameter values that are decorated as "sensitive" in the API will not 28258 // be included in the string output. The member name will be present, but the 28259 // value will be replaced with "sensitive". 28260 func (s ContextSummary) String() string { 28261 return awsutil.Prettify(s) 28262 } 28263 28264 // GoString returns the string representation. 28265 // 28266 // API parameter values that are decorated as "sensitive" in the API will not 28267 // be included in the string output. The member name will be present, but the 28268 // value will be replaced with "sensitive". 28269 func (s ContextSummary) GoString() string { 28270 return s.String() 28271 } 28272 28273 // SetContextArn sets the ContextArn field's value. 28274 func (s *ContextSummary) SetContextArn(v string) *ContextSummary { 28275 s.ContextArn = &v 28276 return s 28277 } 28278 28279 // SetContextName sets the ContextName field's value. 28280 func (s *ContextSummary) SetContextName(v string) *ContextSummary { 28281 s.ContextName = &v 28282 return s 28283 } 28284 28285 // SetContextType sets the ContextType field's value. 28286 func (s *ContextSummary) SetContextType(v string) *ContextSummary { 28287 s.ContextType = &v 28288 return s 28289 } 28290 28291 // SetCreationTime sets the CreationTime field's value. 28292 func (s *ContextSummary) SetCreationTime(v time.Time) *ContextSummary { 28293 s.CreationTime = &v 28294 return s 28295 } 28296 28297 // SetLastModifiedTime sets the LastModifiedTime field's value. 28298 func (s *ContextSummary) SetLastModifiedTime(v time.Time) *ContextSummary { 28299 s.LastModifiedTime = &v 28300 return s 28301 } 28302 28303 // SetSource sets the Source field's value. 28304 func (s *ContextSummary) SetSource(v *ContextSource) *ContextSummary { 28305 s.Source = v 28306 return s 28307 } 28308 28309 // A list of continuous hyperparameters to tune. 28310 type ContinuousParameterRange struct { 28311 _ struct{} `type:"structure"` 28312 28313 // The maximum value for the hyperparameter. The tuning job uses floating-point 28314 // values between MinValue value and this value for tuning. 28315 // 28316 // MaxValue is a required field 28317 MaxValue *string `type:"string" required:"true"` 28318 28319 // The minimum value for the hyperparameter. The tuning job uses floating-point 28320 // values between this value and MaxValuefor tuning. 28321 // 28322 // MinValue is a required field 28323 MinValue *string `type:"string" required:"true"` 28324 28325 // The name of the continuous hyperparameter to tune. 28326 // 28327 // Name is a required field 28328 Name *string `type:"string" required:"true"` 28329 28330 // The scale that hyperparameter tuning uses to search the hyperparameter range. 28331 // For information about choosing a hyperparameter scale, see Hyperparameter 28332 // Scaling (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-define-ranges.html#scaling-type). 28333 // One of the following values: 28334 // 28335 // Auto 28336 // 28337 // Amazon SageMaker hyperparameter tuning chooses the best scale for the hyperparameter. 28338 // 28339 // Linear 28340 // 28341 // Hyperparameter tuning searches the values in the hyperparameter range by 28342 // using a linear scale. 28343 // 28344 // Logarithmic 28345 // 28346 // Hyperparameter tuning searches the values in the hyperparameter range by 28347 // using a logarithmic scale. 28348 // 28349 // Logarithmic scaling works only for ranges that have only values greater than 28350 // 0. 28351 // 28352 // ReverseLogarithmic 28353 // 28354 // Hyperparameter tuning searches the values in the hyperparameter range by 28355 // using a reverse logarithmic scale. 28356 // 28357 // Reverse logarithmic scaling works only for ranges that are entirely within 28358 // the range 0<=x<1.0. 28359 ScalingType *string `type:"string" enum:"HyperParameterScalingType"` 28360 } 28361 28362 // String returns the string representation. 28363 // 28364 // API parameter values that are decorated as "sensitive" in the API will not 28365 // be included in the string output. The member name will be present, but the 28366 // value will be replaced with "sensitive". 28367 func (s ContinuousParameterRange) String() string { 28368 return awsutil.Prettify(s) 28369 } 28370 28371 // GoString returns the string representation. 28372 // 28373 // API parameter values that are decorated as "sensitive" in the API will not 28374 // be included in the string output. The member name will be present, but the 28375 // value will be replaced with "sensitive". 28376 func (s ContinuousParameterRange) GoString() string { 28377 return s.String() 28378 } 28379 28380 // Validate inspects the fields of the type to determine if they are valid. 28381 func (s *ContinuousParameterRange) Validate() error { 28382 invalidParams := request.ErrInvalidParams{Context: "ContinuousParameterRange"} 28383 if s.MaxValue == nil { 28384 invalidParams.Add(request.NewErrParamRequired("MaxValue")) 28385 } 28386 if s.MinValue == nil { 28387 invalidParams.Add(request.NewErrParamRequired("MinValue")) 28388 } 28389 if s.Name == nil { 28390 invalidParams.Add(request.NewErrParamRequired("Name")) 28391 } 28392 28393 if invalidParams.Len() > 0 { 28394 return invalidParams 28395 } 28396 return nil 28397 } 28398 28399 // SetMaxValue sets the MaxValue field's value. 28400 func (s *ContinuousParameterRange) SetMaxValue(v string) *ContinuousParameterRange { 28401 s.MaxValue = &v 28402 return s 28403 } 28404 28405 // SetMinValue sets the MinValue field's value. 28406 func (s *ContinuousParameterRange) SetMinValue(v string) *ContinuousParameterRange { 28407 s.MinValue = &v 28408 return s 28409 } 28410 28411 // SetName sets the Name field's value. 28412 func (s *ContinuousParameterRange) SetName(v string) *ContinuousParameterRange { 28413 s.Name = &v 28414 return s 28415 } 28416 28417 // SetScalingType sets the ScalingType field's value. 28418 func (s *ContinuousParameterRange) SetScalingType(v string) *ContinuousParameterRange { 28419 s.ScalingType = &v 28420 return s 28421 } 28422 28423 // Defines the possible values for a continuous hyperparameter. 28424 type ContinuousParameterRangeSpecification struct { 28425 _ struct{} `type:"structure"` 28426 28427 // The maximum floating-point value allowed. 28428 // 28429 // MaxValue is a required field 28430 MaxValue *string `type:"string" required:"true"` 28431 28432 // The minimum floating-point value allowed. 28433 // 28434 // MinValue is a required field 28435 MinValue *string `type:"string" required:"true"` 28436 } 28437 28438 // String returns the string representation. 28439 // 28440 // API parameter values that are decorated as "sensitive" in the API will not 28441 // be included in the string output. The member name will be present, but the 28442 // value will be replaced with "sensitive". 28443 func (s ContinuousParameterRangeSpecification) String() string { 28444 return awsutil.Prettify(s) 28445 } 28446 28447 // GoString returns the string representation. 28448 // 28449 // API parameter values that are decorated as "sensitive" in the API will not 28450 // be included in the string output. The member name will be present, but the 28451 // value will be replaced with "sensitive". 28452 func (s ContinuousParameterRangeSpecification) GoString() string { 28453 return s.String() 28454 } 28455 28456 // Validate inspects the fields of the type to determine if they are valid. 28457 func (s *ContinuousParameterRangeSpecification) Validate() error { 28458 invalidParams := request.ErrInvalidParams{Context: "ContinuousParameterRangeSpecification"} 28459 if s.MaxValue == nil { 28460 invalidParams.Add(request.NewErrParamRequired("MaxValue")) 28461 } 28462 if s.MinValue == nil { 28463 invalidParams.Add(request.NewErrParamRequired("MinValue")) 28464 } 28465 28466 if invalidParams.Len() > 0 { 28467 return invalidParams 28468 } 28469 return nil 28470 } 28471 28472 // SetMaxValue sets the MaxValue field's value. 28473 func (s *ContinuousParameterRangeSpecification) SetMaxValue(v string) *ContinuousParameterRangeSpecification { 28474 s.MaxValue = &v 28475 return s 28476 } 28477 28478 // SetMinValue sets the MinValue field's value. 28479 func (s *ContinuousParameterRangeSpecification) SetMinValue(v string) *ContinuousParameterRangeSpecification { 28480 s.MinValue = &v 28481 return s 28482 } 28483 28484 type CreateActionInput struct { 28485 _ struct{} `type:"structure"` 28486 28487 // The name of the action. Must be unique to your account in an Amazon Web Services 28488 // Region. 28489 // 28490 // ActionName is a required field 28491 ActionName *string `min:"1" type:"string" required:"true"` 28492 28493 // The action type. 28494 // 28495 // ActionType is a required field 28496 ActionType *string `type:"string" required:"true"` 28497 28498 // The description of the action. 28499 Description *string `type:"string"` 28500 28501 // Metadata properties of the tracking entity, trial, or trial component. 28502 MetadataProperties *MetadataProperties `type:"structure"` 28503 28504 // A list of properties to add to the action. 28505 Properties map[string]*string `type:"map"` 28506 28507 // The source type, ID, and URI. 28508 // 28509 // Source is a required field 28510 Source *ActionSource `type:"structure" required:"true"` 28511 28512 // The status of the action. 28513 Status *string `type:"string" enum:"ActionStatus"` 28514 28515 // A list of tags to apply to the action. 28516 Tags []*Tag `type:"list"` 28517 } 28518 28519 // String returns the string representation. 28520 // 28521 // API parameter values that are decorated as "sensitive" in the API will not 28522 // be included in the string output. The member name will be present, but the 28523 // value will be replaced with "sensitive". 28524 func (s CreateActionInput) String() string { 28525 return awsutil.Prettify(s) 28526 } 28527 28528 // GoString returns the string representation. 28529 // 28530 // API parameter values that are decorated as "sensitive" in the API will not 28531 // be included in the string output. The member name will be present, but the 28532 // value will be replaced with "sensitive". 28533 func (s CreateActionInput) GoString() string { 28534 return s.String() 28535 } 28536 28537 // Validate inspects the fields of the type to determine if they are valid. 28538 func (s *CreateActionInput) Validate() error { 28539 invalidParams := request.ErrInvalidParams{Context: "CreateActionInput"} 28540 if s.ActionName == nil { 28541 invalidParams.Add(request.NewErrParamRequired("ActionName")) 28542 } 28543 if s.ActionName != nil && len(*s.ActionName) < 1 { 28544 invalidParams.Add(request.NewErrParamMinLen("ActionName", 1)) 28545 } 28546 if s.ActionType == nil { 28547 invalidParams.Add(request.NewErrParamRequired("ActionType")) 28548 } 28549 if s.Source == nil { 28550 invalidParams.Add(request.NewErrParamRequired("Source")) 28551 } 28552 if s.Source != nil { 28553 if err := s.Source.Validate(); err != nil { 28554 invalidParams.AddNested("Source", err.(request.ErrInvalidParams)) 28555 } 28556 } 28557 if s.Tags != nil { 28558 for i, v := range s.Tags { 28559 if v == nil { 28560 continue 28561 } 28562 if err := v.Validate(); err != nil { 28563 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 28564 } 28565 } 28566 } 28567 28568 if invalidParams.Len() > 0 { 28569 return invalidParams 28570 } 28571 return nil 28572 } 28573 28574 // SetActionName sets the ActionName field's value. 28575 func (s *CreateActionInput) SetActionName(v string) *CreateActionInput { 28576 s.ActionName = &v 28577 return s 28578 } 28579 28580 // SetActionType sets the ActionType field's value. 28581 func (s *CreateActionInput) SetActionType(v string) *CreateActionInput { 28582 s.ActionType = &v 28583 return s 28584 } 28585 28586 // SetDescription sets the Description field's value. 28587 func (s *CreateActionInput) SetDescription(v string) *CreateActionInput { 28588 s.Description = &v 28589 return s 28590 } 28591 28592 // SetMetadataProperties sets the MetadataProperties field's value. 28593 func (s *CreateActionInput) SetMetadataProperties(v *MetadataProperties) *CreateActionInput { 28594 s.MetadataProperties = v 28595 return s 28596 } 28597 28598 // SetProperties sets the Properties field's value. 28599 func (s *CreateActionInput) SetProperties(v map[string]*string) *CreateActionInput { 28600 s.Properties = v 28601 return s 28602 } 28603 28604 // SetSource sets the Source field's value. 28605 func (s *CreateActionInput) SetSource(v *ActionSource) *CreateActionInput { 28606 s.Source = v 28607 return s 28608 } 28609 28610 // SetStatus sets the Status field's value. 28611 func (s *CreateActionInput) SetStatus(v string) *CreateActionInput { 28612 s.Status = &v 28613 return s 28614 } 28615 28616 // SetTags sets the Tags field's value. 28617 func (s *CreateActionInput) SetTags(v []*Tag) *CreateActionInput { 28618 s.Tags = v 28619 return s 28620 } 28621 28622 type CreateActionOutput struct { 28623 _ struct{} `type:"structure"` 28624 28625 // The Amazon Resource Name (ARN) of the action. 28626 ActionArn *string `type:"string"` 28627 } 28628 28629 // String returns the string representation. 28630 // 28631 // API parameter values that are decorated as "sensitive" in the API will not 28632 // be included in the string output. The member name will be present, but the 28633 // value will be replaced with "sensitive". 28634 func (s CreateActionOutput) String() string { 28635 return awsutil.Prettify(s) 28636 } 28637 28638 // GoString returns the string representation. 28639 // 28640 // API parameter values that are decorated as "sensitive" in the API will not 28641 // be included in the string output. The member name will be present, but the 28642 // value will be replaced with "sensitive". 28643 func (s CreateActionOutput) GoString() string { 28644 return s.String() 28645 } 28646 28647 // SetActionArn sets the ActionArn field's value. 28648 func (s *CreateActionOutput) SetActionArn(v string) *CreateActionOutput { 28649 s.ActionArn = &v 28650 return s 28651 } 28652 28653 type CreateAlgorithmInput struct { 28654 _ struct{} `type:"structure"` 28655 28656 // A description of the algorithm. 28657 AlgorithmDescription *string `type:"string"` 28658 28659 // The name of the algorithm. 28660 // 28661 // AlgorithmName is a required field 28662 AlgorithmName *string `min:"1" type:"string" required:"true"` 28663 28664 // Whether to certify the algorithm so that it can be listed in Amazon Web Services 28665 // Marketplace. 28666 CertifyForMarketplace *bool `type:"boolean"` 28667 28668 // Specifies details about inference jobs that the algorithm runs, including 28669 // the following: 28670 // 28671 // * The Amazon ECR paths of containers that contain the inference code and 28672 // model artifacts. 28673 // 28674 // * The instance types that the algorithm supports for transform jobs and 28675 // real-time endpoints used for inference. 28676 // 28677 // * The input and output content formats that the algorithm supports for 28678 // inference. 28679 InferenceSpecification *InferenceSpecification `type:"structure"` 28680 28681 // An array of key-value pairs. You can use tags to categorize your Amazon Web 28682 // Services resources in different ways, for example, by purpose, owner, or 28683 // environment. For more information, see Tagging Amazon Web Services Resources 28684 // (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html). 28685 Tags []*Tag `type:"list"` 28686 28687 // Specifies details about training jobs run by this algorithm, including the 28688 // following: 28689 // 28690 // * The Amazon ECR path of the container and the version digest of the algorithm. 28691 // 28692 // * The hyperparameters that the algorithm supports. 28693 // 28694 // * The instance types that the algorithm supports for training. 28695 // 28696 // * Whether the algorithm supports distributed training. 28697 // 28698 // * The metrics that the algorithm emits to Amazon CloudWatch. 28699 // 28700 // * Which metrics that the algorithm emits can be used as the objective 28701 // metric for hyperparameter tuning jobs. 28702 // 28703 // * The input channels that the algorithm supports for training data. For 28704 // example, an algorithm might support train, validation, and test channels. 28705 // 28706 // TrainingSpecification is a required field 28707 TrainingSpecification *TrainingSpecification `type:"structure" required:"true"` 28708 28709 // Specifies configurations for one or more training jobs and that Amazon SageMaker 28710 // runs to test the algorithm's training code and, optionally, one or more batch 28711 // transform jobs that Amazon SageMaker runs to test the algorithm's inference 28712 // code. 28713 ValidationSpecification *AlgorithmValidationSpecification `type:"structure"` 28714 } 28715 28716 // String returns the string representation. 28717 // 28718 // API parameter values that are decorated as "sensitive" in the API will not 28719 // be included in the string output. The member name will be present, but the 28720 // value will be replaced with "sensitive". 28721 func (s CreateAlgorithmInput) String() string { 28722 return awsutil.Prettify(s) 28723 } 28724 28725 // GoString returns the string representation. 28726 // 28727 // API parameter values that are decorated as "sensitive" in the API will not 28728 // be included in the string output. The member name will be present, but the 28729 // value will be replaced with "sensitive". 28730 func (s CreateAlgorithmInput) GoString() string { 28731 return s.String() 28732 } 28733 28734 // Validate inspects the fields of the type to determine if they are valid. 28735 func (s *CreateAlgorithmInput) Validate() error { 28736 invalidParams := request.ErrInvalidParams{Context: "CreateAlgorithmInput"} 28737 if s.AlgorithmName == nil { 28738 invalidParams.Add(request.NewErrParamRequired("AlgorithmName")) 28739 } 28740 if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 { 28741 invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1)) 28742 } 28743 if s.TrainingSpecification == nil { 28744 invalidParams.Add(request.NewErrParamRequired("TrainingSpecification")) 28745 } 28746 if s.InferenceSpecification != nil { 28747 if err := s.InferenceSpecification.Validate(); err != nil { 28748 invalidParams.AddNested("InferenceSpecification", err.(request.ErrInvalidParams)) 28749 } 28750 } 28751 if s.Tags != nil { 28752 for i, v := range s.Tags { 28753 if v == nil { 28754 continue 28755 } 28756 if err := v.Validate(); err != nil { 28757 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 28758 } 28759 } 28760 } 28761 if s.TrainingSpecification != nil { 28762 if err := s.TrainingSpecification.Validate(); err != nil { 28763 invalidParams.AddNested("TrainingSpecification", err.(request.ErrInvalidParams)) 28764 } 28765 } 28766 if s.ValidationSpecification != nil { 28767 if err := s.ValidationSpecification.Validate(); err != nil { 28768 invalidParams.AddNested("ValidationSpecification", err.(request.ErrInvalidParams)) 28769 } 28770 } 28771 28772 if invalidParams.Len() > 0 { 28773 return invalidParams 28774 } 28775 return nil 28776 } 28777 28778 // SetAlgorithmDescription sets the AlgorithmDescription field's value. 28779 func (s *CreateAlgorithmInput) SetAlgorithmDescription(v string) *CreateAlgorithmInput { 28780 s.AlgorithmDescription = &v 28781 return s 28782 } 28783 28784 // SetAlgorithmName sets the AlgorithmName field's value. 28785 func (s *CreateAlgorithmInput) SetAlgorithmName(v string) *CreateAlgorithmInput { 28786 s.AlgorithmName = &v 28787 return s 28788 } 28789 28790 // SetCertifyForMarketplace sets the CertifyForMarketplace field's value. 28791 func (s *CreateAlgorithmInput) SetCertifyForMarketplace(v bool) *CreateAlgorithmInput { 28792 s.CertifyForMarketplace = &v 28793 return s 28794 } 28795 28796 // SetInferenceSpecification sets the InferenceSpecification field's value. 28797 func (s *CreateAlgorithmInput) SetInferenceSpecification(v *InferenceSpecification) *CreateAlgorithmInput { 28798 s.InferenceSpecification = v 28799 return s 28800 } 28801 28802 // SetTags sets the Tags field's value. 28803 func (s *CreateAlgorithmInput) SetTags(v []*Tag) *CreateAlgorithmInput { 28804 s.Tags = v 28805 return s 28806 } 28807 28808 // SetTrainingSpecification sets the TrainingSpecification field's value. 28809 func (s *CreateAlgorithmInput) SetTrainingSpecification(v *TrainingSpecification) *CreateAlgorithmInput { 28810 s.TrainingSpecification = v 28811 return s 28812 } 28813 28814 // SetValidationSpecification sets the ValidationSpecification field's value. 28815 func (s *CreateAlgorithmInput) SetValidationSpecification(v *AlgorithmValidationSpecification) *CreateAlgorithmInput { 28816 s.ValidationSpecification = v 28817 return s 28818 } 28819 28820 type CreateAlgorithmOutput struct { 28821 _ struct{} `type:"structure"` 28822 28823 // The Amazon Resource Name (ARN) of the new algorithm. 28824 // 28825 // AlgorithmArn is a required field 28826 AlgorithmArn *string `min:"1" type:"string" required:"true"` 28827 } 28828 28829 // String returns the string representation. 28830 // 28831 // API parameter values that are decorated as "sensitive" in the API will not 28832 // be included in the string output. The member name will be present, but the 28833 // value will be replaced with "sensitive". 28834 func (s CreateAlgorithmOutput) String() string { 28835 return awsutil.Prettify(s) 28836 } 28837 28838 // GoString returns the string representation. 28839 // 28840 // API parameter values that are decorated as "sensitive" in the API will not 28841 // be included in the string output. The member name will be present, but the 28842 // value will be replaced with "sensitive". 28843 func (s CreateAlgorithmOutput) GoString() string { 28844 return s.String() 28845 } 28846 28847 // SetAlgorithmArn sets the AlgorithmArn field's value. 28848 func (s *CreateAlgorithmOutput) SetAlgorithmArn(v string) *CreateAlgorithmOutput { 28849 s.AlgorithmArn = &v 28850 return s 28851 } 28852 28853 type CreateAppImageConfigInput struct { 28854 _ struct{} `type:"structure"` 28855 28856 // The name of the AppImageConfig. Must be unique to your account. 28857 // 28858 // AppImageConfigName is a required field 28859 AppImageConfigName *string `type:"string" required:"true"` 28860 28861 // The KernelGatewayImageConfig. 28862 KernelGatewayImageConfig *KernelGatewayImageConfig `type:"structure"` 28863 28864 // A list of tags to apply to the AppImageConfig. 28865 Tags []*Tag `type:"list"` 28866 } 28867 28868 // String returns the string representation. 28869 // 28870 // API parameter values that are decorated as "sensitive" in the API will not 28871 // be included in the string output. The member name will be present, but the 28872 // value will be replaced with "sensitive". 28873 func (s CreateAppImageConfigInput) String() string { 28874 return awsutil.Prettify(s) 28875 } 28876 28877 // GoString returns the string representation. 28878 // 28879 // API parameter values that are decorated as "sensitive" in the API will not 28880 // be included in the string output. The member name will be present, but the 28881 // value will be replaced with "sensitive". 28882 func (s CreateAppImageConfigInput) GoString() string { 28883 return s.String() 28884 } 28885 28886 // Validate inspects the fields of the type to determine if they are valid. 28887 func (s *CreateAppImageConfigInput) Validate() error { 28888 invalidParams := request.ErrInvalidParams{Context: "CreateAppImageConfigInput"} 28889 if s.AppImageConfigName == nil { 28890 invalidParams.Add(request.NewErrParamRequired("AppImageConfigName")) 28891 } 28892 if s.KernelGatewayImageConfig != nil { 28893 if err := s.KernelGatewayImageConfig.Validate(); err != nil { 28894 invalidParams.AddNested("KernelGatewayImageConfig", err.(request.ErrInvalidParams)) 28895 } 28896 } 28897 if s.Tags != nil { 28898 for i, v := range s.Tags { 28899 if v == nil { 28900 continue 28901 } 28902 if err := v.Validate(); err != nil { 28903 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 28904 } 28905 } 28906 } 28907 28908 if invalidParams.Len() > 0 { 28909 return invalidParams 28910 } 28911 return nil 28912 } 28913 28914 // SetAppImageConfigName sets the AppImageConfigName field's value. 28915 func (s *CreateAppImageConfigInput) SetAppImageConfigName(v string) *CreateAppImageConfigInput { 28916 s.AppImageConfigName = &v 28917 return s 28918 } 28919 28920 // SetKernelGatewayImageConfig sets the KernelGatewayImageConfig field's value. 28921 func (s *CreateAppImageConfigInput) SetKernelGatewayImageConfig(v *KernelGatewayImageConfig) *CreateAppImageConfigInput { 28922 s.KernelGatewayImageConfig = v 28923 return s 28924 } 28925 28926 // SetTags sets the Tags field's value. 28927 func (s *CreateAppImageConfigInput) SetTags(v []*Tag) *CreateAppImageConfigInput { 28928 s.Tags = v 28929 return s 28930 } 28931 28932 type CreateAppImageConfigOutput struct { 28933 _ struct{} `type:"structure"` 28934 28935 // The Amazon Resource Name (ARN) of the AppImageConfig. 28936 AppImageConfigArn *string `type:"string"` 28937 } 28938 28939 // String returns the string representation. 28940 // 28941 // API parameter values that are decorated as "sensitive" in the API will not 28942 // be included in the string output. The member name will be present, but the 28943 // value will be replaced with "sensitive". 28944 func (s CreateAppImageConfigOutput) String() string { 28945 return awsutil.Prettify(s) 28946 } 28947 28948 // GoString returns the string representation. 28949 // 28950 // API parameter values that are decorated as "sensitive" in the API will not 28951 // be included in the string output. The member name will be present, but the 28952 // value will be replaced with "sensitive". 28953 func (s CreateAppImageConfigOutput) GoString() string { 28954 return s.String() 28955 } 28956 28957 // SetAppImageConfigArn sets the AppImageConfigArn field's value. 28958 func (s *CreateAppImageConfigOutput) SetAppImageConfigArn(v string) *CreateAppImageConfigOutput { 28959 s.AppImageConfigArn = &v 28960 return s 28961 } 28962 28963 type CreateAppInput struct { 28964 _ struct{} `type:"structure"` 28965 28966 // The name of the app. 28967 // 28968 // AppName is a required field 28969 AppName *string `type:"string" required:"true"` 28970 28971 // The type of app. Supported apps are JupyterServer and KernelGateway. TensorBoard 28972 // is not supported. 28973 // 28974 // AppType is a required field 28975 AppType *string `type:"string" required:"true" enum:"AppType"` 28976 28977 // The domain ID. 28978 // 28979 // DomainId is a required field 28980 DomainId *string `type:"string" required:"true"` 28981 28982 // The instance type and the Amazon Resource Name (ARN) of the SageMaker image 28983 // created on the instance. 28984 ResourceSpec *ResourceSpec `type:"structure"` 28985 28986 // Each tag consists of a key and an optional value. Tag keys must be unique 28987 // per resource. 28988 Tags []*Tag `type:"list"` 28989 28990 // The user profile name. 28991 // 28992 // UserProfileName is a required field 28993 UserProfileName *string `type:"string" required:"true"` 28994 } 28995 28996 // String returns the string representation. 28997 // 28998 // API parameter values that are decorated as "sensitive" in the API will not 28999 // be included in the string output. The member name will be present, but the 29000 // value will be replaced with "sensitive". 29001 func (s CreateAppInput) String() string { 29002 return awsutil.Prettify(s) 29003 } 29004 29005 // GoString returns the string representation. 29006 // 29007 // API parameter values that are decorated as "sensitive" in the API will not 29008 // be included in the string output. The member name will be present, but the 29009 // value will be replaced with "sensitive". 29010 func (s CreateAppInput) GoString() string { 29011 return s.String() 29012 } 29013 29014 // Validate inspects the fields of the type to determine if they are valid. 29015 func (s *CreateAppInput) Validate() error { 29016 invalidParams := request.ErrInvalidParams{Context: "CreateAppInput"} 29017 if s.AppName == nil { 29018 invalidParams.Add(request.NewErrParamRequired("AppName")) 29019 } 29020 if s.AppType == nil { 29021 invalidParams.Add(request.NewErrParamRequired("AppType")) 29022 } 29023 if s.DomainId == nil { 29024 invalidParams.Add(request.NewErrParamRequired("DomainId")) 29025 } 29026 if s.UserProfileName == nil { 29027 invalidParams.Add(request.NewErrParamRequired("UserProfileName")) 29028 } 29029 if s.Tags != nil { 29030 for i, v := range s.Tags { 29031 if v == nil { 29032 continue 29033 } 29034 if err := v.Validate(); err != nil { 29035 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 29036 } 29037 } 29038 } 29039 29040 if invalidParams.Len() > 0 { 29041 return invalidParams 29042 } 29043 return nil 29044 } 29045 29046 // SetAppName sets the AppName field's value. 29047 func (s *CreateAppInput) SetAppName(v string) *CreateAppInput { 29048 s.AppName = &v 29049 return s 29050 } 29051 29052 // SetAppType sets the AppType field's value. 29053 func (s *CreateAppInput) SetAppType(v string) *CreateAppInput { 29054 s.AppType = &v 29055 return s 29056 } 29057 29058 // SetDomainId sets the DomainId field's value. 29059 func (s *CreateAppInput) SetDomainId(v string) *CreateAppInput { 29060 s.DomainId = &v 29061 return s 29062 } 29063 29064 // SetResourceSpec sets the ResourceSpec field's value. 29065 func (s *CreateAppInput) SetResourceSpec(v *ResourceSpec) *CreateAppInput { 29066 s.ResourceSpec = v 29067 return s 29068 } 29069 29070 // SetTags sets the Tags field's value. 29071 func (s *CreateAppInput) SetTags(v []*Tag) *CreateAppInput { 29072 s.Tags = v 29073 return s 29074 } 29075 29076 // SetUserProfileName sets the UserProfileName field's value. 29077 func (s *CreateAppInput) SetUserProfileName(v string) *CreateAppInput { 29078 s.UserProfileName = &v 29079 return s 29080 } 29081 29082 type CreateAppOutput struct { 29083 _ struct{} `type:"structure"` 29084 29085 // The Amazon Resource Name (ARN) of the app. 29086 AppArn *string `type:"string"` 29087 } 29088 29089 // String returns the string representation. 29090 // 29091 // API parameter values that are decorated as "sensitive" in the API will not 29092 // be included in the string output. The member name will be present, but the 29093 // value will be replaced with "sensitive". 29094 func (s CreateAppOutput) String() string { 29095 return awsutil.Prettify(s) 29096 } 29097 29098 // GoString returns the string representation. 29099 // 29100 // API parameter values that are decorated as "sensitive" in the API will not 29101 // be included in the string output. The member name will be present, but the 29102 // value will be replaced with "sensitive". 29103 func (s CreateAppOutput) GoString() string { 29104 return s.String() 29105 } 29106 29107 // SetAppArn sets the AppArn field's value. 29108 func (s *CreateAppOutput) SetAppArn(v string) *CreateAppOutput { 29109 s.AppArn = &v 29110 return s 29111 } 29112 29113 type CreateArtifactInput struct { 29114 _ struct{} `type:"structure"` 29115 29116 // The name of the artifact. Must be unique to your account in an Amazon Web 29117 // Services Region. 29118 ArtifactName *string `min:"1" type:"string"` 29119 29120 // The artifact type. 29121 // 29122 // ArtifactType is a required field 29123 ArtifactType *string `type:"string" required:"true"` 29124 29125 // Metadata properties of the tracking entity, trial, or trial component. 29126 MetadataProperties *MetadataProperties `type:"structure"` 29127 29128 // A list of properties to add to the artifact. 29129 Properties map[string]*string `type:"map"` 29130 29131 // The ID, ID type, and URI of the source. 29132 // 29133 // Source is a required field 29134 Source *ArtifactSource `type:"structure" required:"true"` 29135 29136 // A list of tags to apply to the artifact. 29137 Tags []*Tag `type:"list"` 29138 } 29139 29140 // String returns the string representation. 29141 // 29142 // API parameter values that are decorated as "sensitive" in the API will not 29143 // be included in the string output. The member name will be present, but the 29144 // value will be replaced with "sensitive". 29145 func (s CreateArtifactInput) String() string { 29146 return awsutil.Prettify(s) 29147 } 29148 29149 // GoString returns the string representation. 29150 // 29151 // API parameter values that are decorated as "sensitive" in the API will not 29152 // be included in the string output. The member name will be present, but the 29153 // value will be replaced with "sensitive". 29154 func (s CreateArtifactInput) GoString() string { 29155 return s.String() 29156 } 29157 29158 // Validate inspects the fields of the type to determine if they are valid. 29159 func (s *CreateArtifactInput) Validate() error { 29160 invalidParams := request.ErrInvalidParams{Context: "CreateArtifactInput"} 29161 if s.ArtifactName != nil && len(*s.ArtifactName) < 1 { 29162 invalidParams.Add(request.NewErrParamMinLen("ArtifactName", 1)) 29163 } 29164 if s.ArtifactType == nil { 29165 invalidParams.Add(request.NewErrParamRequired("ArtifactType")) 29166 } 29167 if s.Source == nil { 29168 invalidParams.Add(request.NewErrParamRequired("Source")) 29169 } 29170 if s.Source != nil { 29171 if err := s.Source.Validate(); err != nil { 29172 invalidParams.AddNested("Source", err.(request.ErrInvalidParams)) 29173 } 29174 } 29175 if s.Tags != nil { 29176 for i, v := range s.Tags { 29177 if v == nil { 29178 continue 29179 } 29180 if err := v.Validate(); err != nil { 29181 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 29182 } 29183 } 29184 } 29185 29186 if invalidParams.Len() > 0 { 29187 return invalidParams 29188 } 29189 return nil 29190 } 29191 29192 // SetArtifactName sets the ArtifactName field's value. 29193 func (s *CreateArtifactInput) SetArtifactName(v string) *CreateArtifactInput { 29194 s.ArtifactName = &v 29195 return s 29196 } 29197 29198 // SetArtifactType sets the ArtifactType field's value. 29199 func (s *CreateArtifactInput) SetArtifactType(v string) *CreateArtifactInput { 29200 s.ArtifactType = &v 29201 return s 29202 } 29203 29204 // SetMetadataProperties sets the MetadataProperties field's value. 29205 func (s *CreateArtifactInput) SetMetadataProperties(v *MetadataProperties) *CreateArtifactInput { 29206 s.MetadataProperties = v 29207 return s 29208 } 29209 29210 // SetProperties sets the Properties field's value. 29211 func (s *CreateArtifactInput) SetProperties(v map[string]*string) *CreateArtifactInput { 29212 s.Properties = v 29213 return s 29214 } 29215 29216 // SetSource sets the Source field's value. 29217 func (s *CreateArtifactInput) SetSource(v *ArtifactSource) *CreateArtifactInput { 29218 s.Source = v 29219 return s 29220 } 29221 29222 // SetTags sets the Tags field's value. 29223 func (s *CreateArtifactInput) SetTags(v []*Tag) *CreateArtifactInput { 29224 s.Tags = v 29225 return s 29226 } 29227 29228 type CreateArtifactOutput struct { 29229 _ struct{} `type:"structure"` 29230 29231 // The Amazon Resource Name (ARN) of the artifact. 29232 ArtifactArn *string `type:"string"` 29233 } 29234 29235 // String returns the string representation. 29236 // 29237 // API parameter values that are decorated as "sensitive" in the API will not 29238 // be included in the string output. The member name will be present, but the 29239 // value will be replaced with "sensitive". 29240 func (s CreateArtifactOutput) String() string { 29241 return awsutil.Prettify(s) 29242 } 29243 29244 // GoString returns the string representation. 29245 // 29246 // API parameter values that are decorated as "sensitive" in the API will not 29247 // be included in the string output. The member name will be present, but the 29248 // value will be replaced with "sensitive". 29249 func (s CreateArtifactOutput) GoString() string { 29250 return s.String() 29251 } 29252 29253 // SetArtifactArn sets the ArtifactArn field's value. 29254 func (s *CreateArtifactOutput) SetArtifactArn(v string) *CreateArtifactOutput { 29255 s.ArtifactArn = &v 29256 return s 29257 } 29258 29259 type CreateAutoMLJobInput struct { 29260 _ struct{} `type:"structure"` 29261 29262 // Contains CompletionCriteria and SecurityConfig settings for the AutoML job. 29263 AutoMLJobConfig *AutoMLJobConfig `type:"structure"` 29264 29265 // Identifies an Autopilot job. The name must be unique to your account and 29266 // is case-insensitive. 29267 // 29268 // AutoMLJobName is a required field 29269 AutoMLJobName *string `min:"1" type:"string" required:"true"` 29270 29271 // Defines the objective metric used to measure the predictive quality of an 29272 // AutoML job. You provide an AutoMLJobObjective$MetricName and Autopilot infers 29273 // whether to minimize or maximize it. 29274 AutoMLJobObjective *AutoMLJobObjective `type:"structure"` 29275 29276 // Generates possible candidates without training the models. A candidate is 29277 // a combination of data preprocessors, algorithms, and algorithm parameter 29278 // settings. 29279 GenerateCandidateDefinitionsOnly *bool `type:"boolean"` 29280 29281 // An array of channel objects that describes the input data and its location. 29282 // Each channel is a named input source. Similar to InputDataConfig supported 29283 // by . Format(s) supported: CSV. Minimum of 500 rows. 29284 // 29285 // InputDataConfig is a required field 29286 InputDataConfig []*AutoMLChannel `min:"1" type:"list" required:"true"` 29287 29288 // Specifies how to generate the endpoint name for an automatic one-click Autopilot 29289 // model deployment. 29290 ModelDeployConfig *ModelDeployConfig `type:"structure"` 29291 29292 // Provides information about encryption and the Amazon S3 output path needed 29293 // to store artifacts from an AutoML job. Format(s) supported: CSV. 29294 // 29295 // OutputDataConfig is a required field 29296 OutputDataConfig *AutoMLOutputDataConfig `type:"structure" required:"true"` 29297 29298 // Defines the type of supervised learning available for the candidates. Options 29299 // include: BinaryClassification, MulticlassClassification, and Regression. 29300 // For more information, see Amazon SageMaker Autopilot problem types and algorithm 29301 // support (https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-automate-model-development-problem-types.html). 29302 ProblemType *string `type:"string" enum:"ProblemType"` 29303 29304 // The ARN of the role that is used to access the data. 29305 // 29306 // RoleArn is a required field 29307 RoleArn *string `min:"20" type:"string" required:"true"` 29308 29309 // Each tag consists of a key and an optional value. Tag keys must be unique 29310 // per resource. 29311 Tags []*Tag `type:"list"` 29312 } 29313 29314 // String returns the string representation. 29315 // 29316 // API parameter values that are decorated as "sensitive" in the API will not 29317 // be included in the string output. The member name will be present, but the 29318 // value will be replaced with "sensitive". 29319 func (s CreateAutoMLJobInput) String() string { 29320 return awsutil.Prettify(s) 29321 } 29322 29323 // GoString returns the string representation. 29324 // 29325 // API parameter values that are decorated as "sensitive" in the API will not 29326 // be included in the string output. The member name will be present, but the 29327 // value will be replaced with "sensitive". 29328 func (s CreateAutoMLJobInput) GoString() string { 29329 return s.String() 29330 } 29331 29332 // Validate inspects the fields of the type to determine if they are valid. 29333 func (s *CreateAutoMLJobInput) Validate() error { 29334 invalidParams := request.ErrInvalidParams{Context: "CreateAutoMLJobInput"} 29335 if s.AutoMLJobName == nil { 29336 invalidParams.Add(request.NewErrParamRequired("AutoMLJobName")) 29337 } 29338 if s.AutoMLJobName != nil && len(*s.AutoMLJobName) < 1 { 29339 invalidParams.Add(request.NewErrParamMinLen("AutoMLJobName", 1)) 29340 } 29341 if s.InputDataConfig == nil { 29342 invalidParams.Add(request.NewErrParamRequired("InputDataConfig")) 29343 } 29344 if s.InputDataConfig != nil && len(s.InputDataConfig) < 1 { 29345 invalidParams.Add(request.NewErrParamMinLen("InputDataConfig", 1)) 29346 } 29347 if s.OutputDataConfig == nil { 29348 invalidParams.Add(request.NewErrParamRequired("OutputDataConfig")) 29349 } 29350 if s.RoleArn == nil { 29351 invalidParams.Add(request.NewErrParamRequired("RoleArn")) 29352 } 29353 if s.RoleArn != nil && len(*s.RoleArn) < 20 { 29354 invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) 29355 } 29356 if s.AutoMLJobConfig != nil { 29357 if err := s.AutoMLJobConfig.Validate(); err != nil { 29358 invalidParams.AddNested("AutoMLJobConfig", err.(request.ErrInvalidParams)) 29359 } 29360 } 29361 if s.AutoMLJobObjective != nil { 29362 if err := s.AutoMLJobObjective.Validate(); err != nil { 29363 invalidParams.AddNested("AutoMLJobObjective", err.(request.ErrInvalidParams)) 29364 } 29365 } 29366 if s.InputDataConfig != nil { 29367 for i, v := range s.InputDataConfig { 29368 if v == nil { 29369 continue 29370 } 29371 if err := v.Validate(); err != nil { 29372 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputDataConfig", i), err.(request.ErrInvalidParams)) 29373 } 29374 } 29375 } 29376 if s.OutputDataConfig != nil { 29377 if err := s.OutputDataConfig.Validate(); err != nil { 29378 invalidParams.AddNested("OutputDataConfig", err.(request.ErrInvalidParams)) 29379 } 29380 } 29381 if s.Tags != nil { 29382 for i, v := range s.Tags { 29383 if v == nil { 29384 continue 29385 } 29386 if err := v.Validate(); err != nil { 29387 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 29388 } 29389 } 29390 } 29391 29392 if invalidParams.Len() > 0 { 29393 return invalidParams 29394 } 29395 return nil 29396 } 29397 29398 // SetAutoMLJobConfig sets the AutoMLJobConfig field's value. 29399 func (s *CreateAutoMLJobInput) SetAutoMLJobConfig(v *AutoMLJobConfig) *CreateAutoMLJobInput { 29400 s.AutoMLJobConfig = v 29401 return s 29402 } 29403 29404 // SetAutoMLJobName sets the AutoMLJobName field's value. 29405 func (s *CreateAutoMLJobInput) SetAutoMLJobName(v string) *CreateAutoMLJobInput { 29406 s.AutoMLJobName = &v 29407 return s 29408 } 29409 29410 // SetAutoMLJobObjective sets the AutoMLJobObjective field's value. 29411 func (s *CreateAutoMLJobInput) SetAutoMLJobObjective(v *AutoMLJobObjective) *CreateAutoMLJobInput { 29412 s.AutoMLJobObjective = v 29413 return s 29414 } 29415 29416 // SetGenerateCandidateDefinitionsOnly sets the GenerateCandidateDefinitionsOnly field's value. 29417 func (s *CreateAutoMLJobInput) SetGenerateCandidateDefinitionsOnly(v bool) *CreateAutoMLJobInput { 29418 s.GenerateCandidateDefinitionsOnly = &v 29419 return s 29420 } 29421 29422 // SetInputDataConfig sets the InputDataConfig field's value. 29423 func (s *CreateAutoMLJobInput) SetInputDataConfig(v []*AutoMLChannel) *CreateAutoMLJobInput { 29424 s.InputDataConfig = v 29425 return s 29426 } 29427 29428 // SetModelDeployConfig sets the ModelDeployConfig field's value. 29429 func (s *CreateAutoMLJobInput) SetModelDeployConfig(v *ModelDeployConfig) *CreateAutoMLJobInput { 29430 s.ModelDeployConfig = v 29431 return s 29432 } 29433 29434 // SetOutputDataConfig sets the OutputDataConfig field's value. 29435 func (s *CreateAutoMLJobInput) SetOutputDataConfig(v *AutoMLOutputDataConfig) *CreateAutoMLJobInput { 29436 s.OutputDataConfig = v 29437 return s 29438 } 29439 29440 // SetProblemType sets the ProblemType field's value. 29441 func (s *CreateAutoMLJobInput) SetProblemType(v string) *CreateAutoMLJobInput { 29442 s.ProblemType = &v 29443 return s 29444 } 29445 29446 // SetRoleArn sets the RoleArn field's value. 29447 func (s *CreateAutoMLJobInput) SetRoleArn(v string) *CreateAutoMLJobInput { 29448 s.RoleArn = &v 29449 return s 29450 } 29451 29452 // SetTags sets the Tags field's value. 29453 func (s *CreateAutoMLJobInput) SetTags(v []*Tag) *CreateAutoMLJobInput { 29454 s.Tags = v 29455 return s 29456 } 29457 29458 type CreateAutoMLJobOutput struct { 29459 _ struct{} `type:"structure"` 29460 29461 // The unique ARN assigned to the AutoML job when it is created. 29462 // 29463 // AutoMLJobArn is a required field 29464 AutoMLJobArn *string `min:"1" type:"string" required:"true"` 29465 } 29466 29467 // String returns the string representation. 29468 // 29469 // API parameter values that are decorated as "sensitive" in the API will not 29470 // be included in the string output. The member name will be present, but the 29471 // value will be replaced with "sensitive". 29472 func (s CreateAutoMLJobOutput) String() string { 29473 return awsutil.Prettify(s) 29474 } 29475 29476 // GoString returns the string representation. 29477 // 29478 // API parameter values that are decorated as "sensitive" in the API will not 29479 // be included in the string output. The member name will be present, but the 29480 // value will be replaced with "sensitive". 29481 func (s CreateAutoMLJobOutput) GoString() string { 29482 return s.String() 29483 } 29484 29485 // SetAutoMLJobArn sets the AutoMLJobArn field's value. 29486 func (s *CreateAutoMLJobOutput) SetAutoMLJobArn(v string) *CreateAutoMLJobOutput { 29487 s.AutoMLJobArn = &v 29488 return s 29489 } 29490 29491 type CreateCodeRepositoryInput struct { 29492 _ struct{} `type:"structure"` 29493 29494 // The name of the Git repository. The name must have 1 to 63 characters. Valid 29495 // characters are a-z, A-Z, 0-9, and - (hyphen). 29496 // 29497 // CodeRepositoryName is a required field 29498 CodeRepositoryName *string `min:"1" type:"string" required:"true"` 29499 29500 // Specifies details about the repository, including the URL where the repository 29501 // is located, the default branch, and credentials to use to access the repository. 29502 // 29503 // GitConfig is a required field 29504 GitConfig *GitConfig `type:"structure" required:"true"` 29505 29506 // An array of key-value pairs. You can use tags to categorize your Amazon Web 29507 // Services resources in different ways, for example, by purpose, owner, or 29508 // environment. For more information, see Tagging Amazon Web Services Resources 29509 // (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html). 29510 Tags []*Tag `type:"list"` 29511 } 29512 29513 // String returns the string representation. 29514 // 29515 // API parameter values that are decorated as "sensitive" in the API will not 29516 // be included in the string output. The member name will be present, but the 29517 // value will be replaced with "sensitive". 29518 func (s CreateCodeRepositoryInput) String() string { 29519 return awsutil.Prettify(s) 29520 } 29521 29522 // GoString returns the string representation. 29523 // 29524 // API parameter values that are decorated as "sensitive" in the API will not 29525 // be included in the string output. The member name will be present, but the 29526 // value will be replaced with "sensitive". 29527 func (s CreateCodeRepositoryInput) GoString() string { 29528 return s.String() 29529 } 29530 29531 // Validate inspects the fields of the type to determine if they are valid. 29532 func (s *CreateCodeRepositoryInput) Validate() error { 29533 invalidParams := request.ErrInvalidParams{Context: "CreateCodeRepositoryInput"} 29534 if s.CodeRepositoryName == nil { 29535 invalidParams.Add(request.NewErrParamRequired("CodeRepositoryName")) 29536 } 29537 if s.CodeRepositoryName != nil && len(*s.CodeRepositoryName) < 1 { 29538 invalidParams.Add(request.NewErrParamMinLen("CodeRepositoryName", 1)) 29539 } 29540 if s.GitConfig == nil { 29541 invalidParams.Add(request.NewErrParamRequired("GitConfig")) 29542 } 29543 if s.GitConfig != nil { 29544 if err := s.GitConfig.Validate(); err != nil { 29545 invalidParams.AddNested("GitConfig", err.(request.ErrInvalidParams)) 29546 } 29547 } 29548 if s.Tags != nil { 29549 for i, v := range s.Tags { 29550 if v == nil { 29551 continue 29552 } 29553 if err := v.Validate(); err != nil { 29554 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 29555 } 29556 } 29557 } 29558 29559 if invalidParams.Len() > 0 { 29560 return invalidParams 29561 } 29562 return nil 29563 } 29564 29565 // SetCodeRepositoryName sets the CodeRepositoryName field's value. 29566 func (s *CreateCodeRepositoryInput) SetCodeRepositoryName(v string) *CreateCodeRepositoryInput { 29567 s.CodeRepositoryName = &v 29568 return s 29569 } 29570 29571 // SetGitConfig sets the GitConfig field's value. 29572 func (s *CreateCodeRepositoryInput) SetGitConfig(v *GitConfig) *CreateCodeRepositoryInput { 29573 s.GitConfig = v 29574 return s 29575 } 29576 29577 // SetTags sets the Tags field's value. 29578 func (s *CreateCodeRepositoryInput) SetTags(v []*Tag) *CreateCodeRepositoryInput { 29579 s.Tags = v 29580 return s 29581 } 29582 29583 type CreateCodeRepositoryOutput struct { 29584 _ struct{} `type:"structure"` 29585 29586 // The Amazon Resource Name (ARN) of the new repository. 29587 // 29588 // CodeRepositoryArn is a required field 29589 CodeRepositoryArn *string `min:"1" type:"string" required:"true"` 29590 } 29591 29592 // String returns the string representation. 29593 // 29594 // API parameter values that are decorated as "sensitive" in the API will not 29595 // be included in the string output. The member name will be present, but the 29596 // value will be replaced with "sensitive". 29597 func (s CreateCodeRepositoryOutput) String() string { 29598 return awsutil.Prettify(s) 29599 } 29600 29601 // GoString returns the string representation. 29602 // 29603 // API parameter values that are decorated as "sensitive" in the API will not 29604 // be included in the string output. The member name will be present, but the 29605 // value will be replaced with "sensitive". 29606 func (s CreateCodeRepositoryOutput) GoString() string { 29607 return s.String() 29608 } 29609 29610 // SetCodeRepositoryArn sets the CodeRepositoryArn field's value. 29611 func (s *CreateCodeRepositoryOutput) SetCodeRepositoryArn(v string) *CreateCodeRepositoryOutput { 29612 s.CodeRepositoryArn = &v 29613 return s 29614 } 29615 29616 type CreateCompilationJobInput struct { 29617 _ struct{} `type:"structure"` 29618 29619 // A name for the model compilation job. The name must be unique within the 29620 // Amazon Web Services Region and within your Amazon Web Services account. 29621 // 29622 // CompilationJobName is a required field 29623 CompilationJobName *string `min:"1" type:"string" required:"true"` 29624 29625 // Provides information about the location of input model artifacts, the name 29626 // and shape of the expected data inputs, and the framework in which the model 29627 // was trained. 29628 // 29629 // InputConfig is a required field 29630 InputConfig *InputConfig `type:"structure" required:"true"` 29631 29632 // Provides information about the output location for the compiled model and 29633 // the target device the model runs on. 29634 // 29635 // OutputConfig is a required field 29636 OutputConfig *OutputConfig `type:"structure" required:"true"` 29637 29638 // The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker 29639 // to perform tasks on your behalf. 29640 // 29641 // During model compilation, Amazon SageMaker needs your permission to: 29642 // 29643 // * Read input data from an S3 bucket 29644 // 29645 // * Write model artifacts to an S3 bucket 29646 // 29647 // * Write logs to Amazon CloudWatch Logs 29648 // 29649 // * Publish metrics to Amazon CloudWatch 29650 // 29651 // You grant permissions for all of these tasks to an IAM role. To pass this 29652 // role to Amazon SageMaker, the caller of this API must have the iam:PassRole 29653 // permission. For more information, see Amazon SageMaker Roles. (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html) 29654 // 29655 // RoleArn is a required field 29656 RoleArn *string `min:"20" type:"string" required:"true"` 29657 29658 // Specifies a limit to how long a model compilation job can run. When the job 29659 // reaches the time limit, Amazon SageMaker ends the compilation job. Use this 29660 // API to cap model training costs. 29661 // 29662 // StoppingCondition is a required field 29663 StoppingCondition *StoppingCondition `type:"structure" required:"true"` 29664 29665 // An array of key-value pairs. You can use tags to categorize your Amazon Web 29666 // Services resources in different ways, for example, by purpose, owner, or 29667 // environment. For more information, see Tagging Amazon Web Services Resources 29668 // (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html). 29669 Tags []*Tag `type:"list"` 29670 29671 // A VpcConfig object that specifies the VPC that you want your compilation 29672 // job to connect to. Control access to your models by configuring the VPC. 29673 // For more information, see Protect Compilation Jobs by Using an Amazon Virtual 29674 // Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/neo-vpc.html). 29675 VpcConfig *NeoVpcConfig `type:"structure"` 29676 } 29677 29678 // String returns the string representation. 29679 // 29680 // API parameter values that are decorated as "sensitive" in the API will not 29681 // be included in the string output. The member name will be present, but the 29682 // value will be replaced with "sensitive". 29683 func (s CreateCompilationJobInput) String() string { 29684 return awsutil.Prettify(s) 29685 } 29686 29687 // GoString returns the string representation. 29688 // 29689 // API parameter values that are decorated as "sensitive" in the API will not 29690 // be included in the string output. The member name will be present, but the 29691 // value will be replaced with "sensitive". 29692 func (s CreateCompilationJobInput) GoString() string { 29693 return s.String() 29694 } 29695 29696 // Validate inspects the fields of the type to determine if they are valid. 29697 func (s *CreateCompilationJobInput) Validate() error { 29698 invalidParams := request.ErrInvalidParams{Context: "CreateCompilationJobInput"} 29699 if s.CompilationJobName == nil { 29700 invalidParams.Add(request.NewErrParamRequired("CompilationJobName")) 29701 } 29702 if s.CompilationJobName != nil && len(*s.CompilationJobName) < 1 { 29703 invalidParams.Add(request.NewErrParamMinLen("CompilationJobName", 1)) 29704 } 29705 if s.InputConfig == nil { 29706 invalidParams.Add(request.NewErrParamRequired("InputConfig")) 29707 } 29708 if s.OutputConfig == nil { 29709 invalidParams.Add(request.NewErrParamRequired("OutputConfig")) 29710 } 29711 if s.RoleArn == nil { 29712 invalidParams.Add(request.NewErrParamRequired("RoleArn")) 29713 } 29714 if s.RoleArn != nil && len(*s.RoleArn) < 20 { 29715 invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) 29716 } 29717 if s.StoppingCondition == nil { 29718 invalidParams.Add(request.NewErrParamRequired("StoppingCondition")) 29719 } 29720 if s.InputConfig != nil { 29721 if err := s.InputConfig.Validate(); err != nil { 29722 invalidParams.AddNested("InputConfig", err.(request.ErrInvalidParams)) 29723 } 29724 } 29725 if s.OutputConfig != nil { 29726 if err := s.OutputConfig.Validate(); err != nil { 29727 invalidParams.AddNested("OutputConfig", err.(request.ErrInvalidParams)) 29728 } 29729 } 29730 if s.StoppingCondition != nil { 29731 if err := s.StoppingCondition.Validate(); err != nil { 29732 invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams)) 29733 } 29734 } 29735 if s.Tags != nil { 29736 for i, v := range s.Tags { 29737 if v == nil { 29738 continue 29739 } 29740 if err := v.Validate(); err != nil { 29741 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 29742 } 29743 } 29744 } 29745 if s.VpcConfig != nil { 29746 if err := s.VpcConfig.Validate(); err != nil { 29747 invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams)) 29748 } 29749 } 29750 29751 if invalidParams.Len() > 0 { 29752 return invalidParams 29753 } 29754 return nil 29755 } 29756 29757 // SetCompilationJobName sets the CompilationJobName field's value. 29758 func (s *CreateCompilationJobInput) SetCompilationJobName(v string) *CreateCompilationJobInput { 29759 s.CompilationJobName = &v 29760 return s 29761 } 29762 29763 // SetInputConfig sets the InputConfig field's value. 29764 func (s *CreateCompilationJobInput) SetInputConfig(v *InputConfig) *CreateCompilationJobInput { 29765 s.InputConfig = v 29766 return s 29767 } 29768 29769 // SetOutputConfig sets the OutputConfig field's value. 29770 func (s *CreateCompilationJobInput) SetOutputConfig(v *OutputConfig) *CreateCompilationJobInput { 29771 s.OutputConfig = v 29772 return s 29773 } 29774 29775 // SetRoleArn sets the RoleArn field's value. 29776 func (s *CreateCompilationJobInput) SetRoleArn(v string) *CreateCompilationJobInput { 29777 s.RoleArn = &v 29778 return s 29779 } 29780 29781 // SetStoppingCondition sets the StoppingCondition field's value. 29782 func (s *CreateCompilationJobInput) SetStoppingCondition(v *StoppingCondition) *CreateCompilationJobInput { 29783 s.StoppingCondition = v 29784 return s 29785 } 29786 29787 // SetTags sets the Tags field's value. 29788 func (s *CreateCompilationJobInput) SetTags(v []*Tag) *CreateCompilationJobInput { 29789 s.Tags = v 29790 return s 29791 } 29792 29793 // SetVpcConfig sets the VpcConfig field's value. 29794 func (s *CreateCompilationJobInput) SetVpcConfig(v *NeoVpcConfig) *CreateCompilationJobInput { 29795 s.VpcConfig = v 29796 return s 29797 } 29798 29799 type CreateCompilationJobOutput struct { 29800 _ struct{} `type:"structure"` 29801 29802 // If the action is successful, the service sends back an HTTP 200 response. 29803 // Amazon SageMaker returns the following data in JSON format: 29804 // 29805 // * CompilationJobArn: The Amazon Resource Name (ARN) of the compiled job. 29806 // 29807 // CompilationJobArn is a required field 29808 CompilationJobArn *string `type:"string" required:"true"` 29809 } 29810 29811 // String returns the string representation. 29812 // 29813 // API parameter values that are decorated as "sensitive" in the API will not 29814 // be included in the string output. The member name will be present, but the 29815 // value will be replaced with "sensitive". 29816 func (s CreateCompilationJobOutput) String() string { 29817 return awsutil.Prettify(s) 29818 } 29819 29820 // GoString returns the string representation. 29821 // 29822 // API parameter values that are decorated as "sensitive" in the API will not 29823 // be included in the string output. The member name will be present, but the 29824 // value will be replaced with "sensitive". 29825 func (s CreateCompilationJobOutput) GoString() string { 29826 return s.String() 29827 } 29828 29829 // SetCompilationJobArn sets the CompilationJobArn field's value. 29830 func (s *CreateCompilationJobOutput) SetCompilationJobArn(v string) *CreateCompilationJobOutput { 29831 s.CompilationJobArn = &v 29832 return s 29833 } 29834 29835 type CreateContextInput struct { 29836 _ struct{} `type:"structure"` 29837 29838 // The name of the context. Must be unique to your account in an Amazon Web 29839 // Services Region. 29840 // 29841 // ContextName is a required field 29842 ContextName *string `min:"1" type:"string" required:"true"` 29843 29844 // The context type. 29845 // 29846 // ContextType is a required field 29847 ContextType *string `type:"string" required:"true"` 29848 29849 // The description of the context. 29850 Description *string `type:"string"` 29851 29852 // A list of properties to add to the context. 29853 Properties map[string]*string `type:"map"` 29854 29855 // The source type, ID, and URI. 29856 // 29857 // Source is a required field 29858 Source *ContextSource `type:"structure" required:"true"` 29859 29860 // A list of tags to apply to the context. 29861 Tags []*Tag `type:"list"` 29862 } 29863 29864 // String returns the string representation. 29865 // 29866 // API parameter values that are decorated as "sensitive" in the API will not 29867 // be included in the string output. The member name will be present, but the 29868 // value will be replaced with "sensitive". 29869 func (s CreateContextInput) String() string { 29870 return awsutil.Prettify(s) 29871 } 29872 29873 // GoString returns the string representation. 29874 // 29875 // API parameter values that are decorated as "sensitive" in the API will not 29876 // be included in the string output. The member name will be present, but the 29877 // value will be replaced with "sensitive". 29878 func (s CreateContextInput) GoString() string { 29879 return s.String() 29880 } 29881 29882 // Validate inspects the fields of the type to determine if they are valid. 29883 func (s *CreateContextInput) Validate() error { 29884 invalidParams := request.ErrInvalidParams{Context: "CreateContextInput"} 29885 if s.ContextName == nil { 29886 invalidParams.Add(request.NewErrParamRequired("ContextName")) 29887 } 29888 if s.ContextName != nil && len(*s.ContextName) < 1 { 29889 invalidParams.Add(request.NewErrParamMinLen("ContextName", 1)) 29890 } 29891 if s.ContextType == nil { 29892 invalidParams.Add(request.NewErrParamRequired("ContextType")) 29893 } 29894 if s.Source == nil { 29895 invalidParams.Add(request.NewErrParamRequired("Source")) 29896 } 29897 if s.Source != nil { 29898 if err := s.Source.Validate(); err != nil { 29899 invalidParams.AddNested("Source", err.(request.ErrInvalidParams)) 29900 } 29901 } 29902 if s.Tags != nil { 29903 for i, v := range s.Tags { 29904 if v == nil { 29905 continue 29906 } 29907 if err := v.Validate(); err != nil { 29908 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 29909 } 29910 } 29911 } 29912 29913 if invalidParams.Len() > 0 { 29914 return invalidParams 29915 } 29916 return nil 29917 } 29918 29919 // SetContextName sets the ContextName field's value. 29920 func (s *CreateContextInput) SetContextName(v string) *CreateContextInput { 29921 s.ContextName = &v 29922 return s 29923 } 29924 29925 // SetContextType sets the ContextType field's value. 29926 func (s *CreateContextInput) SetContextType(v string) *CreateContextInput { 29927 s.ContextType = &v 29928 return s 29929 } 29930 29931 // SetDescription sets the Description field's value. 29932 func (s *CreateContextInput) SetDescription(v string) *CreateContextInput { 29933 s.Description = &v 29934 return s 29935 } 29936 29937 // SetProperties sets the Properties field's value. 29938 func (s *CreateContextInput) SetProperties(v map[string]*string) *CreateContextInput { 29939 s.Properties = v 29940 return s 29941 } 29942 29943 // SetSource sets the Source field's value. 29944 func (s *CreateContextInput) SetSource(v *ContextSource) *CreateContextInput { 29945 s.Source = v 29946 return s 29947 } 29948 29949 // SetTags sets the Tags field's value. 29950 func (s *CreateContextInput) SetTags(v []*Tag) *CreateContextInput { 29951 s.Tags = v 29952 return s 29953 } 29954 29955 type CreateContextOutput struct { 29956 _ struct{} `type:"structure"` 29957 29958 // The Amazon Resource Name (ARN) of the context. 29959 ContextArn *string `type:"string"` 29960 } 29961 29962 // String returns the string representation. 29963 // 29964 // API parameter values that are decorated as "sensitive" in the API will not 29965 // be included in the string output. The member name will be present, but the 29966 // value will be replaced with "sensitive". 29967 func (s CreateContextOutput) String() string { 29968 return awsutil.Prettify(s) 29969 } 29970 29971 // GoString returns the string representation. 29972 // 29973 // API parameter values that are decorated as "sensitive" in the API will not 29974 // be included in the string output. The member name will be present, but the 29975 // value will be replaced with "sensitive". 29976 func (s CreateContextOutput) GoString() string { 29977 return s.String() 29978 } 29979 29980 // SetContextArn sets the ContextArn field's value. 29981 func (s *CreateContextOutput) SetContextArn(v string) *CreateContextOutput { 29982 s.ContextArn = &v 29983 return s 29984 } 29985 29986 type CreateDataQualityJobDefinitionInput struct { 29987 _ struct{} `type:"structure"` 29988 29989 // Specifies the container that runs the monitoring job. 29990 // 29991 // DataQualityAppSpecification is a required field 29992 DataQualityAppSpecification *DataQualityAppSpecification `type:"structure" required:"true"` 29993 29994 // Configures the constraints and baselines for the monitoring job. 29995 DataQualityBaselineConfig *DataQualityBaselineConfig `type:"structure"` 29996 29997 // A list of inputs for the monitoring job. Currently endpoints are supported 29998 // as monitoring inputs. 29999 // 30000 // DataQualityJobInput is a required field 30001 DataQualityJobInput *DataQualityJobInput `type:"structure" required:"true"` 30002 30003 // The output configuration for monitoring jobs. 30004 // 30005 // DataQualityJobOutputConfig is a required field 30006 DataQualityJobOutputConfig *MonitoringOutputConfig `type:"structure" required:"true"` 30007 30008 // The name for the monitoring job definition. 30009 // 30010 // JobDefinitionName is a required field 30011 JobDefinitionName *string `min:"1" type:"string" required:"true"` 30012 30013 // Identifies the resources to deploy for a monitoring job. 30014 // 30015 // JobResources is a required field 30016 JobResources *MonitoringResources `type:"structure" required:"true"` 30017 30018 // Specifies networking configuration for the monitoring job. 30019 NetworkConfig *MonitoringNetworkConfig `type:"structure"` 30020 30021 // The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume 30022 // to perform tasks on your behalf. 30023 // 30024 // RoleArn is a required field 30025 RoleArn *string `min:"20" type:"string" required:"true"` 30026 30027 // A time limit for how long the monitoring job is allowed to run before stopping. 30028 StoppingCondition *MonitoringStoppingCondition `type:"structure"` 30029 30030 // (Optional) An array of key-value pairs. For more information, see Using Cost 30031 // Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL) 30032 // in the Amazon Web Services Billing and Cost Management User Guide. 30033 Tags []*Tag `type:"list"` 30034 } 30035 30036 // String returns the string representation. 30037 // 30038 // API parameter values that are decorated as "sensitive" in the API will not 30039 // be included in the string output. The member name will be present, but the 30040 // value will be replaced with "sensitive". 30041 func (s CreateDataQualityJobDefinitionInput) String() string { 30042 return awsutil.Prettify(s) 30043 } 30044 30045 // GoString returns the string representation. 30046 // 30047 // API parameter values that are decorated as "sensitive" in the API will not 30048 // be included in the string output. The member name will be present, but the 30049 // value will be replaced with "sensitive". 30050 func (s CreateDataQualityJobDefinitionInput) GoString() string { 30051 return s.String() 30052 } 30053 30054 // Validate inspects the fields of the type to determine if they are valid. 30055 func (s *CreateDataQualityJobDefinitionInput) Validate() error { 30056 invalidParams := request.ErrInvalidParams{Context: "CreateDataQualityJobDefinitionInput"} 30057 if s.DataQualityAppSpecification == nil { 30058 invalidParams.Add(request.NewErrParamRequired("DataQualityAppSpecification")) 30059 } 30060 if s.DataQualityJobInput == nil { 30061 invalidParams.Add(request.NewErrParamRequired("DataQualityJobInput")) 30062 } 30063 if s.DataQualityJobOutputConfig == nil { 30064 invalidParams.Add(request.NewErrParamRequired("DataQualityJobOutputConfig")) 30065 } 30066 if s.JobDefinitionName == nil { 30067 invalidParams.Add(request.NewErrParamRequired("JobDefinitionName")) 30068 } 30069 if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 { 30070 invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1)) 30071 } 30072 if s.JobResources == nil { 30073 invalidParams.Add(request.NewErrParamRequired("JobResources")) 30074 } 30075 if s.RoleArn == nil { 30076 invalidParams.Add(request.NewErrParamRequired("RoleArn")) 30077 } 30078 if s.RoleArn != nil && len(*s.RoleArn) < 20 { 30079 invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) 30080 } 30081 if s.DataQualityAppSpecification != nil { 30082 if err := s.DataQualityAppSpecification.Validate(); err != nil { 30083 invalidParams.AddNested("DataQualityAppSpecification", err.(request.ErrInvalidParams)) 30084 } 30085 } 30086 if s.DataQualityBaselineConfig != nil { 30087 if err := s.DataQualityBaselineConfig.Validate(); err != nil { 30088 invalidParams.AddNested("DataQualityBaselineConfig", err.(request.ErrInvalidParams)) 30089 } 30090 } 30091 if s.DataQualityJobInput != nil { 30092 if err := s.DataQualityJobInput.Validate(); err != nil { 30093 invalidParams.AddNested("DataQualityJobInput", err.(request.ErrInvalidParams)) 30094 } 30095 } 30096 if s.DataQualityJobOutputConfig != nil { 30097 if err := s.DataQualityJobOutputConfig.Validate(); err != nil { 30098 invalidParams.AddNested("DataQualityJobOutputConfig", err.(request.ErrInvalidParams)) 30099 } 30100 } 30101 if s.JobResources != nil { 30102 if err := s.JobResources.Validate(); err != nil { 30103 invalidParams.AddNested("JobResources", err.(request.ErrInvalidParams)) 30104 } 30105 } 30106 if s.NetworkConfig != nil { 30107 if err := s.NetworkConfig.Validate(); err != nil { 30108 invalidParams.AddNested("NetworkConfig", err.(request.ErrInvalidParams)) 30109 } 30110 } 30111 if s.StoppingCondition != nil { 30112 if err := s.StoppingCondition.Validate(); err != nil { 30113 invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams)) 30114 } 30115 } 30116 if s.Tags != nil { 30117 for i, v := range s.Tags { 30118 if v == nil { 30119 continue 30120 } 30121 if err := v.Validate(); err != nil { 30122 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 30123 } 30124 } 30125 } 30126 30127 if invalidParams.Len() > 0 { 30128 return invalidParams 30129 } 30130 return nil 30131 } 30132 30133 // SetDataQualityAppSpecification sets the DataQualityAppSpecification field's value. 30134 func (s *CreateDataQualityJobDefinitionInput) SetDataQualityAppSpecification(v *DataQualityAppSpecification) *CreateDataQualityJobDefinitionInput { 30135 s.DataQualityAppSpecification = v 30136 return s 30137 } 30138 30139 // SetDataQualityBaselineConfig sets the DataQualityBaselineConfig field's value. 30140 func (s *CreateDataQualityJobDefinitionInput) SetDataQualityBaselineConfig(v *DataQualityBaselineConfig) *CreateDataQualityJobDefinitionInput { 30141 s.DataQualityBaselineConfig = v 30142 return s 30143 } 30144 30145 // SetDataQualityJobInput sets the DataQualityJobInput field's value. 30146 func (s *CreateDataQualityJobDefinitionInput) SetDataQualityJobInput(v *DataQualityJobInput) *CreateDataQualityJobDefinitionInput { 30147 s.DataQualityJobInput = v 30148 return s 30149 } 30150 30151 // SetDataQualityJobOutputConfig sets the DataQualityJobOutputConfig field's value. 30152 func (s *CreateDataQualityJobDefinitionInput) SetDataQualityJobOutputConfig(v *MonitoringOutputConfig) *CreateDataQualityJobDefinitionInput { 30153 s.DataQualityJobOutputConfig = v 30154 return s 30155 } 30156 30157 // SetJobDefinitionName sets the JobDefinitionName field's value. 30158 func (s *CreateDataQualityJobDefinitionInput) SetJobDefinitionName(v string) *CreateDataQualityJobDefinitionInput { 30159 s.JobDefinitionName = &v 30160 return s 30161 } 30162 30163 // SetJobResources sets the JobResources field's value. 30164 func (s *CreateDataQualityJobDefinitionInput) SetJobResources(v *MonitoringResources) *CreateDataQualityJobDefinitionInput { 30165 s.JobResources = v 30166 return s 30167 } 30168 30169 // SetNetworkConfig sets the NetworkConfig field's value. 30170 func (s *CreateDataQualityJobDefinitionInput) SetNetworkConfig(v *MonitoringNetworkConfig) *CreateDataQualityJobDefinitionInput { 30171 s.NetworkConfig = v 30172 return s 30173 } 30174 30175 // SetRoleArn sets the RoleArn field's value. 30176 func (s *CreateDataQualityJobDefinitionInput) SetRoleArn(v string) *CreateDataQualityJobDefinitionInput { 30177 s.RoleArn = &v 30178 return s 30179 } 30180 30181 // SetStoppingCondition sets the StoppingCondition field's value. 30182 func (s *CreateDataQualityJobDefinitionInput) SetStoppingCondition(v *MonitoringStoppingCondition) *CreateDataQualityJobDefinitionInput { 30183 s.StoppingCondition = v 30184 return s 30185 } 30186 30187 // SetTags sets the Tags field's value. 30188 func (s *CreateDataQualityJobDefinitionInput) SetTags(v []*Tag) *CreateDataQualityJobDefinitionInput { 30189 s.Tags = v 30190 return s 30191 } 30192 30193 type CreateDataQualityJobDefinitionOutput struct { 30194 _ struct{} `type:"structure"` 30195 30196 // The Amazon Resource Name (ARN) of the job definition. 30197 // 30198 // JobDefinitionArn is a required field 30199 JobDefinitionArn *string `type:"string" required:"true"` 30200 } 30201 30202 // String returns the string representation. 30203 // 30204 // API parameter values that are decorated as "sensitive" in the API will not 30205 // be included in the string output. The member name will be present, but the 30206 // value will be replaced with "sensitive". 30207 func (s CreateDataQualityJobDefinitionOutput) String() string { 30208 return awsutil.Prettify(s) 30209 } 30210 30211 // GoString returns the string representation. 30212 // 30213 // API parameter values that are decorated as "sensitive" in the API will not 30214 // be included in the string output. The member name will be present, but the 30215 // value will be replaced with "sensitive". 30216 func (s CreateDataQualityJobDefinitionOutput) GoString() string { 30217 return s.String() 30218 } 30219 30220 // SetJobDefinitionArn sets the JobDefinitionArn field's value. 30221 func (s *CreateDataQualityJobDefinitionOutput) SetJobDefinitionArn(v string) *CreateDataQualityJobDefinitionOutput { 30222 s.JobDefinitionArn = &v 30223 return s 30224 } 30225 30226 type CreateDeviceFleetInput struct { 30227 _ struct{} `type:"structure"` 30228 30229 // A description of the fleet. 30230 Description *string `min:"1" type:"string"` 30231 30232 // The name of the fleet that the device belongs to. 30233 // 30234 // DeviceFleetName is a required field 30235 DeviceFleetName *string `min:"1" type:"string" required:"true"` 30236 30237 // Whether to create an Amazon Web Services IoT Role Alias during device fleet 30238 // creation. The name of the role alias generated will match this pattern: "SageMakerEdge-{DeviceFleetName}". 30239 // 30240 // For example, if your device fleet is called "demo-fleet", the name of the 30241 // role alias will be "SageMakerEdge-demo-fleet". 30242 EnableIotRoleAlias *bool `type:"boolean"` 30243 30244 // The output configuration for storing sample data collected by the fleet. 30245 // 30246 // OutputConfig is a required field 30247 OutputConfig *EdgeOutputConfig `type:"structure" required:"true"` 30248 30249 // The Amazon Resource Name (ARN) that has access to Amazon Web Services Internet 30250 // of Things (IoT). 30251 RoleArn *string `min:"20" type:"string"` 30252 30253 // Creates tags for the specified fleet. 30254 Tags []*Tag `type:"list"` 30255 } 30256 30257 // String returns the string representation. 30258 // 30259 // API parameter values that are decorated as "sensitive" in the API will not 30260 // be included in the string output. The member name will be present, but the 30261 // value will be replaced with "sensitive". 30262 func (s CreateDeviceFleetInput) String() string { 30263 return awsutil.Prettify(s) 30264 } 30265 30266 // GoString returns the string representation. 30267 // 30268 // API parameter values that are decorated as "sensitive" in the API will not 30269 // be included in the string output. The member name will be present, but the 30270 // value will be replaced with "sensitive". 30271 func (s CreateDeviceFleetInput) GoString() string { 30272 return s.String() 30273 } 30274 30275 // Validate inspects the fields of the type to determine if they are valid. 30276 func (s *CreateDeviceFleetInput) Validate() error { 30277 invalidParams := request.ErrInvalidParams{Context: "CreateDeviceFleetInput"} 30278 if s.Description != nil && len(*s.Description) < 1 { 30279 invalidParams.Add(request.NewErrParamMinLen("Description", 1)) 30280 } 30281 if s.DeviceFleetName == nil { 30282 invalidParams.Add(request.NewErrParamRequired("DeviceFleetName")) 30283 } 30284 if s.DeviceFleetName != nil && len(*s.DeviceFleetName) < 1 { 30285 invalidParams.Add(request.NewErrParamMinLen("DeviceFleetName", 1)) 30286 } 30287 if s.OutputConfig == nil { 30288 invalidParams.Add(request.NewErrParamRequired("OutputConfig")) 30289 } 30290 if s.RoleArn != nil && len(*s.RoleArn) < 20 { 30291 invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) 30292 } 30293 if s.OutputConfig != nil { 30294 if err := s.OutputConfig.Validate(); err != nil { 30295 invalidParams.AddNested("OutputConfig", err.(request.ErrInvalidParams)) 30296 } 30297 } 30298 if s.Tags != nil { 30299 for i, v := range s.Tags { 30300 if v == nil { 30301 continue 30302 } 30303 if err := v.Validate(); err != nil { 30304 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 30305 } 30306 } 30307 } 30308 30309 if invalidParams.Len() > 0 { 30310 return invalidParams 30311 } 30312 return nil 30313 } 30314 30315 // SetDescription sets the Description field's value. 30316 func (s *CreateDeviceFleetInput) SetDescription(v string) *CreateDeviceFleetInput { 30317 s.Description = &v 30318 return s 30319 } 30320 30321 // SetDeviceFleetName sets the DeviceFleetName field's value. 30322 func (s *CreateDeviceFleetInput) SetDeviceFleetName(v string) *CreateDeviceFleetInput { 30323 s.DeviceFleetName = &v 30324 return s 30325 } 30326 30327 // SetEnableIotRoleAlias sets the EnableIotRoleAlias field's value. 30328 func (s *CreateDeviceFleetInput) SetEnableIotRoleAlias(v bool) *CreateDeviceFleetInput { 30329 s.EnableIotRoleAlias = &v 30330 return s 30331 } 30332 30333 // SetOutputConfig sets the OutputConfig field's value. 30334 func (s *CreateDeviceFleetInput) SetOutputConfig(v *EdgeOutputConfig) *CreateDeviceFleetInput { 30335 s.OutputConfig = v 30336 return s 30337 } 30338 30339 // SetRoleArn sets the RoleArn field's value. 30340 func (s *CreateDeviceFleetInput) SetRoleArn(v string) *CreateDeviceFleetInput { 30341 s.RoleArn = &v 30342 return s 30343 } 30344 30345 // SetTags sets the Tags field's value. 30346 func (s *CreateDeviceFleetInput) SetTags(v []*Tag) *CreateDeviceFleetInput { 30347 s.Tags = v 30348 return s 30349 } 30350 30351 type CreateDeviceFleetOutput struct { 30352 _ struct{} `type:"structure"` 30353 } 30354 30355 // String returns the string representation. 30356 // 30357 // API parameter values that are decorated as "sensitive" in the API will not 30358 // be included in the string output. The member name will be present, but the 30359 // value will be replaced with "sensitive". 30360 func (s CreateDeviceFleetOutput) String() string { 30361 return awsutil.Prettify(s) 30362 } 30363 30364 // GoString returns the string representation. 30365 // 30366 // API parameter values that are decorated as "sensitive" in the API will not 30367 // be included in the string output. The member name will be present, but the 30368 // value will be replaced with "sensitive". 30369 func (s CreateDeviceFleetOutput) GoString() string { 30370 return s.String() 30371 } 30372 30373 type CreateDomainInput struct { 30374 _ struct{} `type:"structure"` 30375 30376 // Specifies the VPC used for non-EFS traffic. The default value is PublicInternetOnly. 30377 // 30378 // * PublicInternetOnly - Non-EFS traffic is through a VPC managed by Amazon 30379 // SageMaker, which allows direct internet access 30380 // 30381 // * VpcOnly - All Studio traffic is through the specified VPC and subnets 30382 AppNetworkAccessType *string `type:"string" enum:"AppNetworkAccessType"` 30383 30384 // The mode of authentication that members use to access the domain. 30385 // 30386 // AuthMode is a required field 30387 AuthMode *string `type:"string" required:"true" enum:"AuthMode"` 30388 30389 // The default settings to use to create a user profile when UserSettings isn't 30390 // specified in the call to the CreateUserProfile API. 30391 // 30392 // SecurityGroups is aggregated when specified in both calls. For all other 30393 // settings in UserSettings, the values specified in CreateUserProfile take 30394 // precedence over those specified in CreateDomain. 30395 // 30396 // DefaultUserSettings is a required field 30397 DefaultUserSettings *UserSettings `type:"structure" required:"true"` 30398 30399 // A name for the domain. 30400 // 30401 // DomainName is a required field 30402 DomainName *string `type:"string" required:"true"` 30403 30404 // This member is deprecated and replaced with KmsKeyId. 30405 // 30406 // Deprecated: This property is deprecated, use KmsKeyId instead. 30407 HomeEfsFileSystemKmsKeyId *string `deprecated:"true" type:"string"` 30408 30409 // SageMaker uses Amazon Web Services KMS to encrypt the EFS volume attached 30410 // to the domain with an Amazon Web Services managed key by default. For more 30411 // control, specify a customer managed key. 30412 KmsKeyId *string `type:"string"` 30413 30414 // The VPC subnets that Studio uses for communication. 30415 // 30416 // SubnetIds is a required field 30417 SubnetIds []*string `min:"1" type:"list" required:"true"` 30418 30419 // Tags to associated with the Domain. Each tag consists of a key and an optional 30420 // value. Tag keys must be unique per resource. Tags are searchable using the 30421 // Search API. 30422 // 30423 // Tags that you specify for the Domain are also added to all Apps that the 30424 // Domain launches. 30425 Tags []*Tag `type:"list"` 30426 30427 // The ID of the Amazon Virtual Private Cloud (VPC) that Studio uses for communication. 30428 // 30429 // VpcId is a required field 30430 VpcId *string `type:"string" required:"true"` 30431 } 30432 30433 // String returns the string representation. 30434 // 30435 // API parameter values that are decorated as "sensitive" in the API will not 30436 // be included in the string output. The member name will be present, but the 30437 // value will be replaced with "sensitive". 30438 func (s CreateDomainInput) String() string { 30439 return awsutil.Prettify(s) 30440 } 30441 30442 // GoString returns the string representation. 30443 // 30444 // API parameter values that are decorated as "sensitive" in the API will not 30445 // be included in the string output. The member name will be present, but the 30446 // value will be replaced with "sensitive". 30447 func (s CreateDomainInput) GoString() string { 30448 return s.String() 30449 } 30450 30451 // Validate inspects the fields of the type to determine if they are valid. 30452 func (s *CreateDomainInput) Validate() error { 30453 invalidParams := request.ErrInvalidParams{Context: "CreateDomainInput"} 30454 if s.AuthMode == nil { 30455 invalidParams.Add(request.NewErrParamRequired("AuthMode")) 30456 } 30457 if s.DefaultUserSettings == nil { 30458 invalidParams.Add(request.NewErrParamRequired("DefaultUserSettings")) 30459 } 30460 if s.DomainName == nil { 30461 invalidParams.Add(request.NewErrParamRequired("DomainName")) 30462 } 30463 if s.SubnetIds == nil { 30464 invalidParams.Add(request.NewErrParamRequired("SubnetIds")) 30465 } 30466 if s.SubnetIds != nil && len(s.SubnetIds) < 1 { 30467 invalidParams.Add(request.NewErrParamMinLen("SubnetIds", 1)) 30468 } 30469 if s.VpcId == nil { 30470 invalidParams.Add(request.NewErrParamRequired("VpcId")) 30471 } 30472 if s.DefaultUserSettings != nil { 30473 if err := s.DefaultUserSettings.Validate(); err != nil { 30474 invalidParams.AddNested("DefaultUserSettings", err.(request.ErrInvalidParams)) 30475 } 30476 } 30477 if s.Tags != nil { 30478 for i, v := range s.Tags { 30479 if v == nil { 30480 continue 30481 } 30482 if err := v.Validate(); err != nil { 30483 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 30484 } 30485 } 30486 } 30487 30488 if invalidParams.Len() > 0 { 30489 return invalidParams 30490 } 30491 return nil 30492 } 30493 30494 // SetAppNetworkAccessType sets the AppNetworkAccessType field's value. 30495 func (s *CreateDomainInput) SetAppNetworkAccessType(v string) *CreateDomainInput { 30496 s.AppNetworkAccessType = &v 30497 return s 30498 } 30499 30500 // SetAuthMode sets the AuthMode field's value. 30501 func (s *CreateDomainInput) SetAuthMode(v string) *CreateDomainInput { 30502 s.AuthMode = &v 30503 return s 30504 } 30505 30506 // SetDefaultUserSettings sets the DefaultUserSettings field's value. 30507 func (s *CreateDomainInput) SetDefaultUserSettings(v *UserSettings) *CreateDomainInput { 30508 s.DefaultUserSettings = v 30509 return s 30510 } 30511 30512 // SetDomainName sets the DomainName field's value. 30513 func (s *CreateDomainInput) SetDomainName(v string) *CreateDomainInput { 30514 s.DomainName = &v 30515 return s 30516 } 30517 30518 // SetHomeEfsFileSystemKmsKeyId sets the HomeEfsFileSystemKmsKeyId field's value. 30519 func (s *CreateDomainInput) SetHomeEfsFileSystemKmsKeyId(v string) *CreateDomainInput { 30520 s.HomeEfsFileSystemKmsKeyId = &v 30521 return s 30522 } 30523 30524 // SetKmsKeyId sets the KmsKeyId field's value. 30525 func (s *CreateDomainInput) SetKmsKeyId(v string) *CreateDomainInput { 30526 s.KmsKeyId = &v 30527 return s 30528 } 30529 30530 // SetSubnetIds sets the SubnetIds field's value. 30531 func (s *CreateDomainInput) SetSubnetIds(v []*string) *CreateDomainInput { 30532 s.SubnetIds = v 30533 return s 30534 } 30535 30536 // SetTags sets the Tags field's value. 30537 func (s *CreateDomainInput) SetTags(v []*Tag) *CreateDomainInput { 30538 s.Tags = v 30539 return s 30540 } 30541 30542 // SetVpcId sets the VpcId field's value. 30543 func (s *CreateDomainInput) SetVpcId(v string) *CreateDomainInput { 30544 s.VpcId = &v 30545 return s 30546 } 30547 30548 type CreateDomainOutput struct { 30549 _ struct{} `type:"structure"` 30550 30551 // The Amazon Resource Name (ARN) of the created domain. 30552 DomainArn *string `type:"string"` 30553 30554 // The URL to the created domain. 30555 Url *string `type:"string"` 30556 } 30557 30558 // String returns the string representation. 30559 // 30560 // API parameter values that are decorated as "sensitive" in the API will not 30561 // be included in the string output. The member name will be present, but the 30562 // value will be replaced with "sensitive". 30563 func (s CreateDomainOutput) String() string { 30564 return awsutil.Prettify(s) 30565 } 30566 30567 // GoString returns the string representation. 30568 // 30569 // API parameter values that are decorated as "sensitive" in the API will not 30570 // be included in the string output. The member name will be present, but the 30571 // value will be replaced with "sensitive". 30572 func (s CreateDomainOutput) GoString() string { 30573 return s.String() 30574 } 30575 30576 // SetDomainArn sets the DomainArn field's value. 30577 func (s *CreateDomainOutput) SetDomainArn(v string) *CreateDomainOutput { 30578 s.DomainArn = &v 30579 return s 30580 } 30581 30582 // SetUrl sets the Url field's value. 30583 func (s *CreateDomainOutput) SetUrl(v string) *CreateDomainOutput { 30584 s.Url = &v 30585 return s 30586 } 30587 30588 type CreateEdgePackagingJobInput struct { 30589 _ struct{} `type:"structure"` 30590 30591 // The name of the SageMaker Neo compilation job that will be used to locate 30592 // model artifacts for packaging. 30593 // 30594 // CompilationJobName is a required field 30595 CompilationJobName *string `min:"1" type:"string" required:"true"` 30596 30597 // The name of the edge packaging job. 30598 // 30599 // EdgePackagingJobName is a required field 30600 EdgePackagingJobName *string `min:"1" type:"string" required:"true"` 30601 30602 // The name of the model. 30603 // 30604 // ModelName is a required field 30605 ModelName *string `min:"1" type:"string" required:"true"` 30606 30607 // The version of the model. 30608 // 30609 // ModelVersion is a required field 30610 ModelVersion *string `min:"1" type:"string" required:"true"` 30611 30612 // Provides information about the output location for the packaged model. 30613 // 30614 // OutputConfig is a required field 30615 OutputConfig *EdgeOutputConfig `type:"structure" required:"true"` 30616 30617 // The Amazon Web Services KMS key to use when encrypting the EBS volume the 30618 // edge packaging job runs on. 30619 ResourceKey *string `type:"string"` 30620 30621 // The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker 30622 // to download and upload the model, and to contact SageMaker Neo. 30623 // 30624 // RoleArn is a required field 30625 RoleArn *string `min:"20" type:"string" required:"true"` 30626 30627 // Creates tags for the packaging job. 30628 Tags []*Tag `type:"list"` 30629 } 30630 30631 // String returns the string representation. 30632 // 30633 // API parameter values that are decorated as "sensitive" in the API will not 30634 // be included in the string output. The member name will be present, but the 30635 // value will be replaced with "sensitive". 30636 func (s CreateEdgePackagingJobInput) String() string { 30637 return awsutil.Prettify(s) 30638 } 30639 30640 // GoString returns the string representation. 30641 // 30642 // API parameter values that are decorated as "sensitive" in the API will not 30643 // be included in the string output. The member name will be present, but the 30644 // value will be replaced with "sensitive". 30645 func (s CreateEdgePackagingJobInput) GoString() string { 30646 return s.String() 30647 } 30648 30649 // Validate inspects the fields of the type to determine if they are valid. 30650 func (s *CreateEdgePackagingJobInput) Validate() error { 30651 invalidParams := request.ErrInvalidParams{Context: "CreateEdgePackagingJobInput"} 30652 if s.CompilationJobName == nil { 30653 invalidParams.Add(request.NewErrParamRequired("CompilationJobName")) 30654 } 30655 if s.CompilationJobName != nil && len(*s.CompilationJobName) < 1 { 30656 invalidParams.Add(request.NewErrParamMinLen("CompilationJobName", 1)) 30657 } 30658 if s.EdgePackagingJobName == nil { 30659 invalidParams.Add(request.NewErrParamRequired("EdgePackagingJobName")) 30660 } 30661 if s.EdgePackagingJobName != nil && len(*s.EdgePackagingJobName) < 1 { 30662 invalidParams.Add(request.NewErrParamMinLen("EdgePackagingJobName", 1)) 30663 } 30664 if s.ModelName == nil { 30665 invalidParams.Add(request.NewErrParamRequired("ModelName")) 30666 } 30667 if s.ModelName != nil && len(*s.ModelName) < 1 { 30668 invalidParams.Add(request.NewErrParamMinLen("ModelName", 1)) 30669 } 30670 if s.ModelVersion == nil { 30671 invalidParams.Add(request.NewErrParamRequired("ModelVersion")) 30672 } 30673 if s.ModelVersion != nil && len(*s.ModelVersion) < 1 { 30674 invalidParams.Add(request.NewErrParamMinLen("ModelVersion", 1)) 30675 } 30676 if s.OutputConfig == nil { 30677 invalidParams.Add(request.NewErrParamRequired("OutputConfig")) 30678 } 30679 if s.RoleArn == nil { 30680 invalidParams.Add(request.NewErrParamRequired("RoleArn")) 30681 } 30682 if s.RoleArn != nil && len(*s.RoleArn) < 20 { 30683 invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) 30684 } 30685 if s.OutputConfig != nil { 30686 if err := s.OutputConfig.Validate(); err != nil { 30687 invalidParams.AddNested("OutputConfig", err.(request.ErrInvalidParams)) 30688 } 30689 } 30690 if s.Tags != nil { 30691 for i, v := range s.Tags { 30692 if v == nil { 30693 continue 30694 } 30695 if err := v.Validate(); err != nil { 30696 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 30697 } 30698 } 30699 } 30700 30701 if invalidParams.Len() > 0 { 30702 return invalidParams 30703 } 30704 return nil 30705 } 30706 30707 // SetCompilationJobName sets the CompilationJobName field's value. 30708 func (s *CreateEdgePackagingJobInput) SetCompilationJobName(v string) *CreateEdgePackagingJobInput { 30709 s.CompilationJobName = &v 30710 return s 30711 } 30712 30713 // SetEdgePackagingJobName sets the EdgePackagingJobName field's value. 30714 func (s *CreateEdgePackagingJobInput) SetEdgePackagingJobName(v string) *CreateEdgePackagingJobInput { 30715 s.EdgePackagingJobName = &v 30716 return s 30717 } 30718 30719 // SetModelName sets the ModelName field's value. 30720 func (s *CreateEdgePackagingJobInput) SetModelName(v string) *CreateEdgePackagingJobInput { 30721 s.ModelName = &v 30722 return s 30723 } 30724 30725 // SetModelVersion sets the ModelVersion field's value. 30726 func (s *CreateEdgePackagingJobInput) SetModelVersion(v string) *CreateEdgePackagingJobInput { 30727 s.ModelVersion = &v 30728 return s 30729 } 30730 30731 // SetOutputConfig sets the OutputConfig field's value. 30732 func (s *CreateEdgePackagingJobInput) SetOutputConfig(v *EdgeOutputConfig) *CreateEdgePackagingJobInput { 30733 s.OutputConfig = v 30734 return s 30735 } 30736 30737 // SetResourceKey sets the ResourceKey field's value. 30738 func (s *CreateEdgePackagingJobInput) SetResourceKey(v string) *CreateEdgePackagingJobInput { 30739 s.ResourceKey = &v 30740 return s 30741 } 30742 30743 // SetRoleArn sets the RoleArn field's value. 30744 func (s *CreateEdgePackagingJobInput) SetRoleArn(v string) *CreateEdgePackagingJobInput { 30745 s.RoleArn = &v 30746 return s 30747 } 30748 30749 // SetTags sets the Tags field's value. 30750 func (s *CreateEdgePackagingJobInput) SetTags(v []*Tag) *CreateEdgePackagingJobInput { 30751 s.Tags = v 30752 return s 30753 } 30754 30755 type CreateEdgePackagingJobOutput struct { 30756 _ struct{} `type:"structure"` 30757 } 30758 30759 // String returns the string representation. 30760 // 30761 // API parameter values that are decorated as "sensitive" in the API will not 30762 // be included in the string output. The member name will be present, but the 30763 // value will be replaced with "sensitive". 30764 func (s CreateEdgePackagingJobOutput) String() string { 30765 return awsutil.Prettify(s) 30766 } 30767 30768 // GoString returns the string representation. 30769 // 30770 // API parameter values that are decorated as "sensitive" in the API will not 30771 // be included in the string output. The member name will be present, but the 30772 // value will be replaced with "sensitive". 30773 func (s CreateEdgePackagingJobOutput) GoString() string { 30774 return s.String() 30775 } 30776 30777 type CreateEndpointConfigInput struct { 30778 _ struct{} `type:"structure"` 30779 30780 // Specifies configuration for how an endpoint performs asynchronous inference. 30781 // This is a required field in order for your Endpoint to be invoked using InvokeEndpointAsync 30782 // (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_runtime_InvokeEndpoint.html). 30783 AsyncInferenceConfig *AsyncInferenceConfig `type:"structure"` 30784 30785 DataCaptureConfig *DataCaptureConfig `type:"structure"` 30786 30787 // The name of the endpoint configuration. You specify this name in a CreateEndpoint 30788 // request. 30789 // 30790 // EndpointConfigName is a required field 30791 EndpointConfigName *string `type:"string" required:"true"` 30792 30793 // The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service 30794 // key that Amazon SageMaker uses to encrypt data on the storage volume attached 30795 // to the ML compute instance that hosts the endpoint. 30796 // 30797 // The KmsKeyId can be any of the following formats: 30798 // 30799 // * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab 30800 // 30801 // * Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab 30802 // 30803 // * Alias name: alias/ExampleAlias 30804 // 30805 // * Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias 30806 // 30807 // The KMS key policy must grant permission to the IAM role that you specify 30808 // in your CreateEndpoint, UpdateEndpoint requests. For more information, refer 30809 // to the Amazon Web Services Key Management Service section Using Key Policies 30810 // in Amazon Web Services KMS (https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html) 30811 // 30812 // Certain Nitro-based instances include local storage, dependent on the instance 30813 // type. Local storage volumes are encrypted using a hardware module on the 30814 // instance. You can't request a KmsKeyId when using an instance type with local 30815 // storage. If any of the models that you specify in the ProductionVariants 30816 // parameter use nitro-based instances with local storage, do not specify a 30817 // value for the KmsKeyId parameter. If you specify a value for KmsKeyId when 30818 // using any nitro-based instances with local storage, the call to CreateEndpointConfig 30819 // fails. 30820 // 30821 // For a list of instance types that support local instance storage, see Instance 30822 // Store Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes). 30823 // 30824 // For more information about local instance storage encryption, see SSD Instance 30825 // Store Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ssd-instance-store.html). 30826 KmsKeyId *string `type:"string"` 30827 30828 // An list of ProductionVariant objects, one for each model that you want to 30829 // host at this endpoint. 30830 // 30831 // ProductionVariants is a required field 30832 ProductionVariants []*ProductionVariant `min:"1" type:"list" required:"true"` 30833 30834 // An array of key-value pairs. You can use tags to categorize your Amazon Web 30835 // Services resources in different ways, for example, by purpose, owner, or 30836 // environment. For more information, see Tagging Amazon Web Services Resources 30837 // (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html). 30838 Tags []*Tag `type:"list"` 30839 } 30840 30841 // String returns the string representation. 30842 // 30843 // API parameter values that are decorated as "sensitive" in the API will not 30844 // be included in the string output. The member name will be present, but the 30845 // value will be replaced with "sensitive". 30846 func (s CreateEndpointConfigInput) String() string { 30847 return awsutil.Prettify(s) 30848 } 30849 30850 // GoString returns the string representation. 30851 // 30852 // API parameter values that are decorated as "sensitive" in the API will not 30853 // be included in the string output. The member name will be present, but the 30854 // value will be replaced with "sensitive". 30855 func (s CreateEndpointConfigInput) GoString() string { 30856 return s.String() 30857 } 30858 30859 // Validate inspects the fields of the type to determine if they are valid. 30860 func (s *CreateEndpointConfigInput) Validate() error { 30861 invalidParams := request.ErrInvalidParams{Context: "CreateEndpointConfigInput"} 30862 if s.EndpointConfigName == nil { 30863 invalidParams.Add(request.NewErrParamRequired("EndpointConfigName")) 30864 } 30865 if s.ProductionVariants == nil { 30866 invalidParams.Add(request.NewErrParamRequired("ProductionVariants")) 30867 } 30868 if s.ProductionVariants != nil && len(s.ProductionVariants) < 1 { 30869 invalidParams.Add(request.NewErrParamMinLen("ProductionVariants", 1)) 30870 } 30871 if s.AsyncInferenceConfig != nil { 30872 if err := s.AsyncInferenceConfig.Validate(); err != nil { 30873 invalidParams.AddNested("AsyncInferenceConfig", err.(request.ErrInvalidParams)) 30874 } 30875 } 30876 if s.DataCaptureConfig != nil { 30877 if err := s.DataCaptureConfig.Validate(); err != nil { 30878 invalidParams.AddNested("DataCaptureConfig", err.(request.ErrInvalidParams)) 30879 } 30880 } 30881 if s.ProductionVariants != nil { 30882 for i, v := range s.ProductionVariants { 30883 if v == nil { 30884 continue 30885 } 30886 if err := v.Validate(); err != nil { 30887 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ProductionVariants", i), err.(request.ErrInvalidParams)) 30888 } 30889 } 30890 } 30891 if s.Tags != nil { 30892 for i, v := range s.Tags { 30893 if v == nil { 30894 continue 30895 } 30896 if err := v.Validate(); err != nil { 30897 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 30898 } 30899 } 30900 } 30901 30902 if invalidParams.Len() > 0 { 30903 return invalidParams 30904 } 30905 return nil 30906 } 30907 30908 // SetAsyncInferenceConfig sets the AsyncInferenceConfig field's value. 30909 func (s *CreateEndpointConfigInput) SetAsyncInferenceConfig(v *AsyncInferenceConfig) *CreateEndpointConfigInput { 30910 s.AsyncInferenceConfig = v 30911 return s 30912 } 30913 30914 // SetDataCaptureConfig sets the DataCaptureConfig field's value. 30915 func (s *CreateEndpointConfigInput) SetDataCaptureConfig(v *DataCaptureConfig) *CreateEndpointConfigInput { 30916 s.DataCaptureConfig = v 30917 return s 30918 } 30919 30920 // SetEndpointConfigName sets the EndpointConfigName field's value. 30921 func (s *CreateEndpointConfigInput) SetEndpointConfigName(v string) *CreateEndpointConfigInput { 30922 s.EndpointConfigName = &v 30923 return s 30924 } 30925 30926 // SetKmsKeyId sets the KmsKeyId field's value. 30927 func (s *CreateEndpointConfigInput) SetKmsKeyId(v string) *CreateEndpointConfigInput { 30928 s.KmsKeyId = &v 30929 return s 30930 } 30931 30932 // SetProductionVariants sets the ProductionVariants field's value. 30933 func (s *CreateEndpointConfigInput) SetProductionVariants(v []*ProductionVariant) *CreateEndpointConfigInput { 30934 s.ProductionVariants = v 30935 return s 30936 } 30937 30938 // SetTags sets the Tags field's value. 30939 func (s *CreateEndpointConfigInput) SetTags(v []*Tag) *CreateEndpointConfigInput { 30940 s.Tags = v 30941 return s 30942 } 30943 30944 type CreateEndpointConfigOutput struct { 30945 _ struct{} `type:"structure"` 30946 30947 // The Amazon Resource Name (ARN) of the endpoint configuration. 30948 // 30949 // EndpointConfigArn is a required field 30950 EndpointConfigArn *string `min:"20" type:"string" required:"true"` 30951 } 30952 30953 // String returns the string representation. 30954 // 30955 // API parameter values that are decorated as "sensitive" in the API will not 30956 // be included in the string output. The member name will be present, but the 30957 // value will be replaced with "sensitive". 30958 func (s CreateEndpointConfigOutput) String() string { 30959 return awsutil.Prettify(s) 30960 } 30961 30962 // GoString returns the string representation. 30963 // 30964 // API parameter values that are decorated as "sensitive" in the API will not 30965 // be included in the string output. The member name will be present, but the 30966 // value will be replaced with "sensitive". 30967 func (s CreateEndpointConfigOutput) GoString() string { 30968 return s.String() 30969 } 30970 30971 // SetEndpointConfigArn sets the EndpointConfigArn field's value. 30972 func (s *CreateEndpointConfigOutput) SetEndpointConfigArn(v string) *CreateEndpointConfigOutput { 30973 s.EndpointConfigArn = &v 30974 return s 30975 } 30976 30977 type CreateEndpointInput struct { 30978 _ struct{} `type:"structure"` 30979 30980 // The name of an endpoint configuration. For more information, see CreateEndpointConfig. 30981 // 30982 // EndpointConfigName is a required field 30983 EndpointConfigName *string `type:"string" required:"true"` 30984 30985 // The name of the endpoint.The name must be unique within an Amazon Web Services 30986 // Region in your Amazon Web Services account. The name is case-insensitive 30987 // in CreateEndpoint, but the case is preserved and must be matched in . 30988 // 30989 // EndpointName is a required field 30990 EndpointName *string `type:"string" required:"true"` 30991 30992 // An array of key-value pairs. You can use tags to categorize your Amazon Web 30993 // Services resources in different ways, for example, by purpose, owner, or 30994 // environment. For more information, see Tagging Amazon Web Services Resources 30995 // (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html). 30996 Tags []*Tag `type:"list"` 30997 } 30998 30999 // String returns the string representation. 31000 // 31001 // API parameter values that are decorated as "sensitive" in the API will not 31002 // be included in the string output. The member name will be present, but the 31003 // value will be replaced with "sensitive". 31004 func (s CreateEndpointInput) String() string { 31005 return awsutil.Prettify(s) 31006 } 31007 31008 // GoString returns the string representation. 31009 // 31010 // API parameter values that are decorated as "sensitive" in the API will not 31011 // be included in the string output. The member name will be present, but the 31012 // value will be replaced with "sensitive". 31013 func (s CreateEndpointInput) GoString() string { 31014 return s.String() 31015 } 31016 31017 // Validate inspects the fields of the type to determine if they are valid. 31018 func (s *CreateEndpointInput) Validate() error { 31019 invalidParams := request.ErrInvalidParams{Context: "CreateEndpointInput"} 31020 if s.EndpointConfigName == nil { 31021 invalidParams.Add(request.NewErrParamRequired("EndpointConfigName")) 31022 } 31023 if s.EndpointName == nil { 31024 invalidParams.Add(request.NewErrParamRequired("EndpointName")) 31025 } 31026 if s.Tags != nil { 31027 for i, v := range s.Tags { 31028 if v == nil { 31029 continue 31030 } 31031 if err := v.Validate(); err != nil { 31032 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 31033 } 31034 } 31035 } 31036 31037 if invalidParams.Len() > 0 { 31038 return invalidParams 31039 } 31040 return nil 31041 } 31042 31043 // SetEndpointConfigName sets the EndpointConfigName field's value. 31044 func (s *CreateEndpointInput) SetEndpointConfigName(v string) *CreateEndpointInput { 31045 s.EndpointConfigName = &v 31046 return s 31047 } 31048 31049 // SetEndpointName sets the EndpointName field's value. 31050 func (s *CreateEndpointInput) SetEndpointName(v string) *CreateEndpointInput { 31051 s.EndpointName = &v 31052 return s 31053 } 31054 31055 // SetTags sets the Tags field's value. 31056 func (s *CreateEndpointInput) SetTags(v []*Tag) *CreateEndpointInput { 31057 s.Tags = v 31058 return s 31059 } 31060 31061 type CreateEndpointOutput struct { 31062 _ struct{} `type:"structure"` 31063 31064 // The Amazon Resource Name (ARN) of the endpoint. 31065 // 31066 // EndpointArn is a required field 31067 EndpointArn *string `min:"20" type:"string" required:"true"` 31068 } 31069 31070 // String returns the string representation. 31071 // 31072 // API parameter values that are decorated as "sensitive" in the API will not 31073 // be included in the string output. The member name will be present, but the 31074 // value will be replaced with "sensitive". 31075 func (s CreateEndpointOutput) String() string { 31076 return awsutil.Prettify(s) 31077 } 31078 31079 // GoString returns the string representation. 31080 // 31081 // API parameter values that are decorated as "sensitive" in the API will not 31082 // be included in the string output. The member name will be present, but the 31083 // value will be replaced with "sensitive". 31084 func (s CreateEndpointOutput) GoString() string { 31085 return s.String() 31086 } 31087 31088 // SetEndpointArn sets the EndpointArn field's value. 31089 func (s *CreateEndpointOutput) SetEndpointArn(v string) *CreateEndpointOutput { 31090 s.EndpointArn = &v 31091 return s 31092 } 31093 31094 type CreateExperimentInput struct { 31095 _ struct{} `type:"structure"` 31096 31097 // The description of the experiment. 31098 Description *string `type:"string"` 31099 31100 // The name of the experiment as displayed. The name doesn't need to be unique. 31101 // If you don't specify DisplayName, the value in ExperimentName is displayed. 31102 DisplayName *string `min:"1" type:"string"` 31103 31104 // The name of the experiment. The name must be unique in your Amazon Web Services 31105 // account and is not case-sensitive. 31106 // 31107 // ExperimentName is a required field 31108 ExperimentName *string `min:"1" type:"string" required:"true"` 31109 31110 // A list of tags to associate with the experiment. You can use Search API to 31111 // search on the tags. 31112 Tags []*Tag `type:"list"` 31113 } 31114 31115 // String returns the string representation. 31116 // 31117 // API parameter values that are decorated as "sensitive" in the API will not 31118 // be included in the string output. The member name will be present, but the 31119 // value will be replaced with "sensitive". 31120 func (s CreateExperimentInput) String() string { 31121 return awsutil.Prettify(s) 31122 } 31123 31124 // GoString returns the string representation. 31125 // 31126 // API parameter values that are decorated as "sensitive" in the API will not 31127 // be included in the string output. The member name will be present, but the 31128 // value will be replaced with "sensitive". 31129 func (s CreateExperimentInput) GoString() string { 31130 return s.String() 31131 } 31132 31133 // Validate inspects the fields of the type to determine if they are valid. 31134 func (s *CreateExperimentInput) Validate() error { 31135 invalidParams := request.ErrInvalidParams{Context: "CreateExperimentInput"} 31136 if s.DisplayName != nil && len(*s.DisplayName) < 1 { 31137 invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1)) 31138 } 31139 if s.ExperimentName == nil { 31140 invalidParams.Add(request.NewErrParamRequired("ExperimentName")) 31141 } 31142 if s.ExperimentName != nil && len(*s.ExperimentName) < 1 { 31143 invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1)) 31144 } 31145 if s.Tags != nil { 31146 for i, v := range s.Tags { 31147 if v == nil { 31148 continue 31149 } 31150 if err := v.Validate(); err != nil { 31151 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 31152 } 31153 } 31154 } 31155 31156 if invalidParams.Len() > 0 { 31157 return invalidParams 31158 } 31159 return nil 31160 } 31161 31162 // SetDescription sets the Description field's value. 31163 func (s *CreateExperimentInput) SetDescription(v string) *CreateExperimentInput { 31164 s.Description = &v 31165 return s 31166 } 31167 31168 // SetDisplayName sets the DisplayName field's value. 31169 func (s *CreateExperimentInput) SetDisplayName(v string) *CreateExperimentInput { 31170 s.DisplayName = &v 31171 return s 31172 } 31173 31174 // SetExperimentName sets the ExperimentName field's value. 31175 func (s *CreateExperimentInput) SetExperimentName(v string) *CreateExperimentInput { 31176 s.ExperimentName = &v 31177 return s 31178 } 31179 31180 // SetTags sets the Tags field's value. 31181 func (s *CreateExperimentInput) SetTags(v []*Tag) *CreateExperimentInput { 31182 s.Tags = v 31183 return s 31184 } 31185 31186 type CreateExperimentOutput struct { 31187 _ struct{} `type:"structure"` 31188 31189 // The Amazon Resource Name (ARN) of the experiment. 31190 ExperimentArn *string `type:"string"` 31191 } 31192 31193 // String returns the string representation. 31194 // 31195 // API parameter values that are decorated as "sensitive" in the API will not 31196 // be included in the string output. The member name will be present, but the 31197 // value will be replaced with "sensitive". 31198 func (s CreateExperimentOutput) String() string { 31199 return awsutil.Prettify(s) 31200 } 31201 31202 // GoString returns the string representation. 31203 // 31204 // API parameter values that are decorated as "sensitive" in the API will not 31205 // be included in the string output. The member name will be present, but the 31206 // value will be replaced with "sensitive". 31207 func (s CreateExperimentOutput) GoString() string { 31208 return s.String() 31209 } 31210 31211 // SetExperimentArn sets the ExperimentArn field's value. 31212 func (s *CreateExperimentOutput) SetExperimentArn(v string) *CreateExperimentOutput { 31213 s.ExperimentArn = &v 31214 return s 31215 } 31216 31217 type CreateFeatureGroupInput struct { 31218 _ struct{} `type:"structure"` 31219 31220 // A free-form description of a FeatureGroup. 31221 Description *string `type:"string"` 31222 31223 // The name of the feature that stores the EventTime of a Record in a FeatureGroup. 31224 // 31225 // An EventTime is a point in time when a new event occurs that corresponds 31226 // to the creation or update of a Record in a FeatureGroup. All Records in the 31227 // FeatureGroup must have a corresponding EventTime. 31228 // 31229 // An EventTime can be a String or Fractional. 31230 // 31231 // * Fractional: EventTime feature values must be a Unix timestamp in seconds. 31232 // 31233 // * String: EventTime feature values must be an ISO-8601 string in the format. 31234 // The following formats are supported yyyy-MM-dd'T'HH:mm:ssZ and yyyy-MM-dd'T'HH:mm:ss.SSSZ 31235 // where yyyy, MM, and dd represent the year, month, and day respectively 31236 // and HH, mm, ss, and if applicable, SSS represent the hour, month, second 31237 // and milliseconds respsectively. 'T' and Z are constants. 31238 // 31239 // EventTimeFeatureName is a required field 31240 EventTimeFeatureName *string `min:"1" type:"string" required:"true"` 31241 31242 // A list of Feature names and types. Name and Type is compulsory per Feature. 31243 // 31244 // Valid feature FeatureTypes are Integral, Fractional and String. 31245 // 31246 // FeatureNames cannot be any of the following: is_deleted, write_time, api_invocation_time 31247 // 31248 // You can create up to 2,500 FeatureDefinitions per FeatureGroup. 31249 // 31250 // FeatureDefinitions is a required field 31251 FeatureDefinitions []*FeatureDefinition `min:"1" type:"list" required:"true"` 31252 31253 // The name of the FeatureGroup. The name must be unique within an Amazon Web 31254 // Services Region in an Amazon Web Services account. The name: 31255 // 31256 // * Must start and end with an alphanumeric character. 31257 // 31258 // * Can only contain alphanumeric character and hyphens. Spaces are not 31259 // allowed. 31260 // 31261 // FeatureGroupName is a required field 31262 FeatureGroupName *string `min:"1" type:"string" required:"true"` 31263 31264 // Use this to configure an OfflineFeatureStore. This parameter allows you to 31265 // specify: 31266 // 31267 // * The Amazon Simple Storage Service (Amazon S3) location of an OfflineStore. 31268 // 31269 // * A configuration for an Amazon Web Services Glue or Amazon Web Services 31270 // Hive data catalog. 31271 // 31272 // * An KMS encryption key to encrypt the Amazon S3 location used for OfflineStore. 31273 // If KMS encryption key is not specified, by default we encrypt all data 31274 // at rest using Amazon Web Services KMS key. By defining your bucket-level 31275 // key (https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-key.html) 31276 // for SSE, you can reduce Amazon Web Services KMS requests costs by up to 31277 // 99 percent. 31278 // 31279 // To learn more about this parameter, see OfflineStoreConfig. 31280 OfflineStoreConfig *OfflineStoreConfig `type:"structure"` 31281 31282 // You can turn the OnlineStore on or off by specifying True for the EnableOnlineStore 31283 // flag in OnlineStoreConfig; the default value is False. 31284 // 31285 // You can also include an Amazon Web Services KMS key ID (KMSKeyId) for at-rest 31286 // encryption of the OnlineStore. 31287 OnlineStoreConfig *OnlineStoreConfig `type:"structure"` 31288 31289 // The name of the Feature whose value uniquely identifies a Record defined 31290 // in the FeatureStore. Only the latest record per identifier value will be 31291 // stored in the OnlineStore. RecordIdentifierFeatureName must be one of feature 31292 // definitions' names. 31293 // 31294 // You use the RecordIdentifierFeatureName to access data in a FeatureStore. 31295 // 31296 // This name: 31297 // 31298 // * Must start and end with an alphanumeric character. 31299 // 31300 // * Can only contains alphanumeric characters, hyphens, underscores. Spaces 31301 // are not allowed. 31302 // 31303 // RecordIdentifierFeatureName is a required field 31304 RecordIdentifierFeatureName *string `min:"1" type:"string" required:"true"` 31305 31306 // The Amazon Resource Name (ARN) of the IAM execution role used to persist 31307 // data into the OfflineStore if an OfflineStoreConfig is provided. 31308 RoleArn *string `min:"20" type:"string"` 31309 31310 // Tags used to identify Features in each FeatureGroup. 31311 Tags []*Tag `type:"list"` 31312 } 31313 31314 // String returns the string representation. 31315 // 31316 // API parameter values that are decorated as "sensitive" in the API will not 31317 // be included in the string output. The member name will be present, but the 31318 // value will be replaced with "sensitive". 31319 func (s CreateFeatureGroupInput) String() string { 31320 return awsutil.Prettify(s) 31321 } 31322 31323 // GoString returns the string representation. 31324 // 31325 // API parameter values that are decorated as "sensitive" in the API will not 31326 // be included in the string output. The member name will be present, but the 31327 // value will be replaced with "sensitive". 31328 func (s CreateFeatureGroupInput) GoString() string { 31329 return s.String() 31330 } 31331 31332 // Validate inspects the fields of the type to determine if they are valid. 31333 func (s *CreateFeatureGroupInput) Validate() error { 31334 invalidParams := request.ErrInvalidParams{Context: "CreateFeatureGroupInput"} 31335 if s.EventTimeFeatureName == nil { 31336 invalidParams.Add(request.NewErrParamRequired("EventTimeFeatureName")) 31337 } 31338 if s.EventTimeFeatureName != nil && len(*s.EventTimeFeatureName) < 1 { 31339 invalidParams.Add(request.NewErrParamMinLen("EventTimeFeatureName", 1)) 31340 } 31341 if s.FeatureDefinitions == nil { 31342 invalidParams.Add(request.NewErrParamRequired("FeatureDefinitions")) 31343 } 31344 if s.FeatureDefinitions != nil && len(s.FeatureDefinitions) < 1 { 31345 invalidParams.Add(request.NewErrParamMinLen("FeatureDefinitions", 1)) 31346 } 31347 if s.FeatureGroupName == nil { 31348 invalidParams.Add(request.NewErrParamRequired("FeatureGroupName")) 31349 } 31350 if s.FeatureGroupName != nil && len(*s.FeatureGroupName) < 1 { 31351 invalidParams.Add(request.NewErrParamMinLen("FeatureGroupName", 1)) 31352 } 31353 if s.RecordIdentifierFeatureName == nil { 31354 invalidParams.Add(request.NewErrParamRequired("RecordIdentifierFeatureName")) 31355 } 31356 if s.RecordIdentifierFeatureName != nil && len(*s.RecordIdentifierFeatureName) < 1 { 31357 invalidParams.Add(request.NewErrParamMinLen("RecordIdentifierFeatureName", 1)) 31358 } 31359 if s.RoleArn != nil && len(*s.RoleArn) < 20 { 31360 invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) 31361 } 31362 if s.FeatureDefinitions != nil { 31363 for i, v := range s.FeatureDefinitions { 31364 if v == nil { 31365 continue 31366 } 31367 if err := v.Validate(); err != nil { 31368 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "FeatureDefinitions", i), err.(request.ErrInvalidParams)) 31369 } 31370 } 31371 } 31372 if s.OfflineStoreConfig != nil { 31373 if err := s.OfflineStoreConfig.Validate(); err != nil { 31374 invalidParams.AddNested("OfflineStoreConfig", err.(request.ErrInvalidParams)) 31375 } 31376 } 31377 if s.Tags != nil { 31378 for i, v := range s.Tags { 31379 if v == nil { 31380 continue 31381 } 31382 if err := v.Validate(); err != nil { 31383 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 31384 } 31385 } 31386 } 31387 31388 if invalidParams.Len() > 0 { 31389 return invalidParams 31390 } 31391 return nil 31392 } 31393 31394 // SetDescription sets the Description field's value. 31395 func (s *CreateFeatureGroupInput) SetDescription(v string) *CreateFeatureGroupInput { 31396 s.Description = &v 31397 return s 31398 } 31399 31400 // SetEventTimeFeatureName sets the EventTimeFeatureName field's value. 31401 func (s *CreateFeatureGroupInput) SetEventTimeFeatureName(v string) *CreateFeatureGroupInput { 31402 s.EventTimeFeatureName = &v 31403 return s 31404 } 31405 31406 // SetFeatureDefinitions sets the FeatureDefinitions field's value. 31407 func (s *CreateFeatureGroupInput) SetFeatureDefinitions(v []*FeatureDefinition) *CreateFeatureGroupInput { 31408 s.FeatureDefinitions = v 31409 return s 31410 } 31411 31412 // SetFeatureGroupName sets the FeatureGroupName field's value. 31413 func (s *CreateFeatureGroupInput) SetFeatureGroupName(v string) *CreateFeatureGroupInput { 31414 s.FeatureGroupName = &v 31415 return s 31416 } 31417 31418 // SetOfflineStoreConfig sets the OfflineStoreConfig field's value. 31419 func (s *CreateFeatureGroupInput) SetOfflineStoreConfig(v *OfflineStoreConfig) *CreateFeatureGroupInput { 31420 s.OfflineStoreConfig = v 31421 return s 31422 } 31423 31424 // SetOnlineStoreConfig sets the OnlineStoreConfig field's value. 31425 func (s *CreateFeatureGroupInput) SetOnlineStoreConfig(v *OnlineStoreConfig) *CreateFeatureGroupInput { 31426 s.OnlineStoreConfig = v 31427 return s 31428 } 31429 31430 // SetRecordIdentifierFeatureName sets the RecordIdentifierFeatureName field's value. 31431 func (s *CreateFeatureGroupInput) SetRecordIdentifierFeatureName(v string) *CreateFeatureGroupInput { 31432 s.RecordIdentifierFeatureName = &v 31433 return s 31434 } 31435 31436 // SetRoleArn sets the RoleArn field's value. 31437 func (s *CreateFeatureGroupInput) SetRoleArn(v string) *CreateFeatureGroupInput { 31438 s.RoleArn = &v 31439 return s 31440 } 31441 31442 // SetTags sets the Tags field's value. 31443 func (s *CreateFeatureGroupInput) SetTags(v []*Tag) *CreateFeatureGroupInput { 31444 s.Tags = v 31445 return s 31446 } 31447 31448 type CreateFeatureGroupOutput struct { 31449 _ struct{} `type:"structure"` 31450 31451 // The Amazon Resource Name (ARN) of the FeatureGroup. This is a unique identifier 31452 // for the feature group. 31453 // 31454 // FeatureGroupArn is a required field 31455 FeatureGroupArn *string `type:"string" required:"true"` 31456 } 31457 31458 // String returns the string representation. 31459 // 31460 // API parameter values that are decorated as "sensitive" in the API will not 31461 // be included in the string output. The member name will be present, but the 31462 // value will be replaced with "sensitive". 31463 func (s CreateFeatureGroupOutput) String() string { 31464 return awsutil.Prettify(s) 31465 } 31466 31467 // GoString returns the string representation. 31468 // 31469 // API parameter values that are decorated as "sensitive" in the API will not 31470 // be included in the string output. The member name will be present, but the 31471 // value will be replaced with "sensitive". 31472 func (s CreateFeatureGroupOutput) GoString() string { 31473 return s.String() 31474 } 31475 31476 // SetFeatureGroupArn sets the FeatureGroupArn field's value. 31477 func (s *CreateFeatureGroupOutput) SetFeatureGroupArn(v string) *CreateFeatureGroupOutput { 31478 s.FeatureGroupArn = &v 31479 return s 31480 } 31481 31482 type CreateFlowDefinitionInput struct { 31483 _ struct{} `type:"structure"` 31484 31485 // The name of your flow definition. 31486 // 31487 // FlowDefinitionName is a required field 31488 FlowDefinitionName *string `min:"1" type:"string" required:"true"` 31489 31490 // An object containing information about the events that trigger a human workflow. 31491 HumanLoopActivationConfig *HumanLoopActivationConfig `type:"structure"` 31492 31493 // An object containing information about the tasks the human reviewers will 31494 // perform. 31495 // 31496 // HumanLoopConfig is a required field 31497 HumanLoopConfig *HumanLoopConfig `type:"structure" required:"true"` 31498 31499 // Container for configuring the source of human task requests. Use to specify 31500 // if Amazon Rekognition or Amazon Textract is used as an integration source. 31501 HumanLoopRequestSource *HumanLoopRequestSource `type:"structure"` 31502 31503 // An object containing information about where the human review results will 31504 // be uploaded. 31505 // 31506 // OutputConfig is a required field 31507 OutputConfig *FlowDefinitionOutputConfig `type:"structure" required:"true"` 31508 31509 // The Amazon Resource Name (ARN) of the role needed to call other services 31510 // on your behalf. For example, arn:aws:iam::1234567890:role/service-role/AmazonSageMaker-ExecutionRole-20180111T151298. 31511 // 31512 // RoleArn is a required field 31513 RoleArn *string `min:"20" type:"string" required:"true"` 31514 31515 // An array of key-value pairs that contain metadata to help you categorize 31516 // and organize a flow definition. Each tag consists of a key and a value, both 31517 // of which you define. 31518 Tags []*Tag `type:"list"` 31519 } 31520 31521 // String returns the string representation. 31522 // 31523 // API parameter values that are decorated as "sensitive" in the API will not 31524 // be included in the string output. The member name will be present, but the 31525 // value will be replaced with "sensitive". 31526 func (s CreateFlowDefinitionInput) String() string { 31527 return awsutil.Prettify(s) 31528 } 31529 31530 // GoString returns the string representation. 31531 // 31532 // API parameter values that are decorated as "sensitive" in the API will not 31533 // be included in the string output. The member name will be present, but the 31534 // value will be replaced with "sensitive". 31535 func (s CreateFlowDefinitionInput) GoString() string { 31536 return s.String() 31537 } 31538 31539 // Validate inspects the fields of the type to determine if they are valid. 31540 func (s *CreateFlowDefinitionInput) Validate() error { 31541 invalidParams := request.ErrInvalidParams{Context: "CreateFlowDefinitionInput"} 31542 if s.FlowDefinitionName == nil { 31543 invalidParams.Add(request.NewErrParamRequired("FlowDefinitionName")) 31544 } 31545 if s.FlowDefinitionName != nil && len(*s.FlowDefinitionName) < 1 { 31546 invalidParams.Add(request.NewErrParamMinLen("FlowDefinitionName", 1)) 31547 } 31548 if s.HumanLoopConfig == nil { 31549 invalidParams.Add(request.NewErrParamRequired("HumanLoopConfig")) 31550 } 31551 if s.OutputConfig == nil { 31552 invalidParams.Add(request.NewErrParamRequired("OutputConfig")) 31553 } 31554 if s.RoleArn == nil { 31555 invalidParams.Add(request.NewErrParamRequired("RoleArn")) 31556 } 31557 if s.RoleArn != nil && len(*s.RoleArn) < 20 { 31558 invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) 31559 } 31560 if s.HumanLoopActivationConfig != nil { 31561 if err := s.HumanLoopActivationConfig.Validate(); err != nil { 31562 invalidParams.AddNested("HumanLoopActivationConfig", err.(request.ErrInvalidParams)) 31563 } 31564 } 31565 if s.HumanLoopConfig != nil { 31566 if err := s.HumanLoopConfig.Validate(); err != nil { 31567 invalidParams.AddNested("HumanLoopConfig", err.(request.ErrInvalidParams)) 31568 } 31569 } 31570 if s.HumanLoopRequestSource != nil { 31571 if err := s.HumanLoopRequestSource.Validate(); err != nil { 31572 invalidParams.AddNested("HumanLoopRequestSource", err.(request.ErrInvalidParams)) 31573 } 31574 } 31575 if s.OutputConfig != nil { 31576 if err := s.OutputConfig.Validate(); err != nil { 31577 invalidParams.AddNested("OutputConfig", err.(request.ErrInvalidParams)) 31578 } 31579 } 31580 if s.Tags != nil { 31581 for i, v := range s.Tags { 31582 if v == nil { 31583 continue 31584 } 31585 if err := v.Validate(); err != nil { 31586 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 31587 } 31588 } 31589 } 31590 31591 if invalidParams.Len() > 0 { 31592 return invalidParams 31593 } 31594 return nil 31595 } 31596 31597 // SetFlowDefinitionName sets the FlowDefinitionName field's value. 31598 func (s *CreateFlowDefinitionInput) SetFlowDefinitionName(v string) *CreateFlowDefinitionInput { 31599 s.FlowDefinitionName = &v 31600 return s 31601 } 31602 31603 // SetHumanLoopActivationConfig sets the HumanLoopActivationConfig field's value. 31604 func (s *CreateFlowDefinitionInput) SetHumanLoopActivationConfig(v *HumanLoopActivationConfig) *CreateFlowDefinitionInput { 31605 s.HumanLoopActivationConfig = v 31606 return s 31607 } 31608 31609 // SetHumanLoopConfig sets the HumanLoopConfig field's value. 31610 func (s *CreateFlowDefinitionInput) SetHumanLoopConfig(v *HumanLoopConfig) *CreateFlowDefinitionInput { 31611 s.HumanLoopConfig = v 31612 return s 31613 } 31614 31615 // SetHumanLoopRequestSource sets the HumanLoopRequestSource field's value. 31616 func (s *CreateFlowDefinitionInput) SetHumanLoopRequestSource(v *HumanLoopRequestSource) *CreateFlowDefinitionInput { 31617 s.HumanLoopRequestSource = v 31618 return s 31619 } 31620 31621 // SetOutputConfig sets the OutputConfig field's value. 31622 func (s *CreateFlowDefinitionInput) SetOutputConfig(v *FlowDefinitionOutputConfig) *CreateFlowDefinitionInput { 31623 s.OutputConfig = v 31624 return s 31625 } 31626 31627 // SetRoleArn sets the RoleArn field's value. 31628 func (s *CreateFlowDefinitionInput) SetRoleArn(v string) *CreateFlowDefinitionInput { 31629 s.RoleArn = &v 31630 return s 31631 } 31632 31633 // SetTags sets the Tags field's value. 31634 func (s *CreateFlowDefinitionInput) SetTags(v []*Tag) *CreateFlowDefinitionInput { 31635 s.Tags = v 31636 return s 31637 } 31638 31639 type CreateFlowDefinitionOutput struct { 31640 _ struct{} `type:"structure"` 31641 31642 // The Amazon Resource Name (ARN) of the flow definition you create. 31643 // 31644 // FlowDefinitionArn is a required field 31645 FlowDefinitionArn *string `type:"string" required:"true"` 31646 } 31647 31648 // String returns the string representation. 31649 // 31650 // API parameter values that are decorated as "sensitive" in the API will not 31651 // be included in the string output. The member name will be present, but the 31652 // value will be replaced with "sensitive". 31653 func (s CreateFlowDefinitionOutput) String() string { 31654 return awsutil.Prettify(s) 31655 } 31656 31657 // GoString returns the string representation. 31658 // 31659 // API parameter values that are decorated as "sensitive" in the API will not 31660 // be included in the string output. The member name will be present, but the 31661 // value will be replaced with "sensitive". 31662 func (s CreateFlowDefinitionOutput) GoString() string { 31663 return s.String() 31664 } 31665 31666 // SetFlowDefinitionArn sets the FlowDefinitionArn field's value. 31667 func (s *CreateFlowDefinitionOutput) SetFlowDefinitionArn(v string) *CreateFlowDefinitionOutput { 31668 s.FlowDefinitionArn = &v 31669 return s 31670 } 31671 31672 type CreateHumanTaskUiInput struct { 31673 _ struct{} `type:"structure"` 31674 31675 // The name of the user interface you are creating. 31676 // 31677 // HumanTaskUiName is a required field 31678 HumanTaskUiName *string `min:"1" type:"string" required:"true"` 31679 31680 // An array of key-value pairs that contain metadata to help you categorize 31681 // and organize a human review workflow user interface. Each tag consists of 31682 // a key and a value, both of which you define. 31683 Tags []*Tag `type:"list"` 31684 31685 // The Liquid template for the worker user interface. 31686 // 31687 // UiTemplate is a required field 31688 UiTemplate *UiTemplate `type:"structure" required:"true"` 31689 } 31690 31691 // String returns the string representation. 31692 // 31693 // API parameter values that are decorated as "sensitive" in the API will not 31694 // be included in the string output. The member name will be present, but the 31695 // value will be replaced with "sensitive". 31696 func (s CreateHumanTaskUiInput) String() string { 31697 return awsutil.Prettify(s) 31698 } 31699 31700 // GoString returns the string representation. 31701 // 31702 // API parameter values that are decorated as "sensitive" in the API will not 31703 // be included in the string output. The member name will be present, but the 31704 // value will be replaced with "sensitive". 31705 func (s CreateHumanTaskUiInput) GoString() string { 31706 return s.String() 31707 } 31708 31709 // Validate inspects the fields of the type to determine if they are valid. 31710 func (s *CreateHumanTaskUiInput) Validate() error { 31711 invalidParams := request.ErrInvalidParams{Context: "CreateHumanTaskUiInput"} 31712 if s.HumanTaskUiName == nil { 31713 invalidParams.Add(request.NewErrParamRequired("HumanTaskUiName")) 31714 } 31715 if s.HumanTaskUiName != nil && len(*s.HumanTaskUiName) < 1 { 31716 invalidParams.Add(request.NewErrParamMinLen("HumanTaskUiName", 1)) 31717 } 31718 if s.UiTemplate == nil { 31719 invalidParams.Add(request.NewErrParamRequired("UiTemplate")) 31720 } 31721 if s.Tags != nil { 31722 for i, v := range s.Tags { 31723 if v == nil { 31724 continue 31725 } 31726 if err := v.Validate(); err != nil { 31727 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 31728 } 31729 } 31730 } 31731 if s.UiTemplate != nil { 31732 if err := s.UiTemplate.Validate(); err != nil { 31733 invalidParams.AddNested("UiTemplate", err.(request.ErrInvalidParams)) 31734 } 31735 } 31736 31737 if invalidParams.Len() > 0 { 31738 return invalidParams 31739 } 31740 return nil 31741 } 31742 31743 // SetHumanTaskUiName sets the HumanTaskUiName field's value. 31744 func (s *CreateHumanTaskUiInput) SetHumanTaskUiName(v string) *CreateHumanTaskUiInput { 31745 s.HumanTaskUiName = &v 31746 return s 31747 } 31748 31749 // SetTags sets the Tags field's value. 31750 func (s *CreateHumanTaskUiInput) SetTags(v []*Tag) *CreateHumanTaskUiInput { 31751 s.Tags = v 31752 return s 31753 } 31754 31755 // SetUiTemplate sets the UiTemplate field's value. 31756 func (s *CreateHumanTaskUiInput) SetUiTemplate(v *UiTemplate) *CreateHumanTaskUiInput { 31757 s.UiTemplate = v 31758 return s 31759 } 31760 31761 type CreateHumanTaskUiOutput struct { 31762 _ struct{} `type:"structure"` 31763 31764 // The Amazon Resource Name (ARN) of the human review workflow user interface 31765 // you create. 31766 // 31767 // HumanTaskUiArn is a required field 31768 HumanTaskUiArn *string `type:"string" required:"true"` 31769 } 31770 31771 // String returns the string representation. 31772 // 31773 // API parameter values that are decorated as "sensitive" in the API will not 31774 // be included in the string output. The member name will be present, but the 31775 // value will be replaced with "sensitive". 31776 func (s CreateHumanTaskUiOutput) String() string { 31777 return awsutil.Prettify(s) 31778 } 31779 31780 // GoString returns the string representation. 31781 // 31782 // API parameter values that are decorated as "sensitive" in the API will not 31783 // be included in the string output. The member name will be present, but the 31784 // value will be replaced with "sensitive". 31785 func (s CreateHumanTaskUiOutput) GoString() string { 31786 return s.String() 31787 } 31788 31789 // SetHumanTaskUiArn sets the HumanTaskUiArn field's value. 31790 func (s *CreateHumanTaskUiOutput) SetHumanTaskUiArn(v string) *CreateHumanTaskUiOutput { 31791 s.HumanTaskUiArn = &v 31792 return s 31793 } 31794 31795 type CreateHyperParameterTuningJobInput struct { 31796 _ struct{} `type:"structure"` 31797 31798 // The HyperParameterTuningJobConfig object that describes the tuning job, including 31799 // the search strategy, the objective metric used to evaluate training jobs, 31800 // ranges of parameters to search, and resource limits for the tuning job. For 31801 // more information, see How Hyperparameter Tuning Works (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-how-it-works.html). 31802 // 31803 // HyperParameterTuningJobConfig is a required field 31804 HyperParameterTuningJobConfig *HyperParameterTuningJobConfig `type:"structure" required:"true"` 31805 31806 // The name of the tuning job. This name is the prefix for the names of all 31807 // training jobs that this tuning job launches. The name must be unique within 31808 // the same Amazon Web Services account and Amazon Web Services Region. The 31809 // name must have 1 to 32 characters. Valid characters are a-z, A-Z, 0-9, and 31810 // : + = @ _ % - (hyphen). The name is not case sensitive. 31811 // 31812 // HyperParameterTuningJobName is a required field 31813 HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"` 31814 31815 // An array of key-value pairs. You can use tags to categorize your Amazon Web 31816 // Services resources in different ways, for example, by purpose, owner, or 31817 // environment. For more information, see Tagging Amazon Web Services Resources 31818 // (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html). 31819 // 31820 // Tags that you specify for the tuning job are also added to all training jobs 31821 // that the tuning job launches. 31822 Tags []*Tag `type:"list"` 31823 31824 // The HyperParameterTrainingJobDefinition object that describes the training 31825 // jobs that this tuning job launches, including static hyperparameters, input 31826 // data configuration, output data configuration, resource configuration, and 31827 // stopping condition. 31828 TrainingJobDefinition *HyperParameterTrainingJobDefinition `type:"structure"` 31829 31830 // A list of the HyperParameterTrainingJobDefinition objects launched for this 31831 // tuning job. 31832 TrainingJobDefinitions []*HyperParameterTrainingJobDefinition `min:"1" type:"list"` 31833 31834 // Specifies the configuration for starting the hyperparameter tuning job using 31835 // one or more previous tuning jobs as a starting point. The results of previous 31836 // tuning jobs are used to inform which combinations of hyperparameters to search 31837 // over in the new tuning job. 31838 // 31839 // All training jobs launched by the new hyperparameter tuning job are evaluated 31840 // by using the objective metric. If you specify IDENTICAL_DATA_AND_ALGORITHM 31841 // as the WarmStartType value for the warm start configuration, the training 31842 // job that performs the best in the new tuning job is compared to the best 31843 // training jobs from the parent tuning jobs. From these, the training job that 31844 // performs the best as measured by the objective metric is returned as the 31845 // overall best training job. 31846 // 31847 // All training jobs launched by parent hyperparameter tuning jobs and the new 31848 // hyperparameter tuning jobs count against the limit of training jobs for the 31849 // tuning job. 31850 WarmStartConfig *HyperParameterTuningJobWarmStartConfig `type:"structure"` 31851 } 31852 31853 // String returns the string representation. 31854 // 31855 // API parameter values that are decorated as "sensitive" in the API will not 31856 // be included in the string output. The member name will be present, but the 31857 // value will be replaced with "sensitive". 31858 func (s CreateHyperParameterTuningJobInput) String() string { 31859 return awsutil.Prettify(s) 31860 } 31861 31862 // GoString returns the string representation. 31863 // 31864 // API parameter values that are decorated as "sensitive" in the API will not 31865 // be included in the string output. The member name will be present, but the 31866 // value will be replaced with "sensitive". 31867 func (s CreateHyperParameterTuningJobInput) GoString() string { 31868 return s.String() 31869 } 31870 31871 // Validate inspects the fields of the type to determine if they are valid. 31872 func (s *CreateHyperParameterTuningJobInput) Validate() error { 31873 invalidParams := request.ErrInvalidParams{Context: "CreateHyperParameterTuningJobInput"} 31874 if s.HyperParameterTuningJobConfig == nil { 31875 invalidParams.Add(request.NewErrParamRequired("HyperParameterTuningJobConfig")) 31876 } 31877 if s.HyperParameterTuningJobName == nil { 31878 invalidParams.Add(request.NewErrParamRequired("HyperParameterTuningJobName")) 31879 } 31880 if s.HyperParameterTuningJobName != nil && len(*s.HyperParameterTuningJobName) < 1 { 31881 invalidParams.Add(request.NewErrParamMinLen("HyperParameterTuningJobName", 1)) 31882 } 31883 if s.TrainingJobDefinitions != nil && len(s.TrainingJobDefinitions) < 1 { 31884 invalidParams.Add(request.NewErrParamMinLen("TrainingJobDefinitions", 1)) 31885 } 31886 if s.HyperParameterTuningJobConfig != nil { 31887 if err := s.HyperParameterTuningJobConfig.Validate(); err != nil { 31888 invalidParams.AddNested("HyperParameterTuningJobConfig", err.(request.ErrInvalidParams)) 31889 } 31890 } 31891 if s.Tags != nil { 31892 for i, v := range s.Tags { 31893 if v == nil { 31894 continue 31895 } 31896 if err := v.Validate(); err != nil { 31897 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 31898 } 31899 } 31900 } 31901 if s.TrainingJobDefinition != nil { 31902 if err := s.TrainingJobDefinition.Validate(); err != nil { 31903 invalidParams.AddNested("TrainingJobDefinition", err.(request.ErrInvalidParams)) 31904 } 31905 } 31906 if s.TrainingJobDefinitions != nil { 31907 for i, v := range s.TrainingJobDefinitions { 31908 if v == nil { 31909 continue 31910 } 31911 if err := v.Validate(); err != nil { 31912 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TrainingJobDefinitions", i), err.(request.ErrInvalidParams)) 31913 } 31914 } 31915 } 31916 if s.WarmStartConfig != nil { 31917 if err := s.WarmStartConfig.Validate(); err != nil { 31918 invalidParams.AddNested("WarmStartConfig", err.(request.ErrInvalidParams)) 31919 } 31920 } 31921 31922 if invalidParams.Len() > 0 { 31923 return invalidParams 31924 } 31925 return nil 31926 } 31927 31928 // SetHyperParameterTuningJobConfig sets the HyperParameterTuningJobConfig field's value. 31929 func (s *CreateHyperParameterTuningJobInput) SetHyperParameterTuningJobConfig(v *HyperParameterTuningJobConfig) *CreateHyperParameterTuningJobInput { 31930 s.HyperParameterTuningJobConfig = v 31931 return s 31932 } 31933 31934 // SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value. 31935 func (s *CreateHyperParameterTuningJobInput) SetHyperParameterTuningJobName(v string) *CreateHyperParameterTuningJobInput { 31936 s.HyperParameterTuningJobName = &v 31937 return s 31938 } 31939 31940 // SetTags sets the Tags field's value. 31941 func (s *CreateHyperParameterTuningJobInput) SetTags(v []*Tag) *CreateHyperParameterTuningJobInput { 31942 s.Tags = v 31943 return s 31944 } 31945 31946 // SetTrainingJobDefinition sets the TrainingJobDefinition field's value. 31947 func (s *CreateHyperParameterTuningJobInput) SetTrainingJobDefinition(v *HyperParameterTrainingJobDefinition) *CreateHyperParameterTuningJobInput { 31948 s.TrainingJobDefinition = v 31949 return s 31950 } 31951 31952 // SetTrainingJobDefinitions sets the TrainingJobDefinitions field's value. 31953 func (s *CreateHyperParameterTuningJobInput) SetTrainingJobDefinitions(v []*HyperParameterTrainingJobDefinition) *CreateHyperParameterTuningJobInput { 31954 s.TrainingJobDefinitions = v 31955 return s 31956 } 31957 31958 // SetWarmStartConfig sets the WarmStartConfig field's value. 31959 func (s *CreateHyperParameterTuningJobInput) SetWarmStartConfig(v *HyperParameterTuningJobWarmStartConfig) *CreateHyperParameterTuningJobInput { 31960 s.WarmStartConfig = v 31961 return s 31962 } 31963 31964 type CreateHyperParameterTuningJobOutput struct { 31965 _ struct{} `type:"structure"` 31966 31967 // The Amazon Resource Name (ARN) of the tuning job. Amazon SageMaker assigns 31968 // an ARN to a hyperparameter tuning job when you create it. 31969 // 31970 // HyperParameterTuningJobArn is a required field 31971 HyperParameterTuningJobArn *string `type:"string" required:"true"` 31972 } 31973 31974 // String returns the string representation. 31975 // 31976 // API parameter values that are decorated as "sensitive" in the API will not 31977 // be included in the string output. The member name will be present, but the 31978 // value will be replaced with "sensitive". 31979 func (s CreateHyperParameterTuningJobOutput) String() string { 31980 return awsutil.Prettify(s) 31981 } 31982 31983 // GoString returns the string representation. 31984 // 31985 // API parameter values that are decorated as "sensitive" in the API will not 31986 // be included in the string output. The member name will be present, but the 31987 // value will be replaced with "sensitive". 31988 func (s CreateHyperParameterTuningJobOutput) GoString() string { 31989 return s.String() 31990 } 31991 31992 // SetHyperParameterTuningJobArn sets the HyperParameterTuningJobArn field's value. 31993 func (s *CreateHyperParameterTuningJobOutput) SetHyperParameterTuningJobArn(v string) *CreateHyperParameterTuningJobOutput { 31994 s.HyperParameterTuningJobArn = &v 31995 return s 31996 } 31997 31998 type CreateImageInput struct { 31999 _ struct{} `type:"structure"` 32000 32001 // The description of the image. 32002 Description *string `min:"1" type:"string"` 32003 32004 // The display name of the image. If not provided, ImageName is displayed. 32005 DisplayName *string `min:"1" type:"string"` 32006 32007 // The name of the image. Must be unique to your account. 32008 // 32009 // ImageName is a required field 32010 ImageName *string `min:"1" type:"string" required:"true"` 32011 32012 // The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker 32013 // to perform tasks on your behalf. 32014 // 32015 // RoleArn is a required field 32016 RoleArn *string `min:"20" type:"string" required:"true"` 32017 32018 // A list of tags to apply to the image. 32019 Tags []*Tag `type:"list"` 32020 } 32021 32022 // String returns the string representation. 32023 // 32024 // API parameter values that are decorated as "sensitive" in the API will not 32025 // be included in the string output. The member name will be present, but the 32026 // value will be replaced with "sensitive". 32027 func (s CreateImageInput) String() string { 32028 return awsutil.Prettify(s) 32029 } 32030 32031 // GoString returns the string representation. 32032 // 32033 // API parameter values that are decorated as "sensitive" in the API will not 32034 // be included in the string output. The member name will be present, but the 32035 // value will be replaced with "sensitive". 32036 func (s CreateImageInput) GoString() string { 32037 return s.String() 32038 } 32039 32040 // Validate inspects the fields of the type to determine if they are valid. 32041 func (s *CreateImageInput) Validate() error { 32042 invalidParams := request.ErrInvalidParams{Context: "CreateImageInput"} 32043 if s.Description != nil && len(*s.Description) < 1 { 32044 invalidParams.Add(request.NewErrParamMinLen("Description", 1)) 32045 } 32046 if s.DisplayName != nil && len(*s.DisplayName) < 1 { 32047 invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1)) 32048 } 32049 if s.ImageName == nil { 32050 invalidParams.Add(request.NewErrParamRequired("ImageName")) 32051 } 32052 if s.ImageName != nil && len(*s.ImageName) < 1 { 32053 invalidParams.Add(request.NewErrParamMinLen("ImageName", 1)) 32054 } 32055 if s.RoleArn == nil { 32056 invalidParams.Add(request.NewErrParamRequired("RoleArn")) 32057 } 32058 if s.RoleArn != nil && len(*s.RoleArn) < 20 { 32059 invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) 32060 } 32061 if s.Tags != nil { 32062 for i, v := range s.Tags { 32063 if v == nil { 32064 continue 32065 } 32066 if err := v.Validate(); err != nil { 32067 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 32068 } 32069 } 32070 } 32071 32072 if invalidParams.Len() > 0 { 32073 return invalidParams 32074 } 32075 return nil 32076 } 32077 32078 // SetDescription sets the Description field's value. 32079 func (s *CreateImageInput) SetDescription(v string) *CreateImageInput { 32080 s.Description = &v 32081 return s 32082 } 32083 32084 // SetDisplayName sets the DisplayName field's value. 32085 func (s *CreateImageInput) SetDisplayName(v string) *CreateImageInput { 32086 s.DisplayName = &v 32087 return s 32088 } 32089 32090 // SetImageName sets the ImageName field's value. 32091 func (s *CreateImageInput) SetImageName(v string) *CreateImageInput { 32092 s.ImageName = &v 32093 return s 32094 } 32095 32096 // SetRoleArn sets the RoleArn field's value. 32097 func (s *CreateImageInput) SetRoleArn(v string) *CreateImageInput { 32098 s.RoleArn = &v 32099 return s 32100 } 32101 32102 // SetTags sets the Tags field's value. 32103 func (s *CreateImageInput) SetTags(v []*Tag) *CreateImageInput { 32104 s.Tags = v 32105 return s 32106 } 32107 32108 type CreateImageOutput struct { 32109 _ struct{} `type:"structure"` 32110 32111 // The Amazon Resource Name (ARN) of the image. 32112 ImageArn *string `type:"string"` 32113 } 32114 32115 // String returns the string representation. 32116 // 32117 // API parameter values that are decorated as "sensitive" in the API will not 32118 // be included in the string output. The member name will be present, but the 32119 // value will be replaced with "sensitive". 32120 func (s CreateImageOutput) String() string { 32121 return awsutil.Prettify(s) 32122 } 32123 32124 // GoString returns the string representation. 32125 // 32126 // API parameter values that are decorated as "sensitive" in the API will not 32127 // be included in the string output. The member name will be present, but the 32128 // value will be replaced with "sensitive". 32129 func (s CreateImageOutput) GoString() string { 32130 return s.String() 32131 } 32132 32133 // SetImageArn sets the ImageArn field's value. 32134 func (s *CreateImageOutput) SetImageArn(v string) *CreateImageOutput { 32135 s.ImageArn = &v 32136 return s 32137 } 32138 32139 type CreateImageVersionInput struct { 32140 _ struct{} `type:"structure"` 32141 32142 // The registry path of the container image to use as the starting point for 32143 // this version. The path is an Amazon Container Registry (ECR) URI in the following 32144 // format: 32145 // 32146 // <acct-id>.dkr.ecr.<region>.amazonaws.com/<repo-name[:tag] or [@digest]> 32147 // 32148 // BaseImage is a required field 32149 BaseImage *string `min:"1" type:"string" required:"true"` 32150 32151 // A unique ID. If not specified, the Amazon Web Services CLI and Amazon Web 32152 // Services SDKs, such as the SDK for Python (Boto3), add a unique value to 32153 // the call. 32154 ClientToken *string `min:"1" type:"string" idempotencyToken:"true"` 32155 32156 // The ImageName of the Image to create a version of. 32157 // 32158 // ImageName is a required field 32159 ImageName *string `min:"1" type:"string" required:"true"` 32160 } 32161 32162 // String returns the string representation. 32163 // 32164 // API parameter values that are decorated as "sensitive" in the API will not 32165 // be included in the string output. The member name will be present, but the 32166 // value will be replaced with "sensitive". 32167 func (s CreateImageVersionInput) String() string { 32168 return awsutil.Prettify(s) 32169 } 32170 32171 // GoString returns the string representation. 32172 // 32173 // API parameter values that are decorated as "sensitive" in the API will not 32174 // be included in the string output. The member name will be present, but the 32175 // value will be replaced with "sensitive". 32176 func (s CreateImageVersionInput) GoString() string { 32177 return s.String() 32178 } 32179 32180 // Validate inspects the fields of the type to determine if they are valid. 32181 func (s *CreateImageVersionInput) Validate() error { 32182 invalidParams := request.ErrInvalidParams{Context: "CreateImageVersionInput"} 32183 if s.BaseImage == nil { 32184 invalidParams.Add(request.NewErrParamRequired("BaseImage")) 32185 } 32186 if s.BaseImage != nil && len(*s.BaseImage) < 1 { 32187 invalidParams.Add(request.NewErrParamMinLen("BaseImage", 1)) 32188 } 32189 if s.ClientToken != nil && len(*s.ClientToken) < 1 { 32190 invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) 32191 } 32192 if s.ImageName == nil { 32193 invalidParams.Add(request.NewErrParamRequired("ImageName")) 32194 } 32195 if s.ImageName != nil && len(*s.ImageName) < 1 { 32196 invalidParams.Add(request.NewErrParamMinLen("ImageName", 1)) 32197 } 32198 32199 if invalidParams.Len() > 0 { 32200 return invalidParams 32201 } 32202 return nil 32203 } 32204 32205 // SetBaseImage sets the BaseImage field's value. 32206 func (s *CreateImageVersionInput) SetBaseImage(v string) *CreateImageVersionInput { 32207 s.BaseImage = &v 32208 return s 32209 } 32210 32211 // SetClientToken sets the ClientToken field's value. 32212 func (s *CreateImageVersionInput) SetClientToken(v string) *CreateImageVersionInput { 32213 s.ClientToken = &v 32214 return s 32215 } 32216 32217 // SetImageName sets the ImageName field's value. 32218 func (s *CreateImageVersionInput) SetImageName(v string) *CreateImageVersionInput { 32219 s.ImageName = &v 32220 return s 32221 } 32222 32223 type CreateImageVersionOutput struct { 32224 _ struct{} `type:"structure"` 32225 32226 // The Amazon Resource Name (ARN) of the image version. 32227 ImageVersionArn *string `type:"string"` 32228 } 32229 32230 // String returns the string representation. 32231 // 32232 // API parameter values that are decorated as "sensitive" in the API will not 32233 // be included in the string output. The member name will be present, but the 32234 // value will be replaced with "sensitive". 32235 func (s CreateImageVersionOutput) String() string { 32236 return awsutil.Prettify(s) 32237 } 32238 32239 // GoString returns the string representation. 32240 // 32241 // API parameter values that are decorated as "sensitive" in the API will not 32242 // be included in the string output. The member name will be present, but the 32243 // value will be replaced with "sensitive". 32244 func (s CreateImageVersionOutput) GoString() string { 32245 return s.String() 32246 } 32247 32248 // SetImageVersionArn sets the ImageVersionArn field's value. 32249 func (s *CreateImageVersionOutput) SetImageVersionArn(v string) *CreateImageVersionOutput { 32250 s.ImageVersionArn = &v 32251 return s 32252 } 32253 32254 type CreateLabelingJobInput struct { 32255 _ struct{} `type:"structure"` 32256 32257 // Configures the labeling task and how it is presented to workers; including, 32258 // but not limited to price, keywords, and batch size (task count). 32259 // 32260 // HumanTaskConfig is a required field 32261 HumanTaskConfig *HumanTaskConfig `type:"structure" required:"true"` 32262 32263 // Input data for the labeling job, such as the Amazon S3 location of the data 32264 // objects and the location of the manifest file that describes the data objects. 32265 // 32266 // You must specify at least one of the following: S3DataSource or SnsDataSource. 32267 // 32268 // * Use SnsDataSource to specify an SNS input topic for a streaming labeling 32269 // job. If you do not specify and SNS input topic ARN, Ground Truth will 32270 // create a one-time labeling job that stops after all data objects in the 32271 // input manifest file have been labeled. 32272 // 32273 // * Use S3DataSource to specify an input manifest file for both streaming 32274 // and one-time labeling jobs. Adding an S3DataSource is optional if you 32275 // use SnsDataSource to create a streaming labeling job. 32276 // 32277 // If you use the Amazon Mechanical Turk workforce, your input data should not 32278 // include confidential information, personal information or protected health 32279 // information. Use ContentClassifiers to specify that your data is free of 32280 // personally identifiable information and adult content. 32281 // 32282 // InputConfig is a required field 32283 InputConfig *LabelingJobInputConfig `type:"structure" required:"true"` 32284 32285 // The attribute name to use for the label in the output manifest file. This 32286 // is the key for the key/value pair formed with the label that a worker assigns 32287 // to the object. The LabelAttributeName must meet the following requirements. 32288 // 32289 // * The name can't end with "-metadata". 32290 // 32291 // * If you are using one of the following built-in task types (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-task-types.html), 32292 // the attribute name must end with "-ref". If the task type you are using 32293 // is not listed below, the attribute name must not end with "-ref". Image 32294 // semantic segmentation (SemanticSegmentation), and adjustment (AdjustmentSemanticSegmentation) 32295 // and verification (VerificationSemanticSegmentation) labeling jobs for 32296 // this task type. Video frame object detection (VideoObjectDetection), and 32297 // adjustment and verification (AdjustmentVideoObjectDetection) labeling 32298 // jobs for this task type. Video frame object tracking (VideoObjectTracking), 32299 // and adjustment and verification (AdjustmentVideoObjectTracking) labeling 32300 // jobs for this task type. 3D point cloud semantic segmentation (3DPointCloudSemanticSegmentation), 32301 // and adjustment and verification (Adjustment3DPointCloudSemanticSegmentation) 32302 // labeling jobs for this task type. 3D point cloud object tracking (3DPointCloudObjectTracking), 32303 // and adjustment and verification (Adjustment3DPointCloudObjectTracking) 32304 // labeling jobs for this task type. 32305 // 32306 // If you are creating an adjustment or verification labeling job, you must 32307 // use a different LabelAttributeName than the one used in the original labeling 32308 // job. The original labeling job is the Ground Truth labeling job that produced 32309 // the labels that you want verified or adjusted. To learn more about adjustment 32310 // and verification labeling jobs, see Verify and Adjust Labels (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-verification-data.html). 32311 // 32312 // LabelAttributeName is a required field 32313 LabelAttributeName *string `min:"1" type:"string" required:"true"` 32314 32315 // The S3 URI of the file, referred to as a label category configuration file, 32316 // that defines the categories used to label the data objects. 32317 // 32318 // For 3D point cloud and video frame task types, you can add label category 32319 // attributes and frame attributes to your label category configuration file. 32320 // To learn how, see Create a Labeling Category Configuration File for 3D Point 32321 // Cloud Labeling Jobs (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-point-cloud-label-category-config.html). 32322 // 32323 // For named entity recognition jobs, in addition to "labels", you must provide 32324 // worker instructions in the label category configuration file using the "instructions" 32325 // parameter: "instructions": {"shortInstruction":"<h1>Add header</h1><p>Add 32326 // Instructions</p>", "fullInstruction":"<p>Add additional instructions.</p>"}. 32327 // For details and an example, see Create a Named Entity Recognition Labeling 32328 // Job (API) (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-named-entity-recg.html#sms-creating-ner-api). 32329 // 32330 // For all other built-in task types (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-task-types.html) 32331 // and custom tasks (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-custom-templates.html), 32332 // your label category configuration file must be a JSON file in the following 32333 // format. Identify the labels you want to use by replacing label_1, label_2,...,label_n 32334 // with your label categories. 32335 // 32336 // { 32337 // 32338 // "document-version": "2018-11-28", 32339 // 32340 // "labels": [{"label": "label_1"},{"label": "label_2"},...{"label": "label_n"}] 32341 // 32342 // } 32343 // 32344 // Note the following about the label category configuration file: 32345 // 32346 // * For image classification and text classification (single and multi-label) 32347 // you must specify at least two label categories. For all other task types, 32348 // the minimum number of label categories required is one. 32349 // 32350 // * Each label category must be unique, you cannot specify duplicate label 32351 // categories. 32352 // 32353 // * If you create a 3D point cloud or video frame adjustment or verification 32354 // labeling job, you must include auditLabelAttributeName in the label category 32355 // configuration. Use this parameter to enter the LabelAttributeName (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateLabelingJob.html#sagemaker-CreateLabelingJob-request-LabelAttributeName) 32356 // of the labeling job you want to adjust or verify annotations of. 32357 LabelCategoryConfigS3Uri *string `type:"string"` 32358 32359 // Configures the information required to perform automated data labeling. 32360 LabelingJobAlgorithmsConfig *LabelingJobAlgorithmsConfig `type:"structure"` 32361 32362 // The name of the labeling job. This name is used to identify the job in a 32363 // list of labeling jobs. Labeling job names must be unique within an Amazon 32364 // Web Services account and region. LabelingJobName is not case sensitive. For 32365 // example, Example-job and example-job are considered the same labeling job 32366 // name by Ground Truth. 32367 // 32368 // LabelingJobName is a required field 32369 LabelingJobName *string `min:"1" type:"string" required:"true"` 32370 32371 // The location of the output data and the Amazon Web Services Key Management 32372 // Service key ID for the key used to encrypt the output data, if any. 32373 // 32374 // OutputConfig is a required field 32375 OutputConfig *LabelingJobOutputConfig `type:"structure" required:"true"` 32376 32377 // The Amazon Resource Number (ARN) that Amazon SageMaker assumes to perform 32378 // tasks on your behalf during data labeling. You must grant this role the necessary 32379 // permissions so that Amazon SageMaker can successfully complete data labeling. 32380 // 32381 // RoleArn is a required field 32382 RoleArn *string `min:"20" type:"string" required:"true"` 32383 32384 // A set of conditions for stopping the labeling job. If any of the conditions 32385 // are met, the job is automatically stopped. You can use these conditions to 32386 // control the cost of data labeling. 32387 StoppingConditions *LabelingJobStoppingConditions `type:"structure"` 32388 32389 // An array of key/value pairs. For more information, see Using Cost Allocation 32390 // Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what) 32391 // in the Amazon Web Services Billing and Cost Management User Guide. 32392 Tags []*Tag `type:"list"` 32393 } 32394 32395 // String returns the string representation. 32396 // 32397 // API parameter values that are decorated as "sensitive" in the API will not 32398 // be included in the string output. The member name will be present, but the 32399 // value will be replaced with "sensitive". 32400 func (s CreateLabelingJobInput) String() string { 32401 return awsutil.Prettify(s) 32402 } 32403 32404 // GoString returns the string representation. 32405 // 32406 // API parameter values that are decorated as "sensitive" in the API will not 32407 // be included in the string output. The member name will be present, but the 32408 // value will be replaced with "sensitive". 32409 func (s CreateLabelingJobInput) GoString() string { 32410 return s.String() 32411 } 32412 32413 // Validate inspects the fields of the type to determine if they are valid. 32414 func (s *CreateLabelingJobInput) Validate() error { 32415 invalidParams := request.ErrInvalidParams{Context: "CreateLabelingJobInput"} 32416 if s.HumanTaskConfig == nil { 32417 invalidParams.Add(request.NewErrParamRequired("HumanTaskConfig")) 32418 } 32419 if s.InputConfig == nil { 32420 invalidParams.Add(request.NewErrParamRequired("InputConfig")) 32421 } 32422 if s.LabelAttributeName == nil { 32423 invalidParams.Add(request.NewErrParamRequired("LabelAttributeName")) 32424 } 32425 if s.LabelAttributeName != nil && len(*s.LabelAttributeName) < 1 { 32426 invalidParams.Add(request.NewErrParamMinLen("LabelAttributeName", 1)) 32427 } 32428 if s.LabelingJobName == nil { 32429 invalidParams.Add(request.NewErrParamRequired("LabelingJobName")) 32430 } 32431 if s.LabelingJobName != nil && len(*s.LabelingJobName) < 1 { 32432 invalidParams.Add(request.NewErrParamMinLen("LabelingJobName", 1)) 32433 } 32434 if s.OutputConfig == nil { 32435 invalidParams.Add(request.NewErrParamRequired("OutputConfig")) 32436 } 32437 if s.RoleArn == nil { 32438 invalidParams.Add(request.NewErrParamRequired("RoleArn")) 32439 } 32440 if s.RoleArn != nil && len(*s.RoleArn) < 20 { 32441 invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) 32442 } 32443 if s.HumanTaskConfig != nil { 32444 if err := s.HumanTaskConfig.Validate(); err != nil { 32445 invalidParams.AddNested("HumanTaskConfig", err.(request.ErrInvalidParams)) 32446 } 32447 } 32448 if s.InputConfig != nil { 32449 if err := s.InputConfig.Validate(); err != nil { 32450 invalidParams.AddNested("InputConfig", err.(request.ErrInvalidParams)) 32451 } 32452 } 32453 if s.LabelingJobAlgorithmsConfig != nil { 32454 if err := s.LabelingJobAlgorithmsConfig.Validate(); err != nil { 32455 invalidParams.AddNested("LabelingJobAlgorithmsConfig", err.(request.ErrInvalidParams)) 32456 } 32457 } 32458 if s.OutputConfig != nil { 32459 if err := s.OutputConfig.Validate(); err != nil { 32460 invalidParams.AddNested("OutputConfig", err.(request.ErrInvalidParams)) 32461 } 32462 } 32463 if s.StoppingConditions != nil { 32464 if err := s.StoppingConditions.Validate(); err != nil { 32465 invalidParams.AddNested("StoppingConditions", err.(request.ErrInvalidParams)) 32466 } 32467 } 32468 if s.Tags != nil { 32469 for i, v := range s.Tags { 32470 if v == nil { 32471 continue 32472 } 32473 if err := v.Validate(); err != nil { 32474 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 32475 } 32476 } 32477 } 32478 32479 if invalidParams.Len() > 0 { 32480 return invalidParams 32481 } 32482 return nil 32483 } 32484 32485 // SetHumanTaskConfig sets the HumanTaskConfig field's value. 32486 func (s *CreateLabelingJobInput) SetHumanTaskConfig(v *HumanTaskConfig) *CreateLabelingJobInput { 32487 s.HumanTaskConfig = v 32488 return s 32489 } 32490 32491 // SetInputConfig sets the InputConfig field's value. 32492 func (s *CreateLabelingJobInput) SetInputConfig(v *LabelingJobInputConfig) *CreateLabelingJobInput { 32493 s.InputConfig = v 32494 return s 32495 } 32496 32497 // SetLabelAttributeName sets the LabelAttributeName field's value. 32498 func (s *CreateLabelingJobInput) SetLabelAttributeName(v string) *CreateLabelingJobInput { 32499 s.LabelAttributeName = &v 32500 return s 32501 } 32502 32503 // SetLabelCategoryConfigS3Uri sets the LabelCategoryConfigS3Uri field's value. 32504 func (s *CreateLabelingJobInput) SetLabelCategoryConfigS3Uri(v string) *CreateLabelingJobInput { 32505 s.LabelCategoryConfigS3Uri = &v 32506 return s 32507 } 32508 32509 // SetLabelingJobAlgorithmsConfig sets the LabelingJobAlgorithmsConfig field's value. 32510 func (s *CreateLabelingJobInput) SetLabelingJobAlgorithmsConfig(v *LabelingJobAlgorithmsConfig) *CreateLabelingJobInput { 32511 s.LabelingJobAlgorithmsConfig = v 32512 return s 32513 } 32514 32515 // SetLabelingJobName sets the LabelingJobName field's value. 32516 func (s *CreateLabelingJobInput) SetLabelingJobName(v string) *CreateLabelingJobInput { 32517 s.LabelingJobName = &v 32518 return s 32519 } 32520 32521 // SetOutputConfig sets the OutputConfig field's value. 32522 func (s *CreateLabelingJobInput) SetOutputConfig(v *LabelingJobOutputConfig) *CreateLabelingJobInput { 32523 s.OutputConfig = v 32524 return s 32525 } 32526 32527 // SetRoleArn sets the RoleArn field's value. 32528 func (s *CreateLabelingJobInput) SetRoleArn(v string) *CreateLabelingJobInput { 32529 s.RoleArn = &v 32530 return s 32531 } 32532 32533 // SetStoppingConditions sets the StoppingConditions field's value. 32534 func (s *CreateLabelingJobInput) SetStoppingConditions(v *LabelingJobStoppingConditions) *CreateLabelingJobInput { 32535 s.StoppingConditions = v 32536 return s 32537 } 32538 32539 // SetTags sets the Tags field's value. 32540 func (s *CreateLabelingJobInput) SetTags(v []*Tag) *CreateLabelingJobInput { 32541 s.Tags = v 32542 return s 32543 } 32544 32545 type CreateLabelingJobOutput struct { 32546 _ struct{} `type:"structure"` 32547 32548 // The Amazon Resource Name (ARN) of the labeling job. You use this ARN to identify 32549 // the labeling job. 32550 // 32551 // LabelingJobArn is a required field 32552 LabelingJobArn *string `type:"string" required:"true"` 32553 } 32554 32555 // String returns the string representation. 32556 // 32557 // API parameter values that are decorated as "sensitive" in the API will not 32558 // be included in the string output. The member name will be present, but the 32559 // value will be replaced with "sensitive". 32560 func (s CreateLabelingJobOutput) String() string { 32561 return awsutil.Prettify(s) 32562 } 32563 32564 // GoString returns the string representation. 32565 // 32566 // API parameter values that are decorated as "sensitive" in the API will not 32567 // be included in the string output. The member name will be present, but the 32568 // value will be replaced with "sensitive". 32569 func (s CreateLabelingJobOutput) GoString() string { 32570 return s.String() 32571 } 32572 32573 // SetLabelingJobArn sets the LabelingJobArn field's value. 32574 func (s *CreateLabelingJobOutput) SetLabelingJobArn(v string) *CreateLabelingJobOutput { 32575 s.LabelingJobArn = &v 32576 return s 32577 } 32578 32579 type CreateModelBiasJobDefinitionInput struct { 32580 _ struct{} `type:"structure"` 32581 32582 // The name of the bias job definition. The name must be unique within an Amazon 32583 // Web Services Region in the Amazon Web Services account. 32584 // 32585 // JobDefinitionName is a required field 32586 JobDefinitionName *string `min:"1" type:"string" required:"true"` 32587 32588 // Identifies the resources to deploy for a monitoring job. 32589 // 32590 // JobResources is a required field 32591 JobResources *MonitoringResources `type:"structure" required:"true"` 32592 32593 // Configures the model bias job to run a specified Docker container image. 32594 // 32595 // ModelBiasAppSpecification is a required field 32596 ModelBiasAppSpecification *ModelBiasAppSpecification `type:"structure" required:"true"` 32597 32598 // The baseline configuration for a model bias job. 32599 ModelBiasBaselineConfig *ModelBiasBaselineConfig `type:"structure"` 32600 32601 // Inputs for the model bias job. 32602 // 32603 // ModelBiasJobInput is a required field 32604 ModelBiasJobInput *ModelBiasJobInput `type:"structure" required:"true"` 32605 32606 // The output configuration for monitoring jobs. 32607 // 32608 // ModelBiasJobOutputConfig is a required field 32609 ModelBiasJobOutputConfig *MonitoringOutputConfig `type:"structure" required:"true"` 32610 32611 // Networking options for a model bias job. 32612 NetworkConfig *MonitoringNetworkConfig `type:"structure"` 32613 32614 // The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume 32615 // to perform tasks on your behalf. 32616 // 32617 // RoleArn is a required field 32618 RoleArn *string `min:"20" type:"string" required:"true"` 32619 32620 // A time limit for how long the monitoring job is allowed to run before stopping. 32621 StoppingCondition *MonitoringStoppingCondition `type:"structure"` 32622 32623 // (Optional) An array of key-value pairs. For more information, see Using Cost 32624 // Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL) 32625 // in the Amazon Web Services Billing and Cost Management User Guide. 32626 Tags []*Tag `type:"list"` 32627 } 32628 32629 // String returns the string representation. 32630 // 32631 // API parameter values that are decorated as "sensitive" in the API will not 32632 // be included in the string output. The member name will be present, but the 32633 // value will be replaced with "sensitive". 32634 func (s CreateModelBiasJobDefinitionInput) String() string { 32635 return awsutil.Prettify(s) 32636 } 32637 32638 // GoString returns the string representation. 32639 // 32640 // API parameter values that are decorated as "sensitive" in the API will not 32641 // be included in the string output. The member name will be present, but the 32642 // value will be replaced with "sensitive". 32643 func (s CreateModelBiasJobDefinitionInput) GoString() string { 32644 return s.String() 32645 } 32646 32647 // Validate inspects the fields of the type to determine if they are valid. 32648 func (s *CreateModelBiasJobDefinitionInput) Validate() error { 32649 invalidParams := request.ErrInvalidParams{Context: "CreateModelBiasJobDefinitionInput"} 32650 if s.JobDefinitionName == nil { 32651 invalidParams.Add(request.NewErrParamRequired("JobDefinitionName")) 32652 } 32653 if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 { 32654 invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1)) 32655 } 32656 if s.JobResources == nil { 32657 invalidParams.Add(request.NewErrParamRequired("JobResources")) 32658 } 32659 if s.ModelBiasAppSpecification == nil { 32660 invalidParams.Add(request.NewErrParamRequired("ModelBiasAppSpecification")) 32661 } 32662 if s.ModelBiasJobInput == nil { 32663 invalidParams.Add(request.NewErrParamRequired("ModelBiasJobInput")) 32664 } 32665 if s.ModelBiasJobOutputConfig == nil { 32666 invalidParams.Add(request.NewErrParamRequired("ModelBiasJobOutputConfig")) 32667 } 32668 if s.RoleArn == nil { 32669 invalidParams.Add(request.NewErrParamRequired("RoleArn")) 32670 } 32671 if s.RoleArn != nil && len(*s.RoleArn) < 20 { 32672 invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) 32673 } 32674 if s.JobResources != nil { 32675 if err := s.JobResources.Validate(); err != nil { 32676 invalidParams.AddNested("JobResources", err.(request.ErrInvalidParams)) 32677 } 32678 } 32679 if s.ModelBiasAppSpecification != nil { 32680 if err := s.ModelBiasAppSpecification.Validate(); err != nil { 32681 invalidParams.AddNested("ModelBiasAppSpecification", err.(request.ErrInvalidParams)) 32682 } 32683 } 32684 if s.ModelBiasBaselineConfig != nil { 32685 if err := s.ModelBiasBaselineConfig.Validate(); err != nil { 32686 invalidParams.AddNested("ModelBiasBaselineConfig", err.(request.ErrInvalidParams)) 32687 } 32688 } 32689 if s.ModelBiasJobInput != nil { 32690 if err := s.ModelBiasJobInput.Validate(); err != nil { 32691 invalidParams.AddNested("ModelBiasJobInput", err.(request.ErrInvalidParams)) 32692 } 32693 } 32694 if s.ModelBiasJobOutputConfig != nil { 32695 if err := s.ModelBiasJobOutputConfig.Validate(); err != nil { 32696 invalidParams.AddNested("ModelBiasJobOutputConfig", err.(request.ErrInvalidParams)) 32697 } 32698 } 32699 if s.NetworkConfig != nil { 32700 if err := s.NetworkConfig.Validate(); err != nil { 32701 invalidParams.AddNested("NetworkConfig", err.(request.ErrInvalidParams)) 32702 } 32703 } 32704 if s.StoppingCondition != nil { 32705 if err := s.StoppingCondition.Validate(); err != nil { 32706 invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams)) 32707 } 32708 } 32709 if s.Tags != nil { 32710 for i, v := range s.Tags { 32711 if v == nil { 32712 continue 32713 } 32714 if err := v.Validate(); err != nil { 32715 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 32716 } 32717 } 32718 } 32719 32720 if invalidParams.Len() > 0 { 32721 return invalidParams 32722 } 32723 return nil 32724 } 32725 32726 // SetJobDefinitionName sets the JobDefinitionName field's value. 32727 func (s *CreateModelBiasJobDefinitionInput) SetJobDefinitionName(v string) *CreateModelBiasJobDefinitionInput { 32728 s.JobDefinitionName = &v 32729 return s 32730 } 32731 32732 // SetJobResources sets the JobResources field's value. 32733 func (s *CreateModelBiasJobDefinitionInput) SetJobResources(v *MonitoringResources) *CreateModelBiasJobDefinitionInput { 32734 s.JobResources = v 32735 return s 32736 } 32737 32738 // SetModelBiasAppSpecification sets the ModelBiasAppSpecification field's value. 32739 func (s *CreateModelBiasJobDefinitionInput) SetModelBiasAppSpecification(v *ModelBiasAppSpecification) *CreateModelBiasJobDefinitionInput { 32740 s.ModelBiasAppSpecification = v 32741 return s 32742 } 32743 32744 // SetModelBiasBaselineConfig sets the ModelBiasBaselineConfig field's value. 32745 func (s *CreateModelBiasJobDefinitionInput) SetModelBiasBaselineConfig(v *ModelBiasBaselineConfig) *CreateModelBiasJobDefinitionInput { 32746 s.ModelBiasBaselineConfig = v 32747 return s 32748 } 32749 32750 // SetModelBiasJobInput sets the ModelBiasJobInput field's value. 32751 func (s *CreateModelBiasJobDefinitionInput) SetModelBiasJobInput(v *ModelBiasJobInput) *CreateModelBiasJobDefinitionInput { 32752 s.ModelBiasJobInput = v 32753 return s 32754 } 32755 32756 // SetModelBiasJobOutputConfig sets the ModelBiasJobOutputConfig field's value. 32757 func (s *CreateModelBiasJobDefinitionInput) SetModelBiasJobOutputConfig(v *MonitoringOutputConfig) *CreateModelBiasJobDefinitionInput { 32758 s.ModelBiasJobOutputConfig = v 32759 return s 32760 } 32761 32762 // SetNetworkConfig sets the NetworkConfig field's value. 32763 func (s *CreateModelBiasJobDefinitionInput) SetNetworkConfig(v *MonitoringNetworkConfig) *CreateModelBiasJobDefinitionInput { 32764 s.NetworkConfig = v 32765 return s 32766 } 32767 32768 // SetRoleArn sets the RoleArn field's value. 32769 func (s *CreateModelBiasJobDefinitionInput) SetRoleArn(v string) *CreateModelBiasJobDefinitionInput { 32770 s.RoleArn = &v 32771 return s 32772 } 32773 32774 // SetStoppingCondition sets the StoppingCondition field's value. 32775 func (s *CreateModelBiasJobDefinitionInput) SetStoppingCondition(v *MonitoringStoppingCondition) *CreateModelBiasJobDefinitionInput { 32776 s.StoppingCondition = v 32777 return s 32778 } 32779 32780 // SetTags sets the Tags field's value. 32781 func (s *CreateModelBiasJobDefinitionInput) SetTags(v []*Tag) *CreateModelBiasJobDefinitionInput { 32782 s.Tags = v 32783 return s 32784 } 32785 32786 type CreateModelBiasJobDefinitionOutput struct { 32787 _ struct{} `type:"structure"` 32788 32789 // The Amazon Resource Name (ARN) of the model bias job. 32790 // 32791 // JobDefinitionArn is a required field 32792 JobDefinitionArn *string `type:"string" required:"true"` 32793 } 32794 32795 // String returns the string representation. 32796 // 32797 // API parameter values that are decorated as "sensitive" in the API will not 32798 // be included in the string output. The member name will be present, but the 32799 // value will be replaced with "sensitive". 32800 func (s CreateModelBiasJobDefinitionOutput) String() string { 32801 return awsutil.Prettify(s) 32802 } 32803 32804 // GoString returns the string representation. 32805 // 32806 // API parameter values that are decorated as "sensitive" in the API will not 32807 // be included in the string output. The member name will be present, but the 32808 // value will be replaced with "sensitive". 32809 func (s CreateModelBiasJobDefinitionOutput) GoString() string { 32810 return s.String() 32811 } 32812 32813 // SetJobDefinitionArn sets the JobDefinitionArn field's value. 32814 func (s *CreateModelBiasJobDefinitionOutput) SetJobDefinitionArn(v string) *CreateModelBiasJobDefinitionOutput { 32815 s.JobDefinitionArn = &v 32816 return s 32817 } 32818 32819 type CreateModelExplainabilityJobDefinitionInput struct { 32820 _ struct{} `type:"structure"` 32821 32822 // The name of the model explainability job definition. The name must be unique 32823 // within an Amazon Web Services Region in the Amazon Web Services account. 32824 // 32825 // JobDefinitionName is a required field 32826 JobDefinitionName *string `min:"1" type:"string" required:"true"` 32827 32828 // Identifies the resources to deploy for a monitoring job. 32829 // 32830 // JobResources is a required field 32831 JobResources *MonitoringResources `type:"structure" required:"true"` 32832 32833 // Configures the model explainability job to run a specified Docker container 32834 // image. 32835 // 32836 // ModelExplainabilityAppSpecification is a required field 32837 ModelExplainabilityAppSpecification *ModelExplainabilityAppSpecification `type:"structure" required:"true"` 32838 32839 // The baseline configuration for a model explainability job. 32840 ModelExplainabilityBaselineConfig *ModelExplainabilityBaselineConfig `type:"structure"` 32841 32842 // Inputs for the model explainability job. 32843 // 32844 // ModelExplainabilityJobInput is a required field 32845 ModelExplainabilityJobInput *ModelExplainabilityJobInput `type:"structure" required:"true"` 32846 32847 // The output configuration for monitoring jobs. 32848 // 32849 // ModelExplainabilityJobOutputConfig is a required field 32850 ModelExplainabilityJobOutputConfig *MonitoringOutputConfig `type:"structure" required:"true"` 32851 32852 // Networking options for a model explainability job. 32853 NetworkConfig *MonitoringNetworkConfig `type:"structure"` 32854 32855 // The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume 32856 // to perform tasks on your behalf. 32857 // 32858 // RoleArn is a required field 32859 RoleArn *string `min:"20" type:"string" required:"true"` 32860 32861 // A time limit for how long the monitoring job is allowed to run before stopping. 32862 StoppingCondition *MonitoringStoppingCondition `type:"structure"` 32863 32864 // (Optional) An array of key-value pairs. For more information, see Using Cost 32865 // Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL) 32866 // in the Amazon Web Services Billing and Cost Management User Guide. 32867 Tags []*Tag `type:"list"` 32868 } 32869 32870 // String returns the string representation. 32871 // 32872 // API parameter values that are decorated as "sensitive" in the API will not 32873 // be included in the string output. The member name will be present, but the 32874 // value will be replaced with "sensitive". 32875 func (s CreateModelExplainabilityJobDefinitionInput) String() string { 32876 return awsutil.Prettify(s) 32877 } 32878 32879 // GoString returns the string representation. 32880 // 32881 // API parameter values that are decorated as "sensitive" in the API will not 32882 // be included in the string output. The member name will be present, but the 32883 // value will be replaced with "sensitive". 32884 func (s CreateModelExplainabilityJobDefinitionInput) GoString() string { 32885 return s.String() 32886 } 32887 32888 // Validate inspects the fields of the type to determine if they are valid. 32889 func (s *CreateModelExplainabilityJobDefinitionInput) Validate() error { 32890 invalidParams := request.ErrInvalidParams{Context: "CreateModelExplainabilityJobDefinitionInput"} 32891 if s.JobDefinitionName == nil { 32892 invalidParams.Add(request.NewErrParamRequired("JobDefinitionName")) 32893 } 32894 if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 { 32895 invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1)) 32896 } 32897 if s.JobResources == nil { 32898 invalidParams.Add(request.NewErrParamRequired("JobResources")) 32899 } 32900 if s.ModelExplainabilityAppSpecification == nil { 32901 invalidParams.Add(request.NewErrParamRequired("ModelExplainabilityAppSpecification")) 32902 } 32903 if s.ModelExplainabilityJobInput == nil { 32904 invalidParams.Add(request.NewErrParamRequired("ModelExplainabilityJobInput")) 32905 } 32906 if s.ModelExplainabilityJobOutputConfig == nil { 32907 invalidParams.Add(request.NewErrParamRequired("ModelExplainabilityJobOutputConfig")) 32908 } 32909 if s.RoleArn == nil { 32910 invalidParams.Add(request.NewErrParamRequired("RoleArn")) 32911 } 32912 if s.RoleArn != nil && len(*s.RoleArn) < 20 { 32913 invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) 32914 } 32915 if s.JobResources != nil { 32916 if err := s.JobResources.Validate(); err != nil { 32917 invalidParams.AddNested("JobResources", err.(request.ErrInvalidParams)) 32918 } 32919 } 32920 if s.ModelExplainabilityAppSpecification != nil { 32921 if err := s.ModelExplainabilityAppSpecification.Validate(); err != nil { 32922 invalidParams.AddNested("ModelExplainabilityAppSpecification", err.(request.ErrInvalidParams)) 32923 } 32924 } 32925 if s.ModelExplainabilityBaselineConfig != nil { 32926 if err := s.ModelExplainabilityBaselineConfig.Validate(); err != nil { 32927 invalidParams.AddNested("ModelExplainabilityBaselineConfig", err.(request.ErrInvalidParams)) 32928 } 32929 } 32930 if s.ModelExplainabilityJobInput != nil { 32931 if err := s.ModelExplainabilityJobInput.Validate(); err != nil { 32932 invalidParams.AddNested("ModelExplainabilityJobInput", err.(request.ErrInvalidParams)) 32933 } 32934 } 32935 if s.ModelExplainabilityJobOutputConfig != nil { 32936 if err := s.ModelExplainabilityJobOutputConfig.Validate(); err != nil { 32937 invalidParams.AddNested("ModelExplainabilityJobOutputConfig", err.(request.ErrInvalidParams)) 32938 } 32939 } 32940 if s.NetworkConfig != nil { 32941 if err := s.NetworkConfig.Validate(); err != nil { 32942 invalidParams.AddNested("NetworkConfig", err.(request.ErrInvalidParams)) 32943 } 32944 } 32945 if s.StoppingCondition != nil { 32946 if err := s.StoppingCondition.Validate(); err != nil { 32947 invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams)) 32948 } 32949 } 32950 if s.Tags != nil { 32951 for i, v := range s.Tags { 32952 if v == nil { 32953 continue 32954 } 32955 if err := v.Validate(); err != nil { 32956 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 32957 } 32958 } 32959 } 32960 32961 if invalidParams.Len() > 0 { 32962 return invalidParams 32963 } 32964 return nil 32965 } 32966 32967 // SetJobDefinitionName sets the JobDefinitionName field's value. 32968 func (s *CreateModelExplainabilityJobDefinitionInput) SetJobDefinitionName(v string) *CreateModelExplainabilityJobDefinitionInput { 32969 s.JobDefinitionName = &v 32970 return s 32971 } 32972 32973 // SetJobResources sets the JobResources field's value. 32974 func (s *CreateModelExplainabilityJobDefinitionInput) SetJobResources(v *MonitoringResources) *CreateModelExplainabilityJobDefinitionInput { 32975 s.JobResources = v 32976 return s 32977 } 32978 32979 // SetModelExplainabilityAppSpecification sets the ModelExplainabilityAppSpecification field's value. 32980 func (s *CreateModelExplainabilityJobDefinitionInput) SetModelExplainabilityAppSpecification(v *ModelExplainabilityAppSpecification) *CreateModelExplainabilityJobDefinitionInput { 32981 s.ModelExplainabilityAppSpecification = v 32982 return s 32983 } 32984 32985 // SetModelExplainabilityBaselineConfig sets the ModelExplainabilityBaselineConfig field's value. 32986 func (s *CreateModelExplainabilityJobDefinitionInput) SetModelExplainabilityBaselineConfig(v *ModelExplainabilityBaselineConfig) *CreateModelExplainabilityJobDefinitionInput { 32987 s.ModelExplainabilityBaselineConfig = v 32988 return s 32989 } 32990 32991 // SetModelExplainabilityJobInput sets the ModelExplainabilityJobInput field's value. 32992 func (s *CreateModelExplainabilityJobDefinitionInput) SetModelExplainabilityJobInput(v *ModelExplainabilityJobInput) *CreateModelExplainabilityJobDefinitionInput { 32993 s.ModelExplainabilityJobInput = v 32994 return s 32995 } 32996 32997 // SetModelExplainabilityJobOutputConfig sets the ModelExplainabilityJobOutputConfig field's value. 32998 func (s *CreateModelExplainabilityJobDefinitionInput) SetModelExplainabilityJobOutputConfig(v *MonitoringOutputConfig) *CreateModelExplainabilityJobDefinitionInput { 32999 s.ModelExplainabilityJobOutputConfig = v 33000 return s 33001 } 33002 33003 // SetNetworkConfig sets the NetworkConfig field's value. 33004 func (s *CreateModelExplainabilityJobDefinitionInput) SetNetworkConfig(v *MonitoringNetworkConfig) *CreateModelExplainabilityJobDefinitionInput { 33005 s.NetworkConfig = v 33006 return s 33007 } 33008 33009 // SetRoleArn sets the RoleArn field's value. 33010 func (s *CreateModelExplainabilityJobDefinitionInput) SetRoleArn(v string) *CreateModelExplainabilityJobDefinitionInput { 33011 s.RoleArn = &v 33012 return s 33013 } 33014 33015 // SetStoppingCondition sets the StoppingCondition field's value. 33016 func (s *CreateModelExplainabilityJobDefinitionInput) SetStoppingCondition(v *MonitoringStoppingCondition) *CreateModelExplainabilityJobDefinitionInput { 33017 s.StoppingCondition = v 33018 return s 33019 } 33020 33021 // SetTags sets the Tags field's value. 33022 func (s *CreateModelExplainabilityJobDefinitionInput) SetTags(v []*Tag) *CreateModelExplainabilityJobDefinitionInput { 33023 s.Tags = v 33024 return s 33025 } 33026 33027 type CreateModelExplainabilityJobDefinitionOutput struct { 33028 _ struct{} `type:"structure"` 33029 33030 // The Amazon Resource Name (ARN) of the model explainability job. 33031 // 33032 // JobDefinitionArn is a required field 33033 JobDefinitionArn *string `type:"string" required:"true"` 33034 } 33035 33036 // String returns the string representation. 33037 // 33038 // API parameter values that are decorated as "sensitive" in the API will not 33039 // be included in the string output. The member name will be present, but the 33040 // value will be replaced with "sensitive". 33041 func (s CreateModelExplainabilityJobDefinitionOutput) String() string { 33042 return awsutil.Prettify(s) 33043 } 33044 33045 // GoString returns the string representation. 33046 // 33047 // API parameter values that are decorated as "sensitive" in the API will not 33048 // be included in the string output. The member name will be present, but the 33049 // value will be replaced with "sensitive". 33050 func (s CreateModelExplainabilityJobDefinitionOutput) GoString() string { 33051 return s.String() 33052 } 33053 33054 // SetJobDefinitionArn sets the JobDefinitionArn field's value. 33055 func (s *CreateModelExplainabilityJobDefinitionOutput) SetJobDefinitionArn(v string) *CreateModelExplainabilityJobDefinitionOutput { 33056 s.JobDefinitionArn = &v 33057 return s 33058 } 33059 33060 type CreateModelInput struct { 33061 _ struct{} `type:"structure"` 33062 33063 // Specifies the containers in the inference pipeline. 33064 Containers []*ContainerDefinition `type:"list"` 33065 33066 // Isolates the model container. No inbound or outbound network calls can be 33067 // made to or from the model container. 33068 EnableNetworkIsolation *bool `type:"boolean"` 33069 33070 // The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can 33071 // assume to access model artifacts and docker image for deployment on ML compute 33072 // instances or for batch transform jobs. Deploying on ML compute instances 33073 // is part of model hosting. For more information, see Amazon SageMaker Roles 33074 // (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html). 33075 // 33076 // To be able to pass this role to Amazon SageMaker, the caller of this API 33077 // must have the iam:PassRole permission. 33078 // 33079 // ExecutionRoleArn is a required field 33080 ExecutionRoleArn *string `min:"20" type:"string" required:"true"` 33081 33082 // Specifies details of how containers in a multi-container endpoint are called. 33083 InferenceExecutionConfig *InferenceExecutionConfig `type:"structure"` 33084 33085 // The name of the new model. 33086 // 33087 // ModelName is a required field 33088 ModelName *string `type:"string" required:"true"` 33089 33090 // The location of the primary docker image containing inference code, associated 33091 // artifacts, and custom environment map that the inference code uses when the 33092 // model is deployed for predictions. 33093 PrimaryContainer *ContainerDefinition `type:"structure"` 33094 33095 // An array of key-value pairs. You can use tags to categorize your Amazon Web 33096 // Services resources in different ways, for example, by purpose, owner, or 33097 // environment. For more information, see Tagging Amazon Web Services Resources 33098 // (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html). 33099 Tags []*Tag `type:"list"` 33100 33101 // A VpcConfig object that specifies the VPC that you want your model to connect 33102 // to. Control access to and from your model container by configuring the VPC. 33103 // VpcConfig is used in hosting services and in batch transform. For more information, 33104 // see Protect Endpoints by Using an Amazon Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html) 33105 // and Protect Data in Batch Transform Jobs by Using an Amazon Virtual Private 33106 // Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-vpc.html). 33107 VpcConfig *VpcConfig `type:"structure"` 33108 } 33109 33110 // String returns the string representation. 33111 // 33112 // API parameter values that are decorated as "sensitive" in the API will not 33113 // be included in the string output. The member name will be present, but the 33114 // value will be replaced with "sensitive". 33115 func (s CreateModelInput) String() string { 33116 return awsutil.Prettify(s) 33117 } 33118 33119 // GoString returns the string representation. 33120 // 33121 // API parameter values that are decorated as "sensitive" in the API will not 33122 // be included in the string output. The member name will be present, but the 33123 // value will be replaced with "sensitive". 33124 func (s CreateModelInput) GoString() string { 33125 return s.String() 33126 } 33127 33128 // Validate inspects the fields of the type to determine if they are valid. 33129 func (s *CreateModelInput) Validate() error { 33130 invalidParams := request.ErrInvalidParams{Context: "CreateModelInput"} 33131 if s.ExecutionRoleArn == nil { 33132 invalidParams.Add(request.NewErrParamRequired("ExecutionRoleArn")) 33133 } 33134 if s.ExecutionRoleArn != nil && len(*s.ExecutionRoleArn) < 20 { 33135 invalidParams.Add(request.NewErrParamMinLen("ExecutionRoleArn", 20)) 33136 } 33137 if s.ModelName == nil { 33138 invalidParams.Add(request.NewErrParamRequired("ModelName")) 33139 } 33140 if s.Containers != nil { 33141 for i, v := range s.Containers { 33142 if v == nil { 33143 continue 33144 } 33145 if err := v.Validate(); err != nil { 33146 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Containers", i), err.(request.ErrInvalidParams)) 33147 } 33148 } 33149 } 33150 if s.InferenceExecutionConfig != nil { 33151 if err := s.InferenceExecutionConfig.Validate(); err != nil { 33152 invalidParams.AddNested("InferenceExecutionConfig", err.(request.ErrInvalidParams)) 33153 } 33154 } 33155 if s.PrimaryContainer != nil { 33156 if err := s.PrimaryContainer.Validate(); err != nil { 33157 invalidParams.AddNested("PrimaryContainer", err.(request.ErrInvalidParams)) 33158 } 33159 } 33160 if s.Tags != nil { 33161 for i, v := range s.Tags { 33162 if v == nil { 33163 continue 33164 } 33165 if err := v.Validate(); err != nil { 33166 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 33167 } 33168 } 33169 } 33170 if s.VpcConfig != nil { 33171 if err := s.VpcConfig.Validate(); err != nil { 33172 invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams)) 33173 } 33174 } 33175 33176 if invalidParams.Len() > 0 { 33177 return invalidParams 33178 } 33179 return nil 33180 } 33181 33182 // SetContainers sets the Containers field's value. 33183 func (s *CreateModelInput) SetContainers(v []*ContainerDefinition) *CreateModelInput { 33184 s.Containers = v 33185 return s 33186 } 33187 33188 // SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value. 33189 func (s *CreateModelInput) SetEnableNetworkIsolation(v bool) *CreateModelInput { 33190 s.EnableNetworkIsolation = &v 33191 return s 33192 } 33193 33194 // SetExecutionRoleArn sets the ExecutionRoleArn field's value. 33195 func (s *CreateModelInput) SetExecutionRoleArn(v string) *CreateModelInput { 33196 s.ExecutionRoleArn = &v 33197 return s 33198 } 33199 33200 // SetInferenceExecutionConfig sets the InferenceExecutionConfig field's value. 33201 func (s *CreateModelInput) SetInferenceExecutionConfig(v *InferenceExecutionConfig) *CreateModelInput { 33202 s.InferenceExecutionConfig = v 33203 return s 33204 } 33205 33206 // SetModelName sets the ModelName field's value. 33207 func (s *CreateModelInput) SetModelName(v string) *CreateModelInput { 33208 s.ModelName = &v 33209 return s 33210 } 33211 33212 // SetPrimaryContainer sets the PrimaryContainer field's value. 33213 func (s *CreateModelInput) SetPrimaryContainer(v *ContainerDefinition) *CreateModelInput { 33214 s.PrimaryContainer = v 33215 return s 33216 } 33217 33218 // SetTags sets the Tags field's value. 33219 func (s *CreateModelInput) SetTags(v []*Tag) *CreateModelInput { 33220 s.Tags = v 33221 return s 33222 } 33223 33224 // SetVpcConfig sets the VpcConfig field's value. 33225 func (s *CreateModelInput) SetVpcConfig(v *VpcConfig) *CreateModelInput { 33226 s.VpcConfig = v 33227 return s 33228 } 33229 33230 type CreateModelOutput struct { 33231 _ struct{} `type:"structure"` 33232 33233 // The ARN of the model created in Amazon SageMaker. 33234 // 33235 // ModelArn is a required field 33236 ModelArn *string `min:"20" type:"string" required:"true"` 33237 } 33238 33239 // String returns the string representation. 33240 // 33241 // API parameter values that are decorated as "sensitive" in the API will not 33242 // be included in the string output. The member name will be present, but the 33243 // value will be replaced with "sensitive". 33244 func (s CreateModelOutput) String() string { 33245 return awsutil.Prettify(s) 33246 } 33247 33248 // GoString returns the string representation. 33249 // 33250 // API parameter values that are decorated as "sensitive" in the API will not 33251 // be included in the string output. The member name will be present, but the 33252 // value will be replaced with "sensitive". 33253 func (s CreateModelOutput) GoString() string { 33254 return s.String() 33255 } 33256 33257 // SetModelArn sets the ModelArn field's value. 33258 func (s *CreateModelOutput) SetModelArn(v string) *CreateModelOutput { 33259 s.ModelArn = &v 33260 return s 33261 } 33262 33263 type CreateModelPackageGroupInput struct { 33264 _ struct{} `type:"structure"` 33265 33266 // A description for the model group. 33267 ModelPackageGroupDescription *string `type:"string"` 33268 33269 // The name of the model group. 33270 // 33271 // ModelPackageGroupName is a required field 33272 ModelPackageGroupName *string `min:"1" type:"string" required:"true"` 33273 33274 // A list of key value pairs associated with the model group. For more information, 33275 // see Tagging Amazon Web Services resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) 33276 // in the Amazon Web Services General Reference Guide. 33277 Tags []*Tag `type:"list"` 33278 } 33279 33280 // String returns the string representation. 33281 // 33282 // API parameter values that are decorated as "sensitive" in the API will not 33283 // be included in the string output. The member name will be present, but the 33284 // value will be replaced with "sensitive". 33285 func (s CreateModelPackageGroupInput) String() string { 33286 return awsutil.Prettify(s) 33287 } 33288 33289 // GoString returns the string representation. 33290 // 33291 // API parameter values that are decorated as "sensitive" in the API will not 33292 // be included in the string output. The member name will be present, but the 33293 // value will be replaced with "sensitive". 33294 func (s CreateModelPackageGroupInput) GoString() string { 33295 return s.String() 33296 } 33297 33298 // Validate inspects the fields of the type to determine if they are valid. 33299 func (s *CreateModelPackageGroupInput) Validate() error { 33300 invalidParams := request.ErrInvalidParams{Context: "CreateModelPackageGroupInput"} 33301 if s.ModelPackageGroupName == nil { 33302 invalidParams.Add(request.NewErrParamRequired("ModelPackageGroupName")) 33303 } 33304 if s.ModelPackageGroupName != nil && len(*s.ModelPackageGroupName) < 1 { 33305 invalidParams.Add(request.NewErrParamMinLen("ModelPackageGroupName", 1)) 33306 } 33307 if s.Tags != nil { 33308 for i, v := range s.Tags { 33309 if v == nil { 33310 continue 33311 } 33312 if err := v.Validate(); err != nil { 33313 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 33314 } 33315 } 33316 } 33317 33318 if invalidParams.Len() > 0 { 33319 return invalidParams 33320 } 33321 return nil 33322 } 33323 33324 // SetModelPackageGroupDescription sets the ModelPackageGroupDescription field's value. 33325 func (s *CreateModelPackageGroupInput) SetModelPackageGroupDescription(v string) *CreateModelPackageGroupInput { 33326 s.ModelPackageGroupDescription = &v 33327 return s 33328 } 33329 33330 // SetModelPackageGroupName sets the ModelPackageGroupName field's value. 33331 func (s *CreateModelPackageGroupInput) SetModelPackageGroupName(v string) *CreateModelPackageGroupInput { 33332 s.ModelPackageGroupName = &v 33333 return s 33334 } 33335 33336 // SetTags sets the Tags field's value. 33337 func (s *CreateModelPackageGroupInput) SetTags(v []*Tag) *CreateModelPackageGroupInput { 33338 s.Tags = v 33339 return s 33340 } 33341 33342 type CreateModelPackageGroupOutput struct { 33343 _ struct{} `type:"structure"` 33344 33345 // The Amazon Resource Name (ARN) of the model group. 33346 // 33347 // ModelPackageGroupArn is a required field 33348 ModelPackageGroupArn *string `min:"1" type:"string" required:"true"` 33349 } 33350 33351 // String returns the string representation. 33352 // 33353 // API parameter values that are decorated as "sensitive" in the API will not 33354 // be included in the string output. The member name will be present, but the 33355 // value will be replaced with "sensitive". 33356 func (s CreateModelPackageGroupOutput) String() string { 33357 return awsutil.Prettify(s) 33358 } 33359 33360 // GoString returns the string representation. 33361 // 33362 // API parameter values that are decorated as "sensitive" in the API will not 33363 // be included in the string output. The member name will be present, but the 33364 // value will be replaced with "sensitive". 33365 func (s CreateModelPackageGroupOutput) GoString() string { 33366 return s.String() 33367 } 33368 33369 // SetModelPackageGroupArn sets the ModelPackageGroupArn field's value. 33370 func (s *CreateModelPackageGroupOutput) SetModelPackageGroupArn(v string) *CreateModelPackageGroupOutput { 33371 s.ModelPackageGroupArn = &v 33372 return s 33373 } 33374 33375 type CreateModelPackageInput struct { 33376 _ struct{} `type:"structure"` 33377 33378 // Whether to certify the model package for listing on Amazon Web Services Marketplace. 33379 // 33380 // This parameter is optional for unversioned models, and does not apply to 33381 // versioned models. 33382 CertifyForMarketplace *bool `type:"boolean"` 33383 33384 // A unique token that guarantees that the call to this API is idempotent. 33385 ClientToken *string `min:"1" type:"string" idempotencyToken:"true"` 33386 33387 // Specifies details about inference jobs that can be run with models based 33388 // on this model package, including the following: 33389 // 33390 // * The Amazon ECR paths of containers that contain the inference code and 33391 // model artifacts. 33392 // 33393 // * The instance types that the model package supports for transform jobs 33394 // and real-time endpoints used for inference. 33395 // 33396 // * The input and output content formats that the model package supports 33397 // for inference. 33398 InferenceSpecification *InferenceSpecification `type:"structure"` 33399 33400 // Metadata properties of the tracking entity, trial, or trial component. 33401 MetadataProperties *MetadataProperties `type:"structure"` 33402 33403 // Whether the model is approved for deployment. 33404 // 33405 // This parameter is optional for versioned models, and does not apply to unversioned 33406 // models. 33407 // 33408 // For versioned models, the value of this parameter must be set to Approved 33409 // to deploy the model. 33410 ModelApprovalStatus *string `type:"string" enum:"ModelApprovalStatus"` 33411 33412 // A structure that contains model metrics reports. 33413 ModelMetrics *ModelMetrics `type:"structure"` 33414 33415 // A description of the model package. 33416 ModelPackageDescription *string `type:"string"` 33417 33418 // The name of the model group that this model version belongs to. 33419 // 33420 // This parameter is required for versioned models, and does not apply to unversioned 33421 // models. 33422 ModelPackageGroupName *string `min:"1" type:"string"` 33423 33424 // The name of the model package. The name must have 1 to 63 characters. Valid 33425 // characters are a-z, A-Z, 0-9, and - (hyphen). 33426 // 33427 // This parameter is required for unversioned models. It is not applicable to 33428 // versioned models. 33429 ModelPackageName *string `min:"1" type:"string"` 33430 33431 // Details about the algorithm that was used to create the model package. 33432 SourceAlgorithmSpecification *SourceAlgorithmSpecification `type:"structure"` 33433 33434 // A list of key value pairs associated with the model. For more information, 33435 // see Tagging Amazon Web Services resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) 33436 // in the Amazon Web Services General Reference Guide. 33437 Tags []*Tag `type:"list"` 33438 33439 // Specifies configurations for one or more transform jobs that Amazon SageMaker 33440 // runs to test the model package. 33441 ValidationSpecification *ModelPackageValidationSpecification `type:"structure"` 33442 } 33443 33444 // String returns the string representation. 33445 // 33446 // API parameter values that are decorated as "sensitive" in the API will not 33447 // be included in the string output. The member name will be present, but the 33448 // value will be replaced with "sensitive". 33449 func (s CreateModelPackageInput) String() string { 33450 return awsutil.Prettify(s) 33451 } 33452 33453 // GoString returns the string representation. 33454 // 33455 // API parameter values that are decorated as "sensitive" in the API will not 33456 // be included in the string output. The member name will be present, but the 33457 // value will be replaced with "sensitive". 33458 func (s CreateModelPackageInput) GoString() string { 33459 return s.String() 33460 } 33461 33462 // Validate inspects the fields of the type to determine if they are valid. 33463 func (s *CreateModelPackageInput) Validate() error { 33464 invalidParams := request.ErrInvalidParams{Context: "CreateModelPackageInput"} 33465 if s.ClientToken != nil && len(*s.ClientToken) < 1 { 33466 invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) 33467 } 33468 if s.ModelPackageGroupName != nil && len(*s.ModelPackageGroupName) < 1 { 33469 invalidParams.Add(request.NewErrParamMinLen("ModelPackageGroupName", 1)) 33470 } 33471 if s.ModelPackageName != nil && len(*s.ModelPackageName) < 1 { 33472 invalidParams.Add(request.NewErrParamMinLen("ModelPackageName", 1)) 33473 } 33474 if s.InferenceSpecification != nil { 33475 if err := s.InferenceSpecification.Validate(); err != nil { 33476 invalidParams.AddNested("InferenceSpecification", err.(request.ErrInvalidParams)) 33477 } 33478 } 33479 if s.ModelMetrics != nil { 33480 if err := s.ModelMetrics.Validate(); err != nil { 33481 invalidParams.AddNested("ModelMetrics", err.(request.ErrInvalidParams)) 33482 } 33483 } 33484 if s.SourceAlgorithmSpecification != nil { 33485 if err := s.SourceAlgorithmSpecification.Validate(); err != nil { 33486 invalidParams.AddNested("SourceAlgorithmSpecification", err.(request.ErrInvalidParams)) 33487 } 33488 } 33489 if s.Tags != nil { 33490 for i, v := range s.Tags { 33491 if v == nil { 33492 continue 33493 } 33494 if err := v.Validate(); err != nil { 33495 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 33496 } 33497 } 33498 } 33499 if s.ValidationSpecification != nil { 33500 if err := s.ValidationSpecification.Validate(); err != nil { 33501 invalidParams.AddNested("ValidationSpecification", err.(request.ErrInvalidParams)) 33502 } 33503 } 33504 33505 if invalidParams.Len() > 0 { 33506 return invalidParams 33507 } 33508 return nil 33509 } 33510 33511 // SetCertifyForMarketplace sets the CertifyForMarketplace field's value. 33512 func (s *CreateModelPackageInput) SetCertifyForMarketplace(v bool) *CreateModelPackageInput { 33513 s.CertifyForMarketplace = &v 33514 return s 33515 } 33516 33517 // SetClientToken sets the ClientToken field's value. 33518 func (s *CreateModelPackageInput) SetClientToken(v string) *CreateModelPackageInput { 33519 s.ClientToken = &v 33520 return s 33521 } 33522 33523 // SetInferenceSpecification sets the InferenceSpecification field's value. 33524 func (s *CreateModelPackageInput) SetInferenceSpecification(v *InferenceSpecification) *CreateModelPackageInput { 33525 s.InferenceSpecification = v 33526 return s 33527 } 33528 33529 // SetMetadataProperties sets the MetadataProperties field's value. 33530 func (s *CreateModelPackageInput) SetMetadataProperties(v *MetadataProperties) *CreateModelPackageInput { 33531 s.MetadataProperties = v 33532 return s 33533 } 33534 33535 // SetModelApprovalStatus sets the ModelApprovalStatus field's value. 33536 func (s *CreateModelPackageInput) SetModelApprovalStatus(v string) *CreateModelPackageInput { 33537 s.ModelApprovalStatus = &v 33538 return s 33539 } 33540 33541 // SetModelMetrics sets the ModelMetrics field's value. 33542 func (s *CreateModelPackageInput) SetModelMetrics(v *ModelMetrics) *CreateModelPackageInput { 33543 s.ModelMetrics = v 33544 return s 33545 } 33546 33547 // SetModelPackageDescription sets the ModelPackageDescription field's value. 33548 func (s *CreateModelPackageInput) SetModelPackageDescription(v string) *CreateModelPackageInput { 33549 s.ModelPackageDescription = &v 33550 return s 33551 } 33552 33553 // SetModelPackageGroupName sets the ModelPackageGroupName field's value. 33554 func (s *CreateModelPackageInput) SetModelPackageGroupName(v string) *CreateModelPackageInput { 33555 s.ModelPackageGroupName = &v 33556 return s 33557 } 33558 33559 // SetModelPackageName sets the ModelPackageName field's value. 33560 func (s *CreateModelPackageInput) SetModelPackageName(v string) *CreateModelPackageInput { 33561 s.ModelPackageName = &v 33562 return s 33563 } 33564 33565 // SetSourceAlgorithmSpecification sets the SourceAlgorithmSpecification field's value. 33566 func (s *CreateModelPackageInput) SetSourceAlgorithmSpecification(v *SourceAlgorithmSpecification) *CreateModelPackageInput { 33567 s.SourceAlgorithmSpecification = v 33568 return s 33569 } 33570 33571 // SetTags sets the Tags field's value. 33572 func (s *CreateModelPackageInput) SetTags(v []*Tag) *CreateModelPackageInput { 33573 s.Tags = v 33574 return s 33575 } 33576 33577 // SetValidationSpecification sets the ValidationSpecification field's value. 33578 func (s *CreateModelPackageInput) SetValidationSpecification(v *ModelPackageValidationSpecification) *CreateModelPackageInput { 33579 s.ValidationSpecification = v 33580 return s 33581 } 33582 33583 type CreateModelPackageOutput struct { 33584 _ struct{} `type:"structure"` 33585 33586 // The Amazon Resource Name (ARN) of the new model package. 33587 // 33588 // ModelPackageArn is a required field 33589 ModelPackageArn *string `min:"1" type:"string" required:"true"` 33590 } 33591 33592 // String returns the string representation. 33593 // 33594 // API parameter values that are decorated as "sensitive" in the API will not 33595 // be included in the string output. The member name will be present, but the 33596 // value will be replaced with "sensitive". 33597 func (s CreateModelPackageOutput) String() string { 33598 return awsutil.Prettify(s) 33599 } 33600 33601 // GoString returns the string representation. 33602 // 33603 // API parameter values that are decorated as "sensitive" in the API will not 33604 // be included in the string output. The member name will be present, but the 33605 // value will be replaced with "sensitive". 33606 func (s CreateModelPackageOutput) GoString() string { 33607 return s.String() 33608 } 33609 33610 // SetModelPackageArn sets the ModelPackageArn field's value. 33611 func (s *CreateModelPackageOutput) SetModelPackageArn(v string) *CreateModelPackageOutput { 33612 s.ModelPackageArn = &v 33613 return s 33614 } 33615 33616 type CreateModelQualityJobDefinitionInput struct { 33617 _ struct{} `type:"structure"` 33618 33619 // The name of the monitoring job definition. 33620 // 33621 // JobDefinitionName is a required field 33622 JobDefinitionName *string `min:"1" type:"string" required:"true"` 33623 33624 // Identifies the resources to deploy for a monitoring job. 33625 // 33626 // JobResources is a required field 33627 JobResources *MonitoringResources `type:"structure" required:"true"` 33628 33629 // The container that runs the monitoring job. 33630 // 33631 // ModelQualityAppSpecification is a required field 33632 ModelQualityAppSpecification *ModelQualityAppSpecification `type:"structure" required:"true"` 33633 33634 // Specifies the constraints and baselines for the monitoring job. 33635 ModelQualityBaselineConfig *ModelQualityBaselineConfig `type:"structure"` 33636 33637 // A list of the inputs that are monitored. Currently endpoints are supported. 33638 // 33639 // ModelQualityJobInput is a required field 33640 ModelQualityJobInput *ModelQualityJobInput `type:"structure" required:"true"` 33641 33642 // The output configuration for monitoring jobs. 33643 // 33644 // ModelQualityJobOutputConfig is a required field 33645 ModelQualityJobOutputConfig *MonitoringOutputConfig `type:"structure" required:"true"` 33646 33647 // Specifies the network configuration for the monitoring job. 33648 NetworkConfig *MonitoringNetworkConfig `type:"structure"` 33649 33650 // The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume 33651 // to perform tasks on your behalf. 33652 // 33653 // RoleArn is a required field 33654 RoleArn *string `min:"20" type:"string" required:"true"` 33655 33656 // A time limit for how long the monitoring job is allowed to run before stopping. 33657 StoppingCondition *MonitoringStoppingCondition `type:"structure"` 33658 33659 // (Optional) An array of key-value pairs. For more information, see Using Cost 33660 // Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL) 33661 // in the Amazon Web Services Billing and Cost Management User Guide. 33662 Tags []*Tag `type:"list"` 33663 } 33664 33665 // String returns the string representation. 33666 // 33667 // API parameter values that are decorated as "sensitive" in the API will not 33668 // be included in the string output. The member name will be present, but the 33669 // value will be replaced with "sensitive". 33670 func (s CreateModelQualityJobDefinitionInput) String() string { 33671 return awsutil.Prettify(s) 33672 } 33673 33674 // GoString returns the string representation. 33675 // 33676 // API parameter values that are decorated as "sensitive" in the API will not 33677 // be included in the string output. The member name will be present, but the 33678 // value will be replaced with "sensitive". 33679 func (s CreateModelQualityJobDefinitionInput) GoString() string { 33680 return s.String() 33681 } 33682 33683 // Validate inspects the fields of the type to determine if they are valid. 33684 func (s *CreateModelQualityJobDefinitionInput) Validate() error { 33685 invalidParams := request.ErrInvalidParams{Context: "CreateModelQualityJobDefinitionInput"} 33686 if s.JobDefinitionName == nil { 33687 invalidParams.Add(request.NewErrParamRequired("JobDefinitionName")) 33688 } 33689 if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 { 33690 invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1)) 33691 } 33692 if s.JobResources == nil { 33693 invalidParams.Add(request.NewErrParamRequired("JobResources")) 33694 } 33695 if s.ModelQualityAppSpecification == nil { 33696 invalidParams.Add(request.NewErrParamRequired("ModelQualityAppSpecification")) 33697 } 33698 if s.ModelQualityJobInput == nil { 33699 invalidParams.Add(request.NewErrParamRequired("ModelQualityJobInput")) 33700 } 33701 if s.ModelQualityJobOutputConfig == nil { 33702 invalidParams.Add(request.NewErrParamRequired("ModelQualityJobOutputConfig")) 33703 } 33704 if s.RoleArn == nil { 33705 invalidParams.Add(request.NewErrParamRequired("RoleArn")) 33706 } 33707 if s.RoleArn != nil && len(*s.RoleArn) < 20 { 33708 invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) 33709 } 33710 if s.JobResources != nil { 33711 if err := s.JobResources.Validate(); err != nil { 33712 invalidParams.AddNested("JobResources", err.(request.ErrInvalidParams)) 33713 } 33714 } 33715 if s.ModelQualityAppSpecification != nil { 33716 if err := s.ModelQualityAppSpecification.Validate(); err != nil { 33717 invalidParams.AddNested("ModelQualityAppSpecification", err.(request.ErrInvalidParams)) 33718 } 33719 } 33720 if s.ModelQualityBaselineConfig != nil { 33721 if err := s.ModelQualityBaselineConfig.Validate(); err != nil { 33722 invalidParams.AddNested("ModelQualityBaselineConfig", err.(request.ErrInvalidParams)) 33723 } 33724 } 33725 if s.ModelQualityJobInput != nil { 33726 if err := s.ModelQualityJobInput.Validate(); err != nil { 33727 invalidParams.AddNested("ModelQualityJobInput", err.(request.ErrInvalidParams)) 33728 } 33729 } 33730 if s.ModelQualityJobOutputConfig != nil { 33731 if err := s.ModelQualityJobOutputConfig.Validate(); err != nil { 33732 invalidParams.AddNested("ModelQualityJobOutputConfig", err.(request.ErrInvalidParams)) 33733 } 33734 } 33735 if s.NetworkConfig != nil { 33736 if err := s.NetworkConfig.Validate(); err != nil { 33737 invalidParams.AddNested("NetworkConfig", err.(request.ErrInvalidParams)) 33738 } 33739 } 33740 if s.StoppingCondition != nil { 33741 if err := s.StoppingCondition.Validate(); err != nil { 33742 invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams)) 33743 } 33744 } 33745 if s.Tags != nil { 33746 for i, v := range s.Tags { 33747 if v == nil { 33748 continue 33749 } 33750 if err := v.Validate(); err != nil { 33751 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 33752 } 33753 } 33754 } 33755 33756 if invalidParams.Len() > 0 { 33757 return invalidParams 33758 } 33759 return nil 33760 } 33761 33762 // SetJobDefinitionName sets the JobDefinitionName field's value. 33763 func (s *CreateModelQualityJobDefinitionInput) SetJobDefinitionName(v string) *CreateModelQualityJobDefinitionInput { 33764 s.JobDefinitionName = &v 33765 return s 33766 } 33767 33768 // SetJobResources sets the JobResources field's value. 33769 func (s *CreateModelQualityJobDefinitionInput) SetJobResources(v *MonitoringResources) *CreateModelQualityJobDefinitionInput { 33770 s.JobResources = v 33771 return s 33772 } 33773 33774 // SetModelQualityAppSpecification sets the ModelQualityAppSpecification field's value. 33775 func (s *CreateModelQualityJobDefinitionInput) SetModelQualityAppSpecification(v *ModelQualityAppSpecification) *CreateModelQualityJobDefinitionInput { 33776 s.ModelQualityAppSpecification = v 33777 return s 33778 } 33779 33780 // SetModelQualityBaselineConfig sets the ModelQualityBaselineConfig field's value. 33781 func (s *CreateModelQualityJobDefinitionInput) SetModelQualityBaselineConfig(v *ModelQualityBaselineConfig) *CreateModelQualityJobDefinitionInput { 33782 s.ModelQualityBaselineConfig = v 33783 return s 33784 } 33785 33786 // SetModelQualityJobInput sets the ModelQualityJobInput field's value. 33787 func (s *CreateModelQualityJobDefinitionInput) SetModelQualityJobInput(v *ModelQualityJobInput) *CreateModelQualityJobDefinitionInput { 33788 s.ModelQualityJobInput = v 33789 return s 33790 } 33791 33792 // SetModelQualityJobOutputConfig sets the ModelQualityJobOutputConfig field's value. 33793 func (s *CreateModelQualityJobDefinitionInput) SetModelQualityJobOutputConfig(v *MonitoringOutputConfig) *CreateModelQualityJobDefinitionInput { 33794 s.ModelQualityJobOutputConfig = v 33795 return s 33796 } 33797 33798 // SetNetworkConfig sets the NetworkConfig field's value. 33799 func (s *CreateModelQualityJobDefinitionInput) SetNetworkConfig(v *MonitoringNetworkConfig) *CreateModelQualityJobDefinitionInput { 33800 s.NetworkConfig = v 33801 return s 33802 } 33803 33804 // SetRoleArn sets the RoleArn field's value. 33805 func (s *CreateModelQualityJobDefinitionInput) SetRoleArn(v string) *CreateModelQualityJobDefinitionInput { 33806 s.RoleArn = &v 33807 return s 33808 } 33809 33810 // SetStoppingCondition sets the StoppingCondition field's value. 33811 func (s *CreateModelQualityJobDefinitionInput) SetStoppingCondition(v *MonitoringStoppingCondition) *CreateModelQualityJobDefinitionInput { 33812 s.StoppingCondition = v 33813 return s 33814 } 33815 33816 // SetTags sets the Tags field's value. 33817 func (s *CreateModelQualityJobDefinitionInput) SetTags(v []*Tag) *CreateModelQualityJobDefinitionInput { 33818 s.Tags = v 33819 return s 33820 } 33821 33822 type CreateModelQualityJobDefinitionOutput struct { 33823 _ struct{} `type:"structure"` 33824 33825 // The Amazon Resource Name (ARN) of the model quality monitoring job. 33826 // 33827 // JobDefinitionArn is a required field 33828 JobDefinitionArn *string `type:"string" required:"true"` 33829 } 33830 33831 // String returns the string representation. 33832 // 33833 // API parameter values that are decorated as "sensitive" in the API will not 33834 // be included in the string output. The member name will be present, but the 33835 // value will be replaced with "sensitive". 33836 func (s CreateModelQualityJobDefinitionOutput) String() string { 33837 return awsutil.Prettify(s) 33838 } 33839 33840 // GoString returns the string representation. 33841 // 33842 // API parameter values that are decorated as "sensitive" in the API will not 33843 // be included in the string output. The member name will be present, but the 33844 // value will be replaced with "sensitive". 33845 func (s CreateModelQualityJobDefinitionOutput) GoString() string { 33846 return s.String() 33847 } 33848 33849 // SetJobDefinitionArn sets the JobDefinitionArn field's value. 33850 func (s *CreateModelQualityJobDefinitionOutput) SetJobDefinitionArn(v string) *CreateModelQualityJobDefinitionOutput { 33851 s.JobDefinitionArn = &v 33852 return s 33853 } 33854 33855 type CreateMonitoringScheduleInput struct { 33856 _ struct{} `type:"structure"` 33857 33858 // The configuration object that specifies the monitoring schedule and defines 33859 // the monitoring job. 33860 // 33861 // MonitoringScheduleConfig is a required field 33862 MonitoringScheduleConfig *MonitoringScheduleConfig `type:"structure" required:"true"` 33863 33864 // The name of the monitoring schedule. The name must be unique within an Amazon 33865 // Web Services Region within an Amazon Web Services account. 33866 // 33867 // MonitoringScheduleName is a required field 33868 MonitoringScheduleName *string `min:"1" type:"string" required:"true"` 33869 33870 // (Optional) An array of key-value pairs. For more information, see Using Cost 33871 // Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL) 33872 // in the Amazon Web Services Billing and Cost Management User Guide. 33873 Tags []*Tag `type:"list"` 33874 } 33875 33876 // String returns the string representation. 33877 // 33878 // API parameter values that are decorated as "sensitive" in the API will not 33879 // be included in the string output. The member name will be present, but the 33880 // value will be replaced with "sensitive". 33881 func (s CreateMonitoringScheduleInput) String() string { 33882 return awsutil.Prettify(s) 33883 } 33884 33885 // GoString returns the string representation. 33886 // 33887 // API parameter values that are decorated as "sensitive" in the API will not 33888 // be included in the string output. The member name will be present, but the 33889 // value will be replaced with "sensitive". 33890 func (s CreateMonitoringScheduleInput) GoString() string { 33891 return s.String() 33892 } 33893 33894 // Validate inspects the fields of the type to determine if they are valid. 33895 func (s *CreateMonitoringScheduleInput) Validate() error { 33896 invalidParams := request.ErrInvalidParams{Context: "CreateMonitoringScheduleInput"} 33897 if s.MonitoringScheduleConfig == nil { 33898 invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleConfig")) 33899 } 33900 if s.MonitoringScheduleName == nil { 33901 invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleName")) 33902 } 33903 if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 { 33904 invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1)) 33905 } 33906 if s.MonitoringScheduleConfig != nil { 33907 if err := s.MonitoringScheduleConfig.Validate(); err != nil { 33908 invalidParams.AddNested("MonitoringScheduleConfig", err.(request.ErrInvalidParams)) 33909 } 33910 } 33911 if s.Tags != nil { 33912 for i, v := range s.Tags { 33913 if v == nil { 33914 continue 33915 } 33916 if err := v.Validate(); err != nil { 33917 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 33918 } 33919 } 33920 } 33921 33922 if invalidParams.Len() > 0 { 33923 return invalidParams 33924 } 33925 return nil 33926 } 33927 33928 // SetMonitoringScheduleConfig sets the MonitoringScheduleConfig field's value. 33929 func (s *CreateMonitoringScheduleInput) SetMonitoringScheduleConfig(v *MonitoringScheduleConfig) *CreateMonitoringScheduleInput { 33930 s.MonitoringScheduleConfig = v 33931 return s 33932 } 33933 33934 // SetMonitoringScheduleName sets the MonitoringScheduleName field's value. 33935 func (s *CreateMonitoringScheduleInput) SetMonitoringScheduleName(v string) *CreateMonitoringScheduleInput { 33936 s.MonitoringScheduleName = &v 33937 return s 33938 } 33939 33940 // SetTags sets the Tags field's value. 33941 func (s *CreateMonitoringScheduleInput) SetTags(v []*Tag) *CreateMonitoringScheduleInput { 33942 s.Tags = v 33943 return s 33944 } 33945 33946 type CreateMonitoringScheduleOutput struct { 33947 _ struct{} `type:"structure"` 33948 33949 // The Amazon Resource Name (ARN) of the monitoring schedule. 33950 // 33951 // MonitoringScheduleArn is a required field 33952 MonitoringScheduleArn *string `type:"string" required:"true"` 33953 } 33954 33955 // String returns the string representation. 33956 // 33957 // API parameter values that are decorated as "sensitive" in the API will not 33958 // be included in the string output. The member name will be present, but the 33959 // value will be replaced with "sensitive". 33960 func (s CreateMonitoringScheduleOutput) String() string { 33961 return awsutil.Prettify(s) 33962 } 33963 33964 // GoString returns the string representation. 33965 // 33966 // API parameter values that are decorated as "sensitive" in the API will not 33967 // be included in the string output. The member name will be present, but the 33968 // value will be replaced with "sensitive". 33969 func (s CreateMonitoringScheduleOutput) GoString() string { 33970 return s.String() 33971 } 33972 33973 // SetMonitoringScheduleArn sets the MonitoringScheduleArn field's value. 33974 func (s *CreateMonitoringScheduleOutput) SetMonitoringScheduleArn(v string) *CreateMonitoringScheduleOutput { 33975 s.MonitoringScheduleArn = &v 33976 return s 33977 } 33978 33979 type CreateNotebookInstanceInput struct { 33980 _ struct{} `type:"structure"` 33981 33982 // A list of Elastic Inference (EI) instance types to associate with this notebook 33983 // instance. Currently, only one instance type can be associated with a notebook 33984 // instance. For more information, see Using Elastic Inference in Amazon SageMaker 33985 // (https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html). 33986 AcceleratorTypes []*string `type:"list"` 33987 33988 // An array of up to three Git repositories to associate with the notebook instance. 33989 // These can be either the names of Git repositories stored as resources in 33990 // your account, or the URL of Git repositories in Amazon Web Services CodeCommit 33991 // (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or 33992 // in any other Git repository. These repositories are cloned at the same level 33993 // as the default repository of your notebook instance. For more information, 33994 // see Associating Git Repositories with Amazon SageMaker Notebook Instances 33995 // (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html). 33996 AdditionalCodeRepositories []*string `type:"list"` 33997 33998 // A Git repository to associate with the notebook instance as its default code 33999 // repository. This can be either the name of a Git repository stored as a resource 34000 // in your account, or the URL of a Git repository in Amazon Web Services CodeCommit 34001 // (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or 34002 // in any other Git repository. When you open a notebook instance, it opens 34003 // in the directory that contains this repository. For more information, see 34004 // Associating Git Repositories with Amazon SageMaker Notebook Instances (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html). 34005 DefaultCodeRepository *string `min:"1" type:"string"` 34006 34007 // Sets whether Amazon SageMaker provides internet access to the notebook instance. 34008 // If you set this to Disabled this notebook instance is able to access resources 34009 // only in your VPC, and is not be able to connect to Amazon SageMaker training 34010 // and endpoint services unless you configure a NAT Gateway in your VPC. 34011 // 34012 // For more information, see Notebook Instances Are Internet-Enabled by Default 34013 // (https://docs.aws.amazon.com/sagemaker/latest/dg/appendix-additional-considerations.html#appendix-notebook-and-internet-access). 34014 // You can set the value of this parameter to Disabled only if you set a value 34015 // for the SubnetId parameter. 34016 DirectInternetAccess *string `type:"string" enum:"DirectInternetAccess"` 34017 34018 // The type of ML compute instance to launch for the notebook instance. 34019 // 34020 // InstanceType is a required field 34021 InstanceType *string `type:"string" required:"true" enum:"InstanceType"` 34022 34023 // The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service 34024 // key that Amazon SageMaker uses to encrypt data on the storage volume attached 34025 // to your notebook instance. The KMS key you provide must be enabled. For information, 34026 // see Enabling and Disabling Keys (https://docs.aws.amazon.com/kms/latest/developerguide/enabling-keys.html) 34027 // in the Amazon Web Services Key Management Service Developer Guide. 34028 KmsKeyId *string `type:"string"` 34029 34030 // The name of a lifecycle configuration to associate with the notebook instance. 34031 // For information about lifestyle configurations, see Step 2.1: (Optional) 34032 // Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html). 34033 LifecycleConfigName *string `type:"string"` 34034 34035 // The name of the new notebook instance. 34036 // 34037 // NotebookInstanceName is a required field 34038 NotebookInstanceName *string `type:"string" required:"true"` 34039 34040 // The platform identifier of the notebook instance runtime environment. 34041 PlatformIdentifier *string `type:"string"` 34042 34043 // When you send any requests to Amazon Web Services resources from the notebook 34044 // instance, Amazon SageMaker assumes this role to perform tasks on your behalf. 34045 // You must grant this role necessary permissions so Amazon SageMaker can perform 34046 // these tasks. The policy must allow the Amazon SageMaker service principal 34047 // (sagemaker.amazonaws.com) permissions to assume this role. For more information, 34048 // see Amazon SageMaker Roles (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html). 34049 // 34050 // To be able to pass this role to Amazon SageMaker, the caller of this API 34051 // must have the iam:PassRole permission. 34052 // 34053 // RoleArn is a required field 34054 RoleArn *string `min:"20" type:"string" required:"true"` 34055 34056 // Whether root access is enabled or disabled for users of the notebook instance. 34057 // The default value is Enabled. 34058 // 34059 // Lifecycle configurations need root access to be able to set up a notebook 34060 // instance. Because of this, lifecycle configurations associated with a notebook 34061 // instance always run with root access even if you disable root access for 34062 // users. 34063 RootAccess *string `type:"string" enum:"RootAccess"` 34064 34065 // The VPC security group IDs, in the form sg-xxxxxxxx. The security groups 34066 // must be for the same VPC as specified in the subnet. 34067 SecurityGroupIds []*string `type:"list"` 34068 34069 // The ID of the subnet in a VPC to which you would like to have a connectivity 34070 // from your ML compute instance. 34071 SubnetId *string `type:"string"` 34072 34073 // An array of key-value pairs. You can use tags to categorize your Amazon Web 34074 // Services resources in different ways, for example, by purpose, owner, or 34075 // environment. For more information, see Tagging Amazon Web Services Resources 34076 // (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html). 34077 Tags []*Tag `type:"list"` 34078 34079 // The size, in GB, of the ML storage volume to attach to the notebook instance. 34080 // The default value is 5 GB. 34081 VolumeSizeInGB *int64 `min:"5" type:"integer"` 34082 } 34083 34084 // String returns the string representation. 34085 // 34086 // API parameter values that are decorated as "sensitive" in the API will not 34087 // be included in the string output. The member name will be present, but the 34088 // value will be replaced with "sensitive". 34089 func (s CreateNotebookInstanceInput) String() string { 34090 return awsutil.Prettify(s) 34091 } 34092 34093 // GoString returns the string representation. 34094 // 34095 // API parameter values that are decorated as "sensitive" in the API will not 34096 // be included in the string output. The member name will be present, but the 34097 // value will be replaced with "sensitive". 34098 func (s CreateNotebookInstanceInput) GoString() string { 34099 return s.String() 34100 } 34101 34102 // Validate inspects the fields of the type to determine if they are valid. 34103 func (s *CreateNotebookInstanceInput) Validate() error { 34104 invalidParams := request.ErrInvalidParams{Context: "CreateNotebookInstanceInput"} 34105 if s.DefaultCodeRepository != nil && len(*s.DefaultCodeRepository) < 1 { 34106 invalidParams.Add(request.NewErrParamMinLen("DefaultCodeRepository", 1)) 34107 } 34108 if s.InstanceType == nil { 34109 invalidParams.Add(request.NewErrParamRequired("InstanceType")) 34110 } 34111 if s.NotebookInstanceName == nil { 34112 invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName")) 34113 } 34114 if s.RoleArn == nil { 34115 invalidParams.Add(request.NewErrParamRequired("RoleArn")) 34116 } 34117 if s.RoleArn != nil && len(*s.RoleArn) < 20 { 34118 invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) 34119 } 34120 if s.VolumeSizeInGB != nil && *s.VolumeSizeInGB < 5 { 34121 invalidParams.Add(request.NewErrParamMinValue("VolumeSizeInGB", 5)) 34122 } 34123 if s.Tags != nil { 34124 for i, v := range s.Tags { 34125 if v == nil { 34126 continue 34127 } 34128 if err := v.Validate(); err != nil { 34129 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 34130 } 34131 } 34132 } 34133 34134 if invalidParams.Len() > 0 { 34135 return invalidParams 34136 } 34137 return nil 34138 } 34139 34140 // SetAcceleratorTypes sets the AcceleratorTypes field's value. 34141 func (s *CreateNotebookInstanceInput) SetAcceleratorTypes(v []*string) *CreateNotebookInstanceInput { 34142 s.AcceleratorTypes = v 34143 return s 34144 } 34145 34146 // SetAdditionalCodeRepositories sets the AdditionalCodeRepositories field's value. 34147 func (s *CreateNotebookInstanceInput) SetAdditionalCodeRepositories(v []*string) *CreateNotebookInstanceInput { 34148 s.AdditionalCodeRepositories = v 34149 return s 34150 } 34151 34152 // SetDefaultCodeRepository sets the DefaultCodeRepository field's value. 34153 func (s *CreateNotebookInstanceInput) SetDefaultCodeRepository(v string) *CreateNotebookInstanceInput { 34154 s.DefaultCodeRepository = &v 34155 return s 34156 } 34157 34158 // SetDirectInternetAccess sets the DirectInternetAccess field's value. 34159 func (s *CreateNotebookInstanceInput) SetDirectInternetAccess(v string) *CreateNotebookInstanceInput { 34160 s.DirectInternetAccess = &v 34161 return s 34162 } 34163 34164 // SetInstanceType sets the InstanceType field's value. 34165 func (s *CreateNotebookInstanceInput) SetInstanceType(v string) *CreateNotebookInstanceInput { 34166 s.InstanceType = &v 34167 return s 34168 } 34169 34170 // SetKmsKeyId sets the KmsKeyId field's value. 34171 func (s *CreateNotebookInstanceInput) SetKmsKeyId(v string) *CreateNotebookInstanceInput { 34172 s.KmsKeyId = &v 34173 return s 34174 } 34175 34176 // SetLifecycleConfigName sets the LifecycleConfigName field's value. 34177 func (s *CreateNotebookInstanceInput) SetLifecycleConfigName(v string) *CreateNotebookInstanceInput { 34178 s.LifecycleConfigName = &v 34179 return s 34180 } 34181 34182 // SetNotebookInstanceName sets the NotebookInstanceName field's value. 34183 func (s *CreateNotebookInstanceInput) SetNotebookInstanceName(v string) *CreateNotebookInstanceInput { 34184 s.NotebookInstanceName = &v 34185 return s 34186 } 34187 34188 // SetPlatformIdentifier sets the PlatformIdentifier field's value. 34189 func (s *CreateNotebookInstanceInput) SetPlatformIdentifier(v string) *CreateNotebookInstanceInput { 34190 s.PlatformIdentifier = &v 34191 return s 34192 } 34193 34194 // SetRoleArn sets the RoleArn field's value. 34195 func (s *CreateNotebookInstanceInput) SetRoleArn(v string) *CreateNotebookInstanceInput { 34196 s.RoleArn = &v 34197 return s 34198 } 34199 34200 // SetRootAccess sets the RootAccess field's value. 34201 func (s *CreateNotebookInstanceInput) SetRootAccess(v string) *CreateNotebookInstanceInput { 34202 s.RootAccess = &v 34203 return s 34204 } 34205 34206 // SetSecurityGroupIds sets the SecurityGroupIds field's value. 34207 func (s *CreateNotebookInstanceInput) SetSecurityGroupIds(v []*string) *CreateNotebookInstanceInput { 34208 s.SecurityGroupIds = v 34209 return s 34210 } 34211 34212 // SetSubnetId sets the SubnetId field's value. 34213 func (s *CreateNotebookInstanceInput) SetSubnetId(v string) *CreateNotebookInstanceInput { 34214 s.SubnetId = &v 34215 return s 34216 } 34217 34218 // SetTags sets the Tags field's value. 34219 func (s *CreateNotebookInstanceInput) SetTags(v []*Tag) *CreateNotebookInstanceInput { 34220 s.Tags = v 34221 return s 34222 } 34223 34224 // SetVolumeSizeInGB sets the VolumeSizeInGB field's value. 34225 func (s *CreateNotebookInstanceInput) SetVolumeSizeInGB(v int64) *CreateNotebookInstanceInput { 34226 s.VolumeSizeInGB = &v 34227 return s 34228 } 34229 34230 type CreateNotebookInstanceLifecycleConfigInput struct { 34231 _ struct{} `type:"structure"` 34232 34233 // The name of the lifecycle configuration. 34234 // 34235 // NotebookInstanceLifecycleConfigName is a required field 34236 NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"` 34237 34238 // A shell script that runs only once, when you create a notebook instance. 34239 // The shell script must be a base64-encoded string. 34240 OnCreate []*NotebookInstanceLifecycleHook `type:"list"` 34241 34242 // A shell script that runs every time you start a notebook instance, including 34243 // when you create the notebook instance. The shell script must be a base64-encoded 34244 // string. 34245 OnStart []*NotebookInstanceLifecycleHook `type:"list"` 34246 } 34247 34248 // String returns the string representation. 34249 // 34250 // API parameter values that are decorated as "sensitive" in the API will not 34251 // be included in the string output. The member name will be present, but the 34252 // value will be replaced with "sensitive". 34253 func (s CreateNotebookInstanceLifecycleConfigInput) String() string { 34254 return awsutil.Prettify(s) 34255 } 34256 34257 // GoString returns the string representation. 34258 // 34259 // API parameter values that are decorated as "sensitive" in the API will not 34260 // be included in the string output. The member name will be present, but the 34261 // value will be replaced with "sensitive". 34262 func (s CreateNotebookInstanceLifecycleConfigInput) GoString() string { 34263 return s.String() 34264 } 34265 34266 // Validate inspects the fields of the type to determine if they are valid. 34267 func (s *CreateNotebookInstanceLifecycleConfigInput) Validate() error { 34268 invalidParams := request.ErrInvalidParams{Context: "CreateNotebookInstanceLifecycleConfigInput"} 34269 if s.NotebookInstanceLifecycleConfigName == nil { 34270 invalidParams.Add(request.NewErrParamRequired("NotebookInstanceLifecycleConfigName")) 34271 } 34272 if s.OnCreate != nil { 34273 for i, v := range s.OnCreate { 34274 if v == nil { 34275 continue 34276 } 34277 if err := v.Validate(); err != nil { 34278 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OnCreate", i), err.(request.ErrInvalidParams)) 34279 } 34280 } 34281 } 34282 if s.OnStart != nil { 34283 for i, v := range s.OnStart { 34284 if v == nil { 34285 continue 34286 } 34287 if err := v.Validate(); err != nil { 34288 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OnStart", i), err.(request.ErrInvalidParams)) 34289 } 34290 } 34291 } 34292 34293 if invalidParams.Len() > 0 { 34294 return invalidParams 34295 } 34296 return nil 34297 } 34298 34299 // SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value. 34300 func (s *CreateNotebookInstanceLifecycleConfigInput) SetNotebookInstanceLifecycleConfigName(v string) *CreateNotebookInstanceLifecycleConfigInput { 34301 s.NotebookInstanceLifecycleConfigName = &v 34302 return s 34303 } 34304 34305 // SetOnCreate sets the OnCreate field's value. 34306 func (s *CreateNotebookInstanceLifecycleConfigInput) SetOnCreate(v []*NotebookInstanceLifecycleHook) *CreateNotebookInstanceLifecycleConfigInput { 34307 s.OnCreate = v 34308 return s 34309 } 34310 34311 // SetOnStart sets the OnStart field's value. 34312 func (s *CreateNotebookInstanceLifecycleConfigInput) SetOnStart(v []*NotebookInstanceLifecycleHook) *CreateNotebookInstanceLifecycleConfigInput { 34313 s.OnStart = v 34314 return s 34315 } 34316 34317 type CreateNotebookInstanceLifecycleConfigOutput struct { 34318 _ struct{} `type:"structure"` 34319 34320 // The Amazon Resource Name (ARN) of the lifecycle configuration. 34321 NotebookInstanceLifecycleConfigArn *string `type:"string"` 34322 } 34323 34324 // String returns the string representation. 34325 // 34326 // API parameter values that are decorated as "sensitive" in the API will not 34327 // be included in the string output. The member name will be present, but the 34328 // value will be replaced with "sensitive". 34329 func (s CreateNotebookInstanceLifecycleConfigOutput) String() string { 34330 return awsutil.Prettify(s) 34331 } 34332 34333 // GoString returns the string representation. 34334 // 34335 // API parameter values that are decorated as "sensitive" in the API will not 34336 // be included in the string output. The member name will be present, but the 34337 // value will be replaced with "sensitive". 34338 func (s CreateNotebookInstanceLifecycleConfigOutput) GoString() string { 34339 return s.String() 34340 } 34341 34342 // SetNotebookInstanceLifecycleConfigArn sets the NotebookInstanceLifecycleConfigArn field's value. 34343 func (s *CreateNotebookInstanceLifecycleConfigOutput) SetNotebookInstanceLifecycleConfigArn(v string) *CreateNotebookInstanceLifecycleConfigOutput { 34344 s.NotebookInstanceLifecycleConfigArn = &v 34345 return s 34346 } 34347 34348 type CreateNotebookInstanceOutput struct { 34349 _ struct{} `type:"structure"` 34350 34351 // The Amazon Resource Name (ARN) of the notebook instance. 34352 NotebookInstanceArn *string `type:"string"` 34353 } 34354 34355 // String returns the string representation. 34356 // 34357 // API parameter values that are decorated as "sensitive" in the API will not 34358 // be included in the string output. The member name will be present, but the 34359 // value will be replaced with "sensitive". 34360 func (s CreateNotebookInstanceOutput) String() string { 34361 return awsutil.Prettify(s) 34362 } 34363 34364 // GoString returns the string representation. 34365 // 34366 // API parameter values that are decorated as "sensitive" in the API will not 34367 // be included in the string output. The member name will be present, but the 34368 // value will be replaced with "sensitive". 34369 func (s CreateNotebookInstanceOutput) GoString() string { 34370 return s.String() 34371 } 34372 34373 // SetNotebookInstanceArn sets the NotebookInstanceArn field's value. 34374 func (s *CreateNotebookInstanceOutput) SetNotebookInstanceArn(v string) *CreateNotebookInstanceOutput { 34375 s.NotebookInstanceArn = &v 34376 return s 34377 } 34378 34379 type CreatePipelineInput struct { 34380 _ struct{} `type:"structure"` 34381 34382 // A unique, case-sensitive identifier that you provide to ensure the idempotency 34383 // of the operation. An idempotent operation completes no more than one time. 34384 ClientRequestToken *string `min:"32" type:"string" idempotencyToken:"true"` 34385 34386 // The JSON pipeline definition of the pipeline. 34387 // 34388 // PipelineDefinition is a required field 34389 PipelineDefinition *string `min:"1" type:"string" required:"true"` 34390 34391 // A description of the pipeline. 34392 PipelineDescription *string `type:"string"` 34393 34394 // The display name of the pipeline. 34395 PipelineDisplayName *string `min:"1" type:"string"` 34396 34397 // The name of the pipeline. 34398 // 34399 // PipelineName is a required field 34400 PipelineName *string `min:"1" type:"string" required:"true"` 34401 34402 // The Amazon Resource Name (ARN) of the role used by the pipeline to access 34403 // and create resources. 34404 // 34405 // RoleArn is a required field 34406 RoleArn *string `min:"20" type:"string" required:"true"` 34407 34408 // A list of tags to apply to the created pipeline. 34409 Tags []*Tag `type:"list"` 34410 } 34411 34412 // String returns the string representation. 34413 // 34414 // API parameter values that are decorated as "sensitive" in the API will not 34415 // be included in the string output. The member name will be present, but the 34416 // value will be replaced with "sensitive". 34417 func (s CreatePipelineInput) String() string { 34418 return awsutil.Prettify(s) 34419 } 34420 34421 // GoString returns the string representation. 34422 // 34423 // API parameter values that are decorated as "sensitive" in the API will not 34424 // be included in the string output. The member name will be present, but the 34425 // value will be replaced with "sensitive". 34426 func (s CreatePipelineInput) GoString() string { 34427 return s.String() 34428 } 34429 34430 // Validate inspects the fields of the type to determine if they are valid. 34431 func (s *CreatePipelineInput) Validate() error { 34432 invalidParams := request.ErrInvalidParams{Context: "CreatePipelineInput"} 34433 if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 32 { 34434 invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 32)) 34435 } 34436 if s.PipelineDefinition == nil { 34437 invalidParams.Add(request.NewErrParamRequired("PipelineDefinition")) 34438 } 34439 if s.PipelineDefinition != nil && len(*s.PipelineDefinition) < 1 { 34440 invalidParams.Add(request.NewErrParamMinLen("PipelineDefinition", 1)) 34441 } 34442 if s.PipelineDisplayName != nil && len(*s.PipelineDisplayName) < 1 { 34443 invalidParams.Add(request.NewErrParamMinLen("PipelineDisplayName", 1)) 34444 } 34445 if s.PipelineName == nil { 34446 invalidParams.Add(request.NewErrParamRequired("PipelineName")) 34447 } 34448 if s.PipelineName != nil && len(*s.PipelineName) < 1 { 34449 invalidParams.Add(request.NewErrParamMinLen("PipelineName", 1)) 34450 } 34451 if s.RoleArn == nil { 34452 invalidParams.Add(request.NewErrParamRequired("RoleArn")) 34453 } 34454 if s.RoleArn != nil && len(*s.RoleArn) < 20 { 34455 invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) 34456 } 34457 if s.Tags != nil { 34458 for i, v := range s.Tags { 34459 if v == nil { 34460 continue 34461 } 34462 if err := v.Validate(); err != nil { 34463 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 34464 } 34465 } 34466 } 34467 34468 if invalidParams.Len() > 0 { 34469 return invalidParams 34470 } 34471 return nil 34472 } 34473 34474 // SetClientRequestToken sets the ClientRequestToken field's value. 34475 func (s *CreatePipelineInput) SetClientRequestToken(v string) *CreatePipelineInput { 34476 s.ClientRequestToken = &v 34477 return s 34478 } 34479 34480 // SetPipelineDefinition sets the PipelineDefinition field's value. 34481 func (s *CreatePipelineInput) SetPipelineDefinition(v string) *CreatePipelineInput { 34482 s.PipelineDefinition = &v 34483 return s 34484 } 34485 34486 // SetPipelineDescription sets the PipelineDescription field's value. 34487 func (s *CreatePipelineInput) SetPipelineDescription(v string) *CreatePipelineInput { 34488 s.PipelineDescription = &v 34489 return s 34490 } 34491 34492 // SetPipelineDisplayName sets the PipelineDisplayName field's value. 34493 func (s *CreatePipelineInput) SetPipelineDisplayName(v string) *CreatePipelineInput { 34494 s.PipelineDisplayName = &v 34495 return s 34496 } 34497 34498 // SetPipelineName sets the PipelineName field's value. 34499 func (s *CreatePipelineInput) SetPipelineName(v string) *CreatePipelineInput { 34500 s.PipelineName = &v 34501 return s 34502 } 34503 34504 // SetRoleArn sets the RoleArn field's value. 34505 func (s *CreatePipelineInput) SetRoleArn(v string) *CreatePipelineInput { 34506 s.RoleArn = &v 34507 return s 34508 } 34509 34510 // SetTags sets the Tags field's value. 34511 func (s *CreatePipelineInput) SetTags(v []*Tag) *CreatePipelineInput { 34512 s.Tags = v 34513 return s 34514 } 34515 34516 type CreatePipelineOutput struct { 34517 _ struct{} `type:"structure"` 34518 34519 // The Amazon Resource Name (ARN) of the created pipeline. 34520 PipelineArn *string `type:"string"` 34521 } 34522 34523 // String returns the string representation. 34524 // 34525 // API parameter values that are decorated as "sensitive" in the API will not 34526 // be included in the string output. The member name will be present, but the 34527 // value will be replaced with "sensitive". 34528 func (s CreatePipelineOutput) String() string { 34529 return awsutil.Prettify(s) 34530 } 34531 34532 // GoString returns the string representation. 34533 // 34534 // API parameter values that are decorated as "sensitive" in the API will not 34535 // be included in the string output. The member name will be present, but the 34536 // value will be replaced with "sensitive". 34537 func (s CreatePipelineOutput) GoString() string { 34538 return s.String() 34539 } 34540 34541 // SetPipelineArn sets the PipelineArn field's value. 34542 func (s *CreatePipelineOutput) SetPipelineArn(v string) *CreatePipelineOutput { 34543 s.PipelineArn = &v 34544 return s 34545 } 34546 34547 type CreatePresignedDomainUrlInput struct { 34548 _ struct{} `type:"structure"` 34549 34550 // The domain ID. 34551 // 34552 // DomainId is a required field 34553 DomainId *string `type:"string" required:"true"` 34554 34555 // The number of seconds until the pre-signed URL expires. This value defaults 34556 // to 300. 34557 ExpiresInSeconds *int64 `min:"5" type:"integer"` 34558 34559 // The session expiration duration in seconds. This value defaults to 43200. 34560 SessionExpirationDurationInSeconds *int64 `min:"1800" type:"integer"` 34561 34562 // The name of the UserProfile to sign-in as. 34563 // 34564 // UserProfileName is a required field 34565 UserProfileName *string `type:"string" required:"true"` 34566 } 34567 34568 // String returns the string representation. 34569 // 34570 // API parameter values that are decorated as "sensitive" in the API will not 34571 // be included in the string output. The member name will be present, but the 34572 // value will be replaced with "sensitive". 34573 func (s CreatePresignedDomainUrlInput) String() string { 34574 return awsutil.Prettify(s) 34575 } 34576 34577 // GoString returns the string representation. 34578 // 34579 // API parameter values that are decorated as "sensitive" in the API will not 34580 // be included in the string output. The member name will be present, but the 34581 // value will be replaced with "sensitive". 34582 func (s CreatePresignedDomainUrlInput) GoString() string { 34583 return s.String() 34584 } 34585 34586 // Validate inspects the fields of the type to determine if they are valid. 34587 func (s *CreatePresignedDomainUrlInput) Validate() error { 34588 invalidParams := request.ErrInvalidParams{Context: "CreatePresignedDomainUrlInput"} 34589 if s.DomainId == nil { 34590 invalidParams.Add(request.NewErrParamRequired("DomainId")) 34591 } 34592 if s.ExpiresInSeconds != nil && *s.ExpiresInSeconds < 5 { 34593 invalidParams.Add(request.NewErrParamMinValue("ExpiresInSeconds", 5)) 34594 } 34595 if s.SessionExpirationDurationInSeconds != nil && *s.SessionExpirationDurationInSeconds < 1800 { 34596 invalidParams.Add(request.NewErrParamMinValue("SessionExpirationDurationInSeconds", 1800)) 34597 } 34598 if s.UserProfileName == nil { 34599 invalidParams.Add(request.NewErrParamRequired("UserProfileName")) 34600 } 34601 34602 if invalidParams.Len() > 0 { 34603 return invalidParams 34604 } 34605 return nil 34606 } 34607 34608 // SetDomainId sets the DomainId field's value. 34609 func (s *CreatePresignedDomainUrlInput) SetDomainId(v string) *CreatePresignedDomainUrlInput { 34610 s.DomainId = &v 34611 return s 34612 } 34613 34614 // SetExpiresInSeconds sets the ExpiresInSeconds field's value. 34615 func (s *CreatePresignedDomainUrlInput) SetExpiresInSeconds(v int64) *CreatePresignedDomainUrlInput { 34616 s.ExpiresInSeconds = &v 34617 return s 34618 } 34619 34620 // SetSessionExpirationDurationInSeconds sets the SessionExpirationDurationInSeconds field's value. 34621 func (s *CreatePresignedDomainUrlInput) SetSessionExpirationDurationInSeconds(v int64) *CreatePresignedDomainUrlInput { 34622 s.SessionExpirationDurationInSeconds = &v 34623 return s 34624 } 34625 34626 // SetUserProfileName sets the UserProfileName field's value. 34627 func (s *CreatePresignedDomainUrlInput) SetUserProfileName(v string) *CreatePresignedDomainUrlInput { 34628 s.UserProfileName = &v 34629 return s 34630 } 34631 34632 type CreatePresignedDomainUrlOutput struct { 34633 _ struct{} `type:"structure"` 34634 34635 // The presigned URL. 34636 AuthorizedUrl *string `type:"string"` 34637 } 34638 34639 // String returns the string representation. 34640 // 34641 // API parameter values that are decorated as "sensitive" in the API will not 34642 // be included in the string output. The member name will be present, but the 34643 // value will be replaced with "sensitive". 34644 func (s CreatePresignedDomainUrlOutput) String() string { 34645 return awsutil.Prettify(s) 34646 } 34647 34648 // GoString returns the string representation. 34649 // 34650 // API parameter values that are decorated as "sensitive" in the API will not 34651 // be included in the string output. The member name will be present, but the 34652 // value will be replaced with "sensitive". 34653 func (s CreatePresignedDomainUrlOutput) GoString() string { 34654 return s.String() 34655 } 34656 34657 // SetAuthorizedUrl sets the AuthorizedUrl field's value. 34658 func (s *CreatePresignedDomainUrlOutput) SetAuthorizedUrl(v string) *CreatePresignedDomainUrlOutput { 34659 s.AuthorizedUrl = &v 34660 return s 34661 } 34662 34663 type CreatePresignedNotebookInstanceUrlInput struct { 34664 _ struct{} `type:"structure"` 34665 34666 // The name of the notebook instance. 34667 // 34668 // NotebookInstanceName is a required field 34669 NotebookInstanceName *string `type:"string" required:"true"` 34670 34671 // The duration of the session, in seconds. The default is 12 hours. 34672 SessionExpirationDurationInSeconds *int64 `min:"1800" type:"integer"` 34673 } 34674 34675 // String returns the string representation. 34676 // 34677 // API parameter values that are decorated as "sensitive" in the API will not 34678 // be included in the string output. The member name will be present, but the 34679 // value will be replaced with "sensitive". 34680 func (s CreatePresignedNotebookInstanceUrlInput) String() string { 34681 return awsutil.Prettify(s) 34682 } 34683 34684 // GoString returns the string representation. 34685 // 34686 // API parameter values that are decorated as "sensitive" in the API will not 34687 // be included in the string output. The member name will be present, but the 34688 // value will be replaced with "sensitive". 34689 func (s CreatePresignedNotebookInstanceUrlInput) GoString() string { 34690 return s.String() 34691 } 34692 34693 // Validate inspects the fields of the type to determine if they are valid. 34694 func (s *CreatePresignedNotebookInstanceUrlInput) Validate() error { 34695 invalidParams := request.ErrInvalidParams{Context: "CreatePresignedNotebookInstanceUrlInput"} 34696 if s.NotebookInstanceName == nil { 34697 invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName")) 34698 } 34699 if s.SessionExpirationDurationInSeconds != nil && *s.SessionExpirationDurationInSeconds < 1800 { 34700 invalidParams.Add(request.NewErrParamMinValue("SessionExpirationDurationInSeconds", 1800)) 34701 } 34702 34703 if invalidParams.Len() > 0 { 34704 return invalidParams 34705 } 34706 return nil 34707 } 34708 34709 // SetNotebookInstanceName sets the NotebookInstanceName field's value. 34710 func (s *CreatePresignedNotebookInstanceUrlInput) SetNotebookInstanceName(v string) *CreatePresignedNotebookInstanceUrlInput { 34711 s.NotebookInstanceName = &v 34712 return s 34713 } 34714 34715 // SetSessionExpirationDurationInSeconds sets the SessionExpirationDurationInSeconds field's value. 34716 func (s *CreatePresignedNotebookInstanceUrlInput) SetSessionExpirationDurationInSeconds(v int64) *CreatePresignedNotebookInstanceUrlInput { 34717 s.SessionExpirationDurationInSeconds = &v 34718 return s 34719 } 34720 34721 type CreatePresignedNotebookInstanceUrlOutput struct { 34722 _ struct{} `type:"structure"` 34723 34724 // A JSON object that contains the URL string. 34725 AuthorizedUrl *string `type:"string"` 34726 } 34727 34728 // String returns the string representation. 34729 // 34730 // API parameter values that are decorated as "sensitive" in the API will not 34731 // be included in the string output. The member name will be present, but the 34732 // value will be replaced with "sensitive". 34733 func (s CreatePresignedNotebookInstanceUrlOutput) String() string { 34734 return awsutil.Prettify(s) 34735 } 34736 34737 // GoString returns the string representation. 34738 // 34739 // API parameter values that are decorated as "sensitive" in the API will not 34740 // be included in the string output. The member name will be present, but the 34741 // value will be replaced with "sensitive". 34742 func (s CreatePresignedNotebookInstanceUrlOutput) GoString() string { 34743 return s.String() 34744 } 34745 34746 // SetAuthorizedUrl sets the AuthorizedUrl field's value. 34747 func (s *CreatePresignedNotebookInstanceUrlOutput) SetAuthorizedUrl(v string) *CreatePresignedNotebookInstanceUrlOutput { 34748 s.AuthorizedUrl = &v 34749 return s 34750 } 34751 34752 type CreateProcessingJobInput struct { 34753 _ struct{} `type:"structure"` 34754 34755 // Configures the processing job to run a specified Docker container image. 34756 // 34757 // AppSpecification is a required field 34758 AppSpecification *AppSpecification `type:"structure" required:"true"` 34759 34760 // The environment variables to set in the Docker container. Up to 100 key and 34761 // values entries in the map are supported. 34762 Environment map[string]*string `type:"map"` 34763 34764 // Associates a SageMaker job as a trial component with an experiment and trial. 34765 // Specified when you call the following APIs: 34766 // 34767 // * CreateProcessingJob 34768 // 34769 // * CreateTrainingJob 34770 // 34771 // * CreateTransformJob 34772 ExperimentConfig *ExperimentConfig `type:"structure"` 34773 34774 // Networking options for a processing job, such as whether to allow inbound 34775 // and outbound network calls to and from processing containers, and the VPC 34776 // subnets and security groups to use for VPC-enabled processing jobs. 34777 NetworkConfig *NetworkConfig `type:"structure"` 34778 34779 // An array of inputs configuring the data to download into the processing container. 34780 ProcessingInputs []*ProcessingInput `type:"list"` 34781 34782 // The name of the processing job. The name must be unique within an Amazon 34783 // Web Services Region in the Amazon Web Services account. 34784 // 34785 // ProcessingJobName is a required field 34786 ProcessingJobName *string `min:"1" type:"string" required:"true"` 34787 34788 // Output configuration for the processing job. 34789 ProcessingOutputConfig *ProcessingOutputConfig `type:"structure"` 34790 34791 // Identifies the resources, ML compute instances, and ML storage volumes to 34792 // deploy for a processing job. In distributed training, you specify more than 34793 // one instance. 34794 // 34795 // ProcessingResources is a required field 34796 ProcessingResources *ProcessingResources `type:"structure" required:"true"` 34797 34798 // The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume 34799 // to perform tasks on your behalf. 34800 // 34801 // RoleArn is a required field 34802 RoleArn *string `min:"20" type:"string" required:"true"` 34803 34804 // The time limit for how long the processing job is allowed to run. 34805 StoppingCondition *ProcessingStoppingCondition `type:"structure"` 34806 34807 // (Optional) An array of key-value pairs. For more information, see Using Cost 34808 // Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL) 34809 // in the Amazon Web Services Billing and Cost Management User Guide. 34810 Tags []*Tag `type:"list"` 34811 } 34812 34813 // String returns the string representation. 34814 // 34815 // API parameter values that are decorated as "sensitive" in the API will not 34816 // be included in the string output. The member name will be present, but the 34817 // value will be replaced with "sensitive". 34818 func (s CreateProcessingJobInput) String() string { 34819 return awsutil.Prettify(s) 34820 } 34821 34822 // GoString returns the string representation. 34823 // 34824 // API parameter values that are decorated as "sensitive" in the API will not 34825 // be included in the string output. The member name will be present, but the 34826 // value will be replaced with "sensitive". 34827 func (s CreateProcessingJobInput) GoString() string { 34828 return s.String() 34829 } 34830 34831 // Validate inspects the fields of the type to determine if they are valid. 34832 func (s *CreateProcessingJobInput) Validate() error { 34833 invalidParams := request.ErrInvalidParams{Context: "CreateProcessingJobInput"} 34834 if s.AppSpecification == nil { 34835 invalidParams.Add(request.NewErrParamRequired("AppSpecification")) 34836 } 34837 if s.ProcessingJobName == nil { 34838 invalidParams.Add(request.NewErrParamRequired("ProcessingJobName")) 34839 } 34840 if s.ProcessingJobName != nil && len(*s.ProcessingJobName) < 1 { 34841 invalidParams.Add(request.NewErrParamMinLen("ProcessingJobName", 1)) 34842 } 34843 if s.ProcessingResources == nil { 34844 invalidParams.Add(request.NewErrParamRequired("ProcessingResources")) 34845 } 34846 if s.RoleArn == nil { 34847 invalidParams.Add(request.NewErrParamRequired("RoleArn")) 34848 } 34849 if s.RoleArn != nil && len(*s.RoleArn) < 20 { 34850 invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) 34851 } 34852 if s.AppSpecification != nil { 34853 if err := s.AppSpecification.Validate(); err != nil { 34854 invalidParams.AddNested("AppSpecification", err.(request.ErrInvalidParams)) 34855 } 34856 } 34857 if s.ExperimentConfig != nil { 34858 if err := s.ExperimentConfig.Validate(); err != nil { 34859 invalidParams.AddNested("ExperimentConfig", err.(request.ErrInvalidParams)) 34860 } 34861 } 34862 if s.NetworkConfig != nil { 34863 if err := s.NetworkConfig.Validate(); err != nil { 34864 invalidParams.AddNested("NetworkConfig", err.(request.ErrInvalidParams)) 34865 } 34866 } 34867 if s.ProcessingInputs != nil { 34868 for i, v := range s.ProcessingInputs { 34869 if v == nil { 34870 continue 34871 } 34872 if err := v.Validate(); err != nil { 34873 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ProcessingInputs", i), err.(request.ErrInvalidParams)) 34874 } 34875 } 34876 } 34877 if s.ProcessingOutputConfig != nil { 34878 if err := s.ProcessingOutputConfig.Validate(); err != nil { 34879 invalidParams.AddNested("ProcessingOutputConfig", err.(request.ErrInvalidParams)) 34880 } 34881 } 34882 if s.ProcessingResources != nil { 34883 if err := s.ProcessingResources.Validate(); err != nil { 34884 invalidParams.AddNested("ProcessingResources", err.(request.ErrInvalidParams)) 34885 } 34886 } 34887 if s.StoppingCondition != nil { 34888 if err := s.StoppingCondition.Validate(); err != nil { 34889 invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams)) 34890 } 34891 } 34892 if s.Tags != nil { 34893 for i, v := range s.Tags { 34894 if v == nil { 34895 continue 34896 } 34897 if err := v.Validate(); err != nil { 34898 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 34899 } 34900 } 34901 } 34902 34903 if invalidParams.Len() > 0 { 34904 return invalidParams 34905 } 34906 return nil 34907 } 34908 34909 // SetAppSpecification sets the AppSpecification field's value. 34910 func (s *CreateProcessingJobInput) SetAppSpecification(v *AppSpecification) *CreateProcessingJobInput { 34911 s.AppSpecification = v 34912 return s 34913 } 34914 34915 // SetEnvironment sets the Environment field's value. 34916 func (s *CreateProcessingJobInput) SetEnvironment(v map[string]*string) *CreateProcessingJobInput { 34917 s.Environment = v 34918 return s 34919 } 34920 34921 // SetExperimentConfig sets the ExperimentConfig field's value. 34922 func (s *CreateProcessingJobInput) SetExperimentConfig(v *ExperimentConfig) *CreateProcessingJobInput { 34923 s.ExperimentConfig = v 34924 return s 34925 } 34926 34927 // SetNetworkConfig sets the NetworkConfig field's value. 34928 func (s *CreateProcessingJobInput) SetNetworkConfig(v *NetworkConfig) *CreateProcessingJobInput { 34929 s.NetworkConfig = v 34930 return s 34931 } 34932 34933 // SetProcessingInputs sets the ProcessingInputs field's value. 34934 func (s *CreateProcessingJobInput) SetProcessingInputs(v []*ProcessingInput) *CreateProcessingJobInput { 34935 s.ProcessingInputs = v 34936 return s 34937 } 34938 34939 // SetProcessingJobName sets the ProcessingJobName field's value. 34940 func (s *CreateProcessingJobInput) SetProcessingJobName(v string) *CreateProcessingJobInput { 34941 s.ProcessingJobName = &v 34942 return s 34943 } 34944 34945 // SetProcessingOutputConfig sets the ProcessingOutputConfig field's value. 34946 func (s *CreateProcessingJobInput) SetProcessingOutputConfig(v *ProcessingOutputConfig) *CreateProcessingJobInput { 34947 s.ProcessingOutputConfig = v 34948 return s 34949 } 34950 34951 // SetProcessingResources sets the ProcessingResources field's value. 34952 func (s *CreateProcessingJobInput) SetProcessingResources(v *ProcessingResources) *CreateProcessingJobInput { 34953 s.ProcessingResources = v 34954 return s 34955 } 34956 34957 // SetRoleArn sets the RoleArn field's value. 34958 func (s *CreateProcessingJobInput) SetRoleArn(v string) *CreateProcessingJobInput { 34959 s.RoleArn = &v 34960 return s 34961 } 34962 34963 // SetStoppingCondition sets the StoppingCondition field's value. 34964 func (s *CreateProcessingJobInput) SetStoppingCondition(v *ProcessingStoppingCondition) *CreateProcessingJobInput { 34965 s.StoppingCondition = v 34966 return s 34967 } 34968 34969 // SetTags sets the Tags field's value. 34970 func (s *CreateProcessingJobInput) SetTags(v []*Tag) *CreateProcessingJobInput { 34971 s.Tags = v 34972 return s 34973 } 34974 34975 type CreateProcessingJobOutput struct { 34976 _ struct{} `type:"structure"` 34977 34978 // The Amazon Resource Name (ARN) of the processing job. 34979 // 34980 // ProcessingJobArn is a required field 34981 ProcessingJobArn *string `type:"string" required:"true"` 34982 } 34983 34984 // String returns the string representation. 34985 // 34986 // API parameter values that are decorated as "sensitive" in the API will not 34987 // be included in the string output. The member name will be present, but the 34988 // value will be replaced with "sensitive". 34989 func (s CreateProcessingJobOutput) String() string { 34990 return awsutil.Prettify(s) 34991 } 34992 34993 // GoString returns the string representation. 34994 // 34995 // API parameter values that are decorated as "sensitive" in the API will not 34996 // be included in the string output. The member name will be present, but the 34997 // value will be replaced with "sensitive". 34998 func (s CreateProcessingJobOutput) GoString() string { 34999 return s.String() 35000 } 35001 35002 // SetProcessingJobArn sets the ProcessingJobArn field's value. 35003 func (s *CreateProcessingJobOutput) SetProcessingJobArn(v string) *CreateProcessingJobOutput { 35004 s.ProcessingJobArn = &v 35005 return s 35006 } 35007 35008 type CreateProjectInput struct { 35009 _ struct{} `type:"structure"` 35010 35011 // A description for the project. 35012 ProjectDescription *string `type:"string"` 35013 35014 // The name of the project. 35015 // 35016 // ProjectName is a required field 35017 ProjectName *string `min:"1" type:"string" required:"true"` 35018 35019 // The product ID and provisioning artifact ID to provision a service catalog. 35020 // For information, see What is Amazon Web Services Service Catalog (https://docs.aws.amazon.com/servicecatalog/latest/adminguide/introduction.html). 35021 // 35022 // ServiceCatalogProvisioningDetails is a required field 35023 ServiceCatalogProvisioningDetails *ServiceCatalogProvisioningDetails `type:"structure" required:"true"` 35024 35025 // An array of key-value pairs that you want to use to organize and track your 35026 // Amazon Web Services resource costs. For more information, see Tagging Amazon 35027 // Web Services resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) 35028 // in the Amazon Web Services General Reference Guide. 35029 Tags []*Tag `type:"list"` 35030 } 35031 35032 // String returns the string representation. 35033 // 35034 // API parameter values that are decorated as "sensitive" in the API will not 35035 // be included in the string output. The member name will be present, but the 35036 // value will be replaced with "sensitive". 35037 func (s CreateProjectInput) String() string { 35038 return awsutil.Prettify(s) 35039 } 35040 35041 // GoString returns the string representation. 35042 // 35043 // API parameter values that are decorated as "sensitive" in the API will not 35044 // be included in the string output. The member name will be present, but the 35045 // value will be replaced with "sensitive". 35046 func (s CreateProjectInput) GoString() string { 35047 return s.String() 35048 } 35049 35050 // Validate inspects the fields of the type to determine if they are valid. 35051 func (s *CreateProjectInput) Validate() error { 35052 invalidParams := request.ErrInvalidParams{Context: "CreateProjectInput"} 35053 if s.ProjectName == nil { 35054 invalidParams.Add(request.NewErrParamRequired("ProjectName")) 35055 } 35056 if s.ProjectName != nil && len(*s.ProjectName) < 1 { 35057 invalidParams.Add(request.NewErrParamMinLen("ProjectName", 1)) 35058 } 35059 if s.ServiceCatalogProvisioningDetails == nil { 35060 invalidParams.Add(request.NewErrParamRequired("ServiceCatalogProvisioningDetails")) 35061 } 35062 if s.ServiceCatalogProvisioningDetails != nil { 35063 if err := s.ServiceCatalogProvisioningDetails.Validate(); err != nil { 35064 invalidParams.AddNested("ServiceCatalogProvisioningDetails", err.(request.ErrInvalidParams)) 35065 } 35066 } 35067 if s.Tags != nil { 35068 for i, v := range s.Tags { 35069 if v == nil { 35070 continue 35071 } 35072 if err := v.Validate(); err != nil { 35073 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 35074 } 35075 } 35076 } 35077 35078 if invalidParams.Len() > 0 { 35079 return invalidParams 35080 } 35081 return nil 35082 } 35083 35084 // SetProjectDescription sets the ProjectDescription field's value. 35085 func (s *CreateProjectInput) SetProjectDescription(v string) *CreateProjectInput { 35086 s.ProjectDescription = &v 35087 return s 35088 } 35089 35090 // SetProjectName sets the ProjectName field's value. 35091 func (s *CreateProjectInput) SetProjectName(v string) *CreateProjectInput { 35092 s.ProjectName = &v 35093 return s 35094 } 35095 35096 // SetServiceCatalogProvisioningDetails sets the ServiceCatalogProvisioningDetails field's value. 35097 func (s *CreateProjectInput) SetServiceCatalogProvisioningDetails(v *ServiceCatalogProvisioningDetails) *CreateProjectInput { 35098 s.ServiceCatalogProvisioningDetails = v 35099 return s 35100 } 35101 35102 // SetTags sets the Tags field's value. 35103 func (s *CreateProjectInput) SetTags(v []*Tag) *CreateProjectInput { 35104 s.Tags = v 35105 return s 35106 } 35107 35108 type CreateProjectOutput struct { 35109 _ struct{} `type:"structure"` 35110 35111 // The Amazon Resource Name (ARN) of the project. 35112 // 35113 // ProjectArn is a required field 35114 ProjectArn *string `min:"1" type:"string" required:"true"` 35115 35116 // The ID of the new project. 35117 // 35118 // ProjectId is a required field 35119 ProjectId *string `min:"1" type:"string" required:"true"` 35120 } 35121 35122 // String returns the string representation. 35123 // 35124 // API parameter values that are decorated as "sensitive" in the API will not 35125 // be included in the string output. The member name will be present, but the 35126 // value will be replaced with "sensitive". 35127 func (s CreateProjectOutput) String() string { 35128 return awsutil.Prettify(s) 35129 } 35130 35131 // GoString returns the string representation. 35132 // 35133 // API parameter values that are decorated as "sensitive" in the API will not 35134 // be included in the string output. The member name will be present, but the 35135 // value will be replaced with "sensitive". 35136 func (s CreateProjectOutput) GoString() string { 35137 return s.String() 35138 } 35139 35140 // SetProjectArn sets the ProjectArn field's value. 35141 func (s *CreateProjectOutput) SetProjectArn(v string) *CreateProjectOutput { 35142 s.ProjectArn = &v 35143 return s 35144 } 35145 35146 // SetProjectId sets the ProjectId field's value. 35147 func (s *CreateProjectOutput) SetProjectId(v string) *CreateProjectOutput { 35148 s.ProjectId = &v 35149 return s 35150 } 35151 35152 type CreateStudioLifecycleConfigInput struct { 35153 _ struct{} `type:"structure"` 35154 35155 // The App type that the Lifecycle Configuration is attached to. 35156 // 35157 // StudioLifecycleConfigAppType is a required field 35158 StudioLifecycleConfigAppType *string `type:"string" required:"true" enum:"StudioLifecycleConfigAppType"` 35159 35160 // The content of your Studio Lifecycle Configuration script. This content must 35161 // be base64 encoded. 35162 // 35163 // StudioLifecycleConfigContent is a required field 35164 StudioLifecycleConfigContent *string `min:"1" type:"string" required:"true"` 35165 35166 // The name of the Studio Lifecycle Configuration to create. 35167 // 35168 // StudioLifecycleConfigName is a required field 35169 StudioLifecycleConfigName *string `type:"string" required:"true"` 35170 35171 // Tags to be associated with the Lifecycle Configuration. Each tag consists 35172 // of a key and an optional value. Tag keys must be unique per resource. Tags 35173 // are searchable using the Search API. 35174 Tags []*Tag `type:"list"` 35175 } 35176 35177 // String returns the string representation. 35178 // 35179 // API parameter values that are decorated as "sensitive" in the API will not 35180 // be included in the string output. The member name will be present, but the 35181 // value will be replaced with "sensitive". 35182 func (s CreateStudioLifecycleConfigInput) String() string { 35183 return awsutil.Prettify(s) 35184 } 35185 35186 // GoString returns the string representation. 35187 // 35188 // API parameter values that are decorated as "sensitive" in the API will not 35189 // be included in the string output. The member name will be present, but the 35190 // value will be replaced with "sensitive". 35191 func (s CreateStudioLifecycleConfigInput) GoString() string { 35192 return s.String() 35193 } 35194 35195 // Validate inspects the fields of the type to determine if they are valid. 35196 func (s *CreateStudioLifecycleConfigInput) Validate() error { 35197 invalidParams := request.ErrInvalidParams{Context: "CreateStudioLifecycleConfigInput"} 35198 if s.StudioLifecycleConfigAppType == nil { 35199 invalidParams.Add(request.NewErrParamRequired("StudioLifecycleConfigAppType")) 35200 } 35201 if s.StudioLifecycleConfigContent == nil { 35202 invalidParams.Add(request.NewErrParamRequired("StudioLifecycleConfigContent")) 35203 } 35204 if s.StudioLifecycleConfigContent != nil && len(*s.StudioLifecycleConfigContent) < 1 { 35205 invalidParams.Add(request.NewErrParamMinLen("StudioLifecycleConfigContent", 1)) 35206 } 35207 if s.StudioLifecycleConfigName == nil { 35208 invalidParams.Add(request.NewErrParamRequired("StudioLifecycleConfigName")) 35209 } 35210 if s.Tags != nil { 35211 for i, v := range s.Tags { 35212 if v == nil { 35213 continue 35214 } 35215 if err := v.Validate(); err != nil { 35216 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 35217 } 35218 } 35219 } 35220 35221 if invalidParams.Len() > 0 { 35222 return invalidParams 35223 } 35224 return nil 35225 } 35226 35227 // SetStudioLifecycleConfigAppType sets the StudioLifecycleConfigAppType field's value. 35228 func (s *CreateStudioLifecycleConfigInput) SetStudioLifecycleConfigAppType(v string) *CreateStudioLifecycleConfigInput { 35229 s.StudioLifecycleConfigAppType = &v 35230 return s 35231 } 35232 35233 // SetStudioLifecycleConfigContent sets the StudioLifecycleConfigContent field's value. 35234 func (s *CreateStudioLifecycleConfigInput) SetStudioLifecycleConfigContent(v string) *CreateStudioLifecycleConfigInput { 35235 s.StudioLifecycleConfigContent = &v 35236 return s 35237 } 35238 35239 // SetStudioLifecycleConfigName sets the StudioLifecycleConfigName field's value. 35240 func (s *CreateStudioLifecycleConfigInput) SetStudioLifecycleConfigName(v string) *CreateStudioLifecycleConfigInput { 35241 s.StudioLifecycleConfigName = &v 35242 return s 35243 } 35244 35245 // SetTags sets the Tags field's value. 35246 func (s *CreateStudioLifecycleConfigInput) SetTags(v []*Tag) *CreateStudioLifecycleConfigInput { 35247 s.Tags = v 35248 return s 35249 } 35250 35251 type CreateStudioLifecycleConfigOutput struct { 35252 _ struct{} `type:"structure"` 35253 35254 // The ARN of your created Lifecycle Configuration. 35255 StudioLifecycleConfigArn *string `type:"string"` 35256 } 35257 35258 // String returns the string representation. 35259 // 35260 // API parameter values that are decorated as "sensitive" in the API will not 35261 // be included in the string output. The member name will be present, but the 35262 // value will be replaced with "sensitive". 35263 func (s CreateStudioLifecycleConfigOutput) String() string { 35264 return awsutil.Prettify(s) 35265 } 35266 35267 // GoString returns the string representation. 35268 // 35269 // API parameter values that are decorated as "sensitive" in the API will not 35270 // be included in the string output. The member name will be present, but the 35271 // value will be replaced with "sensitive". 35272 func (s CreateStudioLifecycleConfigOutput) GoString() string { 35273 return s.String() 35274 } 35275 35276 // SetStudioLifecycleConfigArn sets the StudioLifecycleConfigArn field's value. 35277 func (s *CreateStudioLifecycleConfigOutput) SetStudioLifecycleConfigArn(v string) *CreateStudioLifecycleConfigOutput { 35278 s.StudioLifecycleConfigArn = &v 35279 return s 35280 } 35281 35282 type CreateTrainingJobInput struct { 35283 _ struct{} `type:"structure"` 35284 35285 // The registry path of the Docker image that contains the training algorithm 35286 // and algorithm-specific metadata, including the input mode. For more information 35287 // about algorithms provided by Amazon SageMaker, see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html). 35288 // For information about providing your own algorithms, see Using Your Own Algorithms 35289 // with Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html). 35290 // 35291 // AlgorithmSpecification is a required field 35292 AlgorithmSpecification *AlgorithmSpecification `type:"structure" required:"true"` 35293 35294 // Contains information about the output location for managed spot training 35295 // checkpoint data. 35296 CheckpointConfig *CheckpointConfig `type:"structure"` 35297 35298 // Configuration information for the Debugger hook parameters, metric and tensor 35299 // collections, and storage paths. To learn more about how to configure the 35300 // DebugHookConfig parameter, see Use the SageMaker and Debugger Configuration 35301 // API Operations to Create, Update, and Debug Your Training Job (https://docs.aws.amazon.com/sagemaker/latest/dg/debugger-createtrainingjob-api.html). 35302 DebugHookConfig *DebugHookConfig `type:"structure"` 35303 35304 // Configuration information for Debugger rules for debugging output tensors. 35305 DebugRuleConfigurations []*DebugRuleConfiguration `type:"list"` 35306 35307 // To encrypt all communications between ML compute instances in distributed 35308 // training, choose True. Encryption provides greater security for distributed 35309 // training, but training might take longer. How long it takes depends on the 35310 // amount of communication between compute instances, especially if you use 35311 // a deep learning algorithm in distributed training. For more information, 35312 // see Protect Communications Between ML Compute Instances in a Distributed 35313 // Training Job (https://docs.aws.amazon.com/sagemaker/latest/dg/train-encrypt.html). 35314 EnableInterContainerTrafficEncryption *bool `type:"boolean"` 35315 35316 // To train models using managed spot training, choose True. Managed spot training 35317 // provides a fully managed and scalable infrastructure for training machine 35318 // learning models. this option is useful when training jobs can be interrupted 35319 // and when there is flexibility when the training job is run. 35320 // 35321 // The complete and intermediate results of jobs are stored in an Amazon S3 35322 // bucket, and can be used as a starting point to train models incrementally. 35323 // Amazon SageMaker provides metrics and logs in CloudWatch. They can be used 35324 // to see when managed spot training jobs are running, interrupted, resumed, 35325 // or completed. 35326 EnableManagedSpotTraining *bool `type:"boolean"` 35327 35328 // Isolates the training container. No inbound or outbound network calls can 35329 // be made, except for calls between peers within a training cluster for distributed 35330 // training. If you enable network isolation for training jobs that are configured 35331 // to use a VPC, Amazon SageMaker downloads and uploads customer data and model 35332 // artifacts through the specified VPC, but the training container does not 35333 // have network access. 35334 EnableNetworkIsolation *bool `type:"boolean"` 35335 35336 // The environment variables to set in the Docker container. 35337 Environment map[string]*string `type:"map"` 35338 35339 // Associates a SageMaker job as a trial component with an experiment and trial. 35340 // Specified when you call the following APIs: 35341 // 35342 // * CreateProcessingJob 35343 // 35344 // * CreateTrainingJob 35345 // 35346 // * CreateTransformJob 35347 ExperimentConfig *ExperimentConfig `type:"structure"` 35348 35349 // Algorithm-specific parameters that influence the quality of the model. You 35350 // set hyperparameters before you start the learning process. For a list of 35351 // hyperparameters for each training algorithm provided by Amazon SageMaker, 35352 // see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html). 35353 // 35354 // You can specify a maximum of 100 hyperparameters. Each hyperparameter is 35355 // a key-value pair. Each key and value is limited to 256 characters, as specified 35356 // by the Length Constraint. 35357 HyperParameters map[string]*string `type:"map"` 35358 35359 // An array of Channel objects. Each channel is a named input source. InputDataConfig 35360 // describes the input data and its location. 35361 // 35362 // Algorithms can accept input data from one or more channels. For example, 35363 // an algorithm might have two channels of input data, training_data and validation_data. 35364 // The configuration for each channel provides the S3, EFS, or FSx location 35365 // where the input data is stored. It also provides information about the stored 35366 // data: the MIME type, compression method, and whether the data is wrapped 35367 // in RecordIO format. 35368 // 35369 // Depending on the input mode that the algorithm supports, Amazon SageMaker 35370 // either copies input data files from an S3 bucket to a local directory in 35371 // the Docker container, or makes it available as input streams. For example, 35372 // if you specify an EFS location, input data files will be made available as 35373 // input streams. They do not need to be downloaded. 35374 InputDataConfig []*Channel `min:"1" type:"list"` 35375 35376 // Specifies the path to the S3 location where you want to store model artifacts. 35377 // Amazon SageMaker creates subfolders for the artifacts. 35378 // 35379 // OutputDataConfig is a required field 35380 OutputDataConfig *OutputDataConfig `type:"structure" required:"true"` 35381 35382 // Configuration information for Debugger system monitoring, framework profiling, 35383 // and storage paths. 35384 ProfilerConfig *ProfilerConfig `type:"structure"` 35385 35386 // Configuration information for Debugger rules for profiling system and framework 35387 // metrics. 35388 ProfilerRuleConfigurations []*ProfilerRuleConfiguration `type:"list"` 35389 35390 // The resources, including the ML compute instances and ML storage volumes, 35391 // to use for model training. 35392 // 35393 // ML storage volumes store model artifacts and incremental states. Training 35394 // algorithms might also use ML storage volumes for scratch space. If you want 35395 // Amazon SageMaker to use the ML storage volume to store the training data, 35396 // choose File as the TrainingInputMode in the algorithm specification. For 35397 // distributed training algorithms, specify an instance count greater than 1. 35398 // 35399 // ResourceConfig is a required field 35400 ResourceConfig *ResourceConfig `type:"structure" required:"true"` 35401 35402 // The number of times to retry the job when the job fails due to an InternalServerError. 35403 RetryStrategy *RetryStrategy `type:"structure"` 35404 35405 // The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume 35406 // to perform tasks on your behalf. 35407 // 35408 // During model training, Amazon SageMaker needs your permission to read input 35409 // data from an S3 bucket, download a Docker image that contains training code, 35410 // write model artifacts to an S3 bucket, write logs to Amazon CloudWatch Logs, 35411 // and publish metrics to Amazon CloudWatch. You grant permissions for all of 35412 // these tasks to an IAM role. For more information, see Amazon SageMaker Roles 35413 // (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html). 35414 // 35415 // To be able to pass this role to Amazon SageMaker, the caller of this API 35416 // must have the iam:PassRole permission. 35417 // 35418 // RoleArn is a required field 35419 RoleArn *string `min:"20" type:"string" required:"true"` 35420 35421 // Specifies a limit to how long a model training job can run. It also specifies 35422 // how long a managed Spot training job has to complete. When the job reaches 35423 // the time limit, Amazon SageMaker ends the training job. Use this API to cap 35424 // model training costs. 35425 // 35426 // To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which 35427 // delays job termination for 120 seconds. Algorithms can use this 120-second 35428 // window to save the model artifacts, so the results of training are not lost. 35429 // 35430 // StoppingCondition is a required field 35431 StoppingCondition *StoppingCondition `type:"structure" required:"true"` 35432 35433 // An array of key-value pairs. You can use tags to categorize your Amazon Web 35434 // Services resources in different ways, for example, by purpose, owner, or 35435 // environment. For more information, see Tagging Amazon Web Services Resources 35436 // (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html). 35437 Tags []*Tag `type:"list"` 35438 35439 // Configuration of storage locations for the Debugger TensorBoard output data. 35440 TensorBoardOutputConfig *TensorBoardOutputConfig `type:"structure"` 35441 35442 // The name of the training job. The name must be unique within an Amazon Web 35443 // Services Region in an Amazon Web Services account. 35444 // 35445 // TrainingJobName is a required field 35446 TrainingJobName *string `min:"1" type:"string" required:"true"` 35447 35448 // A VpcConfig object that specifies the VPC that you want your training job 35449 // to connect to. Control access to and from your training container by configuring 35450 // the VPC. For more information, see Protect Training Jobs by Using an Amazon 35451 // Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html). 35452 VpcConfig *VpcConfig `type:"structure"` 35453 } 35454 35455 // String returns the string representation. 35456 // 35457 // API parameter values that are decorated as "sensitive" in the API will not 35458 // be included in the string output. The member name will be present, but the 35459 // value will be replaced with "sensitive". 35460 func (s CreateTrainingJobInput) String() string { 35461 return awsutil.Prettify(s) 35462 } 35463 35464 // GoString returns the string representation. 35465 // 35466 // API parameter values that are decorated as "sensitive" in the API will not 35467 // be included in the string output. The member name will be present, but the 35468 // value will be replaced with "sensitive". 35469 func (s CreateTrainingJobInput) GoString() string { 35470 return s.String() 35471 } 35472 35473 // Validate inspects the fields of the type to determine if they are valid. 35474 func (s *CreateTrainingJobInput) Validate() error { 35475 invalidParams := request.ErrInvalidParams{Context: "CreateTrainingJobInput"} 35476 if s.AlgorithmSpecification == nil { 35477 invalidParams.Add(request.NewErrParamRequired("AlgorithmSpecification")) 35478 } 35479 if s.InputDataConfig != nil && len(s.InputDataConfig) < 1 { 35480 invalidParams.Add(request.NewErrParamMinLen("InputDataConfig", 1)) 35481 } 35482 if s.OutputDataConfig == nil { 35483 invalidParams.Add(request.NewErrParamRequired("OutputDataConfig")) 35484 } 35485 if s.ResourceConfig == nil { 35486 invalidParams.Add(request.NewErrParamRequired("ResourceConfig")) 35487 } 35488 if s.RoleArn == nil { 35489 invalidParams.Add(request.NewErrParamRequired("RoleArn")) 35490 } 35491 if s.RoleArn != nil && len(*s.RoleArn) < 20 { 35492 invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) 35493 } 35494 if s.StoppingCondition == nil { 35495 invalidParams.Add(request.NewErrParamRequired("StoppingCondition")) 35496 } 35497 if s.TrainingJobName == nil { 35498 invalidParams.Add(request.NewErrParamRequired("TrainingJobName")) 35499 } 35500 if s.TrainingJobName != nil && len(*s.TrainingJobName) < 1 { 35501 invalidParams.Add(request.NewErrParamMinLen("TrainingJobName", 1)) 35502 } 35503 if s.AlgorithmSpecification != nil { 35504 if err := s.AlgorithmSpecification.Validate(); err != nil { 35505 invalidParams.AddNested("AlgorithmSpecification", err.(request.ErrInvalidParams)) 35506 } 35507 } 35508 if s.CheckpointConfig != nil { 35509 if err := s.CheckpointConfig.Validate(); err != nil { 35510 invalidParams.AddNested("CheckpointConfig", err.(request.ErrInvalidParams)) 35511 } 35512 } 35513 if s.DebugHookConfig != nil { 35514 if err := s.DebugHookConfig.Validate(); err != nil { 35515 invalidParams.AddNested("DebugHookConfig", err.(request.ErrInvalidParams)) 35516 } 35517 } 35518 if s.DebugRuleConfigurations != nil { 35519 for i, v := range s.DebugRuleConfigurations { 35520 if v == nil { 35521 continue 35522 } 35523 if err := v.Validate(); err != nil { 35524 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DebugRuleConfigurations", i), err.(request.ErrInvalidParams)) 35525 } 35526 } 35527 } 35528 if s.ExperimentConfig != nil { 35529 if err := s.ExperimentConfig.Validate(); err != nil { 35530 invalidParams.AddNested("ExperimentConfig", err.(request.ErrInvalidParams)) 35531 } 35532 } 35533 if s.InputDataConfig != nil { 35534 for i, v := range s.InputDataConfig { 35535 if v == nil { 35536 continue 35537 } 35538 if err := v.Validate(); err != nil { 35539 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputDataConfig", i), err.(request.ErrInvalidParams)) 35540 } 35541 } 35542 } 35543 if s.OutputDataConfig != nil { 35544 if err := s.OutputDataConfig.Validate(); err != nil { 35545 invalidParams.AddNested("OutputDataConfig", err.(request.ErrInvalidParams)) 35546 } 35547 } 35548 if s.ProfilerConfig != nil { 35549 if err := s.ProfilerConfig.Validate(); err != nil { 35550 invalidParams.AddNested("ProfilerConfig", err.(request.ErrInvalidParams)) 35551 } 35552 } 35553 if s.ProfilerRuleConfigurations != nil { 35554 for i, v := range s.ProfilerRuleConfigurations { 35555 if v == nil { 35556 continue 35557 } 35558 if err := v.Validate(); err != nil { 35559 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ProfilerRuleConfigurations", i), err.(request.ErrInvalidParams)) 35560 } 35561 } 35562 } 35563 if s.ResourceConfig != nil { 35564 if err := s.ResourceConfig.Validate(); err != nil { 35565 invalidParams.AddNested("ResourceConfig", err.(request.ErrInvalidParams)) 35566 } 35567 } 35568 if s.RetryStrategy != nil { 35569 if err := s.RetryStrategy.Validate(); err != nil { 35570 invalidParams.AddNested("RetryStrategy", err.(request.ErrInvalidParams)) 35571 } 35572 } 35573 if s.StoppingCondition != nil { 35574 if err := s.StoppingCondition.Validate(); err != nil { 35575 invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams)) 35576 } 35577 } 35578 if s.Tags != nil { 35579 for i, v := range s.Tags { 35580 if v == nil { 35581 continue 35582 } 35583 if err := v.Validate(); err != nil { 35584 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 35585 } 35586 } 35587 } 35588 if s.TensorBoardOutputConfig != nil { 35589 if err := s.TensorBoardOutputConfig.Validate(); err != nil { 35590 invalidParams.AddNested("TensorBoardOutputConfig", err.(request.ErrInvalidParams)) 35591 } 35592 } 35593 if s.VpcConfig != nil { 35594 if err := s.VpcConfig.Validate(); err != nil { 35595 invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams)) 35596 } 35597 } 35598 35599 if invalidParams.Len() > 0 { 35600 return invalidParams 35601 } 35602 return nil 35603 } 35604 35605 // SetAlgorithmSpecification sets the AlgorithmSpecification field's value. 35606 func (s *CreateTrainingJobInput) SetAlgorithmSpecification(v *AlgorithmSpecification) *CreateTrainingJobInput { 35607 s.AlgorithmSpecification = v 35608 return s 35609 } 35610 35611 // SetCheckpointConfig sets the CheckpointConfig field's value. 35612 func (s *CreateTrainingJobInput) SetCheckpointConfig(v *CheckpointConfig) *CreateTrainingJobInput { 35613 s.CheckpointConfig = v 35614 return s 35615 } 35616 35617 // SetDebugHookConfig sets the DebugHookConfig field's value. 35618 func (s *CreateTrainingJobInput) SetDebugHookConfig(v *DebugHookConfig) *CreateTrainingJobInput { 35619 s.DebugHookConfig = v 35620 return s 35621 } 35622 35623 // SetDebugRuleConfigurations sets the DebugRuleConfigurations field's value. 35624 func (s *CreateTrainingJobInput) SetDebugRuleConfigurations(v []*DebugRuleConfiguration) *CreateTrainingJobInput { 35625 s.DebugRuleConfigurations = v 35626 return s 35627 } 35628 35629 // SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value. 35630 func (s *CreateTrainingJobInput) SetEnableInterContainerTrafficEncryption(v bool) *CreateTrainingJobInput { 35631 s.EnableInterContainerTrafficEncryption = &v 35632 return s 35633 } 35634 35635 // SetEnableManagedSpotTraining sets the EnableManagedSpotTraining field's value. 35636 func (s *CreateTrainingJobInput) SetEnableManagedSpotTraining(v bool) *CreateTrainingJobInput { 35637 s.EnableManagedSpotTraining = &v 35638 return s 35639 } 35640 35641 // SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value. 35642 func (s *CreateTrainingJobInput) SetEnableNetworkIsolation(v bool) *CreateTrainingJobInput { 35643 s.EnableNetworkIsolation = &v 35644 return s 35645 } 35646 35647 // SetEnvironment sets the Environment field's value. 35648 func (s *CreateTrainingJobInput) SetEnvironment(v map[string]*string) *CreateTrainingJobInput { 35649 s.Environment = v 35650 return s 35651 } 35652 35653 // SetExperimentConfig sets the ExperimentConfig field's value. 35654 func (s *CreateTrainingJobInput) SetExperimentConfig(v *ExperimentConfig) *CreateTrainingJobInput { 35655 s.ExperimentConfig = v 35656 return s 35657 } 35658 35659 // SetHyperParameters sets the HyperParameters field's value. 35660 func (s *CreateTrainingJobInput) SetHyperParameters(v map[string]*string) *CreateTrainingJobInput { 35661 s.HyperParameters = v 35662 return s 35663 } 35664 35665 // SetInputDataConfig sets the InputDataConfig field's value. 35666 func (s *CreateTrainingJobInput) SetInputDataConfig(v []*Channel) *CreateTrainingJobInput { 35667 s.InputDataConfig = v 35668 return s 35669 } 35670 35671 // SetOutputDataConfig sets the OutputDataConfig field's value. 35672 func (s *CreateTrainingJobInput) SetOutputDataConfig(v *OutputDataConfig) *CreateTrainingJobInput { 35673 s.OutputDataConfig = v 35674 return s 35675 } 35676 35677 // SetProfilerConfig sets the ProfilerConfig field's value. 35678 func (s *CreateTrainingJobInput) SetProfilerConfig(v *ProfilerConfig) *CreateTrainingJobInput { 35679 s.ProfilerConfig = v 35680 return s 35681 } 35682 35683 // SetProfilerRuleConfigurations sets the ProfilerRuleConfigurations field's value. 35684 func (s *CreateTrainingJobInput) SetProfilerRuleConfigurations(v []*ProfilerRuleConfiguration) *CreateTrainingJobInput { 35685 s.ProfilerRuleConfigurations = v 35686 return s 35687 } 35688 35689 // SetResourceConfig sets the ResourceConfig field's value. 35690 func (s *CreateTrainingJobInput) SetResourceConfig(v *ResourceConfig) *CreateTrainingJobInput { 35691 s.ResourceConfig = v 35692 return s 35693 } 35694 35695 // SetRetryStrategy sets the RetryStrategy field's value. 35696 func (s *CreateTrainingJobInput) SetRetryStrategy(v *RetryStrategy) *CreateTrainingJobInput { 35697 s.RetryStrategy = v 35698 return s 35699 } 35700 35701 // SetRoleArn sets the RoleArn field's value. 35702 func (s *CreateTrainingJobInput) SetRoleArn(v string) *CreateTrainingJobInput { 35703 s.RoleArn = &v 35704 return s 35705 } 35706 35707 // SetStoppingCondition sets the StoppingCondition field's value. 35708 func (s *CreateTrainingJobInput) SetStoppingCondition(v *StoppingCondition) *CreateTrainingJobInput { 35709 s.StoppingCondition = v 35710 return s 35711 } 35712 35713 // SetTags sets the Tags field's value. 35714 func (s *CreateTrainingJobInput) SetTags(v []*Tag) *CreateTrainingJobInput { 35715 s.Tags = v 35716 return s 35717 } 35718 35719 // SetTensorBoardOutputConfig sets the TensorBoardOutputConfig field's value. 35720 func (s *CreateTrainingJobInput) SetTensorBoardOutputConfig(v *TensorBoardOutputConfig) *CreateTrainingJobInput { 35721 s.TensorBoardOutputConfig = v 35722 return s 35723 } 35724 35725 // SetTrainingJobName sets the TrainingJobName field's value. 35726 func (s *CreateTrainingJobInput) SetTrainingJobName(v string) *CreateTrainingJobInput { 35727 s.TrainingJobName = &v 35728 return s 35729 } 35730 35731 // SetVpcConfig sets the VpcConfig field's value. 35732 func (s *CreateTrainingJobInput) SetVpcConfig(v *VpcConfig) *CreateTrainingJobInput { 35733 s.VpcConfig = v 35734 return s 35735 } 35736 35737 type CreateTrainingJobOutput struct { 35738 _ struct{} `type:"structure"` 35739 35740 // The Amazon Resource Name (ARN) of the training job. 35741 // 35742 // TrainingJobArn is a required field 35743 TrainingJobArn *string `type:"string" required:"true"` 35744 } 35745 35746 // String returns the string representation. 35747 // 35748 // API parameter values that are decorated as "sensitive" in the API will not 35749 // be included in the string output. The member name will be present, but the 35750 // value will be replaced with "sensitive". 35751 func (s CreateTrainingJobOutput) String() string { 35752 return awsutil.Prettify(s) 35753 } 35754 35755 // GoString returns the string representation. 35756 // 35757 // API parameter values that are decorated as "sensitive" in the API will not 35758 // be included in the string output. The member name will be present, but the 35759 // value will be replaced with "sensitive". 35760 func (s CreateTrainingJobOutput) GoString() string { 35761 return s.String() 35762 } 35763 35764 // SetTrainingJobArn sets the TrainingJobArn field's value. 35765 func (s *CreateTrainingJobOutput) SetTrainingJobArn(v string) *CreateTrainingJobOutput { 35766 s.TrainingJobArn = &v 35767 return s 35768 } 35769 35770 type CreateTransformJobInput struct { 35771 _ struct{} `type:"structure"` 35772 35773 // Specifies the number of records to include in a mini-batch for an HTTP inference 35774 // request. A record is a single unit of input data that inference can be made 35775 // on. For example, a single line in a CSV file is a record. 35776 // 35777 // To enable the batch strategy, you must set the SplitType property to Line, 35778 // RecordIO, or TFRecord. 35779 // 35780 // To use only one record when making an HTTP invocation request to a container, 35781 // set BatchStrategy to SingleRecord and SplitType to Line. 35782 // 35783 // To fit as many records in a mini-batch as can fit within the MaxPayloadInMB 35784 // limit, set BatchStrategy to MultiRecord and SplitType to Line. 35785 BatchStrategy *string `type:"string" enum:"BatchStrategy"` 35786 35787 // The data structure used to specify the data to be used for inference in a 35788 // batch transform job and to associate the data that is relevant to the prediction 35789 // results in the output. The input filter provided allows you to exclude input 35790 // data that is not needed for inference in a batch transform job. The output 35791 // filter provided allows you to include input data relevant to interpreting 35792 // the predictions in the output from the job. For more information, see Associate 35793 // Prediction Results with their Corresponding Input Records (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html). 35794 DataProcessing *DataProcessing `type:"structure"` 35795 35796 // The environment variables to set in the Docker container. We support up to 35797 // 16 key and values entries in the map. 35798 Environment map[string]*string `type:"map"` 35799 35800 // Associates a SageMaker job as a trial component with an experiment and trial. 35801 // Specified when you call the following APIs: 35802 // 35803 // * CreateProcessingJob 35804 // 35805 // * CreateTrainingJob 35806 // 35807 // * CreateTransformJob 35808 ExperimentConfig *ExperimentConfig `type:"structure"` 35809 35810 // The maximum number of parallel requests that can be sent to each instance 35811 // in a transform job. If MaxConcurrentTransforms is set to 0 or left unset, 35812 // Amazon SageMaker checks the optional execution-parameters to determine the 35813 // settings for your chosen algorithm. If the execution-parameters endpoint 35814 // is not enabled, the default value is 1. For more information on execution-parameters, 35815 // see How Containers Serve Requests (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-batch-code.html#your-algorithms-batch-code-how-containe-serves-requests). 35816 // For built-in algorithms, you don't need to set a value for MaxConcurrentTransforms. 35817 MaxConcurrentTransforms *int64 `type:"integer"` 35818 35819 // The maximum allowed size of the payload, in MB. A payload is the data portion 35820 // of a record (without metadata). The value in MaxPayloadInMB must be greater 35821 // than, or equal to, the size of a single record. To estimate the size of a 35822 // record in MB, divide the size of your dataset by the number of records. To 35823 // ensure that the records fit within the maximum payload size, we recommend 35824 // using a slightly larger value. The default value is 6 MB. 35825 // 35826 // For cases where the payload might be arbitrarily large and is transmitted 35827 // using HTTP chunked encoding, set the value to 0. This feature works only 35828 // in supported algorithms. Currently, Amazon SageMaker built-in algorithms 35829 // do not support HTTP chunked encoding. 35830 MaxPayloadInMB *int64 `type:"integer"` 35831 35832 // Configures the timeout and maximum number of retries for processing a transform 35833 // job invocation. 35834 ModelClientConfig *ModelClientConfig `type:"structure"` 35835 35836 // The name of the model that you want to use for the transform job. ModelName 35837 // must be the name of an existing Amazon SageMaker model within an Amazon Web 35838 // Services Region in an Amazon Web Services account. 35839 // 35840 // ModelName is a required field 35841 ModelName *string `type:"string" required:"true"` 35842 35843 // (Optional) An array of key-value pairs. For more information, see Using Cost 35844 // Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what) 35845 // in the Amazon Web Services Billing and Cost Management User Guide. 35846 Tags []*Tag `type:"list"` 35847 35848 // Describes the input source and the way the transform job consumes it. 35849 // 35850 // TransformInput is a required field 35851 TransformInput *TransformInput `type:"structure" required:"true"` 35852 35853 // The name of the transform job. The name must be unique within an Amazon Web 35854 // Services Region in an Amazon Web Services account. 35855 // 35856 // TransformJobName is a required field 35857 TransformJobName *string `min:"1" type:"string" required:"true"` 35858 35859 // Describes the results of the transform job. 35860 // 35861 // TransformOutput is a required field 35862 TransformOutput *TransformOutput `type:"structure" required:"true"` 35863 35864 // Describes the resources, including ML instance types and ML instance count, 35865 // to use for the transform job. 35866 // 35867 // TransformResources is a required field 35868 TransformResources *TransformResources `type:"structure" required:"true"` 35869 } 35870 35871 // String returns the string representation. 35872 // 35873 // API parameter values that are decorated as "sensitive" in the API will not 35874 // be included in the string output. The member name will be present, but the 35875 // value will be replaced with "sensitive". 35876 func (s CreateTransformJobInput) String() string { 35877 return awsutil.Prettify(s) 35878 } 35879 35880 // GoString returns the string representation. 35881 // 35882 // API parameter values that are decorated as "sensitive" in the API will not 35883 // be included in the string output. The member name will be present, but the 35884 // value will be replaced with "sensitive". 35885 func (s CreateTransformJobInput) GoString() string { 35886 return s.String() 35887 } 35888 35889 // Validate inspects the fields of the type to determine if they are valid. 35890 func (s *CreateTransformJobInput) Validate() error { 35891 invalidParams := request.ErrInvalidParams{Context: "CreateTransformJobInput"} 35892 if s.ModelName == nil { 35893 invalidParams.Add(request.NewErrParamRequired("ModelName")) 35894 } 35895 if s.TransformInput == nil { 35896 invalidParams.Add(request.NewErrParamRequired("TransformInput")) 35897 } 35898 if s.TransformJobName == nil { 35899 invalidParams.Add(request.NewErrParamRequired("TransformJobName")) 35900 } 35901 if s.TransformJobName != nil && len(*s.TransformJobName) < 1 { 35902 invalidParams.Add(request.NewErrParamMinLen("TransformJobName", 1)) 35903 } 35904 if s.TransformOutput == nil { 35905 invalidParams.Add(request.NewErrParamRequired("TransformOutput")) 35906 } 35907 if s.TransformResources == nil { 35908 invalidParams.Add(request.NewErrParamRequired("TransformResources")) 35909 } 35910 if s.ExperimentConfig != nil { 35911 if err := s.ExperimentConfig.Validate(); err != nil { 35912 invalidParams.AddNested("ExperimentConfig", err.(request.ErrInvalidParams)) 35913 } 35914 } 35915 if s.ModelClientConfig != nil { 35916 if err := s.ModelClientConfig.Validate(); err != nil { 35917 invalidParams.AddNested("ModelClientConfig", err.(request.ErrInvalidParams)) 35918 } 35919 } 35920 if s.Tags != nil { 35921 for i, v := range s.Tags { 35922 if v == nil { 35923 continue 35924 } 35925 if err := v.Validate(); err != nil { 35926 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 35927 } 35928 } 35929 } 35930 if s.TransformInput != nil { 35931 if err := s.TransformInput.Validate(); err != nil { 35932 invalidParams.AddNested("TransformInput", err.(request.ErrInvalidParams)) 35933 } 35934 } 35935 if s.TransformOutput != nil { 35936 if err := s.TransformOutput.Validate(); err != nil { 35937 invalidParams.AddNested("TransformOutput", err.(request.ErrInvalidParams)) 35938 } 35939 } 35940 if s.TransformResources != nil { 35941 if err := s.TransformResources.Validate(); err != nil { 35942 invalidParams.AddNested("TransformResources", err.(request.ErrInvalidParams)) 35943 } 35944 } 35945 35946 if invalidParams.Len() > 0 { 35947 return invalidParams 35948 } 35949 return nil 35950 } 35951 35952 // SetBatchStrategy sets the BatchStrategy field's value. 35953 func (s *CreateTransformJobInput) SetBatchStrategy(v string) *CreateTransformJobInput { 35954 s.BatchStrategy = &v 35955 return s 35956 } 35957 35958 // SetDataProcessing sets the DataProcessing field's value. 35959 func (s *CreateTransformJobInput) SetDataProcessing(v *DataProcessing) *CreateTransformJobInput { 35960 s.DataProcessing = v 35961 return s 35962 } 35963 35964 // SetEnvironment sets the Environment field's value. 35965 func (s *CreateTransformJobInput) SetEnvironment(v map[string]*string) *CreateTransformJobInput { 35966 s.Environment = v 35967 return s 35968 } 35969 35970 // SetExperimentConfig sets the ExperimentConfig field's value. 35971 func (s *CreateTransformJobInput) SetExperimentConfig(v *ExperimentConfig) *CreateTransformJobInput { 35972 s.ExperimentConfig = v 35973 return s 35974 } 35975 35976 // SetMaxConcurrentTransforms sets the MaxConcurrentTransforms field's value. 35977 func (s *CreateTransformJobInput) SetMaxConcurrentTransforms(v int64) *CreateTransformJobInput { 35978 s.MaxConcurrentTransforms = &v 35979 return s 35980 } 35981 35982 // SetMaxPayloadInMB sets the MaxPayloadInMB field's value. 35983 func (s *CreateTransformJobInput) SetMaxPayloadInMB(v int64) *CreateTransformJobInput { 35984 s.MaxPayloadInMB = &v 35985 return s 35986 } 35987 35988 // SetModelClientConfig sets the ModelClientConfig field's value. 35989 func (s *CreateTransformJobInput) SetModelClientConfig(v *ModelClientConfig) *CreateTransformJobInput { 35990 s.ModelClientConfig = v 35991 return s 35992 } 35993 35994 // SetModelName sets the ModelName field's value. 35995 func (s *CreateTransformJobInput) SetModelName(v string) *CreateTransformJobInput { 35996 s.ModelName = &v 35997 return s 35998 } 35999 36000 // SetTags sets the Tags field's value. 36001 func (s *CreateTransformJobInput) SetTags(v []*Tag) *CreateTransformJobInput { 36002 s.Tags = v 36003 return s 36004 } 36005 36006 // SetTransformInput sets the TransformInput field's value. 36007 func (s *CreateTransformJobInput) SetTransformInput(v *TransformInput) *CreateTransformJobInput { 36008 s.TransformInput = v 36009 return s 36010 } 36011 36012 // SetTransformJobName sets the TransformJobName field's value. 36013 func (s *CreateTransformJobInput) SetTransformJobName(v string) *CreateTransformJobInput { 36014 s.TransformJobName = &v 36015 return s 36016 } 36017 36018 // SetTransformOutput sets the TransformOutput field's value. 36019 func (s *CreateTransformJobInput) SetTransformOutput(v *TransformOutput) *CreateTransformJobInput { 36020 s.TransformOutput = v 36021 return s 36022 } 36023 36024 // SetTransformResources sets the TransformResources field's value. 36025 func (s *CreateTransformJobInput) SetTransformResources(v *TransformResources) *CreateTransformJobInput { 36026 s.TransformResources = v 36027 return s 36028 } 36029 36030 type CreateTransformJobOutput struct { 36031 _ struct{} `type:"structure"` 36032 36033 // The Amazon Resource Name (ARN) of the transform job. 36034 // 36035 // TransformJobArn is a required field 36036 TransformJobArn *string `type:"string" required:"true"` 36037 } 36038 36039 // String returns the string representation. 36040 // 36041 // API parameter values that are decorated as "sensitive" in the API will not 36042 // be included in the string output. The member name will be present, but the 36043 // value will be replaced with "sensitive". 36044 func (s CreateTransformJobOutput) String() string { 36045 return awsutil.Prettify(s) 36046 } 36047 36048 // GoString returns the string representation. 36049 // 36050 // API parameter values that are decorated as "sensitive" in the API will not 36051 // be included in the string output. The member name will be present, but the 36052 // value will be replaced with "sensitive". 36053 func (s CreateTransformJobOutput) GoString() string { 36054 return s.String() 36055 } 36056 36057 // SetTransformJobArn sets the TransformJobArn field's value. 36058 func (s *CreateTransformJobOutput) SetTransformJobArn(v string) *CreateTransformJobOutput { 36059 s.TransformJobArn = &v 36060 return s 36061 } 36062 36063 type CreateTrialComponentInput struct { 36064 _ struct{} `type:"structure"` 36065 36066 // The name of the component as displayed. The name doesn't need to be unique. 36067 // If DisplayName isn't specified, TrialComponentName is displayed. 36068 DisplayName *string `min:"1" type:"string"` 36069 36070 // When the component ended. 36071 EndTime *time.Time `type:"timestamp"` 36072 36073 // The input artifacts for the component. Examples of input artifacts are datasets, 36074 // algorithms, hyperparameters, source code, and instance types. 36075 InputArtifacts map[string]*TrialComponentArtifact `type:"map"` 36076 36077 // Metadata properties of the tracking entity, trial, or trial component. 36078 MetadataProperties *MetadataProperties `type:"structure"` 36079 36080 // The output artifacts for the component. Examples of output artifacts are 36081 // metrics, snapshots, logs, and images. 36082 OutputArtifacts map[string]*TrialComponentArtifact `type:"map"` 36083 36084 // The hyperparameters for the component. 36085 Parameters map[string]*TrialComponentParameterValue `type:"map"` 36086 36087 // When the component started. 36088 StartTime *time.Time `type:"timestamp"` 36089 36090 // The status of the component. States include: 36091 // 36092 // * InProgress 36093 // 36094 // * Completed 36095 // 36096 // * Failed 36097 Status *TrialComponentStatus `type:"structure"` 36098 36099 // A list of tags to associate with the component. You can use Search API to 36100 // search on the tags. 36101 Tags []*Tag `type:"list"` 36102 36103 // The name of the component. The name must be unique in your Amazon Web Services 36104 // account and is not case-sensitive. 36105 // 36106 // TrialComponentName is a required field 36107 TrialComponentName *string `min:"1" type:"string" required:"true"` 36108 } 36109 36110 // String returns the string representation. 36111 // 36112 // API parameter values that are decorated as "sensitive" in the API will not 36113 // be included in the string output. The member name will be present, but the 36114 // value will be replaced with "sensitive". 36115 func (s CreateTrialComponentInput) String() string { 36116 return awsutil.Prettify(s) 36117 } 36118 36119 // GoString returns the string representation. 36120 // 36121 // API parameter values that are decorated as "sensitive" in the API will not 36122 // be included in the string output. The member name will be present, but the 36123 // value will be replaced with "sensitive". 36124 func (s CreateTrialComponentInput) GoString() string { 36125 return s.String() 36126 } 36127 36128 // Validate inspects the fields of the type to determine if they are valid. 36129 func (s *CreateTrialComponentInput) Validate() error { 36130 invalidParams := request.ErrInvalidParams{Context: "CreateTrialComponentInput"} 36131 if s.DisplayName != nil && len(*s.DisplayName) < 1 { 36132 invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1)) 36133 } 36134 if s.TrialComponentName == nil { 36135 invalidParams.Add(request.NewErrParamRequired("TrialComponentName")) 36136 } 36137 if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 { 36138 invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1)) 36139 } 36140 if s.InputArtifacts != nil { 36141 for i, v := range s.InputArtifacts { 36142 if v == nil { 36143 continue 36144 } 36145 if err := v.Validate(); err != nil { 36146 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputArtifacts", i), err.(request.ErrInvalidParams)) 36147 } 36148 } 36149 } 36150 if s.OutputArtifacts != nil { 36151 for i, v := range s.OutputArtifacts { 36152 if v == nil { 36153 continue 36154 } 36155 if err := v.Validate(); err != nil { 36156 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OutputArtifacts", i), err.(request.ErrInvalidParams)) 36157 } 36158 } 36159 } 36160 if s.Tags != nil { 36161 for i, v := range s.Tags { 36162 if v == nil { 36163 continue 36164 } 36165 if err := v.Validate(); err != nil { 36166 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 36167 } 36168 } 36169 } 36170 36171 if invalidParams.Len() > 0 { 36172 return invalidParams 36173 } 36174 return nil 36175 } 36176 36177 // SetDisplayName sets the DisplayName field's value. 36178 func (s *CreateTrialComponentInput) SetDisplayName(v string) *CreateTrialComponentInput { 36179 s.DisplayName = &v 36180 return s 36181 } 36182 36183 // SetEndTime sets the EndTime field's value. 36184 func (s *CreateTrialComponentInput) SetEndTime(v time.Time) *CreateTrialComponentInput { 36185 s.EndTime = &v 36186 return s 36187 } 36188 36189 // SetInputArtifacts sets the InputArtifacts field's value. 36190 func (s *CreateTrialComponentInput) SetInputArtifacts(v map[string]*TrialComponentArtifact) *CreateTrialComponentInput { 36191 s.InputArtifacts = v 36192 return s 36193 } 36194 36195 // SetMetadataProperties sets the MetadataProperties field's value. 36196 func (s *CreateTrialComponentInput) SetMetadataProperties(v *MetadataProperties) *CreateTrialComponentInput { 36197 s.MetadataProperties = v 36198 return s 36199 } 36200 36201 // SetOutputArtifacts sets the OutputArtifacts field's value. 36202 func (s *CreateTrialComponentInput) SetOutputArtifacts(v map[string]*TrialComponentArtifact) *CreateTrialComponentInput { 36203 s.OutputArtifacts = v 36204 return s 36205 } 36206 36207 // SetParameters sets the Parameters field's value. 36208 func (s *CreateTrialComponentInput) SetParameters(v map[string]*TrialComponentParameterValue) *CreateTrialComponentInput { 36209 s.Parameters = v 36210 return s 36211 } 36212 36213 // SetStartTime sets the StartTime field's value. 36214 func (s *CreateTrialComponentInput) SetStartTime(v time.Time) *CreateTrialComponentInput { 36215 s.StartTime = &v 36216 return s 36217 } 36218 36219 // SetStatus sets the Status field's value. 36220 func (s *CreateTrialComponentInput) SetStatus(v *TrialComponentStatus) *CreateTrialComponentInput { 36221 s.Status = v 36222 return s 36223 } 36224 36225 // SetTags sets the Tags field's value. 36226 func (s *CreateTrialComponentInput) SetTags(v []*Tag) *CreateTrialComponentInput { 36227 s.Tags = v 36228 return s 36229 } 36230 36231 // SetTrialComponentName sets the TrialComponentName field's value. 36232 func (s *CreateTrialComponentInput) SetTrialComponentName(v string) *CreateTrialComponentInput { 36233 s.TrialComponentName = &v 36234 return s 36235 } 36236 36237 type CreateTrialComponentOutput struct { 36238 _ struct{} `type:"structure"` 36239 36240 // The Amazon Resource Name (ARN) of the trial component. 36241 TrialComponentArn *string `type:"string"` 36242 } 36243 36244 // String returns the string representation. 36245 // 36246 // API parameter values that are decorated as "sensitive" in the API will not 36247 // be included in the string output. The member name will be present, but the 36248 // value will be replaced with "sensitive". 36249 func (s CreateTrialComponentOutput) String() string { 36250 return awsutil.Prettify(s) 36251 } 36252 36253 // GoString returns the string representation. 36254 // 36255 // API parameter values that are decorated as "sensitive" in the API will not 36256 // be included in the string output. The member name will be present, but the 36257 // value will be replaced with "sensitive". 36258 func (s CreateTrialComponentOutput) GoString() string { 36259 return s.String() 36260 } 36261 36262 // SetTrialComponentArn sets the TrialComponentArn field's value. 36263 func (s *CreateTrialComponentOutput) SetTrialComponentArn(v string) *CreateTrialComponentOutput { 36264 s.TrialComponentArn = &v 36265 return s 36266 } 36267 36268 type CreateTrialInput struct { 36269 _ struct{} `type:"structure"` 36270 36271 // The name of the trial as displayed. The name doesn't need to be unique. If 36272 // DisplayName isn't specified, TrialName is displayed. 36273 DisplayName *string `min:"1" type:"string"` 36274 36275 // The name of the experiment to associate the trial with. 36276 // 36277 // ExperimentName is a required field 36278 ExperimentName *string `min:"1" type:"string" required:"true"` 36279 36280 // Metadata properties of the tracking entity, trial, or trial component. 36281 MetadataProperties *MetadataProperties `type:"structure"` 36282 36283 // A list of tags to associate with the trial. You can use Search API to search 36284 // on the tags. 36285 Tags []*Tag `type:"list"` 36286 36287 // The name of the trial. The name must be unique in your Amazon Web Services 36288 // account and is not case-sensitive. 36289 // 36290 // TrialName is a required field 36291 TrialName *string `min:"1" type:"string" required:"true"` 36292 } 36293 36294 // String returns the string representation. 36295 // 36296 // API parameter values that are decorated as "sensitive" in the API will not 36297 // be included in the string output. The member name will be present, but the 36298 // value will be replaced with "sensitive". 36299 func (s CreateTrialInput) String() string { 36300 return awsutil.Prettify(s) 36301 } 36302 36303 // GoString returns the string representation. 36304 // 36305 // API parameter values that are decorated as "sensitive" in the API will not 36306 // be included in the string output. The member name will be present, but the 36307 // value will be replaced with "sensitive". 36308 func (s CreateTrialInput) GoString() string { 36309 return s.String() 36310 } 36311 36312 // Validate inspects the fields of the type to determine if they are valid. 36313 func (s *CreateTrialInput) Validate() error { 36314 invalidParams := request.ErrInvalidParams{Context: "CreateTrialInput"} 36315 if s.DisplayName != nil && len(*s.DisplayName) < 1 { 36316 invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1)) 36317 } 36318 if s.ExperimentName == nil { 36319 invalidParams.Add(request.NewErrParamRequired("ExperimentName")) 36320 } 36321 if s.ExperimentName != nil && len(*s.ExperimentName) < 1 { 36322 invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1)) 36323 } 36324 if s.TrialName == nil { 36325 invalidParams.Add(request.NewErrParamRequired("TrialName")) 36326 } 36327 if s.TrialName != nil && len(*s.TrialName) < 1 { 36328 invalidParams.Add(request.NewErrParamMinLen("TrialName", 1)) 36329 } 36330 if s.Tags != nil { 36331 for i, v := range s.Tags { 36332 if v == nil { 36333 continue 36334 } 36335 if err := v.Validate(); err != nil { 36336 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 36337 } 36338 } 36339 } 36340 36341 if invalidParams.Len() > 0 { 36342 return invalidParams 36343 } 36344 return nil 36345 } 36346 36347 // SetDisplayName sets the DisplayName field's value. 36348 func (s *CreateTrialInput) SetDisplayName(v string) *CreateTrialInput { 36349 s.DisplayName = &v 36350 return s 36351 } 36352 36353 // SetExperimentName sets the ExperimentName field's value. 36354 func (s *CreateTrialInput) SetExperimentName(v string) *CreateTrialInput { 36355 s.ExperimentName = &v 36356 return s 36357 } 36358 36359 // SetMetadataProperties sets the MetadataProperties field's value. 36360 func (s *CreateTrialInput) SetMetadataProperties(v *MetadataProperties) *CreateTrialInput { 36361 s.MetadataProperties = v 36362 return s 36363 } 36364 36365 // SetTags sets the Tags field's value. 36366 func (s *CreateTrialInput) SetTags(v []*Tag) *CreateTrialInput { 36367 s.Tags = v 36368 return s 36369 } 36370 36371 // SetTrialName sets the TrialName field's value. 36372 func (s *CreateTrialInput) SetTrialName(v string) *CreateTrialInput { 36373 s.TrialName = &v 36374 return s 36375 } 36376 36377 type CreateTrialOutput struct { 36378 _ struct{} `type:"structure"` 36379 36380 // The Amazon Resource Name (ARN) of the trial. 36381 TrialArn *string `type:"string"` 36382 } 36383 36384 // String returns the string representation. 36385 // 36386 // API parameter values that are decorated as "sensitive" in the API will not 36387 // be included in the string output. The member name will be present, but the 36388 // value will be replaced with "sensitive". 36389 func (s CreateTrialOutput) String() string { 36390 return awsutil.Prettify(s) 36391 } 36392 36393 // GoString returns the string representation. 36394 // 36395 // API parameter values that are decorated as "sensitive" in the API will not 36396 // be included in the string output. The member name will be present, but the 36397 // value will be replaced with "sensitive". 36398 func (s CreateTrialOutput) GoString() string { 36399 return s.String() 36400 } 36401 36402 // SetTrialArn sets the TrialArn field's value. 36403 func (s *CreateTrialOutput) SetTrialArn(v string) *CreateTrialOutput { 36404 s.TrialArn = &v 36405 return s 36406 } 36407 36408 type CreateUserProfileInput struct { 36409 _ struct{} `type:"structure"` 36410 36411 // The ID of the associated Domain. 36412 // 36413 // DomainId is a required field 36414 DomainId *string `type:"string" required:"true"` 36415 36416 // A specifier for the type of value specified in SingleSignOnUserValue. Currently, 36417 // the only supported value is "UserName". If the Domain's AuthMode is SSO, 36418 // this field is required. If the Domain's AuthMode is not SSO, this field cannot 36419 // be specified. 36420 SingleSignOnUserIdentifier *string `type:"string"` 36421 36422 // The username of the associated Amazon Web Services Single Sign-On User for 36423 // this UserProfile. If the Domain's AuthMode is SSO, this field is required, 36424 // and must match a valid username of a user in your directory. If the Domain's 36425 // AuthMode is not SSO, this field cannot be specified. 36426 SingleSignOnUserValue *string `type:"string"` 36427 36428 // Each tag consists of a key and an optional value. Tag keys must be unique 36429 // per resource. 36430 // 36431 // Tags that you specify for the User Profile are also added to all Apps that 36432 // the User Profile launches. 36433 Tags []*Tag `type:"list"` 36434 36435 // A name for the UserProfile. This value is not case sensitive. 36436 // 36437 // UserProfileName is a required field 36438 UserProfileName *string `type:"string" required:"true"` 36439 36440 // A collection of settings. 36441 UserSettings *UserSettings `type:"structure"` 36442 } 36443 36444 // String returns the string representation. 36445 // 36446 // API parameter values that are decorated as "sensitive" in the API will not 36447 // be included in the string output. The member name will be present, but the 36448 // value will be replaced with "sensitive". 36449 func (s CreateUserProfileInput) String() string { 36450 return awsutil.Prettify(s) 36451 } 36452 36453 // GoString returns the string representation. 36454 // 36455 // API parameter values that are decorated as "sensitive" in the API will not 36456 // be included in the string output. The member name will be present, but the 36457 // value will be replaced with "sensitive". 36458 func (s CreateUserProfileInput) GoString() string { 36459 return s.String() 36460 } 36461 36462 // Validate inspects the fields of the type to determine if they are valid. 36463 func (s *CreateUserProfileInput) Validate() error { 36464 invalidParams := request.ErrInvalidParams{Context: "CreateUserProfileInput"} 36465 if s.DomainId == nil { 36466 invalidParams.Add(request.NewErrParamRequired("DomainId")) 36467 } 36468 if s.UserProfileName == nil { 36469 invalidParams.Add(request.NewErrParamRequired("UserProfileName")) 36470 } 36471 if s.Tags != nil { 36472 for i, v := range s.Tags { 36473 if v == nil { 36474 continue 36475 } 36476 if err := v.Validate(); err != nil { 36477 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 36478 } 36479 } 36480 } 36481 if s.UserSettings != nil { 36482 if err := s.UserSettings.Validate(); err != nil { 36483 invalidParams.AddNested("UserSettings", err.(request.ErrInvalidParams)) 36484 } 36485 } 36486 36487 if invalidParams.Len() > 0 { 36488 return invalidParams 36489 } 36490 return nil 36491 } 36492 36493 // SetDomainId sets the DomainId field's value. 36494 func (s *CreateUserProfileInput) SetDomainId(v string) *CreateUserProfileInput { 36495 s.DomainId = &v 36496 return s 36497 } 36498 36499 // SetSingleSignOnUserIdentifier sets the SingleSignOnUserIdentifier field's value. 36500 func (s *CreateUserProfileInput) SetSingleSignOnUserIdentifier(v string) *CreateUserProfileInput { 36501 s.SingleSignOnUserIdentifier = &v 36502 return s 36503 } 36504 36505 // SetSingleSignOnUserValue sets the SingleSignOnUserValue field's value. 36506 func (s *CreateUserProfileInput) SetSingleSignOnUserValue(v string) *CreateUserProfileInput { 36507 s.SingleSignOnUserValue = &v 36508 return s 36509 } 36510 36511 // SetTags sets the Tags field's value. 36512 func (s *CreateUserProfileInput) SetTags(v []*Tag) *CreateUserProfileInput { 36513 s.Tags = v 36514 return s 36515 } 36516 36517 // SetUserProfileName sets the UserProfileName field's value. 36518 func (s *CreateUserProfileInput) SetUserProfileName(v string) *CreateUserProfileInput { 36519 s.UserProfileName = &v 36520 return s 36521 } 36522 36523 // SetUserSettings sets the UserSettings field's value. 36524 func (s *CreateUserProfileInput) SetUserSettings(v *UserSettings) *CreateUserProfileInput { 36525 s.UserSettings = v 36526 return s 36527 } 36528 36529 type CreateUserProfileOutput struct { 36530 _ struct{} `type:"structure"` 36531 36532 // The user profile Amazon Resource Name (ARN). 36533 UserProfileArn *string `type:"string"` 36534 } 36535 36536 // String returns the string representation. 36537 // 36538 // API parameter values that are decorated as "sensitive" in the API will not 36539 // be included in the string output. The member name will be present, but the 36540 // value will be replaced with "sensitive". 36541 func (s CreateUserProfileOutput) String() string { 36542 return awsutil.Prettify(s) 36543 } 36544 36545 // GoString returns the string representation. 36546 // 36547 // API parameter values that are decorated as "sensitive" in the API will not 36548 // be included in the string output. The member name will be present, but the 36549 // value will be replaced with "sensitive". 36550 func (s CreateUserProfileOutput) GoString() string { 36551 return s.String() 36552 } 36553 36554 // SetUserProfileArn sets the UserProfileArn field's value. 36555 func (s *CreateUserProfileOutput) SetUserProfileArn(v string) *CreateUserProfileOutput { 36556 s.UserProfileArn = &v 36557 return s 36558 } 36559 36560 type CreateWorkforceInput struct { 36561 _ struct{} `type:"structure"` 36562 36563 // Use this parameter to configure an Amazon Cognito private workforce. A single 36564 // Cognito workforce is created using and corresponds to a single Amazon Cognito 36565 // user pool (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html). 36566 // 36567 // Do not use OidcConfig if you specify values for CognitoConfig. 36568 CognitoConfig *CognitoConfig `type:"structure"` 36569 36570 // Use this parameter to configure a private workforce using your own OIDC Identity 36571 // Provider. 36572 // 36573 // Do not use CognitoConfig if you specify values for OidcConfig. 36574 OidcConfig *OidcConfig `type:"structure"` 36575 36576 // A list of IP address ranges (CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html)). 36577 // Used to create an allow list of IP addresses for a private workforce. Workers 36578 // will only be able to login to their worker portal from an IP address within 36579 // this range. By default, a workforce isn't restricted to specific IP addresses. 36580 SourceIpConfig *SourceIpConfig `type:"structure"` 36581 36582 // An array of key-value pairs that contain metadata to help you categorize 36583 // and organize our workforce. Each tag consists of a key and a value, both 36584 // of which you define. 36585 Tags []*Tag `type:"list"` 36586 36587 // The name of the private workforce. 36588 // 36589 // WorkforceName is a required field 36590 WorkforceName *string `min:"1" type:"string" required:"true"` 36591 } 36592 36593 // String returns the string representation. 36594 // 36595 // API parameter values that are decorated as "sensitive" in the API will not 36596 // be included in the string output. The member name will be present, but the 36597 // value will be replaced with "sensitive". 36598 func (s CreateWorkforceInput) String() string { 36599 return awsutil.Prettify(s) 36600 } 36601 36602 // GoString returns the string representation. 36603 // 36604 // API parameter values that are decorated as "sensitive" in the API will not 36605 // be included in the string output. The member name will be present, but the 36606 // value will be replaced with "sensitive". 36607 func (s CreateWorkforceInput) GoString() string { 36608 return s.String() 36609 } 36610 36611 // Validate inspects the fields of the type to determine if they are valid. 36612 func (s *CreateWorkforceInput) Validate() error { 36613 invalidParams := request.ErrInvalidParams{Context: "CreateWorkforceInput"} 36614 if s.WorkforceName == nil { 36615 invalidParams.Add(request.NewErrParamRequired("WorkforceName")) 36616 } 36617 if s.WorkforceName != nil && len(*s.WorkforceName) < 1 { 36618 invalidParams.Add(request.NewErrParamMinLen("WorkforceName", 1)) 36619 } 36620 if s.CognitoConfig != nil { 36621 if err := s.CognitoConfig.Validate(); err != nil { 36622 invalidParams.AddNested("CognitoConfig", err.(request.ErrInvalidParams)) 36623 } 36624 } 36625 if s.OidcConfig != nil { 36626 if err := s.OidcConfig.Validate(); err != nil { 36627 invalidParams.AddNested("OidcConfig", err.(request.ErrInvalidParams)) 36628 } 36629 } 36630 if s.SourceIpConfig != nil { 36631 if err := s.SourceIpConfig.Validate(); err != nil { 36632 invalidParams.AddNested("SourceIpConfig", err.(request.ErrInvalidParams)) 36633 } 36634 } 36635 if s.Tags != nil { 36636 for i, v := range s.Tags { 36637 if v == nil { 36638 continue 36639 } 36640 if err := v.Validate(); err != nil { 36641 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 36642 } 36643 } 36644 } 36645 36646 if invalidParams.Len() > 0 { 36647 return invalidParams 36648 } 36649 return nil 36650 } 36651 36652 // SetCognitoConfig sets the CognitoConfig field's value. 36653 func (s *CreateWorkforceInput) SetCognitoConfig(v *CognitoConfig) *CreateWorkforceInput { 36654 s.CognitoConfig = v 36655 return s 36656 } 36657 36658 // SetOidcConfig sets the OidcConfig field's value. 36659 func (s *CreateWorkforceInput) SetOidcConfig(v *OidcConfig) *CreateWorkforceInput { 36660 s.OidcConfig = v 36661 return s 36662 } 36663 36664 // SetSourceIpConfig sets the SourceIpConfig field's value. 36665 func (s *CreateWorkforceInput) SetSourceIpConfig(v *SourceIpConfig) *CreateWorkforceInput { 36666 s.SourceIpConfig = v 36667 return s 36668 } 36669 36670 // SetTags sets the Tags field's value. 36671 func (s *CreateWorkforceInput) SetTags(v []*Tag) *CreateWorkforceInput { 36672 s.Tags = v 36673 return s 36674 } 36675 36676 // SetWorkforceName sets the WorkforceName field's value. 36677 func (s *CreateWorkforceInput) SetWorkforceName(v string) *CreateWorkforceInput { 36678 s.WorkforceName = &v 36679 return s 36680 } 36681 36682 type CreateWorkforceOutput struct { 36683 _ struct{} `type:"structure"` 36684 36685 // The Amazon Resource Name (ARN) of the workforce. 36686 // 36687 // WorkforceArn is a required field 36688 WorkforceArn *string `type:"string" required:"true"` 36689 } 36690 36691 // String returns the string representation. 36692 // 36693 // API parameter values that are decorated as "sensitive" in the API will not 36694 // be included in the string output. The member name will be present, but the 36695 // value will be replaced with "sensitive". 36696 func (s CreateWorkforceOutput) String() string { 36697 return awsutil.Prettify(s) 36698 } 36699 36700 // GoString returns the string representation. 36701 // 36702 // API parameter values that are decorated as "sensitive" in the API will not 36703 // be included in the string output. The member name will be present, but the 36704 // value will be replaced with "sensitive". 36705 func (s CreateWorkforceOutput) GoString() string { 36706 return s.String() 36707 } 36708 36709 // SetWorkforceArn sets the WorkforceArn field's value. 36710 func (s *CreateWorkforceOutput) SetWorkforceArn(v string) *CreateWorkforceOutput { 36711 s.WorkforceArn = &v 36712 return s 36713 } 36714 36715 type CreateWorkteamInput struct { 36716 _ struct{} `type:"structure"` 36717 36718 // A description of the work team. 36719 // 36720 // Description is a required field 36721 Description *string `min:"1" type:"string" required:"true"` 36722 36723 // A list of MemberDefinition objects that contains objects that identify the 36724 // workers that make up the work team. 36725 // 36726 // Workforces can be created using Amazon Cognito or your own OIDC Identity 36727 // Provider (IdP). For private workforces created using Amazon Cognito use CognitoMemberDefinition. 36728 // For workforces created using your own OIDC identity provider (IdP) use OidcMemberDefinition. 36729 // Do not provide input for both of these parameters in a single request. 36730 // 36731 // For workforces created using Amazon Cognito, private work teams correspond 36732 // to Amazon Cognito user groups within the user pool used to create a workforce. 36733 // All of the CognitoMemberDefinition objects that make up the member definition 36734 // must have the same ClientId and UserPool values. To add a Amazon Cognito 36735 // user group to an existing worker pool, see Adding groups to a User Pool. 36736 // For more information about user pools, see Amazon Cognito User Pools (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html). 36737 // 36738 // For workforces created using your own OIDC IdP, specify the user groups that 36739 // you want to include in your private work team in OidcMemberDefinition by 36740 // listing those groups in Groups. 36741 // 36742 // MemberDefinitions is a required field 36743 MemberDefinitions []*MemberDefinition `min:"1" type:"list" required:"true"` 36744 36745 // Configures notification of workers regarding available or expiring work items. 36746 NotificationConfiguration *NotificationConfiguration `type:"structure"` 36747 36748 // An array of key-value pairs. 36749 // 36750 // For more information, see Resource Tag (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) 36751 // and Using Cost Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what) 36752 // in the Amazon Web Services Billing and Cost Management User Guide. 36753 Tags []*Tag `type:"list"` 36754 36755 // The name of the workforce. 36756 WorkforceName *string `min:"1" type:"string"` 36757 36758 // The name of the work team. Use this name to identify the work team. 36759 // 36760 // WorkteamName is a required field 36761 WorkteamName *string `min:"1" type:"string" required:"true"` 36762 } 36763 36764 // String returns the string representation. 36765 // 36766 // API parameter values that are decorated as "sensitive" in the API will not 36767 // be included in the string output. The member name will be present, but the 36768 // value will be replaced with "sensitive". 36769 func (s CreateWorkteamInput) String() string { 36770 return awsutil.Prettify(s) 36771 } 36772 36773 // GoString returns the string representation. 36774 // 36775 // API parameter values that are decorated as "sensitive" in the API will not 36776 // be included in the string output. The member name will be present, but the 36777 // value will be replaced with "sensitive". 36778 func (s CreateWorkteamInput) GoString() string { 36779 return s.String() 36780 } 36781 36782 // Validate inspects the fields of the type to determine if they are valid. 36783 func (s *CreateWorkteamInput) Validate() error { 36784 invalidParams := request.ErrInvalidParams{Context: "CreateWorkteamInput"} 36785 if s.Description == nil { 36786 invalidParams.Add(request.NewErrParamRequired("Description")) 36787 } 36788 if s.Description != nil && len(*s.Description) < 1 { 36789 invalidParams.Add(request.NewErrParamMinLen("Description", 1)) 36790 } 36791 if s.MemberDefinitions == nil { 36792 invalidParams.Add(request.NewErrParamRequired("MemberDefinitions")) 36793 } 36794 if s.MemberDefinitions != nil && len(s.MemberDefinitions) < 1 { 36795 invalidParams.Add(request.NewErrParamMinLen("MemberDefinitions", 1)) 36796 } 36797 if s.WorkforceName != nil && len(*s.WorkforceName) < 1 { 36798 invalidParams.Add(request.NewErrParamMinLen("WorkforceName", 1)) 36799 } 36800 if s.WorkteamName == nil { 36801 invalidParams.Add(request.NewErrParamRequired("WorkteamName")) 36802 } 36803 if s.WorkteamName != nil && len(*s.WorkteamName) < 1 { 36804 invalidParams.Add(request.NewErrParamMinLen("WorkteamName", 1)) 36805 } 36806 if s.MemberDefinitions != nil { 36807 for i, v := range s.MemberDefinitions { 36808 if v == nil { 36809 continue 36810 } 36811 if err := v.Validate(); err != nil { 36812 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MemberDefinitions", i), err.(request.ErrInvalidParams)) 36813 } 36814 } 36815 } 36816 if s.Tags != nil { 36817 for i, v := range s.Tags { 36818 if v == nil { 36819 continue 36820 } 36821 if err := v.Validate(); err != nil { 36822 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 36823 } 36824 } 36825 } 36826 36827 if invalidParams.Len() > 0 { 36828 return invalidParams 36829 } 36830 return nil 36831 } 36832 36833 // SetDescription sets the Description field's value. 36834 func (s *CreateWorkteamInput) SetDescription(v string) *CreateWorkteamInput { 36835 s.Description = &v 36836 return s 36837 } 36838 36839 // SetMemberDefinitions sets the MemberDefinitions field's value. 36840 func (s *CreateWorkteamInput) SetMemberDefinitions(v []*MemberDefinition) *CreateWorkteamInput { 36841 s.MemberDefinitions = v 36842 return s 36843 } 36844 36845 // SetNotificationConfiguration sets the NotificationConfiguration field's value. 36846 func (s *CreateWorkteamInput) SetNotificationConfiguration(v *NotificationConfiguration) *CreateWorkteamInput { 36847 s.NotificationConfiguration = v 36848 return s 36849 } 36850 36851 // SetTags sets the Tags field's value. 36852 func (s *CreateWorkteamInput) SetTags(v []*Tag) *CreateWorkteamInput { 36853 s.Tags = v 36854 return s 36855 } 36856 36857 // SetWorkforceName sets the WorkforceName field's value. 36858 func (s *CreateWorkteamInput) SetWorkforceName(v string) *CreateWorkteamInput { 36859 s.WorkforceName = &v 36860 return s 36861 } 36862 36863 // SetWorkteamName sets the WorkteamName field's value. 36864 func (s *CreateWorkteamInput) SetWorkteamName(v string) *CreateWorkteamInput { 36865 s.WorkteamName = &v 36866 return s 36867 } 36868 36869 type CreateWorkteamOutput struct { 36870 _ struct{} `type:"structure"` 36871 36872 // The Amazon Resource Name (ARN) of the work team. You can use this ARN to 36873 // identify the work team. 36874 WorkteamArn *string `type:"string"` 36875 } 36876 36877 // String returns the string representation. 36878 // 36879 // API parameter values that are decorated as "sensitive" in the API will not 36880 // be included in the string output. The member name will be present, but the 36881 // value will be replaced with "sensitive". 36882 func (s CreateWorkteamOutput) String() string { 36883 return awsutil.Prettify(s) 36884 } 36885 36886 // GoString returns the string representation. 36887 // 36888 // API parameter values that are decorated as "sensitive" in the API will not 36889 // be included in the string output. The member name will be present, but the 36890 // value will be replaced with "sensitive". 36891 func (s CreateWorkteamOutput) GoString() string { 36892 return s.String() 36893 } 36894 36895 // SetWorkteamArn sets the WorkteamArn field's value. 36896 func (s *CreateWorkteamOutput) SetWorkteamArn(v string) *CreateWorkteamOutput { 36897 s.WorkteamArn = &v 36898 return s 36899 } 36900 36901 // A custom SageMaker image. For more information, see Bring your own SageMaker 36902 // image (https://docs.aws.amazon.com/sagemaker/latest/dg/studio-byoi.html). 36903 type CustomImage struct { 36904 _ struct{} `type:"structure"` 36905 36906 // The name of the AppImageConfig. 36907 // 36908 // AppImageConfigName is a required field 36909 AppImageConfigName *string `type:"string" required:"true"` 36910 36911 // The name of the CustomImage. Must be unique to your account. 36912 // 36913 // ImageName is a required field 36914 ImageName *string `min:"1" type:"string" required:"true"` 36915 36916 // The version number of the CustomImage. 36917 ImageVersionNumber *int64 `type:"integer"` 36918 } 36919 36920 // String returns the string representation. 36921 // 36922 // API parameter values that are decorated as "sensitive" in the API will not 36923 // be included in the string output. The member name will be present, but the 36924 // value will be replaced with "sensitive". 36925 func (s CustomImage) String() string { 36926 return awsutil.Prettify(s) 36927 } 36928 36929 // GoString returns the string representation. 36930 // 36931 // API parameter values that are decorated as "sensitive" in the API will not 36932 // be included in the string output. The member name will be present, but the 36933 // value will be replaced with "sensitive". 36934 func (s CustomImage) GoString() string { 36935 return s.String() 36936 } 36937 36938 // Validate inspects the fields of the type to determine if they are valid. 36939 func (s *CustomImage) Validate() error { 36940 invalidParams := request.ErrInvalidParams{Context: "CustomImage"} 36941 if s.AppImageConfigName == nil { 36942 invalidParams.Add(request.NewErrParamRequired("AppImageConfigName")) 36943 } 36944 if s.ImageName == nil { 36945 invalidParams.Add(request.NewErrParamRequired("ImageName")) 36946 } 36947 if s.ImageName != nil && len(*s.ImageName) < 1 { 36948 invalidParams.Add(request.NewErrParamMinLen("ImageName", 1)) 36949 } 36950 36951 if invalidParams.Len() > 0 { 36952 return invalidParams 36953 } 36954 return nil 36955 } 36956 36957 // SetAppImageConfigName sets the AppImageConfigName field's value. 36958 func (s *CustomImage) SetAppImageConfigName(v string) *CustomImage { 36959 s.AppImageConfigName = &v 36960 return s 36961 } 36962 36963 // SetImageName sets the ImageName field's value. 36964 func (s *CustomImage) SetImageName(v string) *CustomImage { 36965 s.ImageName = &v 36966 return s 36967 } 36968 36969 // SetImageVersionNumber sets the ImageVersionNumber field's value. 36970 func (s *CustomImage) SetImageVersionNumber(v int64) *CustomImage { 36971 s.ImageVersionNumber = &v 36972 return s 36973 } 36974 36975 type DataCaptureConfig struct { 36976 _ struct{} `type:"structure"` 36977 36978 CaptureContentTypeHeader *CaptureContentTypeHeader `type:"structure"` 36979 36980 // CaptureOptions is a required field 36981 CaptureOptions []*CaptureOption `min:"1" type:"list" required:"true"` 36982 36983 // DestinationS3Uri is a required field 36984 DestinationS3Uri *string `type:"string" required:"true"` 36985 36986 EnableCapture *bool `type:"boolean"` 36987 36988 // InitialSamplingPercentage is a required field 36989 InitialSamplingPercentage *int64 `type:"integer" required:"true"` 36990 36991 KmsKeyId *string `type:"string"` 36992 } 36993 36994 // String returns the string representation. 36995 // 36996 // API parameter values that are decorated as "sensitive" in the API will not 36997 // be included in the string output. The member name will be present, but the 36998 // value will be replaced with "sensitive". 36999 func (s DataCaptureConfig) String() string { 37000 return awsutil.Prettify(s) 37001 } 37002 37003 // GoString returns the string representation. 37004 // 37005 // API parameter values that are decorated as "sensitive" in the API will not 37006 // be included in the string output. The member name will be present, but the 37007 // value will be replaced with "sensitive". 37008 func (s DataCaptureConfig) GoString() string { 37009 return s.String() 37010 } 37011 37012 // Validate inspects the fields of the type to determine if they are valid. 37013 func (s *DataCaptureConfig) Validate() error { 37014 invalidParams := request.ErrInvalidParams{Context: "DataCaptureConfig"} 37015 if s.CaptureOptions == nil { 37016 invalidParams.Add(request.NewErrParamRequired("CaptureOptions")) 37017 } 37018 if s.CaptureOptions != nil && len(s.CaptureOptions) < 1 { 37019 invalidParams.Add(request.NewErrParamMinLen("CaptureOptions", 1)) 37020 } 37021 if s.DestinationS3Uri == nil { 37022 invalidParams.Add(request.NewErrParamRequired("DestinationS3Uri")) 37023 } 37024 if s.InitialSamplingPercentage == nil { 37025 invalidParams.Add(request.NewErrParamRequired("InitialSamplingPercentage")) 37026 } 37027 if s.CaptureContentTypeHeader != nil { 37028 if err := s.CaptureContentTypeHeader.Validate(); err != nil { 37029 invalidParams.AddNested("CaptureContentTypeHeader", err.(request.ErrInvalidParams)) 37030 } 37031 } 37032 if s.CaptureOptions != nil { 37033 for i, v := range s.CaptureOptions { 37034 if v == nil { 37035 continue 37036 } 37037 if err := v.Validate(); err != nil { 37038 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CaptureOptions", i), err.(request.ErrInvalidParams)) 37039 } 37040 } 37041 } 37042 37043 if invalidParams.Len() > 0 { 37044 return invalidParams 37045 } 37046 return nil 37047 } 37048 37049 // SetCaptureContentTypeHeader sets the CaptureContentTypeHeader field's value. 37050 func (s *DataCaptureConfig) SetCaptureContentTypeHeader(v *CaptureContentTypeHeader) *DataCaptureConfig { 37051 s.CaptureContentTypeHeader = v 37052 return s 37053 } 37054 37055 // SetCaptureOptions sets the CaptureOptions field's value. 37056 func (s *DataCaptureConfig) SetCaptureOptions(v []*CaptureOption) *DataCaptureConfig { 37057 s.CaptureOptions = v 37058 return s 37059 } 37060 37061 // SetDestinationS3Uri sets the DestinationS3Uri field's value. 37062 func (s *DataCaptureConfig) SetDestinationS3Uri(v string) *DataCaptureConfig { 37063 s.DestinationS3Uri = &v 37064 return s 37065 } 37066 37067 // SetEnableCapture sets the EnableCapture field's value. 37068 func (s *DataCaptureConfig) SetEnableCapture(v bool) *DataCaptureConfig { 37069 s.EnableCapture = &v 37070 return s 37071 } 37072 37073 // SetInitialSamplingPercentage sets the InitialSamplingPercentage field's value. 37074 func (s *DataCaptureConfig) SetInitialSamplingPercentage(v int64) *DataCaptureConfig { 37075 s.InitialSamplingPercentage = &v 37076 return s 37077 } 37078 37079 // SetKmsKeyId sets the KmsKeyId field's value. 37080 func (s *DataCaptureConfig) SetKmsKeyId(v string) *DataCaptureConfig { 37081 s.KmsKeyId = &v 37082 return s 37083 } 37084 37085 type DataCaptureConfigSummary struct { 37086 _ struct{} `type:"structure"` 37087 37088 // CaptureStatus is a required field 37089 CaptureStatus *string `type:"string" required:"true" enum:"CaptureStatus"` 37090 37091 // CurrentSamplingPercentage is a required field 37092 CurrentSamplingPercentage *int64 `type:"integer" required:"true"` 37093 37094 // DestinationS3Uri is a required field 37095 DestinationS3Uri *string `type:"string" required:"true"` 37096 37097 // EnableCapture is a required field 37098 EnableCapture *bool `type:"boolean" required:"true"` 37099 37100 // KmsKeyId is a required field 37101 KmsKeyId *string `type:"string" required:"true"` 37102 } 37103 37104 // String returns the string representation. 37105 // 37106 // API parameter values that are decorated as "sensitive" in the API will not 37107 // be included in the string output. The member name will be present, but the 37108 // value will be replaced with "sensitive". 37109 func (s DataCaptureConfigSummary) String() string { 37110 return awsutil.Prettify(s) 37111 } 37112 37113 // GoString returns the string representation. 37114 // 37115 // API parameter values that are decorated as "sensitive" in the API will not 37116 // be included in the string output. The member name will be present, but the 37117 // value will be replaced with "sensitive". 37118 func (s DataCaptureConfigSummary) GoString() string { 37119 return s.String() 37120 } 37121 37122 // SetCaptureStatus sets the CaptureStatus field's value. 37123 func (s *DataCaptureConfigSummary) SetCaptureStatus(v string) *DataCaptureConfigSummary { 37124 s.CaptureStatus = &v 37125 return s 37126 } 37127 37128 // SetCurrentSamplingPercentage sets the CurrentSamplingPercentage field's value. 37129 func (s *DataCaptureConfigSummary) SetCurrentSamplingPercentage(v int64) *DataCaptureConfigSummary { 37130 s.CurrentSamplingPercentage = &v 37131 return s 37132 } 37133 37134 // SetDestinationS3Uri sets the DestinationS3Uri field's value. 37135 func (s *DataCaptureConfigSummary) SetDestinationS3Uri(v string) *DataCaptureConfigSummary { 37136 s.DestinationS3Uri = &v 37137 return s 37138 } 37139 37140 // SetEnableCapture sets the EnableCapture field's value. 37141 func (s *DataCaptureConfigSummary) SetEnableCapture(v bool) *DataCaptureConfigSummary { 37142 s.EnableCapture = &v 37143 return s 37144 } 37145 37146 // SetKmsKeyId sets the KmsKeyId field's value. 37147 func (s *DataCaptureConfigSummary) SetKmsKeyId(v string) *DataCaptureConfigSummary { 37148 s.KmsKeyId = &v 37149 return s 37150 } 37151 37152 // The meta data of the Glue table which serves as data catalog for the OfflineStore. 37153 type DataCatalogConfig struct { 37154 _ struct{} `type:"structure"` 37155 37156 // The name of the Glue table catalog. 37157 // 37158 // Catalog is a required field 37159 Catalog *string `min:"1" type:"string" required:"true"` 37160 37161 // The name of the Glue table database. 37162 // 37163 // Database is a required field 37164 Database *string `min:"1" type:"string" required:"true"` 37165 37166 // The name of the Glue table. 37167 // 37168 // TableName is a required field 37169 TableName *string `min:"1" type:"string" required:"true"` 37170 } 37171 37172 // String returns the string representation. 37173 // 37174 // API parameter values that are decorated as "sensitive" in the API will not 37175 // be included in the string output. The member name will be present, but the 37176 // value will be replaced with "sensitive". 37177 func (s DataCatalogConfig) String() string { 37178 return awsutil.Prettify(s) 37179 } 37180 37181 // GoString returns the string representation. 37182 // 37183 // API parameter values that are decorated as "sensitive" in the API will not 37184 // be included in the string output. The member name will be present, but the 37185 // value will be replaced with "sensitive". 37186 func (s DataCatalogConfig) GoString() string { 37187 return s.String() 37188 } 37189 37190 // Validate inspects the fields of the type to determine if they are valid. 37191 func (s *DataCatalogConfig) Validate() error { 37192 invalidParams := request.ErrInvalidParams{Context: "DataCatalogConfig"} 37193 if s.Catalog == nil { 37194 invalidParams.Add(request.NewErrParamRequired("Catalog")) 37195 } 37196 if s.Catalog != nil && len(*s.Catalog) < 1 { 37197 invalidParams.Add(request.NewErrParamMinLen("Catalog", 1)) 37198 } 37199 if s.Database == nil { 37200 invalidParams.Add(request.NewErrParamRequired("Database")) 37201 } 37202 if s.Database != nil && len(*s.Database) < 1 { 37203 invalidParams.Add(request.NewErrParamMinLen("Database", 1)) 37204 } 37205 if s.TableName == nil { 37206 invalidParams.Add(request.NewErrParamRequired("TableName")) 37207 } 37208 if s.TableName != nil && len(*s.TableName) < 1 { 37209 invalidParams.Add(request.NewErrParamMinLen("TableName", 1)) 37210 } 37211 37212 if invalidParams.Len() > 0 { 37213 return invalidParams 37214 } 37215 return nil 37216 } 37217 37218 // SetCatalog sets the Catalog field's value. 37219 func (s *DataCatalogConfig) SetCatalog(v string) *DataCatalogConfig { 37220 s.Catalog = &v 37221 return s 37222 } 37223 37224 // SetDatabase sets the Database field's value. 37225 func (s *DataCatalogConfig) SetDatabase(v string) *DataCatalogConfig { 37226 s.Database = &v 37227 return s 37228 } 37229 37230 // SetTableName sets the TableName field's value. 37231 func (s *DataCatalogConfig) SetTableName(v string) *DataCatalogConfig { 37232 s.TableName = &v 37233 return s 37234 } 37235 37236 // The data structure used to specify the data to be used for inference in a 37237 // batch transform job and to associate the data that is relevant to the prediction 37238 // results in the output. The input filter provided allows you to exclude input 37239 // data that is not needed for inference in a batch transform job. The output 37240 // filter provided allows you to include input data relevant to interpreting 37241 // the predictions in the output from the job. For more information, see Associate 37242 // Prediction Results with their Corresponding Input Records (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html). 37243 type DataProcessing struct { 37244 _ struct{} `type:"structure"` 37245 37246 // A JSONPath (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html#data-processing-operators) 37247 // expression used to select a portion of the input data to pass to the algorithm. 37248 // Use the InputFilter parameter to exclude fields, such as an ID column, from 37249 // the input. If you want Amazon SageMaker to pass the entire input dataset 37250 // to the algorithm, accept the default value $. 37251 // 37252 // Examples: "$", "$[1:]", "$.features" 37253 InputFilter *string `type:"string"` 37254 37255 // Specifies the source of the data to join with the transformed data. The valid 37256 // values are None and Input. The default value is None, which specifies not 37257 // to join the input with the transformed data. If you want the batch transform 37258 // job to join the original input data with the transformed data, set JoinSource 37259 // to Input. You can specify OutputFilter as an additional filter to select 37260 // a portion of the joined dataset and store it in the output file. 37261 // 37262 // For JSON or JSONLines objects, such as a JSON array, SageMaker adds the transformed 37263 // data to the input JSON object in an attribute called SageMakerOutput. The 37264 // joined result for JSON must be a key-value pair object. If the input is not 37265 // a key-value pair object, SageMaker creates a new JSON file. In the new JSON 37266 // file, and the input data is stored under the SageMakerInput key and the results 37267 // are stored in SageMakerOutput. 37268 // 37269 // For CSV data, SageMaker takes each row as a JSON array and joins the transformed 37270 // data with the input by appending each transformed row to the end of the input. 37271 // The joined data has the original input data followed by the transformed data 37272 // and the output is a CSV file. 37273 // 37274 // For information on how joining in applied, see Workflow for Associating Inferences 37275 // with Input Records (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html#batch-transform-data-processing-workflow). 37276 JoinSource *string `type:"string" enum:"JoinSource"` 37277 37278 // A JSONPath (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html#data-processing-operators) 37279 // expression used to select a portion of the joined dataset to save in the 37280 // output file for a batch transform job. If you want Amazon SageMaker to store 37281 // the entire input dataset in the output file, leave the default value, $. 37282 // If you specify indexes that aren't within the dimension size of the joined 37283 // dataset, you get an error. 37284 // 37285 // Examples: "$", "$[0,5:]", "$['id','SageMakerOutput']" 37286 OutputFilter *string `type:"string"` 37287 } 37288 37289 // String returns the string representation. 37290 // 37291 // API parameter values that are decorated as "sensitive" in the API will not 37292 // be included in the string output. The member name will be present, but the 37293 // value will be replaced with "sensitive". 37294 func (s DataProcessing) String() string { 37295 return awsutil.Prettify(s) 37296 } 37297 37298 // GoString returns the string representation. 37299 // 37300 // API parameter values that are decorated as "sensitive" in the API will not 37301 // be included in the string output. The member name will be present, but the 37302 // value will be replaced with "sensitive". 37303 func (s DataProcessing) GoString() string { 37304 return s.String() 37305 } 37306 37307 // SetInputFilter sets the InputFilter field's value. 37308 func (s *DataProcessing) SetInputFilter(v string) *DataProcessing { 37309 s.InputFilter = &v 37310 return s 37311 } 37312 37313 // SetJoinSource sets the JoinSource field's value. 37314 func (s *DataProcessing) SetJoinSource(v string) *DataProcessing { 37315 s.JoinSource = &v 37316 return s 37317 } 37318 37319 // SetOutputFilter sets the OutputFilter field's value. 37320 func (s *DataProcessing) SetOutputFilter(v string) *DataProcessing { 37321 s.OutputFilter = &v 37322 return s 37323 } 37324 37325 // Information about the container that a data quality monitoring job runs. 37326 type DataQualityAppSpecification struct { 37327 _ struct{} `type:"structure"` 37328 37329 // The arguments to send to the container that the monitoring job runs. 37330 ContainerArguments []*string `min:"1" type:"list"` 37331 37332 // The entrypoint for a container used to run a monitoring job. 37333 ContainerEntrypoint []*string `min:"1" type:"list"` 37334 37335 // Sets the environment variables in the container that the monitoring job runs. 37336 Environment map[string]*string `type:"map"` 37337 37338 // The container image that the data quality monitoring job runs. 37339 // 37340 // ImageUri is a required field 37341 ImageUri *string `type:"string" required:"true"` 37342 37343 // An Amazon S3 URI to a script that is called after analysis has been performed. 37344 // Applicable only for the built-in (first party) containers. 37345 PostAnalyticsProcessorSourceUri *string `type:"string"` 37346 37347 // An Amazon S3 URI to a script that is called per row prior to running analysis. 37348 // It can base64 decode the payload and convert it into a flatted json so that 37349 // the built-in container can use the converted data. Applicable only for the 37350 // built-in (first party) containers. 37351 RecordPreprocessorSourceUri *string `type:"string"` 37352 } 37353 37354 // String returns the string representation. 37355 // 37356 // API parameter values that are decorated as "sensitive" in the API will not 37357 // be included in the string output. The member name will be present, but the 37358 // value will be replaced with "sensitive". 37359 func (s DataQualityAppSpecification) String() string { 37360 return awsutil.Prettify(s) 37361 } 37362 37363 // GoString returns the string representation. 37364 // 37365 // API parameter values that are decorated as "sensitive" in the API will not 37366 // be included in the string output. The member name will be present, but the 37367 // value will be replaced with "sensitive". 37368 func (s DataQualityAppSpecification) GoString() string { 37369 return s.String() 37370 } 37371 37372 // Validate inspects the fields of the type to determine if they are valid. 37373 func (s *DataQualityAppSpecification) Validate() error { 37374 invalidParams := request.ErrInvalidParams{Context: "DataQualityAppSpecification"} 37375 if s.ContainerArguments != nil && len(s.ContainerArguments) < 1 { 37376 invalidParams.Add(request.NewErrParamMinLen("ContainerArguments", 1)) 37377 } 37378 if s.ContainerEntrypoint != nil && len(s.ContainerEntrypoint) < 1 { 37379 invalidParams.Add(request.NewErrParamMinLen("ContainerEntrypoint", 1)) 37380 } 37381 if s.ImageUri == nil { 37382 invalidParams.Add(request.NewErrParamRequired("ImageUri")) 37383 } 37384 37385 if invalidParams.Len() > 0 { 37386 return invalidParams 37387 } 37388 return nil 37389 } 37390 37391 // SetContainerArguments sets the ContainerArguments field's value. 37392 func (s *DataQualityAppSpecification) SetContainerArguments(v []*string) *DataQualityAppSpecification { 37393 s.ContainerArguments = v 37394 return s 37395 } 37396 37397 // SetContainerEntrypoint sets the ContainerEntrypoint field's value. 37398 func (s *DataQualityAppSpecification) SetContainerEntrypoint(v []*string) *DataQualityAppSpecification { 37399 s.ContainerEntrypoint = v 37400 return s 37401 } 37402 37403 // SetEnvironment sets the Environment field's value. 37404 func (s *DataQualityAppSpecification) SetEnvironment(v map[string]*string) *DataQualityAppSpecification { 37405 s.Environment = v 37406 return s 37407 } 37408 37409 // SetImageUri sets the ImageUri field's value. 37410 func (s *DataQualityAppSpecification) SetImageUri(v string) *DataQualityAppSpecification { 37411 s.ImageUri = &v 37412 return s 37413 } 37414 37415 // SetPostAnalyticsProcessorSourceUri sets the PostAnalyticsProcessorSourceUri field's value. 37416 func (s *DataQualityAppSpecification) SetPostAnalyticsProcessorSourceUri(v string) *DataQualityAppSpecification { 37417 s.PostAnalyticsProcessorSourceUri = &v 37418 return s 37419 } 37420 37421 // SetRecordPreprocessorSourceUri sets the RecordPreprocessorSourceUri field's value. 37422 func (s *DataQualityAppSpecification) SetRecordPreprocessorSourceUri(v string) *DataQualityAppSpecification { 37423 s.RecordPreprocessorSourceUri = &v 37424 return s 37425 } 37426 37427 // Configuration for monitoring constraints and monitoring statistics. These 37428 // baseline resources are compared against the results of the current job from 37429 // the series of jobs scheduled to collect data periodically. 37430 type DataQualityBaselineConfig struct { 37431 _ struct{} `type:"structure"` 37432 37433 // The name of the job that performs baselining for the data quality monitoring 37434 // job. 37435 BaseliningJobName *string `min:"1" type:"string"` 37436 37437 // The constraints resource for a monitoring job. 37438 ConstraintsResource *MonitoringConstraintsResource `type:"structure"` 37439 37440 // The statistics resource for a monitoring job. 37441 StatisticsResource *MonitoringStatisticsResource `type:"structure"` 37442 } 37443 37444 // String returns the string representation. 37445 // 37446 // API parameter values that are decorated as "sensitive" in the API will not 37447 // be included in the string output. The member name will be present, but the 37448 // value will be replaced with "sensitive". 37449 func (s DataQualityBaselineConfig) String() string { 37450 return awsutil.Prettify(s) 37451 } 37452 37453 // GoString returns the string representation. 37454 // 37455 // API parameter values that are decorated as "sensitive" in the API will not 37456 // be included in the string output. The member name will be present, but the 37457 // value will be replaced with "sensitive". 37458 func (s DataQualityBaselineConfig) GoString() string { 37459 return s.String() 37460 } 37461 37462 // Validate inspects the fields of the type to determine if they are valid. 37463 func (s *DataQualityBaselineConfig) Validate() error { 37464 invalidParams := request.ErrInvalidParams{Context: "DataQualityBaselineConfig"} 37465 if s.BaseliningJobName != nil && len(*s.BaseliningJobName) < 1 { 37466 invalidParams.Add(request.NewErrParamMinLen("BaseliningJobName", 1)) 37467 } 37468 37469 if invalidParams.Len() > 0 { 37470 return invalidParams 37471 } 37472 return nil 37473 } 37474 37475 // SetBaseliningJobName sets the BaseliningJobName field's value. 37476 func (s *DataQualityBaselineConfig) SetBaseliningJobName(v string) *DataQualityBaselineConfig { 37477 s.BaseliningJobName = &v 37478 return s 37479 } 37480 37481 // SetConstraintsResource sets the ConstraintsResource field's value. 37482 func (s *DataQualityBaselineConfig) SetConstraintsResource(v *MonitoringConstraintsResource) *DataQualityBaselineConfig { 37483 s.ConstraintsResource = v 37484 return s 37485 } 37486 37487 // SetStatisticsResource sets the StatisticsResource field's value. 37488 func (s *DataQualityBaselineConfig) SetStatisticsResource(v *MonitoringStatisticsResource) *DataQualityBaselineConfig { 37489 s.StatisticsResource = v 37490 return s 37491 } 37492 37493 // The input for the data quality monitoring job. Currently endpoints are supported 37494 // for input. 37495 type DataQualityJobInput struct { 37496 _ struct{} `type:"structure"` 37497 37498 // Input object for the endpoint 37499 // 37500 // EndpointInput is a required field 37501 EndpointInput *EndpointInput `type:"structure" required:"true"` 37502 } 37503 37504 // String returns the string representation. 37505 // 37506 // API parameter values that are decorated as "sensitive" in the API will not 37507 // be included in the string output. The member name will be present, but the 37508 // value will be replaced with "sensitive". 37509 func (s DataQualityJobInput) String() string { 37510 return awsutil.Prettify(s) 37511 } 37512 37513 // GoString returns the string representation. 37514 // 37515 // API parameter values that are decorated as "sensitive" in the API will not 37516 // be included in the string output. The member name will be present, but the 37517 // value will be replaced with "sensitive". 37518 func (s DataQualityJobInput) GoString() string { 37519 return s.String() 37520 } 37521 37522 // Validate inspects the fields of the type to determine if they are valid. 37523 func (s *DataQualityJobInput) Validate() error { 37524 invalidParams := request.ErrInvalidParams{Context: "DataQualityJobInput"} 37525 if s.EndpointInput == nil { 37526 invalidParams.Add(request.NewErrParamRequired("EndpointInput")) 37527 } 37528 if s.EndpointInput != nil { 37529 if err := s.EndpointInput.Validate(); err != nil { 37530 invalidParams.AddNested("EndpointInput", err.(request.ErrInvalidParams)) 37531 } 37532 } 37533 37534 if invalidParams.Len() > 0 { 37535 return invalidParams 37536 } 37537 return nil 37538 } 37539 37540 // SetEndpointInput sets the EndpointInput field's value. 37541 func (s *DataQualityJobInput) SetEndpointInput(v *EndpointInput) *DataQualityJobInput { 37542 s.EndpointInput = v 37543 return s 37544 } 37545 37546 // Describes the location of the channel data. 37547 type DataSource struct { 37548 _ struct{} `type:"structure"` 37549 37550 // The file system that is associated with a channel. 37551 FileSystemDataSource *FileSystemDataSource `type:"structure"` 37552 37553 // The S3 location of the data source that is associated with a channel. 37554 S3DataSource *S3DataSource `type:"structure"` 37555 } 37556 37557 // String returns the string representation. 37558 // 37559 // API parameter values that are decorated as "sensitive" in the API will not 37560 // be included in the string output. The member name will be present, but the 37561 // value will be replaced with "sensitive". 37562 func (s DataSource) String() string { 37563 return awsutil.Prettify(s) 37564 } 37565 37566 // GoString returns the string representation. 37567 // 37568 // API parameter values that are decorated as "sensitive" in the API will not 37569 // be included in the string output. The member name will be present, but the 37570 // value will be replaced with "sensitive". 37571 func (s DataSource) GoString() string { 37572 return s.String() 37573 } 37574 37575 // Validate inspects the fields of the type to determine if they are valid. 37576 func (s *DataSource) Validate() error { 37577 invalidParams := request.ErrInvalidParams{Context: "DataSource"} 37578 if s.FileSystemDataSource != nil { 37579 if err := s.FileSystemDataSource.Validate(); err != nil { 37580 invalidParams.AddNested("FileSystemDataSource", err.(request.ErrInvalidParams)) 37581 } 37582 } 37583 if s.S3DataSource != nil { 37584 if err := s.S3DataSource.Validate(); err != nil { 37585 invalidParams.AddNested("S3DataSource", err.(request.ErrInvalidParams)) 37586 } 37587 } 37588 37589 if invalidParams.Len() > 0 { 37590 return invalidParams 37591 } 37592 return nil 37593 } 37594 37595 // SetFileSystemDataSource sets the FileSystemDataSource field's value. 37596 func (s *DataSource) SetFileSystemDataSource(v *FileSystemDataSource) *DataSource { 37597 s.FileSystemDataSource = v 37598 return s 37599 } 37600 37601 // SetS3DataSource sets the S3DataSource field's value. 37602 func (s *DataSource) SetS3DataSource(v *S3DataSource) *DataSource { 37603 s.S3DataSource = v 37604 return s 37605 } 37606 37607 // Configuration for Dataset Definition inputs. The Dataset Definition input 37608 // must specify exactly one of either AthenaDatasetDefinition or RedshiftDatasetDefinition 37609 // types. 37610 type DatasetDefinition struct { 37611 _ struct{} `type:"structure"` 37612 37613 // Configuration for Athena Dataset Definition input. 37614 AthenaDatasetDefinition *AthenaDatasetDefinition `type:"structure"` 37615 37616 // Whether the generated dataset is FullyReplicated or ShardedByS3Key (default). 37617 DataDistributionType *string `type:"string" enum:"DataDistributionType"` 37618 37619 // Whether to use File or Pipe input mode. In File (default) mode, Amazon SageMaker 37620 // copies the data from the input source onto the local Amazon Elastic Block 37621 // Store (Amazon EBS) volumes before starting your training algorithm. This 37622 // is the most commonly used input mode. In Pipe mode, Amazon SageMaker streams 37623 // input data from the source directly to your algorithm without using the EBS 37624 // volume. 37625 InputMode *string `type:"string" enum:"InputMode"` 37626 37627 // The local path where you want Amazon SageMaker to download the Dataset Definition 37628 // inputs to run a processing job. LocalPath is an absolute path to the input 37629 // data. This is a required parameter when AppManaged is False (default). 37630 LocalPath *string `type:"string"` 37631 37632 // Configuration for Redshift Dataset Definition input. 37633 RedshiftDatasetDefinition *RedshiftDatasetDefinition `type:"structure"` 37634 } 37635 37636 // String returns the string representation. 37637 // 37638 // API parameter values that are decorated as "sensitive" in the API will not 37639 // be included in the string output. The member name will be present, but the 37640 // value will be replaced with "sensitive". 37641 func (s DatasetDefinition) String() string { 37642 return awsutil.Prettify(s) 37643 } 37644 37645 // GoString returns the string representation. 37646 // 37647 // API parameter values that are decorated as "sensitive" in the API will not 37648 // be included in the string output. The member name will be present, but the 37649 // value will be replaced with "sensitive". 37650 func (s DatasetDefinition) GoString() string { 37651 return s.String() 37652 } 37653 37654 // Validate inspects the fields of the type to determine if they are valid. 37655 func (s *DatasetDefinition) Validate() error { 37656 invalidParams := request.ErrInvalidParams{Context: "DatasetDefinition"} 37657 if s.AthenaDatasetDefinition != nil { 37658 if err := s.AthenaDatasetDefinition.Validate(); err != nil { 37659 invalidParams.AddNested("AthenaDatasetDefinition", err.(request.ErrInvalidParams)) 37660 } 37661 } 37662 if s.RedshiftDatasetDefinition != nil { 37663 if err := s.RedshiftDatasetDefinition.Validate(); err != nil { 37664 invalidParams.AddNested("RedshiftDatasetDefinition", err.(request.ErrInvalidParams)) 37665 } 37666 } 37667 37668 if invalidParams.Len() > 0 { 37669 return invalidParams 37670 } 37671 return nil 37672 } 37673 37674 // SetAthenaDatasetDefinition sets the AthenaDatasetDefinition field's value. 37675 func (s *DatasetDefinition) SetAthenaDatasetDefinition(v *AthenaDatasetDefinition) *DatasetDefinition { 37676 s.AthenaDatasetDefinition = v 37677 return s 37678 } 37679 37680 // SetDataDistributionType sets the DataDistributionType field's value. 37681 func (s *DatasetDefinition) SetDataDistributionType(v string) *DatasetDefinition { 37682 s.DataDistributionType = &v 37683 return s 37684 } 37685 37686 // SetInputMode sets the InputMode field's value. 37687 func (s *DatasetDefinition) SetInputMode(v string) *DatasetDefinition { 37688 s.InputMode = &v 37689 return s 37690 } 37691 37692 // SetLocalPath sets the LocalPath field's value. 37693 func (s *DatasetDefinition) SetLocalPath(v string) *DatasetDefinition { 37694 s.LocalPath = &v 37695 return s 37696 } 37697 37698 // SetRedshiftDatasetDefinition sets the RedshiftDatasetDefinition field's value. 37699 func (s *DatasetDefinition) SetRedshiftDatasetDefinition(v *RedshiftDatasetDefinition) *DatasetDefinition { 37700 s.RedshiftDatasetDefinition = v 37701 return s 37702 } 37703 37704 // Configuration information for the Debugger hook parameters, metric and tensor 37705 // collections, and storage paths. To learn more about how to configure the 37706 // DebugHookConfig parameter, see Use the SageMaker and Debugger Configuration 37707 // API Operations to Create, Update, and Debug Your Training Job (https://docs.aws.amazon.com/sagemaker/latest/dg/debugger-createtrainingjob-api.html). 37708 type DebugHookConfig struct { 37709 _ struct{} `type:"structure"` 37710 37711 // Configuration information for Debugger tensor collections. To learn more 37712 // about how to configure the CollectionConfiguration parameter, see Use the 37713 // SageMaker and Debugger Configuration API Operations to Create, Update, and 37714 // Debug Your Training Job (https://docs.aws.amazon.com/sagemaker/latest/dg/debugger-createtrainingjob-api.html). 37715 CollectionConfigurations []*CollectionConfiguration `type:"list"` 37716 37717 // Configuration information for the Debugger hook parameters. 37718 HookParameters map[string]*string `type:"map"` 37719 37720 // Path to local storage location for metrics and tensors. Defaults to /opt/ml/output/tensors/. 37721 LocalPath *string `type:"string"` 37722 37723 // Path to Amazon S3 storage location for metrics and tensors. 37724 // 37725 // S3OutputPath is a required field 37726 S3OutputPath *string `type:"string" required:"true"` 37727 } 37728 37729 // String returns the string representation. 37730 // 37731 // API parameter values that are decorated as "sensitive" in the API will not 37732 // be included in the string output. The member name will be present, but the 37733 // value will be replaced with "sensitive". 37734 func (s DebugHookConfig) String() string { 37735 return awsutil.Prettify(s) 37736 } 37737 37738 // GoString returns the string representation. 37739 // 37740 // API parameter values that are decorated as "sensitive" in the API will not 37741 // be included in the string output. The member name will be present, but the 37742 // value will be replaced with "sensitive". 37743 func (s DebugHookConfig) GoString() string { 37744 return s.String() 37745 } 37746 37747 // Validate inspects the fields of the type to determine if they are valid. 37748 func (s *DebugHookConfig) Validate() error { 37749 invalidParams := request.ErrInvalidParams{Context: "DebugHookConfig"} 37750 if s.S3OutputPath == nil { 37751 invalidParams.Add(request.NewErrParamRequired("S3OutputPath")) 37752 } 37753 if s.CollectionConfigurations != nil { 37754 for i, v := range s.CollectionConfigurations { 37755 if v == nil { 37756 continue 37757 } 37758 if err := v.Validate(); err != nil { 37759 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CollectionConfigurations", i), err.(request.ErrInvalidParams)) 37760 } 37761 } 37762 } 37763 37764 if invalidParams.Len() > 0 { 37765 return invalidParams 37766 } 37767 return nil 37768 } 37769 37770 // SetCollectionConfigurations sets the CollectionConfigurations field's value. 37771 func (s *DebugHookConfig) SetCollectionConfigurations(v []*CollectionConfiguration) *DebugHookConfig { 37772 s.CollectionConfigurations = v 37773 return s 37774 } 37775 37776 // SetHookParameters sets the HookParameters field's value. 37777 func (s *DebugHookConfig) SetHookParameters(v map[string]*string) *DebugHookConfig { 37778 s.HookParameters = v 37779 return s 37780 } 37781 37782 // SetLocalPath sets the LocalPath field's value. 37783 func (s *DebugHookConfig) SetLocalPath(v string) *DebugHookConfig { 37784 s.LocalPath = &v 37785 return s 37786 } 37787 37788 // SetS3OutputPath sets the S3OutputPath field's value. 37789 func (s *DebugHookConfig) SetS3OutputPath(v string) *DebugHookConfig { 37790 s.S3OutputPath = &v 37791 return s 37792 } 37793 37794 // Configuration information for SageMaker Debugger rules for debugging. To 37795 // learn more about how to configure the DebugRuleConfiguration parameter, see 37796 // Use the SageMaker and Debugger Configuration API Operations to Create, Update, 37797 // and Debug Your Training Job (https://docs.aws.amazon.com/sagemaker/latest/dg/debugger-createtrainingjob-api.html). 37798 type DebugRuleConfiguration struct { 37799 _ struct{} `type:"structure"` 37800 37801 // The instance type to deploy a Debugger custom rule for debugging a training 37802 // job. 37803 InstanceType *string `type:"string" enum:"ProcessingInstanceType"` 37804 37805 // Path to local storage location for output of rules. Defaults to /opt/ml/processing/output/rule/. 37806 LocalPath *string `type:"string"` 37807 37808 // The name of the rule configuration. It must be unique relative to other rule 37809 // configuration names. 37810 // 37811 // RuleConfigurationName is a required field 37812 RuleConfigurationName *string `min:"1" type:"string" required:"true"` 37813 37814 // The Amazon Elastic Container (ECR) Image for the managed rule evaluation. 37815 // 37816 // RuleEvaluatorImage is a required field 37817 RuleEvaluatorImage *string `type:"string" required:"true"` 37818 37819 // Runtime configuration for rule container. 37820 RuleParameters map[string]*string `type:"map"` 37821 37822 // Path to Amazon S3 storage location for rules. 37823 S3OutputPath *string `type:"string"` 37824 37825 // The size, in GB, of the ML storage volume attached to the processing instance. 37826 VolumeSizeInGB *int64 `type:"integer"` 37827 } 37828 37829 // String returns the string representation. 37830 // 37831 // API parameter values that are decorated as "sensitive" in the API will not 37832 // be included in the string output. The member name will be present, but the 37833 // value will be replaced with "sensitive". 37834 func (s DebugRuleConfiguration) String() string { 37835 return awsutil.Prettify(s) 37836 } 37837 37838 // GoString returns the string representation. 37839 // 37840 // API parameter values that are decorated as "sensitive" in the API will not 37841 // be included in the string output. The member name will be present, but the 37842 // value will be replaced with "sensitive". 37843 func (s DebugRuleConfiguration) GoString() string { 37844 return s.String() 37845 } 37846 37847 // Validate inspects the fields of the type to determine if they are valid. 37848 func (s *DebugRuleConfiguration) Validate() error { 37849 invalidParams := request.ErrInvalidParams{Context: "DebugRuleConfiguration"} 37850 if s.RuleConfigurationName == nil { 37851 invalidParams.Add(request.NewErrParamRequired("RuleConfigurationName")) 37852 } 37853 if s.RuleConfigurationName != nil && len(*s.RuleConfigurationName) < 1 { 37854 invalidParams.Add(request.NewErrParamMinLen("RuleConfigurationName", 1)) 37855 } 37856 if s.RuleEvaluatorImage == nil { 37857 invalidParams.Add(request.NewErrParamRequired("RuleEvaluatorImage")) 37858 } 37859 37860 if invalidParams.Len() > 0 { 37861 return invalidParams 37862 } 37863 return nil 37864 } 37865 37866 // SetInstanceType sets the InstanceType field's value. 37867 func (s *DebugRuleConfiguration) SetInstanceType(v string) *DebugRuleConfiguration { 37868 s.InstanceType = &v 37869 return s 37870 } 37871 37872 // SetLocalPath sets the LocalPath field's value. 37873 func (s *DebugRuleConfiguration) SetLocalPath(v string) *DebugRuleConfiguration { 37874 s.LocalPath = &v 37875 return s 37876 } 37877 37878 // SetRuleConfigurationName sets the RuleConfigurationName field's value. 37879 func (s *DebugRuleConfiguration) SetRuleConfigurationName(v string) *DebugRuleConfiguration { 37880 s.RuleConfigurationName = &v 37881 return s 37882 } 37883 37884 // SetRuleEvaluatorImage sets the RuleEvaluatorImage field's value. 37885 func (s *DebugRuleConfiguration) SetRuleEvaluatorImage(v string) *DebugRuleConfiguration { 37886 s.RuleEvaluatorImage = &v 37887 return s 37888 } 37889 37890 // SetRuleParameters sets the RuleParameters field's value. 37891 func (s *DebugRuleConfiguration) SetRuleParameters(v map[string]*string) *DebugRuleConfiguration { 37892 s.RuleParameters = v 37893 return s 37894 } 37895 37896 // SetS3OutputPath sets the S3OutputPath field's value. 37897 func (s *DebugRuleConfiguration) SetS3OutputPath(v string) *DebugRuleConfiguration { 37898 s.S3OutputPath = &v 37899 return s 37900 } 37901 37902 // SetVolumeSizeInGB sets the VolumeSizeInGB field's value. 37903 func (s *DebugRuleConfiguration) SetVolumeSizeInGB(v int64) *DebugRuleConfiguration { 37904 s.VolumeSizeInGB = &v 37905 return s 37906 } 37907 37908 // Information about the status of the rule evaluation. 37909 type DebugRuleEvaluationStatus struct { 37910 _ struct{} `type:"structure"` 37911 37912 // Timestamp when the rule evaluation status was last modified. 37913 LastModifiedTime *time.Time `type:"timestamp"` 37914 37915 // The name of the rule configuration. 37916 RuleConfigurationName *string `min:"1" type:"string"` 37917 37918 // The Amazon Resource Name (ARN) of the rule evaluation job. 37919 RuleEvaluationJobArn *string `type:"string"` 37920 37921 // Status of the rule evaluation. 37922 RuleEvaluationStatus *string `type:"string" enum:"RuleEvaluationStatus"` 37923 37924 // Details from the rule evaluation. 37925 StatusDetails *string `type:"string"` 37926 } 37927 37928 // String returns the string representation. 37929 // 37930 // API parameter values that are decorated as "sensitive" in the API will not 37931 // be included in the string output. The member name will be present, but the 37932 // value will be replaced with "sensitive". 37933 func (s DebugRuleEvaluationStatus) String() string { 37934 return awsutil.Prettify(s) 37935 } 37936 37937 // GoString returns the string representation. 37938 // 37939 // API parameter values that are decorated as "sensitive" in the API will not 37940 // be included in the string output. The member name will be present, but the 37941 // value will be replaced with "sensitive". 37942 func (s DebugRuleEvaluationStatus) GoString() string { 37943 return s.String() 37944 } 37945 37946 // SetLastModifiedTime sets the LastModifiedTime field's value. 37947 func (s *DebugRuleEvaluationStatus) SetLastModifiedTime(v time.Time) *DebugRuleEvaluationStatus { 37948 s.LastModifiedTime = &v 37949 return s 37950 } 37951 37952 // SetRuleConfigurationName sets the RuleConfigurationName field's value. 37953 func (s *DebugRuleEvaluationStatus) SetRuleConfigurationName(v string) *DebugRuleEvaluationStatus { 37954 s.RuleConfigurationName = &v 37955 return s 37956 } 37957 37958 // SetRuleEvaluationJobArn sets the RuleEvaluationJobArn field's value. 37959 func (s *DebugRuleEvaluationStatus) SetRuleEvaluationJobArn(v string) *DebugRuleEvaluationStatus { 37960 s.RuleEvaluationJobArn = &v 37961 return s 37962 } 37963 37964 // SetRuleEvaluationStatus sets the RuleEvaluationStatus field's value. 37965 func (s *DebugRuleEvaluationStatus) SetRuleEvaluationStatus(v string) *DebugRuleEvaluationStatus { 37966 s.RuleEvaluationStatus = &v 37967 return s 37968 } 37969 37970 // SetStatusDetails sets the StatusDetails field's value. 37971 func (s *DebugRuleEvaluationStatus) SetStatusDetails(v string) *DebugRuleEvaluationStatus { 37972 s.StatusDetails = &v 37973 return s 37974 } 37975 37976 type DeleteActionInput struct { 37977 _ struct{} `type:"structure"` 37978 37979 // The name of the action to delete. 37980 // 37981 // ActionName is a required field 37982 ActionName *string `min:"1" type:"string" required:"true"` 37983 } 37984 37985 // String returns the string representation. 37986 // 37987 // API parameter values that are decorated as "sensitive" in the API will not 37988 // be included in the string output. The member name will be present, but the 37989 // value will be replaced with "sensitive". 37990 func (s DeleteActionInput) String() string { 37991 return awsutil.Prettify(s) 37992 } 37993 37994 // GoString returns the string representation. 37995 // 37996 // API parameter values that are decorated as "sensitive" in the API will not 37997 // be included in the string output. The member name will be present, but the 37998 // value will be replaced with "sensitive". 37999 func (s DeleteActionInput) GoString() string { 38000 return s.String() 38001 } 38002 38003 // Validate inspects the fields of the type to determine if they are valid. 38004 func (s *DeleteActionInput) Validate() error { 38005 invalidParams := request.ErrInvalidParams{Context: "DeleteActionInput"} 38006 if s.ActionName == nil { 38007 invalidParams.Add(request.NewErrParamRequired("ActionName")) 38008 } 38009 if s.ActionName != nil && len(*s.ActionName) < 1 { 38010 invalidParams.Add(request.NewErrParamMinLen("ActionName", 1)) 38011 } 38012 38013 if invalidParams.Len() > 0 { 38014 return invalidParams 38015 } 38016 return nil 38017 } 38018 38019 // SetActionName sets the ActionName field's value. 38020 func (s *DeleteActionInput) SetActionName(v string) *DeleteActionInput { 38021 s.ActionName = &v 38022 return s 38023 } 38024 38025 type DeleteActionOutput struct { 38026 _ struct{} `type:"structure"` 38027 38028 // The Amazon Resource Name (ARN) of the action. 38029 ActionArn *string `type:"string"` 38030 } 38031 38032 // String returns the string representation. 38033 // 38034 // API parameter values that are decorated as "sensitive" in the API will not 38035 // be included in the string output. The member name will be present, but the 38036 // value will be replaced with "sensitive". 38037 func (s DeleteActionOutput) String() string { 38038 return awsutil.Prettify(s) 38039 } 38040 38041 // GoString returns the string representation. 38042 // 38043 // API parameter values that are decorated as "sensitive" in the API will not 38044 // be included in the string output. The member name will be present, but the 38045 // value will be replaced with "sensitive". 38046 func (s DeleteActionOutput) GoString() string { 38047 return s.String() 38048 } 38049 38050 // SetActionArn sets the ActionArn field's value. 38051 func (s *DeleteActionOutput) SetActionArn(v string) *DeleteActionOutput { 38052 s.ActionArn = &v 38053 return s 38054 } 38055 38056 type DeleteAlgorithmInput struct { 38057 _ struct{} `type:"structure"` 38058 38059 // The name of the algorithm to delete. 38060 // 38061 // AlgorithmName is a required field 38062 AlgorithmName *string `min:"1" type:"string" required:"true"` 38063 } 38064 38065 // String returns the string representation. 38066 // 38067 // API parameter values that are decorated as "sensitive" in the API will not 38068 // be included in the string output. The member name will be present, but the 38069 // value will be replaced with "sensitive". 38070 func (s DeleteAlgorithmInput) String() string { 38071 return awsutil.Prettify(s) 38072 } 38073 38074 // GoString returns the string representation. 38075 // 38076 // API parameter values that are decorated as "sensitive" in the API will not 38077 // be included in the string output. The member name will be present, but the 38078 // value will be replaced with "sensitive". 38079 func (s DeleteAlgorithmInput) GoString() string { 38080 return s.String() 38081 } 38082 38083 // Validate inspects the fields of the type to determine if they are valid. 38084 func (s *DeleteAlgorithmInput) Validate() error { 38085 invalidParams := request.ErrInvalidParams{Context: "DeleteAlgorithmInput"} 38086 if s.AlgorithmName == nil { 38087 invalidParams.Add(request.NewErrParamRequired("AlgorithmName")) 38088 } 38089 if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 { 38090 invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1)) 38091 } 38092 38093 if invalidParams.Len() > 0 { 38094 return invalidParams 38095 } 38096 return nil 38097 } 38098 38099 // SetAlgorithmName sets the AlgorithmName field's value. 38100 func (s *DeleteAlgorithmInput) SetAlgorithmName(v string) *DeleteAlgorithmInput { 38101 s.AlgorithmName = &v 38102 return s 38103 } 38104 38105 type DeleteAlgorithmOutput struct { 38106 _ struct{} `type:"structure"` 38107 } 38108 38109 // String returns the string representation. 38110 // 38111 // API parameter values that are decorated as "sensitive" in the API will not 38112 // be included in the string output. The member name will be present, but the 38113 // value will be replaced with "sensitive". 38114 func (s DeleteAlgorithmOutput) String() string { 38115 return awsutil.Prettify(s) 38116 } 38117 38118 // GoString returns the string representation. 38119 // 38120 // API parameter values that are decorated as "sensitive" in the API will not 38121 // be included in the string output. The member name will be present, but the 38122 // value will be replaced with "sensitive". 38123 func (s DeleteAlgorithmOutput) GoString() string { 38124 return s.String() 38125 } 38126 38127 type DeleteAppImageConfigInput struct { 38128 _ struct{} `type:"structure"` 38129 38130 // The name of the AppImageConfig to delete. 38131 // 38132 // AppImageConfigName is a required field 38133 AppImageConfigName *string `type:"string" required:"true"` 38134 } 38135 38136 // String returns the string representation. 38137 // 38138 // API parameter values that are decorated as "sensitive" in the API will not 38139 // be included in the string output. The member name will be present, but the 38140 // value will be replaced with "sensitive". 38141 func (s DeleteAppImageConfigInput) String() string { 38142 return awsutil.Prettify(s) 38143 } 38144 38145 // GoString returns the string representation. 38146 // 38147 // API parameter values that are decorated as "sensitive" in the API will not 38148 // be included in the string output. The member name will be present, but the 38149 // value will be replaced with "sensitive". 38150 func (s DeleteAppImageConfigInput) GoString() string { 38151 return s.String() 38152 } 38153 38154 // Validate inspects the fields of the type to determine if they are valid. 38155 func (s *DeleteAppImageConfigInput) Validate() error { 38156 invalidParams := request.ErrInvalidParams{Context: "DeleteAppImageConfigInput"} 38157 if s.AppImageConfigName == nil { 38158 invalidParams.Add(request.NewErrParamRequired("AppImageConfigName")) 38159 } 38160 38161 if invalidParams.Len() > 0 { 38162 return invalidParams 38163 } 38164 return nil 38165 } 38166 38167 // SetAppImageConfigName sets the AppImageConfigName field's value. 38168 func (s *DeleteAppImageConfigInput) SetAppImageConfigName(v string) *DeleteAppImageConfigInput { 38169 s.AppImageConfigName = &v 38170 return s 38171 } 38172 38173 type DeleteAppImageConfigOutput struct { 38174 _ struct{} `type:"structure"` 38175 } 38176 38177 // String returns the string representation. 38178 // 38179 // API parameter values that are decorated as "sensitive" in the API will not 38180 // be included in the string output. The member name will be present, but the 38181 // value will be replaced with "sensitive". 38182 func (s DeleteAppImageConfigOutput) String() string { 38183 return awsutil.Prettify(s) 38184 } 38185 38186 // GoString returns the string representation. 38187 // 38188 // API parameter values that are decorated as "sensitive" in the API will not 38189 // be included in the string output. The member name will be present, but the 38190 // value will be replaced with "sensitive". 38191 func (s DeleteAppImageConfigOutput) GoString() string { 38192 return s.String() 38193 } 38194 38195 type DeleteAppInput struct { 38196 _ struct{} `type:"structure"` 38197 38198 // The name of the app. 38199 // 38200 // AppName is a required field 38201 AppName *string `type:"string" required:"true"` 38202 38203 // The type of app. 38204 // 38205 // AppType is a required field 38206 AppType *string `type:"string" required:"true" enum:"AppType"` 38207 38208 // The domain ID. 38209 // 38210 // DomainId is a required field 38211 DomainId *string `type:"string" required:"true"` 38212 38213 // The user profile name. 38214 // 38215 // UserProfileName is a required field 38216 UserProfileName *string `type:"string" required:"true"` 38217 } 38218 38219 // String returns the string representation. 38220 // 38221 // API parameter values that are decorated as "sensitive" in the API will not 38222 // be included in the string output. The member name will be present, but the 38223 // value will be replaced with "sensitive". 38224 func (s DeleteAppInput) String() string { 38225 return awsutil.Prettify(s) 38226 } 38227 38228 // GoString returns the string representation. 38229 // 38230 // API parameter values that are decorated as "sensitive" in the API will not 38231 // be included in the string output. The member name will be present, but the 38232 // value will be replaced with "sensitive". 38233 func (s DeleteAppInput) GoString() string { 38234 return s.String() 38235 } 38236 38237 // Validate inspects the fields of the type to determine if they are valid. 38238 func (s *DeleteAppInput) Validate() error { 38239 invalidParams := request.ErrInvalidParams{Context: "DeleteAppInput"} 38240 if s.AppName == nil { 38241 invalidParams.Add(request.NewErrParamRequired("AppName")) 38242 } 38243 if s.AppType == nil { 38244 invalidParams.Add(request.NewErrParamRequired("AppType")) 38245 } 38246 if s.DomainId == nil { 38247 invalidParams.Add(request.NewErrParamRequired("DomainId")) 38248 } 38249 if s.UserProfileName == nil { 38250 invalidParams.Add(request.NewErrParamRequired("UserProfileName")) 38251 } 38252 38253 if invalidParams.Len() > 0 { 38254 return invalidParams 38255 } 38256 return nil 38257 } 38258 38259 // SetAppName sets the AppName field's value. 38260 func (s *DeleteAppInput) SetAppName(v string) *DeleteAppInput { 38261 s.AppName = &v 38262 return s 38263 } 38264 38265 // SetAppType sets the AppType field's value. 38266 func (s *DeleteAppInput) SetAppType(v string) *DeleteAppInput { 38267 s.AppType = &v 38268 return s 38269 } 38270 38271 // SetDomainId sets the DomainId field's value. 38272 func (s *DeleteAppInput) SetDomainId(v string) *DeleteAppInput { 38273 s.DomainId = &v 38274 return s 38275 } 38276 38277 // SetUserProfileName sets the UserProfileName field's value. 38278 func (s *DeleteAppInput) SetUserProfileName(v string) *DeleteAppInput { 38279 s.UserProfileName = &v 38280 return s 38281 } 38282 38283 type DeleteAppOutput struct { 38284 _ struct{} `type:"structure"` 38285 } 38286 38287 // String returns the string representation. 38288 // 38289 // API parameter values that are decorated as "sensitive" in the API will not 38290 // be included in the string output. The member name will be present, but the 38291 // value will be replaced with "sensitive". 38292 func (s DeleteAppOutput) String() string { 38293 return awsutil.Prettify(s) 38294 } 38295 38296 // GoString returns the string representation. 38297 // 38298 // API parameter values that are decorated as "sensitive" in the API will not 38299 // be included in the string output. The member name will be present, but the 38300 // value will be replaced with "sensitive". 38301 func (s DeleteAppOutput) GoString() string { 38302 return s.String() 38303 } 38304 38305 type DeleteArtifactInput struct { 38306 _ struct{} `type:"structure"` 38307 38308 // The Amazon Resource Name (ARN) of the artifact to delete. 38309 ArtifactArn *string `type:"string"` 38310 38311 // The URI of the source. 38312 Source *ArtifactSource `type:"structure"` 38313 } 38314 38315 // String returns the string representation. 38316 // 38317 // API parameter values that are decorated as "sensitive" in the API will not 38318 // be included in the string output. The member name will be present, but the 38319 // value will be replaced with "sensitive". 38320 func (s DeleteArtifactInput) String() string { 38321 return awsutil.Prettify(s) 38322 } 38323 38324 // GoString returns the string representation. 38325 // 38326 // API parameter values that are decorated as "sensitive" in the API will not 38327 // be included in the string output. The member name will be present, but the 38328 // value will be replaced with "sensitive". 38329 func (s DeleteArtifactInput) GoString() string { 38330 return s.String() 38331 } 38332 38333 // Validate inspects the fields of the type to determine if they are valid. 38334 func (s *DeleteArtifactInput) Validate() error { 38335 invalidParams := request.ErrInvalidParams{Context: "DeleteArtifactInput"} 38336 if s.Source != nil { 38337 if err := s.Source.Validate(); err != nil { 38338 invalidParams.AddNested("Source", err.(request.ErrInvalidParams)) 38339 } 38340 } 38341 38342 if invalidParams.Len() > 0 { 38343 return invalidParams 38344 } 38345 return nil 38346 } 38347 38348 // SetArtifactArn sets the ArtifactArn field's value. 38349 func (s *DeleteArtifactInput) SetArtifactArn(v string) *DeleteArtifactInput { 38350 s.ArtifactArn = &v 38351 return s 38352 } 38353 38354 // SetSource sets the Source field's value. 38355 func (s *DeleteArtifactInput) SetSource(v *ArtifactSource) *DeleteArtifactInput { 38356 s.Source = v 38357 return s 38358 } 38359 38360 type DeleteArtifactOutput struct { 38361 _ struct{} `type:"structure"` 38362 38363 // The Amazon Resource Name (ARN) of the artifact. 38364 ArtifactArn *string `type:"string"` 38365 } 38366 38367 // String returns the string representation. 38368 // 38369 // API parameter values that are decorated as "sensitive" in the API will not 38370 // be included in the string output. The member name will be present, but the 38371 // value will be replaced with "sensitive". 38372 func (s DeleteArtifactOutput) String() string { 38373 return awsutil.Prettify(s) 38374 } 38375 38376 // GoString returns the string representation. 38377 // 38378 // API parameter values that are decorated as "sensitive" in the API will not 38379 // be included in the string output. The member name will be present, but the 38380 // value will be replaced with "sensitive". 38381 func (s DeleteArtifactOutput) GoString() string { 38382 return s.String() 38383 } 38384 38385 // SetArtifactArn sets the ArtifactArn field's value. 38386 func (s *DeleteArtifactOutput) SetArtifactArn(v string) *DeleteArtifactOutput { 38387 s.ArtifactArn = &v 38388 return s 38389 } 38390 38391 type DeleteAssociationInput struct { 38392 _ struct{} `type:"structure"` 38393 38394 // The Amazon Resource Name (ARN) of the destination. 38395 // 38396 // DestinationArn is a required field 38397 DestinationArn *string `type:"string" required:"true"` 38398 38399 // The ARN of the source. 38400 // 38401 // SourceArn is a required field 38402 SourceArn *string `type:"string" required:"true"` 38403 } 38404 38405 // String returns the string representation. 38406 // 38407 // API parameter values that are decorated as "sensitive" in the API will not 38408 // be included in the string output. The member name will be present, but the 38409 // value will be replaced with "sensitive". 38410 func (s DeleteAssociationInput) String() string { 38411 return awsutil.Prettify(s) 38412 } 38413 38414 // GoString returns the string representation. 38415 // 38416 // API parameter values that are decorated as "sensitive" in the API will not 38417 // be included in the string output. The member name will be present, but the 38418 // value will be replaced with "sensitive". 38419 func (s DeleteAssociationInput) GoString() string { 38420 return s.String() 38421 } 38422 38423 // Validate inspects the fields of the type to determine if they are valid. 38424 func (s *DeleteAssociationInput) Validate() error { 38425 invalidParams := request.ErrInvalidParams{Context: "DeleteAssociationInput"} 38426 if s.DestinationArn == nil { 38427 invalidParams.Add(request.NewErrParamRequired("DestinationArn")) 38428 } 38429 if s.SourceArn == nil { 38430 invalidParams.Add(request.NewErrParamRequired("SourceArn")) 38431 } 38432 38433 if invalidParams.Len() > 0 { 38434 return invalidParams 38435 } 38436 return nil 38437 } 38438 38439 // SetDestinationArn sets the DestinationArn field's value. 38440 func (s *DeleteAssociationInput) SetDestinationArn(v string) *DeleteAssociationInput { 38441 s.DestinationArn = &v 38442 return s 38443 } 38444 38445 // SetSourceArn sets the SourceArn field's value. 38446 func (s *DeleteAssociationInput) SetSourceArn(v string) *DeleteAssociationInput { 38447 s.SourceArn = &v 38448 return s 38449 } 38450 38451 type DeleteAssociationOutput struct { 38452 _ struct{} `type:"structure"` 38453 38454 // The Amazon Resource Name (ARN) of the destination. 38455 DestinationArn *string `type:"string"` 38456 38457 // The ARN of the source. 38458 SourceArn *string `type:"string"` 38459 } 38460 38461 // String returns the string representation. 38462 // 38463 // API parameter values that are decorated as "sensitive" in the API will not 38464 // be included in the string output. The member name will be present, but the 38465 // value will be replaced with "sensitive". 38466 func (s DeleteAssociationOutput) String() string { 38467 return awsutil.Prettify(s) 38468 } 38469 38470 // GoString returns the string representation. 38471 // 38472 // API parameter values that are decorated as "sensitive" in the API will not 38473 // be included in the string output. The member name will be present, but the 38474 // value will be replaced with "sensitive". 38475 func (s DeleteAssociationOutput) GoString() string { 38476 return s.String() 38477 } 38478 38479 // SetDestinationArn sets the DestinationArn field's value. 38480 func (s *DeleteAssociationOutput) SetDestinationArn(v string) *DeleteAssociationOutput { 38481 s.DestinationArn = &v 38482 return s 38483 } 38484 38485 // SetSourceArn sets the SourceArn field's value. 38486 func (s *DeleteAssociationOutput) SetSourceArn(v string) *DeleteAssociationOutput { 38487 s.SourceArn = &v 38488 return s 38489 } 38490 38491 type DeleteCodeRepositoryInput struct { 38492 _ struct{} `type:"structure"` 38493 38494 // The name of the Git repository to delete. 38495 // 38496 // CodeRepositoryName is a required field 38497 CodeRepositoryName *string `min:"1" type:"string" required:"true"` 38498 } 38499 38500 // String returns the string representation. 38501 // 38502 // API parameter values that are decorated as "sensitive" in the API will not 38503 // be included in the string output. The member name will be present, but the 38504 // value will be replaced with "sensitive". 38505 func (s DeleteCodeRepositoryInput) String() string { 38506 return awsutil.Prettify(s) 38507 } 38508 38509 // GoString returns the string representation. 38510 // 38511 // API parameter values that are decorated as "sensitive" in the API will not 38512 // be included in the string output. The member name will be present, but the 38513 // value will be replaced with "sensitive". 38514 func (s DeleteCodeRepositoryInput) GoString() string { 38515 return s.String() 38516 } 38517 38518 // Validate inspects the fields of the type to determine if they are valid. 38519 func (s *DeleteCodeRepositoryInput) Validate() error { 38520 invalidParams := request.ErrInvalidParams{Context: "DeleteCodeRepositoryInput"} 38521 if s.CodeRepositoryName == nil { 38522 invalidParams.Add(request.NewErrParamRequired("CodeRepositoryName")) 38523 } 38524 if s.CodeRepositoryName != nil && len(*s.CodeRepositoryName) < 1 { 38525 invalidParams.Add(request.NewErrParamMinLen("CodeRepositoryName", 1)) 38526 } 38527 38528 if invalidParams.Len() > 0 { 38529 return invalidParams 38530 } 38531 return nil 38532 } 38533 38534 // SetCodeRepositoryName sets the CodeRepositoryName field's value. 38535 func (s *DeleteCodeRepositoryInput) SetCodeRepositoryName(v string) *DeleteCodeRepositoryInput { 38536 s.CodeRepositoryName = &v 38537 return s 38538 } 38539 38540 type DeleteCodeRepositoryOutput struct { 38541 _ struct{} `type:"structure"` 38542 } 38543 38544 // String returns the string representation. 38545 // 38546 // API parameter values that are decorated as "sensitive" in the API will not 38547 // be included in the string output. The member name will be present, but the 38548 // value will be replaced with "sensitive". 38549 func (s DeleteCodeRepositoryOutput) String() string { 38550 return awsutil.Prettify(s) 38551 } 38552 38553 // GoString returns the string representation. 38554 // 38555 // API parameter values that are decorated as "sensitive" in the API will not 38556 // be included in the string output. The member name will be present, but the 38557 // value will be replaced with "sensitive". 38558 func (s DeleteCodeRepositoryOutput) GoString() string { 38559 return s.String() 38560 } 38561 38562 type DeleteContextInput struct { 38563 _ struct{} `type:"structure"` 38564 38565 // The name of the context to delete. 38566 // 38567 // ContextName is a required field 38568 ContextName *string `min:"1" type:"string" required:"true"` 38569 } 38570 38571 // String returns the string representation. 38572 // 38573 // API parameter values that are decorated as "sensitive" in the API will not 38574 // be included in the string output. The member name will be present, but the 38575 // value will be replaced with "sensitive". 38576 func (s DeleteContextInput) String() string { 38577 return awsutil.Prettify(s) 38578 } 38579 38580 // GoString returns the string representation. 38581 // 38582 // API parameter values that are decorated as "sensitive" in the API will not 38583 // be included in the string output. The member name will be present, but the 38584 // value will be replaced with "sensitive". 38585 func (s DeleteContextInput) GoString() string { 38586 return s.String() 38587 } 38588 38589 // Validate inspects the fields of the type to determine if they are valid. 38590 func (s *DeleteContextInput) Validate() error { 38591 invalidParams := request.ErrInvalidParams{Context: "DeleteContextInput"} 38592 if s.ContextName == nil { 38593 invalidParams.Add(request.NewErrParamRequired("ContextName")) 38594 } 38595 if s.ContextName != nil && len(*s.ContextName) < 1 { 38596 invalidParams.Add(request.NewErrParamMinLen("ContextName", 1)) 38597 } 38598 38599 if invalidParams.Len() > 0 { 38600 return invalidParams 38601 } 38602 return nil 38603 } 38604 38605 // SetContextName sets the ContextName field's value. 38606 func (s *DeleteContextInput) SetContextName(v string) *DeleteContextInput { 38607 s.ContextName = &v 38608 return s 38609 } 38610 38611 type DeleteContextOutput struct { 38612 _ struct{} `type:"structure"` 38613 38614 // The Amazon Resource Name (ARN) of the context. 38615 ContextArn *string `type:"string"` 38616 } 38617 38618 // String returns the string representation. 38619 // 38620 // API parameter values that are decorated as "sensitive" in the API will not 38621 // be included in the string output. The member name will be present, but the 38622 // value will be replaced with "sensitive". 38623 func (s DeleteContextOutput) String() string { 38624 return awsutil.Prettify(s) 38625 } 38626 38627 // GoString returns the string representation. 38628 // 38629 // API parameter values that are decorated as "sensitive" in the API will not 38630 // be included in the string output. The member name will be present, but the 38631 // value will be replaced with "sensitive". 38632 func (s DeleteContextOutput) GoString() string { 38633 return s.String() 38634 } 38635 38636 // SetContextArn sets the ContextArn field's value. 38637 func (s *DeleteContextOutput) SetContextArn(v string) *DeleteContextOutput { 38638 s.ContextArn = &v 38639 return s 38640 } 38641 38642 type DeleteDataQualityJobDefinitionInput struct { 38643 _ struct{} `type:"structure"` 38644 38645 // The name of the data quality monitoring job definition to delete. 38646 // 38647 // JobDefinitionName is a required field 38648 JobDefinitionName *string `min:"1" type:"string" required:"true"` 38649 } 38650 38651 // String returns the string representation. 38652 // 38653 // API parameter values that are decorated as "sensitive" in the API will not 38654 // be included in the string output. The member name will be present, but the 38655 // value will be replaced with "sensitive". 38656 func (s DeleteDataQualityJobDefinitionInput) String() string { 38657 return awsutil.Prettify(s) 38658 } 38659 38660 // GoString returns the string representation. 38661 // 38662 // API parameter values that are decorated as "sensitive" in the API will not 38663 // be included in the string output. The member name will be present, but the 38664 // value will be replaced with "sensitive". 38665 func (s DeleteDataQualityJobDefinitionInput) GoString() string { 38666 return s.String() 38667 } 38668 38669 // Validate inspects the fields of the type to determine if they are valid. 38670 func (s *DeleteDataQualityJobDefinitionInput) Validate() error { 38671 invalidParams := request.ErrInvalidParams{Context: "DeleteDataQualityJobDefinitionInput"} 38672 if s.JobDefinitionName == nil { 38673 invalidParams.Add(request.NewErrParamRequired("JobDefinitionName")) 38674 } 38675 if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 { 38676 invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1)) 38677 } 38678 38679 if invalidParams.Len() > 0 { 38680 return invalidParams 38681 } 38682 return nil 38683 } 38684 38685 // SetJobDefinitionName sets the JobDefinitionName field's value. 38686 func (s *DeleteDataQualityJobDefinitionInput) SetJobDefinitionName(v string) *DeleteDataQualityJobDefinitionInput { 38687 s.JobDefinitionName = &v 38688 return s 38689 } 38690 38691 type DeleteDataQualityJobDefinitionOutput struct { 38692 _ struct{} `type:"structure"` 38693 } 38694 38695 // String returns the string representation. 38696 // 38697 // API parameter values that are decorated as "sensitive" in the API will not 38698 // be included in the string output. The member name will be present, but the 38699 // value will be replaced with "sensitive". 38700 func (s DeleteDataQualityJobDefinitionOutput) String() string { 38701 return awsutil.Prettify(s) 38702 } 38703 38704 // GoString returns the string representation. 38705 // 38706 // API parameter values that are decorated as "sensitive" in the API will not 38707 // be included in the string output. The member name will be present, but the 38708 // value will be replaced with "sensitive". 38709 func (s DeleteDataQualityJobDefinitionOutput) GoString() string { 38710 return s.String() 38711 } 38712 38713 type DeleteDeviceFleetInput struct { 38714 _ struct{} `type:"structure"` 38715 38716 // The name of the fleet to delete. 38717 // 38718 // DeviceFleetName is a required field 38719 DeviceFleetName *string `min:"1" type:"string" required:"true"` 38720 } 38721 38722 // String returns the string representation. 38723 // 38724 // API parameter values that are decorated as "sensitive" in the API will not 38725 // be included in the string output. The member name will be present, but the 38726 // value will be replaced with "sensitive". 38727 func (s DeleteDeviceFleetInput) String() string { 38728 return awsutil.Prettify(s) 38729 } 38730 38731 // GoString returns the string representation. 38732 // 38733 // API parameter values that are decorated as "sensitive" in the API will not 38734 // be included in the string output. The member name will be present, but the 38735 // value will be replaced with "sensitive". 38736 func (s DeleteDeviceFleetInput) GoString() string { 38737 return s.String() 38738 } 38739 38740 // Validate inspects the fields of the type to determine if they are valid. 38741 func (s *DeleteDeviceFleetInput) Validate() error { 38742 invalidParams := request.ErrInvalidParams{Context: "DeleteDeviceFleetInput"} 38743 if s.DeviceFleetName == nil { 38744 invalidParams.Add(request.NewErrParamRequired("DeviceFleetName")) 38745 } 38746 if s.DeviceFleetName != nil && len(*s.DeviceFleetName) < 1 { 38747 invalidParams.Add(request.NewErrParamMinLen("DeviceFleetName", 1)) 38748 } 38749 38750 if invalidParams.Len() > 0 { 38751 return invalidParams 38752 } 38753 return nil 38754 } 38755 38756 // SetDeviceFleetName sets the DeviceFleetName field's value. 38757 func (s *DeleteDeviceFleetInput) SetDeviceFleetName(v string) *DeleteDeviceFleetInput { 38758 s.DeviceFleetName = &v 38759 return s 38760 } 38761 38762 type DeleteDeviceFleetOutput struct { 38763 _ struct{} `type:"structure"` 38764 } 38765 38766 // String returns the string representation. 38767 // 38768 // API parameter values that are decorated as "sensitive" in the API will not 38769 // be included in the string output. The member name will be present, but the 38770 // value will be replaced with "sensitive". 38771 func (s DeleteDeviceFleetOutput) String() string { 38772 return awsutil.Prettify(s) 38773 } 38774 38775 // GoString returns the string representation. 38776 // 38777 // API parameter values that are decorated as "sensitive" in the API will not 38778 // be included in the string output. The member name will be present, but the 38779 // value will be replaced with "sensitive". 38780 func (s DeleteDeviceFleetOutput) GoString() string { 38781 return s.String() 38782 } 38783 38784 type DeleteDomainInput struct { 38785 _ struct{} `type:"structure"` 38786 38787 // The domain ID. 38788 // 38789 // DomainId is a required field 38790 DomainId *string `type:"string" required:"true"` 38791 38792 // The retention policy for this domain, which specifies whether resources will 38793 // be retained after the Domain is deleted. By default, all resources are retained 38794 // (not automatically deleted). 38795 RetentionPolicy *RetentionPolicy `type:"structure"` 38796 } 38797 38798 // String returns the string representation. 38799 // 38800 // API parameter values that are decorated as "sensitive" in the API will not 38801 // be included in the string output. The member name will be present, but the 38802 // value will be replaced with "sensitive". 38803 func (s DeleteDomainInput) String() string { 38804 return awsutil.Prettify(s) 38805 } 38806 38807 // GoString returns the string representation. 38808 // 38809 // API parameter values that are decorated as "sensitive" in the API will not 38810 // be included in the string output. The member name will be present, but the 38811 // value will be replaced with "sensitive". 38812 func (s DeleteDomainInput) GoString() string { 38813 return s.String() 38814 } 38815 38816 // Validate inspects the fields of the type to determine if they are valid. 38817 func (s *DeleteDomainInput) Validate() error { 38818 invalidParams := request.ErrInvalidParams{Context: "DeleteDomainInput"} 38819 if s.DomainId == nil { 38820 invalidParams.Add(request.NewErrParamRequired("DomainId")) 38821 } 38822 38823 if invalidParams.Len() > 0 { 38824 return invalidParams 38825 } 38826 return nil 38827 } 38828 38829 // SetDomainId sets the DomainId field's value. 38830 func (s *DeleteDomainInput) SetDomainId(v string) *DeleteDomainInput { 38831 s.DomainId = &v 38832 return s 38833 } 38834 38835 // SetRetentionPolicy sets the RetentionPolicy field's value. 38836 func (s *DeleteDomainInput) SetRetentionPolicy(v *RetentionPolicy) *DeleteDomainInput { 38837 s.RetentionPolicy = v 38838 return s 38839 } 38840 38841 type DeleteDomainOutput struct { 38842 _ struct{} `type:"structure"` 38843 } 38844 38845 // String returns the string representation. 38846 // 38847 // API parameter values that are decorated as "sensitive" in the API will not 38848 // be included in the string output. The member name will be present, but the 38849 // value will be replaced with "sensitive". 38850 func (s DeleteDomainOutput) String() string { 38851 return awsutil.Prettify(s) 38852 } 38853 38854 // GoString returns the string representation. 38855 // 38856 // API parameter values that are decorated as "sensitive" in the API will not 38857 // be included in the string output. The member name will be present, but the 38858 // value will be replaced with "sensitive". 38859 func (s DeleteDomainOutput) GoString() string { 38860 return s.String() 38861 } 38862 38863 type DeleteEndpointConfigInput struct { 38864 _ struct{} `type:"structure"` 38865 38866 // The name of the endpoint configuration that you want to delete. 38867 // 38868 // EndpointConfigName is a required field 38869 EndpointConfigName *string `type:"string" required:"true"` 38870 } 38871 38872 // String returns the string representation. 38873 // 38874 // API parameter values that are decorated as "sensitive" in the API will not 38875 // be included in the string output. The member name will be present, but the 38876 // value will be replaced with "sensitive". 38877 func (s DeleteEndpointConfigInput) String() string { 38878 return awsutil.Prettify(s) 38879 } 38880 38881 // GoString returns the string representation. 38882 // 38883 // API parameter values that are decorated as "sensitive" in the API will not 38884 // be included in the string output. The member name will be present, but the 38885 // value will be replaced with "sensitive". 38886 func (s DeleteEndpointConfigInput) GoString() string { 38887 return s.String() 38888 } 38889 38890 // Validate inspects the fields of the type to determine if they are valid. 38891 func (s *DeleteEndpointConfigInput) Validate() error { 38892 invalidParams := request.ErrInvalidParams{Context: "DeleteEndpointConfigInput"} 38893 if s.EndpointConfigName == nil { 38894 invalidParams.Add(request.NewErrParamRequired("EndpointConfigName")) 38895 } 38896 38897 if invalidParams.Len() > 0 { 38898 return invalidParams 38899 } 38900 return nil 38901 } 38902 38903 // SetEndpointConfigName sets the EndpointConfigName field's value. 38904 func (s *DeleteEndpointConfigInput) SetEndpointConfigName(v string) *DeleteEndpointConfigInput { 38905 s.EndpointConfigName = &v 38906 return s 38907 } 38908 38909 type DeleteEndpointConfigOutput struct { 38910 _ struct{} `type:"structure"` 38911 } 38912 38913 // String returns the string representation. 38914 // 38915 // API parameter values that are decorated as "sensitive" in the API will not 38916 // be included in the string output. The member name will be present, but the 38917 // value will be replaced with "sensitive". 38918 func (s DeleteEndpointConfigOutput) String() string { 38919 return awsutil.Prettify(s) 38920 } 38921 38922 // GoString returns the string representation. 38923 // 38924 // API parameter values that are decorated as "sensitive" in the API will not 38925 // be included in the string output. The member name will be present, but the 38926 // value will be replaced with "sensitive". 38927 func (s DeleteEndpointConfigOutput) GoString() string { 38928 return s.String() 38929 } 38930 38931 type DeleteEndpointInput struct { 38932 _ struct{} `type:"structure"` 38933 38934 // The name of the endpoint that you want to delete. 38935 // 38936 // EndpointName is a required field 38937 EndpointName *string `type:"string" required:"true"` 38938 } 38939 38940 // String returns the string representation. 38941 // 38942 // API parameter values that are decorated as "sensitive" in the API will not 38943 // be included in the string output. The member name will be present, but the 38944 // value will be replaced with "sensitive". 38945 func (s DeleteEndpointInput) String() string { 38946 return awsutil.Prettify(s) 38947 } 38948 38949 // GoString returns the string representation. 38950 // 38951 // API parameter values that are decorated as "sensitive" in the API will not 38952 // be included in the string output. The member name will be present, but the 38953 // value will be replaced with "sensitive". 38954 func (s DeleteEndpointInput) GoString() string { 38955 return s.String() 38956 } 38957 38958 // Validate inspects the fields of the type to determine if they are valid. 38959 func (s *DeleteEndpointInput) Validate() error { 38960 invalidParams := request.ErrInvalidParams{Context: "DeleteEndpointInput"} 38961 if s.EndpointName == nil { 38962 invalidParams.Add(request.NewErrParamRequired("EndpointName")) 38963 } 38964 38965 if invalidParams.Len() > 0 { 38966 return invalidParams 38967 } 38968 return nil 38969 } 38970 38971 // SetEndpointName sets the EndpointName field's value. 38972 func (s *DeleteEndpointInput) SetEndpointName(v string) *DeleteEndpointInput { 38973 s.EndpointName = &v 38974 return s 38975 } 38976 38977 type DeleteEndpointOutput struct { 38978 _ struct{} `type:"structure"` 38979 } 38980 38981 // String returns the string representation. 38982 // 38983 // API parameter values that are decorated as "sensitive" in the API will not 38984 // be included in the string output. The member name will be present, but the 38985 // value will be replaced with "sensitive". 38986 func (s DeleteEndpointOutput) String() string { 38987 return awsutil.Prettify(s) 38988 } 38989 38990 // GoString returns the string representation. 38991 // 38992 // API parameter values that are decorated as "sensitive" in the API will not 38993 // be included in the string output. The member name will be present, but the 38994 // value will be replaced with "sensitive". 38995 func (s DeleteEndpointOutput) GoString() string { 38996 return s.String() 38997 } 38998 38999 type DeleteExperimentInput struct { 39000 _ struct{} `type:"structure"` 39001 39002 // The name of the experiment to delete. 39003 // 39004 // ExperimentName is a required field 39005 ExperimentName *string `min:"1" type:"string" required:"true"` 39006 } 39007 39008 // String returns the string representation. 39009 // 39010 // API parameter values that are decorated as "sensitive" in the API will not 39011 // be included in the string output. The member name will be present, but the 39012 // value will be replaced with "sensitive". 39013 func (s DeleteExperimentInput) String() string { 39014 return awsutil.Prettify(s) 39015 } 39016 39017 // GoString returns the string representation. 39018 // 39019 // API parameter values that are decorated as "sensitive" in the API will not 39020 // be included in the string output. The member name will be present, but the 39021 // value will be replaced with "sensitive". 39022 func (s DeleteExperimentInput) GoString() string { 39023 return s.String() 39024 } 39025 39026 // Validate inspects the fields of the type to determine if they are valid. 39027 func (s *DeleteExperimentInput) Validate() error { 39028 invalidParams := request.ErrInvalidParams{Context: "DeleteExperimentInput"} 39029 if s.ExperimentName == nil { 39030 invalidParams.Add(request.NewErrParamRequired("ExperimentName")) 39031 } 39032 if s.ExperimentName != nil && len(*s.ExperimentName) < 1 { 39033 invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1)) 39034 } 39035 39036 if invalidParams.Len() > 0 { 39037 return invalidParams 39038 } 39039 return nil 39040 } 39041 39042 // SetExperimentName sets the ExperimentName field's value. 39043 func (s *DeleteExperimentInput) SetExperimentName(v string) *DeleteExperimentInput { 39044 s.ExperimentName = &v 39045 return s 39046 } 39047 39048 type DeleteExperimentOutput struct { 39049 _ struct{} `type:"structure"` 39050 39051 // The Amazon Resource Name (ARN) of the experiment that is being deleted. 39052 ExperimentArn *string `type:"string"` 39053 } 39054 39055 // String returns the string representation. 39056 // 39057 // API parameter values that are decorated as "sensitive" in the API will not 39058 // be included in the string output. The member name will be present, but the 39059 // value will be replaced with "sensitive". 39060 func (s DeleteExperimentOutput) String() string { 39061 return awsutil.Prettify(s) 39062 } 39063 39064 // GoString returns the string representation. 39065 // 39066 // API parameter values that are decorated as "sensitive" in the API will not 39067 // be included in the string output. The member name will be present, but the 39068 // value will be replaced with "sensitive". 39069 func (s DeleteExperimentOutput) GoString() string { 39070 return s.String() 39071 } 39072 39073 // SetExperimentArn sets the ExperimentArn field's value. 39074 func (s *DeleteExperimentOutput) SetExperimentArn(v string) *DeleteExperimentOutput { 39075 s.ExperimentArn = &v 39076 return s 39077 } 39078 39079 type DeleteFeatureGroupInput struct { 39080 _ struct{} `type:"structure"` 39081 39082 // The name of the FeatureGroup you want to delete. The name must be unique 39083 // within an Amazon Web Services Region in an Amazon Web Services account. 39084 // 39085 // FeatureGroupName is a required field 39086 FeatureGroupName *string `min:"1" type:"string" required:"true"` 39087 } 39088 39089 // String returns the string representation. 39090 // 39091 // API parameter values that are decorated as "sensitive" in the API will not 39092 // be included in the string output. The member name will be present, but the 39093 // value will be replaced with "sensitive". 39094 func (s DeleteFeatureGroupInput) String() string { 39095 return awsutil.Prettify(s) 39096 } 39097 39098 // GoString returns the string representation. 39099 // 39100 // API parameter values that are decorated as "sensitive" in the API will not 39101 // be included in the string output. The member name will be present, but the 39102 // value will be replaced with "sensitive". 39103 func (s DeleteFeatureGroupInput) GoString() string { 39104 return s.String() 39105 } 39106 39107 // Validate inspects the fields of the type to determine if they are valid. 39108 func (s *DeleteFeatureGroupInput) Validate() error { 39109 invalidParams := request.ErrInvalidParams{Context: "DeleteFeatureGroupInput"} 39110 if s.FeatureGroupName == nil { 39111 invalidParams.Add(request.NewErrParamRequired("FeatureGroupName")) 39112 } 39113 if s.FeatureGroupName != nil && len(*s.FeatureGroupName) < 1 { 39114 invalidParams.Add(request.NewErrParamMinLen("FeatureGroupName", 1)) 39115 } 39116 39117 if invalidParams.Len() > 0 { 39118 return invalidParams 39119 } 39120 return nil 39121 } 39122 39123 // SetFeatureGroupName sets the FeatureGroupName field's value. 39124 func (s *DeleteFeatureGroupInput) SetFeatureGroupName(v string) *DeleteFeatureGroupInput { 39125 s.FeatureGroupName = &v 39126 return s 39127 } 39128 39129 type DeleteFeatureGroupOutput struct { 39130 _ struct{} `type:"structure"` 39131 } 39132 39133 // String returns the string representation. 39134 // 39135 // API parameter values that are decorated as "sensitive" in the API will not 39136 // be included in the string output. The member name will be present, but the 39137 // value will be replaced with "sensitive". 39138 func (s DeleteFeatureGroupOutput) String() string { 39139 return awsutil.Prettify(s) 39140 } 39141 39142 // GoString returns the string representation. 39143 // 39144 // API parameter values that are decorated as "sensitive" in the API will not 39145 // be included in the string output. The member name will be present, but the 39146 // value will be replaced with "sensitive". 39147 func (s DeleteFeatureGroupOutput) GoString() string { 39148 return s.String() 39149 } 39150 39151 type DeleteFlowDefinitionInput struct { 39152 _ struct{} `type:"structure"` 39153 39154 // The name of the flow definition you are deleting. 39155 // 39156 // FlowDefinitionName is a required field 39157 FlowDefinitionName *string `min:"1" type:"string" required:"true"` 39158 } 39159 39160 // String returns the string representation. 39161 // 39162 // API parameter values that are decorated as "sensitive" in the API will not 39163 // be included in the string output. The member name will be present, but the 39164 // value will be replaced with "sensitive". 39165 func (s DeleteFlowDefinitionInput) String() string { 39166 return awsutil.Prettify(s) 39167 } 39168 39169 // GoString returns the string representation. 39170 // 39171 // API parameter values that are decorated as "sensitive" in the API will not 39172 // be included in the string output. The member name will be present, but the 39173 // value will be replaced with "sensitive". 39174 func (s DeleteFlowDefinitionInput) GoString() string { 39175 return s.String() 39176 } 39177 39178 // Validate inspects the fields of the type to determine if they are valid. 39179 func (s *DeleteFlowDefinitionInput) Validate() error { 39180 invalidParams := request.ErrInvalidParams{Context: "DeleteFlowDefinitionInput"} 39181 if s.FlowDefinitionName == nil { 39182 invalidParams.Add(request.NewErrParamRequired("FlowDefinitionName")) 39183 } 39184 if s.FlowDefinitionName != nil && len(*s.FlowDefinitionName) < 1 { 39185 invalidParams.Add(request.NewErrParamMinLen("FlowDefinitionName", 1)) 39186 } 39187 39188 if invalidParams.Len() > 0 { 39189 return invalidParams 39190 } 39191 return nil 39192 } 39193 39194 // SetFlowDefinitionName sets the FlowDefinitionName field's value. 39195 func (s *DeleteFlowDefinitionInput) SetFlowDefinitionName(v string) *DeleteFlowDefinitionInput { 39196 s.FlowDefinitionName = &v 39197 return s 39198 } 39199 39200 type DeleteFlowDefinitionOutput struct { 39201 _ struct{} `type:"structure"` 39202 } 39203 39204 // String returns the string representation. 39205 // 39206 // API parameter values that are decorated as "sensitive" in the API will not 39207 // be included in the string output. The member name will be present, but the 39208 // value will be replaced with "sensitive". 39209 func (s DeleteFlowDefinitionOutput) String() string { 39210 return awsutil.Prettify(s) 39211 } 39212 39213 // GoString returns the string representation. 39214 // 39215 // API parameter values that are decorated as "sensitive" in the API will not 39216 // be included in the string output. The member name will be present, but the 39217 // value will be replaced with "sensitive". 39218 func (s DeleteFlowDefinitionOutput) GoString() string { 39219 return s.String() 39220 } 39221 39222 type DeleteHumanTaskUiInput struct { 39223 _ struct{} `type:"structure"` 39224 39225 // The name of the human task user interface (work task template) you want to 39226 // delete. 39227 // 39228 // HumanTaskUiName is a required field 39229 HumanTaskUiName *string `min:"1" type:"string" required:"true"` 39230 } 39231 39232 // String returns the string representation. 39233 // 39234 // API parameter values that are decorated as "sensitive" in the API will not 39235 // be included in the string output. The member name will be present, but the 39236 // value will be replaced with "sensitive". 39237 func (s DeleteHumanTaskUiInput) String() string { 39238 return awsutil.Prettify(s) 39239 } 39240 39241 // GoString returns the string representation. 39242 // 39243 // API parameter values that are decorated as "sensitive" in the API will not 39244 // be included in the string output. The member name will be present, but the 39245 // value will be replaced with "sensitive". 39246 func (s DeleteHumanTaskUiInput) GoString() string { 39247 return s.String() 39248 } 39249 39250 // Validate inspects the fields of the type to determine if they are valid. 39251 func (s *DeleteHumanTaskUiInput) Validate() error { 39252 invalidParams := request.ErrInvalidParams{Context: "DeleteHumanTaskUiInput"} 39253 if s.HumanTaskUiName == nil { 39254 invalidParams.Add(request.NewErrParamRequired("HumanTaskUiName")) 39255 } 39256 if s.HumanTaskUiName != nil && len(*s.HumanTaskUiName) < 1 { 39257 invalidParams.Add(request.NewErrParamMinLen("HumanTaskUiName", 1)) 39258 } 39259 39260 if invalidParams.Len() > 0 { 39261 return invalidParams 39262 } 39263 return nil 39264 } 39265 39266 // SetHumanTaskUiName sets the HumanTaskUiName field's value. 39267 func (s *DeleteHumanTaskUiInput) SetHumanTaskUiName(v string) *DeleteHumanTaskUiInput { 39268 s.HumanTaskUiName = &v 39269 return s 39270 } 39271 39272 type DeleteHumanTaskUiOutput struct { 39273 _ struct{} `type:"structure"` 39274 } 39275 39276 // String returns the string representation. 39277 // 39278 // API parameter values that are decorated as "sensitive" in the API will not 39279 // be included in the string output. The member name will be present, but the 39280 // value will be replaced with "sensitive". 39281 func (s DeleteHumanTaskUiOutput) String() string { 39282 return awsutil.Prettify(s) 39283 } 39284 39285 // GoString returns the string representation. 39286 // 39287 // API parameter values that are decorated as "sensitive" in the API will not 39288 // be included in the string output. The member name will be present, but the 39289 // value will be replaced with "sensitive". 39290 func (s DeleteHumanTaskUiOutput) GoString() string { 39291 return s.String() 39292 } 39293 39294 type DeleteImageInput struct { 39295 _ struct{} `type:"structure"` 39296 39297 // The name of the image to delete. 39298 // 39299 // ImageName is a required field 39300 ImageName *string `min:"1" type:"string" required:"true"` 39301 } 39302 39303 // String returns the string representation. 39304 // 39305 // API parameter values that are decorated as "sensitive" in the API will not 39306 // be included in the string output. The member name will be present, but the 39307 // value will be replaced with "sensitive". 39308 func (s DeleteImageInput) String() string { 39309 return awsutil.Prettify(s) 39310 } 39311 39312 // GoString returns the string representation. 39313 // 39314 // API parameter values that are decorated as "sensitive" in the API will not 39315 // be included in the string output. The member name will be present, but the 39316 // value will be replaced with "sensitive". 39317 func (s DeleteImageInput) GoString() string { 39318 return s.String() 39319 } 39320 39321 // Validate inspects the fields of the type to determine if they are valid. 39322 func (s *DeleteImageInput) Validate() error { 39323 invalidParams := request.ErrInvalidParams{Context: "DeleteImageInput"} 39324 if s.ImageName == nil { 39325 invalidParams.Add(request.NewErrParamRequired("ImageName")) 39326 } 39327 if s.ImageName != nil && len(*s.ImageName) < 1 { 39328 invalidParams.Add(request.NewErrParamMinLen("ImageName", 1)) 39329 } 39330 39331 if invalidParams.Len() > 0 { 39332 return invalidParams 39333 } 39334 return nil 39335 } 39336 39337 // SetImageName sets the ImageName field's value. 39338 func (s *DeleteImageInput) SetImageName(v string) *DeleteImageInput { 39339 s.ImageName = &v 39340 return s 39341 } 39342 39343 type DeleteImageOutput struct { 39344 _ struct{} `type:"structure"` 39345 } 39346 39347 // String returns the string representation. 39348 // 39349 // API parameter values that are decorated as "sensitive" in the API will not 39350 // be included in the string output. The member name will be present, but the 39351 // value will be replaced with "sensitive". 39352 func (s DeleteImageOutput) String() string { 39353 return awsutil.Prettify(s) 39354 } 39355 39356 // GoString returns the string representation. 39357 // 39358 // API parameter values that are decorated as "sensitive" in the API will not 39359 // be included in the string output. The member name will be present, but the 39360 // value will be replaced with "sensitive". 39361 func (s DeleteImageOutput) GoString() string { 39362 return s.String() 39363 } 39364 39365 type DeleteImageVersionInput struct { 39366 _ struct{} `type:"structure"` 39367 39368 // The name of the image. 39369 // 39370 // ImageName is a required field 39371 ImageName *string `min:"1" type:"string" required:"true"` 39372 39373 // The version to delete. 39374 // 39375 // Version is a required field 39376 Version *int64 `type:"integer" required:"true"` 39377 } 39378 39379 // String returns the string representation. 39380 // 39381 // API parameter values that are decorated as "sensitive" in the API will not 39382 // be included in the string output. The member name will be present, but the 39383 // value will be replaced with "sensitive". 39384 func (s DeleteImageVersionInput) String() string { 39385 return awsutil.Prettify(s) 39386 } 39387 39388 // GoString returns the string representation. 39389 // 39390 // API parameter values that are decorated as "sensitive" in the API will not 39391 // be included in the string output. The member name will be present, but the 39392 // value will be replaced with "sensitive". 39393 func (s DeleteImageVersionInput) GoString() string { 39394 return s.String() 39395 } 39396 39397 // Validate inspects the fields of the type to determine if they are valid. 39398 func (s *DeleteImageVersionInput) Validate() error { 39399 invalidParams := request.ErrInvalidParams{Context: "DeleteImageVersionInput"} 39400 if s.ImageName == nil { 39401 invalidParams.Add(request.NewErrParamRequired("ImageName")) 39402 } 39403 if s.ImageName != nil && len(*s.ImageName) < 1 { 39404 invalidParams.Add(request.NewErrParamMinLen("ImageName", 1)) 39405 } 39406 if s.Version == nil { 39407 invalidParams.Add(request.NewErrParamRequired("Version")) 39408 } 39409 39410 if invalidParams.Len() > 0 { 39411 return invalidParams 39412 } 39413 return nil 39414 } 39415 39416 // SetImageName sets the ImageName field's value. 39417 func (s *DeleteImageVersionInput) SetImageName(v string) *DeleteImageVersionInput { 39418 s.ImageName = &v 39419 return s 39420 } 39421 39422 // SetVersion sets the Version field's value. 39423 func (s *DeleteImageVersionInput) SetVersion(v int64) *DeleteImageVersionInput { 39424 s.Version = &v 39425 return s 39426 } 39427 39428 type DeleteImageVersionOutput struct { 39429 _ struct{} `type:"structure"` 39430 } 39431 39432 // String returns the string representation. 39433 // 39434 // API parameter values that are decorated as "sensitive" in the API will not 39435 // be included in the string output. The member name will be present, but the 39436 // value will be replaced with "sensitive". 39437 func (s DeleteImageVersionOutput) String() string { 39438 return awsutil.Prettify(s) 39439 } 39440 39441 // GoString returns the string representation. 39442 // 39443 // API parameter values that are decorated as "sensitive" in the API will not 39444 // be included in the string output. The member name will be present, but the 39445 // value will be replaced with "sensitive". 39446 func (s DeleteImageVersionOutput) GoString() string { 39447 return s.String() 39448 } 39449 39450 type DeleteModelBiasJobDefinitionInput struct { 39451 _ struct{} `type:"structure"` 39452 39453 // The name of the model bias job definition to delete. 39454 // 39455 // JobDefinitionName is a required field 39456 JobDefinitionName *string `min:"1" type:"string" required:"true"` 39457 } 39458 39459 // String returns the string representation. 39460 // 39461 // API parameter values that are decorated as "sensitive" in the API will not 39462 // be included in the string output. The member name will be present, but the 39463 // value will be replaced with "sensitive". 39464 func (s DeleteModelBiasJobDefinitionInput) String() string { 39465 return awsutil.Prettify(s) 39466 } 39467 39468 // GoString returns the string representation. 39469 // 39470 // API parameter values that are decorated as "sensitive" in the API will not 39471 // be included in the string output. The member name will be present, but the 39472 // value will be replaced with "sensitive". 39473 func (s DeleteModelBiasJobDefinitionInput) GoString() string { 39474 return s.String() 39475 } 39476 39477 // Validate inspects the fields of the type to determine if they are valid. 39478 func (s *DeleteModelBiasJobDefinitionInput) Validate() error { 39479 invalidParams := request.ErrInvalidParams{Context: "DeleteModelBiasJobDefinitionInput"} 39480 if s.JobDefinitionName == nil { 39481 invalidParams.Add(request.NewErrParamRequired("JobDefinitionName")) 39482 } 39483 if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 { 39484 invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1)) 39485 } 39486 39487 if invalidParams.Len() > 0 { 39488 return invalidParams 39489 } 39490 return nil 39491 } 39492 39493 // SetJobDefinitionName sets the JobDefinitionName field's value. 39494 func (s *DeleteModelBiasJobDefinitionInput) SetJobDefinitionName(v string) *DeleteModelBiasJobDefinitionInput { 39495 s.JobDefinitionName = &v 39496 return s 39497 } 39498 39499 type DeleteModelBiasJobDefinitionOutput struct { 39500 _ struct{} `type:"structure"` 39501 } 39502 39503 // String returns the string representation. 39504 // 39505 // API parameter values that are decorated as "sensitive" in the API will not 39506 // be included in the string output. The member name will be present, but the 39507 // value will be replaced with "sensitive". 39508 func (s DeleteModelBiasJobDefinitionOutput) String() string { 39509 return awsutil.Prettify(s) 39510 } 39511 39512 // GoString returns the string representation. 39513 // 39514 // API parameter values that are decorated as "sensitive" in the API will not 39515 // be included in the string output. The member name will be present, but the 39516 // value will be replaced with "sensitive". 39517 func (s DeleteModelBiasJobDefinitionOutput) GoString() string { 39518 return s.String() 39519 } 39520 39521 type DeleteModelExplainabilityJobDefinitionInput struct { 39522 _ struct{} `type:"structure"` 39523 39524 // The name of the model explainability job definition to delete. 39525 // 39526 // JobDefinitionName is a required field 39527 JobDefinitionName *string `min:"1" type:"string" required:"true"` 39528 } 39529 39530 // String returns the string representation. 39531 // 39532 // API parameter values that are decorated as "sensitive" in the API will not 39533 // be included in the string output. The member name will be present, but the 39534 // value will be replaced with "sensitive". 39535 func (s DeleteModelExplainabilityJobDefinitionInput) String() string { 39536 return awsutil.Prettify(s) 39537 } 39538 39539 // GoString returns the string representation. 39540 // 39541 // API parameter values that are decorated as "sensitive" in the API will not 39542 // be included in the string output. The member name will be present, but the 39543 // value will be replaced with "sensitive". 39544 func (s DeleteModelExplainabilityJobDefinitionInput) GoString() string { 39545 return s.String() 39546 } 39547 39548 // Validate inspects the fields of the type to determine if they are valid. 39549 func (s *DeleteModelExplainabilityJobDefinitionInput) Validate() error { 39550 invalidParams := request.ErrInvalidParams{Context: "DeleteModelExplainabilityJobDefinitionInput"} 39551 if s.JobDefinitionName == nil { 39552 invalidParams.Add(request.NewErrParamRequired("JobDefinitionName")) 39553 } 39554 if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 { 39555 invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1)) 39556 } 39557 39558 if invalidParams.Len() > 0 { 39559 return invalidParams 39560 } 39561 return nil 39562 } 39563 39564 // SetJobDefinitionName sets the JobDefinitionName field's value. 39565 func (s *DeleteModelExplainabilityJobDefinitionInput) SetJobDefinitionName(v string) *DeleteModelExplainabilityJobDefinitionInput { 39566 s.JobDefinitionName = &v 39567 return s 39568 } 39569 39570 type DeleteModelExplainabilityJobDefinitionOutput struct { 39571 _ struct{} `type:"structure"` 39572 } 39573 39574 // String returns the string representation. 39575 // 39576 // API parameter values that are decorated as "sensitive" in the API will not 39577 // be included in the string output. The member name will be present, but the 39578 // value will be replaced with "sensitive". 39579 func (s DeleteModelExplainabilityJobDefinitionOutput) String() string { 39580 return awsutil.Prettify(s) 39581 } 39582 39583 // GoString returns the string representation. 39584 // 39585 // API parameter values that are decorated as "sensitive" in the API will not 39586 // be included in the string output. The member name will be present, but the 39587 // value will be replaced with "sensitive". 39588 func (s DeleteModelExplainabilityJobDefinitionOutput) GoString() string { 39589 return s.String() 39590 } 39591 39592 type DeleteModelInput struct { 39593 _ struct{} `type:"structure"` 39594 39595 // The name of the model to delete. 39596 // 39597 // ModelName is a required field 39598 ModelName *string `type:"string" required:"true"` 39599 } 39600 39601 // String returns the string representation. 39602 // 39603 // API parameter values that are decorated as "sensitive" in the API will not 39604 // be included in the string output. The member name will be present, but the 39605 // value will be replaced with "sensitive". 39606 func (s DeleteModelInput) String() string { 39607 return awsutil.Prettify(s) 39608 } 39609 39610 // GoString returns the string representation. 39611 // 39612 // API parameter values that are decorated as "sensitive" in the API will not 39613 // be included in the string output. The member name will be present, but the 39614 // value will be replaced with "sensitive". 39615 func (s DeleteModelInput) GoString() string { 39616 return s.String() 39617 } 39618 39619 // Validate inspects the fields of the type to determine if they are valid. 39620 func (s *DeleteModelInput) Validate() error { 39621 invalidParams := request.ErrInvalidParams{Context: "DeleteModelInput"} 39622 if s.ModelName == nil { 39623 invalidParams.Add(request.NewErrParamRequired("ModelName")) 39624 } 39625 39626 if invalidParams.Len() > 0 { 39627 return invalidParams 39628 } 39629 return nil 39630 } 39631 39632 // SetModelName sets the ModelName field's value. 39633 func (s *DeleteModelInput) SetModelName(v string) *DeleteModelInput { 39634 s.ModelName = &v 39635 return s 39636 } 39637 39638 type DeleteModelOutput struct { 39639 _ struct{} `type:"structure"` 39640 } 39641 39642 // String returns the string representation. 39643 // 39644 // API parameter values that are decorated as "sensitive" in the API will not 39645 // be included in the string output. The member name will be present, but the 39646 // value will be replaced with "sensitive". 39647 func (s DeleteModelOutput) String() string { 39648 return awsutil.Prettify(s) 39649 } 39650 39651 // GoString returns the string representation. 39652 // 39653 // API parameter values that are decorated as "sensitive" in the API will not 39654 // be included in the string output. The member name will be present, but the 39655 // value will be replaced with "sensitive". 39656 func (s DeleteModelOutput) GoString() string { 39657 return s.String() 39658 } 39659 39660 type DeleteModelPackageGroupInput struct { 39661 _ struct{} `type:"structure"` 39662 39663 // The name of the model group to delete. 39664 // 39665 // ModelPackageGroupName is a required field 39666 ModelPackageGroupName *string `min:"1" type:"string" required:"true"` 39667 } 39668 39669 // String returns the string representation. 39670 // 39671 // API parameter values that are decorated as "sensitive" in the API will not 39672 // be included in the string output. The member name will be present, but the 39673 // value will be replaced with "sensitive". 39674 func (s DeleteModelPackageGroupInput) String() string { 39675 return awsutil.Prettify(s) 39676 } 39677 39678 // GoString returns the string representation. 39679 // 39680 // API parameter values that are decorated as "sensitive" in the API will not 39681 // be included in the string output. The member name will be present, but the 39682 // value will be replaced with "sensitive". 39683 func (s DeleteModelPackageGroupInput) GoString() string { 39684 return s.String() 39685 } 39686 39687 // Validate inspects the fields of the type to determine if they are valid. 39688 func (s *DeleteModelPackageGroupInput) Validate() error { 39689 invalidParams := request.ErrInvalidParams{Context: "DeleteModelPackageGroupInput"} 39690 if s.ModelPackageGroupName == nil { 39691 invalidParams.Add(request.NewErrParamRequired("ModelPackageGroupName")) 39692 } 39693 if s.ModelPackageGroupName != nil && len(*s.ModelPackageGroupName) < 1 { 39694 invalidParams.Add(request.NewErrParamMinLen("ModelPackageGroupName", 1)) 39695 } 39696 39697 if invalidParams.Len() > 0 { 39698 return invalidParams 39699 } 39700 return nil 39701 } 39702 39703 // SetModelPackageGroupName sets the ModelPackageGroupName field's value. 39704 func (s *DeleteModelPackageGroupInput) SetModelPackageGroupName(v string) *DeleteModelPackageGroupInput { 39705 s.ModelPackageGroupName = &v 39706 return s 39707 } 39708 39709 type DeleteModelPackageGroupOutput struct { 39710 _ struct{} `type:"structure"` 39711 } 39712 39713 // String returns the string representation. 39714 // 39715 // API parameter values that are decorated as "sensitive" in the API will not 39716 // be included in the string output. The member name will be present, but the 39717 // value will be replaced with "sensitive". 39718 func (s DeleteModelPackageGroupOutput) String() string { 39719 return awsutil.Prettify(s) 39720 } 39721 39722 // GoString returns the string representation. 39723 // 39724 // API parameter values that are decorated as "sensitive" in the API will not 39725 // be included in the string output. The member name will be present, but the 39726 // value will be replaced with "sensitive". 39727 func (s DeleteModelPackageGroupOutput) GoString() string { 39728 return s.String() 39729 } 39730 39731 type DeleteModelPackageGroupPolicyInput struct { 39732 _ struct{} `type:"structure"` 39733 39734 // The name of the model group for which to delete the policy. 39735 // 39736 // ModelPackageGroupName is a required field 39737 ModelPackageGroupName *string `min:"1" type:"string" required:"true"` 39738 } 39739 39740 // String returns the string representation. 39741 // 39742 // API parameter values that are decorated as "sensitive" in the API will not 39743 // be included in the string output. The member name will be present, but the 39744 // value will be replaced with "sensitive". 39745 func (s DeleteModelPackageGroupPolicyInput) String() string { 39746 return awsutil.Prettify(s) 39747 } 39748 39749 // GoString returns the string representation. 39750 // 39751 // API parameter values that are decorated as "sensitive" in the API will not 39752 // be included in the string output. The member name will be present, but the 39753 // value will be replaced with "sensitive". 39754 func (s DeleteModelPackageGroupPolicyInput) GoString() string { 39755 return s.String() 39756 } 39757 39758 // Validate inspects the fields of the type to determine if they are valid. 39759 func (s *DeleteModelPackageGroupPolicyInput) Validate() error { 39760 invalidParams := request.ErrInvalidParams{Context: "DeleteModelPackageGroupPolicyInput"} 39761 if s.ModelPackageGroupName == nil { 39762 invalidParams.Add(request.NewErrParamRequired("ModelPackageGroupName")) 39763 } 39764 if s.ModelPackageGroupName != nil && len(*s.ModelPackageGroupName) < 1 { 39765 invalidParams.Add(request.NewErrParamMinLen("ModelPackageGroupName", 1)) 39766 } 39767 39768 if invalidParams.Len() > 0 { 39769 return invalidParams 39770 } 39771 return nil 39772 } 39773 39774 // SetModelPackageGroupName sets the ModelPackageGroupName field's value. 39775 func (s *DeleteModelPackageGroupPolicyInput) SetModelPackageGroupName(v string) *DeleteModelPackageGroupPolicyInput { 39776 s.ModelPackageGroupName = &v 39777 return s 39778 } 39779 39780 type DeleteModelPackageGroupPolicyOutput struct { 39781 _ struct{} `type:"structure"` 39782 } 39783 39784 // String returns the string representation. 39785 // 39786 // API parameter values that are decorated as "sensitive" in the API will not 39787 // be included in the string output. The member name will be present, but the 39788 // value will be replaced with "sensitive". 39789 func (s DeleteModelPackageGroupPolicyOutput) String() string { 39790 return awsutil.Prettify(s) 39791 } 39792 39793 // GoString returns the string representation. 39794 // 39795 // API parameter values that are decorated as "sensitive" in the API will not 39796 // be included in the string output. The member name will be present, but the 39797 // value will be replaced with "sensitive". 39798 func (s DeleteModelPackageGroupPolicyOutput) GoString() string { 39799 return s.String() 39800 } 39801 39802 type DeleteModelPackageInput struct { 39803 _ struct{} `type:"structure"` 39804 39805 // The name or Amazon Resource Name (ARN) of the model package to delete. 39806 // 39807 // When you specify a name, the name must have 1 to 63 characters. Valid characters 39808 // are a-z, A-Z, 0-9, and - (hyphen). 39809 // 39810 // ModelPackageName is a required field 39811 ModelPackageName *string `min:"1" type:"string" required:"true"` 39812 } 39813 39814 // String returns the string representation. 39815 // 39816 // API parameter values that are decorated as "sensitive" in the API will not 39817 // be included in the string output. The member name will be present, but the 39818 // value will be replaced with "sensitive". 39819 func (s DeleteModelPackageInput) String() string { 39820 return awsutil.Prettify(s) 39821 } 39822 39823 // GoString returns the string representation. 39824 // 39825 // API parameter values that are decorated as "sensitive" in the API will not 39826 // be included in the string output. The member name will be present, but the 39827 // value will be replaced with "sensitive". 39828 func (s DeleteModelPackageInput) GoString() string { 39829 return s.String() 39830 } 39831 39832 // Validate inspects the fields of the type to determine if they are valid. 39833 func (s *DeleteModelPackageInput) Validate() error { 39834 invalidParams := request.ErrInvalidParams{Context: "DeleteModelPackageInput"} 39835 if s.ModelPackageName == nil { 39836 invalidParams.Add(request.NewErrParamRequired("ModelPackageName")) 39837 } 39838 if s.ModelPackageName != nil && len(*s.ModelPackageName) < 1 { 39839 invalidParams.Add(request.NewErrParamMinLen("ModelPackageName", 1)) 39840 } 39841 39842 if invalidParams.Len() > 0 { 39843 return invalidParams 39844 } 39845 return nil 39846 } 39847 39848 // SetModelPackageName sets the ModelPackageName field's value. 39849 func (s *DeleteModelPackageInput) SetModelPackageName(v string) *DeleteModelPackageInput { 39850 s.ModelPackageName = &v 39851 return s 39852 } 39853 39854 type DeleteModelPackageOutput struct { 39855 _ struct{} `type:"structure"` 39856 } 39857 39858 // String returns the string representation. 39859 // 39860 // API parameter values that are decorated as "sensitive" in the API will not 39861 // be included in the string output. The member name will be present, but the 39862 // value will be replaced with "sensitive". 39863 func (s DeleteModelPackageOutput) String() string { 39864 return awsutil.Prettify(s) 39865 } 39866 39867 // GoString returns the string representation. 39868 // 39869 // API parameter values that are decorated as "sensitive" in the API will not 39870 // be included in the string output. The member name will be present, but the 39871 // value will be replaced with "sensitive". 39872 func (s DeleteModelPackageOutput) GoString() string { 39873 return s.String() 39874 } 39875 39876 type DeleteModelQualityJobDefinitionInput struct { 39877 _ struct{} `type:"structure"` 39878 39879 // The name of the model quality monitoring job definition to delete. 39880 // 39881 // JobDefinitionName is a required field 39882 JobDefinitionName *string `min:"1" type:"string" required:"true"` 39883 } 39884 39885 // String returns the string representation. 39886 // 39887 // API parameter values that are decorated as "sensitive" in the API will not 39888 // be included in the string output. The member name will be present, but the 39889 // value will be replaced with "sensitive". 39890 func (s DeleteModelQualityJobDefinitionInput) String() string { 39891 return awsutil.Prettify(s) 39892 } 39893 39894 // GoString returns the string representation. 39895 // 39896 // API parameter values that are decorated as "sensitive" in the API will not 39897 // be included in the string output. The member name will be present, but the 39898 // value will be replaced with "sensitive". 39899 func (s DeleteModelQualityJobDefinitionInput) GoString() string { 39900 return s.String() 39901 } 39902 39903 // Validate inspects the fields of the type to determine if they are valid. 39904 func (s *DeleteModelQualityJobDefinitionInput) Validate() error { 39905 invalidParams := request.ErrInvalidParams{Context: "DeleteModelQualityJobDefinitionInput"} 39906 if s.JobDefinitionName == nil { 39907 invalidParams.Add(request.NewErrParamRequired("JobDefinitionName")) 39908 } 39909 if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 { 39910 invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1)) 39911 } 39912 39913 if invalidParams.Len() > 0 { 39914 return invalidParams 39915 } 39916 return nil 39917 } 39918 39919 // SetJobDefinitionName sets the JobDefinitionName field's value. 39920 func (s *DeleteModelQualityJobDefinitionInput) SetJobDefinitionName(v string) *DeleteModelQualityJobDefinitionInput { 39921 s.JobDefinitionName = &v 39922 return s 39923 } 39924 39925 type DeleteModelQualityJobDefinitionOutput struct { 39926 _ struct{} `type:"structure"` 39927 } 39928 39929 // String returns the string representation. 39930 // 39931 // API parameter values that are decorated as "sensitive" in the API will not 39932 // be included in the string output. The member name will be present, but the 39933 // value will be replaced with "sensitive". 39934 func (s DeleteModelQualityJobDefinitionOutput) String() string { 39935 return awsutil.Prettify(s) 39936 } 39937 39938 // GoString returns the string representation. 39939 // 39940 // API parameter values that are decorated as "sensitive" in the API will not 39941 // be included in the string output. The member name will be present, but the 39942 // value will be replaced with "sensitive". 39943 func (s DeleteModelQualityJobDefinitionOutput) GoString() string { 39944 return s.String() 39945 } 39946 39947 type DeleteMonitoringScheduleInput struct { 39948 _ struct{} `type:"structure"` 39949 39950 // The name of the monitoring schedule to delete. 39951 // 39952 // MonitoringScheduleName is a required field 39953 MonitoringScheduleName *string `min:"1" type:"string" required:"true"` 39954 } 39955 39956 // String returns the string representation. 39957 // 39958 // API parameter values that are decorated as "sensitive" in the API will not 39959 // be included in the string output. The member name will be present, but the 39960 // value will be replaced with "sensitive". 39961 func (s DeleteMonitoringScheduleInput) String() string { 39962 return awsutil.Prettify(s) 39963 } 39964 39965 // GoString returns the string representation. 39966 // 39967 // API parameter values that are decorated as "sensitive" in the API will not 39968 // be included in the string output. The member name will be present, but the 39969 // value will be replaced with "sensitive". 39970 func (s DeleteMonitoringScheduleInput) GoString() string { 39971 return s.String() 39972 } 39973 39974 // Validate inspects the fields of the type to determine if they are valid. 39975 func (s *DeleteMonitoringScheduleInput) Validate() error { 39976 invalidParams := request.ErrInvalidParams{Context: "DeleteMonitoringScheduleInput"} 39977 if s.MonitoringScheduleName == nil { 39978 invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleName")) 39979 } 39980 if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 { 39981 invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1)) 39982 } 39983 39984 if invalidParams.Len() > 0 { 39985 return invalidParams 39986 } 39987 return nil 39988 } 39989 39990 // SetMonitoringScheduleName sets the MonitoringScheduleName field's value. 39991 func (s *DeleteMonitoringScheduleInput) SetMonitoringScheduleName(v string) *DeleteMonitoringScheduleInput { 39992 s.MonitoringScheduleName = &v 39993 return s 39994 } 39995 39996 type DeleteMonitoringScheduleOutput struct { 39997 _ struct{} `type:"structure"` 39998 } 39999 40000 // String returns the string representation. 40001 // 40002 // API parameter values that are decorated as "sensitive" in the API will not 40003 // be included in the string output. The member name will be present, but the 40004 // value will be replaced with "sensitive". 40005 func (s DeleteMonitoringScheduleOutput) String() string { 40006 return awsutil.Prettify(s) 40007 } 40008 40009 // GoString returns the string representation. 40010 // 40011 // API parameter values that are decorated as "sensitive" in the API will not 40012 // be included in the string output. The member name will be present, but the 40013 // value will be replaced with "sensitive". 40014 func (s DeleteMonitoringScheduleOutput) GoString() string { 40015 return s.String() 40016 } 40017 40018 type DeleteNotebookInstanceInput struct { 40019 _ struct{} `type:"structure"` 40020 40021 // The name of the Amazon SageMaker notebook instance to delete. 40022 // 40023 // NotebookInstanceName is a required field 40024 NotebookInstanceName *string `type:"string" required:"true"` 40025 } 40026 40027 // String returns the string representation. 40028 // 40029 // API parameter values that are decorated as "sensitive" in the API will not 40030 // be included in the string output. The member name will be present, but the 40031 // value will be replaced with "sensitive". 40032 func (s DeleteNotebookInstanceInput) String() string { 40033 return awsutil.Prettify(s) 40034 } 40035 40036 // GoString returns the string representation. 40037 // 40038 // API parameter values that are decorated as "sensitive" in the API will not 40039 // be included in the string output. The member name will be present, but the 40040 // value will be replaced with "sensitive". 40041 func (s DeleteNotebookInstanceInput) GoString() string { 40042 return s.String() 40043 } 40044 40045 // Validate inspects the fields of the type to determine if they are valid. 40046 func (s *DeleteNotebookInstanceInput) Validate() error { 40047 invalidParams := request.ErrInvalidParams{Context: "DeleteNotebookInstanceInput"} 40048 if s.NotebookInstanceName == nil { 40049 invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName")) 40050 } 40051 40052 if invalidParams.Len() > 0 { 40053 return invalidParams 40054 } 40055 return nil 40056 } 40057 40058 // SetNotebookInstanceName sets the NotebookInstanceName field's value. 40059 func (s *DeleteNotebookInstanceInput) SetNotebookInstanceName(v string) *DeleteNotebookInstanceInput { 40060 s.NotebookInstanceName = &v 40061 return s 40062 } 40063 40064 type DeleteNotebookInstanceLifecycleConfigInput struct { 40065 _ struct{} `type:"structure"` 40066 40067 // The name of the lifecycle configuration to delete. 40068 // 40069 // NotebookInstanceLifecycleConfigName is a required field 40070 NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"` 40071 } 40072 40073 // String returns the string representation. 40074 // 40075 // API parameter values that are decorated as "sensitive" in the API will not 40076 // be included in the string output. The member name will be present, but the 40077 // value will be replaced with "sensitive". 40078 func (s DeleteNotebookInstanceLifecycleConfigInput) String() string { 40079 return awsutil.Prettify(s) 40080 } 40081 40082 // GoString returns the string representation. 40083 // 40084 // API parameter values that are decorated as "sensitive" in the API will not 40085 // be included in the string output. The member name will be present, but the 40086 // value will be replaced with "sensitive". 40087 func (s DeleteNotebookInstanceLifecycleConfigInput) GoString() string { 40088 return s.String() 40089 } 40090 40091 // Validate inspects the fields of the type to determine if they are valid. 40092 func (s *DeleteNotebookInstanceLifecycleConfigInput) Validate() error { 40093 invalidParams := request.ErrInvalidParams{Context: "DeleteNotebookInstanceLifecycleConfigInput"} 40094 if s.NotebookInstanceLifecycleConfigName == nil { 40095 invalidParams.Add(request.NewErrParamRequired("NotebookInstanceLifecycleConfigName")) 40096 } 40097 40098 if invalidParams.Len() > 0 { 40099 return invalidParams 40100 } 40101 return nil 40102 } 40103 40104 // SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value. 40105 func (s *DeleteNotebookInstanceLifecycleConfigInput) SetNotebookInstanceLifecycleConfigName(v string) *DeleteNotebookInstanceLifecycleConfigInput { 40106 s.NotebookInstanceLifecycleConfigName = &v 40107 return s 40108 } 40109 40110 type DeleteNotebookInstanceLifecycleConfigOutput struct { 40111 _ struct{} `type:"structure"` 40112 } 40113 40114 // String returns the string representation. 40115 // 40116 // API parameter values that are decorated as "sensitive" in the API will not 40117 // be included in the string output. The member name will be present, but the 40118 // value will be replaced with "sensitive". 40119 func (s DeleteNotebookInstanceLifecycleConfigOutput) String() string { 40120 return awsutil.Prettify(s) 40121 } 40122 40123 // GoString returns the string representation. 40124 // 40125 // API parameter values that are decorated as "sensitive" in the API will not 40126 // be included in the string output. The member name will be present, but the 40127 // value will be replaced with "sensitive". 40128 func (s DeleteNotebookInstanceLifecycleConfigOutput) GoString() string { 40129 return s.String() 40130 } 40131 40132 type DeleteNotebookInstanceOutput struct { 40133 _ struct{} `type:"structure"` 40134 } 40135 40136 // String returns the string representation. 40137 // 40138 // API parameter values that are decorated as "sensitive" in the API will not 40139 // be included in the string output. The member name will be present, but the 40140 // value will be replaced with "sensitive". 40141 func (s DeleteNotebookInstanceOutput) String() string { 40142 return awsutil.Prettify(s) 40143 } 40144 40145 // GoString returns the string representation. 40146 // 40147 // API parameter values that are decorated as "sensitive" in the API will not 40148 // be included in the string output. The member name will be present, but the 40149 // value will be replaced with "sensitive". 40150 func (s DeleteNotebookInstanceOutput) GoString() string { 40151 return s.String() 40152 } 40153 40154 type DeletePipelineInput struct { 40155 _ struct{} `type:"structure"` 40156 40157 // A unique, case-sensitive identifier that you provide to ensure the idempotency 40158 // of the operation. An idempotent operation completes no more than one time. 40159 ClientRequestToken *string `min:"32" type:"string" idempotencyToken:"true"` 40160 40161 // The name of the pipeline to delete. 40162 // 40163 // PipelineName is a required field 40164 PipelineName *string `min:"1" type:"string" required:"true"` 40165 } 40166 40167 // String returns the string representation. 40168 // 40169 // API parameter values that are decorated as "sensitive" in the API will not 40170 // be included in the string output. The member name will be present, but the 40171 // value will be replaced with "sensitive". 40172 func (s DeletePipelineInput) String() string { 40173 return awsutil.Prettify(s) 40174 } 40175 40176 // GoString returns the string representation. 40177 // 40178 // API parameter values that are decorated as "sensitive" in the API will not 40179 // be included in the string output. The member name will be present, but the 40180 // value will be replaced with "sensitive". 40181 func (s DeletePipelineInput) GoString() string { 40182 return s.String() 40183 } 40184 40185 // Validate inspects the fields of the type to determine if they are valid. 40186 func (s *DeletePipelineInput) Validate() error { 40187 invalidParams := request.ErrInvalidParams{Context: "DeletePipelineInput"} 40188 if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 32 { 40189 invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 32)) 40190 } 40191 if s.PipelineName == nil { 40192 invalidParams.Add(request.NewErrParamRequired("PipelineName")) 40193 } 40194 if s.PipelineName != nil && len(*s.PipelineName) < 1 { 40195 invalidParams.Add(request.NewErrParamMinLen("PipelineName", 1)) 40196 } 40197 40198 if invalidParams.Len() > 0 { 40199 return invalidParams 40200 } 40201 return nil 40202 } 40203 40204 // SetClientRequestToken sets the ClientRequestToken field's value. 40205 func (s *DeletePipelineInput) SetClientRequestToken(v string) *DeletePipelineInput { 40206 s.ClientRequestToken = &v 40207 return s 40208 } 40209 40210 // SetPipelineName sets the PipelineName field's value. 40211 func (s *DeletePipelineInput) SetPipelineName(v string) *DeletePipelineInput { 40212 s.PipelineName = &v 40213 return s 40214 } 40215 40216 type DeletePipelineOutput struct { 40217 _ struct{} `type:"structure"` 40218 40219 // The Amazon Resource Name (ARN) of the pipeline to delete. 40220 PipelineArn *string `type:"string"` 40221 } 40222 40223 // String returns the string representation. 40224 // 40225 // API parameter values that are decorated as "sensitive" in the API will not 40226 // be included in the string output. The member name will be present, but the 40227 // value will be replaced with "sensitive". 40228 func (s DeletePipelineOutput) String() string { 40229 return awsutil.Prettify(s) 40230 } 40231 40232 // GoString returns the string representation. 40233 // 40234 // API parameter values that are decorated as "sensitive" in the API will not 40235 // be included in the string output. The member name will be present, but the 40236 // value will be replaced with "sensitive". 40237 func (s DeletePipelineOutput) GoString() string { 40238 return s.String() 40239 } 40240 40241 // SetPipelineArn sets the PipelineArn field's value. 40242 func (s *DeletePipelineOutput) SetPipelineArn(v string) *DeletePipelineOutput { 40243 s.PipelineArn = &v 40244 return s 40245 } 40246 40247 type DeleteProjectInput struct { 40248 _ struct{} `type:"structure"` 40249 40250 // The name of the project to delete. 40251 // 40252 // ProjectName is a required field 40253 ProjectName *string `min:"1" type:"string" required:"true"` 40254 } 40255 40256 // String returns the string representation. 40257 // 40258 // API parameter values that are decorated as "sensitive" in the API will not 40259 // be included in the string output. The member name will be present, but the 40260 // value will be replaced with "sensitive". 40261 func (s DeleteProjectInput) String() string { 40262 return awsutil.Prettify(s) 40263 } 40264 40265 // GoString returns the string representation. 40266 // 40267 // API parameter values that are decorated as "sensitive" in the API will not 40268 // be included in the string output. The member name will be present, but the 40269 // value will be replaced with "sensitive". 40270 func (s DeleteProjectInput) GoString() string { 40271 return s.String() 40272 } 40273 40274 // Validate inspects the fields of the type to determine if they are valid. 40275 func (s *DeleteProjectInput) Validate() error { 40276 invalidParams := request.ErrInvalidParams{Context: "DeleteProjectInput"} 40277 if s.ProjectName == nil { 40278 invalidParams.Add(request.NewErrParamRequired("ProjectName")) 40279 } 40280 if s.ProjectName != nil && len(*s.ProjectName) < 1 { 40281 invalidParams.Add(request.NewErrParamMinLen("ProjectName", 1)) 40282 } 40283 40284 if invalidParams.Len() > 0 { 40285 return invalidParams 40286 } 40287 return nil 40288 } 40289 40290 // SetProjectName sets the ProjectName field's value. 40291 func (s *DeleteProjectInput) SetProjectName(v string) *DeleteProjectInput { 40292 s.ProjectName = &v 40293 return s 40294 } 40295 40296 type DeleteProjectOutput struct { 40297 _ struct{} `type:"structure"` 40298 } 40299 40300 // String returns the string representation. 40301 // 40302 // API parameter values that are decorated as "sensitive" in the API will not 40303 // be included in the string output. The member name will be present, but the 40304 // value will be replaced with "sensitive". 40305 func (s DeleteProjectOutput) String() string { 40306 return awsutil.Prettify(s) 40307 } 40308 40309 // GoString returns the string representation. 40310 // 40311 // API parameter values that are decorated as "sensitive" in the API will not 40312 // be included in the string output. The member name will be present, but the 40313 // value will be replaced with "sensitive". 40314 func (s DeleteProjectOutput) GoString() string { 40315 return s.String() 40316 } 40317 40318 type DeleteStudioLifecycleConfigInput struct { 40319 _ struct{} `type:"structure"` 40320 40321 // The name of the Studio Lifecycle Configuration to delete. 40322 // 40323 // StudioLifecycleConfigName is a required field 40324 StudioLifecycleConfigName *string `type:"string" required:"true"` 40325 } 40326 40327 // String returns the string representation. 40328 // 40329 // API parameter values that are decorated as "sensitive" in the API will not 40330 // be included in the string output. The member name will be present, but the 40331 // value will be replaced with "sensitive". 40332 func (s DeleteStudioLifecycleConfigInput) String() string { 40333 return awsutil.Prettify(s) 40334 } 40335 40336 // GoString returns the string representation. 40337 // 40338 // API parameter values that are decorated as "sensitive" in the API will not 40339 // be included in the string output. The member name will be present, but the 40340 // value will be replaced with "sensitive". 40341 func (s DeleteStudioLifecycleConfigInput) GoString() string { 40342 return s.String() 40343 } 40344 40345 // Validate inspects the fields of the type to determine if they are valid. 40346 func (s *DeleteStudioLifecycleConfigInput) Validate() error { 40347 invalidParams := request.ErrInvalidParams{Context: "DeleteStudioLifecycleConfigInput"} 40348 if s.StudioLifecycleConfigName == nil { 40349 invalidParams.Add(request.NewErrParamRequired("StudioLifecycleConfigName")) 40350 } 40351 40352 if invalidParams.Len() > 0 { 40353 return invalidParams 40354 } 40355 return nil 40356 } 40357 40358 // SetStudioLifecycleConfigName sets the StudioLifecycleConfigName field's value. 40359 func (s *DeleteStudioLifecycleConfigInput) SetStudioLifecycleConfigName(v string) *DeleteStudioLifecycleConfigInput { 40360 s.StudioLifecycleConfigName = &v 40361 return s 40362 } 40363 40364 type DeleteStudioLifecycleConfigOutput struct { 40365 _ struct{} `type:"structure"` 40366 } 40367 40368 // String returns the string representation. 40369 // 40370 // API parameter values that are decorated as "sensitive" in the API will not 40371 // be included in the string output. The member name will be present, but the 40372 // value will be replaced with "sensitive". 40373 func (s DeleteStudioLifecycleConfigOutput) String() string { 40374 return awsutil.Prettify(s) 40375 } 40376 40377 // GoString returns the string representation. 40378 // 40379 // API parameter values that are decorated as "sensitive" in the API will not 40380 // be included in the string output. The member name will be present, but the 40381 // value will be replaced with "sensitive". 40382 func (s DeleteStudioLifecycleConfigOutput) GoString() string { 40383 return s.String() 40384 } 40385 40386 type DeleteTagsInput struct { 40387 _ struct{} `type:"structure"` 40388 40389 // The Amazon Resource Name (ARN) of the resource whose tags you want to delete. 40390 // 40391 // ResourceArn is a required field 40392 ResourceArn *string `type:"string" required:"true"` 40393 40394 // An array or one or more tag keys to delete. 40395 // 40396 // TagKeys is a required field 40397 TagKeys []*string `min:"1" type:"list" required:"true"` 40398 } 40399 40400 // String returns the string representation. 40401 // 40402 // API parameter values that are decorated as "sensitive" in the API will not 40403 // be included in the string output. The member name will be present, but the 40404 // value will be replaced with "sensitive". 40405 func (s DeleteTagsInput) String() string { 40406 return awsutil.Prettify(s) 40407 } 40408 40409 // GoString returns the string representation. 40410 // 40411 // API parameter values that are decorated as "sensitive" in the API will not 40412 // be included in the string output. The member name will be present, but the 40413 // value will be replaced with "sensitive". 40414 func (s DeleteTagsInput) GoString() string { 40415 return s.String() 40416 } 40417 40418 // Validate inspects the fields of the type to determine if they are valid. 40419 func (s *DeleteTagsInput) Validate() error { 40420 invalidParams := request.ErrInvalidParams{Context: "DeleteTagsInput"} 40421 if s.ResourceArn == nil { 40422 invalidParams.Add(request.NewErrParamRequired("ResourceArn")) 40423 } 40424 if s.TagKeys == nil { 40425 invalidParams.Add(request.NewErrParamRequired("TagKeys")) 40426 } 40427 if s.TagKeys != nil && len(s.TagKeys) < 1 { 40428 invalidParams.Add(request.NewErrParamMinLen("TagKeys", 1)) 40429 } 40430 40431 if invalidParams.Len() > 0 { 40432 return invalidParams 40433 } 40434 return nil 40435 } 40436 40437 // SetResourceArn sets the ResourceArn field's value. 40438 func (s *DeleteTagsInput) SetResourceArn(v string) *DeleteTagsInput { 40439 s.ResourceArn = &v 40440 return s 40441 } 40442 40443 // SetTagKeys sets the TagKeys field's value. 40444 func (s *DeleteTagsInput) SetTagKeys(v []*string) *DeleteTagsInput { 40445 s.TagKeys = v 40446 return s 40447 } 40448 40449 type DeleteTagsOutput struct { 40450 _ struct{} `type:"structure"` 40451 } 40452 40453 // String returns the string representation. 40454 // 40455 // API parameter values that are decorated as "sensitive" in the API will not 40456 // be included in the string output. The member name will be present, but the 40457 // value will be replaced with "sensitive". 40458 func (s DeleteTagsOutput) String() string { 40459 return awsutil.Prettify(s) 40460 } 40461 40462 // GoString returns the string representation. 40463 // 40464 // API parameter values that are decorated as "sensitive" in the API will not 40465 // be included in the string output. The member name will be present, but the 40466 // value will be replaced with "sensitive". 40467 func (s DeleteTagsOutput) GoString() string { 40468 return s.String() 40469 } 40470 40471 type DeleteTrialComponentInput struct { 40472 _ struct{} `type:"structure"` 40473 40474 // The name of the component to delete. 40475 // 40476 // TrialComponentName is a required field 40477 TrialComponentName *string `min:"1" type:"string" required:"true"` 40478 } 40479 40480 // String returns the string representation. 40481 // 40482 // API parameter values that are decorated as "sensitive" in the API will not 40483 // be included in the string output. The member name will be present, but the 40484 // value will be replaced with "sensitive". 40485 func (s DeleteTrialComponentInput) String() string { 40486 return awsutil.Prettify(s) 40487 } 40488 40489 // GoString returns the string representation. 40490 // 40491 // API parameter values that are decorated as "sensitive" in the API will not 40492 // be included in the string output. The member name will be present, but the 40493 // value will be replaced with "sensitive". 40494 func (s DeleteTrialComponentInput) GoString() string { 40495 return s.String() 40496 } 40497 40498 // Validate inspects the fields of the type to determine if they are valid. 40499 func (s *DeleteTrialComponentInput) Validate() error { 40500 invalidParams := request.ErrInvalidParams{Context: "DeleteTrialComponentInput"} 40501 if s.TrialComponentName == nil { 40502 invalidParams.Add(request.NewErrParamRequired("TrialComponentName")) 40503 } 40504 if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 { 40505 invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1)) 40506 } 40507 40508 if invalidParams.Len() > 0 { 40509 return invalidParams 40510 } 40511 return nil 40512 } 40513 40514 // SetTrialComponentName sets the TrialComponentName field's value. 40515 func (s *DeleteTrialComponentInput) SetTrialComponentName(v string) *DeleteTrialComponentInput { 40516 s.TrialComponentName = &v 40517 return s 40518 } 40519 40520 type DeleteTrialComponentOutput struct { 40521 _ struct{} `type:"structure"` 40522 40523 // The Amazon Resource Name (ARN) of the component is being deleted. 40524 TrialComponentArn *string `type:"string"` 40525 } 40526 40527 // String returns the string representation. 40528 // 40529 // API parameter values that are decorated as "sensitive" in the API will not 40530 // be included in the string output. The member name will be present, but the 40531 // value will be replaced with "sensitive". 40532 func (s DeleteTrialComponentOutput) String() string { 40533 return awsutil.Prettify(s) 40534 } 40535 40536 // GoString returns the string representation. 40537 // 40538 // API parameter values that are decorated as "sensitive" in the API will not 40539 // be included in the string output. The member name will be present, but the 40540 // value will be replaced with "sensitive". 40541 func (s DeleteTrialComponentOutput) GoString() string { 40542 return s.String() 40543 } 40544 40545 // SetTrialComponentArn sets the TrialComponentArn field's value. 40546 func (s *DeleteTrialComponentOutput) SetTrialComponentArn(v string) *DeleteTrialComponentOutput { 40547 s.TrialComponentArn = &v 40548 return s 40549 } 40550 40551 type DeleteTrialInput struct { 40552 _ struct{} `type:"structure"` 40553 40554 // The name of the trial to delete. 40555 // 40556 // TrialName is a required field 40557 TrialName *string `min:"1" type:"string" required:"true"` 40558 } 40559 40560 // String returns the string representation. 40561 // 40562 // API parameter values that are decorated as "sensitive" in the API will not 40563 // be included in the string output. The member name will be present, but the 40564 // value will be replaced with "sensitive". 40565 func (s DeleteTrialInput) String() string { 40566 return awsutil.Prettify(s) 40567 } 40568 40569 // GoString returns the string representation. 40570 // 40571 // API parameter values that are decorated as "sensitive" in the API will not 40572 // be included in the string output. The member name will be present, but the 40573 // value will be replaced with "sensitive". 40574 func (s DeleteTrialInput) GoString() string { 40575 return s.String() 40576 } 40577 40578 // Validate inspects the fields of the type to determine if they are valid. 40579 func (s *DeleteTrialInput) Validate() error { 40580 invalidParams := request.ErrInvalidParams{Context: "DeleteTrialInput"} 40581 if s.TrialName == nil { 40582 invalidParams.Add(request.NewErrParamRequired("TrialName")) 40583 } 40584 if s.TrialName != nil && len(*s.TrialName) < 1 { 40585 invalidParams.Add(request.NewErrParamMinLen("TrialName", 1)) 40586 } 40587 40588 if invalidParams.Len() > 0 { 40589 return invalidParams 40590 } 40591 return nil 40592 } 40593 40594 // SetTrialName sets the TrialName field's value. 40595 func (s *DeleteTrialInput) SetTrialName(v string) *DeleteTrialInput { 40596 s.TrialName = &v 40597 return s 40598 } 40599 40600 type DeleteTrialOutput struct { 40601 _ struct{} `type:"structure"` 40602 40603 // The Amazon Resource Name (ARN) of the trial that is being deleted. 40604 TrialArn *string `type:"string"` 40605 } 40606 40607 // String returns the string representation. 40608 // 40609 // API parameter values that are decorated as "sensitive" in the API will not 40610 // be included in the string output. The member name will be present, but the 40611 // value will be replaced with "sensitive". 40612 func (s DeleteTrialOutput) String() string { 40613 return awsutil.Prettify(s) 40614 } 40615 40616 // GoString returns the string representation. 40617 // 40618 // API parameter values that are decorated as "sensitive" in the API will not 40619 // be included in the string output. The member name will be present, but the 40620 // value will be replaced with "sensitive". 40621 func (s DeleteTrialOutput) GoString() string { 40622 return s.String() 40623 } 40624 40625 // SetTrialArn sets the TrialArn field's value. 40626 func (s *DeleteTrialOutput) SetTrialArn(v string) *DeleteTrialOutput { 40627 s.TrialArn = &v 40628 return s 40629 } 40630 40631 type DeleteUserProfileInput struct { 40632 _ struct{} `type:"structure"` 40633 40634 // The domain ID. 40635 // 40636 // DomainId is a required field 40637 DomainId *string `type:"string" required:"true"` 40638 40639 // The user profile name. 40640 // 40641 // UserProfileName is a required field 40642 UserProfileName *string `type:"string" required:"true"` 40643 } 40644 40645 // String returns the string representation. 40646 // 40647 // API parameter values that are decorated as "sensitive" in the API will not 40648 // be included in the string output. The member name will be present, but the 40649 // value will be replaced with "sensitive". 40650 func (s DeleteUserProfileInput) String() string { 40651 return awsutil.Prettify(s) 40652 } 40653 40654 // GoString returns the string representation. 40655 // 40656 // API parameter values that are decorated as "sensitive" in the API will not 40657 // be included in the string output. The member name will be present, but the 40658 // value will be replaced with "sensitive". 40659 func (s DeleteUserProfileInput) GoString() string { 40660 return s.String() 40661 } 40662 40663 // Validate inspects the fields of the type to determine if they are valid. 40664 func (s *DeleteUserProfileInput) Validate() error { 40665 invalidParams := request.ErrInvalidParams{Context: "DeleteUserProfileInput"} 40666 if s.DomainId == nil { 40667 invalidParams.Add(request.NewErrParamRequired("DomainId")) 40668 } 40669 if s.UserProfileName == nil { 40670 invalidParams.Add(request.NewErrParamRequired("UserProfileName")) 40671 } 40672 40673 if invalidParams.Len() > 0 { 40674 return invalidParams 40675 } 40676 return nil 40677 } 40678 40679 // SetDomainId sets the DomainId field's value. 40680 func (s *DeleteUserProfileInput) SetDomainId(v string) *DeleteUserProfileInput { 40681 s.DomainId = &v 40682 return s 40683 } 40684 40685 // SetUserProfileName sets the UserProfileName field's value. 40686 func (s *DeleteUserProfileInput) SetUserProfileName(v string) *DeleteUserProfileInput { 40687 s.UserProfileName = &v 40688 return s 40689 } 40690 40691 type DeleteUserProfileOutput struct { 40692 _ struct{} `type:"structure"` 40693 } 40694 40695 // String returns the string representation. 40696 // 40697 // API parameter values that are decorated as "sensitive" in the API will not 40698 // be included in the string output. The member name will be present, but the 40699 // value will be replaced with "sensitive". 40700 func (s DeleteUserProfileOutput) String() string { 40701 return awsutil.Prettify(s) 40702 } 40703 40704 // GoString returns the string representation. 40705 // 40706 // API parameter values that are decorated as "sensitive" in the API will not 40707 // be included in the string output. The member name will be present, but the 40708 // value will be replaced with "sensitive". 40709 func (s DeleteUserProfileOutput) GoString() string { 40710 return s.String() 40711 } 40712 40713 type DeleteWorkforceInput struct { 40714 _ struct{} `type:"structure"` 40715 40716 // The name of the workforce. 40717 // 40718 // WorkforceName is a required field 40719 WorkforceName *string `min:"1" type:"string" required:"true"` 40720 } 40721 40722 // String returns the string representation. 40723 // 40724 // API parameter values that are decorated as "sensitive" in the API will not 40725 // be included in the string output. The member name will be present, but the 40726 // value will be replaced with "sensitive". 40727 func (s DeleteWorkforceInput) String() string { 40728 return awsutil.Prettify(s) 40729 } 40730 40731 // GoString returns the string representation. 40732 // 40733 // API parameter values that are decorated as "sensitive" in the API will not 40734 // be included in the string output. The member name will be present, but the 40735 // value will be replaced with "sensitive". 40736 func (s DeleteWorkforceInput) GoString() string { 40737 return s.String() 40738 } 40739 40740 // Validate inspects the fields of the type to determine if they are valid. 40741 func (s *DeleteWorkforceInput) Validate() error { 40742 invalidParams := request.ErrInvalidParams{Context: "DeleteWorkforceInput"} 40743 if s.WorkforceName == nil { 40744 invalidParams.Add(request.NewErrParamRequired("WorkforceName")) 40745 } 40746 if s.WorkforceName != nil && len(*s.WorkforceName) < 1 { 40747 invalidParams.Add(request.NewErrParamMinLen("WorkforceName", 1)) 40748 } 40749 40750 if invalidParams.Len() > 0 { 40751 return invalidParams 40752 } 40753 return nil 40754 } 40755 40756 // SetWorkforceName sets the WorkforceName field's value. 40757 func (s *DeleteWorkforceInput) SetWorkforceName(v string) *DeleteWorkforceInput { 40758 s.WorkforceName = &v 40759 return s 40760 } 40761 40762 type DeleteWorkforceOutput struct { 40763 _ struct{} `type:"structure"` 40764 } 40765 40766 // String returns the string representation. 40767 // 40768 // API parameter values that are decorated as "sensitive" in the API will not 40769 // be included in the string output. The member name will be present, but the 40770 // value will be replaced with "sensitive". 40771 func (s DeleteWorkforceOutput) String() string { 40772 return awsutil.Prettify(s) 40773 } 40774 40775 // GoString returns the string representation. 40776 // 40777 // API parameter values that are decorated as "sensitive" in the API will not 40778 // be included in the string output. The member name will be present, but the 40779 // value will be replaced with "sensitive". 40780 func (s DeleteWorkforceOutput) GoString() string { 40781 return s.String() 40782 } 40783 40784 type DeleteWorkteamInput struct { 40785 _ struct{} `type:"structure"` 40786 40787 // The name of the work team to delete. 40788 // 40789 // WorkteamName is a required field 40790 WorkteamName *string `min:"1" type:"string" required:"true"` 40791 } 40792 40793 // String returns the string representation. 40794 // 40795 // API parameter values that are decorated as "sensitive" in the API will not 40796 // be included in the string output. The member name will be present, but the 40797 // value will be replaced with "sensitive". 40798 func (s DeleteWorkteamInput) String() string { 40799 return awsutil.Prettify(s) 40800 } 40801 40802 // GoString returns the string representation. 40803 // 40804 // API parameter values that are decorated as "sensitive" in the API will not 40805 // be included in the string output. The member name will be present, but the 40806 // value will be replaced with "sensitive". 40807 func (s DeleteWorkteamInput) GoString() string { 40808 return s.String() 40809 } 40810 40811 // Validate inspects the fields of the type to determine if they are valid. 40812 func (s *DeleteWorkteamInput) Validate() error { 40813 invalidParams := request.ErrInvalidParams{Context: "DeleteWorkteamInput"} 40814 if s.WorkteamName == nil { 40815 invalidParams.Add(request.NewErrParamRequired("WorkteamName")) 40816 } 40817 if s.WorkteamName != nil && len(*s.WorkteamName) < 1 { 40818 invalidParams.Add(request.NewErrParamMinLen("WorkteamName", 1)) 40819 } 40820 40821 if invalidParams.Len() > 0 { 40822 return invalidParams 40823 } 40824 return nil 40825 } 40826 40827 // SetWorkteamName sets the WorkteamName field's value. 40828 func (s *DeleteWorkteamInput) SetWorkteamName(v string) *DeleteWorkteamInput { 40829 s.WorkteamName = &v 40830 return s 40831 } 40832 40833 type DeleteWorkteamOutput struct { 40834 _ struct{} `type:"structure"` 40835 40836 // Returns true if the work team was successfully deleted; otherwise, returns 40837 // false. 40838 // 40839 // Success is a required field 40840 Success *bool `type:"boolean" required:"true"` 40841 } 40842 40843 // String returns the string representation. 40844 // 40845 // API parameter values that are decorated as "sensitive" in the API will not 40846 // be included in the string output. The member name will be present, but the 40847 // value will be replaced with "sensitive". 40848 func (s DeleteWorkteamOutput) String() string { 40849 return awsutil.Prettify(s) 40850 } 40851 40852 // GoString returns the string representation. 40853 // 40854 // API parameter values that are decorated as "sensitive" in the API will not 40855 // be included in the string output. The member name will be present, but the 40856 // value will be replaced with "sensitive". 40857 func (s DeleteWorkteamOutput) GoString() string { 40858 return s.String() 40859 } 40860 40861 // SetSuccess sets the Success field's value. 40862 func (s *DeleteWorkteamOutput) SetSuccess(v bool) *DeleteWorkteamOutput { 40863 s.Success = &v 40864 return s 40865 } 40866 40867 // Gets the Amazon EC2 Container Registry path of the docker image of the model 40868 // that is hosted in this ProductionVariant. 40869 // 40870 // If you used the registry/repository[:tag] form to specify the image path 40871 // of the primary container when you created the model hosted in this ProductionVariant, 40872 // the path resolves to a path of the form registry/repository[@digest]. A digest 40873 // is a hash value that identifies a specific version of an image. For information 40874 // about Amazon ECR paths, see Pulling an Image (https://docs.aws.amazon.com/AmazonECR/latest/userguide/docker-pull-ecr-image.html) 40875 // in the Amazon ECR User Guide. 40876 type DeployedImage struct { 40877 _ struct{} `type:"structure"` 40878 40879 // The date and time when the image path for the model resolved to the ResolvedImage 40880 ResolutionTime *time.Time `type:"timestamp"` 40881 40882 // The specific digest path of the image hosted in this ProductionVariant. 40883 ResolvedImage *string `type:"string"` 40884 40885 // The image path you specified when you created the model. 40886 SpecifiedImage *string `type:"string"` 40887 } 40888 40889 // String returns the string representation. 40890 // 40891 // API parameter values that are decorated as "sensitive" in the API will not 40892 // be included in the string output. The member name will be present, but the 40893 // value will be replaced with "sensitive". 40894 func (s DeployedImage) String() string { 40895 return awsutil.Prettify(s) 40896 } 40897 40898 // GoString returns the string representation. 40899 // 40900 // API parameter values that are decorated as "sensitive" in the API will not 40901 // be included in the string output. The member name will be present, but the 40902 // value will be replaced with "sensitive". 40903 func (s DeployedImage) GoString() string { 40904 return s.String() 40905 } 40906 40907 // SetResolutionTime sets the ResolutionTime field's value. 40908 func (s *DeployedImage) SetResolutionTime(v time.Time) *DeployedImage { 40909 s.ResolutionTime = &v 40910 return s 40911 } 40912 40913 // SetResolvedImage sets the ResolvedImage field's value. 40914 func (s *DeployedImage) SetResolvedImage(v string) *DeployedImage { 40915 s.ResolvedImage = &v 40916 return s 40917 } 40918 40919 // SetSpecifiedImage sets the SpecifiedImage field's value. 40920 func (s *DeployedImage) SetSpecifiedImage(v string) *DeployedImage { 40921 s.SpecifiedImage = &v 40922 return s 40923 } 40924 40925 // Currently, the DeploymentConfig API is not supported. 40926 type DeploymentConfig struct { 40927 _ struct{} `type:"structure"` 40928 40929 // Currently, the AutoRollbackConfig API is not supported. 40930 AutoRollbackConfiguration *AutoRollbackConfig `type:"structure"` 40931 40932 // Currently, the BlueGreenUpdatePolicy API is not supported. 40933 // 40934 // BlueGreenUpdatePolicy is a required field 40935 BlueGreenUpdatePolicy *BlueGreenUpdatePolicy `type:"structure" required:"true"` 40936 } 40937 40938 // String returns the string representation. 40939 // 40940 // API parameter values that are decorated as "sensitive" in the API will not 40941 // be included in the string output. The member name will be present, but the 40942 // value will be replaced with "sensitive". 40943 func (s DeploymentConfig) String() string { 40944 return awsutil.Prettify(s) 40945 } 40946 40947 // GoString returns the string representation. 40948 // 40949 // API parameter values that are decorated as "sensitive" in the API will not 40950 // be included in the string output. The member name will be present, but the 40951 // value will be replaced with "sensitive". 40952 func (s DeploymentConfig) GoString() string { 40953 return s.String() 40954 } 40955 40956 // Validate inspects the fields of the type to determine if they are valid. 40957 func (s *DeploymentConfig) Validate() error { 40958 invalidParams := request.ErrInvalidParams{Context: "DeploymentConfig"} 40959 if s.BlueGreenUpdatePolicy == nil { 40960 invalidParams.Add(request.NewErrParamRequired("BlueGreenUpdatePolicy")) 40961 } 40962 if s.AutoRollbackConfiguration != nil { 40963 if err := s.AutoRollbackConfiguration.Validate(); err != nil { 40964 invalidParams.AddNested("AutoRollbackConfiguration", err.(request.ErrInvalidParams)) 40965 } 40966 } 40967 if s.BlueGreenUpdatePolicy != nil { 40968 if err := s.BlueGreenUpdatePolicy.Validate(); err != nil { 40969 invalidParams.AddNested("BlueGreenUpdatePolicy", err.(request.ErrInvalidParams)) 40970 } 40971 } 40972 40973 if invalidParams.Len() > 0 { 40974 return invalidParams 40975 } 40976 return nil 40977 } 40978 40979 // SetAutoRollbackConfiguration sets the AutoRollbackConfiguration field's value. 40980 func (s *DeploymentConfig) SetAutoRollbackConfiguration(v *AutoRollbackConfig) *DeploymentConfig { 40981 s.AutoRollbackConfiguration = v 40982 return s 40983 } 40984 40985 // SetBlueGreenUpdatePolicy sets the BlueGreenUpdatePolicy field's value. 40986 func (s *DeploymentConfig) SetBlueGreenUpdatePolicy(v *BlueGreenUpdatePolicy) *DeploymentConfig { 40987 s.BlueGreenUpdatePolicy = v 40988 return s 40989 } 40990 40991 type DeregisterDevicesInput struct { 40992 _ struct{} `type:"structure"` 40993 40994 // The name of the fleet the devices belong to. 40995 // 40996 // DeviceFleetName is a required field 40997 DeviceFleetName *string `min:"1" type:"string" required:"true"` 40998 40999 // The unique IDs of the devices. 41000 // 41001 // DeviceNames is a required field 41002 DeviceNames []*string `type:"list" required:"true"` 41003 } 41004 41005 // String returns the string representation. 41006 // 41007 // API parameter values that are decorated as "sensitive" in the API will not 41008 // be included in the string output. The member name will be present, but the 41009 // value will be replaced with "sensitive". 41010 func (s DeregisterDevicesInput) String() string { 41011 return awsutil.Prettify(s) 41012 } 41013 41014 // GoString returns the string representation. 41015 // 41016 // API parameter values that are decorated as "sensitive" in the API will not 41017 // be included in the string output. The member name will be present, but the 41018 // value will be replaced with "sensitive". 41019 func (s DeregisterDevicesInput) GoString() string { 41020 return s.String() 41021 } 41022 41023 // Validate inspects the fields of the type to determine if they are valid. 41024 func (s *DeregisterDevicesInput) Validate() error { 41025 invalidParams := request.ErrInvalidParams{Context: "DeregisterDevicesInput"} 41026 if s.DeviceFleetName == nil { 41027 invalidParams.Add(request.NewErrParamRequired("DeviceFleetName")) 41028 } 41029 if s.DeviceFleetName != nil && len(*s.DeviceFleetName) < 1 { 41030 invalidParams.Add(request.NewErrParamMinLen("DeviceFleetName", 1)) 41031 } 41032 if s.DeviceNames == nil { 41033 invalidParams.Add(request.NewErrParamRequired("DeviceNames")) 41034 } 41035 41036 if invalidParams.Len() > 0 { 41037 return invalidParams 41038 } 41039 return nil 41040 } 41041 41042 // SetDeviceFleetName sets the DeviceFleetName field's value. 41043 func (s *DeregisterDevicesInput) SetDeviceFleetName(v string) *DeregisterDevicesInput { 41044 s.DeviceFleetName = &v 41045 return s 41046 } 41047 41048 // SetDeviceNames sets the DeviceNames field's value. 41049 func (s *DeregisterDevicesInput) SetDeviceNames(v []*string) *DeregisterDevicesInput { 41050 s.DeviceNames = v 41051 return s 41052 } 41053 41054 type DeregisterDevicesOutput struct { 41055 _ struct{} `type:"structure"` 41056 } 41057 41058 // String returns the string representation. 41059 // 41060 // API parameter values that are decorated as "sensitive" in the API will not 41061 // be included in the string output. The member name will be present, but the 41062 // value will be replaced with "sensitive". 41063 func (s DeregisterDevicesOutput) String() string { 41064 return awsutil.Prettify(s) 41065 } 41066 41067 // GoString returns the string representation. 41068 // 41069 // API parameter values that are decorated as "sensitive" in the API will not 41070 // be included in the string output. The member name will be present, but the 41071 // value will be replaced with "sensitive". 41072 func (s DeregisterDevicesOutput) GoString() string { 41073 return s.String() 41074 } 41075 41076 type DescribeActionInput struct { 41077 _ struct{} `type:"structure"` 41078 41079 // The name of the action to describe. 41080 // 41081 // ActionName is a required field 41082 ActionName *string `min:"1" type:"string" required:"true"` 41083 } 41084 41085 // String returns the string representation. 41086 // 41087 // API parameter values that are decorated as "sensitive" in the API will not 41088 // be included in the string output. The member name will be present, but the 41089 // value will be replaced with "sensitive". 41090 func (s DescribeActionInput) String() string { 41091 return awsutil.Prettify(s) 41092 } 41093 41094 // GoString returns the string representation. 41095 // 41096 // API parameter values that are decorated as "sensitive" in the API will not 41097 // be included in the string output. The member name will be present, but the 41098 // value will be replaced with "sensitive". 41099 func (s DescribeActionInput) GoString() string { 41100 return s.String() 41101 } 41102 41103 // Validate inspects the fields of the type to determine if they are valid. 41104 func (s *DescribeActionInput) Validate() error { 41105 invalidParams := request.ErrInvalidParams{Context: "DescribeActionInput"} 41106 if s.ActionName == nil { 41107 invalidParams.Add(request.NewErrParamRequired("ActionName")) 41108 } 41109 if s.ActionName != nil && len(*s.ActionName) < 1 { 41110 invalidParams.Add(request.NewErrParamMinLen("ActionName", 1)) 41111 } 41112 41113 if invalidParams.Len() > 0 { 41114 return invalidParams 41115 } 41116 return nil 41117 } 41118 41119 // SetActionName sets the ActionName field's value. 41120 func (s *DescribeActionInput) SetActionName(v string) *DescribeActionInput { 41121 s.ActionName = &v 41122 return s 41123 } 41124 41125 type DescribeActionOutput struct { 41126 _ struct{} `type:"structure"` 41127 41128 // The Amazon Resource Name (ARN) of the action. 41129 ActionArn *string `type:"string"` 41130 41131 // The name of the action. 41132 ActionName *string `min:"1" type:"string"` 41133 41134 // The type of the action. 41135 ActionType *string `type:"string"` 41136 41137 // Information about the user who created or modified an experiment, trial, 41138 // trial component, or project. 41139 CreatedBy *UserContext `type:"structure"` 41140 41141 // When the action was created. 41142 CreationTime *time.Time `type:"timestamp"` 41143 41144 // The description of the action. 41145 Description *string `type:"string"` 41146 41147 // Information about the user who created or modified an experiment, trial, 41148 // trial component, or project. 41149 LastModifiedBy *UserContext `type:"structure"` 41150 41151 // When the action was last modified. 41152 LastModifiedTime *time.Time `type:"timestamp"` 41153 41154 // Metadata properties of the tracking entity, trial, or trial component. 41155 MetadataProperties *MetadataProperties `type:"structure"` 41156 41157 // A list of the action's properties. 41158 Properties map[string]*string `type:"map"` 41159 41160 // The source of the action. 41161 Source *ActionSource `type:"structure"` 41162 41163 // The status of the action. 41164 Status *string `type:"string" enum:"ActionStatus"` 41165 } 41166 41167 // String returns the string representation. 41168 // 41169 // API parameter values that are decorated as "sensitive" in the API will not 41170 // be included in the string output. The member name will be present, but the 41171 // value will be replaced with "sensitive". 41172 func (s DescribeActionOutput) String() string { 41173 return awsutil.Prettify(s) 41174 } 41175 41176 // GoString returns the string representation. 41177 // 41178 // API parameter values that are decorated as "sensitive" in the API will not 41179 // be included in the string output. The member name will be present, but the 41180 // value will be replaced with "sensitive". 41181 func (s DescribeActionOutput) GoString() string { 41182 return s.String() 41183 } 41184 41185 // SetActionArn sets the ActionArn field's value. 41186 func (s *DescribeActionOutput) SetActionArn(v string) *DescribeActionOutput { 41187 s.ActionArn = &v 41188 return s 41189 } 41190 41191 // SetActionName sets the ActionName field's value. 41192 func (s *DescribeActionOutput) SetActionName(v string) *DescribeActionOutput { 41193 s.ActionName = &v 41194 return s 41195 } 41196 41197 // SetActionType sets the ActionType field's value. 41198 func (s *DescribeActionOutput) SetActionType(v string) *DescribeActionOutput { 41199 s.ActionType = &v 41200 return s 41201 } 41202 41203 // SetCreatedBy sets the CreatedBy field's value. 41204 func (s *DescribeActionOutput) SetCreatedBy(v *UserContext) *DescribeActionOutput { 41205 s.CreatedBy = v 41206 return s 41207 } 41208 41209 // SetCreationTime sets the CreationTime field's value. 41210 func (s *DescribeActionOutput) SetCreationTime(v time.Time) *DescribeActionOutput { 41211 s.CreationTime = &v 41212 return s 41213 } 41214 41215 // SetDescription sets the Description field's value. 41216 func (s *DescribeActionOutput) SetDescription(v string) *DescribeActionOutput { 41217 s.Description = &v 41218 return s 41219 } 41220 41221 // SetLastModifiedBy sets the LastModifiedBy field's value. 41222 func (s *DescribeActionOutput) SetLastModifiedBy(v *UserContext) *DescribeActionOutput { 41223 s.LastModifiedBy = v 41224 return s 41225 } 41226 41227 // SetLastModifiedTime sets the LastModifiedTime field's value. 41228 func (s *DescribeActionOutput) SetLastModifiedTime(v time.Time) *DescribeActionOutput { 41229 s.LastModifiedTime = &v 41230 return s 41231 } 41232 41233 // SetMetadataProperties sets the MetadataProperties field's value. 41234 func (s *DescribeActionOutput) SetMetadataProperties(v *MetadataProperties) *DescribeActionOutput { 41235 s.MetadataProperties = v 41236 return s 41237 } 41238 41239 // SetProperties sets the Properties field's value. 41240 func (s *DescribeActionOutput) SetProperties(v map[string]*string) *DescribeActionOutput { 41241 s.Properties = v 41242 return s 41243 } 41244 41245 // SetSource sets the Source field's value. 41246 func (s *DescribeActionOutput) SetSource(v *ActionSource) *DescribeActionOutput { 41247 s.Source = v 41248 return s 41249 } 41250 41251 // SetStatus sets the Status field's value. 41252 func (s *DescribeActionOutput) SetStatus(v string) *DescribeActionOutput { 41253 s.Status = &v 41254 return s 41255 } 41256 41257 type DescribeAlgorithmInput struct { 41258 _ struct{} `type:"structure"` 41259 41260 // The name of the algorithm to describe. 41261 // 41262 // AlgorithmName is a required field 41263 AlgorithmName *string `min:"1" type:"string" required:"true"` 41264 } 41265 41266 // String returns the string representation. 41267 // 41268 // API parameter values that are decorated as "sensitive" in the API will not 41269 // be included in the string output. The member name will be present, but the 41270 // value will be replaced with "sensitive". 41271 func (s DescribeAlgorithmInput) String() string { 41272 return awsutil.Prettify(s) 41273 } 41274 41275 // GoString returns the string representation. 41276 // 41277 // API parameter values that are decorated as "sensitive" in the API will not 41278 // be included in the string output. The member name will be present, but the 41279 // value will be replaced with "sensitive". 41280 func (s DescribeAlgorithmInput) GoString() string { 41281 return s.String() 41282 } 41283 41284 // Validate inspects the fields of the type to determine if they are valid. 41285 func (s *DescribeAlgorithmInput) Validate() error { 41286 invalidParams := request.ErrInvalidParams{Context: "DescribeAlgorithmInput"} 41287 if s.AlgorithmName == nil { 41288 invalidParams.Add(request.NewErrParamRequired("AlgorithmName")) 41289 } 41290 if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 { 41291 invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1)) 41292 } 41293 41294 if invalidParams.Len() > 0 { 41295 return invalidParams 41296 } 41297 return nil 41298 } 41299 41300 // SetAlgorithmName sets the AlgorithmName field's value. 41301 func (s *DescribeAlgorithmInput) SetAlgorithmName(v string) *DescribeAlgorithmInput { 41302 s.AlgorithmName = &v 41303 return s 41304 } 41305 41306 type DescribeAlgorithmOutput struct { 41307 _ struct{} `type:"structure"` 41308 41309 // The Amazon Resource Name (ARN) of the algorithm. 41310 // 41311 // AlgorithmArn is a required field 41312 AlgorithmArn *string `min:"1" type:"string" required:"true"` 41313 41314 // A brief summary about the algorithm. 41315 AlgorithmDescription *string `type:"string"` 41316 41317 // The name of the algorithm being described. 41318 // 41319 // AlgorithmName is a required field 41320 AlgorithmName *string `min:"1" type:"string" required:"true"` 41321 41322 // The current status of the algorithm. 41323 // 41324 // AlgorithmStatus is a required field 41325 AlgorithmStatus *string `type:"string" required:"true" enum:"AlgorithmStatus"` 41326 41327 // Details about the current status of the algorithm. 41328 // 41329 // AlgorithmStatusDetails is a required field 41330 AlgorithmStatusDetails *AlgorithmStatusDetails `type:"structure" required:"true"` 41331 41332 // Whether the algorithm is certified to be listed in Amazon Web Services Marketplace. 41333 CertifyForMarketplace *bool `type:"boolean"` 41334 41335 // A timestamp specifying when the algorithm was created. 41336 // 41337 // CreationTime is a required field 41338 CreationTime *time.Time `type:"timestamp" required:"true"` 41339 41340 // Details about inference jobs that the algorithm runs. 41341 InferenceSpecification *InferenceSpecification `type:"structure"` 41342 41343 // The product identifier of the algorithm. 41344 ProductId *string `type:"string"` 41345 41346 // Details about training jobs run by this algorithm. 41347 // 41348 // TrainingSpecification is a required field 41349 TrainingSpecification *TrainingSpecification `type:"structure" required:"true"` 41350 41351 // Details about configurations for one or more training jobs that Amazon SageMaker 41352 // runs to test the algorithm. 41353 ValidationSpecification *AlgorithmValidationSpecification `type:"structure"` 41354 } 41355 41356 // String returns the string representation. 41357 // 41358 // API parameter values that are decorated as "sensitive" in the API will not 41359 // be included in the string output. The member name will be present, but the 41360 // value will be replaced with "sensitive". 41361 func (s DescribeAlgorithmOutput) String() string { 41362 return awsutil.Prettify(s) 41363 } 41364 41365 // GoString returns the string representation. 41366 // 41367 // API parameter values that are decorated as "sensitive" in the API will not 41368 // be included in the string output. The member name will be present, but the 41369 // value will be replaced with "sensitive". 41370 func (s DescribeAlgorithmOutput) GoString() string { 41371 return s.String() 41372 } 41373 41374 // SetAlgorithmArn sets the AlgorithmArn field's value. 41375 func (s *DescribeAlgorithmOutput) SetAlgorithmArn(v string) *DescribeAlgorithmOutput { 41376 s.AlgorithmArn = &v 41377 return s 41378 } 41379 41380 // SetAlgorithmDescription sets the AlgorithmDescription field's value. 41381 func (s *DescribeAlgorithmOutput) SetAlgorithmDescription(v string) *DescribeAlgorithmOutput { 41382 s.AlgorithmDescription = &v 41383 return s 41384 } 41385 41386 // SetAlgorithmName sets the AlgorithmName field's value. 41387 func (s *DescribeAlgorithmOutput) SetAlgorithmName(v string) *DescribeAlgorithmOutput { 41388 s.AlgorithmName = &v 41389 return s 41390 } 41391 41392 // SetAlgorithmStatus sets the AlgorithmStatus field's value. 41393 func (s *DescribeAlgorithmOutput) SetAlgorithmStatus(v string) *DescribeAlgorithmOutput { 41394 s.AlgorithmStatus = &v 41395 return s 41396 } 41397 41398 // SetAlgorithmStatusDetails sets the AlgorithmStatusDetails field's value. 41399 func (s *DescribeAlgorithmOutput) SetAlgorithmStatusDetails(v *AlgorithmStatusDetails) *DescribeAlgorithmOutput { 41400 s.AlgorithmStatusDetails = v 41401 return s 41402 } 41403 41404 // SetCertifyForMarketplace sets the CertifyForMarketplace field's value. 41405 func (s *DescribeAlgorithmOutput) SetCertifyForMarketplace(v bool) *DescribeAlgorithmOutput { 41406 s.CertifyForMarketplace = &v 41407 return s 41408 } 41409 41410 // SetCreationTime sets the CreationTime field's value. 41411 func (s *DescribeAlgorithmOutput) SetCreationTime(v time.Time) *DescribeAlgorithmOutput { 41412 s.CreationTime = &v 41413 return s 41414 } 41415 41416 // SetInferenceSpecification sets the InferenceSpecification field's value. 41417 func (s *DescribeAlgorithmOutput) SetInferenceSpecification(v *InferenceSpecification) *DescribeAlgorithmOutput { 41418 s.InferenceSpecification = v 41419 return s 41420 } 41421 41422 // SetProductId sets the ProductId field's value. 41423 func (s *DescribeAlgorithmOutput) SetProductId(v string) *DescribeAlgorithmOutput { 41424 s.ProductId = &v 41425 return s 41426 } 41427 41428 // SetTrainingSpecification sets the TrainingSpecification field's value. 41429 func (s *DescribeAlgorithmOutput) SetTrainingSpecification(v *TrainingSpecification) *DescribeAlgorithmOutput { 41430 s.TrainingSpecification = v 41431 return s 41432 } 41433 41434 // SetValidationSpecification sets the ValidationSpecification field's value. 41435 func (s *DescribeAlgorithmOutput) SetValidationSpecification(v *AlgorithmValidationSpecification) *DescribeAlgorithmOutput { 41436 s.ValidationSpecification = v 41437 return s 41438 } 41439 41440 type DescribeAppImageConfigInput struct { 41441 _ struct{} `type:"structure"` 41442 41443 // The name of the AppImageConfig to describe. 41444 // 41445 // AppImageConfigName is a required field 41446 AppImageConfigName *string `type:"string" required:"true"` 41447 } 41448 41449 // String returns the string representation. 41450 // 41451 // API parameter values that are decorated as "sensitive" in the API will not 41452 // be included in the string output. The member name will be present, but the 41453 // value will be replaced with "sensitive". 41454 func (s DescribeAppImageConfigInput) String() string { 41455 return awsutil.Prettify(s) 41456 } 41457 41458 // GoString returns the string representation. 41459 // 41460 // API parameter values that are decorated as "sensitive" in the API will not 41461 // be included in the string output. The member name will be present, but the 41462 // value will be replaced with "sensitive". 41463 func (s DescribeAppImageConfigInput) GoString() string { 41464 return s.String() 41465 } 41466 41467 // Validate inspects the fields of the type to determine if they are valid. 41468 func (s *DescribeAppImageConfigInput) Validate() error { 41469 invalidParams := request.ErrInvalidParams{Context: "DescribeAppImageConfigInput"} 41470 if s.AppImageConfigName == nil { 41471 invalidParams.Add(request.NewErrParamRequired("AppImageConfigName")) 41472 } 41473 41474 if invalidParams.Len() > 0 { 41475 return invalidParams 41476 } 41477 return nil 41478 } 41479 41480 // SetAppImageConfigName sets the AppImageConfigName field's value. 41481 func (s *DescribeAppImageConfigInput) SetAppImageConfigName(v string) *DescribeAppImageConfigInput { 41482 s.AppImageConfigName = &v 41483 return s 41484 } 41485 41486 type DescribeAppImageConfigOutput struct { 41487 _ struct{} `type:"structure"` 41488 41489 // The Amazon Resource Name (ARN) of the AppImageConfig. 41490 AppImageConfigArn *string `type:"string"` 41491 41492 // The name of the AppImageConfig. 41493 AppImageConfigName *string `type:"string"` 41494 41495 // When the AppImageConfig was created. 41496 CreationTime *time.Time `type:"timestamp"` 41497 41498 // The configuration of a KernelGateway app. 41499 KernelGatewayImageConfig *KernelGatewayImageConfig `type:"structure"` 41500 41501 // When the AppImageConfig was last modified. 41502 LastModifiedTime *time.Time `type:"timestamp"` 41503 } 41504 41505 // String returns the string representation. 41506 // 41507 // API parameter values that are decorated as "sensitive" in the API will not 41508 // be included in the string output. The member name will be present, but the 41509 // value will be replaced with "sensitive". 41510 func (s DescribeAppImageConfigOutput) String() string { 41511 return awsutil.Prettify(s) 41512 } 41513 41514 // GoString returns the string representation. 41515 // 41516 // API parameter values that are decorated as "sensitive" in the API will not 41517 // be included in the string output. The member name will be present, but the 41518 // value will be replaced with "sensitive". 41519 func (s DescribeAppImageConfigOutput) GoString() string { 41520 return s.String() 41521 } 41522 41523 // SetAppImageConfigArn sets the AppImageConfigArn field's value. 41524 func (s *DescribeAppImageConfigOutput) SetAppImageConfigArn(v string) *DescribeAppImageConfigOutput { 41525 s.AppImageConfigArn = &v 41526 return s 41527 } 41528 41529 // SetAppImageConfigName sets the AppImageConfigName field's value. 41530 func (s *DescribeAppImageConfigOutput) SetAppImageConfigName(v string) *DescribeAppImageConfigOutput { 41531 s.AppImageConfigName = &v 41532 return s 41533 } 41534 41535 // SetCreationTime sets the CreationTime field's value. 41536 func (s *DescribeAppImageConfigOutput) SetCreationTime(v time.Time) *DescribeAppImageConfigOutput { 41537 s.CreationTime = &v 41538 return s 41539 } 41540 41541 // SetKernelGatewayImageConfig sets the KernelGatewayImageConfig field's value. 41542 func (s *DescribeAppImageConfigOutput) SetKernelGatewayImageConfig(v *KernelGatewayImageConfig) *DescribeAppImageConfigOutput { 41543 s.KernelGatewayImageConfig = v 41544 return s 41545 } 41546 41547 // SetLastModifiedTime sets the LastModifiedTime field's value. 41548 func (s *DescribeAppImageConfigOutput) SetLastModifiedTime(v time.Time) *DescribeAppImageConfigOutput { 41549 s.LastModifiedTime = &v 41550 return s 41551 } 41552 41553 type DescribeAppInput struct { 41554 _ struct{} `type:"structure"` 41555 41556 // The name of the app. 41557 // 41558 // AppName is a required field 41559 AppName *string `type:"string" required:"true"` 41560 41561 // The type of app. 41562 // 41563 // AppType is a required field 41564 AppType *string `type:"string" required:"true" enum:"AppType"` 41565 41566 // The domain ID. 41567 // 41568 // DomainId is a required field 41569 DomainId *string `type:"string" required:"true"` 41570 41571 // The user profile name. 41572 // 41573 // UserProfileName is a required field 41574 UserProfileName *string `type:"string" required:"true"` 41575 } 41576 41577 // String returns the string representation. 41578 // 41579 // API parameter values that are decorated as "sensitive" in the API will not 41580 // be included in the string output. The member name will be present, but the 41581 // value will be replaced with "sensitive". 41582 func (s DescribeAppInput) String() string { 41583 return awsutil.Prettify(s) 41584 } 41585 41586 // GoString returns the string representation. 41587 // 41588 // API parameter values that are decorated as "sensitive" in the API will not 41589 // be included in the string output. The member name will be present, but the 41590 // value will be replaced with "sensitive". 41591 func (s DescribeAppInput) GoString() string { 41592 return s.String() 41593 } 41594 41595 // Validate inspects the fields of the type to determine if they are valid. 41596 func (s *DescribeAppInput) Validate() error { 41597 invalidParams := request.ErrInvalidParams{Context: "DescribeAppInput"} 41598 if s.AppName == nil { 41599 invalidParams.Add(request.NewErrParamRequired("AppName")) 41600 } 41601 if s.AppType == nil { 41602 invalidParams.Add(request.NewErrParamRequired("AppType")) 41603 } 41604 if s.DomainId == nil { 41605 invalidParams.Add(request.NewErrParamRequired("DomainId")) 41606 } 41607 if s.UserProfileName == nil { 41608 invalidParams.Add(request.NewErrParamRequired("UserProfileName")) 41609 } 41610 41611 if invalidParams.Len() > 0 { 41612 return invalidParams 41613 } 41614 return nil 41615 } 41616 41617 // SetAppName sets the AppName field's value. 41618 func (s *DescribeAppInput) SetAppName(v string) *DescribeAppInput { 41619 s.AppName = &v 41620 return s 41621 } 41622 41623 // SetAppType sets the AppType field's value. 41624 func (s *DescribeAppInput) SetAppType(v string) *DescribeAppInput { 41625 s.AppType = &v 41626 return s 41627 } 41628 41629 // SetDomainId sets the DomainId field's value. 41630 func (s *DescribeAppInput) SetDomainId(v string) *DescribeAppInput { 41631 s.DomainId = &v 41632 return s 41633 } 41634 41635 // SetUserProfileName sets the UserProfileName field's value. 41636 func (s *DescribeAppInput) SetUserProfileName(v string) *DescribeAppInput { 41637 s.UserProfileName = &v 41638 return s 41639 } 41640 41641 type DescribeAppOutput struct { 41642 _ struct{} `type:"structure"` 41643 41644 // The Amazon Resource Name (ARN) of the app. 41645 AppArn *string `type:"string"` 41646 41647 // The name of the app. 41648 AppName *string `type:"string"` 41649 41650 // The type of app. 41651 AppType *string `type:"string" enum:"AppType"` 41652 41653 // The creation time. 41654 CreationTime *time.Time `type:"timestamp"` 41655 41656 // The domain ID. 41657 DomainId *string `type:"string"` 41658 41659 // The failure reason. 41660 FailureReason *string `type:"string"` 41661 41662 // The timestamp of the last health check. 41663 LastHealthCheckTimestamp *time.Time `type:"timestamp"` 41664 41665 // The timestamp of the last user's activity. LastUserActivityTimestamp is also 41666 // updated when SageMaker performs health checks without user activity. As a 41667 // result, this value is set to the same value as LastHealthCheckTimestamp. 41668 LastUserActivityTimestamp *time.Time `type:"timestamp"` 41669 41670 // The instance type and the Amazon Resource Name (ARN) of the SageMaker image 41671 // created on the instance. 41672 ResourceSpec *ResourceSpec `type:"structure"` 41673 41674 // The status. 41675 Status *string `type:"string" enum:"AppStatus"` 41676 41677 // The user profile name. 41678 UserProfileName *string `type:"string"` 41679 } 41680 41681 // String returns the string representation. 41682 // 41683 // API parameter values that are decorated as "sensitive" in the API will not 41684 // be included in the string output. The member name will be present, but the 41685 // value will be replaced with "sensitive". 41686 func (s DescribeAppOutput) String() string { 41687 return awsutil.Prettify(s) 41688 } 41689 41690 // GoString returns the string representation. 41691 // 41692 // API parameter values that are decorated as "sensitive" in the API will not 41693 // be included in the string output. The member name will be present, but the 41694 // value will be replaced with "sensitive". 41695 func (s DescribeAppOutput) GoString() string { 41696 return s.String() 41697 } 41698 41699 // SetAppArn sets the AppArn field's value. 41700 func (s *DescribeAppOutput) SetAppArn(v string) *DescribeAppOutput { 41701 s.AppArn = &v 41702 return s 41703 } 41704 41705 // SetAppName sets the AppName field's value. 41706 func (s *DescribeAppOutput) SetAppName(v string) *DescribeAppOutput { 41707 s.AppName = &v 41708 return s 41709 } 41710 41711 // SetAppType sets the AppType field's value. 41712 func (s *DescribeAppOutput) SetAppType(v string) *DescribeAppOutput { 41713 s.AppType = &v 41714 return s 41715 } 41716 41717 // SetCreationTime sets the CreationTime field's value. 41718 func (s *DescribeAppOutput) SetCreationTime(v time.Time) *DescribeAppOutput { 41719 s.CreationTime = &v 41720 return s 41721 } 41722 41723 // SetDomainId sets the DomainId field's value. 41724 func (s *DescribeAppOutput) SetDomainId(v string) *DescribeAppOutput { 41725 s.DomainId = &v 41726 return s 41727 } 41728 41729 // SetFailureReason sets the FailureReason field's value. 41730 func (s *DescribeAppOutput) SetFailureReason(v string) *DescribeAppOutput { 41731 s.FailureReason = &v 41732 return s 41733 } 41734 41735 // SetLastHealthCheckTimestamp sets the LastHealthCheckTimestamp field's value. 41736 func (s *DescribeAppOutput) SetLastHealthCheckTimestamp(v time.Time) *DescribeAppOutput { 41737 s.LastHealthCheckTimestamp = &v 41738 return s 41739 } 41740 41741 // SetLastUserActivityTimestamp sets the LastUserActivityTimestamp field's value. 41742 func (s *DescribeAppOutput) SetLastUserActivityTimestamp(v time.Time) *DescribeAppOutput { 41743 s.LastUserActivityTimestamp = &v 41744 return s 41745 } 41746 41747 // SetResourceSpec sets the ResourceSpec field's value. 41748 func (s *DescribeAppOutput) SetResourceSpec(v *ResourceSpec) *DescribeAppOutput { 41749 s.ResourceSpec = v 41750 return s 41751 } 41752 41753 // SetStatus sets the Status field's value. 41754 func (s *DescribeAppOutput) SetStatus(v string) *DescribeAppOutput { 41755 s.Status = &v 41756 return s 41757 } 41758 41759 // SetUserProfileName sets the UserProfileName field's value. 41760 func (s *DescribeAppOutput) SetUserProfileName(v string) *DescribeAppOutput { 41761 s.UserProfileName = &v 41762 return s 41763 } 41764 41765 type DescribeArtifactInput struct { 41766 _ struct{} `type:"structure"` 41767 41768 // The Amazon Resource Name (ARN) of the artifact to describe. 41769 // 41770 // ArtifactArn is a required field 41771 ArtifactArn *string `type:"string" required:"true"` 41772 } 41773 41774 // String returns the string representation. 41775 // 41776 // API parameter values that are decorated as "sensitive" in the API will not 41777 // be included in the string output. The member name will be present, but the 41778 // value will be replaced with "sensitive". 41779 func (s DescribeArtifactInput) String() string { 41780 return awsutil.Prettify(s) 41781 } 41782 41783 // GoString returns the string representation. 41784 // 41785 // API parameter values that are decorated as "sensitive" in the API will not 41786 // be included in the string output. The member name will be present, but the 41787 // value will be replaced with "sensitive". 41788 func (s DescribeArtifactInput) GoString() string { 41789 return s.String() 41790 } 41791 41792 // Validate inspects the fields of the type to determine if they are valid. 41793 func (s *DescribeArtifactInput) Validate() error { 41794 invalidParams := request.ErrInvalidParams{Context: "DescribeArtifactInput"} 41795 if s.ArtifactArn == nil { 41796 invalidParams.Add(request.NewErrParamRequired("ArtifactArn")) 41797 } 41798 41799 if invalidParams.Len() > 0 { 41800 return invalidParams 41801 } 41802 return nil 41803 } 41804 41805 // SetArtifactArn sets the ArtifactArn field's value. 41806 func (s *DescribeArtifactInput) SetArtifactArn(v string) *DescribeArtifactInput { 41807 s.ArtifactArn = &v 41808 return s 41809 } 41810 41811 type DescribeArtifactOutput struct { 41812 _ struct{} `type:"structure"` 41813 41814 // The Amazon Resource Name (ARN) of the artifact. 41815 ArtifactArn *string `type:"string"` 41816 41817 // The name of the artifact. 41818 ArtifactName *string `min:"1" type:"string"` 41819 41820 // The type of the artifact. 41821 ArtifactType *string `type:"string"` 41822 41823 // Information about the user who created or modified an experiment, trial, 41824 // trial component, or project. 41825 CreatedBy *UserContext `type:"structure"` 41826 41827 // When the artifact was created. 41828 CreationTime *time.Time `type:"timestamp"` 41829 41830 // Information about the user who created or modified an experiment, trial, 41831 // trial component, or project. 41832 LastModifiedBy *UserContext `type:"structure"` 41833 41834 // When the artifact was last modified. 41835 LastModifiedTime *time.Time `type:"timestamp"` 41836 41837 // Metadata properties of the tracking entity, trial, or trial component. 41838 MetadataProperties *MetadataProperties `type:"structure"` 41839 41840 // A list of the artifact's properties. 41841 Properties map[string]*string `type:"map"` 41842 41843 // The source of the artifact. 41844 Source *ArtifactSource `type:"structure"` 41845 } 41846 41847 // String returns the string representation. 41848 // 41849 // API parameter values that are decorated as "sensitive" in the API will not 41850 // be included in the string output. The member name will be present, but the 41851 // value will be replaced with "sensitive". 41852 func (s DescribeArtifactOutput) String() string { 41853 return awsutil.Prettify(s) 41854 } 41855 41856 // GoString returns the string representation. 41857 // 41858 // API parameter values that are decorated as "sensitive" in the API will not 41859 // be included in the string output. The member name will be present, but the 41860 // value will be replaced with "sensitive". 41861 func (s DescribeArtifactOutput) GoString() string { 41862 return s.String() 41863 } 41864 41865 // SetArtifactArn sets the ArtifactArn field's value. 41866 func (s *DescribeArtifactOutput) SetArtifactArn(v string) *DescribeArtifactOutput { 41867 s.ArtifactArn = &v 41868 return s 41869 } 41870 41871 // SetArtifactName sets the ArtifactName field's value. 41872 func (s *DescribeArtifactOutput) SetArtifactName(v string) *DescribeArtifactOutput { 41873 s.ArtifactName = &v 41874 return s 41875 } 41876 41877 // SetArtifactType sets the ArtifactType field's value. 41878 func (s *DescribeArtifactOutput) SetArtifactType(v string) *DescribeArtifactOutput { 41879 s.ArtifactType = &v 41880 return s 41881 } 41882 41883 // SetCreatedBy sets the CreatedBy field's value. 41884 func (s *DescribeArtifactOutput) SetCreatedBy(v *UserContext) *DescribeArtifactOutput { 41885 s.CreatedBy = v 41886 return s 41887 } 41888 41889 // SetCreationTime sets the CreationTime field's value. 41890 func (s *DescribeArtifactOutput) SetCreationTime(v time.Time) *DescribeArtifactOutput { 41891 s.CreationTime = &v 41892 return s 41893 } 41894 41895 // SetLastModifiedBy sets the LastModifiedBy field's value. 41896 func (s *DescribeArtifactOutput) SetLastModifiedBy(v *UserContext) *DescribeArtifactOutput { 41897 s.LastModifiedBy = v 41898 return s 41899 } 41900 41901 // SetLastModifiedTime sets the LastModifiedTime field's value. 41902 func (s *DescribeArtifactOutput) SetLastModifiedTime(v time.Time) *DescribeArtifactOutput { 41903 s.LastModifiedTime = &v 41904 return s 41905 } 41906 41907 // SetMetadataProperties sets the MetadataProperties field's value. 41908 func (s *DescribeArtifactOutput) SetMetadataProperties(v *MetadataProperties) *DescribeArtifactOutput { 41909 s.MetadataProperties = v 41910 return s 41911 } 41912 41913 // SetProperties sets the Properties field's value. 41914 func (s *DescribeArtifactOutput) SetProperties(v map[string]*string) *DescribeArtifactOutput { 41915 s.Properties = v 41916 return s 41917 } 41918 41919 // SetSource sets the Source field's value. 41920 func (s *DescribeArtifactOutput) SetSource(v *ArtifactSource) *DescribeArtifactOutput { 41921 s.Source = v 41922 return s 41923 } 41924 41925 type DescribeAutoMLJobInput struct { 41926 _ struct{} `type:"structure"` 41927 41928 // Requests information about an AutoML job using its unique name. 41929 // 41930 // AutoMLJobName is a required field 41931 AutoMLJobName *string `min:"1" type:"string" required:"true"` 41932 } 41933 41934 // String returns the string representation. 41935 // 41936 // API parameter values that are decorated as "sensitive" in the API will not 41937 // be included in the string output. The member name will be present, but the 41938 // value will be replaced with "sensitive". 41939 func (s DescribeAutoMLJobInput) String() string { 41940 return awsutil.Prettify(s) 41941 } 41942 41943 // GoString returns the string representation. 41944 // 41945 // API parameter values that are decorated as "sensitive" in the API will not 41946 // be included in the string output. The member name will be present, but the 41947 // value will be replaced with "sensitive". 41948 func (s DescribeAutoMLJobInput) GoString() string { 41949 return s.String() 41950 } 41951 41952 // Validate inspects the fields of the type to determine if they are valid. 41953 func (s *DescribeAutoMLJobInput) Validate() error { 41954 invalidParams := request.ErrInvalidParams{Context: "DescribeAutoMLJobInput"} 41955 if s.AutoMLJobName == nil { 41956 invalidParams.Add(request.NewErrParamRequired("AutoMLJobName")) 41957 } 41958 if s.AutoMLJobName != nil && len(*s.AutoMLJobName) < 1 { 41959 invalidParams.Add(request.NewErrParamMinLen("AutoMLJobName", 1)) 41960 } 41961 41962 if invalidParams.Len() > 0 { 41963 return invalidParams 41964 } 41965 return nil 41966 } 41967 41968 // SetAutoMLJobName sets the AutoMLJobName field's value. 41969 func (s *DescribeAutoMLJobInput) SetAutoMLJobName(v string) *DescribeAutoMLJobInput { 41970 s.AutoMLJobName = &v 41971 return s 41972 } 41973 41974 type DescribeAutoMLJobOutput struct { 41975 _ struct{} `type:"structure"` 41976 41977 // Returns the ARN of the AutoML job. 41978 // 41979 // AutoMLJobArn is a required field 41980 AutoMLJobArn *string `min:"1" type:"string" required:"true"` 41981 41982 // Returns information on the job's artifacts found in AutoMLJobArtifacts. 41983 AutoMLJobArtifacts *AutoMLJobArtifacts `type:"structure"` 41984 41985 // Returns the configuration for the AutoML job. 41986 AutoMLJobConfig *AutoMLJobConfig `type:"structure"` 41987 41988 // Returns the name of the AutoML job. 41989 // 41990 // AutoMLJobName is a required field 41991 AutoMLJobName *string `min:"1" type:"string" required:"true"` 41992 41993 // Returns the job's objective. 41994 AutoMLJobObjective *AutoMLJobObjective `type:"structure"` 41995 41996 // Returns the secondary status of the AutoML job. 41997 // 41998 // AutoMLJobSecondaryStatus is a required field 41999 AutoMLJobSecondaryStatus *string `type:"string" required:"true" enum:"AutoMLJobSecondaryStatus"` 42000 42001 // Returns the status of the AutoML job. 42002 // 42003 // AutoMLJobStatus is a required field 42004 AutoMLJobStatus *string `type:"string" required:"true" enum:"AutoMLJobStatus"` 42005 42006 // Returns the job's best AutoMLCandidate. 42007 BestCandidate *AutoMLCandidate `type:"structure"` 42008 42009 // Returns the creation time of the AutoML job. 42010 // 42011 // CreationTime is a required field 42012 CreationTime *time.Time `type:"timestamp" required:"true"` 42013 42014 // Returns the end time of the AutoML job. 42015 EndTime *time.Time `type:"timestamp"` 42016 42017 // Returns the failure reason for an AutoML job, when applicable. 42018 FailureReason *string `type:"string"` 42019 42020 // Indicates whether the output for an AutoML job generates candidate definitions 42021 // only. 42022 GenerateCandidateDefinitionsOnly *bool `type:"boolean"` 42023 42024 // Returns the input data configuration for the AutoML job.. 42025 // 42026 // InputDataConfig is a required field 42027 InputDataConfig []*AutoMLChannel `min:"1" type:"list" required:"true"` 42028 42029 // Returns the job's last modified time. 42030 // 42031 // LastModifiedTime is a required field 42032 LastModifiedTime *time.Time `type:"timestamp" required:"true"` 42033 42034 // Indicates whether the model was deployed automatically to an endpoint and 42035 // the name of that endpoint if deployed automatically. 42036 ModelDeployConfig *ModelDeployConfig `type:"structure"` 42037 42038 // Provides information about endpoint for the model deployment. 42039 ModelDeployResult *ModelDeployResult `type:"structure"` 42040 42041 // Returns the job's output data config. 42042 // 42043 // OutputDataConfig is a required field 42044 OutputDataConfig *AutoMLOutputDataConfig `type:"structure" required:"true"` 42045 42046 // Returns a list of reasons for partial failures within an AutoML job. 42047 PartialFailureReasons []*AutoMLPartialFailureReason `min:"1" type:"list"` 42048 42049 // Returns the job's problem type. 42050 ProblemType *string `type:"string" enum:"ProblemType"` 42051 42052 // This contains ProblemType, AutoMLJobObjective, and CompletionCriteria. If 42053 // you do not provide these values, they are auto-inferred. If you do provide 42054 // them, the values used are the ones you provide. 42055 ResolvedAttributes *ResolvedAttributes `type:"structure"` 42056 42057 // The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access 42058 // Management (IAM) role that has read permission to the input data location 42059 // and write permission to the output data location in Amazon S3. 42060 // 42061 // RoleArn is a required field 42062 RoleArn *string `min:"20" type:"string" required:"true"` 42063 } 42064 42065 // String returns the string representation. 42066 // 42067 // API parameter values that are decorated as "sensitive" in the API will not 42068 // be included in the string output. The member name will be present, but the 42069 // value will be replaced with "sensitive". 42070 func (s DescribeAutoMLJobOutput) String() string { 42071 return awsutil.Prettify(s) 42072 } 42073 42074 // GoString returns the string representation. 42075 // 42076 // API parameter values that are decorated as "sensitive" in the API will not 42077 // be included in the string output. The member name will be present, but the 42078 // value will be replaced with "sensitive". 42079 func (s DescribeAutoMLJobOutput) GoString() string { 42080 return s.String() 42081 } 42082 42083 // SetAutoMLJobArn sets the AutoMLJobArn field's value. 42084 func (s *DescribeAutoMLJobOutput) SetAutoMLJobArn(v string) *DescribeAutoMLJobOutput { 42085 s.AutoMLJobArn = &v 42086 return s 42087 } 42088 42089 // SetAutoMLJobArtifacts sets the AutoMLJobArtifacts field's value. 42090 func (s *DescribeAutoMLJobOutput) SetAutoMLJobArtifacts(v *AutoMLJobArtifacts) *DescribeAutoMLJobOutput { 42091 s.AutoMLJobArtifacts = v 42092 return s 42093 } 42094 42095 // SetAutoMLJobConfig sets the AutoMLJobConfig field's value. 42096 func (s *DescribeAutoMLJobOutput) SetAutoMLJobConfig(v *AutoMLJobConfig) *DescribeAutoMLJobOutput { 42097 s.AutoMLJobConfig = v 42098 return s 42099 } 42100 42101 // SetAutoMLJobName sets the AutoMLJobName field's value. 42102 func (s *DescribeAutoMLJobOutput) SetAutoMLJobName(v string) *DescribeAutoMLJobOutput { 42103 s.AutoMLJobName = &v 42104 return s 42105 } 42106 42107 // SetAutoMLJobObjective sets the AutoMLJobObjective field's value. 42108 func (s *DescribeAutoMLJobOutput) SetAutoMLJobObjective(v *AutoMLJobObjective) *DescribeAutoMLJobOutput { 42109 s.AutoMLJobObjective = v 42110 return s 42111 } 42112 42113 // SetAutoMLJobSecondaryStatus sets the AutoMLJobSecondaryStatus field's value. 42114 func (s *DescribeAutoMLJobOutput) SetAutoMLJobSecondaryStatus(v string) *DescribeAutoMLJobOutput { 42115 s.AutoMLJobSecondaryStatus = &v 42116 return s 42117 } 42118 42119 // SetAutoMLJobStatus sets the AutoMLJobStatus field's value. 42120 func (s *DescribeAutoMLJobOutput) SetAutoMLJobStatus(v string) *DescribeAutoMLJobOutput { 42121 s.AutoMLJobStatus = &v 42122 return s 42123 } 42124 42125 // SetBestCandidate sets the BestCandidate field's value. 42126 func (s *DescribeAutoMLJobOutput) SetBestCandidate(v *AutoMLCandidate) *DescribeAutoMLJobOutput { 42127 s.BestCandidate = v 42128 return s 42129 } 42130 42131 // SetCreationTime sets the CreationTime field's value. 42132 func (s *DescribeAutoMLJobOutput) SetCreationTime(v time.Time) *DescribeAutoMLJobOutput { 42133 s.CreationTime = &v 42134 return s 42135 } 42136 42137 // SetEndTime sets the EndTime field's value. 42138 func (s *DescribeAutoMLJobOutput) SetEndTime(v time.Time) *DescribeAutoMLJobOutput { 42139 s.EndTime = &v 42140 return s 42141 } 42142 42143 // SetFailureReason sets the FailureReason field's value. 42144 func (s *DescribeAutoMLJobOutput) SetFailureReason(v string) *DescribeAutoMLJobOutput { 42145 s.FailureReason = &v 42146 return s 42147 } 42148 42149 // SetGenerateCandidateDefinitionsOnly sets the GenerateCandidateDefinitionsOnly field's value. 42150 func (s *DescribeAutoMLJobOutput) SetGenerateCandidateDefinitionsOnly(v bool) *DescribeAutoMLJobOutput { 42151 s.GenerateCandidateDefinitionsOnly = &v 42152 return s 42153 } 42154 42155 // SetInputDataConfig sets the InputDataConfig field's value. 42156 func (s *DescribeAutoMLJobOutput) SetInputDataConfig(v []*AutoMLChannel) *DescribeAutoMLJobOutput { 42157 s.InputDataConfig = v 42158 return s 42159 } 42160 42161 // SetLastModifiedTime sets the LastModifiedTime field's value. 42162 func (s *DescribeAutoMLJobOutput) SetLastModifiedTime(v time.Time) *DescribeAutoMLJobOutput { 42163 s.LastModifiedTime = &v 42164 return s 42165 } 42166 42167 // SetModelDeployConfig sets the ModelDeployConfig field's value. 42168 func (s *DescribeAutoMLJobOutput) SetModelDeployConfig(v *ModelDeployConfig) *DescribeAutoMLJobOutput { 42169 s.ModelDeployConfig = v 42170 return s 42171 } 42172 42173 // SetModelDeployResult sets the ModelDeployResult field's value. 42174 func (s *DescribeAutoMLJobOutput) SetModelDeployResult(v *ModelDeployResult) *DescribeAutoMLJobOutput { 42175 s.ModelDeployResult = v 42176 return s 42177 } 42178 42179 // SetOutputDataConfig sets the OutputDataConfig field's value. 42180 func (s *DescribeAutoMLJobOutput) SetOutputDataConfig(v *AutoMLOutputDataConfig) *DescribeAutoMLJobOutput { 42181 s.OutputDataConfig = v 42182 return s 42183 } 42184 42185 // SetPartialFailureReasons sets the PartialFailureReasons field's value. 42186 func (s *DescribeAutoMLJobOutput) SetPartialFailureReasons(v []*AutoMLPartialFailureReason) *DescribeAutoMLJobOutput { 42187 s.PartialFailureReasons = v 42188 return s 42189 } 42190 42191 // SetProblemType sets the ProblemType field's value. 42192 func (s *DescribeAutoMLJobOutput) SetProblemType(v string) *DescribeAutoMLJobOutput { 42193 s.ProblemType = &v 42194 return s 42195 } 42196 42197 // SetResolvedAttributes sets the ResolvedAttributes field's value. 42198 func (s *DescribeAutoMLJobOutput) SetResolvedAttributes(v *ResolvedAttributes) *DescribeAutoMLJobOutput { 42199 s.ResolvedAttributes = v 42200 return s 42201 } 42202 42203 // SetRoleArn sets the RoleArn field's value. 42204 func (s *DescribeAutoMLJobOutput) SetRoleArn(v string) *DescribeAutoMLJobOutput { 42205 s.RoleArn = &v 42206 return s 42207 } 42208 42209 type DescribeCodeRepositoryInput struct { 42210 _ struct{} `type:"structure"` 42211 42212 // The name of the Git repository to describe. 42213 // 42214 // CodeRepositoryName is a required field 42215 CodeRepositoryName *string `min:"1" type:"string" required:"true"` 42216 } 42217 42218 // String returns the string representation. 42219 // 42220 // API parameter values that are decorated as "sensitive" in the API will not 42221 // be included in the string output. The member name will be present, but the 42222 // value will be replaced with "sensitive". 42223 func (s DescribeCodeRepositoryInput) String() string { 42224 return awsutil.Prettify(s) 42225 } 42226 42227 // GoString returns the string representation. 42228 // 42229 // API parameter values that are decorated as "sensitive" in the API will not 42230 // be included in the string output. The member name will be present, but the 42231 // value will be replaced with "sensitive". 42232 func (s DescribeCodeRepositoryInput) GoString() string { 42233 return s.String() 42234 } 42235 42236 // Validate inspects the fields of the type to determine if they are valid. 42237 func (s *DescribeCodeRepositoryInput) Validate() error { 42238 invalidParams := request.ErrInvalidParams{Context: "DescribeCodeRepositoryInput"} 42239 if s.CodeRepositoryName == nil { 42240 invalidParams.Add(request.NewErrParamRequired("CodeRepositoryName")) 42241 } 42242 if s.CodeRepositoryName != nil && len(*s.CodeRepositoryName) < 1 { 42243 invalidParams.Add(request.NewErrParamMinLen("CodeRepositoryName", 1)) 42244 } 42245 42246 if invalidParams.Len() > 0 { 42247 return invalidParams 42248 } 42249 return nil 42250 } 42251 42252 // SetCodeRepositoryName sets the CodeRepositoryName field's value. 42253 func (s *DescribeCodeRepositoryInput) SetCodeRepositoryName(v string) *DescribeCodeRepositoryInput { 42254 s.CodeRepositoryName = &v 42255 return s 42256 } 42257 42258 type DescribeCodeRepositoryOutput struct { 42259 _ struct{} `type:"structure"` 42260 42261 // The Amazon Resource Name (ARN) of the Git repository. 42262 // 42263 // CodeRepositoryArn is a required field 42264 CodeRepositoryArn *string `min:"1" type:"string" required:"true"` 42265 42266 // The name of the Git repository. 42267 // 42268 // CodeRepositoryName is a required field 42269 CodeRepositoryName *string `min:"1" type:"string" required:"true"` 42270 42271 // The date and time that the repository was created. 42272 // 42273 // CreationTime is a required field 42274 CreationTime *time.Time `type:"timestamp" required:"true"` 42275 42276 // Configuration details about the repository, including the URL where the repository 42277 // is located, the default branch, and the Amazon Resource Name (ARN) of the 42278 // Amazon Web Services Secrets Manager secret that contains the credentials 42279 // used to access the repository. 42280 GitConfig *GitConfig `type:"structure"` 42281 42282 // The date and time that the repository was last changed. 42283 // 42284 // LastModifiedTime is a required field 42285 LastModifiedTime *time.Time `type:"timestamp" required:"true"` 42286 } 42287 42288 // String returns the string representation. 42289 // 42290 // API parameter values that are decorated as "sensitive" in the API will not 42291 // be included in the string output. The member name will be present, but the 42292 // value will be replaced with "sensitive". 42293 func (s DescribeCodeRepositoryOutput) String() string { 42294 return awsutil.Prettify(s) 42295 } 42296 42297 // GoString returns the string representation. 42298 // 42299 // API parameter values that are decorated as "sensitive" in the API will not 42300 // be included in the string output. The member name will be present, but the 42301 // value will be replaced with "sensitive". 42302 func (s DescribeCodeRepositoryOutput) GoString() string { 42303 return s.String() 42304 } 42305 42306 // SetCodeRepositoryArn sets the CodeRepositoryArn field's value. 42307 func (s *DescribeCodeRepositoryOutput) SetCodeRepositoryArn(v string) *DescribeCodeRepositoryOutput { 42308 s.CodeRepositoryArn = &v 42309 return s 42310 } 42311 42312 // SetCodeRepositoryName sets the CodeRepositoryName field's value. 42313 func (s *DescribeCodeRepositoryOutput) SetCodeRepositoryName(v string) *DescribeCodeRepositoryOutput { 42314 s.CodeRepositoryName = &v 42315 return s 42316 } 42317 42318 // SetCreationTime sets the CreationTime field's value. 42319 func (s *DescribeCodeRepositoryOutput) SetCreationTime(v time.Time) *DescribeCodeRepositoryOutput { 42320 s.CreationTime = &v 42321 return s 42322 } 42323 42324 // SetGitConfig sets the GitConfig field's value. 42325 func (s *DescribeCodeRepositoryOutput) SetGitConfig(v *GitConfig) *DescribeCodeRepositoryOutput { 42326 s.GitConfig = v 42327 return s 42328 } 42329 42330 // SetLastModifiedTime sets the LastModifiedTime field's value. 42331 func (s *DescribeCodeRepositoryOutput) SetLastModifiedTime(v time.Time) *DescribeCodeRepositoryOutput { 42332 s.LastModifiedTime = &v 42333 return s 42334 } 42335 42336 type DescribeCompilationJobInput struct { 42337 _ struct{} `type:"structure"` 42338 42339 // The name of the model compilation job that you want information about. 42340 // 42341 // CompilationJobName is a required field 42342 CompilationJobName *string `min:"1" type:"string" required:"true"` 42343 } 42344 42345 // String returns the string representation. 42346 // 42347 // API parameter values that are decorated as "sensitive" in the API will not 42348 // be included in the string output. The member name will be present, but the 42349 // value will be replaced with "sensitive". 42350 func (s DescribeCompilationJobInput) String() string { 42351 return awsutil.Prettify(s) 42352 } 42353 42354 // GoString returns the string representation. 42355 // 42356 // API parameter values that are decorated as "sensitive" in the API will not 42357 // be included in the string output. The member name will be present, but the 42358 // value will be replaced with "sensitive". 42359 func (s DescribeCompilationJobInput) GoString() string { 42360 return s.String() 42361 } 42362 42363 // Validate inspects the fields of the type to determine if they are valid. 42364 func (s *DescribeCompilationJobInput) Validate() error { 42365 invalidParams := request.ErrInvalidParams{Context: "DescribeCompilationJobInput"} 42366 if s.CompilationJobName == nil { 42367 invalidParams.Add(request.NewErrParamRequired("CompilationJobName")) 42368 } 42369 if s.CompilationJobName != nil && len(*s.CompilationJobName) < 1 { 42370 invalidParams.Add(request.NewErrParamMinLen("CompilationJobName", 1)) 42371 } 42372 42373 if invalidParams.Len() > 0 { 42374 return invalidParams 42375 } 42376 return nil 42377 } 42378 42379 // SetCompilationJobName sets the CompilationJobName field's value. 42380 func (s *DescribeCompilationJobInput) SetCompilationJobName(v string) *DescribeCompilationJobInput { 42381 s.CompilationJobName = &v 42382 return s 42383 } 42384 42385 type DescribeCompilationJobOutput struct { 42386 _ struct{} `type:"structure"` 42387 42388 // The time when the model compilation job on a compilation job instance ended. 42389 // For a successful or stopped job, this is when the job's model artifacts have 42390 // finished uploading. For a failed job, this is when Amazon SageMaker detected 42391 // that the job failed. 42392 CompilationEndTime *time.Time `type:"timestamp"` 42393 42394 // The Amazon Resource Name (ARN) of the model compilation job. 42395 // 42396 // CompilationJobArn is a required field 42397 CompilationJobArn *string `type:"string" required:"true"` 42398 42399 // The name of the model compilation job. 42400 // 42401 // CompilationJobName is a required field 42402 CompilationJobName *string `min:"1" type:"string" required:"true"` 42403 42404 // The status of the model compilation job. 42405 // 42406 // CompilationJobStatus is a required field 42407 CompilationJobStatus *string `type:"string" required:"true" enum:"CompilationJobStatus"` 42408 42409 // The time when the model compilation job started the CompilationJob instances. 42410 // 42411 // You are billed for the time between this timestamp and the timestamp in the 42412 // DescribeCompilationJobResponse$CompilationEndTime field. In Amazon CloudWatch 42413 // Logs, the start time might be later than this time. That's because it takes 42414 // time to download the compilation job, which depends on the size of the compilation 42415 // job container. 42416 CompilationStartTime *time.Time `type:"timestamp"` 42417 42418 // The time that the model compilation job was created. 42419 // 42420 // CreationTime is a required field 42421 CreationTime *time.Time `type:"timestamp" required:"true"` 42422 42423 // If a model compilation job failed, the reason it failed. 42424 // 42425 // FailureReason is a required field 42426 FailureReason *string `type:"string" required:"true"` 42427 42428 // The inference image to use when compiling a model. Specify an image only 42429 // if the target device is a cloud instance. 42430 InferenceImage *string `type:"string"` 42431 42432 // Information about the location in Amazon S3 of the input model artifacts, 42433 // the name and shape of the expected data inputs, and the framework in which 42434 // the model was trained. 42435 // 42436 // InputConfig is a required field 42437 InputConfig *InputConfig `type:"structure" required:"true"` 42438 42439 // The time that the status of the model compilation job was last modified. 42440 // 42441 // LastModifiedTime is a required field 42442 LastModifiedTime *time.Time `type:"timestamp" required:"true"` 42443 42444 // Information about the location in Amazon S3 that has been configured for 42445 // storing the model artifacts used in the compilation job. 42446 // 42447 // ModelArtifacts is a required field 42448 ModelArtifacts *ModelArtifacts `type:"structure" required:"true"` 42449 42450 // Provides a BLAKE2 hash value that identifies the compiled model artifacts 42451 // in Amazon S3. 42452 ModelDigests *ModelDigests `type:"structure"` 42453 42454 // Information about the output location for the compiled model and the target 42455 // device that the model runs on. 42456 // 42457 // OutputConfig is a required field 42458 OutputConfig *OutputConfig `type:"structure" required:"true"` 42459 42460 // The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker assumes 42461 // to perform the model compilation job. 42462 // 42463 // RoleArn is a required field 42464 RoleArn *string `min:"20" type:"string" required:"true"` 42465 42466 // Specifies a limit to how long a model compilation job can run. When the job 42467 // reaches the time limit, Amazon SageMaker ends the compilation job. Use this 42468 // API to cap model training costs. 42469 // 42470 // StoppingCondition is a required field 42471 StoppingCondition *StoppingCondition `type:"structure" required:"true"` 42472 42473 // A VpcConfig object that specifies the VPC that you want your compilation 42474 // job to connect to. Control access to your models by configuring the VPC. 42475 // For more information, see Protect Compilation Jobs by Using an Amazon Virtual 42476 // Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/neo-vpc.html). 42477 VpcConfig *NeoVpcConfig `type:"structure"` 42478 } 42479 42480 // String returns the string representation. 42481 // 42482 // API parameter values that are decorated as "sensitive" in the API will not 42483 // be included in the string output. The member name will be present, but the 42484 // value will be replaced with "sensitive". 42485 func (s DescribeCompilationJobOutput) String() string { 42486 return awsutil.Prettify(s) 42487 } 42488 42489 // GoString returns the string representation. 42490 // 42491 // API parameter values that are decorated as "sensitive" in the API will not 42492 // be included in the string output. The member name will be present, but the 42493 // value will be replaced with "sensitive". 42494 func (s DescribeCompilationJobOutput) GoString() string { 42495 return s.String() 42496 } 42497 42498 // SetCompilationEndTime sets the CompilationEndTime field's value. 42499 func (s *DescribeCompilationJobOutput) SetCompilationEndTime(v time.Time) *DescribeCompilationJobOutput { 42500 s.CompilationEndTime = &v 42501 return s 42502 } 42503 42504 // SetCompilationJobArn sets the CompilationJobArn field's value. 42505 func (s *DescribeCompilationJobOutput) SetCompilationJobArn(v string) *DescribeCompilationJobOutput { 42506 s.CompilationJobArn = &v 42507 return s 42508 } 42509 42510 // SetCompilationJobName sets the CompilationJobName field's value. 42511 func (s *DescribeCompilationJobOutput) SetCompilationJobName(v string) *DescribeCompilationJobOutput { 42512 s.CompilationJobName = &v 42513 return s 42514 } 42515 42516 // SetCompilationJobStatus sets the CompilationJobStatus field's value. 42517 func (s *DescribeCompilationJobOutput) SetCompilationJobStatus(v string) *DescribeCompilationJobOutput { 42518 s.CompilationJobStatus = &v 42519 return s 42520 } 42521 42522 // SetCompilationStartTime sets the CompilationStartTime field's value. 42523 func (s *DescribeCompilationJobOutput) SetCompilationStartTime(v time.Time) *DescribeCompilationJobOutput { 42524 s.CompilationStartTime = &v 42525 return s 42526 } 42527 42528 // SetCreationTime sets the CreationTime field's value. 42529 func (s *DescribeCompilationJobOutput) SetCreationTime(v time.Time) *DescribeCompilationJobOutput { 42530 s.CreationTime = &v 42531 return s 42532 } 42533 42534 // SetFailureReason sets the FailureReason field's value. 42535 func (s *DescribeCompilationJobOutput) SetFailureReason(v string) *DescribeCompilationJobOutput { 42536 s.FailureReason = &v 42537 return s 42538 } 42539 42540 // SetInferenceImage sets the InferenceImage field's value. 42541 func (s *DescribeCompilationJobOutput) SetInferenceImage(v string) *DescribeCompilationJobOutput { 42542 s.InferenceImage = &v 42543 return s 42544 } 42545 42546 // SetInputConfig sets the InputConfig field's value. 42547 func (s *DescribeCompilationJobOutput) SetInputConfig(v *InputConfig) *DescribeCompilationJobOutput { 42548 s.InputConfig = v 42549 return s 42550 } 42551 42552 // SetLastModifiedTime sets the LastModifiedTime field's value. 42553 func (s *DescribeCompilationJobOutput) SetLastModifiedTime(v time.Time) *DescribeCompilationJobOutput { 42554 s.LastModifiedTime = &v 42555 return s 42556 } 42557 42558 // SetModelArtifacts sets the ModelArtifacts field's value. 42559 func (s *DescribeCompilationJobOutput) SetModelArtifacts(v *ModelArtifacts) *DescribeCompilationJobOutput { 42560 s.ModelArtifacts = v 42561 return s 42562 } 42563 42564 // SetModelDigests sets the ModelDigests field's value. 42565 func (s *DescribeCompilationJobOutput) SetModelDigests(v *ModelDigests) *DescribeCompilationJobOutput { 42566 s.ModelDigests = v 42567 return s 42568 } 42569 42570 // SetOutputConfig sets the OutputConfig field's value. 42571 func (s *DescribeCompilationJobOutput) SetOutputConfig(v *OutputConfig) *DescribeCompilationJobOutput { 42572 s.OutputConfig = v 42573 return s 42574 } 42575 42576 // SetRoleArn sets the RoleArn field's value. 42577 func (s *DescribeCompilationJobOutput) SetRoleArn(v string) *DescribeCompilationJobOutput { 42578 s.RoleArn = &v 42579 return s 42580 } 42581 42582 // SetStoppingCondition sets the StoppingCondition field's value. 42583 func (s *DescribeCompilationJobOutput) SetStoppingCondition(v *StoppingCondition) *DescribeCompilationJobOutput { 42584 s.StoppingCondition = v 42585 return s 42586 } 42587 42588 // SetVpcConfig sets the VpcConfig field's value. 42589 func (s *DescribeCompilationJobOutput) SetVpcConfig(v *NeoVpcConfig) *DescribeCompilationJobOutput { 42590 s.VpcConfig = v 42591 return s 42592 } 42593 42594 type DescribeContextInput struct { 42595 _ struct{} `type:"structure"` 42596 42597 // The name of the context to describe. 42598 // 42599 // ContextName is a required field 42600 ContextName *string `min:"1" type:"string" required:"true"` 42601 } 42602 42603 // String returns the string representation. 42604 // 42605 // API parameter values that are decorated as "sensitive" in the API will not 42606 // be included in the string output. The member name will be present, but the 42607 // value will be replaced with "sensitive". 42608 func (s DescribeContextInput) String() string { 42609 return awsutil.Prettify(s) 42610 } 42611 42612 // GoString returns the string representation. 42613 // 42614 // API parameter values that are decorated as "sensitive" in the API will not 42615 // be included in the string output. The member name will be present, but the 42616 // value will be replaced with "sensitive". 42617 func (s DescribeContextInput) GoString() string { 42618 return s.String() 42619 } 42620 42621 // Validate inspects the fields of the type to determine if they are valid. 42622 func (s *DescribeContextInput) Validate() error { 42623 invalidParams := request.ErrInvalidParams{Context: "DescribeContextInput"} 42624 if s.ContextName == nil { 42625 invalidParams.Add(request.NewErrParamRequired("ContextName")) 42626 } 42627 if s.ContextName != nil && len(*s.ContextName) < 1 { 42628 invalidParams.Add(request.NewErrParamMinLen("ContextName", 1)) 42629 } 42630 42631 if invalidParams.Len() > 0 { 42632 return invalidParams 42633 } 42634 return nil 42635 } 42636 42637 // SetContextName sets the ContextName field's value. 42638 func (s *DescribeContextInput) SetContextName(v string) *DescribeContextInput { 42639 s.ContextName = &v 42640 return s 42641 } 42642 42643 type DescribeContextOutput struct { 42644 _ struct{} `type:"structure"` 42645 42646 // The Amazon Resource Name (ARN) of the context. 42647 ContextArn *string `type:"string"` 42648 42649 // The name of the context. 42650 ContextName *string `min:"1" type:"string"` 42651 42652 // The type of the context. 42653 ContextType *string `type:"string"` 42654 42655 // Information about the user who created or modified an experiment, trial, 42656 // trial component, or project. 42657 CreatedBy *UserContext `type:"structure"` 42658 42659 // When the context was created. 42660 CreationTime *time.Time `type:"timestamp"` 42661 42662 // The description of the context. 42663 Description *string `type:"string"` 42664 42665 // Information about the user who created or modified an experiment, trial, 42666 // trial component, or project. 42667 LastModifiedBy *UserContext `type:"structure"` 42668 42669 // When the context was last modified. 42670 LastModifiedTime *time.Time `type:"timestamp"` 42671 42672 // A list of the context's properties. 42673 Properties map[string]*string `type:"map"` 42674 42675 // The source of the context. 42676 Source *ContextSource `type:"structure"` 42677 } 42678 42679 // String returns the string representation. 42680 // 42681 // API parameter values that are decorated as "sensitive" in the API will not 42682 // be included in the string output. The member name will be present, but the 42683 // value will be replaced with "sensitive". 42684 func (s DescribeContextOutput) String() string { 42685 return awsutil.Prettify(s) 42686 } 42687 42688 // GoString returns the string representation. 42689 // 42690 // API parameter values that are decorated as "sensitive" in the API will not 42691 // be included in the string output. The member name will be present, but the 42692 // value will be replaced with "sensitive". 42693 func (s DescribeContextOutput) GoString() string { 42694 return s.String() 42695 } 42696 42697 // SetContextArn sets the ContextArn field's value. 42698 func (s *DescribeContextOutput) SetContextArn(v string) *DescribeContextOutput { 42699 s.ContextArn = &v 42700 return s 42701 } 42702 42703 // SetContextName sets the ContextName field's value. 42704 func (s *DescribeContextOutput) SetContextName(v string) *DescribeContextOutput { 42705 s.ContextName = &v 42706 return s 42707 } 42708 42709 // SetContextType sets the ContextType field's value. 42710 func (s *DescribeContextOutput) SetContextType(v string) *DescribeContextOutput { 42711 s.ContextType = &v 42712 return s 42713 } 42714 42715 // SetCreatedBy sets the CreatedBy field's value. 42716 func (s *DescribeContextOutput) SetCreatedBy(v *UserContext) *DescribeContextOutput { 42717 s.CreatedBy = v 42718 return s 42719 } 42720 42721 // SetCreationTime sets the CreationTime field's value. 42722 func (s *DescribeContextOutput) SetCreationTime(v time.Time) *DescribeContextOutput { 42723 s.CreationTime = &v 42724 return s 42725 } 42726 42727 // SetDescription sets the Description field's value. 42728 func (s *DescribeContextOutput) SetDescription(v string) *DescribeContextOutput { 42729 s.Description = &v 42730 return s 42731 } 42732 42733 // SetLastModifiedBy sets the LastModifiedBy field's value. 42734 func (s *DescribeContextOutput) SetLastModifiedBy(v *UserContext) *DescribeContextOutput { 42735 s.LastModifiedBy = v 42736 return s 42737 } 42738 42739 // SetLastModifiedTime sets the LastModifiedTime field's value. 42740 func (s *DescribeContextOutput) SetLastModifiedTime(v time.Time) *DescribeContextOutput { 42741 s.LastModifiedTime = &v 42742 return s 42743 } 42744 42745 // SetProperties sets the Properties field's value. 42746 func (s *DescribeContextOutput) SetProperties(v map[string]*string) *DescribeContextOutput { 42747 s.Properties = v 42748 return s 42749 } 42750 42751 // SetSource sets the Source field's value. 42752 func (s *DescribeContextOutput) SetSource(v *ContextSource) *DescribeContextOutput { 42753 s.Source = v 42754 return s 42755 } 42756 42757 type DescribeDataQualityJobDefinitionInput struct { 42758 _ struct{} `type:"structure"` 42759 42760 // The name of the data quality monitoring job definition to describe. 42761 // 42762 // JobDefinitionName is a required field 42763 JobDefinitionName *string `min:"1" type:"string" required:"true"` 42764 } 42765 42766 // String returns the string representation. 42767 // 42768 // API parameter values that are decorated as "sensitive" in the API will not 42769 // be included in the string output. The member name will be present, but the 42770 // value will be replaced with "sensitive". 42771 func (s DescribeDataQualityJobDefinitionInput) String() string { 42772 return awsutil.Prettify(s) 42773 } 42774 42775 // GoString returns the string representation. 42776 // 42777 // API parameter values that are decorated as "sensitive" in the API will not 42778 // be included in the string output. The member name will be present, but the 42779 // value will be replaced with "sensitive". 42780 func (s DescribeDataQualityJobDefinitionInput) GoString() string { 42781 return s.String() 42782 } 42783 42784 // Validate inspects the fields of the type to determine if they are valid. 42785 func (s *DescribeDataQualityJobDefinitionInput) Validate() error { 42786 invalidParams := request.ErrInvalidParams{Context: "DescribeDataQualityJobDefinitionInput"} 42787 if s.JobDefinitionName == nil { 42788 invalidParams.Add(request.NewErrParamRequired("JobDefinitionName")) 42789 } 42790 if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 { 42791 invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1)) 42792 } 42793 42794 if invalidParams.Len() > 0 { 42795 return invalidParams 42796 } 42797 return nil 42798 } 42799 42800 // SetJobDefinitionName sets the JobDefinitionName field's value. 42801 func (s *DescribeDataQualityJobDefinitionInput) SetJobDefinitionName(v string) *DescribeDataQualityJobDefinitionInput { 42802 s.JobDefinitionName = &v 42803 return s 42804 } 42805 42806 type DescribeDataQualityJobDefinitionOutput struct { 42807 _ struct{} `type:"structure"` 42808 42809 // The time that the data quality monitoring job definition was created. 42810 // 42811 // CreationTime is a required field 42812 CreationTime *time.Time `type:"timestamp" required:"true"` 42813 42814 // Information about the container that runs the data quality monitoring job. 42815 // 42816 // DataQualityAppSpecification is a required field 42817 DataQualityAppSpecification *DataQualityAppSpecification `type:"structure" required:"true"` 42818 42819 // The constraints and baselines for the data quality monitoring job definition. 42820 DataQualityBaselineConfig *DataQualityBaselineConfig `type:"structure"` 42821 42822 // The list of inputs for the data quality monitoring job. Currently endpoints 42823 // are supported. 42824 // 42825 // DataQualityJobInput is a required field 42826 DataQualityJobInput *DataQualityJobInput `type:"structure" required:"true"` 42827 42828 // The output configuration for monitoring jobs. 42829 // 42830 // DataQualityJobOutputConfig is a required field 42831 DataQualityJobOutputConfig *MonitoringOutputConfig `type:"structure" required:"true"` 42832 42833 // The Amazon Resource Name (ARN) of the data quality monitoring job definition. 42834 // 42835 // JobDefinitionArn is a required field 42836 JobDefinitionArn *string `type:"string" required:"true"` 42837 42838 // The name of the data quality monitoring job definition. 42839 // 42840 // JobDefinitionName is a required field 42841 JobDefinitionName *string `min:"1" type:"string" required:"true"` 42842 42843 // Identifies the resources to deploy for a monitoring job. 42844 // 42845 // JobResources is a required field 42846 JobResources *MonitoringResources `type:"structure" required:"true"` 42847 42848 // The networking configuration for the data quality monitoring job. 42849 NetworkConfig *MonitoringNetworkConfig `type:"structure"` 42850 42851 // The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume 42852 // to perform tasks on your behalf. 42853 // 42854 // RoleArn is a required field 42855 RoleArn *string `min:"20" type:"string" required:"true"` 42856 42857 // A time limit for how long the monitoring job is allowed to run before stopping. 42858 StoppingCondition *MonitoringStoppingCondition `type:"structure"` 42859 } 42860 42861 // String returns the string representation. 42862 // 42863 // API parameter values that are decorated as "sensitive" in the API will not 42864 // be included in the string output. The member name will be present, but the 42865 // value will be replaced with "sensitive". 42866 func (s DescribeDataQualityJobDefinitionOutput) String() string { 42867 return awsutil.Prettify(s) 42868 } 42869 42870 // GoString returns the string representation. 42871 // 42872 // API parameter values that are decorated as "sensitive" in the API will not 42873 // be included in the string output. The member name will be present, but the 42874 // value will be replaced with "sensitive". 42875 func (s DescribeDataQualityJobDefinitionOutput) GoString() string { 42876 return s.String() 42877 } 42878 42879 // SetCreationTime sets the CreationTime field's value. 42880 func (s *DescribeDataQualityJobDefinitionOutput) SetCreationTime(v time.Time) *DescribeDataQualityJobDefinitionOutput { 42881 s.CreationTime = &v 42882 return s 42883 } 42884 42885 // SetDataQualityAppSpecification sets the DataQualityAppSpecification field's value. 42886 func (s *DescribeDataQualityJobDefinitionOutput) SetDataQualityAppSpecification(v *DataQualityAppSpecification) *DescribeDataQualityJobDefinitionOutput { 42887 s.DataQualityAppSpecification = v 42888 return s 42889 } 42890 42891 // SetDataQualityBaselineConfig sets the DataQualityBaselineConfig field's value. 42892 func (s *DescribeDataQualityJobDefinitionOutput) SetDataQualityBaselineConfig(v *DataQualityBaselineConfig) *DescribeDataQualityJobDefinitionOutput { 42893 s.DataQualityBaselineConfig = v 42894 return s 42895 } 42896 42897 // SetDataQualityJobInput sets the DataQualityJobInput field's value. 42898 func (s *DescribeDataQualityJobDefinitionOutput) SetDataQualityJobInput(v *DataQualityJobInput) *DescribeDataQualityJobDefinitionOutput { 42899 s.DataQualityJobInput = v 42900 return s 42901 } 42902 42903 // SetDataQualityJobOutputConfig sets the DataQualityJobOutputConfig field's value. 42904 func (s *DescribeDataQualityJobDefinitionOutput) SetDataQualityJobOutputConfig(v *MonitoringOutputConfig) *DescribeDataQualityJobDefinitionOutput { 42905 s.DataQualityJobOutputConfig = v 42906 return s 42907 } 42908 42909 // SetJobDefinitionArn sets the JobDefinitionArn field's value. 42910 func (s *DescribeDataQualityJobDefinitionOutput) SetJobDefinitionArn(v string) *DescribeDataQualityJobDefinitionOutput { 42911 s.JobDefinitionArn = &v 42912 return s 42913 } 42914 42915 // SetJobDefinitionName sets the JobDefinitionName field's value. 42916 func (s *DescribeDataQualityJobDefinitionOutput) SetJobDefinitionName(v string) *DescribeDataQualityJobDefinitionOutput { 42917 s.JobDefinitionName = &v 42918 return s 42919 } 42920 42921 // SetJobResources sets the JobResources field's value. 42922 func (s *DescribeDataQualityJobDefinitionOutput) SetJobResources(v *MonitoringResources) *DescribeDataQualityJobDefinitionOutput { 42923 s.JobResources = v 42924 return s 42925 } 42926 42927 // SetNetworkConfig sets the NetworkConfig field's value. 42928 func (s *DescribeDataQualityJobDefinitionOutput) SetNetworkConfig(v *MonitoringNetworkConfig) *DescribeDataQualityJobDefinitionOutput { 42929 s.NetworkConfig = v 42930 return s 42931 } 42932 42933 // SetRoleArn sets the RoleArn field's value. 42934 func (s *DescribeDataQualityJobDefinitionOutput) SetRoleArn(v string) *DescribeDataQualityJobDefinitionOutput { 42935 s.RoleArn = &v 42936 return s 42937 } 42938 42939 // SetStoppingCondition sets the StoppingCondition field's value. 42940 func (s *DescribeDataQualityJobDefinitionOutput) SetStoppingCondition(v *MonitoringStoppingCondition) *DescribeDataQualityJobDefinitionOutput { 42941 s.StoppingCondition = v 42942 return s 42943 } 42944 42945 type DescribeDeviceFleetInput struct { 42946 _ struct{} `type:"structure"` 42947 42948 // The name of the fleet. 42949 // 42950 // DeviceFleetName is a required field 42951 DeviceFleetName *string `min:"1" type:"string" required:"true"` 42952 } 42953 42954 // String returns the string representation. 42955 // 42956 // API parameter values that are decorated as "sensitive" in the API will not 42957 // be included in the string output. The member name will be present, but the 42958 // value will be replaced with "sensitive". 42959 func (s DescribeDeviceFleetInput) String() string { 42960 return awsutil.Prettify(s) 42961 } 42962 42963 // GoString returns the string representation. 42964 // 42965 // API parameter values that are decorated as "sensitive" in the API will not 42966 // be included in the string output. The member name will be present, but the 42967 // value will be replaced with "sensitive". 42968 func (s DescribeDeviceFleetInput) GoString() string { 42969 return s.String() 42970 } 42971 42972 // Validate inspects the fields of the type to determine if they are valid. 42973 func (s *DescribeDeviceFleetInput) Validate() error { 42974 invalidParams := request.ErrInvalidParams{Context: "DescribeDeviceFleetInput"} 42975 if s.DeviceFleetName == nil { 42976 invalidParams.Add(request.NewErrParamRequired("DeviceFleetName")) 42977 } 42978 if s.DeviceFleetName != nil && len(*s.DeviceFleetName) < 1 { 42979 invalidParams.Add(request.NewErrParamMinLen("DeviceFleetName", 1)) 42980 } 42981 42982 if invalidParams.Len() > 0 { 42983 return invalidParams 42984 } 42985 return nil 42986 } 42987 42988 // SetDeviceFleetName sets the DeviceFleetName field's value. 42989 func (s *DescribeDeviceFleetInput) SetDeviceFleetName(v string) *DescribeDeviceFleetInput { 42990 s.DeviceFleetName = &v 42991 return s 42992 } 42993 42994 type DescribeDeviceFleetOutput struct { 42995 _ struct{} `type:"structure"` 42996 42997 // Timestamp of when the device fleet was created. 42998 // 42999 // CreationTime is a required field 43000 CreationTime *time.Time `type:"timestamp" required:"true"` 43001 43002 // A description of the fleet. 43003 Description *string `min:"1" type:"string"` 43004 43005 // The The Amazon Resource Name (ARN) of the fleet. 43006 // 43007 // DeviceFleetArn is a required field 43008 DeviceFleetArn *string `type:"string" required:"true"` 43009 43010 // The name of the fleet. 43011 // 43012 // DeviceFleetName is a required field 43013 DeviceFleetName *string `min:"1" type:"string" required:"true"` 43014 43015 // The Amazon Resource Name (ARN) alias created in Amazon Web Services Internet 43016 // of Things (IoT). 43017 IotRoleAlias *string `type:"string"` 43018 43019 // Timestamp of when the device fleet was last updated. 43020 // 43021 // LastModifiedTime is a required field 43022 LastModifiedTime *time.Time `type:"timestamp" required:"true"` 43023 43024 // The output configuration for storing sampled data. 43025 // 43026 // OutputConfig is a required field 43027 OutputConfig *EdgeOutputConfig `type:"structure" required:"true"` 43028 43029 // The Amazon Resource Name (ARN) that has access to Amazon Web Services Internet 43030 // of Things (IoT). 43031 RoleArn *string `min:"20" type:"string"` 43032 } 43033 43034 // String returns the string representation. 43035 // 43036 // API parameter values that are decorated as "sensitive" in the API will not 43037 // be included in the string output. The member name will be present, but the 43038 // value will be replaced with "sensitive". 43039 func (s DescribeDeviceFleetOutput) String() string { 43040 return awsutil.Prettify(s) 43041 } 43042 43043 // GoString returns the string representation. 43044 // 43045 // API parameter values that are decorated as "sensitive" in the API will not 43046 // be included in the string output. The member name will be present, but the 43047 // value will be replaced with "sensitive". 43048 func (s DescribeDeviceFleetOutput) GoString() string { 43049 return s.String() 43050 } 43051 43052 // SetCreationTime sets the CreationTime field's value. 43053 func (s *DescribeDeviceFleetOutput) SetCreationTime(v time.Time) *DescribeDeviceFleetOutput { 43054 s.CreationTime = &v 43055 return s 43056 } 43057 43058 // SetDescription sets the Description field's value. 43059 func (s *DescribeDeviceFleetOutput) SetDescription(v string) *DescribeDeviceFleetOutput { 43060 s.Description = &v 43061 return s 43062 } 43063 43064 // SetDeviceFleetArn sets the DeviceFleetArn field's value. 43065 func (s *DescribeDeviceFleetOutput) SetDeviceFleetArn(v string) *DescribeDeviceFleetOutput { 43066 s.DeviceFleetArn = &v 43067 return s 43068 } 43069 43070 // SetDeviceFleetName sets the DeviceFleetName field's value. 43071 func (s *DescribeDeviceFleetOutput) SetDeviceFleetName(v string) *DescribeDeviceFleetOutput { 43072 s.DeviceFleetName = &v 43073 return s 43074 } 43075 43076 // SetIotRoleAlias sets the IotRoleAlias field's value. 43077 func (s *DescribeDeviceFleetOutput) SetIotRoleAlias(v string) *DescribeDeviceFleetOutput { 43078 s.IotRoleAlias = &v 43079 return s 43080 } 43081 43082 // SetLastModifiedTime sets the LastModifiedTime field's value. 43083 func (s *DescribeDeviceFleetOutput) SetLastModifiedTime(v time.Time) *DescribeDeviceFleetOutput { 43084 s.LastModifiedTime = &v 43085 return s 43086 } 43087 43088 // SetOutputConfig sets the OutputConfig field's value. 43089 func (s *DescribeDeviceFleetOutput) SetOutputConfig(v *EdgeOutputConfig) *DescribeDeviceFleetOutput { 43090 s.OutputConfig = v 43091 return s 43092 } 43093 43094 // SetRoleArn sets the RoleArn field's value. 43095 func (s *DescribeDeviceFleetOutput) SetRoleArn(v string) *DescribeDeviceFleetOutput { 43096 s.RoleArn = &v 43097 return s 43098 } 43099 43100 type DescribeDeviceInput struct { 43101 _ struct{} `type:"structure"` 43102 43103 // The name of the fleet the devices belong to. 43104 // 43105 // DeviceFleetName is a required field 43106 DeviceFleetName *string `min:"1" type:"string" required:"true"` 43107 43108 // The unique ID of the device. 43109 // 43110 // DeviceName is a required field 43111 DeviceName *string `min:"1" type:"string" required:"true"` 43112 43113 // Next token of device description. 43114 NextToken *string `type:"string"` 43115 } 43116 43117 // String returns the string representation. 43118 // 43119 // API parameter values that are decorated as "sensitive" in the API will not 43120 // be included in the string output. The member name will be present, but the 43121 // value will be replaced with "sensitive". 43122 func (s DescribeDeviceInput) String() string { 43123 return awsutil.Prettify(s) 43124 } 43125 43126 // GoString returns the string representation. 43127 // 43128 // API parameter values that are decorated as "sensitive" in the API will not 43129 // be included in the string output. The member name will be present, but the 43130 // value will be replaced with "sensitive". 43131 func (s DescribeDeviceInput) GoString() string { 43132 return s.String() 43133 } 43134 43135 // Validate inspects the fields of the type to determine if they are valid. 43136 func (s *DescribeDeviceInput) Validate() error { 43137 invalidParams := request.ErrInvalidParams{Context: "DescribeDeviceInput"} 43138 if s.DeviceFleetName == nil { 43139 invalidParams.Add(request.NewErrParamRequired("DeviceFleetName")) 43140 } 43141 if s.DeviceFleetName != nil && len(*s.DeviceFleetName) < 1 { 43142 invalidParams.Add(request.NewErrParamMinLen("DeviceFleetName", 1)) 43143 } 43144 if s.DeviceName == nil { 43145 invalidParams.Add(request.NewErrParamRequired("DeviceName")) 43146 } 43147 if s.DeviceName != nil && len(*s.DeviceName) < 1 { 43148 invalidParams.Add(request.NewErrParamMinLen("DeviceName", 1)) 43149 } 43150 43151 if invalidParams.Len() > 0 { 43152 return invalidParams 43153 } 43154 return nil 43155 } 43156 43157 // SetDeviceFleetName sets the DeviceFleetName field's value. 43158 func (s *DescribeDeviceInput) SetDeviceFleetName(v string) *DescribeDeviceInput { 43159 s.DeviceFleetName = &v 43160 return s 43161 } 43162 43163 // SetDeviceName sets the DeviceName field's value. 43164 func (s *DescribeDeviceInput) SetDeviceName(v string) *DescribeDeviceInput { 43165 s.DeviceName = &v 43166 return s 43167 } 43168 43169 // SetNextToken sets the NextToken field's value. 43170 func (s *DescribeDeviceInput) SetNextToken(v string) *DescribeDeviceInput { 43171 s.NextToken = &v 43172 return s 43173 } 43174 43175 type DescribeDeviceOutput struct { 43176 _ struct{} `type:"structure"` 43177 43178 // A description of the device. 43179 Description *string `min:"1" type:"string"` 43180 43181 // The Amazon Resource Name (ARN) of the device. 43182 DeviceArn *string `min:"20" type:"string"` 43183 43184 // The name of the fleet the device belongs to. 43185 // 43186 // DeviceFleetName is a required field 43187 DeviceFleetName *string `min:"1" type:"string" required:"true"` 43188 43189 // The unique identifier of the device. 43190 // 43191 // DeviceName is a required field 43192 DeviceName *string `min:"1" type:"string" required:"true"` 43193 43194 // The Amazon Web Services Internet of Things (IoT) object thing name associated 43195 // with the device. 43196 IotThingName *string `type:"string"` 43197 43198 // The last heartbeat received from the device. 43199 LatestHeartbeat *time.Time `type:"timestamp"` 43200 43201 // The maximum number of models. 43202 MaxModels *int64 `type:"integer"` 43203 43204 // Models on the device. 43205 Models []*EdgeModel `type:"list"` 43206 43207 // The response from the last list when returning a list large enough to need 43208 // tokening. 43209 NextToken *string `type:"string"` 43210 43211 // The timestamp of the last registration or de-reregistration. 43212 // 43213 // RegistrationTime is a required field 43214 RegistrationTime *time.Time `type:"timestamp" required:"true"` 43215 } 43216 43217 // String returns the string representation. 43218 // 43219 // API parameter values that are decorated as "sensitive" in the API will not 43220 // be included in the string output. The member name will be present, but the 43221 // value will be replaced with "sensitive". 43222 func (s DescribeDeviceOutput) String() string { 43223 return awsutil.Prettify(s) 43224 } 43225 43226 // GoString returns the string representation. 43227 // 43228 // API parameter values that are decorated as "sensitive" in the API will not 43229 // be included in the string output. The member name will be present, but the 43230 // value will be replaced with "sensitive". 43231 func (s DescribeDeviceOutput) GoString() string { 43232 return s.String() 43233 } 43234 43235 // SetDescription sets the Description field's value. 43236 func (s *DescribeDeviceOutput) SetDescription(v string) *DescribeDeviceOutput { 43237 s.Description = &v 43238 return s 43239 } 43240 43241 // SetDeviceArn sets the DeviceArn field's value. 43242 func (s *DescribeDeviceOutput) SetDeviceArn(v string) *DescribeDeviceOutput { 43243 s.DeviceArn = &v 43244 return s 43245 } 43246 43247 // SetDeviceFleetName sets the DeviceFleetName field's value. 43248 func (s *DescribeDeviceOutput) SetDeviceFleetName(v string) *DescribeDeviceOutput { 43249 s.DeviceFleetName = &v 43250 return s 43251 } 43252 43253 // SetDeviceName sets the DeviceName field's value. 43254 func (s *DescribeDeviceOutput) SetDeviceName(v string) *DescribeDeviceOutput { 43255 s.DeviceName = &v 43256 return s 43257 } 43258 43259 // SetIotThingName sets the IotThingName field's value. 43260 func (s *DescribeDeviceOutput) SetIotThingName(v string) *DescribeDeviceOutput { 43261 s.IotThingName = &v 43262 return s 43263 } 43264 43265 // SetLatestHeartbeat sets the LatestHeartbeat field's value. 43266 func (s *DescribeDeviceOutput) SetLatestHeartbeat(v time.Time) *DescribeDeviceOutput { 43267 s.LatestHeartbeat = &v 43268 return s 43269 } 43270 43271 // SetMaxModels sets the MaxModels field's value. 43272 func (s *DescribeDeviceOutput) SetMaxModels(v int64) *DescribeDeviceOutput { 43273 s.MaxModels = &v 43274 return s 43275 } 43276 43277 // SetModels sets the Models field's value. 43278 func (s *DescribeDeviceOutput) SetModels(v []*EdgeModel) *DescribeDeviceOutput { 43279 s.Models = v 43280 return s 43281 } 43282 43283 // SetNextToken sets the NextToken field's value. 43284 func (s *DescribeDeviceOutput) SetNextToken(v string) *DescribeDeviceOutput { 43285 s.NextToken = &v 43286 return s 43287 } 43288 43289 // SetRegistrationTime sets the RegistrationTime field's value. 43290 func (s *DescribeDeviceOutput) SetRegistrationTime(v time.Time) *DescribeDeviceOutput { 43291 s.RegistrationTime = &v 43292 return s 43293 } 43294 43295 type DescribeDomainInput struct { 43296 _ struct{} `type:"structure"` 43297 43298 // The domain ID. 43299 // 43300 // DomainId is a required field 43301 DomainId *string `type:"string" required:"true"` 43302 } 43303 43304 // String returns the string representation. 43305 // 43306 // API parameter values that are decorated as "sensitive" in the API will not 43307 // be included in the string output. The member name will be present, but the 43308 // value will be replaced with "sensitive". 43309 func (s DescribeDomainInput) String() string { 43310 return awsutil.Prettify(s) 43311 } 43312 43313 // GoString returns the string representation. 43314 // 43315 // API parameter values that are decorated as "sensitive" in the API will not 43316 // be included in the string output. The member name will be present, but the 43317 // value will be replaced with "sensitive". 43318 func (s DescribeDomainInput) GoString() string { 43319 return s.String() 43320 } 43321 43322 // Validate inspects the fields of the type to determine if they are valid. 43323 func (s *DescribeDomainInput) Validate() error { 43324 invalidParams := request.ErrInvalidParams{Context: "DescribeDomainInput"} 43325 if s.DomainId == nil { 43326 invalidParams.Add(request.NewErrParamRequired("DomainId")) 43327 } 43328 43329 if invalidParams.Len() > 0 { 43330 return invalidParams 43331 } 43332 return nil 43333 } 43334 43335 // SetDomainId sets the DomainId field's value. 43336 func (s *DescribeDomainInput) SetDomainId(v string) *DescribeDomainInput { 43337 s.DomainId = &v 43338 return s 43339 } 43340 43341 type DescribeDomainOutput struct { 43342 _ struct{} `type:"structure"` 43343 43344 // Specifies the VPC used for non-EFS traffic. The default value is PublicInternetOnly. 43345 // 43346 // * PublicInternetOnly - Non-EFS traffic is through a VPC managed by Amazon 43347 // SageMaker, which allows direct internet access 43348 // 43349 // * VpcOnly - All Studio traffic is through the specified VPC and subnets 43350 AppNetworkAccessType *string `type:"string" enum:"AppNetworkAccessType"` 43351 43352 // The domain's authentication mode. 43353 AuthMode *string `type:"string" enum:"AuthMode"` 43354 43355 // The creation time. 43356 CreationTime *time.Time `type:"timestamp"` 43357 43358 // Settings which are applied to UserProfiles in this domain if settings are 43359 // not explicitly specified in a given UserProfile. 43360 DefaultUserSettings *UserSettings `type:"structure"` 43361 43362 // The domain's Amazon Resource Name (ARN). 43363 DomainArn *string `type:"string"` 43364 43365 // The domain ID. 43366 DomainId *string `type:"string"` 43367 43368 // The domain name. 43369 DomainName *string `type:"string"` 43370 43371 // The failure reason. 43372 FailureReason *string `type:"string"` 43373 43374 // The ID of the Amazon Elastic File System (EFS) managed by this Domain. 43375 HomeEfsFileSystemId *string `type:"string"` 43376 43377 // This member is deprecated and replaced with KmsKeyId. 43378 // 43379 // Deprecated: This property is deprecated, use KmsKeyId instead. 43380 HomeEfsFileSystemKmsKeyId *string `deprecated:"true" type:"string"` 43381 43382 // The Amazon Web Services KMS customer managed key used to encrypt the EFS 43383 // volume attached to the domain. 43384 KmsKeyId *string `type:"string"` 43385 43386 // The last modified time. 43387 LastModifiedTime *time.Time `type:"timestamp"` 43388 43389 // The SSO managed application instance ID. 43390 SingleSignOnManagedApplicationInstanceId *string `type:"string"` 43391 43392 // The status. 43393 Status *string `type:"string" enum:"DomainStatus"` 43394 43395 // The VPC subnets that Studio uses for communication. 43396 SubnetIds []*string `min:"1" type:"list"` 43397 43398 // The domain's URL. 43399 Url *string `type:"string"` 43400 43401 // The ID of the Amazon Virtual Private Cloud (VPC) that Studio uses for communication. 43402 VpcId *string `type:"string"` 43403 } 43404 43405 // String returns the string representation. 43406 // 43407 // API parameter values that are decorated as "sensitive" in the API will not 43408 // be included in the string output. The member name will be present, but the 43409 // value will be replaced with "sensitive". 43410 func (s DescribeDomainOutput) String() string { 43411 return awsutil.Prettify(s) 43412 } 43413 43414 // GoString returns the string representation. 43415 // 43416 // API parameter values that are decorated as "sensitive" in the API will not 43417 // be included in the string output. The member name will be present, but the 43418 // value will be replaced with "sensitive". 43419 func (s DescribeDomainOutput) GoString() string { 43420 return s.String() 43421 } 43422 43423 // SetAppNetworkAccessType sets the AppNetworkAccessType field's value. 43424 func (s *DescribeDomainOutput) SetAppNetworkAccessType(v string) *DescribeDomainOutput { 43425 s.AppNetworkAccessType = &v 43426 return s 43427 } 43428 43429 // SetAuthMode sets the AuthMode field's value. 43430 func (s *DescribeDomainOutput) SetAuthMode(v string) *DescribeDomainOutput { 43431 s.AuthMode = &v 43432 return s 43433 } 43434 43435 // SetCreationTime sets the CreationTime field's value. 43436 func (s *DescribeDomainOutput) SetCreationTime(v time.Time) *DescribeDomainOutput { 43437 s.CreationTime = &v 43438 return s 43439 } 43440 43441 // SetDefaultUserSettings sets the DefaultUserSettings field's value. 43442 func (s *DescribeDomainOutput) SetDefaultUserSettings(v *UserSettings) *DescribeDomainOutput { 43443 s.DefaultUserSettings = v 43444 return s 43445 } 43446 43447 // SetDomainArn sets the DomainArn field's value. 43448 func (s *DescribeDomainOutput) SetDomainArn(v string) *DescribeDomainOutput { 43449 s.DomainArn = &v 43450 return s 43451 } 43452 43453 // SetDomainId sets the DomainId field's value. 43454 func (s *DescribeDomainOutput) SetDomainId(v string) *DescribeDomainOutput { 43455 s.DomainId = &v 43456 return s 43457 } 43458 43459 // SetDomainName sets the DomainName field's value. 43460 func (s *DescribeDomainOutput) SetDomainName(v string) *DescribeDomainOutput { 43461 s.DomainName = &v 43462 return s 43463 } 43464 43465 // SetFailureReason sets the FailureReason field's value. 43466 func (s *DescribeDomainOutput) SetFailureReason(v string) *DescribeDomainOutput { 43467 s.FailureReason = &v 43468 return s 43469 } 43470 43471 // SetHomeEfsFileSystemId sets the HomeEfsFileSystemId field's value. 43472 func (s *DescribeDomainOutput) SetHomeEfsFileSystemId(v string) *DescribeDomainOutput { 43473 s.HomeEfsFileSystemId = &v 43474 return s 43475 } 43476 43477 // SetHomeEfsFileSystemKmsKeyId sets the HomeEfsFileSystemKmsKeyId field's value. 43478 func (s *DescribeDomainOutput) SetHomeEfsFileSystemKmsKeyId(v string) *DescribeDomainOutput { 43479 s.HomeEfsFileSystemKmsKeyId = &v 43480 return s 43481 } 43482 43483 // SetKmsKeyId sets the KmsKeyId field's value. 43484 func (s *DescribeDomainOutput) SetKmsKeyId(v string) *DescribeDomainOutput { 43485 s.KmsKeyId = &v 43486 return s 43487 } 43488 43489 // SetLastModifiedTime sets the LastModifiedTime field's value. 43490 func (s *DescribeDomainOutput) SetLastModifiedTime(v time.Time) *DescribeDomainOutput { 43491 s.LastModifiedTime = &v 43492 return s 43493 } 43494 43495 // SetSingleSignOnManagedApplicationInstanceId sets the SingleSignOnManagedApplicationInstanceId field's value. 43496 func (s *DescribeDomainOutput) SetSingleSignOnManagedApplicationInstanceId(v string) *DescribeDomainOutput { 43497 s.SingleSignOnManagedApplicationInstanceId = &v 43498 return s 43499 } 43500 43501 // SetStatus sets the Status field's value. 43502 func (s *DescribeDomainOutput) SetStatus(v string) *DescribeDomainOutput { 43503 s.Status = &v 43504 return s 43505 } 43506 43507 // SetSubnetIds sets the SubnetIds field's value. 43508 func (s *DescribeDomainOutput) SetSubnetIds(v []*string) *DescribeDomainOutput { 43509 s.SubnetIds = v 43510 return s 43511 } 43512 43513 // SetUrl sets the Url field's value. 43514 func (s *DescribeDomainOutput) SetUrl(v string) *DescribeDomainOutput { 43515 s.Url = &v 43516 return s 43517 } 43518 43519 // SetVpcId sets the VpcId field's value. 43520 func (s *DescribeDomainOutput) SetVpcId(v string) *DescribeDomainOutput { 43521 s.VpcId = &v 43522 return s 43523 } 43524 43525 type DescribeEdgePackagingJobInput struct { 43526 _ struct{} `type:"structure"` 43527 43528 // The name of the edge packaging job. 43529 // 43530 // EdgePackagingJobName is a required field 43531 EdgePackagingJobName *string `min:"1" type:"string" required:"true"` 43532 } 43533 43534 // String returns the string representation. 43535 // 43536 // API parameter values that are decorated as "sensitive" in the API will not 43537 // be included in the string output. The member name will be present, but the 43538 // value will be replaced with "sensitive". 43539 func (s DescribeEdgePackagingJobInput) String() string { 43540 return awsutil.Prettify(s) 43541 } 43542 43543 // GoString returns the string representation. 43544 // 43545 // API parameter values that are decorated as "sensitive" in the API will not 43546 // be included in the string output. The member name will be present, but the 43547 // value will be replaced with "sensitive". 43548 func (s DescribeEdgePackagingJobInput) GoString() string { 43549 return s.String() 43550 } 43551 43552 // Validate inspects the fields of the type to determine if they are valid. 43553 func (s *DescribeEdgePackagingJobInput) Validate() error { 43554 invalidParams := request.ErrInvalidParams{Context: "DescribeEdgePackagingJobInput"} 43555 if s.EdgePackagingJobName == nil { 43556 invalidParams.Add(request.NewErrParamRequired("EdgePackagingJobName")) 43557 } 43558 if s.EdgePackagingJobName != nil && len(*s.EdgePackagingJobName) < 1 { 43559 invalidParams.Add(request.NewErrParamMinLen("EdgePackagingJobName", 1)) 43560 } 43561 43562 if invalidParams.Len() > 0 { 43563 return invalidParams 43564 } 43565 return nil 43566 } 43567 43568 // SetEdgePackagingJobName sets the EdgePackagingJobName field's value. 43569 func (s *DescribeEdgePackagingJobInput) SetEdgePackagingJobName(v string) *DescribeEdgePackagingJobInput { 43570 s.EdgePackagingJobName = &v 43571 return s 43572 } 43573 43574 type DescribeEdgePackagingJobOutput struct { 43575 _ struct{} `type:"structure"` 43576 43577 // The name of the SageMaker Neo compilation job that is used to locate model 43578 // artifacts that are being packaged. 43579 CompilationJobName *string `min:"1" type:"string"` 43580 43581 // The timestamp of when the packaging job was created. 43582 CreationTime *time.Time `type:"timestamp"` 43583 43584 // The Amazon Resource Name (ARN) of the edge packaging job. 43585 // 43586 // EdgePackagingJobArn is a required field 43587 EdgePackagingJobArn *string `min:"20" type:"string" required:"true"` 43588 43589 // The name of the edge packaging job. 43590 // 43591 // EdgePackagingJobName is a required field 43592 EdgePackagingJobName *string `min:"1" type:"string" required:"true"` 43593 43594 // The current status of the packaging job. 43595 // 43596 // EdgePackagingJobStatus is a required field 43597 EdgePackagingJobStatus *string `type:"string" required:"true" enum:"EdgePackagingJobStatus"` 43598 43599 // Returns a message describing the job status and error messages. 43600 EdgePackagingJobStatusMessage *string `type:"string"` 43601 43602 // The timestamp of when the job was last updated. 43603 LastModifiedTime *time.Time `type:"timestamp"` 43604 43605 // The Amazon Simple Storage (S3) URI where model artifacts ares stored. 43606 ModelArtifact *string `type:"string"` 43607 43608 // The name of the model. 43609 ModelName *string `min:"1" type:"string"` 43610 43611 // The signature document of files in the model artifact. 43612 ModelSignature *string `type:"string"` 43613 43614 // The version of the model. 43615 ModelVersion *string `min:"1" type:"string"` 43616 43617 // The output configuration for the edge packaging job. 43618 OutputConfig *EdgeOutputConfig `type:"structure"` 43619 43620 // The output of a SageMaker Edge Manager deployable resource. 43621 PresetDeploymentOutput *EdgePresetDeploymentOutput `type:"structure"` 43622 43623 // The Amazon Web Services KMS key to use when encrypting the EBS volume the 43624 // job run on. 43625 ResourceKey *string `type:"string"` 43626 43627 // The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker 43628 // to download and upload the model, and to contact Neo. 43629 RoleArn *string `min:"20" type:"string"` 43630 } 43631 43632 // String returns the string representation. 43633 // 43634 // API parameter values that are decorated as "sensitive" in the API will not 43635 // be included in the string output. The member name will be present, but the 43636 // value will be replaced with "sensitive". 43637 func (s DescribeEdgePackagingJobOutput) String() string { 43638 return awsutil.Prettify(s) 43639 } 43640 43641 // GoString returns the string representation. 43642 // 43643 // API parameter values that are decorated as "sensitive" in the API will not 43644 // be included in the string output. The member name will be present, but the 43645 // value will be replaced with "sensitive". 43646 func (s DescribeEdgePackagingJobOutput) GoString() string { 43647 return s.String() 43648 } 43649 43650 // SetCompilationJobName sets the CompilationJobName field's value. 43651 func (s *DescribeEdgePackagingJobOutput) SetCompilationJobName(v string) *DescribeEdgePackagingJobOutput { 43652 s.CompilationJobName = &v 43653 return s 43654 } 43655 43656 // SetCreationTime sets the CreationTime field's value. 43657 func (s *DescribeEdgePackagingJobOutput) SetCreationTime(v time.Time) *DescribeEdgePackagingJobOutput { 43658 s.CreationTime = &v 43659 return s 43660 } 43661 43662 // SetEdgePackagingJobArn sets the EdgePackagingJobArn field's value. 43663 func (s *DescribeEdgePackagingJobOutput) SetEdgePackagingJobArn(v string) *DescribeEdgePackagingJobOutput { 43664 s.EdgePackagingJobArn = &v 43665 return s 43666 } 43667 43668 // SetEdgePackagingJobName sets the EdgePackagingJobName field's value. 43669 func (s *DescribeEdgePackagingJobOutput) SetEdgePackagingJobName(v string) *DescribeEdgePackagingJobOutput { 43670 s.EdgePackagingJobName = &v 43671 return s 43672 } 43673 43674 // SetEdgePackagingJobStatus sets the EdgePackagingJobStatus field's value. 43675 func (s *DescribeEdgePackagingJobOutput) SetEdgePackagingJobStatus(v string) *DescribeEdgePackagingJobOutput { 43676 s.EdgePackagingJobStatus = &v 43677 return s 43678 } 43679 43680 // SetEdgePackagingJobStatusMessage sets the EdgePackagingJobStatusMessage field's value. 43681 func (s *DescribeEdgePackagingJobOutput) SetEdgePackagingJobStatusMessage(v string) *DescribeEdgePackagingJobOutput { 43682 s.EdgePackagingJobStatusMessage = &v 43683 return s 43684 } 43685 43686 // SetLastModifiedTime sets the LastModifiedTime field's value. 43687 func (s *DescribeEdgePackagingJobOutput) SetLastModifiedTime(v time.Time) *DescribeEdgePackagingJobOutput { 43688 s.LastModifiedTime = &v 43689 return s 43690 } 43691 43692 // SetModelArtifact sets the ModelArtifact field's value. 43693 func (s *DescribeEdgePackagingJobOutput) SetModelArtifact(v string) *DescribeEdgePackagingJobOutput { 43694 s.ModelArtifact = &v 43695 return s 43696 } 43697 43698 // SetModelName sets the ModelName field's value. 43699 func (s *DescribeEdgePackagingJobOutput) SetModelName(v string) *DescribeEdgePackagingJobOutput { 43700 s.ModelName = &v 43701 return s 43702 } 43703 43704 // SetModelSignature sets the ModelSignature field's value. 43705 func (s *DescribeEdgePackagingJobOutput) SetModelSignature(v string) *DescribeEdgePackagingJobOutput { 43706 s.ModelSignature = &v 43707 return s 43708 } 43709 43710 // SetModelVersion sets the ModelVersion field's value. 43711 func (s *DescribeEdgePackagingJobOutput) SetModelVersion(v string) *DescribeEdgePackagingJobOutput { 43712 s.ModelVersion = &v 43713 return s 43714 } 43715 43716 // SetOutputConfig sets the OutputConfig field's value. 43717 func (s *DescribeEdgePackagingJobOutput) SetOutputConfig(v *EdgeOutputConfig) *DescribeEdgePackagingJobOutput { 43718 s.OutputConfig = v 43719 return s 43720 } 43721 43722 // SetPresetDeploymentOutput sets the PresetDeploymentOutput field's value. 43723 func (s *DescribeEdgePackagingJobOutput) SetPresetDeploymentOutput(v *EdgePresetDeploymentOutput) *DescribeEdgePackagingJobOutput { 43724 s.PresetDeploymentOutput = v 43725 return s 43726 } 43727 43728 // SetResourceKey sets the ResourceKey field's value. 43729 func (s *DescribeEdgePackagingJobOutput) SetResourceKey(v string) *DescribeEdgePackagingJobOutput { 43730 s.ResourceKey = &v 43731 return s 43732 } 43733 43734 // SetRoleArn sets the RoleArn field's value. 43735 func (s *DescribeEdgePackagingJobOutput) SetRoleArn(v string) *DescribeEdgePackagingJobOutput { 43736 s.RoleArn = &v 43737 return s 43738 } 43739 43740 type DescribeEndpointConfigInput struct { 43741 _ struct{} `type:"structure"` 43742 43743 // The name of the endpoint configuration. 43744 // 43745 // EndpointConfigName is a required field 43746 EndpointConfigName *string `type:"string" required:"true"` 43747 } 43748 43749 // String returns the string representation. 43750 // 43751 // API parameter values that are decorated as "sensitive" in the API will not 43752 // be included in the string output. The member name will be present, but the 43753 // value will be replaced with "sensitive". 43754 func (s DescribeEndpointConfigInput) String() string { 43755 return awsutil.Prettify(s) 43756 } 43757 43758 // GoString returns the string representation. 43759 // 43760 // API parameter values that are decorated as "sensitive" in the API will not 43761 // be included in the string output. The member name will be present, but the 43762 // value will be replaced with "sensitive". 43763 func (s DescribeEndpointConfigInput) GoString() string { 43764 return s.String() 43765 } 43766 43767 // Validate inspects the fields of the type to determine if they are valid. 43768 func (s *DescribeEndpointConfigInput) Validate() error { 43769 invalidParams := request.ErrInvalidParams{Context: "DescribeEndpointConfigInput"} 43770 if s.EndpointConfigName == nil { 43771 invalidParams.Add(request.NewErrParamRequired("EndpointConfigName")) 43772 } 43773 43774 if invalidParams.Len() > 0 { 43775 return invalidParams 43776 } 43777 return nil 43778 } 43779 43780 // SetEndpointConfigName sets the EndpointConfigName field's value. 43781 func (s *DescribeEndpointConfigInput) SetEndpointConfigName(v string) *DescribeEndpointConfigInput { 43782 s.EndpointConfigName = &v 43783 return s 43784 } 43785 43786 type DescribeEndpointConfigOutput struct { 43787 _ struct{} `type:"structure"` 43788 43789 // Returns the description of an endpoint configuration created using the CreateEndpointConfig 43790 // (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpointConfig.html) 43791 // API. 43792 AsyncInferenceConfig *AsyncInferenceConfig `type:"structure"` 43793 43794 // A timestamp that shows when the endpoint configuration was created. 43795 // 43796 // CreationTime is a required field 43797 CreationTime *time.Time `type:"timestamp" required:"true"` 43798 43799 DataCaptureConfig *DataCaptureConfig `type:"structure"` 43800 43801 // The Amazon Resource Name (ARN) of the endpoint configuration. 43802 // 43803 // EndpointConfigArn is a required field 43804 EndpointConfigArn *string `min:"20" type:"string" required:"true"` 43805 43806 // Name of the Amazon SageMaker endpoint configuration. 43807 // 43808 // EndpointConfigName is a required field 43809 EndpointConfigName *string `type:"string" required:"true"` 43810 43811 // Amazon Web Services KMS key ID Amazon SageMaker uses to encrypt data when 43812 // storing it on the ML storage volume attached to the instance. 43813 KmsKeyId *string `type:"string"` 43814 43815 // An array of ProductionVariant objects, one for each model that you want to 43816 // host at this endpoint. 43817 // 43818 // ProductionVariants is a required field 43819 ProductionVariants []*ProductionVariant `min:"1" type:"list" required:"true"` 43820 } 43821 43822 // String returns the string representation. 43823 // 43824 // API parameter values that are decorated as "sensitive" in the API will not 43825 // be included in the string output. The member name will be present, but the 43826 // value will be replaced with "sensitive". 43827 func (s DescribeEndpointConfigOutput) String() string { 43828 return awsutil.Prettify(s) 43829 } 43830 43831 // GoString returns the string representation. 43832 // 43833 // API parameter values that are decorated as "sensitive" in the API will not 43834 // be included in the string output. The member name will be present, but the 43835 // value will be replaced with "sensitive". 43836 func (s DescribeEndpointConfigOutput) GoString() string { 43837 return s.String() 43838 } 43839 43840 // SetAsyncInferenceConfig sets the AsyncInferenceConfig field's value. 43841 func (s *DescribeEndpointConfigOutput) SetAsyncInferenceConfig(v *AsyncInferenceConfig) *DescribeEndpointConfigOutput { 43842 s.AsyncInferenceConfig = v 43843 return s 43844 } 43845 43846 // SetCreationTime sets the CreationTime field's value. 43847 func (s *DescribeEndpointConfigOutput) SetCreationTime(v time.Time) *DescribeEndpointConfigOutput { 43848 s.CreationTime = &v 43849 return s 43850 } 43851 43852 // SetDataCaptureConfig sets the DataCaptureConfig field's value. 43853 func (s *DescribeEndpointConfigOutput) SetDataCaptureConfig(v *DataCaptureConfig) *DescribeEndpointConfigOutput { 43854 s.DataCaptureConfig = v 43855 return s 43856 } 43857 43858 // SetEndpointConfigArn sets the EndpointConfigArn field's value. 43859 func (s *DescribeEndpointConfigOutput) SetEndpointConfigArn(v string) *DescribeEndpointConfigOutput { 43860 s.EndpointConfigArn = &v 43861 return s 43862 } 43863 43864 // SetEndpointConfigName sets the EndpointConfigName field's value. 43865 func (s *DescribeEndpointConfigOutput) SetEndpointConfigName(v string) *DescribeEndpointConfigOutput { 43866 s.EndpointConfigName = &v 43867 return s 43868 } 43869 43870 // SetKmsKeyId sets the KmsKeyId field's value. 43871 func (s *DescribeEndpointConfigOutput) SetKmsKeyId(v string) *DescribeEndpointConfigOutput { 43872 s.KmsKeyId = &v 43873 return s 43874 } 43875 43876 // SetProductionVariants sets the ProductionVariants field's value. 43877 func (s *DescribeEndpointConfigOutput) SetProductionVariants(v []*ProductionVariant) *DescribeEndpointConfigOutput { 43878 s.ProductionVariants = v 43879 return s 43880 } 43881 43882 type DescribeEndpointInput struct { 43883 _ struct{} `type:"structure"` 43884 43885 // The name of the endpoint. 43886 // 43887 // EndpointName is a required field 43888 EndpointName *string `type:"string" required:"true"` 43889 } 43890 43891 // String returns the string representation. 43892 // 43893 // API parameter values that are decorated as "sensitive" in the API will not 43894 // be included in the string output. The member name will be present, but the 43895 // value will be replaced with "sensitive". 43896 func (s DescribeEndpointInput) String() string { 43897 return awsutil.Prettify(s) 43898 } 43899 43900 // GoString returns the string representation. 43901 // 43902 // API parameter values that are decorated as "sensitive" in the API will not 43903 // be included in the string output. The member name will be present, but the 43904 // value will be replaced with "sensitive". 43905 func (s DescribeEndpointInput) GoString() string { 43906 return s.String() 43907 } 43908 43909 // Validate inspects the fields of the type to determine if they are valid. 43910 func (s *DescribeEndpointInput) Validate() error { 43911 invalidParams := request.ErrInvalidParams{Context: "DescribeEndpointInput"} 43912 if s.EndpointName == nil { 43913 invalidParams.Add(request.NewErrParamRequired("EndpointName")) 43914 } 43915 43916 if invalidParams.Len() > 0 { 43917 return invalidParams 43918 } 43919 return nil 43920 } 43921 43922 // SetEndpointName sets the EndpointName field's value. 43923 func (s *DescribeEndpointInput) SetEndpointName(v string) *DescribeEndpointInput { 43924 s.EndpointName = &v 43925 return s 43926 } 43927 43928 type DescribeEndpointOutput struct { 43929 _ struct{} `type:"structure"` 43930 43931 // Returns the description of an endpoint configuration created using the CreateEndpointConfig 43932 // (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpointConfig.html) 43933 // API. 43934 AsyncInferenceConfig *AsyncInferenceConfig `type:"structure"` 43935 43936 // A timestamp that shows when the endpoint was created. 43937 // 43938 // CreationTime is a required field 43939 CreationTime *time.Time `type:"timestamp" required:"true"` 43940 43941 DataCaptureConfig *DataCaptureConfigSummary `type:"structure"` 43942 43943 // The Amazon Resource Name (ARN) of the endpoint. 43944 // 43945 // EndpointArn is a required field 43946 EndpointArn *string `min:"20" type:"string" required:"true"` 43947 43948 // The name of the endpoint configuration associated with this endpoint. 43949 // 43950 // EndpointConfigName is a required field 43951 EndpointConfigName *string `type:"string" required:"true"` 43952 43953 // Name of the endpoint. 43954 // 43955 // EndpointName is a required field 43956 EndpointName *string `type:"string" required:"true"` 43957 43958 // The status of the endpoint. 43959 // 43960 // * OutOfService: Endpoint is not available to take incoming requests. 43961 // 43962 // * Creating: CreateEndpoint is executing. 43963 // 43964 // * Updating: UpdateEndpoint or UpdateEndpointWeightsAndCapacities is executing. 43965 // 43966 // * SystemUpdating: Endpoint is undergoing maintenance and cannot be updated 43967 // or deleted or re-scaled until it has completed. This maintenance operation 43968 // does not change any customer-specified values such as VPC config, KMS 43969 // encryption, model, instance type, or instance count. 43970 // 43971 // * RollingBack: Endpoint fails to scale up or down or change its variant 43972 // weight and is in the process of rolling back to its previous configuration. 43973 // Once the rollback completes, endpoint returns to an InService status. 43974 // This transitional status only applies to an endpoint that has autoscaling 43975 // enabled and is undergoing variant weight or capacity changes as part of 43976 // an UpdateEndpointWeightsAndCapacities call or when the UpdateEndpointWeightsAndCapacities 43977 // operation is called explicitly. 43978 // 43979 // * InService: Endpoint is available to process incoming requests. 43980 // 43981 // * Deleting: DeleteEndpoint is executing. 43982 // 43983 // * Failed: Endpoint could not be created, updated, or re-scaled. Use DescribeEndpointOutput$FailureReason 43984 // for information about the failure. DeleteEndpoint is the only operation 43985 // that can be performed on a failed endpoint. 43986 // 43987 // EndpointStatus is a required field 43988 EndpointStatus *string `type:"string" required:"true" enum:"EndpointStatus"` 43989 43990 // If the status of the endpoint is Failed, the reason why it failed. 43991 FailureReason *string `type:"string"` 43992 43993 // The most recent deployment configuration for the endpoint. 43994 LastDeploymentConfig *DeploymentConfig `type:"structure"` 43995 43996 // A timestamp that shows when the endpoint was last modified. 43997 // 43998 // LastModifiedTime is a required field 43999 LastModifiedTime *time.Time `type:"timestamp" required:"true"` 44000 44001 // An array of ProductionVariantSummary objects, one for each model hosted behind 44002 // this endpoint. 44003 ProductionVariants []*ProductionVariantSummary `min:"1" type:"list"` 44004 } 44005 44006 // String returns the string representation. 44007 // 44008 // API parameter values that are decorated as "sensitive" in the API will not 44009 // be included in the string output. The member name will be present, but the 44010 // value will be replaced with "sensitive". 44011 func (s DescribeEndpointOutput) String() string { 44012 return awsutil.Prettify(s) 44013 } 44014 44015 // GoString returns the string representation. 44016 // 44017 // API parameter values that are decorated as "sensitive" in the API will not 44018 // be included in the string output. The member name will be present, but the 44019 // value will be replaced with "sensitive". 44020 func (s DescribeEndpointOutput) GoString() string { 44021 return s.String() 44022 } 44023 44024 // SetAsyncInferenceConfig sets the AsyncInferenceConfig field's value. 44025 func (s *DescribeEndpointOutput) SetAsyncInferenceConfig(v *AsyncInferenceConfig) *DescribeEndpointOutput { 44026 s.AsyncInferenceConfig = v 44027 return s 44028 } 44029 44030 // SetCreationTime sets the CreationTime field's value. 44031 func (s *DescribeEndpointOutput) SetCreationTime(v time.Time) *DescribeEndpointOutput { 44032 s.CreationTime = &v 44033 return s 44034 } 44035 44036 // SetDataCaptureConfig sets the DataCaptureConfig field's value. 44037 func (s *DescribeEndpointOutput) SetDataCaptureConfig(v *DataCaptureConfigSummary) *DescribeEndpointOutput { 44038 s.DataCaptureConfig = v 44039 return s 44040 } 44041 44042 // SetEndpointArn sets the EndpointArn field's value. 44043 func (s *DescribeEndpointOutput) SetEndpointArn(v string) *DescribeEndpointOutput { 44044 s.EndpointArn = &v 44045 return s 44046 } 44047 44048 // SetEndpointConfigName sets the EndpointConfigName field's value. 44049 func (s *DescribeEndpointOutput) SetEndpointConfigName(v string) *DescribeEndpointOutput { 44050 s.EndpointConfigName = &v 44051 return s 44052 } 44053 44054 // SetEndpointName sets the EndpointName field's value. 44055 func (s *DescribeEndpointOutput) SetEndpointName(v string) *DescribeEndpointOutput { 44056 s.EndpointName = &v 44057 return s 44058 } 44059 44060 // SetEndpointStatus sets the EndpointStatus field's value. 44061 func (s *DescribeEndpointOutput) SetEndpointStatus(v string) *DescribeEndpointOutput { 44062 s.EndpointStatus = &v 44063 return s 44064 } 44065 44066 // SetFailureReason sets the FailureReason field's value. 44067 func (s *DescribeEndpointOutput) SetFailureReason(v string) *DescribeEndpointOutput { 44068 s.FailureReason = &v 44069 return s 44070 } 44071 44072 // SetLastDeploymentConfig sets the LastDeploymentConfig field's value. 44073 func (s *DescribeEndpointOutput) SetLastDeploymentConfig(v *DeploymentConfig) *DescribeEndpointOutput { 44074 s.LastDeploymentConfig = v 44075 return s 44076 } 44077 44078 // SetLastModifiedTime sets the LastModifiedTime field's value. 44079 func (s *DescribeEndpointOutput) SetLastModifiedTime(v time.Time) *DescribeEndpointOutput { 44080 s.LastModifiedTime = &v 44081 return s 44082 } 44083 44084 // SetProductionVariants sets the ProductionVariants field's value. 44085 func (s *DescribeEndpointOutput) SetProductionVariants(v []*ProductionVariantSummary) *DescribeEndpointOutput { 44086 s.ProductionVariants = v 44087 return s 44088 } 44089 44090 type DescribeExperimentInput struct { 44091 _ struct{} `type:"structure"` 44092 44093 // The name of the experiment to describe. 44094 // 44095 // ExperimentName is a required field 44096 ExperimentName *string `min:"1" type:"string" required:"true"` 44097 } 44098 44099 // String returns the string representation. 44100 // 44101 // API parameter values that are decorated as "sensitive" in the API will not 44102 // be included in the string output. The member name will be present, but the 44103 // value will be replaced with "sensitive". 44104 func (s DescribeExperimentInput) String() string { 44105 return awsutil.Prettify(s) 44106 } 44107 44108 // GoString returns the string representation. 44109 // 44110 // API parameter values that are decorated as "sensitive" in the API will not 44111 // be included in the string output. The member name will be present, but the 44112 // value will be replaced with "sensitive". 44113 func (s DescribeExperimentInput) GoString() string { 44114 return s.String() 44115 } 44116 44117 // Validate inspects the fields of the type to determine if they are valid. 44118 func (s *DescribeExperimentInput) Validate() error { 44119 invalidParams := request.ErrInvalidParams{Context: "DescribeExperimentInput"} 44120 if s.ExperimentName == nil { 44121 invalidParams.Add(request.NewErrParamRequired("ExperimentName")) 44122 } 44123 if s.ExperimentName != nil && len(*s.ExperimentName) < 1 { 44124 invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1)) 44125 } 44126 44127 if invalidParams.Len() > 0 { 44128 return invalidParams 44129 } 44130 return nil 44131 } 44132 44133 // SetExperimentName sets the ExperimentName field's value. 44134 func (s *DescribeExperimentInput) SetExperimentName(v string) *DescribeExperimentInput { 44135 s.ExperimentName = &v 44136 return s 44137 } 44138 44139 type DescribeExperimentOutput struct { 44140 _ struct{} `type:"structure"` 44141 44142 // Who created the experiment. 44143 CreatedBy *UserContext `type:"structure"` 44144 44145 // When the experiment was created. 44146 CreationTime *time.Time `type:"timestamp"` 44147 44148 // The description of the experiment. 44149 Description *string `type:"string"` 44150 44151 // The name of the experiment as displayed. If DisplayName isn't specified, 44152 // ExperimentName is displayed. 44153 DisplayName *string `min:"1" type:"string"` 44154 44155 // The Amazon Resource Name (ARN) of the experiment. 44156 ExperimentArn *string `type:"string"` 44157 44158 // The name of the experiment. 44159 ExperimentName *string `min:"1" type:"string"` 44160 44161 // Who last modified the experiment. 44162 LastModifiedBy *UserContext `type:"structure"` 44163 44164 // When the experiment was last modified. 44165 LastModifiedTime *time.Time `type:"timestamp"` 44166 44167 // The ARN of the source and, optionally, the type. 44168 Source *ExperimentSource `type:"structure"` 44169 } 44170 44171 // String returns the string representation. 44172 // 44173 // API parameter values that are decorated as "sensitive" in the API will not 44174 // be included in the string output. The member name will be present, but the 44175 // value will be replaced with "sensitive". 44176 func (s DescribeExperimentOutput) String() string { 44177 return awsutil.Prettify(s) 44178 } 44179 44180 // GoString returns the string representation. 44181 // 44182 // API parameter values that are decorated as "sensitive" in the API will not 44183 // be included in the string output. The member name will be present, but the 44184 // value will be replaced with "sensitive". 44185 func (s DescribeExperimentOutput) GoString() string { 44186 return s.String() 44187 } 44188 44189 // SetCreatedBy sets the CreatedBy field's value. 44190 func (s *DescribeExperimentOutput) SetCreatedBy(v *UserContext) *DescribeExperimentOutput { 44191 s.CreatedBy = v 44192 return s 44193 } 44194 44195 // SetCreationTime sets the CreationTime field's value. 44196 func (s *DescribeExperimentOutput) SetCreationTime(v time.Time) *DescribeExperimentOutput { 44197 s.CreationTime = &v 44198 return s 44199 } 44200 44201 // SetDescription sets the Description field's value. 44202 func (s *DescribeExperimentOutput) SetDescription(v string) *DescribeExperimentOutput { 44203 s.Description = &v 44204 return s 44205 } 44206 44207 // SetDisplayName sets the DisplayName field's value. 44208 func (s *DescribeExperimentOutput) SetDisplayName(v string) *DescribeExperimentOutput { 44209 s.DisplayName = &v 44210 return s 44211 } 44212 44213 // SetExperimentArn sets the ExperimentArn field's value. 44214 func (s *DescribeExperimentOutput) SetExperimentArn(v string) *DescribeExperimentOutput { 44215 s.ExperimentArn = &v 44216 return s 44217 } 44218 44219 // SetExperimentName sets the ExperimentName field's value. 44220 func (s *DescribeExperimentOutput) SetExperimentName(v string) *DescribeExperimentOutput { 44221 s.ExperimentName = &v 44222 return s 44223 } 44224 44225 // SetLastModifiedBy sets the LastModifiedBy field's value. 44226 func (s *DescribeExperimentOutput) SetLastModifiedBy(v *UserContext) *DescribeExperimentOutput { 44227 s.LastModifiedBy = v 44228 return s 44229 } 44230 44231 // SetLastModifiedTime sets the LastModifiedTime field's value. 44232 func (s *DescribeExperimentOutput) SetLastModifiedTime(v time.Time) *DescribeExperimentOutput { 44233 s.LastModifiedTime = &v 44234 return s 44235 } 44236 44237 // SetSource sets the Source field's value. 44238 func (s *DescribeExperimentOutput) SetSource(v *ExperimentSource) *DescribeExperimentOutput { 44239 s.Source = v 44240 return s 44241 } 44242 44243 type DescribeFeatureGroupInput struct { 44244 _ struct{} `type:"structure"` 44245 44246 // The name of the FeatureGroup you want described. 44247 // 44248 // FeatureGroupName is a required field 44249 FeatureGroupName *string `min:"1" type:"string" required:"true"` 44250 44251 // A token to resume pagination of the list of Features (FeatureDefinitions). 44252 // 2,500 Features are returned by default. 44253 NextToken *string `type:"string"` 44254 } 44255 44256 // String returns the string representation. 44257 // 44258 // API parameter values that are decorated as "sensitive" in the API will not 44259 // be included in the string output. The member name will be present, but the 44260 // value will be replaced with "sensitive". 44261 func (s DescribeFeatureGroupInput) String() string { 44262 return awsutil.Prettify(s) 44263 } 44264 44265 // GoString returns the string representation. 44266 // 44267 // API parameter values that are decorated as "sensitive" in the API will not 44268 // be included in the string output. The member name will be present, but the 44269 // value will be replaced with "sensitive". 44270 func (s DescribeFeatureGroupInput) GoString() string { 44271 return s.String() 44272 } 44273 44274 // Validate inspects the fields of the type to determine if they are valid. 44275 func (s *DescribeFeatureGroupInput) Validate() error { 44276 invalidParams := request.ErrInvalidParams{Context: "DescribeFeatureGroupInput"} 44277 if s.FeatureGroupName == nil { 44278 invalidParams.Add(request.NewErrParamRequired("FeatureGroupName")) 44279 } 44280 if s.FeatureGroupName != nil && len(*s.FeatureGroupName) < 1 { 44281 invalidParams.Add(request.NewErrParamMinLen("FeatureGroupName", 1)) 44282 } 44283 44284 if invalidParams.Len() > 0 { 44285 return invalidParams 44286 } 44287 return nil 44288 } 44289 44290 // SetFeatureGroupName sets the FeatureGroupName field's value. 44291 func (s *DescribeFeatureGroupInput) SetFeatureGroupName(v string) *DescribeFeatureGroupInput { 44292 s.FeatureGroupName = &v 44293 return s 44294 } 44295 44296 // SetNextToken sets the NextToken field's value. 44297 func (s *DescribeFeatureGroupInput) SetNextToken(v string) *DescribeFeatureGroupInput { 44298 s.NextToken = &v 44299 return s 44300 } 44301 44302 type DescribeFeatureGroupOutput struct { 44303 _ struct{} `type:"structure"` 44304 44305 // A timestamp indicating when SageMaker created the FeatureGroup. 44306 // 44307 // CreationTime is a required field 44308 CreationTime *time.Time `type:"timestamp" required:"true"` 44309 44310 // A free form description of the feature group. 44311 Description *string `type:"string"` 44312 44313 // The name of the feature that stores the EventTime of a Record in a FeatureGroup. 44314 // 44315 // An EventTime is a point in time when a new event occurs that corresponds 44316 // to the creation or update of a Record in a FeatureGroup. All Records in the 44317 // FeatureGroup have a corresponding EventTime. 44318 // 44319 // EventTimeFeatureName is a required field 44320 EventTimeFeatureName *string `min:"1" type:"string" required:"true"` 44321 44322 // The reason that the FeatureGroup failed to be replicated in the OfflineStore. 44323 // This is failure can occur because: 44324 // 44325 // * The FeatureGroup could not be created in the OfflineStore. 44326 // 44327 // * The FeatureGroup could not be deleted from the OfflineStore. 44328 FailureReason *string `type:"string"` 44329 44330 // A list of the Features in the FeatureGroup. Each feature is defined by a 44331 // FeatureName and FeatureType. 44332 // 44333 // FeatureDefinitions is a required field 44334 FeatureDefinitions []*FeatureDefinition `min:"1" type:"list" required:"true"` 44335 44336 // The Amazon Resource Name (ARN) of the FeatureGroup. 44337 // 44338 // FeatureGroupArn is a required field 44339 FeatureGroupArn *string `type:"string" required:"true"` 44340 44341 // he name of the FeatureGroup. 44342 // 44343 // FeatureGroupName is a required field 44344 FeatureGroupName *string `min:"1" type:"string" required:"true"` 44345 44346 // The status of the feature group. 44347 FeatureGroupStatus *string `type:"string" enum:"FeatureGroupStatus"` 44348 44349 // A token to resume pagination of the list of Features (FeatureDefinitions). 44350 // 44351 // NextToken is a required field 44352 NextToken *string `type:"string" required:"true"` 44353 44354 // The configuration of the OfflineStore, inducing the S3 location of the OfflineStore, 44355 // Amazon Web Services Glue or Amazon Web Services Hive data catalogue configurations, 44356 // and the security configuration. 44357 OfflineStoreConfig *OfflineStoreConfig `type:"structure"` 44358 44359 // The status of the OfflineStore. Notifies you if replicating data into the 44360 // OfflineStore has failed. Returns either: Active or Blocked 44361 OfflineStoreStatus *OfflineStoreStatus `type:"structure"` 44362 44363 // The configuration for the OnlineStore. 44364 OnlineStoreConfig *OnlineStoreConfig `type:"structure"` 44365 44366 // The name of the Feature used for RecordIdentifier, whose value uniquely identifies 44367 // a record stored in the feature store. 44368 // 44369 // RecordIdentifierFeatureName is a required field 44370 RecordIdentifierFeatureName *string `min:"1" type:"string" required:"true"` 44371 44372 // The Amazon Resource Name (ARN) of the IAM execution role used to persist 44373 // data into the OfflineStore if an OfflineStoreConfig is provided. 44374 RoleArn *string `min:"20" type:"string"` 44375 } 44376 44377 // String returns the string representation. 44378 // 44379 // API parameter values that are decorated as "sensitive" in the API will not 44380 // be included in the string output. The member name will be present, but the 44381 // value will be replaced with "sensitive". 44382 func (s DescribeFeatureGroupOutput) String() string { 44383 return awsutil.Prettify(s) 44384 } 44385 44386 // GoString returns the string representation. 44387 // 44388 // API parameter values that are decorated as "sensitive" in the API will not 44389 // be included in the string output. The member name will be present, but the 44390 // value will be replaced with "sensitive". 44391 func (s DescribeFeatureGroupOutput) GoString() string { 44392 return s.String() 44393 } 44394 44395 // SetCreationTime sets the CreationTime field's value. 44396 func (s *DescribeFeatureGroupOutput) SetCreationTime(v time.Time) *DescribeFeatureGroupOutput { 44397 s.CreationTime = &v 44398 return s 44399 } 44400 44401 // SetDescription sets the Description field's value. 44402 func (s *DescribeFeatureGroupOutput) SetDescription(v string) *DescribeFeatureGroupOutput { 44403 s.Description = &v 44404 return s 44405 } 44406 44407 // SetEventTimeFeatureName sets the EventTimeFeatureName field's value. 44408 func (s *DescribeFeatureGroupOutput) SetEventTimeFeatureName(v string) *DescribeFeatureGroupOutput { 44409 s.EventTimeFeatureName = &v 44410 return s 44411 } 44412 44413 // SetFailureReason sets the FailureReason field's value. 44414 func (s *DescribeFeatureGroupOutput) SetFailureReason(v string) *DescribeFeatureGroupOutput { 44415 s.FailureReason = &v 44416 return s 44417 } 44418 44419 // SetFeatureDefinitions sets the FeatureDefinitions field's value. 44420 func (s *DescribeFeatureGroupOutput) SetFeatureDefinitions(v []*FeatureDefinition) *DescribeFeatureGroupOutput { 44421 s.FeatureDefinitions = v 44422 return s 44423 } 44424 44425 // SetFeatureGroupArn sets the FeatureGroupArn field's value. 44426 func (s *DescribeFeatureGroupOutput) SetFeatureGroupArn(v string) *DescribeFeatureGroupOutput { 44427 s.FeatureGroupArn = &v 44428 return s 44429 } 44430 44431 // SetFeatureGroupName sets the FeatureGroupName field's value. 44432 func (s *DescribeFeatureGroupOutput) SetFeatureGroupName(v string) *DescribeFeatureGroupOutput { 44433 s.FeatureGroupName = &v 44434 return s 44435 } 44436 44437 // SetFeatureGroupStatus sets the FeatureGroupStatus field's value. 44438 func (s *DescribeFeatureGroupOutput) SetFeatureGroupStatus(v string) *DescribeFeatureGroupOutput { 44439 s.FeatureGroupStatus = &v 44440 return s 44441 } 44442 44443 // SetNextToken sets the NextToken field's value. 44444 func (s *DescribeFeatureGroupOutput) SetNextToken(v string) *DescribeFeatureGroupOutput { 44445 s.NextToken = &v 44446 return s 44447 } 44448 44449 // SetOfflineStoreConfig sets the OfflineStoreConfig field's value. 44450 func (s *DescribeFeatureGroupOutput) SetOfflineStoreConfig(v *OfflineStoreConfig) *DescribeFeatureGroupOutput { 44451 s.OfflineStoreConfig = v 44452 return s 44453 } 44454 44455 // SetOfflineStoreStatus sets the OfflineStoreStatus field's value. 44456 func (s *DescribeFeatureGroupOutput) SetOfflineStoreStatus(v *OfflineStoreStatus) *DescribeFeatureGroupOutput { 44457 s.OfflineStoreStatus = v 44458 return s 44459 } 44460 44461 // SetOnlineStoreConfig sets the OnlineStoreConfig field's value. 44462 func (s *DescribeFeatureGroupOutput) SetOnlineStoreConfig(v *OnlineStoreConfig) *DescribeFeatureGroupOutput { 44463 s.OnlineStoreConfig = v 44464 return s 44465 } 44466 44467 // SetRecordIdentifierFeatureName sets the RecordIdentifierFeatureName field's value. 44468 func (s *DescribeFeatureGroupOutput) SetRecordIdentifierFeatureName(v string) *DescribeFeatureGroupOutput { 44469 s.RecordIdentifierFeatureName = &v 44470 return s 44471 } 44472 44473 // SetRoleArn sets the RoleArn field's value. 44474 func (s *DescribeFeatureGroupOutput) SetRoleArn(v string) *DescribeFeatureGroupOutput { 44475 s.RoleArn = &v 44476 return s 44477 } 44478 44479 type DescribeFlowDefinitionInput struct { 44480 _ struct{} `type:"structure"` 44481 44482 // The name of the flow definition. 44483 // 44484 // FlowDefinitionName is a required field 44485 FlowDefinitionName *string `min:"1" type:"string" required:"true"` 44486 } 44487 44488 // String returns the string representation. 44489 // 44490 // API parameter values that are decorated as "sensitive" in the API will not 44491 // be included in the string output. The member name will be present, but the 44492 // value will be replaced with "sensitive". 44493 func (s DescribeFlowDefinitionInput) String() string { 44494 return awsutil.Prettify(s) 44495 } 44496 44497 // GoString returns the string representation. 44498 // 44499 // API parameter values that are decorated as "sensitive" in the API will not 44500 // be included in the string output. The member name will be present, but the 44501 // value will be replaced with "sensitive". 44502 func (s DescribeFlowDefinitionInput) GoString() string { 44503 return s.String() 44504 } 44505 44506 // Validate inspects the fields of the type to determine if they are valid. 44507 func (s *DescribeFlowDefinitionInput) Validate() error { 44508 invalidParams := request.ErrInvalidParams{Context: "DescribeFlowDefinitionInput"} 44509 if s.FlowDefinitionName == nil { 44510 invalidParams.Add(request.NewErrParamRequired("FlowDefinitionName")) 44511 } 44512 if s.FlowDefinitionName != nil && len(*s.FlowDefinitionName) < 1 { 44513 invalidParams.Add(request.NewErrParamMinLen("FlowDefinitionName", 1)) 44514 } 44515 44516 if invalidParams.Len() > 0 { 44517 return invalidParams 44518 } 44519 return nil 44520 } 44521 44522 // SetFlowDefinitionName sets the FlowDefinitionName field's value. 44523 func (s *DescribeFlowDefinitionInput) SetFlowDefinitionName(v string) *DescribeFlowDefinitionInput { 44524 s.FlowDefinitionName = &v 44525 return s 44526 } 44527 44528 type DescribeFlowDefinitionOutput struct { 44529 _ struct{} `type:"structure"` 44530 44531 // The timestamp when the flow definition was created. 44532 // 44533 // CreationTime is a required field 44534 CreationTime *time.Time `type:"timestamp" required:"true"` 44535 44536 // The reason your flow definition failed. 44537 FailureReason *string `type:"string"` 44538 44539 // The Amazon Resource Name (ARN) of the flow defintion. 44540 // 44541 // FlowDefinitionArn is a required field 44542 FlowDefinitionArn *string `type:"string" required:"true"` 44543 44544 // The Amazon Resource Name (ARN) of the flow definition. 44545 // 44546 // FlowDefinitionName is a required field 44547 FlowDefinitionName *string `min:"1" type:"string" required:"true"` 44548 44549 // The status of the flow definition. Valid values are listed below. 44550 // 44551 // FlowDefinitionStatus is a required field 44552 FlowDefinitionStatus *string `type:"string" required:"true" enum:"FlowDefinitionStatus"` 44553 44554 // An object containing information about what triggers a human review workflow. 44555 HumanLoopActivationConfig *HumanLoopActivationConfig `type:"structure"` 44556 44557 // An object containing information about who works on the task, the workforce 44558 // task price, and other task details. 44559 // 44560 // HumanLoopConfig is a required field 44561 HumanLoopConfig *HumanLoopConfig `type:"structure" required:"true"` 44562 44563 // Container for configuring the source of human task requests. Used to specify 44564 // if Amazon Rekognition or Amazon Textract is used as an integration source. 44565 HumanLoopRequestSource *HumanLoopRequestSource `type:"structure"` 44566 44567 // An object containing information about the output file. 44568 // 44569 // OutputConfig is a required field 44570 OutputConfig *FlowDefinitionOutputConfig `type:"structure" required:"true"` 44571 44572 // The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access 44573 // Management (IAM) execution role for the flow definition. 44574 // 44575 // RoleArn is a required field 44576 RoleArn *string `min:"20" type:"string" required:"true"` 44577 } 44578 44579 // String returns the string representation. 44580 // 44581 // API parameter values that are decorated as "sensitive" in the API will not 44582 // be included in the string output. The member name will be present, but the 44583 // value will be replaced with "sensitive". 44584 func (s DescribeFlowDefinitionOutput) String() string { 44585 return awsutil.Prettify(s) 44586 } 44587 44588 // GoString returns the string representation. 44589 // 44590 // API parameter values that are decorated as "sensitive" in the API will not 44591 // be included in the string output. The member name will be present, but the 44592 // value will be replaced with "sensitive". 44593 func (s DescribeFlowDefinitionOutput) GoString() string { 44594 return s.String() 44595 } 44596 44597 // SetCreationTime sets the CreationTime field's value. 44598 func (s *DescribeFlowDefinitionOutput) SetCreationTime(v time.Time) *DescribeFlowDefinitionOutput { 44599 s.CreationTime = &v 44600 return s 44601 } 44602 44603 // SetFailureReason sets the FailureReason field's value. 44604 func (s *DescribeFlowDefinitionOutput) SetFailureReason(v string) *DescribeFlowDefinitionOutput { 44605 s.FailureReason = &v 44606 return s 44607 } 44608 44609 // SetFlowDefinitionArn sets the FlowDefinitionArn field's value. 44610 func (s *DescribeFlowDefinitionOutput) SetFlowDefinitionArn(v string) *DescribeFlowDefinitionOutput { 44611 s.FlowDefinitionArn = &v 44612 return s 44613 } 44614 44615 // SetFlowDefinitionName sets the FlowDefinitionName field's value. 44616 func (s *DescribeFlowDefinitionOutput) SetFlowDefinitionName(v string) *DescribeFlowDefinitionOutput { 44617 s.FlowDefinitionName = &v 44618 return s 44619 } 44620 44621 // SetFlowDefinitionStatus sets the FlowDefinitionStatus field's value. 44622 func (s *DescribeFlowDefinitionOutput) SetFlowDefinitionStatus(v string) *DescribeFlowDefinitionOutput { 44623 s.FlowDefinitionStatus = &v 44624 return s 44625 } 44626 44627 // SetHumanLoopActivationConfig sets the HumanLoopActivationConfig field's value. 44628 func (s *DescribeFlowDefinitionOutput) SetHumanLoopActivationConfig(v *HumanLoopActivationConfig) *DescribeFlowDefinitionOutput { 44629 s.HumanLoopActivationConfig = v 44630 return s 44631 } 44632 44633 // SetHumanLoopConfig sets the HumanLoopConfig field's value. 44634 func (s *DescribeFlowDefinitionOutput) SetHumanLoopConfig(v *HumanLoopConfig) *DescribeFlowDefinitionOutput { 44635 s.HumanLoopConfig = v 44636 return s 44637 } 44638 44639 // SetHumanLoopRequestSource sets the HumanLoopRequestSource field's value. 44640 func (s *DescribeFlowDefinitionOutput) SetHumanLoopRequestSource(v *HumanLoopRequestSource) *DescribeFlowDefinitionOutput { 44641 s.HumanLoopRequestSource = v 44642 return s 44643 } 44644 44645 // SetOutputConfig sets the OutputConfig field's value. 44646 func (s *DescribeFlowDefinitionOutput) SetOutputConfig(v *FlowDefinitionOutputConfig) *DescribeFlowDefinitionOutput { 44647 s.OutputConfig = v 44648 return s 44649 } 44650 44651 // SetRoleArn sets the RoleArn field's value. 44652 func (s *DescribeFlowDefinitionOutput) SetRoleArn(v string) *DescribeFlowDefinitionOutput { 44653 s.RoleArn = &v 44654 return s 44655 } 44656 44657 type DescribeHumanTaskUiInput struct { 44658 _ struct{} `type:"structure"` 44659 44660 // The name of the human task user interface (worker task template) you want 44661 // information about. 44662 // 44663 // HumanTaskUiName is a required field 44664 HumanTaskUiName *string `min:"1" type:"string" required:"true"` 44665 } 44666 44667 // String returns the string representation. 44668 // 44669 // API parameter values that are decorated as "sensitive" in the API will not 44670 // be included in the string output. The member name will be present, but the 44671 // value will be replaced with "sensitive". 44672 func (s DescribeHumanTaskUiInput) String() string { 44673 return awsutil.Prettify(s) 44674 } 44675 44676 // GoString returns the string representation. 44677 // 44678 // API parameter values that are decorated as "sensitive" in the API will not 44679 // be included in the string output. The member name will be present, but the 44680 // value will be replaced with "sensitive". 44681 func (s DescribeHumanTaskUiInput) GoString() string { 44682 return s.String() 44683 } 44684 44685 // Validate inspects the fields of the type to determine if they are valid. 44686 func (s *DescribeHumanTaskUiInput) Validate() error { 44687 invalidParams := request.ErrInvalidParams{Context: "DescribeHumanTaskUiInput"} 44688 if s.HumanTaskUiName == nil { 44689 invalidParams.Add(request.NewErrParamRequired("HumanTaskUiName")) 44690 } 44691 if s.HumanTaskUiName != nil && len(*s.HumanTaskUiName) < 1 { 44692 invalidParams.Add(request.NewErrParamMinLen("HumanTaskUiName", 1)) 44693 } 44694 44695 if invalidParams.Len() > 0 { 44696 return invalidParams 44697 } 44698 return nil 44699 } 44700 44701 // SetHumanTaskUiName sets the HumanTaskUiName field's value. 44702 func (s *DescribeHumanTaskUiInput) SetHumanTaskUiName(v string) *DescribeHumanTaskUiInput { 44703 s.HumanTaskUiName = &v 44704 return s 44705 } 44706 44707 type DescribeHumanTaskUiOutput struct { 44708 _ struct{} `type:"structure"` 44709 44710 // The timestamp when the human task user interface was created. 44711 // 44712 // CreationTime is a required field 44713 CreationTime *time.Time `type:"timestamp" required:"true"` 44714 44715 // The Amazon Resource Name (ARN) of the human task user interface (worker task 44716 // template). 44717 // 44718 // HumanTaskUiArn is a required field 44719 HumanTaskUiArn *string `type:"string" required:"true"` 44720 44721 // The name of the human task user interface (worker task template). 44722 // 44723 // HumanTaskUiName is a required field 44724 HumanTaskUiName *string `min:"1" type:"string" required:"true"` 44725 44726 // The status of the human task user interface (worker task template). Valid 44727 // values are listed below. 44728 HumanTaskUiStatus *string `type:"string" enum:"HumanTaskUiStatus"` 44729 44730 // Container for user interface template information. 44731 // 44732 // UiTemplate is a required field 44733 UiTemplate *UiTemplateInfo `type:"structure" required:"true"` 44734 } 44735 44736 // String returns the string representation. 44737 // 44738 // API parameter values that are decorated as "sensitive" in the API will not 44739 // be included in the string output. The member name will be present, but the 44740 // value will be replaced with "sensitive". 44741 func (s DescribeHumanTaskUiOutput) String() string { 44742 return awsutil.Prettify(s) 44743 } 44744 44745 // GoString returns the string representation. 44746 // 44747 // API parameter values that are decorated as "sensitive" in the API will not 44748 // be included in the string output. The member name will be present, but the 44749 // value will be replaced with "sensitive". 44750 func (s DescribeHumanTaskUiOutput) GoString() string { 44751 return s.String() 44752 } 44753 44754 // SetCreationTime sets the CreationTime field's value. 44755 func (s *DescribeHumanTaskUiOutput) SetCreationTime(v time.Time) *DescribeHumanTaskUiOutput { 44756 s.CreationTime = &v 44757 return s 44758 } 44759 44760 // SetHumanTaskUiArn sets the HumanTaskUiArn field's value. 44761 func (s *DescribeHumanTaskUiOutput) SetHumanTaskUiArn(v string) *DescribeHumanTaskUiOutput { 44762 s.HumanTaskUiArn = &v 44763 return s 44764 } 44765 44766 // SetHumanTaskUiName sets the HumanTaskUiName field's value. 44767 func (s *DescribeHumanTaskUiOutput) SetHumanTaskUiName(v string) *DescribeHumanTaskUiOutput { 44768 s.HumanTaskUiName = &v 44769 return s 44770 } 44771 44772 // SetHumanTaskUiStatus sets the HumanTaskUiStatus field's value. 44773 func (s *DescribeHumanTaskUiOutput) SetHumanTaskUiStatus(v string) *DescribeHumanTaskUiOutput { 44774 s.HumanTaskUiStatus = &v 44775 return s 44776 } 44777 44778 // SetUiTemplate sets the UiTemplate field's value. 44779 func (s *DescribeHumanTaskUiOutput) SetUiTemplate(v *UiTemplateInfo) *DescribeHumanTaskUiOutput { 44780 s.UiTemplate = v 44781 return s 44782 } 44783 44784 type DescribeHyperParameterTuningJobInput struct { 44785 _ struct{} `type:"structure"` 44786 44787 // The name of the tuning job. 44788 // 44789 // HyperParameterTuningJobName is a required field 44790 HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"` 44791 } 44792 44793 // String returns the string representation. 44794 // 44795 // API parameter values that are decorated as "sensitive" in the API will not 44796 // be included in the string output. The member name will be present, but the 44797 // value will be replaced with "sensitive". 44798 func (s DescribeHyperParameterTuningJobInput) String() string { 44799 return awsutil.Prettify(s) 44800 } 44801 44802 // GoString returns the string representation. 44803 // 44804 // API parameter values that are decorated as "sensitive" in the API will not 44805 // be included in the string output. The member name will be present, but the 44806 // value will be replaced with "sensitive". 44807 func (s DescribeHyperParameterTuningJobInput) GoString() string { 44808 return s.String() 44809 } 44810 44811 // Validate inspects the fields of the type to determine if they are valid. 44812 func (s *DescribeHyperParameterTuningJobInput) Validate() error { 44813 invalidParams := request.ErrInvalidParams{Context: "DescribeHyperParameterTuningJobInput"} 44814 if s.HyperParameterTuningJobName == nil { 44815 invalidParams.Add(request.NewErrParamRequired("HyperParameterTuningJobName")) 44816 } 44817 if s.HyperParameterTuningJobName != nil && len(*s.HyperParameterTuningJobName) < 1 { 44818 invalidParams.Add(request.NewErrParamMinLen("HyperParameterTuningJobName", 1)) 44819 } 44820 44821 if invalidParams.Len() > 0 { 44822 return invalidParams 44823 } 44824 return nil 44825 } 44826 44827 // SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value. 44828 func (s *DescribeHyperParameterTuningJobInput) SetHyperParameterTuningJobName(v string) *DescribeHyperParameterTuningJobInput { 44829 s.HyperParameterTuningJobName = &v 44830 return s 44831 } 44832 44833 type DescribeHyperParameterTuningJobOutput struct { 44834 _ struct{} `type:"structure"` 44835 44836 // A TrainingJobSummary object that describes the training job that completed 44837 // with the best current HyperParameterTuningJobObjective. 44838 BestTrainingJob *HyperParameterTrainingJobSummary `type:"structure"` 44839 44840 // The date and time that the tuning job started. 44841 // 44842 // CreationTime is a required field 44843 CreationTime *time.Time `type:"timestamp" required:"true"` 44844 44845 // If the tuning job failed, the reason it failed. 44846 FailureReason *string `type:"string"` 44847 44848 // The date and time that the tuning job ended. 44849 HyperParameterTuningEndTime *time.Time `type:"timestamp"` 44850 44851 // The Amazon Resource Name (ARN) of the tuning job. 44852 // 44853 // HyperParameterTuningJobArn is a required field 44854 HyperParameterTuningJobArn *string `type:"string" required:"true"` 44855 44856 // The HyperParameterTuningJobConfig object that specifies the configuration 44857 // of the tuning job. 44858 // 44859 // HyperParameterTuningJobConfig is a required field 44860 HyperParameterTuningJobConfig *HyperParameterTuningJobConfig `type:"structure" required:"true"` 44861 44862 // The name of the tuning job. 44863 // 44864 // HyperParameterTuningJobName is a required field 44865 HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"` 44866 44867 // The status of the tuning job: InProgress, Completed, Failed, Stopping, or 44868 // Stopped. 44869 // 44870 // HyperParameterTuningJobStatus is a required field 44871 HyperParameterTuningJobStatus *string `type:"string" required:"true" enum:"HyperParameterTuningJobStatus"` 44872 44873 // The date and time that the status of the tuning job was modified. 44874 LastModifiedTime *time.Time `type:"timestamp"` 44875 44876 // The ObjectiveStatusCounters object that specifies the number of training 44877 // jobs, categorized by the status of their final objective metric, that this 44878 // tuning job launched. 44879 // 44880 // ObjectiveStatusCounters is a required field 44881 ObjectiveStatusCounters *ObjectiveStatusCounters `type:"structure" required:"true"` 44882 44883 // If the hyperparameter tuning job is an warm start tuning job with a WarmStartType 44884 // of IDENTICAL_DATA_AND_ALGORITHM, this is the TrainingJobSummary for the training 44885 // job with the best objective metric value of all training jobs launched by 44886 // this tuning job and all parent jobs specified for the warm start tuning job. 44887 OverallBestTrainingJob *HyperParameterTrainingJobSummary `type:"structure"` 44888 44889 // The HyperParameterTrainingJobDefinition object that specifies the definition 44890 // of the training jobs that this tuning job launches. 44891 TrainingJobDefinition *HyperParameterTrainingJobDefinition `type:"structure"` 44892 44893 // A list of the HyperParameterTrainingJobDefinition objects launched for this 44894 // tuning job. 44895 TrainingJobDefinitions []*HyperParameterTrainingJobDefinition `min:"1" type:"list"` 44896 44897 // The TrainingJobStatusCounters object that specifies the number of training 44898 // jobs, categorized by status, that this tuning job launched. 44899 // 44900 // TrainingJobStatusCounters is a required field 44901 TrainingJobStatusCounters *TrainingJobStatusCounters `type:"structure" required:"true"` 44902 44903 // The configuration for starting the hyperparameter parameter tuning job using 44904 // one or more previous tuning jobs as a starting point. The results of previous 44905 // tuning jobs are used to inform which combinations of hyperparameters to search 44906 // over in the new tuning job. 44907 WarmStartConfig *HyperParameterTuningJobWarmStartConfig `type:"structure"` 44908 } 44909 44910 // String returns the string representation. 44911 // 44912 // API parameter values that are decorated as "sensitive" in the API will not 44913 // be included in the string output. The member name will be present, but the 44914 // value will be replaced with "sensitive". 44915 func (s DescribeHyperParameterTuningJobOutput) String() string { 44916 return awsutil.Prettify(s) 44917 } 44918 44919 // GoString returns the string representation. 44920 // 44921 // API parameter values that are decorated as "sensitive" in the API will not 44922 // be included in the string output. The member name will be present, but the 44923 // value will be replaced with "sensitive". 44924 func (s DescribeHyperParameterTuningJobOutput) GoString() string { 44925 return s.String() 44926 } 44927 44928 // SetBestTrainingJob sets the BestTrainingJob field's value. 44929 func (s *DescribeHyperParameterTuningJobOutput) SetBestTrainingJob(v *HyperParameterTrainingJobSummary) *DescribeHyperParameterTuningJobOutput { 44930 s.BestTrainingJob = v 44931 return s 44932 } 44933 44934 // SetCreationTime sets the CreationTime field's value. 44935 func (s *DescribeHyperParameterTuningJobOutput) SetCreationTime(v time.Time) *DescribeHyperParameterTuningJobOutput { 44936 s.CreationTime = &v 44937 return s 44938 } 44939 44940 // SetFailureReason sets the FailureReason field's value. 44941 func (s *DescribeHyperParameterTuningJobOutput) SetFailureReason(v string) *DescribeHyperParameterTuningJobOutput { 44942 s.FailureReason = &v 44943 return s 44944 } 44945 44946 // SetHyperParameterTuningEndTime sets the HyperParameterTuningEndTime field's value. 44947 func (s *DescribeHyperParameterTuningJobOutput) SetHyperParameterTuningEndTime(v time.Time) *DescribeHyperParameterTuningJobOutput { 44948 s.HyperParameterTuningEndTime = &v 44949 return s 44950 } 44951 44952 // SetHyperParameterTuningJobArn sets the HyperParameterTuningJobArn field's value. 44953 func (s *DescribeHyperParameterTuningJobOutput) SetHyperParameterTuningJobArn(v string) *DescribeHyperParameterTuningJobOutput { 44954 s.HyperParameterTuningJobArn = &v 44955 return s 44956 } 44957 44958 // SetHyperParameterTuningJobConfig sets the HyperParameterTuningJobConfig field's value. 44959 func (s *DescribeHyperParameterTuningJobOutput) SetHyperParameterTuningJobConfig(v *HyperParameterTuningJobConfig) *DescribeHyperParameterTuningJobOutput { 44960 s.HyperParameterTuningJobConfig = v 44961 return s 44962 } 44963 44964 // SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value. 44965 func (s *DescribeHyperParameterTuningJobOutput) SetHyperParameterTuningJobName(v string) *DescribeHyperParameterTuningJobOutput { 44966 s.HyperParameterTuningJobName = &v 44967 return s 44968 } 44969 44970 // SetHyperParameterTuningJobStatus sets the HyperParameterTuningJobStatus field's value. 44971 func (s *DescribeHyperParameterTuningJobOutput) SetHyperParameterTuningJobStatus(v string) *DescribeHyperParameterTuningJobOutput { 44972 s.HyperParameterTuningJobStatus = &v 44973 return s 44974 } 44975 44976 // SetLastModifiedTime sets the LastModifiedTime field's value. 44977 func (s *DescribeHyperParameterTuningJobOutput) SetLastModifiedTime(v time.Time) *DescribeHyperParameterTuningJobOutput { 44978 s.LastModifiedTime = &v 44979 return s 44980 } 44981 44982 // SetObjectiveStatusCounters sets the ObjectiveStatusCounters field's value. 44983 func (s *DescribeHyperParameterTuningJobOutput) SetObjectiveStatusCounters(v *ObjectiveStatusCounters) *DescribeHyperParameterTuningJobOutput { 44984 s.ObjectiveStatusCounters = v 44985 return s 44986 } 44987 44988 // SetOverallBestTrainingJob sets the OverallBestTrainingJob field's value. 44989 func (s *DescribeHyperParameterTuningJobOutput) SetOverallBestTrainingJob(v *HyperParameterTrainingJobSummary) *DescribeHyperParameterTuningJobOutput { 44990 s.OverallBestTrainingJob = v 44991 return s 44992 } 44993 44994 // SetTrainingJobDefinition sets the TrainingJobDefinition field's value. 44995 func (s *DescribeHyperParameterTuningJobOutput) SetTrainingJobDefinition(v *HyperParameterTrainingJobDefinition) *DescribeHyperParameterTuningJobOutput { 44996 s.TrainingJobDefinition = v 44997 return s 44998 } 44999 45000 // SetTrainingJobDefinitions sets the TrainingJobDefinitions field's value. 45001 func (s *DescribeHyperParameterTuningJobOutput) SetTrainingJobDefinitions(v []*HyperParameterTrainingJobDefinition) *DescribeHyperParameterTuningJobOutput { 45002 s.TrainingJobDefinitions = v 45003 return s 45004 } 45005 45006 // SetTrainingJobStatusCounters sets the TrainingJobStatusCounters field's value. 45007 func (s *DescribeHyperParameterTuningJobOutput) SetTrainingJobStatusCounters(v *TrainingJobStatusCounters) *DescribeHyperParameterTuningJobOutput { 45008 s.TrainingJobStatusCounters = v 45009 return s 45010 } 45011 45012 // SetWarmStartConfig sets the WarmStartConfig field's value. 45013 func (s *DescribeHyperParameterTuningJobOutput) SetWarmStartConfig(v *HyperParameterTuningJobWarmStartConfig) *DescribeHyperParameterTuningJobOutput { 45014 s.WarmStartConfig = v 45015 return s 45016 } 45017 45018 type DescribeImageInput struct { 45019 _ struct{} `type:"structure"` 45020 45021 // The name of the image to describe. 45022 // 45023 // ImageName is a required field 45024 ImageName *string `min:"1" type:"string" required:"true"` 45025 } 45026 45027 // String returns the string representation. 45028 // 45029 // API parameter values that are decorated as "sensitive" in the API will not 45030 // be included in the string output. The member name will be present, but the 45031 // value will be replaced with "sensitive". 45032 func (s DescribeImageInput) String() string { 45033 return awsutil.Prettify(s) 45034 } 45035 45036 // GoString returns the string representation. 45037 // 45038 // API parameter values that are decorated as "sensitive" in the API will not 45039 // be included in the string output. The member name will be present, but the 45040 // value will be replaced with "sensitive". 45041 func (s DescribeImageInput) GoString() string { 45042 return s.String() 45043 } 45044 45045 // Validate inspects the fields of the type to determine if they are valid. 45046 func (s *DescribeImageInput) Validate() error { 45047 invalidParams := request.ErrInvalidParams{Context: "DescribeImageInput"} 45048 if s.ImageName == nil { 45049 invalidParams.Add(request.NewErrParamRequired("ImageName")) 45050 } 45051 if s.ImageName != nil && len(*s.ImageName) < 1 { 45052 invalidParams.Add(request.NewErrParamMinLen("ImageName", 1)) 45053 } 45054 45055 if invalidParams.Len() > 0 { 45056 return invalidParams 45057 } 45058 return nil 45059 } 45060 45061 // SetImageName sets the ImageName field's value. 45062 func (s *DescribeImageInput) SetImageName(v string) *DescribeImageInput { 45063 s.ImageName = &v 45064 return s 45065 } 45066 45067 type DescribeImageOutput struct { 45068 _ struct{} `type:"structure"` 45069 45070 // When the image was created. 45071 CreationTime *time.Time `type:"timestamp"` 45072 45073 // The description of the image. 45074 Description *string `min:"1" type:"string"` 45075 45076 // The name of the image as displayed. 45077 DisplayName *string `min:"1" type:"string"` 45078 45079 // When a create, update, or delete operation fails, the reason for the failure. 45080 FailureReason *string `type:"string"` 45081 45082 // The Amazon Resource Name (ARN) of the image. 45083 ImageArn *string `type:"string"` 45084 45085 // The name of the image. 45086 ImageName *string `min:"1" type:"string"` 45087 45088 // The status of the image. 45089 ImageStatus *string `type:"string" enum:"ImageStatus"` 45090 45091 // When the image was last modified. 45092 LastModifiedTime *time.Time `type:"timestamp"` 45093 45094 // The Amazon Resource Name (ARN) of the IAM role that enables Amazon SageMaker 45095 // to perform tasks on your behalf. 45096 RoleArn *string `min:"20" type:"string"` 45097 } 45098 45099 // String returns the string representation. 45100 // 45101 // API parameter values that are decorated as "sensitive" in the API will not 45102 // be included in the string output. The member name will be present, but the 45103 // value will be replaced with "sensitive". 45104 func (s DescribeImageOutput) String() string { 45105 return awsutil.Prettify(s) 45106 } 45107 45108 // GoString returns the string representation. 45109 // 45110 // API parameter values that are decorated as "sensitive" in the API will not 45111 // be included in the string output. The member name will be present, but the 45112 // value will be replaced with "sensitive". 45113 func (s DescribeImageOutput) GoString() string { 45114 return s.String() 45115 } 45116 45117 // SetCreationTime sets the CreationTime field's value. 45118 func (s *DescribeImageOutput) SetCreationTime(v time.Time) *DescribeImageOutput { 45119 s.CreationTime = &v 45120 return s 45121 } 45122 45123 // SetDescription sets the Description field's value. 45124 func (s *DescribeImageOutput) SetDescription(v string) *DescribeImageOutput { 45125 s.Description = &v 45126 return s 45127 } 45128 45129 // SetDisplayName sets the DisplayName field's value. 45130 func (s *DescribeImageOutput) SetDisplayName(v string) *DescribeImageOutput { 45131 s.DisplayName = &v 45132 return s 45133 } 45134 45135 // SetFailureReason sets the FailureReason field's value. 45136 func (s *DescribeImageOutput) SetFailureReason(v string) *DescribeImageOutput { 45137 s.FailureReason = &v 45138 return s 45139 } 45140 45141 // SetImageArn sets the ImageArn field's value. 45142 func (s *DescribeImageOutput) SetImageArn(v string) *DescribeImageOutput { 45143 s.ImageArn = &v 45144 return s 45145 } 45146 45147 // SetImageName sets the ImageName field's value. 45148 func (s *DescribeImageOutput) SetImageName(v string) *DescribeImageOutput { 45149 s.ImageName = &v 45150 return s 45151 } 45152 45153 // SetImageStatus sets the ImageStatus field's value. 45154 func (s *DescribeImageOutput) SetImageStatus(v string) *DescribeImageOutput { 45155 s.ImageStatus = &v 45156 return s 45157 } 45158 45159 // SetLastModifiedTime sets the LastModifiedTime field's value. 45160 func (s *DescribeImageOutput) SetLastModifiedTime(v time.Time) *DescribeImageOutput { 45161 s.LastModifiedTime = &v 45162 return s 45163 } 45164 45165 // SetRoleArn sets the RoleArn field's value. 45166 func (s *DescribeImageOutput) SetRoleArn(v string) *DescribeImageOutput { 45167 s.RoleArn = &v 45168 return s 45169 } 45170 45171 type DescribeImageVersionInput struct { 45172 _ struct{} `type:"structure"` 45173 45174 // The name of the image. 45175 // 45176 // ImageName is a required field 45177 ImageName *string `min:"1" type:"string" required:"true"` 45178 45179 // The version of the image. If not specified, the latest version is described. 45180 Version *int64 `type:"integer"` 45181 } 45182 45183 // String returns the string representation. 45184 // 45185 // API parameter values that are decorated as "sensitive" in the API will not 45186 // be included in the string output. The member name will be present, but the 45187 // value will be replaced with "sensitive". 45188 func (s DescribeImageVersionInput) String() string { 45189 return awsutil.Prettify(s) 45190 } 45191 45192 // GoString returns the string representation. 45193 // 45194 // API parameter values that are decorated as "sensitive" in the API will not 45195 // be included in the string output. The member name will be present, but the 45196 // value will be replaced with "sensitive". 45197 func (s DescribeImageVersionInput) GoString() string { 45198 return s.String() 45199 } 45200 45201 // Validate inspects the fields of the type to determine if they are valid. 45202 func (s *DescribeImageVersionInput) Validate() error { 45203 invalidParams := request.ErrInvalidParams{Context: "DescribeImageVersionInput"} 45204 if s.ImageName == nil { 45205 invalidParams.Add(request.NewErrParamRequired("ImageName")) 45206 } 45207 if s.ImageName != nil && len(*s.ImageName) < 1 { 45208 invalidParams.Add(request.NewErrParamMinLen("ImageName", 1)) 45209 } 45210 45211 if invalidParams.Len() > 0 { 45212 return invalidParams 45213 } 45214 return nil 45215 } 45216 45217 // SetImageName sets the ImageName field's value. 45218 func (s *DescribeImageVersionInput) SetImageName(v string) *DescribeImageVersionInput { 45219 s.ImageName = &v 45220 return s 45221 } 45222 45223 // SetVersion sets the Version field's value. 45224 func (s *DescribeImageVersionInput) SetVersion(v int64) *DescribeImageVersionInput { 45225 s.Version = &v 45226 return s 45227 } 45228 45229 type DescribeImageVersionOutput struct { 45230 _ struct{} `type:"structure"` 45231 45232 // The registry path of the container image on which this image version is based. 45233 BaseImage *string `min:"1" type:"string"` 45234 45235 // The registry path of the container image that contains this image version. 45236 ContainerImage *string `min:"1" type:"string"` 45237 45238 // When the version was created. 45239 CreationTime *time.Time `type:"timestamp"` 45240 45241 // When a create or delete operation fails, the reason for the failure. 45242 FailureReason *string `type:"string"` 45243 45244 // The Amazon Resource Name (ARN) of the image the version is based on. 45245 ImageArn *string `type:"string"` 45246 45247 // The ARN of the version. 45248 ImageVersionArn *string `type:"string"` 45249 45250 // The status of the version. 45251 ImageVersionStatus *string `type:"string" enum:"ImageVersionStatus"` 45252 45253 // When the version was last modified. 45254 LastModifiedTime *time.Time `type:"timestamp"` 45255 45256 // The version number. 45257 Version *int64 `type:"integer"` 45258 } 45259 45260 // String returns the string representation. 45261 // 45262 // API parameter values that are decorated as "sensitive" in the API will not 45263 // be included in the string output. The member name will be present, but the 45264 // value will be replaced with "sensitive". 45265 func (s DescribeImageVersionOutput) String() string { 45266 return awsutil.Prettify(s) 45267 } 45268 45269 // GoString returns the string representation. 45270 // 45271 // API parameter values that are decorated as "sensitive" in the API will not 45272 // be included in the string output. The member name will be present, but the 45273 // value will be replaced with "sensitive". 45274 func (s DescribeImageVersionOutput) GoString() string { 45275 return s.String() 45276 } 45277 45278 // SetBaseImage sets the BaseImage field's value. 45279 func (s *DescribeImageVersionOutput) SetBaseImage(v string) *DescribeImageVersionOutput { 45280 s.BaseImage = &v 45281 return s 45282 } 45283 45284 // SetContainerImage sets the ContainerImage field's value. 45285 func (s *DescribeImageVersionOutput) SetContainerImage(v string) *DescribeImageVersionOutput { 45286 s.ContainerImage = &v 45287 return s 45288 } 45289 45290 // SetCreationTime sets the CreationTime field's value. 45291 func (s *DescribeImageVersionOutput) SetCreationTime(v time.Time) *DescribeImageVersionOutput { 45292 s.CreationTime = &v 45293 return s 45294 } 45295 45296 // SetFailureReason sets the FailureReason field's value. 45297 func (s *DescribeImageVersionOutput) SetFailureReason(v string) *DescribeImageVersionOutput { 45298 s.FailureReason = &v 45299 return s 45300 } 45301 45302 // SetImageArn sets the ImageArn field's value. 45303 func (s *DescribeImageVersionOutput) SetImageArn(v string) *DescribeImageVersionOutput { 45304 s.ImageArn = &v 45305 return s 45306 } 45307 45308 // SetImageVersionArn sets the ImageVersionArn field's value. 45309 func (s *DescribeImageVersionOutput) SetImageVersionArn(v string) *DescribeImageVersionOutput { 45310 s.ImageVersionArn = &v 45311 return s 45312 } 45313 45314 // SetImageVersionStatus sets the ImageVersionStatus field's value. 45315 func (s *DescribeImageVersionOutput) SetImageVersionStatus(v string) *DescribeImageVersionOutput { 45316 s.ImageVersionStatus = &v 45317 return s 45318 } 45319 45320 // SetLastModifiedTime sets the LastModifiedTime field's value. 45321 func (s *DescribeImageVersionOutput) SetLastModifiedTime(v time.Time) *DescribeImageVersionOutput { 45322 s.LastModifiedTime = &v 45323 return s 45324 } 45325 45326 // SetVersion sets the Version field's value. 45327 func (s *DescribeImageVersionOutput) SetVersion(v int64) *DescribeImageVersionOutput { 45328 s.Version = &v 45329 return s 45330 } 45331 45332 type DescribeLabelingJobInput struct { 45333 _ struct{} `type:"structure"` 45334 45335 // The name of the labeling job to return information for. 45336 // 45337 // LabelingJobName is a required field 45338 LabelingJobName *string `min:"1" type:"string" required:"true"` 45339 } 45340 45341 // String returns the string representation. 45342 // 45343 // API parameter values that are decorated as "sensitive" in the API will not 45344 // be included in the string output. The member name will be present, but the 45345 // value will be replaced with "sensitive". 45346 func (s DescribeLabelingJobInput) String() string { 45347 return awsutil.Prettify(s) 45348 } 45349 45350 // GoString returns the string representation. 45351 // 45352 // API parameter values that are decorated as "sensitive" in the API will not 45353 // be included in the string output. The member name will be present, but the 45354 // value will be replaced with "sensitive". 45355 func (s DescribeLabelingJobInput) GoString() string { 45356 return s.String() 45357 } 45358 45359 // Validate inspects the fields of the type to determine if they are valid. 45360 func (s *DescribeLabelingJobInput) Validate() error { 45361 invalidParams := request.ErrInvalidParams{Context: "DescribeLabelingJobInput"} 45362 if s.LabelingJobName == nil { 45363 invalidParams.Add(request.NewErrParamRequired("LabelingJobName")) 45364 } 45365 if s.LabelingJobName != nil && len(*s.LabelingJobName) < 1 { 45366 invalidParams.Add(request.NewErrParamMinLen("LabelingJobName", 1)) 45367 } 45368 45369 if invalidParams.Len() > 0 { 45370 return invalidParams 45371 } 45372 return nil 45373 } 45374 45375 // SetLabelingJobName sets the LabelingJobName field's value. 45376 func (s *DescribeLabelingJobInput) SetLabelingJobName(v string) *DescribeLabelingJobInput { 45377 s.LabelingJobName = &v 45378 return s 45379 } 45380 45381 type DescribeLabelingJobOutput struct { 45382 _ struct{} `type:"structure"` 45383 45384 // The date and time that the labeling job was created. 45385 // 45386 // CreationTime is a required field 45387 CreationTime *time.Time `type:"timestamp" required:"true"` 45388 45389 // If the job failed, the reason that it failed. 45390 FailureReason *string `type:"string"` 45391 45392 // Configuration information required for human workers to complete a labeling 45393 // task. 45394 // 45395 // HumanTaskConfig is a required field 45396 HumanTaskConfig *HumanTaskConfig `type:"structure" required:"true"` 45397 45398 // Input configuration information for the labeling job, such as the Amazon 45399 // S3 location of the data objects and the location of the manifest file that 45400 // describes the data objects. 45401 // 45402 // InputConfig is a required field 45403 InputConfig *LabelingJobInputConfig `type:"structure" required:"true"` 45404 45405 // A unique identifier for work done as part of a labeling job. 45406 // 45407 // JobReferenceCode is a required field 45408 JobReferenceCode *string `min:"1" type:"string" required:"true"` 45409 45410 // The attribute used as the label in the output manifest file. 45411 LabelAttributeName *string `min:"1" type:"string"` 45412 45413 // The S3 location of the JSON file that defines the categories used to label 45414 // data objects. Please note the following label-category limits: 45415 // 45416 // * Semantic segmentation labeling jobs using automated labeling: 20 labels 45417 // 45418 // * Box bounding labeling jobs (all): 10 labels 45419 // 45420 // The file is a JSON structure in the following format: 45421 // 45422 // { 45423 // 45424 // "document-version": "2018-11-28" 45425 // 45426 // "labels": [ 45427 // 45428 // { 45429 // 45430 // "label": "label 1" 45431 // 45432 // }, 45433 // 45434 // { 45435 // 45436 // "label": "label 2" 45437 // 45438 // }, 45439 // 45440 // ... 45441 // 45442 // { 45443 // 45444 // "label": "label n" 45445 // 45446 // } 45447 // 45448 // ] 45449 // 45450 // } 45451 LabelCategoryConfigS3Uri *string `type:"string"` 45452 45453 // Provides a breakdown of the number of data objects labeled by humans, the 45454 // number of objects labeled by machine, the number of objects than couldn't 45455 // be labeled, and the total number of objects labeled. 45456 // 45457 // LabelCounters is a required field 45458 LabelCounters *LabelCounters `type:"structure" required:"true"` 45459 45460 // Configuration information for automated data labeling. 45461 LabelingJobAlgorithmsConfig *LabelingJobAlgorithmsConfig `type:"structure"` 45462 45463 // The Amazon Resource Name (ARN) of the labeling job. 45464 // 45465 // LabelingJobArn is a required field 45466 LabelingJobArn *string `type:"string" required:"true"` 45467 45468 // The name assigned to the labeling job when it was created. 45469 // 45470 // LabelingJobName is a required field 45471 LabelingJobName *string `min:"1" type:"string" required:"true"` 45472 45473 // The location of the output produced by the labeling job. 45474 LabelingJobOutput *LabelingJobOutput `type:"structure"` 45475 45476 // The processing status of the labeling job. 45477 // 45478 // LabelingJobStatus is a required field 45479 LabelingJobStatus *string `type:"string" required:"true" enum:"LabelingJobStatus"` 45480 45481 // The date and time that the labeling job was last updated. 45482 // 45483 // LastModifiedTime is a required field 45484 LastModifiedTime *time.Time `type:"timestamp" required:"true"` 45485 45486 // The location of the job's output data and the Amazon Web Services Key Management 45487 // Service key ID for the key used to encrypt the output data, if any. 45488 // 45489 // OutputConfig is a required field 45490 OutputConfig *LabelingJobOutputConfig `type:"structure" required:"true"` 45491 45492 // The Amazon Resource Name (ARN) that Amazon SageMaker assumes to perform tasks 45493 // on your behalf during data labeling. 45494 // 45495 // RoleArn is a required field 45496 RoleArn *string `min:"20" type:"string" required:"true"` 45497 45498 // A set of conditions for stopping a labeling job. If any of the conditions 45499 // are met, the job is automatically stopped. 45500 StoppingConditions *LabelingJobStoppingConditions `type:"structure"` 45501 45502 // An array of key-value pairs. You can use tags to categorize your Amazon Web 45503 // Services resources in different ways, for example, by purpose, owner, or 45504 // environment. For more information, see Tagging Amazon Web Services Resources 45505 // (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html). 45506 Tags []*Tag `type:"list"` 45507 } 45508 45509 // String returns the string representation. 45510 // 45511 // API parameter values that are decorated as "sensitive" in the API will not 45512 // be included in the string output. The member name will be present, but the 45513 // value will be replaced with "sensitive". 45514 func (s DescribeLabelingJobOutput) String() string { 45515 return awsutil.Prettify(s) 45516 } 45517 45518 // GoString returns the string representation. 45519 // 45520 // API parameter values that are decorated as "sensitive" in the API will not 45521 // be included in the string output. The member name will be present, but the 45522 // value will be replaced with "sensitive". 45523 func (s DescribeLabelingJobOutput) GoString() string { 45524 return s.String() 45525 } 45526 45527 // SetCreationTime sets the CreationTime field's value. 45528 func (s *DescribeLabelingJobOutput) SetCreationTime(v time.Time) *DescribeLabelingJobOutput { 45529 s.CreationTime = &v 45530 return s 45531 } 45532 45533 // SetFailureReason sets the FailureReason field's value. 45534 func (s *DescribeLabelingJobOutput) SetFailureReason(v string) *DescribeLabelingJobOutput { 45535 s.FailureReason = &v 45536 return s 45537 } 45538 45539 // SetHumanTaskConfig sets the HumanTaskConfig field's value. 45540 func (s *DescribeLabelingJobOutput) SetHumanTaskConfig(v *HumanTaskConfig) *DescribeLabelingJobOutput { 45541 s.HumanTaskConfig = v 45542 return s 45543 } 45544 45545 // SetInputConfig sets the InputConfig field's value. 45546 func (s *DescribeLabelingJobOutput) SetInputConfig(v *LabelingJobInputConfig) *DescribeLabelingJobOutput { 45547 s.InputConfig = v 45548 return s 45549 } 45550 45551 // SetJobReferenceCode sets the JobReferenceCode field's value. 45552 func (s *DescribeLabelingJobOutput) SetJobReferenceCode(v string) *DescribeLabelingJobOutput { 45553 s.JobReferenceCode = &v 45554 return s 45555 } 45556 45557 // SetLabelAttributeName sets the LabelAttributeName field's value. 45558 func (s *DescribeLabelingJobOutput) SetLabelAttributeName(v string) *DescribeLabelingJobOutput { 45559 s.LabelAttributeName = &v 45560 return s 45561 } 45562 45563 // SetLabelCategoryConfigS3Uri sets the LabelCategoryConfigS3Uri field's value. 45564 func (s *DescribeLabelingJobOutput) SetLabelCategoryConfigS3Uri(v string) *DescribeLabelingJobOutput { 45565 s.LabelCategoryConfigS3Uri = &v 45566 return s 45567 } 45568 45569 // SetLabelCounters sets the LabelCounters field's value. 45570 func (s *DescribeLabelingJobOutput) SetLabelCounters(v *LabelCounters) *DescribeLabelingJobOutput { 45571 s.LabelCounters = v 45572 return s 45573 } 45574 45575 // SetLabelingJobAlgorithmsConfig sets the LabelingJobAlgorithmsConfig field's value. 45576 func (s *DescribeLabelingJobOutput) SetLabelingJobAlgorithmsConfig(v *LabelingJobAlgorithmsConfig) *DescribeLabelingJobOutput { 45577 s.LabelingJobAlgorithmsConfig = v 45578 return s 45579 } 45580 45581 // SetLabelingJobArn sets the LabelingJobArn field's value. 45582 func (s *DescribeLabelingJobOutput) SetLabelingJobArn(v string) *DescribeLabelingJobOutput { 45583 s.LabelingJobArn = &v 45584 return s 45585 } 45586 45587 // SetLabelingJobName sets the LabelingJobName field's value. 45588 func (s *DescribeLabelingJobOutput) SetLabelingJobName(v string) *DescribeLabelingJobOutput { 45589 s.LabelingJobName = &v 45590 return s 45591 } 45592 45593 // SetLabelingJobOutput sets the LabelingJobOutput field's value. 45594 func (s *DescribeLabelingJobOutput) SetLabelingJobOutput(v *LabelingJobOutput) *DescribeLabelingJobOutput { 45595 s.LabelingJobOutput = v 45596 return s 45597 } 45598 45599 // SetLabelingJobStatus sets the LabelingJobStatus field's value. 45600 func (s *DescribeLabelingJobOutput) SetLabelingJobStatus(v string) *DescribeLabelingJobOutput { 45601 s.LabelingJobStatus = &v 45602 return s 45603 } 45604 45605 // SetLastModifiedTime sets the LastModifiedTime field's value. 45606 func (s *DescribeLabelingJobOutput) SetLastModifiedTime(v time.Time) *DescribeLabelingJobOutput { 45607 s.LastModifiedTime = &v 45608 return s 45609 } 45610 45611 // SetOutputConfig sets the OutputConfig field's value. 45612 func (s *DescribeLabelingJobOutput) SetOutputConfig(v *LabelingJobOutputConfig) *DescribeLabelingJobOutput { 45613 s.OutputConfig = v 45614 return s 45615 } 45616 45617 // SetRoleArn sets the RoleArn field's value. 45618 func (s *DescribeLabelingJobOutput) SetRoleArn(v string) *DescribeLabelingJobOutput { 45619 s.RoleArn = &v 45620 return s 45621 } 45622 45623 // SetStoppingConditions sets the StoppingConditions field's value. 45624 func (s *DescribeLabelingJobOutput) SetStoppingConditions(v *LabelingJobStoppingConditions) *DescribeLabelingJobOutput { 45625 s.StoppingConditions = v 45626 return s 45627 } 45628 45629 // SetTags sets the Tags field's value. 45630 func (s *DescribeLabelingJobOutput) SetTags(v []*Tag) *DescribeLabelingJobOutput { 45631 s.Tags = v 45632 return s 45633 } 45634 45635 type DescribeModelBiasJobDefinitionInput struct { 45636 _ struct{} `type:"structure"` 45637 45638 // The name of the model bias job definition. The name must be unique within 45639 // an Amazon Web Services Region in the Amazon Web Services account. 45640 // 45641 // JobDefinitionName is a required field 45642 JobDefinitionName *string `min:"1" type:"string" required:"true"` 45643 } 45644 45645 // String returns the string representation. 45646 // 45647 // API parameter values that are decorated as "sensitive" in the API will not 45648 // be included in the string output. The member name will be present, but the 45649 // value will be replaced with "sensitive". 45650 func (s DescribeModelBiasJobDefinitionInput) String() string { 45651 return awsutil.Prettify(s) 45652 } 45653 45654 // GoString returns the string representation. 45655 // 45656 // API parameter values that are decorated as "sensitive" in the API will not 45657 // be included in the string output. The member name will be present, but the 45658 // value will be replaced with "sensitive". 45659 func (s DescribeModelBiasJobDefinitionInput) GoString() string { 45660 return s.String() 45661 } 45662 45663 // Validate inspects the fields of the type to determine if they are valid. 45664 func (s *DescribeModelBiasJobDefinitionInput) Validate() error { 45665 invalidParams := request.ErrInvalidParams{Context: "DescribeModelBiasJobDefinitionInput"} 45666 if s.JobDefinitionName == nil { 45667 invalidParams.Add(request.NewErrParamRequired("JobDefinitionName")) 45668 } 45669 if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 { 45670 invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1)) 45671 } 45672 45673 if invalidParams.Len() > 0 { 45674 return invalidParams 45675 } 45676 return nil 45677 } 45678 45679 // SetJobDefinitionName sets the JobDefinitionName field's value. 45680 func (s *DescribeModelBiasJobDefinitionInput) SetJobDefinitionName(v string) *DescribeModelBiasJobDefinitionInput { 45681 s.JobDefinitionName = &v 45682 return s 45683 } 45684 45685 type DescribeModelBiasJobDefinitionOutput struct { 45686 _ struct{} `type:"structure"` 45687 45688 // The time at which the model bias job was created. 45689 // 45690 // CreationTime is a required field 45691 CreationTime *time.Time `type:"timestamp" required:"true"` 45692 45693 // The Amazon Resource Name (ARN) of the model bias job. 45694 // 45695 // JobDefinitionArn is a required field 45696 JobDefinitionArn *string `type:"string" required:"true"` 45697 45698 // The name of the bias job definition. The name must be unique within an Amazon 45699 // Web Services Region in the Amazon Web Services account. 45700 // 45701 // JobDefinitionName is a required field 45702 JobDefinitionName *string `min:"1" type:"string" required:"true"` 45703 45704 // Identifies the resources to deploy for a monitoring job. 45705 // 45706 // JobResources is a required field 45707 JobResources *MonitoringResources `type:"structure" required:"true"` 45708 45709 // Configures the model bias job to run a specified Docker container image. 45710 // 45711 // ModelBiasAppSpecification is a required field 45712 ModelBiasAppSpecification *ModelBiasAppSpecification `type:"structure" required:"true"` 45713 45714 // The baseline configuration for a model bias job. 45715 ModelBiasBaselineConfig *ModelBiasBaselineConfig `type:"structure"` 45716 45717 // Inputs for the model bias job. 45718 // 45719 // ModelBiasJobInput is a required field 45720 ModelBiasJobInput *ModelBiasJobInput `type:"structure" required:"true"` 45721 45722 // The output configuration for monitoring jobs. 45723 // 45724 // ModelBiasJobOutputConfig is a required field 45725 ModelBiasJobOutputConfig *MonitoringOutputConfig `type:"structure" required:"true"` 45726 45727 // Networking options for a model bias job. 45728 NetworkConfig *MonitoringNetworkConfig `type:"structure"` 45729 45730 // The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access 45731 // Management (IAM) role that has read permission to the input data location 45732 // and write permission to the output data location in Amazon S3. 45733 // 45734 // RoleArn is a required field 45735 RoleArn *string `min:"20" type:"string" required:"true"` 45736 45737 // A time limit for how long the monitoring job is allowed to run before stopping. 45738 StoppingCondition *MonitoringStoppingCondition `type:"structure"` 45739 } 45740 45741 // String returns the string representation. 45742 // 45743 // API parameter values that are decorated as "sensitive" in the API will not 45744 // be included in the string output. The member name will be present, but the 45745 // value will be replaced with "sensitive". 45746 func (s DescribeModelBiasJobDefinitionOutput) String() string { 45747 return awsutil.Prettify(s) 45748 } 45749 45750 // GoString returns the string representation. 45751 // 45752 // API parameter values that are decorated as "sensitive" in the API will not 45753 // be included in the string output. The member name will be present, but the 45754 // value will be replaced with "sensitive". 45755 func (s DescribeModelBiasJobDefinitionOutput) GoString() string { 45756 return s.String() 45757 } 45758 45759 // SetCreationTime sets the CreationTime field's value. 45760 func (s *DescribeModelBiasJobDefinitionOutput) SetCreationTime(v time.Time) *DescribeModelBiasJobDefinitionOutput { 45761 s.CreationTime = &v 45762 return s 45763 } 45764 45765 // SetJobDefinitionArn sets the JobDefinitionArn field's value. 45766 func (s *DescribeModelBiasJobDefinitionOutput) SetJobDefinitionArn(v string) *DescribeModelBiasJobDefinitionOutput { 45767 s.JobDefinitionArn = &v 45768 return s 45769 } 45770 45771 // SetJobDefinitionName sets the JobDefinitionName field's value. 45772 func (s *DescribeModelBiasJobDefinitionOutput) SetJobDefinitionName(v string) *DescribeModelBiasJobDefinitionOutput { 45773 s.JobDefinitionName = &v 45774 return s 45775 } 45776 45777 // SetJobResources sets the JobResources field's value. 45778 func (s *DescribeModelBiasJobDefinitionOutput) SetJobResources(v *MonitoringResources) *DescribeModelBiasJobDefinitionOutput { 45779 s.JobResources = v 45780 return s 45781 } 45782 45783 // SetModelBiasAppSpecification sets the ModelBiasAppSpecification field's value. 45784 func (s *DescribeModelBiasJobDefinitionOutput) SetModelBiasAppSpecification(v *ModelBiasAppSpecification) *DescribeModelBiasJobDefinitionOutput { 45785 s.ModelBiasAppSpecification = v 45786 return s 45787 } 45788 45789 // SetModelBiasBaselineConfig sets the ModelBiasBaselineConfig field's value. 45790 func (s *DescribeModelBiasJobDefinitionOutput) SetModelBiasBaselineConfig(v *ModelBiasBaselineConfig) *DescribeModelBiasJobDefinitionOutput { 45791 s.ModelBiasBaselineConfig = v 45792 return s 45793 } 45794 45795 // SetModelBiasJobInput sets the ModelBiasJobInput field's value. 45796 func (s *DescribeModelBiasJobDefinitionOutput) SetModelBiasJobInput(v *ModelBiasJobInput) *DescribeModelBiasJobDefinitionOutput { 45797 s.ModelBiasJobInput = v 45798 return s 45799 } 45800 45801 // SetModelBiasJobOutputConfig sets the ModelBiasJobOutputConfig field's value. 45802 func (s *DescribeModelBiasJobDefinitionOutput) SetModelBiasJobOutputConfig(v *MonitoringOutputConfig) *DescribeModelBiasJobDefinitionOutput { 45803 s.ModelBiasJobOutputConfig = v 45804 return s 45805 } 45806 45807 // SetNetworkConfig sets the NetworkConfig field's value. 45808 func (s *DescribeModelBiasJobDefinitionOutput) SetNetworkConfig(v *MonitoringNetworkConfig) *DescribeModelBiasJobDefinitionOutput { 45809 s.NetworkConfig = v 45810 return s 45811 } 45812 45813 // SetRoleArn sets the RoleArn field's value. 45814 func (s *DescribeModelBiasJobDefinitionOutput) SetRoleArn(v string) *DescribeModelBiasJobDefinitionOutput { 45815 s.RoleArn = &v 45816 return s 45817 } 45818 45819 // SetStoppingCondition sets the StoppingCondition field's value. 45820 func (s *DescribeModelBiasJobDefinitionOutput) SetStoppingCondition(v *MonitoringStoppingCondition) *DescribeModelBiasJobDefinitionOutput { 45821 s.StoppingCondition = v 45822 return s 45823 } 45824 45825 type DescribeModelExplainabilityJobDefinitionInput struct { 45826 _ struct{} `type:"structure"` 45827 45828 // The name of the model explainability job definition. The name must be unique 45829 // within an Amazon Web Services Region in the Amazon Web Services account. 45830 // 45831 // JobDefinitionName is a required field 45832 JobDefinitionName *string `min:"1" type:"string" required:"true"` 45833 } 45834 45835 // String returns the string representation. 45836 // 45837 // API parameter values that are decorated as "sensitive" in the API will not 45838 // be included in the string output. The member name will be present, but the 45839 // value will be replaced with "sensitive". 45840 func (s DescribeModelExplainabilityJobDefinitionInput) String() string { 45841 return awsutil.Prettify(s) 45842 } 45843 45844 // GoString returns the string representation. 45845 // 45846 // API parameter values that are decorated as "sensitive" in the API will not 45847 // be included in the string output. The member name will be present, but the 45848 // value will be replaced with "sensitive". 45849 func (s DescribeModelExplainabilityJobDefinitionInput) GoString() string { 45850 return s.String() 45851 } 45852 45853 // Validate inspects the fields of the type to determine if they are valid. 45854 func (s *DescribeModelExplainabilityJobDefinitionInput) Validate() error { 45855 invalidParams := request.ErrInvalidParams{Context: "DescribeModelExplainabilityJobDefinitionInput"} 45856 if s.JobDefinitionName == nil { 45857 invalidParams.Add(request.NewErrParamRequired("JobDefinitionName")) 45858 } 45859 if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 { 45860 invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1)) 45861 } 45862 45863 if invalidParams.Len() > 0 { 45864 return invalidParams 45865 } 45866 return nil 45867 } 45868 45869 // SetJobDefinitionName sets the JobDefinitionName field's value. 45870 func (s *DescribeModelExplainabilityJobDefinitionInput) SetJobDefinitionName(v string) *DescribeModelExplainabilityJobDefinitionInput { 45871 s.JobDefinitionName = &v 45872 return s 45873 } 45874 45875 type DescribeModelExplainabilityJobDefinitionOutput struct { 45876 _ struct{} `type:"structure"` 45877 45878 // The time at which the model explainability job was created. 45879 // 45880 // CreationTime is a required field 45881 CreationTime *time.Time `type:"timestamp" required:"true"` 45882 45883 // The Amazon Resource Name (ARN) of the model explainability job. 45884 // 45885 // JobDefinitionArn is a required field 45886 JobDefinitionArn *string `type:"string" required:"true"` 45887 45888 // The name of the explainability job definition. The name must be unique within 45889 // an Amazon Web Services Region in the Amazon Web Services account. 45890 // 45891 // JobDefinitionName is a required field 45892 JobDefinitionName *string `min:"1" type:"string" required:"true"` 45893 45894 // Identifies the resources to deploy for a monitoring job. 45895 // 45896 // JobResources is a required field 45897 JobResources *MonitoringResources `type:"structure" required:"true"` 45898 45899 // Configures the model explainability job to run a specified Docker container 45900 // image. 45901 // 45902 // ModelExplainabilityAppSpecification is a required field 45903 ModelExplainabilityAppSpecification *ModelExplainabilityAppSpecification `type:"structure" required:"true"` 45904 45905 // The baseline configuration for a model explainability job. 45906 ModelExplainabilityBaselineConfig *ModelExplainabilityBaselineConfig `type:"structure"` 45907 45908 // Inputs for the model explainability job. 45909 // 45910 // ModelExplainabilityJobInput is a required field 45911 ModelExplainabilityJobInput *ModelExplainabilityJobInput `type:"structure" required:"true"` 45912 45913 // The output configuration for monitoring jobs. 45914 // 45915 // ModelExplainabilityJobOutputConfig is a required field 45916 ModelExplainabilityJobOutputConfig *MonitoringOutputConfig `type:"structure" required:"true"` 45917 45918 // Networking options for a model explainability job. 45919 NetworkConfig *MonitoringNetworkConfig `type:"structure"` 45920 45921 // The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access 45922 // Management (IAM) role that has read permission to the input data location 45923 // and write permission to the output data location in Amazon S3. 45924 // 45925 // RoleArn is a required field 45926 RoleArn *string `min:"20" type:"string" required:"true"` 45927 45928 // A time limit for how long the monitoring job is allowed to run before stopping. 45929 StoppingCondition *MonitoringStoppingCondition `type:"structure"` 45930 } 45931 45932 // String returns the string representation. 45933 // 45934 // API parameter values that are decorated as "sensitive" in the API will not 45935 // be included in the string output. The member name will be present, but the 45936 // value will be replaced with "sensitive". 45937 func (s DescribeModelExplainabilityJobDefinitionOutput) String() string { 45938 return awsutil.Prettify(s) 45939 } 45940 45941 // GoString returns the string representation. 45942 // 45943 // API parameter values that are decorated as "sensitive" in the API will not 45944 // be included in the string output. The member name will be present, but the 45945 // value will be replaced with "sensitive". 45946 func (s DescribeModelExplainabilityJobDefinitionOutput) GoString() string { 45947 return s.String() 45948 } 45949 45950 // SetCreationTime sets the CreationTime field's value. 45951 func (s *DescribeModelExplainabilityJobDefinitionOutput) SetCreationTime(v time.Time) *DescribeModelExplainabilityJobDefinitionOutput { 45952 s.CreationTime = &v 45953 return s 45954 } 45955 45956 // SetJobDefinitionArn sets the JobDefinitionArn field's value. 45957 func (s *DescribeModelExplainabilityJobDefinitionOutput) SetJobDefinitionArn(v string) *DescribeModelExplainabilityJobDefinitionOutput { 45958 s.JobDefinitionArn = &v 45959 return s 45960 } 45961 45962 // SetJobDefinitionName sets the JobDefinitionName field's value. 45963 func (s *DescribeModelExplainabilityJobDefinitionOutput) SetJobDefinitionName(v string) *DescribeModelExplainabilityJobDefinitionOutput { 45964 s.JobDefinitionName = &v 45965 return s 45966 } 45967 45968 // SetJobResources sets the JobResources field's value. 45969 func (s *DescribeModelExplainabilityJobDefinitionOutput) SetJobResources(v *MonitoringResources) *DescribeModelExplainabilityJobDefinitionOutput { 45970 s.JobResources = v 45971 return s 45972 } 45973 45974 // SetModelExplainabilityAppSpecification sets the ModelExplainabilityAppSpecification field's value. 45975 func (s *DescribeModelExplainabilityJobDefinitionOutput) SetModelExplainabilityAppSpecification(v *ModelExplainabilityAppSpecification) *DescribeModelExplainabilityJobDefinitionOutput { 45976 s.ModelExplainabilityAppSpecification = v 45977 return s 45978 } 45979 45980 // SetModelExplainabilityBaselineConfig sets the ModelExplainabilityBaselineConfig field's value. 45981 func (s *DescribeModelExplainabilityJobDefinitionOutput) SetModelExplainabilityBaselineConfig(v *ModelExplainabilityBaselineConfig) *DescribeModelExplainabilityJobDefinitionOutput { 45982 s.ModelExplainabilityBaselineConfig = v 45983 return s 45984 } 45985 45986 // SetModelExplainabilityJobInput sets the ModelExplainabilityJobInput field's value. 45987 func (s *DescribeModelExplainabilityJobDefinitionOutput) SetModelExplainabilityJobInput(v *ModelExplainabilityJobInput) *DescribeModelExplainabilityJobDefinitionOutput { 45988 s.ModelExplainabilityJobInput = v 45989 return s 45990 } 45991 45992 // SetModelExplainabilityJobOutputConfig sets the ModelExplainabilityJobOutputConfig field's value. 45993 func (s *DescribeModelExplainabilityJobDefinitionOutput) SetModelExplainabilityJobOutputConfig(v *MonitoringOutputConfig) *DescribeModelExplainabilityJobDefinitionOutput { 45994 s.ModelExplainabilityJobOutputConfig = v 45995 return s 45996 } 45997 45998 // SetNetworkConfig sets the NetworkConfig field's value. 45999 func (s *DescribeModelExplainabilityJobDefinitionOutput) SetNetworkConfig(v *MonitoringNetworkConfig) *DescribeModelExplainabilityJobDefinitionOutput { 46000 s.NetworkConfig = v 46001 return s 46002 } 46003 46004 // SetRoleArn sets the RoleArn field's value. 46005 func (s *DescribeModelExplainabilityJobDefinitionOutput) SetRoleArn(v string) *DescribeModelExplainabilityJobDefinitionOutput { 46006 s.RoleArn = &v 46007 return s 46008 } 46009 46010 // SetStoppingCondition sets the StoppingCondition field's value. 46011 func (s *DescribeModelExplainabilityJobDefinitionOutput) SetStoppingCondition(v *MonitoringStoppingCondition) *DescribeModelExplainabilityJobDefinitionOutput { 46012 s.StoppingCondition = v 46013 return s 46014 } 46015 46016 type DescribeModelInput struct { 46017 _ struct{} `type:"structure"` 46018 46019 // The name of the model. 46020 // 46021 // ModelName is a required field 46022 ModelName *string `type:"string" required:"true"` 46023 } 46024 46025 // String returns the string representation. 46026 // 46027 // API parameter values that are decorated as "sensitive" in the API will not 46028 // be included in the string output. The member name will be present, but the 46029 // value will be replaced with "sensitive". 46030 func (s DescribeModelInput) String() string { 46031 return awsutil.Prettify(s) 46032 } 46033 46034 // GoString returns the string representation. 46035 // 46036 // API parameter values that are decorated as "sensitive" in the API will not 46037 // be included in the string output. The member name will be present, but the 46038 // value will be replaced with "sensitive". 46039 func (s DescribeModelInput) GoString() string { 46040 return s.String() 46041 } 46042 46043 // Validate inspects the fields of the type to determine if they are valid. 46044 func (s *DescribeModelInput) Validate() error { 46045 invalidParams := request.ErrInvalidParams{Context: "DescribeModelInput"} 46046 if s.ModelName == nil { 46047 invalidParams.Add(request.NewErrParamRequired("ModelName")) 46048 } 46049 46050 if invalidParams.Len() > 0 { 46051 return invalidParams 46052 } 46053 return nil 46054 } 46055 46056 // SetModelName sets the ModelName field's value. 46057 func (s *DescribeModelInput) SetModelName(v string) *DescribeModelInput { 46058 s.ModelName = &v 46059 return s 46060 } 46061 46062 type DescribeModelOutput struct { 46063 _ struct{} `type:"structure"` 46064 46065 // The containers in the inference pipeline. 46066 Containers []*ContainerDefinition `type:"list"` 46067 46068 // A timestamp that shows when the model was created. 46069 // 46070 // CreationTime is a required field 46071 CreationTime *time.Time `type:"timestamp" required:"true"` 46072 46073 // If True, no inbound or outbound network calls can be made to or from the 46074 // model container. 46075 EnableNetworkIsolation *bool `type:"boolean"` 46076 46077 // The Amazon Resource Name (ARN) of the IAM role that you specified for the 46078 // model. 46079 // 46080 // ExecutionRoleArn is a required field 46081 ExecutionRoleArn *string `min:"20" type:"string" required:"true"` 46082 46083 // Specifies details of how containers in a multi-container endpoint are called. 46084 InferenceExecutionConfig *InferenceExecutionConfig `type:"structure"` 46085 46086 // The Amazon Resource Name (ARN) of the model. 46087 // 46088 // ModelArn is a required field 46089 ModelArn *string `min:"20" type:"string" required:"true"` 46090 46091 // Name of the Amazon SageMaker model. 46092 // 46093 // ModelName is a required field 46094 ModelName *string `type:"string" required:"true"` 46095 46096 // The location of the primary inference code, associated artifacts, and custom 46097 // environment map that the inference code uses when it is deployed in production. 46098 PrimaryContainer *ContainerDefinition `type:"structure"` 46099 46100 // A VpcConfig object that specifies the VPC that this model has access to. 46101 // For more information, see Protect Endpoints by Using an Amazon Virtual Private 46102 // Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html) 46103 VpcConfig *VpcConfig `type:"structure"` 46104 } 46105 46106 // String returns the string representation. 46107 // 46108 // API parameter values that are decorated as "sensitive" in the API will not 46109 // be included in the string output. The member name will be present, but the 46110 // value will be replaced with "sensitive". 46111 func (s DescribeModelOutput) String() string { 46112 return awsutil.Prettify(s) 46113 } 46114 46115 // GoString returns the string representation. 46116 // 46117 // API parameter values that are decorated as "sensitive" in the API will not 46118 // be included in the string output. The member name will be present, but the 46119 // value will be replaced with "sensitive". 46120 func (s DescribeModelOutput) GoString() string { 46121 return s.String() 46122 } 46123 46124 // SetContainers sets the Containers field's value. 46125 func (s *DescribeModelOutput) SetContainers(v []*ContainerDefinition) *DescribeModelOutput { 46126 s.Containers = v 46127 return s 46128 } 46129 46130 // SetCreationTime sets the CreationTime field's value. 46131 func (s *DescribeModelOutput) SetCreationTime(v time.Time) *DescribeModelOutput { 46132 s.CreationTime = &v 46133 return s 46134 } 46135 46136 // SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value. 46137 func (s *DescribeModelOutput) SetEnableNetworkIsolation(v bool) *DescribeModelOutput { 46138 s.EnableNetworkIsolation = &v 46139 return s 46140 } 46141 46142 // SetExecutionRoleArn sets the ExecutionRoleArn field's value. 46143 func (s *DescribeModelOutput) SetExecutionRoleArn(v string) *DescribeModelOutput { 46144 s.ExecutionRoleArn = &v 46145 return s 46146 } 46147 46148 // SetInferenceExecutionConfig sets the InferenceExecutionConfig field's value. 46149 func (s *DescribeModelOutput) SetInferenceExecutionConfig(v *InferenceExecutionConfig) *DescribeModelOutput { 46150 s.InferenceExecutionConfig = v 46151 return s 46152 } 46153 46154 // SetModelArn sets the ModelArn field's value. 46155 func (s *DescribeModelOutput) SetModelArn(v string) *DescribeModelOutput { 46156 s.ModelArn = &v 46157 return s 46158 } 46159 46160 // SetModelName sets the ModelName field's value. 46161 func (s *DescribeModelOutput) SetModelName(v string) *DescribeModelOutput { 46162 s.ModelName = &v 46163 return s 46164 } 46165 46166 // SetPrimaryContainer sets the PrimaryContainer field's value. 46167 func (s *DescribeModelOutput) SetPrimaryContainer(v *ContainerDefinition) *DescribeModelOutput { 46168 s.PrimaryContainer = v 46169 return s 46170 } 46171 46172 // SetVpcConfig sets the VpcConfig field's value. 46173 func (s *DescribeModelOutput) SetVpcConfig(v *VpcConfig) *DescribeModelOutput { 46174 s.VpcConfig = v 46175 return s 46176 } 46177 46178 type DescribeModelPackageGroupInput struct { 46179 _ struct{} `type:"structure"` 46180 46181 // The name of the model group to describe. 46182 // 46183 // ModelPackageGroupName is a required field 46184 ModelPackageGroupName *string `min:"1" type:"string" required:"true"` 46185 } 46186 46187 // String returns the string representation. 46188 // 46189 // API parameter values that are decorated as "sensitive" in the API will not 46190 // be included in the string output. The member name will be present, but the 46191 // value will be replaced with "sensitive". 46192 func (s DescribeModelPackageGroupInput) String() string { 46193 return awsutil.Prettify(s) 46194 } 46195 46196 // GoString returns the string representation. 46197 // 46198 // API parameter values that are decorated as "sensitive" in the API will not 46199 // be included in the string output. The member name will be present, but the 46200 // value will be replaced with "sensitive". 46201 func (s DescribeModelPackageGroupInput) GoString() string { 46202 return s.String() 46203 } 46204 46205 // Validate inspects the fields of the type to determine if they are valid. 46206 func (s *DescribeModelPackageGroupInput) Validate() error { 46207 invalidParams := request.ErrInvalidParams{Context: "DescribeModelPackageGroupInput"} 46208 if s.ModelPackageGroupName == nil { 46209 invalidParams.Add(request.NewErrParamRequired("ModelPackageGroupName")) 46210 } 46211 if s.ModelPackageGroupName != nil && len(*s.ModelPackageGroupName) < 1 { 46212 invalidParams.Add(request.NewErrParamMinLen("ModelPackageGroupName", 1)) 46213 } 46214 46215 if invalidParams.Len() > 0 { 46216 return invalidParams 46217 } 46218 return nil 46219 } 46220 46221 // SetModelPackageGroupName sets the ModelPackageGroupName field's value. 46222 func (s *DescribeModelPackageGroupInput) SetModelPackageGroupName(v string) *DescribeModelPackageGroupInput { 46223 s.ModelPackageGroupName = &v 46224 return s 46225 } 46226 46227 type DescribeModelPackageGroupOutput struct { 46228 _ struct{} `type:"structure"` 46229 46230 // Information about the user who created or modified an experiment, trial, 46231 // trial component, or project. 46232 // 46233 // CreatedBy is a required field 46234 CreatedBy *UserContext `type:"structure" required:"true"` 46235 46236 // The time that the model group was created. 46237 // 46238 // CreationTime is a required field 46239 CreationTime *time.Time `type:"timestamp" required:"true"` 46240 46241 // The Amazon Resource Name (ARN) of the model group. 46242 // 46243 // ModelPackageGroupArn is a required field 46244 ModelPackageGroupArn *string `min:"1" type:"string" required:"true"` 46245 46246 // A description of the model group. 46247 ModelPackageGroupDescription *string `type:"string"` 46248 46249 // The name of the model group. 46250 // 46251 // ModelPackageGroupName is a required field 46252 ModelPackageGroupName *string `min:"1" type:"string" required:"true"` 46253 46254 // The status of the model group. 46255 // 46256 // ModelPackageGroupStatus is a required field 46257 ModelPackageGroupStatus *string `type:"string" required:"true" enum:"ModelPackageGroupStatus"` 46258 } 46259 46260 // String returns the string representation. 46261 // 46262 // API parameter values that are decorated as "sensitive" in the API will not 46263 // be included in the string output. The member name will be present, but the 46264 // value will be replaced with "sensitive". 46265 func (s DescribeModelPackageGroupOutput) String() string { 46266 return awsutil.Prettify(s) 46267 } 46268 46269 // GoString returns the string representation. 46270 // 46271 // API parameter values that are decorated as "sensitive" in the API will not 46272 // be included in the string output. The member name will be present, but the 46273 // value will be replaced with "sensitive". 46274 func (s DescribeModelPackageGroupOutput) GoString() string { 46275 return s.String() 46276 } 46277 46278 // SetCreatedBy sets the CreatedBy field's value. 46279 func (s *DescribeModelPackageGroupOutput) SetCreatedBy(v *UserContext) *DescribeModelPackageGroupOutput { 46280 s.CreatedBy = v 46281 return s 46282 } 46283 46284 // SetCreationTime sets the CreationTime field's value. 46285 func (s *DescribeModelPackageGroupOutput) SetCreationTime(v time.Time) *DescribeModelPackageGroupOutput { 46286 s.CreationTime = &v 46287 return s 46288 } 46289 46290 // SetModelPackageGroupArn sets the ModelPackageGroupArn field's value. 46291 func (s *DescribeModelPackageGroupOutput) SetModelPackageGroupArn(v string) *DescribeModelPackageGroupOutput { 46292 s.ModelPackageGroupArn = &v 46293 return s 46294 } 46295 46296 // SetModelPackageGroupDescription sets the ModelPackageGroupDescription field's value. 46297 func (s *DescribeModelPackageGroupOutput) SetModelPackageGroupDescription(v string) *DescribeModelPackageGroupOutput { 46298 s.ModelPackageGroupDescription = &v 46299 return s 46300 } 46301 46302 // SetModelPackageGroupName sets the ModelPackageGroupName field's value. 46303 func (s *DescribeModelPackageGroupOutput) SetModelPackageGroupName(v string) *DescribeModelPackageGroupOutput { 46304 s.ModelPackageGroupName = &v 46305 return s 46306 } 46307 46308 // SetModelPackageGroupStatus sets the ModelPackageGroupStatus field's value. 46309 func (s *DescribeModelPackageGroupOutput) SetModelPackageGroupStatus(v string) *DescribeModelPackageGroupOutput { 46310 s.ModelPackageGroupStatus = &v 46311 return s 46312 } 46313 46314 type DescribeModelPackageInput struct { 46315 _ struct{} `type:"structure"` 46316 46317 // The name or Amazon Resource Name (ARN) of the model package to describe. 46318 // 46319 // When you specify a name, the name must have 1 to 63 characters. Valid characters 46320 // are a-z, A-Z, 0-9, and - (hyphen). 46321 // 46322 // ModelPackageName is a required field 46323 ModelPackageName *string `min:"1" type:"string" required:"true"` 46324 } 46325 46326 // String returns the string representation. 46327 // 46328 // API parameter values that are decorated as "sensitive" in the API will not 46329 // be included in the string output. The member name will be present, but the 46330 // value will be replaced with "sensitive". 46331 func (s DescribeModelPackageInput) String() string { 46332 return awsutil.Prettify(s) 46333 } 46334 46335 // GoString returns the string representation. 46336 // 46337 // API parameter values that are decorated as "sensitive" in the API will not 46338 // be included in the string output. The member name will be present, but the 46339 // value will be replaced with "sensitive". 46340 func (s DescribeModelPackageInput) GoString() string { 46341 return s.String() 46342 } 46343 46344 // Validate inspects the fields of the type to determine if they are valid. 46345 func (s *DescribeModelPackageInput) Validate() error { 46346 invalidParams := request.ErrInvalidParams{Context: "DescribeModelPackageInput"} 46347 if s.ModelPackageName == nil { 46348 invalidParams.Add(request.NewErrParamRequired("ModelPackageName")) 46349 } 46350 if s.ModelPackageName != nil && len(*s.ModelPackageName) < 1 { 46351 invalidParams.Add(request.NewErrParamMinLen("ModelPackageName", 1)) 46352 } 46353 46354 if invalidParams.Len() > 0 { 46355 return invalidParams 46356 } 46357 return nil 46358 } 46359 46360 // SetModelPackageName sets the ModelPackageName field's value. 46361 func (s *DescribeModelPackageInput) SetModelPackageName(v string) *DescribeModelPackageInput { 46362 s.ModelPackageName = &v 46363 return s 46364 } 46365 46366 type DescribeModelPackageOutput struct { 46367 _ struct{} `type:"structure"` 46368 46369 // A description provided for the model approval. 46370 ApprovalDescription *string `type:"string"` 46371 46372 // Whether the model package is certified for listing on Amazon Web Services 46373 // Marketplace. 46374 CertifyForMarketplace *bool `type:"boolean"` 46375 46376 // Information about the user who created or modified an experiment, trial, 46377 // trial component, or project. 46378 CreatedBy *UserContext `type:"structure"` 46379 46380 // A timestamp specifying when the model package was created. 46381 // 46382 // CreationTime is a required field 46383 CreationTime *time.Time `type:"timestamp" required:"true"` 46384 46385 // Details about inference jobs that can be run with models based on this model 46386 // package. 46387 InferenceSpecification *InferenceSpecification `type:"structure"` 46388 46389 // Information about the user who created or modified an experiment, trial, 46390 // trial component, or project. 46391 LastModifiedBy *UserContext `type:"structure"` 46392 46393 // The last time the model package was modified. 46394 LastModifiedTime *time.Time `type:"timestamp"` 46395 46396 // Metadata properties of the tracking entity, trial, or trial component. 46397 MetadataProperties *MetadataProperties `type:"structure"` 46398 46399 // The approval status of the model package. 46400 ModelApprovalStatus *string `type:"string" enum:"ModelApprovalStatus"` 46401 46402 // Metrics for the model. 46403 ModelMetrics *ModelMetrics `type:"structure"` 46404 46405 // The Amazon Resource Name (ARN) of the model package. 46406 // 46407 // ModelPackageArn is a required field 46408 ModelPackageArn *string `min:"1" type:"string" required:"true"` 46409 46410 // A brief summary of the model package. 46411 ModelPackageDescription *string `type:"string"` 46412 46413 // If the model is a versioned model, the name of the model group that the versioned 46414 // model belongs to. 46415 ModelPackageGroupName *string `min:"1" type:"string"` 46416 46417 // The name of the model package being described. 46418 // 46419 // ModelPackageName is a required field 46420 ModelPackageName *string `min:"1" type:"string" required:"true"` 46421 46422 // The current status of the model package. 46423 // 46424 // ModelPackageStatus is a required field 46425 ModelPackageStatus *string `type:"string" required:"true" enum:"ModelPackageStatus"` 46426 46427 // Details about the current status of the model package. 46428 // 46429 // ModelPackageStatusDetails is a required field 46430 ModelPackageStatusDetails *ModelPackageStatusDetails `type:"structure" required:"true"` 46431 46432 // The version of the model package. 46433 ModelPackageVersion *int64 `min:"1" type:"integer"` 46434 46435 // Details about the algorithm that was used to create the model package. 46436 SourceAlgorithmSpecification *SourceAlgorithmSpecification `type:"structure"` 46437 46438 // Configurations for one or more transform jobs that Amazon SageMaker runs 46439 // to test the model package. 46440 ValidationSpecification *ModelPackageValidationSpecification `type:"structure"` 46441 } 46442 46443 // String returns the string representation. 46444 // 46445 // API parameter values that are decorated as "sensitive" in the API will not 46446 // be included in the string output. The member name will be present, but the 46447 // value will be replaced with "sensitive". 46448 func (s DescribeModelPackageOutput) String() string { 46449 return awsutil.Prettify(s) 46450 } 46451 46452 // GoString returns the string representation. 46453 // 46454 // API parameter values that are decorated as "sensitive" in the API will not 46455 // be included in the string output. The member name will be present, but the 46456 // value will be replaced with "sensitive". 46457 func (s DescribeModelPackageOutput) GoString() string { 46458 return s.String() 46459 } 46460 46461 // SetApprovalDescription sets the ApprovalDescription field's value. 46462 func (s *DescribeModelPackageOutput) SetApprovalDescription(v string) *DescribeModelPackageOutput { 46463 s.ApprovalDescription = &v 46464 return s 46465 } 46466 46467 // SetCertifyForMarketplace sets the CertifyForMarketplace field's value. 46468 func (s *DescribeModelPackageOutput) SetCertifyForMarketplace(v bool) *DescribeModelPackageOutput { 46469 s.CertifyForMarketplace = &v 46470 return s 46471 } 46472 46473 // SetCreatedBy sets the CreatedBy field's value. 46474 func (s *DescribeModelPackageOutput) SetCreatedBy(v *UserContext) *DescribeModelPackageOutput { 46475 s.CreatedBy = v 46476 return s 46477 } 46478 46479 // SetCreationTime sets the CreationTime field's value. 46480 func (s *DescribeModelPackageOutput) SetCreationTime(v time.Time) *DescribeModelPackageOutput { 46481 s.CreationTime = &v 46482 return s 46483 } 46484 46485 // SetInferenceSpecification sets the InferenceSpecification field's value. 46486 func (s *DescribeModelPackageOutput) SetInferenceSpecification(v *InferenceSpecification) *DescribeModelPackageOutput { 46487 s.InferenceSpecification = v 46488 return s 46489 } 46490 46491 // SetLastModifiedBy sets the LastModifiedBy field's value. 46492 func (s *DescribeModelPackageOutput) SetLastModifiedBy(v *UserContext) *DescribeModelPackageOutput { 46493 s.LastModifiedBy = v 46494 return s 46495 } 46496 46497 // SetLastModifiedTime sets the LastModifiedTime field's value. 46498 func (s *DescribeModelPackageOutput) SetLastModifiedTime(v time.Time) *DescribeModelPackageOutput { 46499 s.LastModifiedTime = &v 46500 return s 46501 } 46502 46503 // SetMetadataProperties sets the MetadataProperties field's value. 46504 func (s *DescribeModelPackageOutput) SetMetadataProperties(v *MetadataProperties) *DescribeModelPackageOutput { 46505 s.MetadataProperties = v 46506 return s 46507 } 46508 46509 // SetModelApprovalStatus sets the ModelApprovalStatus field's value. 46510 func (s *DescribeModelPackageOutput) SetModelApprovalStatus(v string) *DescribeModelPackageOutput { 46511 s.ModelApprovalStatus = &v 46512 return s 46513 } 46514 46515 // SetModelMetrics sets the ModelMetrics field's value. 46516 func (s *DescribeModelPackageOutput) SetModelMetrics(v *ModelMetrics) *DescribeModelPackageOutput { 46517 s.ModelMetrics = v 46518 return s 46519 } 46520 46521 // SetModelPackageArn sets the ModelPackageArn field's value. 46522 func (s *DescribeModelPackageOutput) SetModelPackageArn(v string) *DescribeModelPackageOutput { 46523 s.ModelPackageArn = &v 46524 return s 46525 } 46526 46527 // SetModelPackageDescription sets the ModelPackageDescription field's value. 46528 func (s *DescribeModelPackageOutput) SetModelPackageDescription(v string) *DescribeModelPackageOutput { 46529 s.ModelPackageDescription = &v 46530 return s 46531 } 46532 46533 // SetModelPackageGroupName sets the ModelPackageGroupName field's value. 46534 func (s *DescribeModelPackageOutput) SetModelPackageGroupName(v string) *DescribeModelPackageOutput { 46535 s.ModelPackageGroupName = &v 46536 return s 46537 } 46538 46539 // SetModelPackageName sets the ModelPackageName field's value. 46540 func (s *DescribeModelPackageOutput) SetModelPackageName(v string) *DescribeModelPackageOutput { 46541 s.ModelPackageName = &v 46542 return s 46543 } 46544 46545 // SetModelPackageStatus sets the ModelPackageStatus field's value. 46546 func (s *DescribeModelPackageOutput) SetModelPackageStatus(v string) *DescribeModelPackageOutput { 46547 s.ModelPackageStatus = &v 46548 return s 46549 } 46550 46551 // SetModelPackageStatusDetails sets the ModelPackageStatusDetails field's value. 46552 func (s *DescribeModelPackageOutput) SetModelPackageStatusDetails(v *ModelPackageStatusDetails) *DescribeModelPackageOutput { 46553 s.ModelPackageStatusDetails = v 46554 return s 46555 } 46556 46557 // SetModelPackageVersion sets the ModelPackageVersion field's value. 46558 func (s *DescribeModelPackageOutput) SetModelPackageVersion(v int64) *DescribeModelPackageOutput { 46559 s.ModelPackageVersion = &v 46560 return s 46561 } 46562 46563 // SetSourceAlgorithmSpecification sets the SourceAlgorithmSpecification field's value. 46564 func (s *DescribeModelPackageOutput) SetSourceAlgorithmSpecification(v *SourceAlgorithmSpecification) *DescribeModelPackageOutput { 46565 s.SourceAlgorithmSpecification = v 46566 return s 46567 } 46568 46569 // SetValidationSpecification sets the ValidationSpecification field's value. 46570 func (s *DescribeModelPackageOutput) SetValidationSpecification(v *ModelPackageValidationSpecification) *DescribeModelPackageOutput { 46571 s.ValidationSpecification = v 46572 return s 46573 } 46574 46575 type DescribeModelQualityJobDefinitionInput struct { 46576 _ struct{} `type:"structure"` 46577 46578 // The name of the model quality job. The name must be unique within an Amazon 46579 // Web Services Region in the Amazon Web Services account. 46580 // 46581 // JobDefinitionName is a required field 46582 JobDefinitionName *string `min:"1" type:"string" required:"true"` 46583 } 46584 46585 // String returns the string representation. 46586 // 46587 // API parameter values that are decorated as "sensitive" in the API will not 46588 // be included in the string output. The member name will be present, but the 46589 // value will be replaced with "sensitive". 46590 func (s DescribeModelQualityJobDefinitionInput) String() string { 46591 return awsutil.Prettify(s) 46592 } 46593 46594 // GoString returns the string representation. 46595 // 46596 // API parameter values that are decorated as "sensitive" in the API will not 46597 // be included in the string output. The member name will be present, but the 46598 // value will be replaced with "sensitive". 46599 func (s DescribeModelQualityJobDefinitionInput) GoString() string { 46600 return s.String() 46601 } 46602 46603 // Validate inspects the fields of the type to determine if they are valid. 46604 func (s *DescribeModelQualityJobDefinitionInput) Validate() error { 46605 invalidParams := request.ErrInvalidParams{Context: "DescribeModelQualityJobDefinitionInput"} 46606 if s.JobDefinitionName == nil { 46607 invalidParams.Add(request.NewErrParamRequired("JobDefinitionName")) 46608 } 46609 if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 { 46610 invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1)) 46611 } 46612 46613 if invalidParams.Len() > 0 { 46614 return invalidParams 46615 } 46616 return nil 46617 } 46618 46619 // SetJobDefinitionName sets the JobDefinitionName field's value. 46620 func (s *DescribeModelQualityJobDefinitionInput) SetJobDefinitionName(v string) *DescribeModelQualityJobDefinitionInput { 46621 s.JobDefinitionName = &v 46622 return s 46623 } 46624 46625 type DescribeModelQualityJobDefinitionOutput struct { 46626 _ struct{} `type:"structure"` 46627 46628 // The time at which the model quality job was created. 46629 // 46630 // CreationTime is a required field 46631 CreationTime *time.Time `type:"timestamp" required:"true"` 46632 46633 // The Amazon Resource Name (ARN) of the model quality job. 46634 // 46635 // JobDefinitionArn is a required field 46636 JobDefinitionArn *string `type:"string" required:"true"` 46637 46638 // The name of the quality job definition. The name must be unique within an 46639 // Amazon Web Services Region in the Amazon Web Services account. 46640 // 46641 // JobDefinitionName is a required field 46642 JobDefinitionName *string `min:"1" type:"string" required:"true"` 46643 46644 // Identifies the resources to deploy for a monitoring job. 46645 // 46646 // JobResources is a required field 46647 JobResources *MonitoringResources `type:"structure" required:"true"` 46648 46649 // Configures the model quality job to run a specified Docker container image. 46650 // 46651 // ModelQualityAppSpecification is a required field 46652 ModelQualityAppSpecification *ModelQualityAppSpecification `type:"structure" required:"true"` 46653 46654 // The baseline configuration for a model quality job. 46655 ModelQualityBaselineConfig *ModelQualityBaselineConfig `type:"structure"` 46656 46657 // Inputs for the model quality job. 46658 // 46659 // ModelQualityJobInput is a required field 46660 ModelQualityJobInput *ModelQualityJobInput `type:"structure" required:"true"` 46661 46662 // The output configuration for monitoring jobs. 46663 // 46664 // ModelQualityJobOutputConfig is a required field 46665 ModelQualityJobOutputConfig *MonitoringOutputConfig `type:"structure" required:"true"` 46666 46667 // Networking options for a model quality job. 46668 NetworkConfig *MonitoringNetworkConfig `type:"structure"` 46669 46670 // The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume 46671 // to perform tasks on your behalf. 46672 // 46673 // RoleArn is a required field 46674 RoleArn *string `min:"20" type:"string" required:"true"` 46675 46676 // A time limit for how long the monitoring job is allowed to run before stopping. 46677 StoppingCondition *MonitoringStoppingCondition `type:"structure"` 46678 } 46679 46680 // String returns the string representation. 46681 // 46682 // API parameter values that are decorated as "sensitive" in the API will not 46683 // be included in the string output. The member name will be present, but the 46684 // value will be replaced with "sensitive". 46685 func (s DescribeModelQualityJobDefinitionOutput) String() string { 46686 return awsutil.Prettify(s) 46687 } 46688 46689 // GoString returns the string representation. 46690 // 46691 // API parameter values that are decorated as "sensitive" in the API will not 46692 // be included in the string output. The member name will be present, but the 46693 // value will be replaced with "sensitive". 46694 func (s DescribeModelQualityJobDefinitionOutput) GoString() string { 46695 return s.String() 46696 } 46697 46698 // SetCreationTime sets the CreationTime field's value. 46699 func (s *DescribeModelQualityJobDefinitionOutput) SetCreationTime(v time.Time) *DescribeModelQualityJobDefinitionOutput { 46700 s.CreationTime = &v 46701 return s 46702 } 46703 46704 // SetJobDefinitionArn sets the JobDefinitionArn field's value. 46705 func (s *DescribeModelQualityJobDefinitionOutput) SetJobDefinitionArn(v string) *DescribeModelQualityJobDefinitionOutput { 46706 s.JobDefinitionArn = &v 46707 return s 46708 } 46709 46710 // SetJobDefinitionName sets the JobDefinitionName field's value. 46711 func (s *DescribeModelQualityJobDefinitionOutput) SetJobDefinitionName(v string) *DescribeModelQualityJobDefinitionOutput { 46712 s.JobDefinitionName = &v 46713 return s 46714 } 46715 46716 // SetJobResources sets the JobResources field's value. 46717 func (s *DescribeModelQualityJobDefinitionOutput) SetJobResources(v *MonitoringResources) *DescribeModelQualityJobDefinitionOutput { 46718 s.JobResources = v 46719 return s 46720 } 46721 46722 // SetModelQualityAppSpecification sets the ModelQualityAppSpecification field's value. 46723 func (s *DescribeModelQualityJobDefinitionOutput) SetModelQualityAppSpecification(v *ModelQualityAppSpecification) *DescribeModelQualityJobDefinitionOutput { 46724 s.ModelQualityAppSpecification = v 46725 return s 46726 } 46727 46728 // SetModelQualityBaselineConfig sets the ModelQualityBaselineConfig field's value. 46729 func (s *DescribeModelQualityJobDefinitionOutput) SetModelQualityBaselineConfig(v *ModelQualityBaselineConfig) *DescribeModelQualityJobDefinitionOutput { 46730 s.ModelQualityBaselineConfig = v 46731 return s 46732 } 46733 46734 // SetModelQualityJobInput sets the ModelQualityJobInput field's value. 46735 func (s *DescribeModelQualityJobDefinitionOutput) SetModelQualityJobInput(v *ModelQualityJobInput) *DescribeModelQualityJobDefinitionOutput { 46736 s.ModelQualityJobInput = v 46737 return s 46738 } 46739 46740 // SetModelQualityJobOutputConfig sets the ModelQualityJobOutputConfig field's value. 46741 func (s *DescribeModelQualityJobDefinitionOutput) SetModelQualityJobOutputConfig(v *MonitoringOutputConfig) *DescribeModelQualityJobDefinitionOutput { 46742 s.ModelQualityJobOutputConfig = v 46743 return s 46744 } 46745 46746 // SetNetworkConfig sets the NetworkConfig field's value. 46747 func (s *DescribeModelQualityJobDefinitionOutput) SetNetworkConfig(v *MonitoringNetworkConfig) *DescribeModelQualityJobDefinitionOutput { 46748 s.NetworkConfig = v 46749 return s 46750 } 46751 46752 // SetRoleArn sets the RoleArn field's value. 46753 func (s *DescribeModelQualityJobDefinitionOutput) SetRoleArn(v string) *DescribeModelQualityJobDefinitionOutput { 46754 s.RoleArn = &v 46755 return s 46756 } 46757 46758 // SetStoppingCondition sets the StoppingCondition field's value. 46759 func (s *DescribeModelQualityJobDefinitionOutput) SetStoppingCondition(v *MonitoringStoppingCondition) *DescribeModelQualityJobDefinitionOutput { 46760 s.StoppingCondition = v 46761 return s 46762 } 46763 46764 type DescribeMonitoringScheduleInput struct { 46765 _ struct{} `type:"structure"` 46766 46767 // Name of a previously created monitoring schedule. 46768 // 46769 // MonitoringScheduleName is a required field 46770 MonitoringScheduleName *string `min:"1" type:"string" required:"true"` 46771 } 46772 46773 // String returns the string representation. 46774 // 46775 // API parameter values that are decorated as "sensitive" in the API will not 46776 // be included in the string output. The member name will be present, but the 46777 // value will be replaced with "sensitive". 46778 func (s DescribeMonitoringScheduleInput) String() string { 46779 return awsutil.Prettify(s) 46780 } 46781 46782 // GoString returns the string representation. 46783 // 46784 // API parameter values that are decorated as "sensitive" in the API will not 46785 // be included in the string output. The member name will be present, but the 46786 // value will be replaced with "sensitive". 46787 func (s DescribeMonitoringScheduleInput) GoString() string { 46788 return s.String() 46789 } 46790 46791 // Validate inspects the fields of the type to determine if they are valid. 46792 func (s *DescribeMonitoringScheduleInput) Validate() error { 46793 invalidParams := request.ErrInvalidParams{Context: "DescribeMonitoringScheduleInput"} 46794 if s.MonitoringScheduleName == nil { 46795 invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleName")) 46796 } 46797 if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 { 46798 invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1)) 46799 } 46800 46801 if invalidParams.Len() > 0 { 46802 return invalidParams 46803 } 46804 return nil 46805 } 46806 46807 // SetMonitoringScheduleName sets the MonitoringScheduleName field's value. 46808 func (s *DescribeMonitoringScheduleInput) SetMonitoringScheduleName(v string) *DescribeMonitoringScheduleInput { 46809 s.MonitoringScheduleName = &v 46810 return s 46811 } 46812 46813 type DescribeMonitoringScheduleOutput struct { 46814 _ struct{} `type:"structure"` 46815 46816 // The time at which the monitoring job was created. 46817 // 46818 // CreationTime is a required field 46819 CreationTime *time.Time `type:"timestamp" required:"true"` 46820 46821 // The name of the endpoint for the monitoring job. 46822 EndpointName *string `type:"string"` 46823 46824 // A string, up to one KB in size, that contains the reason a monitoring job 46825 // failed, if it failed. 46826 FailureReason *string `type:"string"` 46827 46828 // The time at which the monitoring job was last modified. 46829 // 46830 // LastModifiedTime is a required field 46831 LastModifiedTime *time.Time `type:"timestamp" required:"true"` 46832 46833 // Describes metadata on the last execution to run, if there was one. 46834 LastMonitoringExecutionSummary *MonitoringExecutionSummary `type:"structure"` 46835 46836 // The Amazon Resource Name (ARN) of the monitoring schedule. 46837 // 46838 // MonitoringScheduleArn is a required field 46839 MonitoringScheduleArn *string `type:"string" required:"true"` 46840 46841 // The configuration object that specifies the monitoring schedule and defines 46842 // the monitoring job. 46843 // 46844 // MonitoringScheduleConfig is a required field 46845 MonitoringScheduleConfig *MonitoringScheduleConfig `type:"structure" required:"true"` 46846 46847 // Name of the monitoring schedule. 46848 // 46849 // MonitoringScheduleName is a required field 46850 MonitoringScheduleName *string `min:"1" type:"string" required:"true"` 46851 46852 // The status of an monitoring job. 46853 // 46854 // MonitoringScheduleStatus is a required field 46855 MonitoringScheduleStatus *string `type:"string" required:"true" enum:"ScheduleStatus"` 46856 46857 // The type of the monitoring job that this schedule runs. This is one of the 46858 // following values. 46859 // 46860 // * DATA_QUALITY - The schedule is for a data quality monitoring job. 46861 // 46862 // * MODEL_QUALITY - The schedule is for a model quality monitoring job. 46863 // 46864 // * MODEL_BIAS - The schedule is for a bias monitoring job. 46865 // 46866 // * MODEL_EXPLAINABILITY - The schedule is for an explainability monitoring 46867 // job. 46868 MonitoringType *string `type:"string" enum:"MonitoringType"` 46869 } 46870 46871 // String returns the string representation. 46872 // 46873 // API parameter values that are decorated as "sensitive" in the API will not 46874 // be included in the string output. The member name will be present, but the 46875 // value will be replaced with "sensitive". 46876 func (s DescribeMonitoringScheduleOutput) String() string { 46877 return awsutil.Prettify(s) 46878 } 46879 46880 // GoString returns the string representation. 46881 // 46882 // API parameter values that are decorated as "sensitive" in the API will not 46883 // be included in the string output. The member name will be present, but the 46884 // value will be replaced with "sensitive". 46885 func (s DescribeMonitoringScheduleOutput) GoString() string { 46886 return s.String() 46887 } 46888 46889 // SetCreationTime sets the CreationTime field's value. 46890 func (s *DescribeMonitoringScheduleOutput) SetCreationTime(v time.Time) *DescribeMonitoringScheduleOutput { 46891 s.CreationTime = &v 46892 return s 46893 } 46894 46895 // SetEndpointName sets the EndpointName field's value. 46896 func (s *DescribeMonitoringScheduleOutput) SetEndpointName(v string) *DescribeMonitoringScheduleOutput { 46897 s.EndpointName = &v 46898 return s 46899 } 46900 46901 // SetFailureReason sets the FailureReason field's value. 46902 func (s *DescribeMonitoringScheduleOutput) SetFailureReason(v string) *DescribeMonitoringScheduleOutput { 46903 s.FailureReason = &v 46904 return s 46905 } 46906 46907 // SetLastModifiedTime sets the LastModifiedTime field's value. 46908 func (s *DescribeMonitoringScheduleOutput) SetLastModifiedTime(v time.Time) *DescribeMonitoringScheduleOutput { 46909 s.LastModifiedTime = &v 46910 return s 46911 } 46912 46913 // SetLastMonitoringExecutionSummary sets the LastMonitoringExecutionSummary field's value. 46914 func (s *DescribeMonitoringScheduleOutput) SetLastMonitoringExecutionSummary(v *MonitoringExecutionSummary) *DescribeMonitoringScheduleOutput { 46915 s.LastMonitoringExecutionSummary = v 46916 return s 46917 } 46918 46919 // SetMonitoringScheduleArn sets the MonitoringScheduleArn field's value. 46920 func (s *DescribeMonitoringScheduleOutput) SetMonitoringScheduleArn(v string) *DescribeMonitoringScheduleOutput { 46921 s.MonitoringScheduleArn = &v 46922 return s 46923 } 46924 46925 // SetMonitoringScheduleConfig sets the MonitoringScheduleConfig field's value. 46926 func (s *DescribeMonitoringScheduleOutput) SetMonitoringScheduleConfig(v *MonitoringScheduleConfig) *DescribeMonitoringScheduleOutput { 46927 s.MonitoringScheduleConfig = v 46928 return s 46929 } 46930 46931 // SetMonitoringScheduleName sets the MonitoringScheduleName field's value. 46932 func (s *DescribeMonitoringScheduleOutput) SetMonitoringScheduleName(v string) *DescribeMonitoringScheduleOutput { 46933 s.MonitoringScheduleName = &v 46934 return s 46935 } 46936 46937 // SetMonitoringScheduleStatus sets the MonitoringScheduleStatus field's value. 46938 func (s *DescribeMonitoringScheduleOutput) SetMonitoringScheduleStatus(v string) *DescribeMonitoringScheduleOutput { 46939 s.MonitoringScheduleStatus = &v 46940 return s 46941 } 46942 46943 // SetMonitoringType sets the MonitoringType field's value. 46944 func (s *DescribeMonitoringScheduleOutput) SetMonitoringType(v string) *DescribeMonitoringScheduleOutput { 46945 s.MonitoringType = &v 46946 return s 46947 } 46948 46949 type DescribeNotebookInstanceInput struct { 46950 _ struct{} `type:"structure"` 46951 46952 // The name of the notebook instance that you want information about. 46953 // 46954 // NotebookInstanceName is a required field 46955 NotebookInstanceName *string `type:"string" required:"true"` 46956 } 46957 46958 // String returns the string representation. 46959 // 46960 // API parameter values that are decorated as "sensitive" in the API will not 46961 // be included in the string output. The member name will be present, but the 46962 // value will be replaced with "sensitive". 46963 func (s DescribeNotebookInstanceInput) String() string { 46964 return awsutil.Prettify(s) 46965 } 46966 46967 // GoString returns the string representation. 46968 // 46969 // API parameter values that are decorated as "sensitive" in the API will not 46970 // be included in the string output. The member name will be present, but the 46971 // value will be replaced with "sensitive". 46972 func (s DescribeNotebookInstanceInput) GoString() string { 46973 return s.String() 46974 } 46975 46976 // Validate inspects the fields of the type to determine if they are valid. 46977 func (s *DescribeNotebookInstanceInput) Validate() error { 46978 invalidParams := request.ErrInvalidParams{Context: "DescribeNotebookInstanceInput"} 46979 if s.NotebookInstanceName == nil { 46980 invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName")) 46981 } 46982 46983 if invalidParams.Len() > 0 { 46984 return invalidParams 46985 } 46986 return nil 46987 } 46988 46989 // SetNotebookInstanceName sets the NotebookInstanceName field's value. 46990 func (s *DescribeNotebookInstanceInput) SetNotebookInstanceName(v string) *DescribeNotebookInstanceInput { 46991 s.NotebookInstanceName = &v 46992 return s 46993 } 46994 46995 type DescribeNotebookInstanceLifecycleConfigInput struct { 46996 _ struct{} `type:"structure"` 46997 46998 // The name of the lifecycle configuration to describe. 46999 // 47000 // NotebookInstanceLifecycleConfigName is a required field 47001 NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"` 47002 } 47003 47004 // String returns the string representation. 47005 // 47006 // API parameter values that are decorated as "sensitive" in the API will not 47007 // be included in the string output. The member name will be present, but the 47008 // value will be replaced with "sensitive". 47009 func (s DescribeNotebookInstanceLifecycleConfigInput) String() string { 47010 return awsutil.Prettify(s) 47011 } 47012 47013 // GoString returns the string representation. 47014 // 47015 // API parameter values that are decorated as "sensitive" in the API will not 47016 // be included in the string output. The member name will be present, but the 47017 // value will be replaced with "sensitive". 47018 func (s DescribeNotebookInstanceLifecycleConfigInput) GoString() string { 47019 return s.String() 47020 } 47021 47022 // Validate inspects the fields of the type to determine if they are valid. 47023 func (s *DescribeNotebookInstanceLifecycleConfigInput) Validate() error { 47024 invalidParams := request.ErrInvalidParams{Context: "DescribeNotebookInstanceLifecycleConfigInput"} 47025 if s.NotebookInstanceLifecycleConfigName == nil { 47026 invalidParams.Add(request.NewErrParamRequired("NotebookInstanceLifecycleConfigName")) 47027 } 47028 47029 if invalidParams.Len() > 0 { 47030 return invalidParams 47031 } 47032 return nil 47033 } 47034 47035 // SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value. 47036 func (s *DescribeNotebookInstanceLifecycleConfigInput) SetNotebookInstanceLifecycleConfigName(v string) *DescribeNotebookInstanceLifecycleConfigInput { 47037 s.NotebookInstanceLifecycleConfigName = &v 47038 return s 47039 } 47040 47041 type DescribeNotebookInstanceLifecycleConfigOutput struct { 47042 _ struct{} `type:"structure"` 47043 47044 // A timestamp that tells when the lifecycle configuration was created. 47045 CreationTime *time.Time `type:"timestamp"` 47046 47047 // A timestamp that tells when the lifecycle configuration was last modified. 47048 LastModifiedTime *time.Time `type:"timestamp"` 47049 47050 // The Amazon Resource Name (ARN) of the lifecycle configuration. 47051 NotebookInstanceLifecycleConfigArn *string `type:"string"` 47052 47053 // The name of the lifecycle configuration. 47054 NotebookInstanceLifecycleConfigName *string `type:"string"` 47055 47056 // The shell script that runs only once, when you create a notebook instance. 47057 OnCreate []*NotebookInstanceLifecycleHook `type:"list"` 47058 47059 // The shell script that runs every time you start a notebook instance, including 47060 // when you create the notebook instance. 47061 OnStart []*NotebookInstanceLifecycleHook `type:"list"` 47062 } 47063 47064 // String returns the string representation. 47065 // 47066 // API parameter values that are decorated as "sensitive" in the API will not 47067 // be included in the string output. The member name will be present, but the 47068 // value will be replaced with "sensitive". 47069 func (s DescribeNotebookInstanceLifecycleConfigOutput) String() string { 47070 return awsutil.Prettify(s) 47071 } 47072 47073 // GoString returns the string representation. 47074 // 47075 // API parameter values that are decorated as "sensitive" in the API will not 47076 // be included in the string output. The member name will be present, but the 47077 // value will be replaced with "sensitive". 47078 func (s DescribeNotebookInstanceLifecycleConfigOutput) GoString() string { 47079 return s.String() 47080 } 47081 47082 // SetCreationTime sets the CreationTime field's value. 47083 func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetCreationTime(v time.Time) *DescribeNotebookInstanceLifecycleConfigOutput { 47084 s.CreationTime = &v 47085 return s 47086 } 47087 47088 // SetLastModifiedTime sets the LastModifiedTime field's value. 47089 func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetLastModifiedTime(v time.Time) *DescribeNotebookInstanceLifecycleConfigOutput { 47090 s.LastModifiedTime = &v 47091 return s 47092 } 47093 47094 // SetNotebookInstanceLifecycleConfigArn sets the NotebookInstanceLifecycleConfigArn field's value. 47095 func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetNotebookInstanceLifecycleConfigArn(v string) *DescribeNotebookInstanceLifecycleConfigOutput { 47096 s.NotebookInstanceLifecycleConfigArn = &v 47097 return s 47098 } 47099 47100 // SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value. 47101 func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetNotebookInstanceLifecycleConfigName(v string) *DescribeNotebookInstanceLifecycleConfigOutput { 47102 s.NotebookInstanceLifecycleConfigName = &v 47103 return s 47104 } 47105 47106 // SetOnCreate sets the OnCreate field's value. 47107 func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetOnCreate(v []*NotebookInstanceLifecycleHook) *DescribeNotebookInstanceLifecycleConfigOutput { 47108 s.OnCreate = v 47109 return s 47110 } 47111 47112 // SetOnStart sets the OnStart field's value. 47113 func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetOnStart(v []*NotebookInstanceLifecycleHook) *DescribeNotebookInstanceLifecycleConfigOutput { 47114 s.OnStart = v 47115 return s 47116 } 47117 47118 type DescribeNotebookInstanceOutput struct { 47119 _ struct{} `type:"structure"` 47120 47121 // A list of the Elastic Inference (EI) instance types associated with this 47122 // notebook instance. Currently only one EI instance type can be associated 47123 // with a notebook instance. For more information, see Using Elastic Inference 47124 // in Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html). 47125 AcceleratorTypes []*string `type:"list"` 47126 47127 // An array of up to three Git repositories associated with the notebook instance. 47128 // These can be either the names of Git repositories stored as resources in 47129 // your account, or the URL of Git repositories in Amazon Web Services CodeCommit 47130 // (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or 47131 // in any other Git repository. These repositories are cloned at the same level 47132 // as the default repository of your notebook instance. For more information, 47133 // see Associating Git Repositories with Amazon SageMaker Notebook Instances 47134 // (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html). 47135 AdditionalCodeRepositories []*string `type:"list"` 47136 47137 // A timestamp. Use this parameter to return the time when the notebook instance 47138 // was created 47139 CreationTime *time.Time `type:"timestamp"` 47140 47141 // The Git repository associated with the notebook instance as its default code 47142 // repository. This can be either the name of a Git repository stored as a resource 47143 // in your account, or the URL of a Git repository in Amazon Web Services CodeCommit 47144 // (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or 47145 // in any other Git repository. When you open a notebook instance, it opens 47146 // in the directory that contains this repository. For more information, see 47147 // Associating Git Repositories with Amazon SageMaker Notebook Instances (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html). 47148 DefaultCodeRepository *string `min:"1" type:"string"` 47149 47150 // Describes whether Amazon SageMaker provides internet access to the notebook 47151 // instance. If this value is set to Disabled, the notebook instance does not 47152 // have internet access, and cannot connect to Amazon SageMaker training and 47153 // endpoint services. 47154 // 47155 // For more information, see Notebook Instances Are Internet-Enabled by Default 47156 // (https://docs.aws.amazon.com/sagemaker/latest/dg/appendix-additional-considerations.html#appendix-notebook-and-internet-access). 47157 DirectInternetAccess *string `type:"string" enum:"DirectInternetAccess"` 47158 47159 // If status is Failed, the reason it failed. 47160 FailureReason *string `type:"string"` 47161 47162 // The type of ML compute instance running on the notebook instance. 47163 InstanceType *string `type:"string" enum:"InstanceType"` 47164 47165 // The Amazon Web Services KMS key ID Amazon SageMaker uses to encrypt data 47166 // when storing it on the ML storage volume attached to the instance. 47167 KmsKeyId *string `type:"string"` 47168 47169 // A timestamp. Use this parameter to retrieve the time when the notebook instance 47170 // was last modified. 47171 LastModifiedTime *time.Time `type:"timestamp"` 47172 47173 // The network interface IDs that Amazon SageMaker created at the time of creating 47174 // the instance. 47175 NetworkInterfaceId *string `type:"string"` 47176 47177 // The Amazon Resource Name (ARN) of the notebook instance. 47178 NotebookInstanceArn *string `type:"string"` 47179 47180 // Returns the name of a notebook instance lifecycle configuration. 47181 // 47182 // For information about notebook instance lifestyle configurations, see Step 47183 // 2.1: (Optional) Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html) 47184 NotebookInstanceLifecycleConfigName *string `type:"string"` 47185 47186 // The name of the Amazon SageMaker notebook instance. 47187 NotebookInstanceName *string `type:"string"` 47188 47189 // The status of the notebook instance. 47190 NotebookInstanceStatus *string `type:"string" enum:"NotebookInstanceStatus"` 47191 47192 // The platform identifier of the notebook instance runtime environment. 47193 PlatformIdentifier *string `type:"string"` 47194 47195 // The Amazon Resource Name (ARN) of the IAM role associated with the instance. 47196 RoleArn *string `min:"20" type:"string"` 47197 47198 // Whether root access is enabled or disabled for users of the notebook instance. 47199 // 47200 // Lifecycle configurations need root access to be able to set up a notebook 47201 // instance. Because of this, lifecycle configurations associated with a notebook 47202 // instance always run with root access even if you disable root access for 47203 // users. 47204 RootAccess *string `type:"string" enum:"RootAccess"` 47205 47206 // The IDs of the VPC security groups. 47207 SecurityGroups []*string `type:"list"` 47208 47209 // The ID of the VPC subnet. 47210 SubnetId *string `type:"string"` 47211 47212 // The URL that you use to connect to the Jupyter notebook that is running in 47213 // your notebook instance. 47214 Url *string `type:"string"` 47215 47216 // The size, in GB, of the ML storage volume attached to the notebook instance. 47217 VolumeSizeInGB *int64 `min:"5" type:"integer"` 47218 } 47219 47220 // String returns the string representation. 47221 // 47222 // API parameter values that are decorated as "sensitive" in the API will not 47223 // be included in the string output. The member name will be present, but the 47224 // value will be replaced with "sensitive". 47225 func (s DescribeNotebookInstanceOutput) String() string { 47226 return awsutil.Prettify(s) 47227 } 47228 47229 // GoString returns the string representation. 47230 // 47231 // API parameter values that are decorated as "sensitive" in the API will not 47232 // be included in the string output. The member name will be present, but the 47233 // value will be replaced with "sensitive". 47234 func (s DescribeNotebookInstanceOutput) GoString() string { 47235 return s.String() 47236 } 47237 47238 // SetAcceleratorTypes sets the AcceleratorTypes field's value. 47239 func (s *DescribeNotebookInstanceOutput) SetAcceleratorTypes(v []*string) *DescribeNotebookInstanceOutput { 47240 s.AcceleratorTypes = v 47241 return s 47242 } 47243 47244 // SetAdditionalCodeRepositories sets the AdditionalCodeRepositories field's value. 47245 func (s *DescribeNotebookInstanceOutput) SetAdditionalCodeRepositories(v []*string) *DescribeNotebookInstanceOutput { 47246 s.AdditionalCodeRepositories = v 47247 return s 47248 } 47249 47250 // SetCreationTime sets the CreationTime field's value. 47251 func (s *DescribeNotebookInstanceOutput) SetCreationTime(v time.Time) *DescribeNotebookInstanceOutput { 47252 s.CreationTime = &v 47253 return s 47254 } 47255 47256 // SetDefaultCodeRepository sets the DefaultCodeRepository field's value. 47257 func (s *DescribeNotebookInstanceOutput) SetDefaultCodeRepository(v string) *DescribeNotebookInstanceOutput { 47258 s.DefaultCodeRepository = &v 47259 return s 47260 } 47261 47262 // SetDirectInternetAccess sets the DirectInternetAccess field's value. 47263 func (s *DescribeNotebookInstanceOutput) SetDirectInternetAccess(v string) *DescribeNotebookInstanceOutput { 47264 s.DirectInternetAccess = &v 47265 return s 47266 } 47267 47268 // SetFailureReason sets the FailureReason field's value. 47269 func (s *DescribeNotebookInstanceOutput) SetFailureReason(v string) *DescribeNotebookInstanceOutput { 47270 s.FailureReason = &v 47271 return s 47272 } 47273 47274 // SetInstanceType sets the InstanceType field's value. 47275 func (s *DescribeNotebookInstanceOutput) SetInstanceType(v string) *DescribeNotebookInstanceOutput { 47276 s.InstanceType = &v 47277 return s 47278 } 47279 47280 // SetKmsKeyId sets the KmsKeyId field's value. 47281 func (s *DescribeNotebookInstanceOutput) SetKmsKeyId(v string) *DescribeNotebookInstanceOutput { 47282 s.KmsKeyId = &v 47283 return s 47284 } 47285 47286 // SetLastModifiedTime sets the LastModifiedTime field's value. 47287 func (s *DescribeNotebookInstanceOutput) SetLastModifiedTime(v time.Time) *DescribeNotebookInstanceOutput { 47288 s.LastModifiedTime = &v 47289 return s 47290 } 47291 47292 // SetNetworkInterfaceId sets the NetworkInterfaceId field's value. 47293 func (s *DescribeNotebookInstanceOutput) SetNetworkInterfaceId(v string) *DescribeNotebookInstanceOutput { 47294 s.NetworkInterfaceId = &v 47295 return s 47296 } 47297 47298 // SetNotebookInstanceArn sets the NotebookInstanceArn field's value. 47299 func (s *DescribeNotebookInstanceOutput) SetNotebookInstanceArn(v string) *DescribeNotebookInstanceOutput { 47300 s.NotebookInstanceArn = &v 47301 return s 47302 } 47303 47304 // SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value. 47305 func (s *DescribeNotebookInstanceOutput) SetNotebookInstanceLifecycleConfigName(v string) *DescribeNotebookInstanceOutput { 47306 s.NotebookInstanceLifecycleConfigName = &v 47307 return s 47308 } 47309 47310 // SetNotebookInstanceName sets the NotebookInstanceName field's value. 47311 func (s *DescribeNotebookInstanceOutput) SetNotebookInstanceName(v string) *DescribeNotebookInstanceOutput { 47312 s.NotebookInstanceName = &v 47313 return s 47314 } 47315 47316 // SetNotebookInstanceStatus sets the NotebookInstanceStatus field's value. 47317 func (s *DescribeNotebookInstanceOutput) SetNotebookInstanceStatus(v string) *DescribeNotebookInstanceOutput { 47318 s.NotebookInstanceStatus = &v 47319 return s 47320 } 47321 47322 // SetPlatformIdentifier sets the PlatformIdentifier field's value. 47323 func (s *DescribeNotebookInstanceOutput) SetPlatformIdentifier(v string) *DescribeNotebookInstanceOutput { 47324 s.PlatformIdentifier = &v 47325 return s 47326 } 47327 47328 // SetRoleArn sets the RoleArn field's value. 47329 func (s *DescribeNotebookInstanceOutput) SetRoleArn(v string) *DescribeNotebookInstanceOutput { 47330 s.RoleArn = &v 47331 return s 47332 } 47333 47334 // SetRootAccess sets the RootAccess field's value. 47335 func (s *DescribeNotebookInstanceOutput) SetRootAccess(v string) *DescribeNotebookInstanceOutput { 47336 s.RootAccess = &v 47337 return s 47338 } 47339 47340 // SetSecurityGroups sets the SecurityGroups field's value. 47341 func (s *DescribeNotebookInstanceOutput) SetSecurityGroups(v []*string) *DescribeNotebookInstanceOutput { 47342 s.SecurityGroups = v 47343 return s 47344 } 47345 47346 // SetSubnetId sets the SubnetId field's value. 47347 func (s *DescribeNotebookInstanceOutput) SetSubnetId(v string) *DescribeNotebookInstanceOutput { 47348 s.SubnetId = &v 47349 return s 47350 } 47351 47352 // SetUrl sets the Url field's value. 47353 func (s *DescribeNotebookInstanceOutput) SetUrl(v string) *DescribeNotebookInstanceOutput { 47354 s.Url = &v 47355 return s 47356 } 47357 47358 // SetVolumeSizeInGB sets the VolumeSizeInGB field's value. 47359 func (s *DescribeNotebookInstanceOutput) SetVolumeSizeInGB(v int64) *DescribeNotebookInstanceOutput { 47360 s.VolumeSizeInGB = &v 47361 return s 47362 } 47363 47364 type DescribePipelineDefinitionForExecutionInput struct { 47365 _ struct{} `type:"structure"` 47366 47367 // The Amazon Resource Name (ARN) of the pipeline execution. 47368 // 47369 // PipelineExecutionArn is a required field 47370 PipelineExecutionArn *string `type:"string" required:"true"` 47371 } 47372 47373 // String returns the string representation. 47374 // 47375 // API parameter values that are decorated as "sensitive" in the API will not 47376 // be included in the string output. The member name will be present, but the 47377 // value will be replaced with "sensitive". 47378 func (s DescribePipelineDefinitionForExecutionInput) String() string { 47379 return awsutil.Prettify(s) 47380 } 47381 47382 // GoString returns the string representation. 47383 // 47384 // API parameter values that are decorated as "sensitive" in the API will not 47385 // be included in the string output. The member name will be present, but the 47386 // value will be replaced with "sensitive". 47387 func (s DescribePipelineDefinitionForExecutionInput) GoString() string { 47388 return s.String() 47389 } 47390 47391 // Validate inspects the fields of the type to determine if they are valid. 47392 func (s *DescribePipelineDefinitionForExecutionInput) Validate() error { 47393 invalidParams := request.ErrInvalidParams{Context: "DescribePipelineDefinitionForExecutionInput"} 47394 if s.PipelineExecutionArn == nil { 47395 invalidParams.Add(request.NewErrParamRequired("PipelineExecutionArn")) 47396 } 47397 47398 if invalidParams.Len() > 0 { 47399 return invalidParams 47400 } 47401 return nil 47402 } 47403 47404 // SetPipelineExecutionArn sets the PipelineExecutionArn field's value. 47405 func (s *DescribePipelineDefinitionForExecutionInput) SetPipelineExecutionArn(v string) *DescribePipelineDefinitionForExecutionInput { 47406 s.PipelineExecutionArn = &v 47407 return s 47408 } 47409 47410 type DescribePipelineDefinitionForExecutionOutput struct { 47411 _ struct{} `type:"structure"` 47412 47413 // The time when the pipeline was created. 47414 CreationTime *time.Time `type:"timestamp"` 47415 47416 // The JSON pipeline definition. 47417 PipelineDefinition *string `min:"1" type:"string"` 47418 } 47419 47420 // String returns the string representation. 47421 // 47422 // API parameter values that are decorated as "sensitive" in the API will not 47423 // be included in the string output. The member name will be present, but the 47424 // value will be replaced with "sensitive". 47425 func (s DescribePipelineDefinitionForExecutionOutput) String() string { 47426 return awsutil.Prettify(s) 47427 } 47428 47429 // GoString returns the string representation. 47430 // 47431 // API parameter values that are decorated as "sensitive" in the API will not 47432 // be included in the string output. The member name will be present, but the 47433 // value will be replaced with "sensitive". 47434 func (s DescribePipelineDefinitionForExecutionOutput) GoString() string { 47435 return s.String() 47436 } 47437 47438 // SetCreationTime sets the CreationTime field's value. 47439 func (s *DescribePipelineDefinitionForExecutionOutput) SetCreationTime(v time.Time) *DescribePipelineDefinitionForExecutionOutput { 47440 s.CreationTime = &v 47441 return s 47442 } 47443 47444 // SetPipelineDefinition sets the PipelineDefinition field's value. 47445 func (s *DescribePipelineDefinitionForExecutionOutput) SetPipelineDefinition(v string) *DescribePipelineDefinitionForExecutionOutput { 47446 s.PipelineDefinition = &v 47447 return s 47448 } 47449 47450 type DescribePipelineExecutionInput struct { 47451 _ struct{} `type:"structure"` 47452 47453 // The Amazon Resource Name (ARN) of the pipeline execution. 47454 // 47455 // PipelineExecutionArn is a required field 47456 PipelineExecutionArn *string `type:"string" required:"true"` 47457 } 47458 47459 // String returns the string representation. 47460 // 47461 // API parameter values that are decorated as "sensitive" in the API will not 47462 // be included in the string output. The member name will be present, but the 47463 // value will be replaced with "sensitive". 47464 func (s DescribePipelineExecutionInput) String() string { 47465 return awsutil.Prettify(s) 47466 } 47467 47468 // GoString returns the string representation. 47469 // 47470 // API parameter values that are decorated as "sensitive" in the API will not 47471 // be included in the string output. The member name will be present, but the 47472 // value will be replaced with "sensitive". 47473 func (s DescribePipelineExecutionInput) GoString() string { 47474 return s.String() 47475 } 47476 47477 // Validate inspects the fields of the type to determine if they are valid. 47478 func (s *DescribePipelineExecutionInput) Validate() error { 47479 invalidParams := request.ErrInvalidParams{Context: "DescribePipelineExecutionInput"} 47480 if s.PipelineExecutionArn == nil { 47481 invalidParams.Add(request.NewErrParamRequired("PipelineExecutionArn")) 47482 } 47483 47484 if invalidParams.Len() > 0 { 47485 return invalidParams 47486 } 47487 return nil 47488 } 47489 47490 // SetPipelineExecutionArn sets the PipelineExecutionArn field's value. 47491 func (s *DescribePipelineExecutionInput) SetPipelineExecutionArn(v string) *DescribePipelineExecutionInput { 47492 s.PipelineExecutionArn = &v 47493 return s 47494 } 47495 47496 type DescribePipelineExecutionOutput struct { 47497 _ struct{} `type:"structure"` 47498 47499 // Information about the user who created or modified an experiment, trial, 47500 // trial component, or project. 47501 CreatedBy *UserContext `type:"structure"` 47502 47503 // The time when the pipeline execution was created. 47504 CreationTime *time.Time `type:"timestamp"` 47505 47506 // If the execution failed, a message describing why. 47507 FailureReason *string `type:"string"` 47508 47509 // Information about the user who created or modified an experiment, trial, 47510 // trial component, or project. 47511 LastModifiedBy *UserContext `type:"structure"` 47512 47513 // The time when the pipeline execution was modified last. 47514 LastModifiedTime *time.Time `type:"timestamp"` 47515 47516 // The Amazon Resource Name (ARN) of the pipeline. 47517 PipelineArn *string `type:"string"` 47518 47519 // The Amazon Resource Name (ARN) of the pipeline execution. 47520 PipelineExecutionArn *string `type:"string"` 47521 47522 // The description of the pipeline execution. 47523 PipelineExecutionDescription *string `type:"string"` 47524 47525 // The display name of the pipeline execution. 47526 PipelineExecutionDisplayName *string `min:"1" type:"string"` 47527 47528 // The status of the pipeline execution. 47529 PipelineExecutionStatus *string `type:"string" enum:"PipelineExecutionStatus"` 47530 47531 // Specifies the names of the experiment and trial created by a pipeline. 47532 PipelineExperimentConfig *PipelineExperimentConfig `type:"structure"` 47533 } 47534 47535 // String returns the string representation. 47536 // 47537 // API parameter values that are decorated as "sensitive" in the API will not 47538 // be included in the string output. The member name will be present, but the 47539 // value will be replaced with "sensitive". 47540 func (s DescribePipelineExecutionOutput) String() string { 47541 return awsutil.Prettify(s) 47542 } 47543 47544 // GoString returns the string representation. 47545 // 47546 // API parameter values that are decorated as "sensitive" in the API will not 47547 // be included in the string output. The member name will be present, but the 47548 // value will be replaced with "sensitive". 47549 func (s DescribePipelineExecutionOutput) GoString() string { 47550 return s.String() 47551 } 47552 47553 // SetCreatedBy sets the CreatedBy field's value. 47554 func (s *DescribePipelineExecutionOutput) SetCreatedBy(v *UserContext) *DescribePipelineExecutionOutput { 47555 s.CreatedBy = v 47556 return s 47557 } 47558 47559 // SetCreationTime sets the CreationTime field's value. 47560 func (s *DescribePipelineExecutionOutput) SetCreationTime(v time.Time) *DescribePipelineExecutionOutput { 47561 s.CreationTime = &v 47562 return s 47563 } 47564 47565 // SetFailureReason sets the FailureReason field's value. 47566 func (s *DescribePipelineExecutionOutput) SetFailureReason(v string) *DescribePipelineExecutionOutput { 47567 s.FailureReason = &v 47568 return s 47569 } 47570 47571 // SetLastModifiedBy sets the LastModifiedBy field's value. 47572 func (s *DescribePipelineExecutionOutput) SetLastModifiedBy(v *UserContext) *DescribePipelineExecutionOutput { 47573 s.LastModifiedBy = v 47574 return s 47575 } 47576 47577 // SetLastModifiedTime sets the LastModifiedTime field's value. 47578 func (s *DescribePipelineExecutionOutput) SetLastModifiedTime(v time.Time) *DescribePipelineExecutionOutput { 47579 s.LastModifiedTime = &v 47580 return s 47581 } 47582 47583 // SetPipelineArn sets the PipelineArn field's value. 47584 func (s *DescribePipelineExecutionOutput) SetPipelineArn(v string) *DescribePipelineExecutionOutput { 47585 s.PipelineArn = &v 47586 return s 47587 } 47588 47589 // SetPipelineExecutionArn sets the PipelineExecutionArn field's value. 47590 func (s *DescribePipelineExecutionOutput) SetPipelineExecutionArn(v string) *DescribePipelineExecutionOutput { 47591 s.PipelineExecutionArn = &v 47592 return s 47593 } 47594 47595 // SetPipelineExecutionDescription sets the PipelineExecutionDescription field's value. 47596 func (s *DescribePipelineExecutionOutput) SetPipelineExecutionDescription(v string) *DescribePipelineExecutionOutput { 47597 s.PipelineExecutionDescription = &v 47598 return s 47599 } 47600 47601 // SetPipelineExecutionDisplayName sets the PipelineExecutionDisplayName field's value. 47602 func (s *DescribePipelineExecutionOutput) SetPipelineExecutionDisplayName(v string) *DescribePipelineExecutionOutput { 47603 s.PipelineExecutionDisplayName = &v 47604 return s 47605 } 47606 47607 // SetPipelineExecutionStatus sets the PipelineExecutionStatus field's value. 47608 func (s *DescribePipelineExecutionOutput) SetPipelineExecutionStatus(v string) *DescribePipelineExecutionOutput { 47609 s.PipelineExecutionStatus = &v 47610 return s 47611 } 47612 47613 // SetPipelineExperimentConfig sets the PipelineExperimentConfig field's value. 47614 func (s *DescribePipelineExecutionOutput) SetPipelineExperimentConfig(v *PipelineExperimentConfig) *DescribePipelineExecutionOutput { 47615 s.PipelineExperimentConfig = v 47616 return s 47617 } 47618 47619 type DescribePipelineInput struct { 47620 _ struct{} `type:"structure"` 47621 47622 // The name of the pipeline to describe. 47623 // 47624 // PipelineName is a required field 47625 PipelineName *string `min:"1" type:"string" required:"true"` 47626 } 47627 47628 // String returns the string representation. 47629 // 47630 // API parameter values that are decorated as "sensitive" in the API will not 47631 // be included in the string output. The member name will be present, but the 47632 // value will be replaced with "sensitive". 47633 func (s DescribePipelineInput) String() string { 47634 return awsutil.Prettify(s) 47635 } 47636 47637 // GoString returns the string representation. 47638 // 47639 // API parameter values that are decorated as "sensitive" in the API will not 47640 // be included in the string output. The member name will be present, but the 47641 // value will be replaced with "sensitive". 47642 func (s DescribePipelineInput) GoString() string { 47643 return s.String() 47644 } 47645 47646 // Validate inspects the fields of the type to determine if they are valid. 47647 func (s *DescribePipelineInput) Validate() error { 47648 invalidParams := request.ErrInvalidParams{Context: "DescribePipelineInput"} 47649 if s.PipelineName == nil { 47650 invalidParams.Add(request.NewErrParamRequired("PipelineName")) 47651 } 47652 if s.PipelineName != nil && len(*s.PipelineName) < 1 { 47653 invalidParams.Add(request.NewErrParamMinLen("PipelineName", 1)) 47654 } 47655 47656 if invalidParams.Len() > 0 { 47657 return invalidParams 47658 } 47659 return nil 47660 } 47661 47662 // SetPipelineName sets the PipelineName field's value. 47663 func (s *DescribePipelineInput) SetPipelineName(v string) *DescribePipelineInput { 47664 s.PipelineName = &v 47665 return s 47666 } 47667 47668 type DescribePipelineOutput struct { 47669 _ struct{} `type:"structure"` 47670 47671 // Information about the user who created or modified an experiment, trial, 47672 // trial component, or project. 47673 CreatedBy *UserContext `type:"structure"` 47674 47675 // The time when the pipeline was created. 47676 CreationTime *time.Time `type:"timestamp"` 47677 47678 // Information about the user who created or modified an experiment, trial, 47679 // trial component, or project. 47680 LastModifiedBy *UserContext `type:"structure"` 47681 47682 // The time when the pipeline was last modified. 47683 LastModifiedTime *time.Time `type:"timestamp"` 47684 47685 // The time when the pipeline was last run. 47686 LastRunTime *time.Time `type:"timestamp"` 47687 47688 // The Amazon Resource Name (ARN) of the pipeline. 47689 PipelineArn *string `type:"string"` 47690 47691 // The JSON pipeline definition. 47692 PipelineDefinition *string `min:"1" type:"string"` 47693 47694 // The description of the pipeline. 47695 PipelineDescription *string `type:"string"` 47696 47697 // The display name of the pipeline. 47698 PipelineDisplayName *string `min:"1" type:"string"` 47699 47700 // The name of the pipeline. 47701 PipelineName *string `min:"1" type:"string"` 47702 47703 // The status of the pipeline execution. 47704 PipelineStatus *string `type:"string" enum:"PipelineStatus"` 47705 47706 // The Amazon Resource Name (ARN) that the pipeline uses to execute. 47707 RoleArn *string `min:"20" type:"string"` 47708 } 47709 47710 // String returns the string representation. 47711 // 47712 // API parameter values that are decorated as "sensitive" in the API will not 47713 // be included in the string output. The member name will be present, but the 47714 // value will be replaced with "sensitive". 47715 func (s DescribePipelineOutput) String() string { 47716 return awsutil.Prettify(s) 47717 } 47718 47719 // GoString returns the string representation. 47720 // 47721 // API parameter values that are decorated as "sensitive" in the API will not 47722 // be included in the string output. The member name will be present, but the 47723 // value will be replaced with "sensitive". 47724 func (s DescribePipelineOutput) GoString() string { 47725 return s.String() 47726 } 47727 47728 // SetCreatedBy sets the CreatedBy field's value. 47729 func (s *DescribePipelineOutput) SetCreatedBy(v *UserContext) *DescribePipelineOutput { 47730 s.CreatedBy = v 47731 return s 47732 } 47733 47734 // SetCreationTime sets the CreationTime field's value. 47735 func (s *DescribePipelineOutput) SetCreationTime(v time.Time) *DescribePipelineOutput { 47736 s.CreationTime = &v 47737 return s 47738 } 47739 47740 // SetLastModifiedBy sets the LastModifiedBy field's value. 47741 func (s *DescribePipelineOutput) SetLastModifiedBy(v *UserContext) *DescribePipelineOutput { 47742 s.LastModifiedBy = v 47743 return s 47744 } 47745 47746 // SetLastModifiedTime sets the LastModifiedTime field's value. 47747 func (s *DescribePipelineOutput) SetLastModifiedTime(v time.Time) *DescribePipelineOutput { 47748 s.LastModifiedTime = &v 47749 return s 47750 } 47751 47752 // SetLastRunTime sets the LastRunTime field's value. 47753 func (s *DescribePipelineOutput) SetLastRunTime(v time.Time) *DescribePipelineOutput { 47754 s.LastRunTime = &v 47755 return s 47756 } 47757 47758 // SetPipelineArn sets the PipelineArn field's value. 47759 func (s *DescribePipelineOutput) SetPipelineArn(v string) *DescribePipelineOutput { 47760 s.PipelineArn = &v 47761 return s 47762 } 47763 47764 // SetPipelineDefinition sets the PipelineDefinition field's value. 47765 func (s *DescribePipelineOutput) SetPipelineDefinition(v string) *DescribePipelineOutput { 47766 s.PipelineDefinition = &v 47767 return s 47768 } 47769 47770 // SetPipelineDescription sets the PipelineDescription field's value. 47771 func (s *DescribePipelineOutput) SetPipelineDescription(v string) *DescribePipelineOutput { 47772 s.PipelineDescription = &v 47773 return s 47774 } 47775 47776 // SetPipelineDisplayName sets the PipelineDisplayName field's value. 47777 func (s *DescribePipelineOutput) SetPipelineDisplayName(v string) *DescribePipelineOutput { 47778 s.PipelineDisplayName = &v 47779 return s 47780 } 47781 47782 // SetPipelineName sets the PipelineName field's value. 47783 func (s *DescribePipelineOutput) SetPipelineName(v string) *DescribePipelineOutput { 47784 s.PipelineName = &v 47785 return s 47786 } 47787 47788 // SetPipelineStatus sets the PipelineStatus field's value. 47789 func (s *DescribePipelineOutput) SetPipelineStatus(v string) *DescribePipelineOutput { 47790 s.PipelineStatus = &v 47791 return s 47792 } 47793 47794 // SetRoleArn sets the RoleArn field's value. 47795 func (s *DescribePipelineOutput) SetRoleArn(v string) *DescribePipelineOutput { 47796 s.RoleArn = &v 47797 return s 47798 } 47799 47800 type DescribeProcessingJobInput struct { 47801 _ struct{} `type:"structure"` 47802 47803 // The name of the processing job. The name must be unique within an Amazon 47804 // Web Services Region in the Amazon Web Services account. 47805 // 47806 // ProcessingJobName is a required field 47807 ProcessingJobName *string `min:"1" type:"string" required:"true"` 47808 } 47809 47810 // String returns the string representation. 47811 // 47812 // API parameter values that are decorated as "sensitive" in the API will not 47813 // be included in the string output. The member name will be present, but the 47814 // value will be replaced with "sensitive". 47815 func (s DescribeProcessingJobInput) String() string { 47816 return awsutil.Prettify(s) 47817 } 47818 47819 // GoString returns the string representation. 47820 // 47821 // API parameter values that are decorated as "sensitive" in the API will not 47822 // be included in the string output. The member name will be present, but the 47823 // value will be replaced with "sensitive". 47824 func (s DescribeProcessingJobInput) GoString() string { 47825 return s.String() 47826 } 47827 47828 // Validate inspects the fields of the type to determine if they are valid. 47829 func (s *DescribeProcessingJobInput) Validate() error { 47830 invalidParams := request.ErrInvalidParams{Context: "DescribeProcessingJobInput"} 47831 if s.ProcessingJobName == nil { 47832 invalidParams.Add(request.NewErrParamRequired("ProcessingJobName")) 47833 } 47834 if s.ProcessingJobName != nil && len(*s.ProcessingJobName) < 1 { 47835 invalidParams.Add(request.NewErrParamMinLen("ProcessingJobName", 1)) 47836 } 47837 47838 if invalidParams.Len() > 0 { 47839 return invalidParams 47840 } 47841 return nil 47842 } 47843 47844 // SetProcessingJobName sets the ProcessingJobName field's value. 47845 func (s *DescribeProcessingJobInput) SetProcessingJobName(v string) *DescribeProcessingJobInput { 47846 s.ProcessingJobName = &v 47847 return s 47848 } 47849 47850 type DescribeProcessingJobOutput struct { 47851 _ struct{} `type:"structure"` 47852 47853 // Configures the processing job to run a specified container image. 47854 // 47855 // AppSpecification is a required field 47856 AppSpecification *AppSpecification `type:"structure" required:"true"` 47857 47858 // The ARN of an AutoML job associated with this processing job. 47859 AutoMLJobArn *string `min:"1" type:"string"` 47860 47861 // The time at which the processing job was created. 47862 // 47863 // CreationTime is a required field 47864 CreationTime *time.Time `type:"timestamp" required:"true"` 47865 47866 // The environment variables set in the Docker container. 47867 Environment map[string]*string `type:"map"` 47868 47869 // An optional string, up to one KB in size, that contains metadata from the 47870 // processing container when the processing job exits. 47871 ExitMessage *string `type:"string"` 47872 47873 // The configuration information used to create an experiment. 47874 ExperimentConfig *ExperimentConfig `type:"structure"` 47875 47876 // A string, up to one KB in size, that contains the reason a processing job 47877 // failed, if it failed. 47878 FailureReason *string `type:"string"` 47879 47880 // The time at which the processing job was last modified. 47881 LastModifiedTime *time.Time `type:"timestamp"` 47882 47883 // The ARN of a monitoring schedule for an endpoint associated with this processing 47884 // job. 47885 MonitoringScheduleArn *string `type:"string"` 47886 47887 // Networking options for a processing job. 47888 NetworkConfig *NetworkConfig `type:"structure"` 47889 47890 // The time at which the processing job completed. 47891 ProcessingEndTime *time.Time `type:"timestamp"` 47892 47893 // The inputs for a processing job. 47894 ProcessingInputs []*ProcessingInput `type:"list"` 47895 47896 // The Amazon Resource Name (ARN) of the processing job. 47897 // 47898 // ProcessingJobArn is a required field 47899 ProcessingJobArn *string `type:"string" required:"true"` 47900 47901 // The name of the processing job. The name must be unique within an Amazon 47902 // Web Services Region in the Amazon Web Services account. 47903 // 47904 // ProcessingJobName is a required field 47905 ProcessingJobName *string `min:"1" type:"string" required:"true"` 47906 47907 // Provides the status of a processing job. 47908 // 47909 // ProcessingJobStatus is a required field 47910 ProcessingJobStatus *string `type:"string" required:"true" enum:"ProcessingJobStatus"` 47911 47912 // Output configuration for the processing job. 47913 ProcessingOutputConfig *ProcessingOutputConfig `type:"structure"` 47914 47915 // Identifies the resources, ML compute instances, and ML storage volumes to 47916 // deploy for a processing job. In distributed training, you specify more than 47917 // one instance. 47918 // 47919 // ProcessingResources is a required field 47920 ProcessingResources *ProcessingResources `type:"structure" required:"true"` 47921 47922 // The time at which the processing job started. 47923 ProcessingStartTime *time.Time `type:"timestamp"` 47924 47925 // The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume 47926 // to perform tasks on your behalf. 47927 RoleArn *string `min:"20" type:"string"` 47928 47929 // The time limit for how long the processing job is allowed to run. 47930 StoppingCondition *ProcessingStoppingCondition `type:"structure"` 47931 47932 // The ARN of a training job associated with this processing job. 47933 TrainingJobArn *string `type:"string"` 47934 } 47935 47936 // String returns the string representation. 47937 // 47938 // API parameter values that are decorated as "sensitive" in the API will not 47939 // be included in the string output. The member name will be present, but the 47940 // value will be replaced with "sensitive". 47941 func (s DescribeProcessingJobOutput) String() string { 47942 return awsutil.Prettify(s) 47943 } 47944 47945 // GoString returns the string representation. 47946 // 47947 // API parameter values that are decorated as "sensitive" in the API will not 47948 // be included in the string output. The member name will be present, but the 47949 // value will be replaced with "sensitive". 47950 func (s DescribeProcessingJobOutput) GoString() string { 47951 return s.String() 47952 } 47953 47954 // SetAppSpecification sets the AppSpecification field's value. 47955 func (s *DescribeProcessingJobOutput) SetAppSpecification(v *AppSpecification) *DescribeProcessingJobOutput { 47956 s.AppSpecification = v 47957 return s 47958 } 47959 47960 // SetAutoMLJobArn sets the AutoMLJobArn field's value. 47961 func (s *DescribeProcessingJobOutput) SetAutoMLJobArn(v string) *DescribeProcessingJobOutput { 47962 s.AutoMLJobArn = &v 47963 return s 47964 } 47965 47966 // SetCreationTime sets the CreationTime field's value. 47967 func (s *DescribeProcessingJobOutput) SetCreationTime(v time.Time) *DescribeProcessingJobOutput { 47968 s.CreationTime = &v 47969 return s 47970 } 47971 47972 // SetEnvironment sets the Environment field's value. 47973 func (s *DescribeProcessingJobOutput) SetEnvironment(v map[string]*string) *DescribeProcessingJobOutput { 47974 s.Environment = v 47975 return s 47976 } 47977 47978 // SetExitMessage sets the ExitMessage field's value. 47979 func (s *DescribeProcessingJobOutput) SetExitMessage(v string) *DescribeProcessingJobOutput { 47980 s.ExitMessage = &v 47981 return s 47982 } 47983 47984 // SetExperimentConfig sets the ExperimentConfig field's value. 47985 func (s *DescribeProcessingJobOutput) SetExperimentConfig(v *ExperimentConfig) *DescribeProcessingJobOutput { 47986 s.ExperimentConfig = v 47987 return s 47988 } 47989 47990 // SetFailureReason sets the FailureReason field's value. 47991 func (s *DescribeProcessingJobOutput) SetFailureReason(v string) *DescribeProcessingJobOutput { 47992 s.FailureReason = &v 47993 return s 47994 } 47995 47996 // SetLastModifiedTime sets the LastModifiedTime field's value. 47997 func (s *DescribeProcessingJobOutput) SetLastModifiedTime(v time.Time) *DescribeProcessingJobOutput { 47998 s.LastModifiedTime = &v 47999 return s 48000 } 48001 48002 // SetMonitoringScheduleArn sets the MonitoringScheduleArn field's value. 48003 func (s *DescribeProcessingJobOutput) SetMonitoringScheduleArn(v string) *DescribeProcessingJobOutput { 48004 s.MonitoringScheduleArn = &v 48005 return s 48006 } 48007 48008 // SetNetworkConfig sets the NetworkConfig field's value. 48009 func (s *DescribeProcessingJobOutput) SetNetworkConfig(v *NetworkConfig) *DescribeProcessingJobOutput { 48010 s.NetworkConfig = v 48011 return s 48012 } 48013 48014 // SetProcessingEndTime sets the ProcessingEndTime field's value. 48015 func (s *DescribeProcessingJobOutput) SetProcessingEndTime(v time.Time) *DescribeProcessingJobOutput { 48016 s.ProcessingEndTime = &v 48017 return s 48018 } 48019 48020 // SetProcessingInputs sets the ProcessingInputs field's value. 48021 func (s *DescribeProcessingJobOutput) SetProcessingInputs(v []*ProcessingInput) *DescribeProcessingJobOutput { 48022 s.ProcessingInputs = v 48023 return s 48024 } 48025 48026 // SetProcessingJobArn sets the ProcessingJobArn field's value. 48027 func (s *DescribeProcessingJobOutput) SetProcessingJobArn(v string) *DescribeProcessingJobOutput { 48028 s.ProcessingJobArn = &v 48029 return s 48030 } 48031 48032 // SetProcessingJobName sets the ProcessingJobName field's value. 48033 func (s *DescribeProcessingJobOutput) SetProcessingJobName(v string) *DescribeProcessingJobOutput { 48034 s.ProcessingJobName = &v 48035 return s 48036 } 48037 48038 // SetProcessingJobStatus sets the ProcessingJobStatus field's value. 48039 func (s *DescribeProcessingJobOutput) SetProcessingJobStatus(v string) *DescribeProcessingJobOutput { 48040 s.ProcessingJobStatus = &v 48041 return s 48042 } 48043 48044 // SetProcessingOutputConfig sets the ProcessingOutputConfig field's value. 48045 func (s *DescribeProcessingJobOutput) SetProcessingOutputConfig(v *ProcessingOutputConfig) *DescribeProcessingJobOutput { 48046 s.ProcessingOutputConfig = v 48047 return s 48048 } 48049 48050 // SetProcessingResources sets the ProcessingResources field's value. 48051 func (s *DescribeProcessingJobOutput) SetProcessingResources(v *ProcessingResources) *DescribeProcessingJobOutput { 48052 s.ProcessingResources = v 48053 return s 48054 } 48055 48056 // SetProcessingStartTime sets the ProcessingStartTime field's value. 48057 func (s *DescribeProcessingJobOutput) SetProcessingStartTime(v time.Time) *DescribeProcessingJobOutput { 48058 s.ProcessingStartTime = &v 48059 return s 48060 } 48061 48062 // SetRoleArn sets the RoleArn field's value. 48063 func (s *DescribeProcessingJobOutput) SetRoleArn(v string) *DescribeProcessingJobOutput { 48064 s.RoleArn = &v 48065 return s 48066 } 48067 48068 // SetStoppingCondition sets the StoppingCondition field's value. 48069 func (s *DescribeProcessingJobOutput) SetStoppingCondition(v *ProcessingStoppingCondition) *DescribeProcessingJobOutput { 48070 s.StoppingCondition = v 48071 return s 48072 } 48073 48074 // SetTrainingJobArn sets the TrainingJobArn field's value. 48075 func (s *DescribeProcessingJobOutput) SetTrainingJobArn(v string) *DescribeProcessingJobOutput { 48076 s.TrainingJobArn = &v 48077 return s 48078 } 48079 48080 type DescribeProjectInput struct { 48081 _ struct{} `type:"structure"` 48082 48083 // The name of the project to describe. 48084 // 48085 // ProjectName is a required field 48086 ProjectName *string `min:"1" type:"string" required:"true"` 48087 } 48088 48089 // String returns the string representation. 48090 // 48091 // API parameter values that are decorated as "sensitive" in the API will not 48092 // be included in the string output. The member name will be present, but the 48093 // value will be replaced with "sensitive". 48094 func (s DescribeProjectInput) String() string { 48095 return awsutil.Prettify(s) 48096 } 48097 48098 // GoString returns the string representation. 48099 // 48100 // API parameter values that are decorated as "sensitive" in the API will not 48101 // be included in the string output. The member name will be present, but the 48102 // value will be replaced with "sensitive". 48103 func (s DescribeProjectInput) GoString() string { 48104 return s.String() 48105 } 48106 48107 // Validate inspects the fields of the type to determine if they are valid. 48108 func (s *DescribeProjectInput) Validate() error { 48109 invalidParams := request.ErrInvalidParams{Context: "DescribeProjectInput"} 48110 if s.ProjectName == nil { 48111 invalidParams.Add(request.NewErrParamRequired("ProjectName")) 48112 } 48113 if s.ProjectName != nil && len(*s.ProjectName) < 1 { 48114 invalidParams.Add(request.NewErrParamMinLen("ProjectName", 1)) 48115 } 48116 48117 if invalidParams.Len() > 0 { 48118 return invalidParams 48119 } 48120 return nil 48121 } 48122 48123 // SetProjectName sets the ProjectName field's value. 48124 func (s *DescribeProjectInput) SetProjectName(v string) *DescribeProjectInput { 48125 s.ProjectName = &v 48126 return s 48127 } 48128 48129 type DescribeProjectOutput struct { 48130 _ struct{} `type:"structure"` 48131 48132 // Information about the user who created or modified an experiment, trial, 48133 // trial component, or project. 48134 CreatedBy *UserContext `type:"structure"` 48135 48136 // The time when the project was created. 48137 // 48138 // CreationTime is a required field 48139 CreationTime *time.Time `type:"timestamp" required:"true"` 48140 48141 // The Amazon Resource Name (ARN) of the project. 48142 // 48143 // ProjectArn is a required field 48144 ProjectArn *string `min:"1" type:"string" required:"true"` 48145 48146 // The description of the project. 48147 ProjectDescription *string `type:"string"` 48148 48149 // The ID of the project. 48150 // 48151 // ProjectId is a required field 48152 ProjectId *string `min:"1" type:"string" required:"true"` 48153 48154 // The name of the project. 48155 // 48156 // ProjectName is a required field 48157 ProjectName *string `min:"1" type:"string" required:"true"` 48158 48159 // The status of the project. 48160 // 48161 // ProjectStatus is a required field 48162 ProjectStatus *string `type:"string" required:"true" enum:"ProjectStatus"` 48163 48164 // Information about a provisioned service catalog product. 48165 ServiceCatalogProvisionedProductDetails *ServiceCatalogProvisionedProductDetails `type:"structure"` 48166 48167 // Information used to provision a service catalog product. For information, 48168 // see What is Amazon Web Services Service Catalog (https://docs.aws.amazon.com/servicecatalog/latest/adminguide/introduction.html). 48169 // 48170 // ServiceCatalogProvisioningDetails is a required field 48171 ServiceCatalogProvisioningDetails *ServiceCatalogProvisioningDetails `type:"structure" required:"true"` 48172 } 48173 48174 // String returns the string representation. 48175 // 48176 // API parameter values that are decorated as "sensitive" in the API will not 48177 // be included in the string output. The member name will be present, but the 48178 // value will be replaced with "sensitive". 48179 func (s DescribeProjectOutput) String() string { 48180 return awsutil.Prettify(s) 48181 } 48182 48183 // GoString returns the string representation. 48184 // 48185 // API parameter values that are decorated as "sensitive" in the API will not 48186 // be included in the string output. The member name will be present, but the 48187 // value will be replaced with "sensitive". 48188 func (s DescribeProjectOutput) GoString() string { 48189 return s.String() 48190 } 48191 48192 // SetCreatedBy sets the CreatedBy field's value. 48193 func (s *DescribeProjectOutput) SetCreatedBy(v *UserContext) *DescribeProjectOutput { 48194 s.CreatedBy = v 48195 return s 48196 } 48197 48198 // SetCreationTime sets the CreationTime field's value. 48199 func (s *DescribeProjectOutput) SetCreationTime(v time.Time) *DescribeProjectOutput { 48200 s.CreationTime = &v 48201 return s 48202 } 48203 48204 // SetProjectArn sets the ProjectArn field's value. 48205 func (s *DescribeProjectOutput) SetProjectArn(v string) *DescribeProjectOutput { 48206 s.ProjectArn = &v 48207 return s 48208 } 48209 48210 // SetProjectDescription sets the ProjectDescription field's value. 48211 func (s *DescribeProjectOutput) SetProjectDescription(v string) *DescribeProjectOutput { 48212 s.ProjectDescription = &v 48213 return s 48214 } 48215 48216 // SetProjectId sets the ProjectId field's value. 48217 func (s *DescribeProjectOutput) SetProjectId(v string) *DescribeProjectOutput { 48218 s.ProjectId = &v 48219 return s 48220 } 48221 48222 // SetProjectName sets the ProjectName field's value. 48223 func (s *DescribeProjectOutput) SetProjectName(v string) *DescribeProjectOutput { 48224 s.ProjectName = &v 48225 return s 48226 } 48227 48228 // SetProjectStatus sets the ProjectStatus field's value. 48229 func (s *DescribeProjectOutput) SetProjectStatus(v string) *DescribeProjectOutput { 48230 s.ProjectStatus = &v 48231 return s 48232 } 48233 48234 // SetServiceCatalogProvisionedProductDetails sets the ServiceCatalogProvisionedProductDetails field's value. 48235 func (s *DescribeProjectOutput) SetServiceCatalogProvisionedProductDetails(v *ServiceCatalogProvisionedProductDetails) *DescribeProjectOutput { 48236 s.ServiceCatalogProvisionedProductDetails = v 48237 return s 48238 } 48239 48240 // SetServiceCatalogProvisioningDetails sets the ServiceCatalogProvisioningDetails field's value. 48241 func (s *DescribeProjectOutput) SetServiceCatalogProvisioningDetails(v *ServiceCatalogProvisioningDetails) *DescribeProjectOutput { 48242 s.ServiceCatalogProvisioningDetails = v 48243 return s 48244 } 48245 48246 type DescribeStudioLifecycleConfigInput struct { 48247 _ struct{} `type:"structure"` 48248 48249 // The name of the Studio Lifecycle Configuration to describe. 48250 // 48251 // StudioLifecycleConfigName is a required field 48252 StudioLifecycleConfigName *string `type:"string" required:"true"` 48253 } 48254 48255 // String returns the string representation. 48256 // 48257 // API parameter values that are decorated as "sensitive" in the API will not 48258 // be included in the string output. The member name will be present, but the 48259 // value will be replaced with "sensitive". 48260 func (s DescribeStudioLifecycleConfigInput) String() string { 48261 return awsutil.Prettify(s) 48262 } 48263 48264 // GoString returns the string representation. 48265 // 48266 // API parameter values that are decorated as "sensitive" in the API will not 48267 // be included in the string output. The member name will be present, but the 48268 // value will be replaced with "sensitive". 48269 func (s DescribeStudioLifecycleConfigInput) GoString() string { 48270 return s.String() 48271 } 48272 48273 // Validate inspects the fields of the type to determine if they are valid. 48274 func (s *DescribeStudioLifecycleConfigInput) Validate() error { 48275 invalidParams := request.ErrInvalidParams{Context: "DescribeStudioLifecycleConfigInput"} 48276 if s.StudioLifecycleConfigName == nil { 48277 invalidParams.Add(request.NewErrParamRequired("StudioLifecycleConfigName")) 48278 } 48279 48280 if invalidParams.Len() > 0 { 48281 return invalidParams 48282 } 48283 return nil 48284 } 48285 48286 // SetStudioLifecycleConfigName sets the StudioLifecycleConfigName field's value. 48287 func (s *DescribeStudioLifecycleConfigInput) SetStudioLifecycleConfigName(v string) *DescribeStudioLifecycleConfigInput { 48288 s.StudioLifecycleConfigName = &v 48289 return s 48290 } 48291 48292 type DescribeStudioLifecycleConfigOutput struct { 48293 _ struct{} `type:"structure"` 48294 48295 // The creation time of the Studio Lifecycle Configuration. 48296 CreationTime *time.Time `type:"timestamp"` 48297 48298 // This value is equivalent to CreationTime because Studio Lifecycle Configurations 48299 // are immutable. 48300 LastModifiedTime *time.Time `type:"timestamp"` 48301 48302 // The App type that the Lifecycle Configuration is attached to. 48303 StudioLifecycleConfigAppType *string `type:"string" enum:"StudioLifecycleConfigAppType"` 48304 48305 // The ARN of the Lifecycle Configuration to describe. 48306 StudioLifecycleConfigArn *string `type:"string"` 48307 48308 // The content of your Studio Lifecycle Configuration script. 48309 StudioLifecycleConfigContent *string `min:"1" type:"string"` 48310 48311 // The name of the Studio Lifecycle Configuration that is described. 48312 StudioLifecycleConfigName *string `type:"string"` 48313 } 48314 48315 // String returns the string representation. 48316 // 48317 // API parameter values that are decorated as "sensitive" in the API will not 48318 // be included in the string output. The member name will be present, but the 48319 // value will be replaced with "sensitive". 48320 func (s DescribeStudioLifecycleConfigOutput) String() string { 48321 return awsutil.Prettify(s) 48322 } 48323 48324 // GoString returns the string representation. 48325 // 48326 // API parameter values that are decorated as "sensitive" in the API will not 48327 // be included in the string output. The member name will be present, but the 48328 // value will be replaced with "sensitive". 48329 func (s DescribeStudioLifecycleConfigOutput) GoString() string { 48330 return s.String() 48331 } 48332 48333 // SetCreationTime sets the CreationTime field's value. 48334 func (s *DescribeStudioLifecycleConfigOutput) SetCreationTime(v time.Time) *DescribeStudioLifecycleConfigOutput { 48335 s.CreationTime = &v 48336 return s 48337 } 48338 48339 // SetLastModifiedTime sets the LastModifiedTime field's value. 48340 func (s *DescribeStudioLifecycleConfigOutput) SetLastModifiedTime(v time.Time) *DescribeStudioLifecycleConfigOutput { 48341 s.LastModifiedTime = &v 48342 return s 48343 } 48344 48345 // SetStudioLifecycleConfigAppType sets the StudioLifecycleConfigAppType field's value. 48346 func (s *DescribeStudioLifecycleConfigOutput) SetStudioLifecycleConfigAppType(v string) *DescribeStudioLifecycleConfigOutput { 48347 s.StudioLifecycleConfigAppType = &v 48348 return s 48349 } 48350 48351 // SetStudioLifecycleConfigArn sets the StudioLifecycleConfigArn field's value. 48352 func (s *DescribeStudioLifecycleConfigOutput) SetStudioLifecycleConfigArn(v string) *DescribeStudioLifecycleConfigOutput { 48353 s.StudioLifecycleConfigArn = &v 48354 return s 48355 } 48356 48357 // SetStudioLifecycleConfigContent sets the StudioLifecycleConfigContent field's value. 48358 func (s *DescribeStudioLifecycleConfigOutput) SetStudioLifecycleConfigContent(v string) *DescribeStudioLifecycleConfigOutput { 48359 s.StudioLifecycleConfigContent = &v 48360 return s 48361 } 48362 48363 // SetStudioLifecycleConfigName sets the StudioLifecycleConfigName field's value. 48364 func (s *DescribeStudioLifecycleConfigOutput) SetStudioLifecycleConfigName(v string) *DescribeStudioLifecycleConfigOutput { 48365 s.StudioLifecycleConfigName = &v 48366 return s 48367 } 48368 48369 type DescribeSubscribedWorkteamInput struct { 48370 _ struct{} `type:"structure"` 48371 48372 // The Amazon Resource Name (ARN) of the subscribed work team to describe. 48373 // 48374 // WorkteamArn is a required field 48375 WorkteamArn *string `type:"string" required:"true"` 48376 } 48377 48378 // String returns the string representation. 48379 // 48380 // API parameter values that are decorated as "sensitive" in the API will not 48381 // be included in the string output. The member name will be present, but the 48382 // value will be replaced with "sensitive". 48383 func (s DescribeSubscribedWorkteamInput) String() string { 48384 return awsutil.Prettify(s) 48385 } 48386 48387 // GoString returns the string representation. 48388 // 48389 // API parameter values that are decorated as "sensitive" in the API will not 48390 // be included in the string output. The member name will be present, but the 48391 // value will be replaced with "sensitive". 48392 func (s DescribeSubscribedWorkteamInput) GoString() string { 48393 return s.String() 48394 } 48395 48396 // Validate inspects the fields of the type to determine if they are valid. 48397 func (s *DescribeSubscribedWorkteamInput) Validate() error { 48398 invalidParams := request.ErrInvalidParams{Context: "DescribeSubscribedWorkteamInput"} 48399 if s.WorkteamArn == nil { 48400 invalidParams.Add(request.NewErrParamRequired("WorkteamArn")) 48401 } 48402 48403 if invalidParams.Len() > 0 { 48404 return invalidParams 48405 } 48406 return nil 48407 } 48408 48409 // SetWorkteamArn sets the WorkteamArn field's value. 48410 func (s *DescribeSubscribedWorkteamInput) SetWorkteamArn(v string) *DescribeSubscribedWorkteamInput { 48411 s.WorkteamArn = &v 48412 return s 48413 } 48414 48415 type DescribeSubscribedWorkteamOutput struct { 48416 _ struct{} `type:"structure"` 48417 48418 // A Workteam instance that contains information about the work team. 48419 // 48420 // SubscribedWorkteam is a required field 48421 SubscribedWorkteam *SubscribedWorkteam `type:"structure" required:"true"` 48422 } 48423 48424 // String returns the string representation. 48425 // 48426 // API parameter values that are decorated as "sensitive" in the API will not 48427 // be included in the string output. The member name will be present, but the 48428 // value will be replaced with "sensitive". 48429 func (s DescribeSubscribedWorkteamOutput) String() string { 48430 return awsutil.Prettify(s) 48431 } 48432 48433 // GoString returns the string representation. 48434 // 48435 // API parameter values that are decorated as "sensitive" in the API will not 48436 // be included in the string output. The member name will be present, but the 48437 // value will be replaced with "sensitive". 48438 func (s DescribeSubscribedWorkteamOutput) GoString() string { 48439 return s.String() 48440 } 48441 48442 // SetSubscribedWorkteam sets the SubscribedWorkteam field's value. 48443 func (s *DescribeSubscribedWorkteamOutput) SetSubscribedWorkteam(v *SubscribedWorkteam) *DescribeSubscribedWorkteamOutput { 48444 s.SubscribedWorkteam = v 48445 return s 48446 } 48447 48448 type DescribeTrainingJobInput struct { 48449 _ struct{} `type:"structure"` 48450 48451 // The name of the training job. 48452 // 48453 // TrainingJobName is a required field 48454 TrainingJobName *string `min:"1" type:"string" required:"true"` 48455 } 48456 48457 // String returns the string representation. 48458 // 48459 // API parameter values that are decorated as "sensitive" in the API will not 48460 // be included in the string output. The member name will be present, but the 48461 // value will be replaced with "sensitive". 48462 func (s DescribeTrainingJobInput) String() string { 48463 return awsutil.Prettify(s) 48464 } 48465 48466 // GoString returns the string representation. 48467 // 48468 // API parameter values that are decorated as "sensitive" in the API will not 48469 // be included in the string output. The member name will be present, but the 48470 // value will be replaced with "sensitive". 48471 func (s DescribeTrainingJobInput) GoString() string { 48472 return s.String() 48473 } 48474 48475 // Validate inspects the fields of the type to determine if they are valid. 48476 func (s *DescribeTrainingJobInput) Validate() error { 48477 invalidParams := request.ErrInvalidParams{Context: "DescribeTrainingJobInput"} 48478 if s.TrainingJobName == nil { 48479 invalidParams.Add(request.NewErrParamRequired("TrainingJobName")) 48480 } 48481 if s.TrainingJobName != nil && len(*s.TrainingJobName) < 1 { 48482 invalidParams.Add(request.NewErrParamMinLen("TrainingJobName", 1)) 48483 } 48484 48485 if invalidParams.Len() > 0 { 48486 return invalidParams 48487 } 48488 return nil 48489 } 48490 48491 // SetTrainingJobName sets the TrainingJobName field's value. 48492 func (s *DescribeTrainingJobInput) SetTrainingJobName(v string) *DescribeTrainingJobInput { 48493 s.TrainingJobName = &v 48494 return s 48495 } 48496 48497 type DescribeTrainingJobOutput struct { 48498 _ struct{} `type:"structure"` 48499 48500 // Information about the algorithm used for training, and algorithm metadata. 48501 // 48502 // AlgorithmSpecification is a required field 48503 AlgorithmSpecification *AlgorithmSpecification `type:"structure" required:"true"` 48504 48505 // The Amazon Resource Name (ARN) of an AutoML job. 48506 AutoMLJobArn *string `min:"1" type:"string"` 48507 48508 // The billable time in seconds. Billable time refers to the absolute wall-clock 48509 // time. 48510 // 48511 // Multiply BillableTimeInSeconds by the number of instances (InstanceCount) 48512 // in your training cluster to get the total compute time SageMaker will bill 48513 // you if you run distributed training. The formula is as follows: BillableTimeInSeconds 48514 // * InstanceCount . 48515 // 48516 // You can calculate the savings from using managed spot training using the 48517 // formula (1 - BillableTimeInSeconds / TrainingTimeInSeconds) * 100. For example, 48518 // if BillableTimeInSeconds is 100 and TrainingTimeInSeconds is 500, the savings 48519 // is 80%. 48520 BillableTimeInSeconds *int64 `min:"1" type:"integer"` 48521 48522 // Contains information about the output location for managed spot training 48523 // checkpoint data. 48524 CheckpointConfig *CheckpointConfig `type:"structure"` 48525 48526 // A timestamp that indicates when the training job was created. 48527 // 48528 // CreationTime is a required field 48529 CreationTime *time.Time `type:"timestamp" required:"true"` 48530 48531 // Configuration information for the Debugger hook parameters, metric and tensor 48532 // collections, and storage paths. To learn more about how to configure the 48533 // DebugHookConfig parameter, see Use the SageMaker and Debugger Configuration 48534 // API Operations to Create, Update, and Debug Your Training Job (https://docs.aws.amazon.com/sagemaker/latest/dg/debugger-createtrainingjob-api.html). 48535 DebugHookConfig *DebugHookConfig `type:"structure"` 48536 48537 // Configuration information for Debugger rules for debugging output tensors. 48538 DebugRuleConfigurations []*DebugRuleConfiguration `type:"list"` 48539 48540 // Evaluation status of Debugger rules for debugging on a training job. 48541 DebugRuleEvaluationStatuses []*DebugRuleEvaluationStatus `type:"list"` 48542 48543 // To encrypt all communications between ML compute instances in distributed 48544 // training, choose True. Encryption provides greater security for distributed 48545 // training, but training might take longer. How long it takes depends on the 48546 // amount of communication between compute instances, especially if you use 48547 // a deep learning algorithms in distributed training. 48548 EnableInterContainerTrafficEncryption *bool `type:"boolean"` 48549 48550 // A Boolean indicating whether managed spot training is enabled (True) or not 48551 // (False). 48552 EnableManagedSpotTraining *bool `type:"boolean"` 48553 48554 // If you want to allow inbound or outbound network calls, except for calls 48555 // between peers within a training cluster for distributed training, choose 48556 // True. If you enable network isolation for training jobs that are configured 48557 // to use a VPC, Amazon SageMaker downloads and uploads customer data and model 48558 // artifacts through the specified VPC, but the training container does not 48559 // have network access. 48560 EnableNetworkIsolation *bool `type:"boolean"` 48561 48562 // The environment variables to set in the Docker container. 48563 Environment map[string]*string `type:"map"` 48564 48565 // Associates a SageMaker job as a trial component with an experiment and trial. 48566 // Specified when you call the following APIs: 48567 // 48568 // * CreateProcessingJob 48569 // 48570 // * CreateTrainingJob 48571 // 48572 // * CreateTransformJob 48573 ExperimentConfig *ExperimentConfig `type:"structure"` 48574 48575 // If the training job failed, the reason it failed. 48576 FailureReason *string `type:"string"` 48577 48578 // A collection of MetricData objects that specify the names, values, and dates 48579 // and times that the training algorithm emitted to Amazon CloudWatch. 48580 FinalMetricDataList []*MetricData `type:"list"` 48581 48582 // Algorithm-specific parameters. 48583 HyperParameters map[string]*string `type:"map"` 48584 48585 // An array of Channel objects that describes each data input channel. 48586 InputDataConfig []*Channel `min:"1" type:"list"` 48587 48588 // The Amazon Resource Name (ARN) of the Amazon SageMaker Ground Truth labeling 48589 // job that created the transform or training job. 48590 LabelingJobArn *string `type:"string"` 48591 48592 // A timestamp that indicates when the status of the training job was last modified. 48593 LastModifiedTime *time.Time `type:"timestamp"` 48594 48595 // Information about the Amazon S3 location that is configured for storing model 48596 // artifacts. 48597 // 48598 // ModelArtifacts is a required field 48599 ModelArtifacts *ModelArtifacts `type:"structure" required:"true"` 48600 48601 // The S3 path where model artifacts that you configured when creating the job 48602 // are stored. Amazon SageMaker creates subfolders for model artifacts. 48603 OutputDataConfig *OutputDataConfig `type:"structure"` 48604 48605 // Configuration information for Debugger system monitoring, framework profiling, 48606 // and storage paths. 48607 ProfilerConfig *ProfilerConfig `type:"structure"` 48608 48609 // Configuration information for Debugger rules for profiling system and framework 48610 // metrics. 48611 ProfilerRuleConfigurations []*ProfilerRuleConfiguration `type:"list"` 48612 48613 // Evaluation status of Debugger rules for profiling on a training job. 48614 ProfilerRuleEvaluationStatuses []*ProfilerRuleEvaluationStatus `type:"list"` 48615 48616 // Profiling status of a training job. 48617 ProfilingStatus *string `type:"string" enum:"ProfilingStatus"` 48618 48619 // Resources, including ML compute instances and ML storage volumes, that are 48620 // configured for model training. 48621 // 48622 // ResourceConfig is a required field 48623 ResourceConfig *ResourceConfig `type:"structure" required:"true"` 48624 48625 // The number of times to retry the job when the job fails due to an InternalServerError. 48626 RetryStrategy *RetryStrategy `type:"structure"` 48627 48628 // The Amazon Web Services Identity and Access Management (IAM) role configured 48629 // for the training job. 48630 RoleArn *string `min:"20" type:"string"` 48631 48632 // Provides detailed information about the state of the training job. For detailed 48633 // information on the secondary status of the training job, see StatusMessage 48634 // under SecondaryStatusTransition. 48635 // 48636 // Amazon SageMaker provides primary statuses and secondary statuses that apply 48637 // to each of them: 48638 // 48639 // InProgress 48640 // 48641 // * Starting - Starting the training job. 48642 // 48643 // * Downloading - An optional stage for algorithms that support File training 48644 // input mode. It indicates that data is being downloaded to the ML storage 48645 // volumes. 48646 // 48647 // * Training - Training is in progress. 48648 // 48649 // * Interrupted - The job stopped because the managed spot training instances 48650 // were interrupted. 48651 // 48652 // * Uploading - Training is complete and the model artifacts are being uploaded 48653 // to the S3 location. 48654 // 48655 // Completed 48656 // 48657 // * Completed - The training job has completed. 48658 // 48659 // Failed 48660 // 48661 // * Failed - The training job has failed. The reason for the failure is 48662 // returned in the FailureReason field of DescribeTrainingJobResponse. 48663 // 48664 // Stopped 48665 // 48666 // * MaxRuntimeExceeded - The job stopped because it exceeded the maximum 48667 // allowed runtime. 48668 // 48669 // * MaxWaitTimeExceeded - The job stopped because it exceeded the maximum 48670 // allowed wait time. 48671 // 48672 // * Stopped - The training job has stopped. 48673 // 48674 // Stopping 48675 // 48676 // * Stopping - Stopping the training job. 48677 // 48678 // Valid values for SecondaryStatus are subject to change. 48679 // 48680 // We no longer support the following secondary statuses: 48681 // 48682 // * LaunchingMLInstances 48683 // 48684 // * PreparingTraining 48685 // 48686 // * DownloadingTrainingImage 48687 // 48688 // SecondaryStatus is a required field 48689 SecondaryStatus *string `type:"string" required:"true" enum:"SecondaryStatus"` 48690 48691 // A history of all of the secondary statuses that the training job has transitioned 48692 // through. 48693 SecondaryStatusTransitions []*SecondaryStatusTransition `type:"list"` 48694 48695 // Specifies a limit to how long a model training job can run. It also specifies 48696 // how long a managed Spot training job has to complete. When the job reaches 48697 // the time limit, Amazon SageMaker ends the training job. Use this API to cap 48698 // model training costs. 48699 // 48700 // To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which 48701 // delays job termination for 120 seconds. Algorithms can use this 120-second 48702 // window to save the model artifacts, so the results of training are not lost. 48703 // 48704 // StoppingCondition is a required field 48705 StoppingCondition *StoppingCondition `type:"structure" required:"true"` 48706 48707 // Configuration of storage locations for the Debugger TensorBoard output data. 48708 TensorBoardOutputConfig *TensorBoardOutputConfig `type:"structure"` 48709 48710 // Indicates the time when the training job ends on training instances. You 48711 // are billed for the time interval between the value of TrainingStartTime and 48712 // this time. For successful jobs and stopped jobs, this is the time after model 48713 // artifacts are uploaded. For failed jobs, this is the time when Amazon SageMaker 48714 // detects a job failure. 48715 TrainingEndTime *time.Time `type:"timestamp"` 48716 48717 // The Amazon Resource Name (ARN) of the training job. 48718 // 48719 // TrainingJobArn is a required field 48720 TrainingJobArn *string `type:"string" required:"true"` 48721 48722 // Name of the model training job. 48723 // 48724 // TrainingJobName is a required field 48725 TrainingJobName *string `min:"1" type:"string" required:"true"` 48726 48727 // The status of the training job. 48728 // 48729 // Amazon SageMaker provides the following training job statuses: 48730 // 48731 // * InProgress - The training is in progress. 48732 // 48733 // * Completed - The training job has completed. 48734 // 48735 // * Failed - The training job has failed. To see the reason for the failure, 48736 // see the FailureReason field in the response to a DescribeTrainingJobResponse 48737 // call. 48738 // 48739 // * Stopping - The training job is stopping. 48740 // 48741 // * Stopped - The training job has stopped. 48742 // 48743 // For more detailed information, see SecondaryStatus. 48744 // 48745 // TrainingJobStatus is a required field 48746 TrainingJobStatus *string `type:"string" required:"true" enum:"TrainingJobStatus"` 48747 48748 // Indicates the time when the training job starts on training instances. You 48749 // are billed for the time interval between this time and the value of TrainingEndTime. 48750 // The start time in CloudWatch Logs might be later than this time. The difference 48751 // is due to the time it takes to download the training data and to the size 48752 // of the training container. 48753 TrainingStartTime *time.Time `type:"timestamp"` 48754 48755 // The training time in seconds. 48756 TrainingTimeInSeconds *int64 `min:"1" type:"integer"` 48757 48758 // The Amazon Resource Name (ARN) of the associated hyperparameter tuning job 48759 // if the training job was launched by a hyperparameter tuning job. 48760 TuningJobArn *string `type:"string"` 48761 48762 // A VpcConfig object that specifies the VPC that this training job has access 48763 // to. For more information, see Protect Training Jobs by Using an Amazon Virtual 48764 // Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html). 48765 VpcConfig *VpcConfig `type:"structure"` 48766 } 48767 48768 // String returns the string representation. 48769 // 48770 // API parameter values that are decorated as "sensitive" in the API will not 48771 // be included in the string output. The member name will be present, but the 48772 // value will be replaced with "sensitive". 48773 func (s DescribeTrainingJobOutput) String() string { 48774 return awsutil.Prettify(s) 48775 } 48776 48777 // GoString returns the string representation. 48778 // 48779 // API parameter values that are decorated as "sensitive" in the API will not 48780 // be included in the string output. The member name will be present, but the 48781 // value will be replaced with "sensitive". 48782 func (s DescribeTrainingJobOutput) GoString() string { 48783 return s.String() 48784 } 48785 48786 // SetAlgorithmSpecification sets the AlgorithmSpecification field's value. 48787 func (s *DescribeTrainingJobOutput) SetAlgorithmSpecification(v *AlgorithmSpecification) *DescribeTrainingJobOutput { 48788 s.AlgorithmSpecification = v 48789 return s 48790 } 48791 48792 // SetAutoMLJobArn sets the AutoMLJobArn field's value. 48793 func (s *DescribeTrainingJobOutput) SetAutoMLJobArn(v string) *DescribeTrainingJobOutput { 48794 s.AutoMLJobArn = &v 48795 return s 48796 } 48797 48798 // SetBillableTimeInSeconds sets the BillableTimeInSeconds field's value. 48799 func (s *DescribeTrainingJobOutput) SetBillableTimeInSeconds(v int64) *DescribeTrainingJobOutput { 48800 s.BillableTimeInSeconds = &v 48801 return s 48802 } 48803 48804 // SetCheckpointConfig sets the CheckpointConfig field's value. 48805 func (s *DescribeTrainingJobOutput) SetCheckpointConfig(v *CheckpointConfig) *DescribeTrainingJobOutput { 48806 s.CheckpointConfig = v 48807 return s 48808 } 48809 48810 // SetCreationTime sets the CreationTime field's value. 48811 func (s *DescribeTrainingJobOutput) SetCreationTime(v time.Time) *DescribeTrainingJobOutput { 48812 s.CreationTime = &v 48813 return s 48814 } 48815 48816 // SetDebugHookConfig sets the DebugHookConfig field's value. 48817 func (s *DescribeTrainingJobOutput) SetDebugHookConfig(v *DebugHookConfig) *DescribeTrainingJobOutput { 48818 s.DebugHookConfig = v 48819 return s 48820 } 48821 48822 // SetDebugRuleConfigurations sets the DebugRuleConfigurations field's value. 48823 func (s *DescribeTrainingJobOutput) SetDebugRuleConfigurations(v []*DebugRuleConfiguration) *DescribeTrainingJobOutput { 48824 s.DebugRuleConfigurations = v 48825 return s 48826 } 48827 48828 // SetDebugRuleEvaluationStatuses sets the DebugRuleEvaluationStatuses field's value. 48829 func (s *DescribeTrainingJobOutput) SetDebugRuleEvaluationStatuses(v []*DebugRuleEvaluationStatus) *DescribeTrainingJobOutput { 48830 s.DebugRuleEvaluationStatuses = v 48831 return s 48832 } 48833 48834 // SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value. 48835 func (s *DescribeTrainingJobOutput) SetEnableInterContainerTrafficEncryption(v bool) *DescribeTrainingJobOutput { 48836 s.EnableInterContainerTrafficEncryption = &v 48837 return s 48838 } 48839 48840 // SetEnableManagedSpotTraining sets the EnableManagedSpotTraining field's value. 48841 func (s *DescribeTrainingJobOutput) SetEnableManagedSpotTraining(v bool) *DescribeTrainingJobOutput { 48842 s.EnableManagedSpotTraining = &v 48843 return s 48844 } 48845 48846 // SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value. 48847 func (s *DescribeTrainingJobOutput) SetEnableNetworkIsolation(v bool) *DescribeTrainingJobOutput { 48848 s.EnableNetworkIsolation = &v 48849 return s 48850 } 48851 48852 // SetEnvironment sets the Environment field's value. 48853 func (s *DescribeTrainingJobOutput) SetEnvironment(v map[string]*string) *DescribeTrainingJobOutput { 48854 s.Environment = v 48855 return s 48856 } 48857 48858 // SetExperimentConfig sets the ExperimentConfig field's value. 48859 func (s *DescribeTrainingJobOutput) SetExperimentConfig(v *ExperimentConfig) *DescribeTrainingJobOutput { 48860 s.ExperimentConfig = v 48861 return s 48862 } 48863 48864 // SetFailureReason sets the FailureReason field's value. 48865 func (s *DescribeTrainingJobOutput) SetFailureReason(v string) *DescribeTrainingJobOutput { 48866 s.FailureReason = &v 48867 return s 48868 } 48869 48870 // SetFinalMetricDataList sets the FinalMetricDataList field's value. 48871 func (s *DescribeTrainingJobOutput) SetFinalMetricDataList(v []*MetricData) *DescribeTrainingJobOutput { 48872 s.FinalMetricDataList = v 48873 return s 48874 } 48875 48876 // SetHyperParameters sets the HyperParameters field's value. 48877 func (s *DescribeTrainingJobOutput) SetHyperParameters(v map[string]*string) *DescribeTrainingJobOutput { 48878 s.HyperParameters = v 48879 return s 48880 } 48881 48882 // SetInputDataConfig sets the InputDataConfig field's value. 48883 func (s *DescribeTrainingJobOutput) SetInputDataConfig(v []*Channel) *DescribeTrainingJobOutput { 48884 s.InputDataConfig = v 48885 return s 48886 } 48887 48888 // SetLabelingJobArn sets the LabelingJobArn field's value. 48889 func (s *DescribeTrainingJobOutput) SetLabelingJobArn(v string) *DescribeTrainingJobOutput { 48890 s.LabelingJobArn = &v 48891 return s 48892 } 48893 48894 // SetLastModifiedTime sets the LastModifiedTime field's value. 48895 func (s *DescribeTrainingJobOutput) SetLastModifiedTime(v time.Time) *DescribeTrainingJobOutput { 48896 s.LastModifiedTime = &v 48897 return s 48898 } 48899 48900 // SetModelArtifacts sets the ModelArtifacts field's value. 48901 func (s *DescribeTrainingJobOutput) SetModelArtifacts(v *ModelArtifacts) *DescribeTrainingJobOutput { 48902 s.ModelArtifacts = v 48903 return s 48904 } 48905 48906 // SetOutputDataConfig sets the OutputDataConfig field's value. 48907 func (s *DescribeTrainingJobOutput) SetOutputDataConfig(v *OutputDataConfig) *DescribeTrainingJobOutput { 48908 s.OutputDataConfig = v 48909 return s 48910 } 48911 48912 // SetProfilerConfig sets the ProfilerConfig field's value. 48913 func (s *DescribeTrainingJobOutput) SetProfilerConfig(v *ProfilerConfig) *DescribeTrainingJobOutput { 48914 s.ProfilerConfig = v 48915 return s 48916 } 48917 48918 // SetProfilerRuleConfigurations sets the ProfilerRuleConfigurations field's value. 48919 func (s *DescribeTrainingJobOutput) SetProfilerRuleConfigurations(v []*ProfilerRuleConfiguration) *DescribeTrainingJobOutput { 48920 s.ProfilerRuleConfigurations = v 48921 return s 48922 } 48923 48924 // SetProfilerRuleEvaluationStatuses sets the ProfilerRuleEvaluationStatuses field's value. 48925 func (s *DescribeTrainingJobOutput) SetProfilerRuleEvaluationStatuses(v []*ProfilerRuleEvaluationStatus) *DescribeTrainingJobOutput { 48926 s.ProfilerRuleEvaluationStatuses = v 48927 return s 48928 } 48929 48930 // SetProfilingStatus sets the ProfilingStatus field's value. 48931 func (s *DescribeTrainingJobOutput) SetProfilingStatus(v string) *DescribeTrainingJobOutput { 48932 s.ProfilingStatus = &v 48933 return s 48934 } 48935 48936 // SetResourceConfig sets the ResourceConfig field's value. 48937 func (s *DescribeTrainingJobOutput) SetResourceConfig(v *ResourceConfig) *DescribeTrainingJobOutput { 48938 s.ResourceConfig = v 48939 return s 48940 } 48941 48942 // SetRetryStrategy sets the RetryStrategy field's value. 48943 func (s *DescribeTrainingJobOutput) SetRetryStrategy(v *RetryStrategy) *DescribeTrainingJobOutput { 48944 s.RetryStrategy = v 48945 return s 48946 } 48947 48948 // SetRoleArn sets the RoleArn field's value. 48949 func (s *DescribeTrainingJobOutput) SetRoleArn(v string) *DescribeTrainingJobOutput { 48950 s.RoleArn = &v 48951 return s 48952 } 48953 48954 // SetSecondaryStatus sets the SecondaryStatus field's value. 48955 func (s *DescribeTrainingJobOutput) SetSecondaryStatus(v string) *DescribeTrainingJobOutput { 48956 s.SecondaryStatus = &v 48957 return s 48958 } 48959 48960 // SetSecondaryStatusTransitions sets the SecondaryStatusTransitions field's value. 48961 func (s *DescribeTrainingJobOutput) SetSecondaryStatusTransitions(v []*SecondaryStatusTransition) *DescribeTrainingJobOutput { 48962 s.SecondaryStatusTransitions = v 48963 return s 48964 } 48965 48966 // SetStoppingCondition sets the StoppingCondition field's value. 48967 func (s *DescribeTrainingJobOutput) SetStoppingCondition(v *StoppingCondition) *DescribeTrainingJobOutput { 48968 s.StoppingCondition = v 48969 return s 48970 } 48971 48972 // SetTensorBoardOutputConfig sets the TensorBoardOutputConfig field's value. 48973 func (s *DescribeTrainingJobOutput) SetTensorBoardOutputConfig(v *TensorBoardOutputConfig) *DescribeTrainingJobOutput { 48974 s.TensorBoardOutputConfig = v 48975 return s 48976 } 48977 48978 // SetTrainingEndTime sets the TrainingEndTime field's value. 48979 func (s *DescribeTrainingJobOutput) SetTrainingEndTime(v time.Time) *DescribeTrainingJobOutput { 48980 s.TrainingEndTime = &v 48981 return s 48982 } 48983 48984 // SetTrainingJobArn sets the TrainingJobArn field's value. 48985 func (s *DescribeTrainingJobOutput) SetTrainingJobArn(v string) *DescribeTrainingJobOutput { 48986 s.TrainingJobArn = &v 48987 return s 48988 } 48989 48990 // SetTrainingJobName sets the TrainingJobName field's value. 48991 func (s *DescribeTrainingJobOutput) SetTrainingJobName(v string) *DescribeTrainingJobOutput { 48992 s.TrainingJobName = &v 48993 return s 48994 } 48995 48996 // SetTrainingJobStatus sets the TrainingJobStatus field's value. 48997 func (s *DescribeTrainingJobOutput) SetTrainingJobStatus(v string) *DescribeTrainingJobOutput { 48998 s.TrainingJobStatus = &v 48999 return s 49000 } 49001 49002 // SetTrainingStartTime sets the TrainingStartTime field's value. 49003 func (s *DescribeTrainingJobOutput) SetTrainingStartTime(v time.Time) *DescribeTrainingJobOutput { 49004 s.TrainingStartTime = &v 49005 return s 49006 } 49007 49008 // SetTrainingTimeInSeconds sets the TrainingTimeInSeconds field's value. 49009 func (s *DescribeTrainingJobOutput) SetTrainingTimeInSeconds(v int64) *DescribeTrainingJobOutput { 49010 s.TrainingTimeInSeconds = &v 49011 return s 49012 } 49013 49014 // SetTuningJobArn sets the TuningJobArn field's value. 49015 func (s *DescribeTrainingJobOutput) SetTuningJobArn(v string) *DescribeTrainingJobOutput { 49016 s.TuningJobArn = &v 49017 return s 49018 } 49019 49020 // SetVpcConfig sets the VpcConfig field's value. 49021 func (s *DescribeTrainingJobOutput) SetVpcConfig(v *VpcConfig) *DescribeTrainingJobOutput { 49022 s.VpcConfig = v 49023 return s 49024 } 49025 49026 type DescribeTransformJobInput struct { 49027 _ struct{} `type:"structure"` 49028 49029 // The name of the transform job that you want to view details of. 49030 // 49031 // TransformJobName is a required field 49032 TransformJobName *string `min:"1" type:"string" required:"true"` 49033 } 49034 49035 // String returns the string representation. 49036 // 49037 // API parameter values that are decorated as "sensitive" in the API will not 49038 // be included in the string output. The member name will be present, but the 49039 // value will be replaced with "sensitive". 49040 func (s DescribeTransformJobInput) String() string { 49041 return awsutil.Prettify(s) 49042 } 49043 49044 // GoString returns the string representation. 49045 // 49046 // API parameter values that are decorated as "sensitive" in the API will not 49047 // be included in the string output. The member name will be present, but the 49048 // value will be replaced with "sensitive". 49049 func (s DescribeTransformJobInput) GoString() string { 49050 return s.String() 49051 } 49052 49053 // Validate inspects the fields of the type to determine if they are valid. 49054 func (s *DescribeTransformJobInput) Validate() error { 49055 invalidParams := request.ErrInvalidParams{Context: "DescribeTransformJobInput"} 49056 if s.TransformJobName == nil { 49057 invalidParams.Add(request.NewErrParamRequired("TransformJobName")) 49058 } 49059 if s.TransformJobName != nil && len(*s.TransformJobName) < 1 { 49060 invalidParams.Add(request.NewErrParamMinLen("TransformJobName", 1)) 49061 } 49062 49063 if invalidParams.Len() > 0 { 49064 return invalidParams 49065 } 49066 return nil 49067 } 49068 49069 // SetTransformJobName sets the TransformJobName field's value. 49070 func (s *DescribeTransformJobInput) SetTransformJobName(v string) *DescribeTransformJobInput { 49071 s.TransformJobName = &v 49072 return s 49073 } 49074 49075 type DescribeTransformJobOutput struct { 49076 _ struct{} `type:"structure"` 49077 49078 // The Amazon Resource Name (ARN) of the AutoML transform job. 49079 AutoMLJobArn *string `min:"1" type:"string"` 49080 49081 // Specifies the number of records to include in a mini-batch for an HTTP inference 49082 // request. A record is a single unit of input data that inference can be made 49083 // on. For example, a single line in a CSV file is a record. 49084 // 49085 // To enable the batch strategy, you must set SplitType to Line, RecordIO, or 49086 // TFRecord. 49087 BatchStrategy *string `type:"string" enum:"BatchStrategy"` 49088 49089 // A timestamp that shows when the transform Job was created. 49090 // 49091 // CreationTime is a required field 49092 CreationTime *time.Time `type:"timestamp" required:"true"` 49093 49094 // The data structure used to specify the data to be used for inference in a 49095 // batch transform job and to associate the data that is relevant to the prediction 49096 // results in the output. The input filter provided allows you to exclude input 49097 // data that is not needed for inference in a batch transform job. The output 49098 // filter provided allows you to include input data relevant to interpreting 49099 // the predictions in the output from the job. For more information, see Associate 49100 // Prediction Results with their Corresponding Input Records (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html). 49101 DataProcessing *DataProcessing `type:"structure"` 49102 49103 // The environment variables to set in the Docker container. We support up to 49104 // 16 key and values entries in the map. 49105 Environment map[string]*string `type:"map"` 49106 49107 // Associates a SageMaker job as a trial component with an experiment and trial. 49108 // Specified when you call the following APIs: 49109 // 49110 // * CreateProcessingJob 49111 // 49112 // * CreateTrainingJob 49113 // 49114 // * CreateTransformJob 49115 ExperimentConfig *ExperimentConfig `type:"structure"` 49116 49117 // If the transform job failed, FailureReason describes why it failed. A transform 49118 // job creates a log file, which includes error messages, and stores it as an 49119 // Amazon S3 object. For more information, see Log Amazon SageMaker Events with 49120 // Amazon CloudWatch (https://docs.aws.amazon.com/sagemaker/latest/dg/logging-cloudwatch.html). 49121 FailureReason *string `type:"string"` 49122 49123 // The Amazon Resource Name (ARN) of the Amazon SageMaker Ground Truth labeling 49124 // job that created the transform or training job. 49125 LabelingJobArn *string `type:"string"` 49126 49127 // The maximum number of parallel requests on each instance node that can be 49128 // launched in a transform job. The default value is 1. 49129 MaxConcurrentTransforms *int64 `type:"integer"` 49130 49131 // The maximum payload size, in MB, used in the transform job. 49132 MaxPayloadInMB *int64 `type:"integer"` 49133 49134 // The timeout and maximum number of retries for processing a transform job 49135 // invocation. 49136 ModelClientConfig *ModelClientConfig `type:"structure"` 49137 49138 // The name of the model used in the transform job. 49139 // 49140 // ModelName is a required field 49141 ModelName *string `type:"string" required:"true"` 49142 49143 // Indicates when the transform job has been completed, or has stopped or failed. 49144 // You are billed for the time interval between this time and the value of TransformStartTime. 49145 TransformEndTime *time.Time `type:"timestamp"` 49146 49147 // Describes the dataset to be transformed and the Amazon S3 location where 49148 // it is stored. 49149 // 49150 // TransformInput is a required field 49151 TransformInput *TransformInput `type:"structure" required:"true"` 49152 49153 // The Amazon Resource Name (ARN) of the transform job. 49154 // 49155 // TransformJobArn is a required field 49156 TransformJobArn *string `type:"string" required:"true"` 49157 49158 // The name of the transform job. 49159 // 49160 // TransformJobName is a required field 49161 TransformJobName *string `min:"1" type:"string" required:"true"` 49162 49163 // The status of the transform job. If the transform job failed, the reason 49164 // is returned in the FailureReason field. 49165 // 49166 // TransformJobStatus is a required field 49167 TransformJobStatus *string `type:"string" required:"true" enum:"TransformJobStatus"` 49168 49169 // Identifies the Amazon S3 location where you want Amazon SageMaker to save 49170 // the results from the transform job. 49171 TransformOutput *TransformOutput `type:"structure"` 49172 49173 // Describes the resources, including ML instance types and ML instance count, 49174 // to use for the transform job. 49175 // 49176 // TransformResources is a required field 49177 TransformResources *TransformResources `type:"structure" required:"true"` 49178 49179 // Indicates when the transform job starts on ML instances. You are billed for 49180 // the time interval between this time and the value of TransformEndTime. 49181 TransformStartTime *time.Time `type:"timestamp"` 49182 } 49183 49184 // String returns the string representation. 49185 // 49186 // API parameter values that are decorated as "sensitive" in the API will not 49187 // be included in the string output. The member name will be present, but the 49188 // value will be replaced with "sensitive". 49189 func (s DescribeTransformJobOutput) String() string { 49190 return awsutil.Prettify(s) 49191 } 49192 49193 // GoString returns the string representation. 49194 // 49195 // API parameter values that are decorated as "sensitive" in the API will not 49196 // be included in the string output. The member name will be present, but the 49197 // value will be replaced with "sensitive". 49198 func (s DescribeTransformJobOutput) GoString() string { 49199 return s.String() 49200 } 49201 49202 // SetAutoMLJobArn sets the AutoMLJobArn field's value. 49203 func (s *DescribeTransformJobOutput) SetAutoMLJobArn(v string) *DescribeTransformJobOutput { 49204 s.AutoMLJobArn = &v 49205 return s 49206 } 49207 49208 // SetBatchStrategy sets the BatchStrategy field's value. 49209 func (s *DescribeTransformJobOutput) SetBatchStrategy(v string) *DescribeTransformJobOutput { 49210 s.BatchStrategy = &v 49211 return s 49212 } 49213 49214 // SetCreationTime sets the CreationTime field's value. 49215 func (s *DescribeTransformJobOutput) SetCreationTime(v time.Time) *DescribeTransformJobOutput { 49216 s.CreationTime = &v 49217 return s 49218 } 49219 49220 // SetDataProcessing sets the DataProcessing field's value. 49221 func (s *DescribeTransformJobOutput) SetDataProcessing(v *DataProcessing) *DescribeTransformJobOutput { 49222 s.DataProcessing = v 49223 return s 49224 } 49225 49226 // SetEnvironment sets the Environment field's value. 49227 func (s *DescribeTransformJobOutput) SetEnvironment(v map[string]*string) *DescribeTransformJobOutput { 49228 s.Environment = v 49229 return s 49230 } 49231 49232 // SetExperimentConfig sets the ExperimentConfig field's value. 49233 func (s *DescribeTransformJobOutput) SetExperimentConfig(v *ExperimentConfig) *DescribeTransformJobOutput { 49234 s.ExperimentConfig = v 49235 return s 49236 } 49237 49238 // SetFailureReason sets the FailureReason field's value. 49239 func (s *DescribeTransformJobOutput) SetFailureReason(v string) *DescribeTransformJobOutput { 49240 s.FailureReason = &v 49241 return s 49242 } 49243 49244 // SetLabelingJobArn sets the LabelingJobArn field's value. 49245 func (s *DescribeTransformJobOutput) SetLabelingJobArn(v string) *DescribeTransformJobOutput { 49246 s.LabelingJobArn = &v 49247 return s 49248 } 49249 49250 // SetMaxConcurrentTransforms sets the MaxConcurrentTransforms field's value. 49251 func (s *DescribeTransformJobOutput) SetMaxConcurrentTransforms(v int64) *DescribeTransformJobOutput { 49252 s.MaxConcurrentTransforms = &v 49253 return s 49254 } 49255 49256 // SetMaxPayloadInMB sets the MaxPayloadInMB field's value. 49257 func (s *DescribeTransformJobOutput) SetMaxPayloadInMB(v int64) *DescribeTransformJobOutput { 49258 s.MaxPayloadInMB = &v 49259 return s 49260 } 49261 49262 // SetModelClientConfig sets the ModelClientConfig field's value. 49263 func (s *DescribeTransformJobOutput) SetModelClientConfig(v *ModelClientConfig) *DescribeTransformJobOutput { 49264 s.ModelClientConfig = v 49265 return s 49266 } 49267 49268 // SetModelName sets the ModelName field's value. 49269 func (s *DescribeTransformJobOutput) SetModelName(v string) *DescribeTransformJobOutput { 49270 s.ModelName = &v 49271 return s 49272 } 49273 49274 // SetTransformEndTime sets the TransformEndTime field's value. 49275 func (s *DescribeTransformJobOutput) SetTransformEndTime(v time.Time) *DescribeTransformJobOutput { 49276 s.TransformEndTime = &v 49277 return s 49278 } 49279 49280 // SetTransformInput sets the TransformInput field's value. 49281 func (s *DescribeTransformJobOutput) SetTransformInput(v *TransformInput) *DescribeTransformJobOutput { 49282 s.TransformInput = v 49283 return s 49284 } 49285 49286 // SetTransformJobArn sets the TransformJobArn field's value. 49287 func (s *DescribeTransformJobOutput) SetTransformJobArn(v string) *DescribeTransformJobOutput { 49288 s.TransformJobArn = &v 49289 return s 49290 } 49291 49292 // SetTransformJobName sets the TransformJobName field's value. 49293 func (s *DescribeTransformJobOutput) SetTransformJobName(v string) *DescribeTransformJobOutput { 49294 s.TransformJobName = &v 49295 return s 49296 } 49297 49298 // SetTransformJobStatus sets the TransformJobStatus field's value. 49299 func (s *DescribeTransformJobOutput) SetTransformJobStatus(v string) *DescribeTransformJobOutput { 49300 s.TransformJobStatus = &v 49301 return s 49302 } 49303 49304 // SetTransformOutput sets the TransformOutput field's value. 49305 func (s *DescribeTransformJobOutput) SetTransformOutput(v *TransformOutput) *DescribeTransformJobOutput { 49306 s.TransformOutput = v 49307 return s 49308 } 49309 49310 // SetTransformResources sets the TransformResources field's value. 49311 func (s *DescribeTransformJobOutput) SetTransformResources(v *TransformResources) *DescribeTransformJobOutput { 49312 s.TransformResources = v 49313 return s 49314 } 49315 49316 // SetTransformStartTime sets the TransformStartTime field's value. 49317 func (s *DescribeTransformJobOutput) SetTransformStartTime(v time.Time) *DescribeTransformJobOutput { 49318 s.TransformStartTime = &v 49319 return s 49320 } 49321 49322 type DescribeTrialComponentInput struct { 49323 _ struct{} `type:"structure"` 49324 49325 // The name of the trial component to describe. 49326 // 49327 // TrialComponentName is a required field 49328 TrialComponentName *string `min:"1" type:"string" required:"true"` 49329 } 49330 49331 // String returns the string representation. 49332 // 49333 // API parameter values that are decorated as "sensitive" in the API will not 49334 // be included in the string output. The member name will be present, but the 49335 // value will be replaced with "sensitive". 49336 func (s DescribeTrialComponentInput) String() string { 49337 return awsutil.Prettify(s) 49338 } 49339 49340 // GoString returns the string representation. 49341 // 49342 // API parameter values that are decorated as "sensitive" in the API will not 49343 // be included in the string output. The member name will be present, but the 49344 // value will be replaced with "sensitive". 49345 func (s DescribeTrialComponentInput) GoString() string { 49346 return s.String() 49347 } 49348 49349 // Validate inspects the fields of the type to determine if they are valid. 49350 func (s *DescribeTrialComponentInput) Validate() error { 49351 invalidParams := request.ErrInvalidParams{Context: "DescribeTrialComponentInput"} 49352 if s.TrialComponentName == nil { 49353 invalidParams.Add(request.NewErrParamRequired("TrialComponentName")) 49354 } 49355 if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 { 49356 invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1)) 49357 } 49358 49359 if invalidParams.Len() > 0 { 49360 return invalidParams 49361 } 49362 return nil 49363 } 49364 49365 // SetTrialComponentName sets the TrialComponentName field's value. 49366 func (s *DescribeTrialComponentInput) SetTrialComponentName(v string) *DescribeTrialComponentInput { 49367 s.TrialComponentName = &v 49368 return s 49369 } 49370 49371 type DescribeTrialComponentOutput struct { 49372 _ struct{} `type:"structure"` 49373 49374 // Who created the trial component. 49375 CreatedBy *UserContext `type:"structure"` 49376 49377 // When the component was created. 49378 CreationTime *time.Time `type:"timestamp"` 49379 49380 // The name of the component as displayed. If DisplayName isn't specified, TrialComponentName 49381 // is displayed. 49382 DisplayName *string `min:"1" type:"string"` 49383 49384 // When the component ended. 49385 EndTime *time.Time `type:"timestamp"` 49386 49387 // The input artifacts of the component. 49388 InputArtifacts map[string]*TrialComponentArtifact `type:"map"` 49389 49390 // Who last modified the component. 49391 LastModifiedBy *UserContext `type:"structure"` 49392 49393 // When the component was last modified. 49394 LastModifiedTime *time.Time `type:"timestamp"` 49395 49396 // Metadata properties of the tracking entity, trial, or trial component. 49397 MetadataProperties *MetadataProperties `type:"structure"` 49398 49399 // The metrics for the component. 49400 Metrics []*TrialComponentMetricSummary `type:"list"` 49401 49402 // The output artifacts of the component. 49403 OutputArtifacts map[string]*TrialComponentArtifact `type:"map"` 49404 49405 // The hyperparameters of the component. 49406 Parameters map[string]*TrialComponentParameterValue `type:"map"` 49407 49408 // The Amazon Resource Name (ARN) of the source and, optionally, the job type. 49409 Source *TrialComponentSource `type:"structure"` 49410 49411 // When the component started. 49412 StartTime *time.Time `type:"timestamp"` 49413 49414 // The status of the component. States include: 49415 // 49416 // * InProgress 49417 // 49418 // * Completed 49419 // 49420 // * Failed 49421 Status *TrialComponentStatus `type:"structure"` 49422 49423 // The Amazon Resource Name (ARN) of the trial component. 49424 TrialComponentArn *string `type:"string"` 49425 49426 // The name of the trial component. 49427 TrialComponentName *string `min:"1" type:"string"` 49428 } 49429 49430 // String returns the string representation. 49431 // 49432 // API parameter values that are decorated as "sensitive" in the API will not 49433 // be included in the string output. The member name will be present, but the 49434 // value will be replaced with "sensitive". 49435 func (s DescribeTrialComponentOutput) String() string { 49436 return awsutil.Prettify(s) 49437 } 49438 49439 // GoString returns the string representation. 49440 // 49441 // API parameter values that are decorated as "sensitive" in the API will not 49442 // be included in the string output. The member name will be present, but the 49443 // value will be replaced with "sensitive". 49444 func (s DescribeTrialComponentOutput) GoString() string { 49445 return s.String() 49446 } 49447 49448 // SetCreatedBy sets the CreatedBy field's value. 49449 func (s *DescribeTrialComponentOutput) SetCreatedBy(v *UserContext) *DescribeTrialComponentOutput { 49450 s.CreatedBy = v 49451 return s 49452 } 49453 49454 // SetCreationTime sets the CreationTime field's value. 49455 func (s *DescribeTrialComponentOutput) SetCreationTime(v time.Time) *DescribeTrialComponentOutput { 49456 s.CreationTime = &v 49457 return s 49458 } 49459 49460 // SetDisplayName sets the DisplayName field's value. 49461 func (s *DescribeTrialComponentOutput) SetDisplayName(v string) *DescribeTrialComponentOutput { 49462 s.DisplayName = &v 49463 return s 49464 } 49465 49466 // SetEndTime sets the EndTime field's value. 49467 func (s *DescribeTrialComponentOutput) SetEndTime(v time.Time) *DescribeTrialComponentOutput { 49468 s.EndTime = &v 49469 return s 49470 } 49471 49472 // SetInputArtifacts sets the InputArtifacts field's value. 49473 func (s *DescribeTrialComponentOutput) SetInputArtifacts(v map[string]*TrialComponentArtifact) *DescribeTrialComponentOutput { 49474 s.InputArtifacts = v 49475 return s 49476 } 49477 49478 // SetLastModifiedBy sets the LastModifiedBy field's value. 49479 func (s *DescribeTrialComponentOutput) SetLastModifiedBy(v *UserContext) *DescribeTrialComponentOutput { 49480 s.LastModifiedBy = v 49481 return s 49482 } 49483 49484 // SetLastModifiedTime sets the LastModifiedTime field's value. 49485 func (s *DescribeTrialComponentOutput) SetLastModifiedTime(v time.Time) *DescribeTrialComponentOutput { 49486 s.LastModifiedTime = &v 49487 return s 49488 } 49489 49490 // SetMetadataProperties sets the MetadataProperties field's value. 49491 func (s *DescribeTrialComponentOutput) SetMetadataProperties(v *MetadataProperties) *DescribeTrialComponentOutput { 49492 s.MetadataProperties = v 49493 return s 49494 } 49495 49496 // SetMetrics sets the Metrics field's value. 49497 func (s *DescribeTrialComponentOutput) SetMetrics(v []*TrialComponentMetricSummary) *DescribeTrialComponentOutput { 49498 s.Metrics = v 49499 return s 49500 } 49501 49502 // SetOutputArtifacts sets the OutputArtifacts field's value. 49503 func (s *DescribeTrialComponentOutput) SetOutputArtifacts(v map[string]*TrialComponentArtifact) *DescribeTrialComponentOutput { 49504 s.OutputArtifacts = v 49505 return s 49506 } 49507 49508 // SetParameters sets the Parameters field's value. 49509 func (s *DescribeTrialComponentOutput) SetParameters(v map[string]*TrialComponentParameterValue) *DescribeTrialComponentOutput { 49510 s.Parameters = v 49511 return s 49512 } 49513 49514 // SetSource sets the Source field's value. 49515 func (s *DescribeTrialComponentOutput) SetSource(v *TrialComponentSource) *DescribeTrialComponentOutput { 49516 s.Source = v 49517 return s 49518 } 49519 49520 // SetStartTime sets the StartTime field's value. 49521 func (s *DescribeTrialComponentOutput) SetStartTime(v time.Time) *DescribeTrialComponentOutput { 49522 s.StartTime = &v 49523 return s 49524 } 49525 49526 // SetStatus sets the Status field's value. 49527 func (s *DescribeTrialComponentOutput) SetStatus(v *TrialComponentStatus) *DescribeTrialComponentOutput { 49528 s.Status = v 49529 return s 49530 } 49531 49532 // SetTrialComponentArn sets the TrialComponentArn field's value. 49533 func (s *DescribeTrialComponentOutput) SetTrialComponentArn(v string) *DescribeTrialComponentOutput { 49534 s.TrialComponentArn = &v 49535 return s 49536 } 49537 49538 // SetTrialComponentName sets the TrialComponentName field's value. 49539 func (s *DescribeTrialComponentOutput) SetTrialComponentName(v string) *DescribeTrialComponentOutput { 49540 s.TrialComponentName = &v 49541 return s 49542 } 49543 49544 type DescribeTrialInput struct { 49545 _ struct{} `type:"structure"` 49546 49547 // The name of the trial to describe. 49548 // 49549 // TrialName is a required field 49550 TrialName *string `min:"1" type:"string" required:"true"` 49551 } 49552 49553 // String returns the string representation. 49554 // 49555 // API parameter values that are decorated as "sensitive" in the API will not 49556 // be included in the string output. The member name will be present, but the 49557 // value will be replaced with "sensitive". 49558 func (s DescribeTrialInput) String() string { 49559 return awsutil.Prettify(s) 49560 } 49561 49562 // GoString returns the string representation. 49563 // 49564 // API parameter values that are decorated as "sensitive" in the API will not 49565 // be included in the string output. The member name will be present, but the 49566 // value will be replaced with "sensitive". 49567 func (s DescribeTrialInput) GoString() string { 49568 return s.String() 49569 } 49570 49571 // Validate inspects the fields of the type to determine if they are valid. 49572 func (s *DescribeTrialInput) Validate() error { 49573 invalidParams := request.ErrInvalidParams{Context: "DescribeTrialInput"} 49574 if s.TrialName == nil { 49575 invalidParams.Add(request.NewErrParamRequired("TrialName")) 49576 } 49577 if s.TrialName != nil && len(*s.TrialName) < 1 { 49578 invalidParams.Add(request.NewErrParamMinLen("TrialName", 1)) 49579 } 49580 49581 if invalidParams.Len() > 0 { 49582 return invalidParams 49583 } 49584 return nil 49585 } 49586 49587 // SetTrialName sets the TrialName field's value. 49588 func (s *DescribeTrialInput) SetTrialName(v string) *DescribeTrialInput { 49589 s.TrialName = &v 49590 return s 49591 } 49592 49593 type DescribeTrialOutput struct { 49594 _ struct{} `type:"structure"` 49595 49596 // Who created the trial. 49597 CreatedBy *UserContext `type:"structure"` 49598 49599 // When the trial was created. 49600 CreationTime *time.Time `type:"timestamp"` 49601 49602 // The name of the trial as displayed. If DisplayName isn't specified, TrialName 49603 // is displayed. 49604 DisplayName *string `min:"1" type:"string"` 49605 49606 // The name of the experiment the trial is part of. 49607 ExperimentName *string `min:"1" type:"string"` 49608 49609 // Who last modified the trial. 49610 LastModifiedBy *UserContext `type:"structure"` 49611 49612 // When the trial was last modified. 49613 LastModifiedTime *time.Time `type:"timestamp"` 49614 49615 // Metadata properties of the tracking entity, trial, or trial component. 49616 MetadataProperties *MetadataProperties `type:"structure"` 49617 49618 // The Amazon Resource Name (ARN) of the source and, optionally, the job type. 49619 Source *TrialSource `type:"structure"` 49620 49621 // The Amazon Resource Name (ARN) of the trial. 49622 TrialArn *string `type:"string"` 49623 49624 // The name of the trial. 49625 TrialName *string `min:"1" type:"string"` 49626 } 49627 49628 // String returns the string representation. 49629 // 49630 // API parameter values that are decorated as "sensitive" in the API will not 49631 // be included in the string output. The member name will be present, but the 49632 // value will be replaced with "sensitive". 49633 func (s DescribeTrialOutput) String() string { 49634 return awsutil.Prettify(s) 49635 } 49636 49637 // GoString returns the string representation. 49638 // 49639 // API parameter values that are decorated as "sensitive" in the API will not 49640 // be included in the string output. The member name will be present, but the 49641 // value will be replaced with "sensitive". 49642 func (s DescribeTrialOutput) GoString() string { 49643 return s.String() 49644 } 49645 49646 // SetCreatedBy sets the CreatedBy field's value. 49647 func (s *DescribeTrialOutput) SetCreatedBy(v *UserContext) *DescribeTrialOutput { 49648 s.CreatedBy = v 49649 return s 49650 } 49651 49652 // SetCreationTime sets the CreationTime field's value. 49653 func (s *DescribeTrialOutput) SetCreationTime(v time.Time) *DescribeTrialOutput { 49654 s.CreationTime = &v 49655 return s 49656 } 49657 49658 // SetDisplayName sets the DisplayName field's value. 49659 func (s *DescribeTrialOutput) SetDisplayName(v string) *DescribeTrialOutput { 49660 s.DisplayName = &v 49661 return s 49662 } 49663 49664 // SetExperimentName sets the ExperimentName field's value. 49665 func (s *DescribeTrialOutput) SetExperimentName(v string) *DescribeTrialOutput { 49666 s.ExperimentName = &v 49667 return s 49668 } 49669 49670 // SetLastModifiedBy sets the LastModifiedBy field's value. 49671 func (s *DescribeTrialOutput) SetLastModifiedBy(v *UserContext) *DescribeTrialOutput { 49672 s.LastModifiedBy = v 49673 return s 49674 } 49675 49676 // SetLastModifiedTime sets the LastModifiedTime field's value. 49677 func (s *DescribeTrialOutput) SetLastModifiedTime(v time.Time) *DescribeTrialOutput { 49678 s.LastModifiedTime = &v 49679 return s 49680 } 49681 49682 // SetMetadataProperties sets the MetadataProperties field's value. 49683 func (s *DescribeTrialOutput) SetMetadataProperties(v *MetadataProperties) *DescribeTrialOutput { 49684 s.MetadataProperties = v 49685 return s 49686 } 49687 49688 // SetSource sets the Source field's value. 49689 func (s *DescribeTrialOutput) SetSource(v *TrialSource) *DescribeTrialOutput { 49690 s.Source = v 49691 return s 49692 } 49693 49694 // SetTrialArn sets the TrialArn field's value. 49695 func (s *DescribeTrialOutput) SetTrialArn(v string) *DescribeTrialOutput { 49696 s.TrialArn = &v 49697 return s 49698 } 49699 49700 // SetTrialName sets the TrialName field's value. 49701 func (s *DescribeTrialOutput) SetTrialName(v string) *DescribeTrialOutput { 49702 s.TrialName = &v 49703 return s 49704 } 49705 49706 type DescribeUserProfileInput struct { 49707 _ struct{} `type:"structure"` 49708 49709 // The domain ID. 49710 // 49711 // DomainId is a required field 49712 DomainId *string `type:"string" required:"true"` 49713 49714 // The user profile name. This value is not case sensitive. 49715 // 49716 // UserProfileName is a required field 49717 UserProfileName *string `type:"string" required:"true"` 49718 } 49719 49720 // String returns the string representation. 49721 // 49722 // API parameter values that are decorated as "sensitive" in the API will not 49723 // be included in the string output. The member name will be present, but the 49724 // value will be replaced with "sensitive". 49725 func (s DescribeUserProfileInput) String() string { 49726 return awsutil.Prettify(s) 49727 } 49728 49729 // GoString returns the string representation. 49730 // 49731 // API parameter values that are decorated as "sensitive" in the API will not 49732 // be included in the string output. The member name will be present, but the 49733 // value will be replaced with "sensitive". 49734 func (s DescribeUserProfileInput) GoString() string { 49735 return s.String() 49736 } 49737 49738 // Validate inspects the fields of the type to determine if they are valid. 49739 func (s *DescribeUserProfileInput) Validate() error { 49740 invalidParams := request.ErrInvalidParams{Context: "DescribeUserProfileInput"} 49741 if s.DomainId == nil { 49742 invalidParams.Add(request.NewErrParamRequired("DomainId")) 49743 } 49744 if s.UserProfileName == nil { 49745 invalidParams.Add(request.NewErrParamRequired("UserProfileName")) 49746 } 49747 49748 if invalidParams.Len() > 0 { 49749 return invalidParams 49750 } 49751 return nil 49752 } 49753 49754 // SetDomainId sets the DomainId field's value. 49755 func (s *DescribeUserProfileInput) SetDomainId(v string) *DescribeUserProfileInput { 49756 s.DomainId = &v 49757 return s 49758 } 49759 49760 // SetUserProfileName sets the UserProfileName field's value. 49761 func (s *DescribeUserProfileInput) SetUserProfileName(v string) *DescribeUserProfileInput { 49762 s.UserProfileName = &v 49763 return s 49764 } 49765 49766 type DescribeUserProfileOutput struct { 49767 _ struct{} `type:"structure"` 49768 49769 // The creation time. 49770 CreationTime *time.Time `type:"timestamp"` 49771 49772 // The ID of the domain that contains the profile. 49773 DomainId *string `type:"string"` 49774 49775 // The failure reason. 49776 FailureReason *string `type:"string"` 49777 49778 // The ID of the user's profile in the Amazon Elastic File System (EFS) volume. 49779 HomeEfsFileSystemUid *string `type:"string"` 49780 49781 // The last modified time. 49782 LastModifiedTime *time.Time `type:"timestamp"` 49783 49784 // The SSO user identifier. 49785 SingleSignOnUserIdentifier *string `type:"string"` 49786 49787 // The SSO user value. 49788 SingleSignOnUserValue *string `type:"string"` 49789 49790 // The status. 49791 Status *string `type:"string" enum:"UserProfileStatus"` 49792 49793 // The user profile Amazon Resource Name (ARN). 49794 UserProfileArn *string `type:"string"` 49795 49796 // The user profile name. 49797 UserProfileName *string `type:"string"` 49798 49799 // A collection of settings. 49800 UserSettings *UserSettings `type:"structure"` 49801 } 49802 49803 // String returns the string representation. 49804 // 49805 // API parameter values that are decorated as "sensitive" in the API will not 49806 // be included in the string output. The member name will be present, but the 49807 // value will be replaced with "sensitive". 49808 func (s DescribeUserProfileOutput) String() string { 49809 return awsutil.Prettify(s) 49810 } 49811 49812 // GoString returns the string representation. 49813 // 49814 // API parameter values that are decorated as "sensitive" in the API will not 49815 // be included in the string output. The member name will be present, but the 49816 // value will be replaced with "sensitive". 49817 func (s DescribeUserProfileOutput) GoString() string { 49818 return s.String() 49819 } 49820 49821 // SetCreationTime sets the CreationTime field's value. 49822 func (s *DescribeUserProfileOutput) SetCreationTime(v time.Time) *DescribeUserProfileOutput { 49823 s.CreationTime = &v 49824 return s 49825 } 49826 49827 // SetDomainId sets the DomainId field's value. 49828 func (s *DescribeUserProfileOutput) SetDomainId(v string) *DescribeUserProfileOutput { 49829 s.DomainId = &v 49830 return s 49831 } 49832 49833 // SetFailureReason sets the FailureReason field's value. 49834 func (s *DescribeUserProfileOutput) SetFailureReason(v string) *DescribeUserProfileOutput { 49835 s.FailureReason = &v 49836 return s 49837 } 49838 49839 // SetHomeEfsFileSystemUid sets the HomeEfsFileSystemUid field's value. 49840 func (s *DescribeUserProfileOutput) SetHomeEfsFileSystemUid(v string) *DescribeUserProfileOutput { 49841 s.HomeEfsFileSystemUid = &v 49842 return s 49843 } 49844 49845 // SetLastModifiedTime sets the LastModifiedTime field's value. 49846 func (s *DescribeUserProfileOutput) SetLastModifiedTime(v time.Time) *DescribeUserProfileOutput { 49847 s.LastModifiedTime = &v 49848 return s 49849 } 49850 49851 // SetSingleSignOnUserIdentifier sets the SingleSignOnUserIdentifier field's value. 49852 func (s *DescribeUserProfileOutput) SetSingleSignOnUserIdentifier(v string) *DescribeUserProfileOutput { 49853 s.SingleSignOnUserIdentifier = &v 49854 return s 49855 } 49856 49857 // SetSingleSignOnUserValue sets the SingleSignOnUserValue field's value. 49858 func (s *DescribeUserProfileOutput) SetSingleSignOnUserValue(v string) *DescribeUserProfileOutput { 49859 s.SingleSignOnUserValue = &v 49860 return s 49861 } 49862 49863 // SetStatus sets the Status field's value. 49864 func (s *DescribeUserProfileOutput) SetStatus(v string) *DescribeUserProfileOutput { 49865 s.Status = &v 49866 return s 49867 } 49868 49869 // SetUserProfileArn sets the UserProfileArn field's value. 49870 func (s *DescribeUserProfileOutput) SetUserProfileArn(v string) *DescribeUserProfileOutput { 49871 s.UserProfileArn = &v 49872 return s 49873 } 49874 49875 // SetUserProfileName sets the UserProfileName field's value. 49876 func (s *DescribeUserProfileOutput) SetUserProfileName(v string) *DescribeUserProfileOutput { 49877 s.UserProfileName = &v 49878 return s 49879 } 49880 49881 // SetUserSettings sets the UserSettings field's value. 49882 func (s *DescribeUserProfileOutput) SetUserSettings(v *UserSettings) *DescribeUserProfileOutput { 49883 s.UserSettings = v 49884 return s 49885 } 49886 49887 type DescribeWorkforceInput struct { 49888 _ struct{} `type:"structure"` 49889 49890 // The name of the private workforce whose access you want to restrict. WorkforceName 49891 // is automatically set to default when a workforce is created and cannot be 49892 // modified. 49893 // 49894 // WorkforceName is a required field 49895 WorkforceName *string `min:"1" type:"string" required:"true"` 49896 } 49897 49898 // String returns the string representation. 49899 // 49900 // API parameter values that are decorated as "sensitive" in the API will not 49901 // be included in the string output. The member name will be present, but the 49902 // value will be replaced with "sensitive". 49903 func (s DescribeWorkforceInput) String() string { 49904 return awsutil.Prettify(s) 49905 } 49906 49907 // GoString returns the string representation. 49908 // 49909 // API parameter values that are decorated as "sensitive" in the API will not 49910 // be included in the string output. The member name will be present, but the 49911 // value will be replaced with "sensitive". 49912 func (s DescribeWorkforceInput) GoString() string { 49913 return s.String() 49914 } 49915 49916 // Validate inspects the fields of the type to determine if they are valid. 49917 func (s *DescribeWorkforceInput) Validate() error { 49918 invalidParams := request.ErrInvalidParams{Context: "DescribeWorkforceInput"} 49919 if s.WorkforceName == nil { 49920 invalidParams.Add(request.NewErrParamRequired("WorkforceName")) 49921 } 49922 if s.WorkforceName != nil && len(*s.WorkforceName) < 1 { 49923 invalidParams.Add(request.NewErrParamMinLen("WorkforceName", 1)) 49924 } 49925 49926 if invalidParams.Len() > 0 { 49927 return invalidParams 49928 } 49929 return nil 49930 } 49931 49932 // SetWorkforceName sets the WorkforceName field's value. 49933 func (s *DescribeWorkforceInput) SetWorkforceName(v string) *DescribeWorkforceInput { 49934 s.WorkforceName = &v 49935 return s 49936 } 49937 49938 type DescribeWorkforceOutput struct { 49939 _ struct{} `type:"structure"` 49940 49941 // A single private workforce, which is automatically created when you create 49942 // your first private work team. You can create one private work force in each 49943 // Amazon Web Services Region. By default, any workforce-related API operation 49944 // used in a specific region will apply to the workforce created in that region. 49945 // To learn how to create a private workforce, see Create a Private Workforce 49946 // (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-create-private.html). 49947 // 49948 // Workforce is a required field 49949 Workforce *Workforce `type:"structure" required:"true"` 49950 } 49951 49952 // String returns the string representation. 49953 // 49954 // API parameter values that are decorated as "sensitive" in the API will not 49955 // be included in the string output. The member name will be present, but the 49956 // value will be replaced with "sensitive". 49957 func (s DescribeWorkforceOutput) String() string { 49958 return awsutil.Prettify(s) 49959 } 49960 49961 // GoString returns the string representation. 49962 // 49963 // API parameter values that are decorated as "sensitive" in the API will not 49964 // be included in the string output. The member name will be present, but the 49965 // value will be replaced with "sensitive". 49966 func (s DescribeWorkforceOutput) GoString() string { 49967 return s.String() 49968 } 49969 49970 // SetWorkforce sets the Workforce field's value. 49971 func (s *DescribeWorkforceOutput) SetWorkforce(v *Workforce) *DescribeWorkforceOutput { 49972 s.Workforce = v 49973 return s 49974 } 49975 49976 type DescribeWorkteamInput struct { 49977 _ struct{} `type:"structure"` 49978 49979 // The name of the work team to return a description of. 49980 // 49981 // WorkteamName is a required field 49982 WorkteamName *string `min:"1" type:"string" required:"true"` 49983 } 49984 49985 // String returns the string representation. 49986 // 49987 // API parameter values that are decorated as "sensitive" in the API will not 49988 // be included in the string output. The member name will be present, but the 49989 // value will be replaced with "sensitive". 49990 func (s DescribeWorkteamInput) String() string { 49991 return awsutil.Prettify(s) 49992 } 49993 49994 // GoString returns the string representation. 49995 // 49996 // API parameter values that are decorated as "sensitive" in the API will not 49997 // be included in the string output. The member name will be present, but the 49998 // value will be replaced with "sensitive". 49999 func (s DescribeWorkteamInput) GoString() string { 50000 return s.String() 50001 } 50002 50003 // Validate inspects the fields of the type to determine if they are valid. 50004 func (s *DescribeWorkteamInput) Validate() error { 50005 invalidParams := request.ErrInvalidParams{Context: "DescribeWorkteamInput"} 50006 if s.WorkteamName == nil { 50007 invalidParams.Add(request.NewErrParamRequired("WorkteamName")) 50008 } 50009 if s.WorkteamName != nil && len(*s.WorkteamName) < 1 { 50010 invalidParams.Add(request.NewErrParamMinLen("WorkteamName", 1)) 50011 } 50012 50013 if invalidParams.Len() > 0 { 50014 return invalidParams 50015 } 50016 return nil 50017 } 50018 50019 // SetWorkteamName sets the WorkteamName field's value. 50020 func (s *DescribeWorkteamInput) SetWorkteamName(v string) *DescribeWorkteamInput { 50021 s.WorkteamName = &v 50022 return s 50023 } 50024 50025 type DescribeWorkteamOutput struct { 50026 _ struct{} `type:"structure"` 50027 50028 // A Workteam instance that contains information about the work team. 50029 // 50030 // Workteam is a required field 50031 Workteam *Workteam `type:"structure" required:"true"` 50032 } 50033 50034 // String returns the string representation. 50035 // 50036 // API parameter values that are decorated as "sensitive" in the API will not 50037 // be included in the string output. The member name will be present, but the 50038 // value will be replaced with "sensitive". 50039 func (s DescribeWorkteamOutput) String() string { 50040 return awsutil.Prettify(s) 50041 } 50042 50043 // GoString returns the string representation. 50044 // 50045 // API parameter values that are decorated as "sensitive" in the API will not 50046 // be included in the string output. The member name will be present, but the 50047 // value will be replaced with "sensitive". 50048 func (s DescribeWorkteamOutput) GoString() string { 50049 return s.String() 50050 } 50051 50052 // SetWorkteam sets the Workteam field's value. 50053 func (s *DescribeWorkteamOutput) SetWorkteam(v *Workteam) *DescribeWorkteamOutput { 50054 s.Workteam = v 50055 return s 50056 } 50057 50058 // Specifies weight and capacity values for a production variant. 50059 type DesiredWeightAndCapacity struct { 50060 _ struct{} `type:"structure"` 50061 50062 // The variant's capacity. 50063 DesiredInstanceCount *int64 `type:"integer"` 50064 50065 // The variant's weight. 50066 DesiredWeight *float64 `type:"float"` 50067 50068 // The name of the variant to update. 50069 // 50070 // VariantName is a required field 50071 VariantName *string `type:"string" required:"true"` 50072 } 50073 50074 // String returns the string representation. 50075 // 50076 // API parameter values that are decorated as "sensitive" in the API will not 50077 // be included in the string output. The member name will be present, but the 50078 // value will be replaced with "sensitive". 50079 func (s DesiredWeightAndCapacity) String() string { 50080 return awsutil.Prettify(s) 50081 } 50082 50083 // GoString returns the string representation. 50084 // 50085 // API parameter values that are decorated as "sensitive" in the API will not 50086 // be included in the string output. The member name will be present, but the 50087 // value will be replaced with "sensitive". 50088 func (s DesiredWeightAndCapacity) GoString() string { 50089 return s.String() 50090 } 50091 50092 // Validate inspects the fields of the type to determine if they are valid. 50093 func (s *DesiredWeightAndCapacity) Validate() error { 50094 invalidParams := request.ErrInvalidParams{Context: "DesiredWeightAndCapacity"} 50095 if s.VariantName == nil { 50096 invalidParams.Add(request.NewErrParamRequired("VariantName")) 50097 } 50098 50099 if invalidParams.Len() > 0 { 50100 return invalidParams 50101 } 50102 return nil 50103 } 50104 50105 // SetDesiredInstanceCount sets the DesiredInstanceCount field's value. 50106 func (s *DesiredWeightAndCapacity) SetDesiredInstanceCount(v int64) *DesiredWeightAndCapacity { 50107 s.DesiredInstanceCount = &v 50108 return s 50109 } 50110 50111 // SetDesiredWeight sets the DesiredWeight field's value. 50112 func (s *DesiredWeightAndCapacity) SetDesiredWeight(v float64) *DesiredWeightAndCapacity { 50113 s.DesiredWeight = &v 50114 return s 50115 } 50116 50117 // SetVariantName sets the VariantName field's value. 50118 func (s *DesiredWeightAndCapacity) SetVariantName(v string) *DesiredWeightAndCapacity { 50119 s.VariantName = &v 50120 return s 50121 } 50122 50123 // Information of a particular device. 50124 type Device struct { 50125 _ struct{} `type:"structure"` 50126 50127 // Description of the device. 50128 Description *string `min:"1" type:"string"` 50129 50130 // The name of the device. 50131 // 50132 // DeviceName is a required field 50133 DeviceName *string `min:"1" type:"string" required:"true"` 50134 50135 // Amazon Web Services Internet of Things (IoT) object name. 50136 IotThingName *string `type:"string"` 50137 } 50138 50139 // String returns the string representation. 50140 // 50141 // API parameter values that are decorated as "sensitive" in the API will not 50142 // be included in the string output. The member name will be present, but the 50143 // value will be replaced with "sensitive". 50144 func (s Device) String() string { 50145 return awsutil.Prettify(s) 50146 } 50147 50148 // GoString returns the string representation. 50149 // 50150 // API parameter values that are decorated as "sensitive" in the API will not 50151 // be included in the string output. The member name will be present, but the 50152 // value will be replaced with "sensitive". 50153 func (s Device) GoString() string { 50154 return s.String() 50155 } 50156 50157 // Validate inspects the fields of the type to determine if they are valid. 50158 func (s *Device) Validate() error { 50159 invalidParams := request.ErrInvalidParams{Context: "Device"} 50160 if s.Description != nil && len(*s.Description) < 1 { 50161 invalidParams.Add(request.NewErrParamMinLen("Description", 1)) 50162 } 50163 if s.DeviceName == nil { 50164 invalidParams.Add(request.NewErrParamRequired("DeviceName")) 50165 } 50166 if s.DeviceName != nil && len(*s.DeviceName) < 1 { 50167 invalidParams.Add(request.NewErrParamMinLen("DeviceName", 1)) 50168 } 50169 50170 if invalidParams.Len() > 0 { 50171 return invalidParams 50172 } 50173 return nil 50174 } 50175 50176 // SetDescription sets the Description field's value. 50177 func (s *Device) SetDescription(v string) *Device { 50178 s.Description = &v 50179 return s 50180 } 50181 50182 // SetDeviceName sets the DeviceName field's value. 50183 func (s *Device) SetDeviceName(v string) *Device { 50184 s.DeviceName = &v 50185 return s 50186 } 50187 50188 // SetIotThingName sets the IotThingName field's value. 50189 func (s *Device) SetIotThingName(v string) *Device { 50190 s.IotThingName = &v 50191 return s 50192 } 50193 50194 // Summary of the device fleet. 50195 type DeviceFleetSummary struct { 50196 _ struct{} `type:"structure"` 50197 50198 // Timestamp of when the device fleet was created. 50199 CreationTime *time.Time `type:"timestamp"` 50200 50201 // Amazon Resource Name (ARN) of the device fleet. 50202 // 50203 // DeviceFleetArn is a required field 50204 DeviceFleetArn *string `type:"string" required:"true"` 50205 50206 // Name of the device fleet. 50207 // 50208 // DeviceFleetName is a required field 50209 DeviceFleetName *string `min:"1" type:"string" required:"true"` 50210 50211 // Timestamp of when the device fleet was last updated. 50212 LastModifiedTime *time.Time `type:"timestamp"` 50213 } 50214 50215 // String returns the string representation. 50216 // 50217 // API parameter values that are decorated as "sensitive" in the API will not 50218 // be included in the string output. The member name will be present, but the 50219 // value will be replaced with "sensitive". 50220 func (s DeviceFleetSummary) String() string { 50221 return awsutil.Prettify(s) 50222 } 50223 50224 // GoString returns the string representation. 50225 // 50226 // API parameter values that are decorated as "sensitive" in the API will not 50227 // be included in the string output. The member name will be present, but the 50228 // value will be replaced with "sensitive". 50229 func (s DeviceFleetSummary) GoString() string { 50230 return s.String() 50231 } 50232 50233 // SetCreationTime sets the CreationTime field's value. 50234 func (s *DeviceFleetSummary) SetCreationTime(v time.Time) *DeviceFleetSummary { 50235 s.CreationTime = &v 50236 return s 50237 } 50238 50239 // SetDeviceFleetArn sets the DeviceFleetArn field's value. 50240 func (s *DeviceFleetSummary) SetDeviceFleetArn(v string) *DeviceFleetSummary { 50241 s.DeviceFleetArn = &v 50242 return s 50243 } 50244 50245 // SetDeviceFleetName sets the DeviceFleetName field's value. 50246 func (s *DeviceFleetSummary) SetDeviceFleetName(v string) *DeviceFleetSummary { 50247 s.DeviceFleetName = &v 50248 return s 50249 } 50250 50251 // SetLastModifiedTime sets the LastModifiedTime field's value. 50252 func (s *DeviceFleetSummary) SetLastModifiedTime(v time.Time) *DeviceFleetSummary { 50253 s.LastModifiedTime = &v 50254 return s 50255 } 50256 50257 // Status of devices. 50258 type DeviceStats struct { 50259 _ struct{} `type:"structure"` 50260 50261 // The number of devices connected with a heartbeat. 50262 // 50263 // ConnectedDeviceCount is a required field 50264 ConnectedDeviceCount *int64 `type:"long" required:"true"` 50265 50266 // The number of registered devices. 50267 // 50268 // RegisteredDeviceCount is a required field 50269 RegisteredDeviceCount *int64 `type:"long" required:"true"` 50270 } 50271 50272 // String returns the string representation. 50273 // 50274 // API parameter values that are decorated as "sensitive" in the API will not 50275 // be included in the string output. The member name will be present, but the 50276 // value will be replaced with "sensitive". 50277 func (s DeviceStats) String() string { 50278 return awsutil.Prettify(s) 50279 } 50280 50281 // GoString returns the string representation. 50282 // 50283 // API parameter values that are decorated as "sensitive" in the API will not 50284 // be included in the string output. The member name will be present, but the 50285 // value will be replaced with "sensitive". 50286 func (s DeviceStats) GoString() string { 50287 return s.String() 50288 } 50289 50290 // SetConnectedDeviceCount sets the ConnectedDeviceCount field's value. 50291 func (s *DeviceStats) SetConnectedDeviceCount(v int64) *DeviceStats { 50292 s.ConnectedDeviceCount = &v 50293 return s 50294 } 50295 50296 // SetRegisteredDeviceCount sets the RegisteredDeviceCount field's value. 50297 func (s *DeviceStats) SetRegisteredDeviceCount(v int64) *DeviceStats { 50298 s.RegisteredDeviceCount = &v 50299 return s 50300 } 50301 50302 // Summary of the device. 50303 type DeviceSummary struct { 50304 _ struct{} `type:"structure"` 50305 50306 // A description of the device. 50307 Description *string `min:"1" type:"string"` 50308 50309 // Amazon Resource Name (ARN) of the device. 50310 // 50311 // DeviceArn is a required field 50312 DeviceArn *string `min:"20" type:"string" required:"true"` 50313 50314 // The name of the fleet the device belongs to. 50315 DeviceFleetName *string `min:"1" type:"string"` 50316 50317 // The unique identifier of the device. 50318 // 50319 // DeviceName is a required field 50320 DeviceName *string `min:"1" type:"string" required:"true"` 50321 50322 // The Amazon Web Services Internet of Things (IoT) object thing name associated 50323 // with the device.. 50324 IotThingName *string `type:"string"` 50325 50326 // The last heartbeat received from the device. 50327 LatestHeartbeat *time.Time `type:"timestamp"` 50328 50329 // Models on the device. 50330 Models []*EdgeModelSummary `type:"list"` 50331 50332 // The timestamp of the last registration or de-reregistration. 50333 RegistrationTime *time.Time `type:"timestamp"` 50334 } 50335 50336 // String returns the string representation. 50337 // 50338 // API parameter values that are decorated as "sensitive" in the API will not 50339 // be included in the string output. The member name will be present, but the 50340 // value will be replaced with "sensitive". 50341 func (s DeviceSummary) String() string { 50342 return awsutil.Prettify(s) 50343 } 50344 50345 // GoString returns the string representation. 50346 // 50347 // API parameter values that are decorated as "sensitive" in the API will not 50348 // be included in the string output. The member name will be present, but the 50349 // value will be replaced with "sensitive". 50350 func (s DeviceSummary) GoString() string { 50351 return s.String() 50352 } 50353 50354 // SetDescription sets the Description field's value. 50355 func (s *DeviceSummary) SetDescription(v string) *DeviceSummary { 50356 s.Description = &v 50357 return s 50358 } 50359 50360 // SetDeviceArn sets the DeviceArn field's value. 50361 func (s *DeviceSummary) SetDeviceArn(v string) *DeviceSummary { 50362 s.DeviceArn = &v 50363 return s 50364 } 50365 50366 // SetDeviceFleetName sets the DeviceFleetName field's value. 50367 func (s *DeviceSummary) SetDeviceFleetName(v string) *DeviceSummary { 50368 s.DeviceFleetName = &v 50369 return s 50370 } 50371 50372 // SetDeviceName sets the DeviceName field's value. 50373 func (s *DeviceSummary) SetDeviceName(v string) *DeviceSummary { 50374 s.DeviceName = &v 50375 return s 50376 } 50377 50378 // SetIotThingName sets the IotThingName field's value. 50379 func (s *DeviceSummary) SetIotThingName(v string) *DeviceSummary { 50380 s.IotThingName = &v 50381 return s 50382 } 50383 50384 // SetLatestHeartbeat sets the LatestHeartbeat field's value. 50385 func (s *DeviceSummary) SetLatestHeartbeat(v time.Time) *DeviceSummary { 50386 s.LatestHeartbeat = &v 50387 return s 50388 } 50389 50390 // SetModels sets the Models field's value. 50391 func (s *DeviceSummary) SetModels(v []*EdgeModelSummary) *DeviceSummary { 50392 s.Models = v 50393 return s 50394 } 50395 50396 // SetRegistrationTime sets the RegistrationTime field's value. 50397 func (s *DeviceSummary) SetRegistrationTime(v time.Time) *DeviceSummary { 50398 s.RegistrationTime = &v 50399 return s 50400 } 50401 50402 type DisableSagemakerServicecatalogPortfolioInput struct { 50403 _ struct{} `type:"structure"` 50404 } 50405 50406 // String returns the string representation. 50407 // 50408 // API parameter values that are decorated as "sensitive" in the API will not 50409 // be included in the string output. The member name will be present, but the 50410 // value will be replaced with "sensitive". 50411 func (s DisableSagemakerServicecatalogPortfolioInput) String() string { 50412 return awsutil.Prettify(s) 50413 } 50414 50415 // GoString returns the string representation. 50416 // 50417 // API parameter values that are decorated as "sensitive" in the API will not 50418 // be included in the string output. The member name will be present, but the 50419 // value will be replaced with "sensitive". 50420 func (s DisableSagemakerServicecatalogPortfolioInput) GoString() string { 50421 return s.String() 50422 } 50423 50424 type DisableSagemakerServicecatalogPortfolioOutput struct { 50425 _ struct{} `type:"structure"` 50426 } 50427 50428 // String returns the string representation. 50429 // 50430 // API parameter values that are decorated as "sensitive" in the API will not 50431 // be included in the string output. The member name will be present, but the 50432 // value will be replaced with "sensitive". 50433 func (s DisableSagemakerServicecatalogPortfolioOutput) String() string { 50434 return awsutil.Prettify(s) 50435 } 50436 50437 // GoString returns the string representation. 50438 // 50439 // API parameter values that are decorated as "sensitive" in the API will not 50440 // be included in the string output. The member name will be present, but the 50441 // value will be replaced with "sensitive". 50442 func (s DisableSagemakerServicecatalogPortfolioOutput) GoString() string { 50443 return s.String() 50444 } 50445 50446 type DisassociateTrialComponentInput struct { 50447 _ struct{} `type:"structure"` 50448 50449 // The name of the component to disassociate from the trial. 50450 // 50451 // TrialComponentName is a required field 50452 TrialComponentName *string `min:"1" type:"string" required:"true"` 50453 50454 // The name of the trial to disassociate from. 50455 // 50456 // TrialName is a required field 50457 TrialName *string `min:"1" type:"string" required:"true"` 50458 } 50459 50460 // String returns the string representation. 50461 // 50462 // API parameter values that are decorated as "sensitive" in the API will not 50463 // be included in the string output. The member name will be present, but the 50464 // value will be replaced with "sensitive". 50465 func (s DisassociateTrialComponentInput) String() string { 50466 return awsutil.Prettify(s) 50467 } 50468 50469 // GoString returns the string representation. 50470 // 50471 // API parameter values that are decorated as "sensitive" in the API will not 50472 // be included in the string output. The member name will be present, but the 50473 // value will be replaced with "sensitive". 50474 func (s DisassociateTrialComponentInput) GoString() string { 50475 return s.String() 50476 } 50477 50478 // Validate inspects the fields of the type to determine if they are valid. 50479 func (s *DisassociateTrialComponentInput) Validate() error { 50480 invalidParams := request.ErrInvalidParams{Context: "DisassociateTrialComponentInput"} 50481 if s.TrialComponentName == nil { 50482 invalidParams.Add(request.NewErrParamRequired("TrialComponentName")) 50483 } 50484 if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 { 50485 invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1)) 50486 } 50487 if s.TrialName == nil { 50488 invalidParams.Add(request.NewErrParamRequired("TrialName")) 50489 } 50490 if s.TrialName != nil && len(*s.TrialName) < 1 { 50491 invalidParams.Add(request.NewErrParamMinLen("TrialName", 1)) 50492 } 50493 50494 if invalidParams.Len() > 0 { 50495 return invalidParams 50496 } 50497 return nil 50498 } 50499 50500 // SetTrialComponentName sets the TrialComponentName field's value. 50501 func (s *DisassociateTrialComponentInput) SetTrialComponentName(v string) *DisassociateTrialComponentInput { 50502 s.TrialComponentName = &v 50503 return s 50504 } 50505 50506 // SetTrialName sets the TrialName field's value. 50507 func (s *DisassociateTrialComponentInput) SetTrialName(v string) *DisassociateTrialComponentInput { 50508 s.TrialName = &v 50509 return s 50510 } 50511 50512 type DisassociateTrialComponentOutput struct { 50513 _ struct{} `type:"structure"` 50514 50515 // The Amazon Resource Name (ARN) of the trial. 50516 TrialArn *string `type:"string"` 50517 50518 // The ARN of the trial component. 50519 TrialComponentArn *string `type:"string"` 50520 } 50521 50522 // String returns the string representation. 50523 // 50524 // API parameter values that are decorated as "sensitive" in the API will not 50525 // be included in the string output. The member name will be present, but the 50526 // value will be replaced with "sensitive". 50527 func (s DisassociateTrialComponentOutput) String() string { 50528 return awsutil.Prettify(s) 50529 } 50530 50531 // GoString returns the string representation. 50532 // 50533 // API parameter values that are decorated as "sensitive" in the API will not 50534 // be included in the string output. The member name will be present, but the 50535 // value will be replaced with "sensitive". 50536 func (s DisassociateTrialComponentOutput) GoString() string { 50537 return s.String() 50538 } 50539 50540 // SetTrialArn sets the TrialArn field's value. 50541 func (s *DisassociateTrialComponentOutput) SetTrialArn(v string) *DisassociateTrialComponentOutput { 50542 s.TrialArn = &v 50543 return s 50544 } 50545 50546 // SetTrialComponentArn sets the TrialComponentArn field's value. 50547 func (s *DisassociateTrialComponentOutput) SetTrialComponentArn(v string) *DisassociateTrialComponentOutput { 50548 s.TrialComponentArn = &v 50549 return s 50550 } 50551 50552 // The domain's details. 50553 type DomainDetails struct { 50554 _ struct{} `type:"structure"` 50555 50556 // The creation time. 50557 CreationTime *time.Time `type:"timestamp"` 50558 50559 // The domain's Amazon Resource Name (ARN). 50560 DomainArn *string `type:"string"` 50561 50562 // The domain ID. 50563 DomainId *string `type:"string"` 50564 50565 // The domain name. 50566 DomainName *string `type:"string"` 50567 50568 // The last modified time. 50569 LastModifiedTime *time.Time `type:"timestamp"` 50570 50571 // The status. 50572 Status *string `type:"string" enum:"DomainStatus"` 50573 50574 // The domain's URL. 50575 Url *string `type:"string"` 50576 } 50577 50578 // String returns the string representation. 50579 // 50580 // API parameter values that are decorated as "sensitive" in the API will not 50581 // be included in the string output. The member name will be present, but the 50582 // value will be replaced with "sensitive". 50583 func (s DomainDetails) String() string { 50584 return awsutil.Prettify(s) 50585 } 50586 50587 // GoString returns the string representation. 50588 // 50589 // API parameter values that are decorated as "sensitive" in the API will not 50590 // be included in the string output. The member name will be present, but the 50591 // value will be replaced with "sensitive". 50592 func (s DomainDetails) GoString() string { 50593 return s.String() 50594 } 50595 50596 // SetCreationTime sets the CreationTime field's value. 50597 func (s *DomainDetails) SetCreationTime(v time.Time) *DomainDetails { 50598 s.CreationTime = &v 50599 return s 50600 } 50601 50602 // SetDomainArn sets the DomainArn field's value. 50603 func (s *DomainDetails) SetDomainArn(v string) *DomainDetails { 50604 s.DomainArn = &v 50605 return s 50606 } 50607 50608 // SetDomainId sets the DomainId field's value. 50609 func (s *DomainDetails) SetDomainId(v string) *DomainDetails { 50610 s.DomainId = &v 50611 return s 50612 } 50613 50614 // SetDomainName sets the DomainName field's value. 50615 func (s *DomainDetails) SetDomainName(v string) *DomainDetails { 50616 s.DomainName = &v 50617 return s 50618 } 50619 50620 // SetLastModifiedTime sets the LastModifiedTime field's value. 50621 func (s *DomainDetails) SetLastModifiedTime(v time.Time) *DomainDetails { 50622 s.LastModifiedTime = &v 50623 return s 50624 } 50625 50626 // SetStatus sets the Status field's value. 50627 func (s *DomainDetails) SetStatus(v string) *DomainDetails { 50628 s.Status = &v 50629 return s 50630 } 50631 50632 // SetUrl sets the Url field's value. 50633 func (s *DomainDetails) SetUrl(v string) *DomainDetails { 50634 s.Url = &v 50635 return s 50636 } 50637 50638 // The model on the edge device. 50639 type EdgeModel struct { 50640 _ struct{} `type:"structure"` 50641 50642 // The timestamp of the last inference that was made. 50643 LatestInference *time.Time `type:"timestamp"` 50644 50645 // The timestamp of the last data sample taken. 50646 LatestSampleTime *time.Time `type:"timestamp"` 50647 50648 // The name of the model. 50649 // 50650 // ModelName is a required field 50651 ModelName *string `min:"1" type:"string" required:"true"` 50652 50653 // The model version. 50654 // 50655 // ModelVersion is a required field 50656 ModelVersion *string `min:"1" type:"string" required:"true"` 50657 } 50658 50659 // String returns the string representation. 50660 // 50661 // API parameter values that are decorated as "sensitive" in the API will not 50662 // be included in the string output. The member name will be present, but the 50663 // value will be replaced with "sensitive". 50664 func (s EdgeModel) String() string { 50665 return awsutil.Prettify(s) 50666 } 50667 50668 // GoString returns the string representation. 50669 // 50670 // API parameter values that are decorated as "sensitive" in the API will not 50671 // be included in the string output. The member name will be present, but the 50672 // value will be replaced with "sensitive". 50673 func (s EdgeModel) GoString() string { 50674 return s.String() 50675 } 50676 50677 // SetLatestInference sets the LatestInference field's value. 50678 func (s *EdgeModel) SetLatestInference(v time.Time) *EdgeModel { 50679 s.LatestInference = &v 50680 return s 50681 } 50682 50683 // SetLatestSampleTime sets the LatestSampleTime field's value. 50684 func (s *EdgeModel) SetLatestSampleTime(v time.Time) *EdgeModel { 50685 s.LatestSampleTime = &v 50686 return s 50687 } 50688 50689 // SetModelName sets the ModelName field's value. 50690 func (s *EdgeModel) SetModelName(v string) *EdgeModel { 50691 s.ModelName = &v 50692 return s 50693 } 50694 50695 // SetModelVersion sets the ModelVersion field's value. 50696 func (s *EdgeModel) SetModelVersion(v string) *EdgeModel { 50697 s.ModelVersion = &v 50698 return s 50699 } 50700 50701 // Status of edge devices with this model. 50702 type EdgeModelStat struct { 50703 _ struct{} `type:"structure"` 50704 50705 // The number of devices that have this model version, a heart beat, and are 50706 // currently running. 50707 // 50708 // ActiveDeviceCount is a required field 50709 ActiveDeviceCount *int64 `type:"long" required:"true"` 50710 50711 // The number of devices that have this model version and have a heart beat. 50712 // 50713 // ConnectedDeviceCount is a required field 50714 ConnectedDeviceCount *int64 `type:"long" required:"true"` 50715 50716 // The name of the model. 50717 // 50718 // ModelName is a required field 50719 ModelName *string `min:"1" type:"string" required:"true"` 50720 50721 // The model version. 50722 // 50723 // ModelVersion is a required field 50724 ModelVersion *string `min:"1" type:"string" required:"true"` 50725 50726 // The number of devices that have this model version and do not have a heart 50727 // beat. 50728 // 50729 // OfflineDeviceCount is a required field 50730 OfflineDeviceCount *int64 `type:"long" required:"true"` 50731 50732 // The number of devices with this model version and are producing sample data. 50733 // 50734 // SamplingDeviceCount is a required field 50735 SamplingDeviceCount *int64 `type:"long" required:"true"` 50736 } 50737 50738 // String returns the string representation. 50739 // 50740 // API parameter values that are decorated as "sensitive" in the API will not 50741 // be included in the string output. The member name will be present, but the 50742 // value will be replaced with "sensitive". 50743 func (s EdgeModelStat) String() string { 50744 return awsutil.Prettify(s) 50745 } 50746 50747 // GoString returns the string representation. 50748 // 50749 // API parameter values that are decorated as "sensitive" in the API will not 50750 // be included in the string output. The member name will be present, but the 50751 // value will be replaced with "sensitive". 50752 func (s EdgeModelStat) GoString() string { 50753 return s.String() 50754 } 50755 50756 // SetActiveDeviceCount sets the ActiveDeviceCount field's value. 50757 func (s *EdgeModelStat) SetActiveDeviceCount(v int64) *EdgeModelStat { 50758 s.ActiveDeviceCount = &v 50759 return s 50760 } 50761 50762 // SetConnectedDeviceCount sets the ConnectedDeviceCount field's value. 50763 func (s *EdgeModelStat) SetConnectedDeviceCount(v int64) *EdgeModelStat { 50764 s.ConnectedDeviceCount = &v 50765 return s 50766 } 50767 50768 // SetModelName sets the ModelName field's value. 50769 func (s *EdgeModelStat) SetModelName(v string) *EdgeModelStat { 50770 s.ModelName = &v 50771 return s 50772 } 50773 50774 // SetModelVersion sets the ModelVersion field's value. 50775 func (s *EdgeModelStat) SetModelVersion(v string) *EdgeModelStat { 50776 s.ModelVersion = &v 50777 return s 50778 } 50779 50780 // SetOfflineDeviceCount sets the OfflineDeviceCount field's value. 50781 func (s *EdgeModelStat) SetOfflineDeviceCount(v int64) *EdgeModelStat { 50782 s.OfflineDeviceCount = &v 50783 return s 50784 } 50785 50786 // SetSamplingDeviceCount sets the SamplingDeviceCount field's value. 50787 func (s *EdgeModelStat) SetSamplingDeviceCount(v int64) *EdgeModelStat { 50788 s.SamplingDeviceCount = &v 50789 return s 50790 } 50791 50792 // Summary of model on edge device. 50793 type EdgeModelSummary struct { 50794 _ struct{} `type:"structure"` 50795 50796 // The name of the model. 50797 // 50798 // ModelName is a required field 50799 ModelName *string `min:"1" type:"string" required:"true"` 50800 50801 // The version model. 50802 // 50803 // ModelVersion is a required field 50804 ModelVersion *string `min:"1" type:"string" required:"true"` 50805 } 50806 50807 // String returns the string representation. 50808 // 50809 // API parameter values that are decorated as "sensitive" in the API will not 50810 // be included in the string output. The member name will be present, but the 50811 // value will be replaced with "sensitive". 50812 func (s EdgeModelSummary) String() string { 50813 return awsutil.Prettify(s) 50814 } 50815 50816 // GoString returns the string representation. 50817 // 50818 // API parameter values that are decorated as "sensitive" in the API will not 50819 // be included in the string output. The member name will be present, but the 50820 // value will be replaced with "sensitive". 50821 func (s EdgeModelSummary) GoString() string { 50822 return s.String() 50823 } 50824 50825 // SetModelName sets the ModelName field's value. 50826 func (s *EdgeModelSummary) SetModelName(v string) *EdgeModelSummary { 50827 s.ModelName = &v 50828 return s 50829 } 50830 50831 // SetModelVersion sets the ModelVersion field's value. 50832 func (s *EdgeModelSummary) SetModelVersion(v string) *EdgeModelSummary { 50833 s.ModelVersion = &v 50834 return s 50835 } 50836 50837 // The output configuration. 50838 type EdgeOutputConfig struct { 50839 _ struct{} `type:"structure"` 50840 50841 // The Amazon Web Services Key Management Service (Amazon Web Services KMS) 50842 // key that Amazon SageMaker uses to encrypt data on the storage volume after 50843 // compilation job. If you don't provide a KMS key ID, Amazon SageMaker uses 50844 // the default KMS key for Amazon S3 for your role's account. 50845 KmsKeyId *string `type:"string"` 50846 50847 // The configuration used to create deployment artifacts. Specify configuration 50848 // options with a JSON string. The available configuration options for each 50849 // type are: 50850 // 50851 // * ComponentName (optional) - Name of the GreenGrass V2 component. If not 50852 // specified, the default name generated consists of "SagemakerEdgeManager" 50853 // and the name of your SageMaker Edge Manager packaging job. 50854 // 50855 // * ComponentDescription (optional) - Description of the component. 50856 // 50857 // * ComponentVersion (optional) - The version of the component. Amazon Web 50858 // Services IoT Greengrass uses semantic versions for components. Semantic 50859 // versions follow a major.minor.patch number system. For example, version 50860 // 1.0.0 represents the first major release for a component. For more information, 50861 // see the semantic version specification (https://semver.org/). 50862 // 50863 // * PlatformOS (optional) - The name of the operating system for the platform. 50864 // Supported platforms include Windows and Linux. 50865 // 50866 // * PlatformArchitecture (optional) - The processor architecture for the 50867 // platform. Supported architectures Windows include: Windows32_x86, Windows64_x64. 50868 // Supported architectures for Linux include: Linux x86_64, Linux ARMV8. 50869 PresetDeploymentConfig *string `type:"string"` 50870 50871 // The deployment type SageMaker Edge Manager will create. Currently only supports 50872 // Amazon Web Services IoT Greengrass Version 2 components. 50873 PresetDeploymentType *string `type:"string" enum:"EdgePresetDeploymentType"` 50874 50875 // The Amazon Simple Storage (S3) bucker URI. 50876 // 50877 // S3OutputLocation is a required field 50878 S3OutputLocation *string `type:"string" required:"true"` 50879 } 50880 50881 // String returns the string representation. 50882 // 50883 // API parameter values that are decorated as "sensitive" in the API will not 50884 // be included in the string output. The member name will be present, but the 50885 // value will be replaced with "sensitive". 50886 func (s EdgeOutputConfig) String() string { 50887 return awsutil.Prettify(s) 50888 } 50889 50890 // GoString returns the string representation. 50891 // 50892 // API parameter values that are decorated as "sensitive" in the API will not 50893 // be included in the string output. The member name will be present, but the 50894 // value will be replaced with "sensitive". 50895 func (s EdgeOutputConfig) GoString() string { 50896 return s.String() 50897 } 50898 50899 // Validate inspects the fields of the type to determine if they are valid. 50900 func (s *EdgeOutputConfig) Validate() error { 50901 invalidParams := request.ErrInvalidParams{Context: "EdgeOutputConfig"} 50902 if s.S3OutputLocation == nil { 50903 invalidParams.Add(request.NewErrParamRequired("S3OutputLocation")) 50904 } 50905 50906 if invalidParams.Len() > 0 { 50907 return invalidParams 50908 } 50909 return nil 50910 } 50911 50912 // SetKmsKeyId sets the KmsKeyId field's value. 50913 func (s *EdgeOutputConfig) SetKmsKeyId(v string) *EdgeOutputConfig { 50914 s.KmsKeyId = &v 50915 return s 50916 } 50917 50918 // SetPresetDeploymentConfig sets the PresetDeploymentConfig field's value. 50919 func (s *EdgeOutputConfig) SetPresetDeploymentConfig(v string) *EdgeOutputConfig { 50920 s.PresetDeploymentConfig = &v 50921 return s 50922 } 50923 50924 // SetPresetDeploymentType sets the PresetDeploymentType field's value. 50925 func (s *EdgeOutputConfig) SetPresetDeploymentType(v string) *EdgeOutputConfig { 50926 s.PresetDeploymentType = &v 50927 return s 50928 } 50929 50930 // SetS3OutputLocation sets the S3OutputLocation field's value. 50931 func (s *EdgeOutputConfig) SetS3OutputLocation(v string) *EdgeOutputConfig { 50932 s.S3OutputLocation = &v 50933 return s 50934 } 50935 50936 // Summary of edge packaging job. 50937 type EdgePackagingJobSummary struct { 50938 _ struct{} `type:"structure"` 50939 50940 // The name of the SageMaker Neo compilation job. 50941 CompilationJobName *string `min:"1" type:"string"` 50942 50943 // The timestamp of when the job was created. 50944 CreationTime *time.Time `type:"timestamp"` 50945 50946 // The Amazon Resource Name (ARN) of the edge packaging job. 50947 // 50948 // EdgePackagingJobArn is a required field 50949 EdgePackagingJobArn *string `min:"20" type:"string" required:"true"` 50950 50951 // The name of the edge packaging job. 50952 // 50953 // EdgePackagingJobName is a required field 50954 EdgePackagingJobName *string `min:"1" type:"string" required:"true"` 50955 50956 // The status of the edge packaging job. 50957 // 50958 // EdgePackagingJobStatus is a required field 50959 EdgePackagingJobStatus *string `type:"string" required:"true" enum:"EdgePackagingJobStatus"` 50960 50961 // The timestamp of when the edge packaging job was last updated. 50962 LastModifiedTime *time.Time `type:"timestamp"` 50963 50964 // The name of the model. 50965 ModelName *string `min:"1" type:"string"` 50966 50967 // The version of the model. 50968 ModelVersion *string `min:"1" type:"string"` 50969 } 50970 50971 // String returns the string representation. 50972 // 50973 // API parameter values that are decorated as "sensitive" in the API will not 50974 // be included in the string output. The member name will be present, but the 50975 // value will be replaced with "sensitive". 50976 func (s EdgePackagingJobSummary) String() string { 50977 return awsutil.Prettify(s) 50978 } 50979 50980 // GoString returns the string representation. 50981 // 50982 // API parameter values that are decorated as "sensitive" in the API will not 50983 // be included in the string output. The member name will be present, but the 50984 // value will be replaced with "sensitive". 50985 func (s EdgePackagingJobSummary) GoString() string { 50986 return s.String() 50987 } 50988 50989 // SetCompilationJobName sets the CompilationJobName field's value. 50990 func (s *EdgePackagingJobSummary) SetCompilationJobName(v string) *EdgePackagingJobSummary { 50991 s.CompilationJobName = &v 50992 return s 50993 } 50994 50995 // SetCreationTime sets the CreationTime field's value. 50996 func (s *EdgePackagingJobSummary) SetCreationTime(v time.Time) *EdgePackagingJobSummary { 50997 s.CreationTime = &v 50998 return s 50999 } 51000 51001 // SetEdgePackagingJobArn sets the EdgePackagingJobArn field's value. 51002 func (s *EdgePackagingJobSummary) SetEdgePackagingJobArn(v string) *EdgePackagingJobSummary { 51003 s.EdgePackagingJobArn = &v 51004 return s 51005 } 51006 51007 // SetEdgePackagingJobName sets the EdgePackagingJobName field's value. 51008 func (s *EdgePackagingJobSummary) SetEdgePackagingJobName(v string) *EdgePackagingJobSummary { 51009 s.EdgePackagingJobName = &v 51010 return s 51011 } 51012 51013 // SetEdgePackagingJobStatus sets the EdgePackagingJobStatus field's value. 51014 func (s *EdgePackagingJobSummary) SetEdgePackagingJobStatus(v string) *EdgePackagingJobSummary { 51015 s.EdgePackagingJobStatus = &v 51016 return s 51017 } 51018 51019 // SetLastModifiedTime sets the LastModifiedTime field's value. 51020 func (s *EdgePackagingJobSummary) SetLastModifiedTime(v time.Time) *EdgePackagingJobSummary { 51021 s.LastModifiedTime = &v 51022 return s 51023 } 51024 51025 // SetModelName sets the ModelName field's value. 51026 func (s *EdgePackagingJobSummary) SetModelName(v string) *EdgePackagingJobSummary { 51027 s.ModelName = &v 51028 return s 51029 } 51030 51031 // SetModelVersion sets the ModelVersion field's value. 51032 func (s *EdgePackagingJobSummary) SetModelVersion(v string) *EdgePackagingJobSummary { 51033 s.ModelVersion = &v 51034 return s 51035 } 51036 51037 // The output of a SageMaker Edge Manager deployable resource. 51038 type EdgePresetDeploymentOutput struct { 51039 _ struct{} `type:"structure"` 51040 51041 // The Amazon Resource Name (ARN) of the generated deployable resource. 51042 Artifact *string `min:"20" type:"string"` 51043 51044 // The status of the deployable resource. 51045 Status *string `type:"string" enum:"EdgePresetDeploymentStatus"` 51046 51047 // Returns a message describing the status of the deployed resource. 51048 StatusMessage *string `type:"string"` 51049 51050 // The deployment type created by SageMaker Edge Manager. Currently only supports 51051 // Amazon Web Services IoT Greengrass Version 2 components. 51052 // 51053 // Type is a required field 51054 Type *string `type:"string" required:"true" enum:"EdgePresetDeploymentType"` 51055 } 51056 51057 // String returns the string representation. 51058 // 51059 // API parameter values that are decorated as "sensitive" in the API will not 51060 // be included in the string output. The member name will be present, but the 51061 // value will be replaced with "sensitive". 51062 func (s EdgePresetDeploymentOutput) String() string { 51063 return awsutil.Prettify(s) 51064 } 51065 51066 // GoString returns the string representation. 51067 // 51068 // API parameter values that are decorated as "sensitive" in the API will not 51069 // be included in the string output. The member name will be present, but the 51070 // value will be replaced with "sensitive". 51071 func (s EdgePresetDeploymentOutput) GoString() string { 51072 return s.String() 51073 } 51074 51075 // SetArtifact sets the Artifact field's value. 51076 func (s *EdgePresetDeploymentOutput) SetArtifact(v string) *EdgePresetDeploymentOutput { 51077 s.Artifact = &v 51078 return s 51079 } 51080 51081 // SetStatus sets the Status field's value. 51082 func (s *EdgePresetDeploymentOutput) SetStatus(v string) *EdgePresetDeploymentOutput { 51083 s.Status = &v 51084 return s 51085 } 51086 51087 // SetStatusMessage sets the StatusMessage field's value. 51088 func (s *EdgePresetDeploymentOutput) SetStatusMessage(v string) *EdgePresetDeploymentOutput { 51089 s.StatusMessage = &v 51090 return s 51091 } 51092 51093 // SetType sets the Type field's value. 51094 func (s *EdgePresetDeploymentOutput) SetType(v string) *EdgePresetDeploymentOutput { 51095 s.Type = &v 51096 return s 51097 } 51098 51099 type EnableSagemakerServicecatalogPortfolioInput struct { 51100 _ struct{} `type:"structure"` 51101 } 51102 51103 // String returns the string representation. 51104 // 51105 // API parameter values that are decorated as "sensitive" in the API will not 51106 // be included in the string output. The member name will be present, but the 51107 // value will be replaced with "sensitive". 51108 func (s EnableSagemakerServicecatalogPortfolioInput) String() string { 51109 return awsutil.Prettify(s) 51110 } 51111 51112 // GoString returns the string representation. 51113 // 51114 // API parameter values that are decorated as "sensitive" in the API will not 51115 // be included in the string output. The member name will be present, but the 51116 // value will be replaced with "sensitive". 51117 func (s EnableSagemakerServicecatalogPortfolioInput) GoString() string { 51118 return s.String() 51119 } 51120 51121 type EnableSagemakerServicecatalogPortfolioOutput struct { 51122 _ struct{} `type:"structure"` 51123 } 51124 51125 // String returns the string representation. 51126 // 51127 // API parameter values that are decorated as "sensitive" in the API will not 51128 // be included in the string output. The member name will be present, but the 51129 // value will be replaced with "sensitive". 51130 func (s EnableSagemakerServicecatalogPortfolioOutput) String() string { 51131 return awsutil.Prettify(s) 51132 } 51133 51134 // GoString returns the string representation. 51135 // 51136 // API parameter values that are decorated as "sensitive" in the API will not 51137 // be included in the string output. The member name will be present, but the 51138 // value will be replaced with "sensitive". 51139 func (s EnableSagemakerServicecatalogPortfolioOutput) GoString() string { 51140 return s.String() 51141 } 51142 51143 // A hosted endpoint for real-time inference. 51144 type Endpoint struct { 51145 _ struct{} `type:"structure"` 51146 51147 // The time that the endpoint was created. 51148 // 51149 // CreationTime is a required field 51150 CreationTime *time.Time `type:"timestamp" required:"true"` 51151 51152 DataCaptureConfig *DataCaptureConfigSummary `type:"structure"` 51153 51154 // The Amazon Resource Name (ARN) of the endpoint. 51155 // 51156 // EndpointArn is a required field 51157 EndpointArn *string `min:"20" type:"string" required:"true"` 51158 51159 // The endpoint configuration associated with the endpoint. 51160 // 51161 // EndpointConfigName is a required field 51162 EndpointConfigName *string `type:"string" required:"true"` 51163 51164 // The name of the endpoint. 51165 // 51166 // EndpointName is a required field 51167 EndpointName *string `type:"string" required:"true"` 51168 51169 // The status of the endpoint. 51170 // 51171 // EndpointStatus is a required field 51172 EndpointStatus *string `type:"string" required:"true" enum:"EndpointStatus"` 51173 51174 // If the endpoint failed, the reason it failed. 51175 FailureReason *string `type:"string"` 51176 51177 // The last time the endpoint was modified. 51178 // 51179 // LastModifiedTime is a required field 51180 LastModifiedTime *time.Time `type:"timestamp" required:"true"` 51181 51182 // A list of monitoring schedules for the endpoint. For information about model 51183 // monitoring, see Amazon SageMaker Model Monitor (https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor.html). 51184 MonitoringSchedules []*MonitoringSchedule `type:"list"` 51185 51186 // A list of the production variants hosted on the endpoint. Each production 51187 // variant is a model. 51188 ProductionVariants []*ProductionVariantSummary `min:"1" type:"list"` 51189 51190 // A list of the tags associated with the endpoint. For more information, see 51191 // Tagging Amazon Web Services resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) 51192 // in the Amazon Web Services General Reference Guide. 51193 Tags []*Tag `type:"list"` 51194 } 51195 51196 // String returns the string representation. 51197 // 51198 // API parameter values that are decorated as "sensitive" in the API will not 51199 // be included in the string output. The member name will be present, but the 51200 // value will be replaced with "sensitive". 51201 func (s Endpoint) String() string { 51202 return awsutil.Prettify(s) 51203 } 51204 51205 // GoString returns the string representation. 51206 // 51207 // API parameter values that are decorated as "sensitive" in the API will not 51208 // be included in the string output. The member name will be present, but the 51209 // value will be replaced with "sensitive". 51210 func (s Endpoint) GoString() string { 51211 return s.String() 51212 } 51213 51214 // SetCreationTime sets the CreationTime field's value. 51215 func (s *Endpoint) SetCreationTime(v time.Time) *Endpoint { 51216 s.CreationTime = &v 51217 return s 51218 } 51219 51220 // SetDataCaptureConfig sets the DataCaptureConfig field's value. 51221 func (s *Endpoint) SetDataCaptureConfig(v *DataCaptureConfigSummary) *Endpoint { 51222 s.DataCaptureConfig = v 51223 return s 51224 } 51225 51226 // SetEndpointArn sets the EndpointArn field's value. 51227 func (s *Endpoint) SetEndpointArn(v string) *Endpoint { 51228 s.EndpointArn = &v 51229 return s 51230 } 51231 51232 // SetEndpointConfigName sets the EndpointConfigName field's value. 51233 func (s *Endpoint) SetEndpointConfigName(v string) *Endpoint { 51234 s.EndpointConfigName = &v 51235 return s 51236 } 51237 51238 // SetEndpointName sets the EndpointName field's value. 51239 func (s *Endpoint) SetEndpointName(v string) *Endpoint { 51240 s.EndpointName = &v 51241 return s 51242 } 51243 51244 // SetEndpointStatus sets the EndpointStatus field's value. 51245 func (s *Endpoint) SetEndpointStatus(v string) *Endpoint { 51246 s.EndpointStatus = &v 51247 return s 51248 } 51249 51250 // SetFailureReason sets the FailureReason field's value. 51251 func (s *Endpoint) SetFailureReason(v string) *Endpoint { 51252 s.FailureReason = &v 51253 return s 51254 } 51255 51256 // SetLastModifiedTime sets the LastModifiedTime field's value. 51257 func (s *Endpoint) SetLastModifiedTime(v time.Time) *Endpoint { 51258 s.LastModifiedTime = &v 51259 return s 51260 } 51261 51262 // SetMonitoringSchedules sets the MonitoringSchedules field's value. 51263 func (s *Endpoint) SetMonitoringSchedules(v []*MonitoringSchedule) *Endpoint { 51264 s.MonitoringSchedules = v 51265 return s 51266 } 51267 51268 // SetProductionVariants sets the ProductionVariants field's value. 51269 func (s *Endpoint) SetProductionVariants(v []*ProductionVariantSummary) *Endpoint { 51270 s.ProductionVariants = v 51271 return s 51272 } 51273 51274 // SetTags sets the Tags field's value. 51275 func (s *Endpoint) SetTags(v []*Tag) *Endpoint { 51276 s.Tags = v 51277 return s 51278 } 51279 51280 // Provides summary information for an endpoint configuration. 51281 type EndpointConfigSummary struct { 51282 _ struct{} `type:"structure"` 51283 51284 // A timestamp that shows when the endpoint configuration was created. 51285 // 51286 // CreationTime is a required field 51287 CreationTime *time.Time `type:"timestamp" required:"true"` 51288 51289 // The Amazon Resource Name (ARN) of the endpoint configuration. 51290 // 51291 // EndpointConfigArn is a required field 51292 EndpointConfigArn *string `min:"20" type:"string" required:"true"` 51293 51294 // The name of the endpoint configuration. 51295 // 51296 // EndpointConfigName is a required field 51297 EndpointConfigName *string `type:"string" required:"true"` 51298 } 51299 51300 // String returns the string representation. 51301 // 51302 // API parameter values that are decorated as "sensitive" in the API will not 51303 // be included in the string output. The member name will be present, but the 51304 // value will be replaced with "sensitive". 51305 func (s EndpointConfigSummary) String() string { 51306 return awsutil.Prettify(s) 51307 } 51308 51309 // GoString returns the string representation. 51310 // 51311 // API parameter values that are decorated as "sensitive" in the API will not 51312 // be included in the string output. The member name will be present, but the 51313 // value will be replaced with "sensitive". 51314 func (s EndpointConfigSummary) GoString() string { 51315 return s.String() 51316 } 51317 51318 // SetCreationTime sets the CreationTime field's value. 51319 func (s *EndpointConfigSummary) SetCreationTime(v time.Time) *EndpointConfigSummary { 51320 s.CreationTime = &v 51321 return s 51322 } 51323 51324 // SetEndpointConfigArn sets the EndpointConfigArn field's value. 51325 func (s *EndpointConfigSummary) SetEndpointConfigArn(v string) *EndpointConfigSummary { 51326 s.EndpointConfigArn = &v 51327 return s 51328 } 51329 51330 // SetEndpointConfigName sets the EndpointConfigName field's value. 51331 func (s *EndpointConfigSummary) SetEndpointConfigName(v string) *EndpointConfigSummary { 51332 s.EndpointConfigName = &v 51333 return s 51334 } 51335 51336 // Input object for the endpoint 51337 type EndpointInput struct { 51338 _ struct{} `type:"structure"` 51339 51340 // If specified, monitoring jobs substract this time from the end time. For 51341 // information about using offsets for scheduling monitoring jobs, see Schedule 51342 // Model Quality Monitoring Jobs (https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor-model-quality-schedule.html). 51343 EndTimeOffset *string `min:"1" type:"string"` 51344 51345 // An endpoint in customer's account which has enabled DataCaptureConfig enabled. 51346 // 51347 // EndpointName is a required field 51348 EndpointName *string `type:"string" required:"true"` 51349 51350 // The attributes of the input data that are the input features. 51351 FeaturesAttribute *string `type:"string"` 51352 51353 // The attribute of the input data that represents the ground truth label. 51354 InferenceAttribute *string `type:"string"` 51355 51356 // Path to the filesystem where the endpoint data is available to the container. 51357 // 51358 // LocalPath is a required field 51359 LocalPath *string `type:"string" required:"true"` 51360 51361 // In a classification problem, the attribute that represents the class probability. 51362 ProbabilityAttribute *string `type:"string"` 51363 51364 // The threshold for the class probability to be evaluated as a positive result. 51365 ProbabilityThresholdAttribute *float64 `type:"double"` 51366 51367 // Whether input data distributed in Amazon S3 is fully replicated or sharded 51368 // by an S3 key. Defaults to FullyReplicated 51369 S3DataDistributionType *string `type:"string" enum:"ProcessingS3DataDistributionType"` 51370 51371 // Whether the Pipe or File is used as the input mode for transferring data 51372 // for the monitoring job. Pipe mode is recommended for large datasets. File 51373 // mode is useful for small files that fit in memory. Defaults to File. 51374 S3InputMode *string `type:"string" enum:"ProcessingS3InputMode"` 51375 51376 // If specified, monitoring jobs substract this time from the start time. For 51377 // information about using offsets for scheduling monitoring jobs, see Schedule 51378 // Model Quality Monitoring Jobs (https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor-model-quality-schedule.html). 51379 StartTimeOffset *string `min:"1" type:"string"` 51380 } 51381 51382 // String returns the string representation. 51383 // 51384 // API parameter values that are decorated as "sensitive" in the API will not 51385 // be included in the string output. The member name will be present, but the 51386 // value will be replaced with "sensitive". 51387 func (s EndpointInput) String() string { 51388 return awsutil.Prettify(s) 51389 } 51390 51391 // GoString returns the string representation. 51392 // 51393 // API parameter values that are decorated as "sensitive" in the API will not 51394 // be included in the string output. The member name will be present, but the 51395 // value will be replaced with "sensitive". 51396 func (s EndpointInput) GoString() string { 51397 return s.String() 51398 } 51399 51400 // Validate inspects the fields of the type to determine if they are valid. 51401 func (s *EndpointInput) Validate() error { 51402 invalidParams := request.ErrInvalidParams{Context: "EndpointInput"} 51403 if s.EndTimeOffset != nil && len(*s.EndTimeOffset) < 1 { 51404 invalidParams.Add(request.NewErrParamMinLen("EndTimeOffset", 1)) 51405 } 51406 if s.EndpointName == nil { 51407 invalidParams.Add(request.NewErrParamRequired("EndpointName")) 51408 } 51409 if s.LocalPath == nil { 51410 invalidParams.Add(request.NewErrParamRequired("LocalPath")) 51411 } 51412 if s.StartTimeOffset != nil && len(*s.StartTimeOffset) < 1 { 51413 invalidParams.Add(request.NewErrParamMinLen("StartTimeOffset", 1)) 51414 } 51415 51416 if invalidParams.Len() > 0 { 51417 return invalidParams 51418 } 51419 return nil 51420 } 51421 51422 // SetEndTimeOffset sets the EndTimeOffset field's value. 51423 func (s *EndpointInput) SetEndTimeOffset(v string) *EndpointInput { 51424 s.EndTimeOffset = &v 51425 return s 51426 } 51427 51428 // SetEndpointName sets the EndpointName field's value. 51429 func (s *EndpointInput) SetEndpointName(v string) *EndpointInput { 51430 s.EndpointName = &v 51431 return s 51432 } 51433 51434 // SetFeaturesAttribute sets the FeaturesAttribute field's value. 51435 func (s *EndpointInput) SetFeaturesAttribute(v string) *EndpointInput { 51436 s.FeaturesAttribute = &v 51437 return s 51438 } 51439 51440 // SetInferenceAttribute sets the InferenceAttribute field's value. 51441 func (s *EndpointInput) SetInferenceAttribute(v string) *EndpointInput { 51442 s.InferenceAttribute = &v 51443 return s 51444 } 51445 51446 // SetLocalPath sets the LocalPath field's value. 51447 func (s *EndpointInput) SetLocalPath(v string) *EndpointInput { 51448 s.LocalPath = &v 51449 return s 51450 } 51451 51452 // SetProbabilityAttribute sets the ProbabilityAttribute field's value. 51453 func (s *EndpointInput) SetProbabilityAttribute(v string) *EndpointInput { 51454 s.ProbabilityAttribute = &v 51455 return s 51456 } 51457 51458 // SetProbabilityThresholdAttribute sets the ProbabilityThresholdAttribute field's value. 51459 func (s *EndpointInput) SetProbabilityThresholdAttribute(v float64) *EndpointInput { 51460 s.ProbabilityThresholdAttribute = &v 51461 return s 51462 } 51463 51464 // SetS3DataDistributionType sets the S3DataDistributionType field's value. 51465 func (s *EndpointInput) SetS3DataDistributionType(v string) *EndpointInput { 51466 s.S3DataDistributionType = &v 51467 return s 51468 } 51469 51470 // SetS3InputMode sets the S3InputMode field's value. 51471 func (s *EndpointInput) SetS3InputMode(v string) *EndpointInput { 51472 s.S3InputMode = &v 51473 return s 51474 } 51475 51476 // SetStartTimeOffset sets the StartTimeOffset field's value. 51477 func (s *EndpointInput) SetStartTimeOffset(v string) *EndpointInput { 51478 s.StartTimeOffset = &v 51479 return s 51480 } 51481 51482 // Provides summary information for an endpoint. 51483 type EndpointSummary struct { 51484 _ struct{} `type:"structure"` 51485 51486 // A timestamp that shows when the endpoint was created. 51487 // 51488 // CreationTime is a required field 51489 CreationTime *time.Time `type:"timestamp" required:"true"` 51490 51491 // The Amazon Resource Name (ARN) of the endpoint. 51492 // 51493 // EndpointArn is a required field 51494 EndpointArn *string `min:"20" type:"string" required:"true"` 51495 51496 // The name of the endpoint. 51497 // 51498 // EndpointName is a required field 51499 EndpointName *string `type:"string" required:"true"` 51500 51501 // The status of the endpoint. 51502 // 51503 // * OutOfService: Endpoint is not available to take incoming requests. 51504 // 51505 // * Creating: CreateEndpoint is executing. 51506 // 51507 // * Updating: UpdateEndpoint or UpdateEndpointWeightsAndCapacities is executing. 51508 // 51509 // * SystemUpdating: Endpoint is undergoing maintenance and cannot be updated 51510 // or deleted or re-scaled until it has completed. This maintenance operation 51511 // does not change any customer-specified values such as VPC config, KMS 51512 // encryption, model, instance type, or instance count. 51513 // 51514 // * RollingBack: Endpoint fails to scale up or down or change its variant 51515 // weight and is in the process of rolling back to its previous configuration. 51516 // Once the rollback completes, endpoint returns to an InService status. 51517 // This transitional status only applies to an endpoint that has autoscaling 51518 // enabled and is undergoing variant weight or capacity changes as part of 51519 // an UpdateEndpointWeightsAndCapacities call or when the UpdateEndpointWeightsAndCapacities 51520 // operation is called explicitly. 51521 // 51522 // * InService: Endpoint is available to process incoming requests. 51523 // 51524 // * Deleting: DeleteEndpoint is executing. 51525 // 51526 // * Failed: Endpoint could not be created, updated, or re-scaled. Use DescribeEndpointOutput$FailureReason 51527 // for information about the failure. DeleteEndpoint is the only operation 51528 // that can be performed on a failed endpoint. 51529 // 51530 // To get a list of endpoints with a specified status, use the ListEndpointsInput$StatusEquals 51531 // filter. 51532 // 51533 // EndpointStatus is a required field 51534 EndpointStatus *string `type:"string" required:"true" enum:"EndpointStatus"` 51535 51536 // A timestamp that shows when the endpoint was last modified. 51537 // 51538 // LastModifiedTime is a required field 51539 LastModifiedTime *time.Time `type:"timestamp" required:"true"` 51540 } 51541 51542 // String returns the string representation. 51543 // 51544 // API parameter values that are decorated as "sensitive" in the API will not 51545 // be included in the string output. The member name will be present, but the 51546 // value will be replaced with "sensitive". 51547 func (s EndpointSummary) String() string { 51548 return awsutil.Prettify(s) 51549 } 51550 51551 // GoString returns the string representation. 51552 // 51553 // API parameter values that are decorated as "sensitive" in the API will not 51554 // be included in the string output. The member name will be present, but the 51555 // value will be replaced with "sensitive". 51556 func (s EndpointSummary) GoString() string { 51557 return s.String() 51558 } 51559 51560 // SetCreationTime sets the CreationTime field's value. 51561 func (s *EndpointSummary) SetCreationTime(v time.Time) *EndpointSummary { 51562 s.CreationTime = &v 51563 return s 51564 } 51565 51566 // SetEndpointArn sets the EndpointArn field's value. 51567 func (s *EndpointSummary) SetEndpointArn(v string) *EndpointSummary { 51568 s.EndpointArn = &v 51569 return s 51570 } 51571 51572 // SetEndpointName sets the EndpointName field's value. 51573 func (s *EndpointSummary) SetEndpointName(v string) *EndpointSummary { 51574 s.EndpointName = &v 51575 return s 51576 } 51577 51578 // SetEndpointStatus sets the EndpointStatus field's value. 51579 func (s *EndpointSummary) SetEndpointStatus(v string) *EndpointSummary { 51580 s.EndpointStatus = &v 51581 return s 51582 } 51583 51584 // SetLastModifiedTime sets the LastModifiedTime field's value. 51585 func (s *EndpointSummary) SetLastModifiedTime(v time.Time) *EndpointSummary { 51586 s.LastModifiedTime = &v 51587 return s 51588 } 51589 51590 // The properties of an experiment as returned by the Search API. 51591 type Experiment struct { 51592 _ struct{} `type:"structure"` 51593 51594 // Who created the experiment. 51595 CreatedBy *UserContext `type:"structure"` 51596 51597 // When the experiment was created. 51598 CreationTime *time.Time `type:"timestamp"` 51599 51600 // The description of the experiment. 51601 Description *string `type:"string"` 51602 51603 // The name of the experiment as displayed. If DisplayName isn't specified, 51604 // ExperimentName is displayed. 51605 DisplayName *string `min:"1" type:"string"` 51606 51607 // The Amazon Resource Name (ARN) of the experiment. 51608 ExperimentArn *string `type:"string"` 51609 51610 // The name of the experiment. 51611 ExperimentName *string `min:"1" type:"string"` 51612 51613 // Information about the user who created or modified an experiment, trial, 51614 // trial component, or project. 51615 LastModifiedBy *UserContext `type:"structure"` 51616 51617 // When the experiment was last modified. 51618 LastModifiedTime *time.Time `type:"timestamp"` 51619 51620 // The source of the experiment. 51621 Source *ExperimentSource `type:"structure"` 51622 51623 // The list of tags that are associated with the experiment. You can use Search 51624 // API to search on the tags. 51625 Tags []*Tag `type:"list"` 51626 } 51627 51628 // String returns the string representation. 51629 // 51630 // API parameter values that are decorated as "sensitive" in the API will not 51631 // be included in the string output. The member name will be present, but the 51632 // value will be replaced with "sensitive". 51633 func (s Experiment) String() string { 51634 return awsutil.Prettify(s) 51635 } 51636 51637 // GoString returns the string representation. 51638 // 51639 // API parameter values that are decorated as "sensitive" in the API will not 51640 // be included in the string output. The member name will be present, but the 51641 // value will be replaced with "sensitive". 51642 func (s Experiment) GoString() string { 51643 return s.String() 51644 } 51645 51646 // SetCreatedBy sets the CreatedBy field's value. 51647 func (s *Experiment) SetCreatedBy(v *UserContext) *Experiment { 51648 s.CreatedBy = v 51649 return s 51650 } 51651 51652 // SetCreationTime sets the CreationTime field's value. 51653 func (s *Experiment) SetCreationTime(v time.Time) *Experiment { 51654 s.CreationTime = &v 51655 return s 51656 } 51657 51658 // SetDescription sets the Description field's value. 51659 func (s *Experiment) SetDescription(v string) *Experiment { 51660 s.Description = &v 51661 return s 51662 } 51663 51664 // SetDisplayName sets the DisplayName field's value. 51665 func (s *Experiment) SetDisplayName(v string) *Experiment { 51666 s.DisplayName = &v 51667 return s 51668 } 51669 51670 // SetExperimentArn sets the ExperimentArn field's value. 51671 func (s *Experiment) SetExperimentArn(v string) *Experiment { 51672 s.ExperimentArn = &v 51673 return s 51674 } 51675 51676 // SetExperimentName sets the ExperimentName field's value. 51677 func (s *Experiment) SetExperimentName(v string) *Experiment { 51678 s.ExperimentName = &v 51679 return s 51680 } 51681 51682 // SetLastModifiedBy sets the LastModifiedBy field's value. 51683 func (s *Experiment) SetLastModifiedBy(v *UserContext) *Experiment { 51684 s.LastModifiedBy = v 51685 return s 51686 } 51687 51688 // SetLastModifiedTime sets the LastModifiedTime field's value. 51689 func (s *Experiment) SetLastModifiedTime(v time.Time) *Experiment { 51690 s.LastModifiedTime = &v 51691 return s 51692 } 51693 51694 // SetSource sets the Source field's value. 51695 func (s *Experiment) SetSource(v *ExperimentSource) *Experiment { 51696 s.Source = v 51697 return s 51698 } 51699 51700 // SetTags sets the Tags field's value. 51701 func (s *Experiment) SetTags(v []*Tag) *Experiment { 51702 s.Tags = v 51703 return s 51704 } 51705 51706 // Associates a SageMaker job as a trial component with an experiment and trial. 51707 // Specified when you call the following APIs: 51708 // 51709 // * CreateProcessingJob 51710 // 51711 // * CreateTrainingJob 51712 // 51713 // * CreateTransformJob 51714 type ExperimentConfig struct { 51715 _ struct{} `type:"structure"` 51716 51717 // The name of an existing experiment to associate the trial component with. 51718 ExperimentName *string `min:"1" type:"string"` 51719 51720 // The display name for the trial component. If this key isn't specified, the 51721 // display name is the trial component name. 51722 TrialComponentDisplayName *string `min:"1" type:"string"` 51723 51724 // The name of an existing trial to associate the trial component with. If not 51725 // specified, a new trial is created. 51726 TrialName *string `min:"1" type:"string"` 51727 } 51728 51729 // String returns the string representation. 51730 // 51731 // API parameter values that are decorated as "sensitive" in the API will not 51732 // be included in the string output. The member name will be present, but the 51733 // value will be replaced with "sensitive". 51734 func (s ExperimentConfig) String() string { 51735 return awsutil.Prettify(s) 51736 } 51737 51738 // GoString returns the string representation. 51739 // 51740 // API parameter values that are decorated as "sensitive" in the API will not 51741 // be included in the string output. The member name will be present, but the 51742 // value will be replaced with "sensitive". 51743 func (s ExperimentConfig) GoString() string { 51744 return s.String() 51745 } 51746 51747 // Validate inspects the fields of the type to determine if they are valid. 51748 func (s *ExperimentConfig) Validate() error { 51749 invalidParams := request.ErrInvalidParams{Context: "ExperimentConfig"} 51750 if s.ExperimentName != nil && len(*s.ExperimentName) < 1 { 51751 invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1)) 51752 } 51753 if s.TrialComponentDisplayName != nil && len(*s.TrialComponentDisplayName) < 1 { 51754 invalidParams.Add(request.NewErrParamMinLen("TrialComponentDisplayName", 1)) 51755 } 51756 if s.TrialName != nil && len(*s.TrialName) < 1 { 51757 invalidParams.Add(request.NewErrParamMinLen("TrialName", 1)) 51758 } 51759 51760 if invalidParams.Len() > 0 { 51761 return invalidParams 51762 } 51763 return nil 51764 } 51765 51766 // SetExperimentName sets the ExperimentName field's value. 51767 func (s *ExperimentConfig) SetExperimentName(v string) *ExperimentConfig { 51768 s.ExperimentName = &v 51769 return s 51770 } 51771 51772 // SetTrialComponentDisplayName sets the TrialComponentDisplayName field's value. 51773 func (s *ExperimentConfig) SetTrialComponentDisplayName(v string) *ExperimentConfig { 51774 s.TrialComponentDisplayName = &v 51775 return s 51776 } 51777 51778 // SetTrialName sets the TrialName field's value. 51779 func (s *ExperimentConfig) SetTrialName(v string) *ExperimentConfig { 51780 s.TrialName = &v 51781 return s 51782 } 51783 51784 // The source of the experiment. 51785 type ExperimentSource struct { 51786 _ struct{} `type:"structure"` 51787 51788 // The Amazon Resource Name (ARN) of the source. 51789 // 51790 // SourceArn is a required field 51791 SourceArn *string `type:"string" required:"true"` 51792 51793 // The source type. 51794 SourceType *string `type:"string"` 51795 } 51796 51797 // String returns the string representation. 51798 // 51799 // API parameter values that are decorated as "sensitive" in the API will not 51800 // be included in the string output. The member name will be present, but the 51801 // value will be replaced with "sensitive". 51802 func (s ExperimentSource) String() string { 51803 return awsutil.Prettify(s) 51804 } 51805 51806 // GoString returns the string representation. 51807 // 51808 // API parameter values that are decorated as "sensitive" in the API will not 51809 // be included in the string output. The member name will be present, but the 51810 // value will be replaced with "sensitive". 51811 func (s ExperimentSource) GoString() string { 51812 return s.String() 51813 } 51814 51815 // SetSourceArn sets the SourceArn field's value. 51816 func (s *ExperimentSource) SetSourceArn(v string) *ExperimentSource { 51817 s.SourceArn = &v 51818 return s 51819 } 51820 51821 // SetSourceType sets the SourceType field's value. 51822 func (s *ExperimentSource) SetSourceType(v string) *ExperimentSource { 51823 s.SourceType = &v 51824 return s 51825 } 51826 51827 // A summary of the properties of an experiment. To get the complete set of 51828 // properties, call the DescribeExperiment API and provide the ExperimentName. 51829 type ExperimentSummary struct { 51830 _ struct{} `type:"structure"` 51831 51832 // When the experiment was created. 51833 CreationTime *time.Time `type:"timestamp"` 51834 51835 // The name of the experiment as displayed. If DisplayName isn't specified, 51836 // ExperimentName is displayed. 51837 DisplayName *string `min:"1" type:"string"` 51838 51839 // The Amazon Resource Name (ARN) of the experiment. 51840 ExperimentArn *string `type:"string"` 51841 51842 // The name of the experiment. 51843 ExperimentName *string `min:"1" type:"string"` 51844 51845 // The source of the experiment. 51846 ExperimentSource *ExperimentSource `type:"structure"` 51847 51848 // When the experiment was last modified. 51849 LastModifiedTime *time.Time `type:"timestamp"` 51850 } 51851 51852 // String returns the string representation. 51853 // 51854 // API parameter values that are decorated as "sensitive" in the API will not 51855 // be included in the string output. The member name will be present, but the 51856 // value will be replaced with "sensitive". 51857 func (s ExperimentSummary) String() string { 51858 return awsutil.Prettify(s) 51859 } 51860 51861 // GoString returns the string representation. 51862 // 51863 // API parameter values that are decorated as "sensitive" in the API will not 51864 // be included in the string output. The member name will be present, but the 51865 // value will be replaced with "sensitive". 51866 func (s ExperimentSummary) GoString() string { 51867 return s.String() 51868 } 51869 51870 // SetCreationTime sets the CreationTime field's value. 51871 func (s *ExperimentSummary) SetCreationTime(v time.Time) *ExperimentSummary { 51872 s.CreationTime = &v 51873 return s 51874 } 51875 51876 // SetDisplayName sets the DisplayName field's value. 51877 func (s *ExperimentSummary) SetDisplayName(v string) *ExperimentSummary { 51878 s.DisplayName = &v 51879 return s 51880 } 51881 51882 // SetExperimentArn sets the ExperimentArn field's value. 51883 func (s *ExperimentSummary) SetExperimentArn(v string) *ExperimentSummary { 51884 s.ExperimentArn = &v 51885 return s 51886 } 51887 51888 // SetExperimentName sets the ExperimentName field's value. 51889 func (s *ExperimentSummary) SetExperimentName(v string) *ExperimentSummary { 51890 s.ExperimentName = &v 51891 return s 51892 } 51893 51894 // SetExperimentSource sets the ExperimentSource field's value. 51895 func (s *ExperimentSummary) SetExperimentSource(v *ExperimentSource) *ExperimentSummary { 51896 s.ExperimentSource = v 51897 return s 51898 } 51899 51900 // SetLastModifiedTime sets the LastModifiedTime field's value. 51901 func (s *ExperimentSummary) SetLastModifiedTime(v time.Time) *ExperimentSummary { 51902 s.LastModifiedTime = &v 51903 return s 51904 } 51905 51906 // Contains explainability metrics for a model. 51907 type Explainability struct { 51908 _ struct{} `type:"structure"` 51909 51910 // The explainability report for a model. 51911 Report *MetricsSource `type:"structure"` 51912 } 51913 51914 // String returns the string representation. 51915 // 51916 // API parameter values that are decorated as "sensitive" in the API will not 51917 // be included in the string output. The member name will be present, but the 51918 // value will be replaced with "sensitive". 51919 func (s Explainability) String() string { 51920 return awsutil.Prettify(s) 51921 } 51922 51923 // GoString returns the string representation. 51924 // 51925 // API parameter values that are decorated as "sensitive" in the API will not 51926 // be included in the string output. The member name will be present, but the 51927 // value will be replaced with "sensitive". 51928 func (s Explainability) GoString() string { 51929 return s.String() 51930 } 51931 51932 // Validate inspects the fields of the type to determine if they are valid. 51933 func (s *Explainability) Validate() error { 51934 invalidParams := request.ErrInvalidParams{Context: "Explainability"} 51935 if s.Report != nil { 51936 if err := s.Report.Validate(); err != nil { 51937 invalidParams.AddNested("Report", err.(request.ErrInvalidParams)) 51938 } 51939 } 51940 51941 if invalidParams.Len() > 0 { 51942 return invalidParams 51943 } 51944 return nil 51945 } 51946 51947 // SetReport sets the Report field's value. 51948 func (s *Explainability) SetReport(v *MetricsSource) *Explainability { 51949 s.Report = v 51950 return s 51951 } 51952 51953 // A list of features. You must include FeatureName and FeatureType. Valid feature 51954 // FeatureTypes are Integral, Fractional and String. 51955 type FeatureDefinition struct { 51956 _ struct{} `type:"structure"` 51957 51958 // The name of a feature. The type must be a string. FeatureName cannot be any 51959 // of the following: is_deleted, write_time, api_invocation_time. 51960 FeatureName *string `min:"1" type:"string"` 51961 51962 // The value type of a feature. Valid values are Integral, Fractional, or String. 51963 FeatureType *string `type:"string" enum:"FeatureType"` 51964 } 51965 51966 // String returns the string representation. 51967 // 51968 // API parameter values that are decorated as "sensitive" in the API will not 51969 // be included in the string output. The member name will be present, but the 51970 // value will be replaced with "sensitive". 51971 func (s FeatureDefinition) String() string { 51972 return awsutil.Prettify(s) 51973 } 51974 51975 // GoString returns the string representation. 51976 // 51977 // API parameter values that are decorated as "sensitive" in the API will not 51978 // be included in the string output. The member name will be present, but the 51979 // value will be replaced with "sensitive". 51980 func (s FeatureDefinition) GoString() string { 51981 return s.String() 51982 } 51983 51984 // Validate inspects the fields of the type to determine if they are valid. 51985 func (s *FeatureDefinition) Validate() error { 51986 invalidParams := request.ErrInvalidParams{Context: "FeatureDefinition"} 51987 if s.FeatureName != nil && len(*s.FeatureName) < 1 { 51988 invalidParams.Add(request.NewErrParamMinLen("FeatureName", 1)) 51989 } 51990 51991 if invalidParams.Len() > 0 { 51992 return invalidParams 51993 } 51994 return nil 51995 } 51996 51997 // SetFeatureName sets the FeatureName field's value. 51998 func (s *FeatureDefinition) SetFeatureName(v string) *FeatureDefinition { 51999 s.FeatureName = &v 52000 return s 52001 } 52002 52003 // SetFeatureType sets the FeatureType field's value. 52004 func (s *FeatureDefinition) SetFeatureType(v string) *FeatureDefinition { 52005 s.FeatureType = &v 52006 return s 52007 } 52008 52009 // Amazon SageMaker Feature Store stores features in a collection called Feature 52010 // Group. A Feature Group can be visualized as a table which has rows, with 52011 // a unique identifier for each row where each column in the table is a feature. 52012 // In principle, a Feature Group is composed of features and values per features. 52013 type FeatureGroup struct { 52014 _ struct{} `type:"structure"` 52015 52016 // The time a FeatureGroup was created. 52017 CreationTime *time.Time `type:"timestamp"` 52018 52019 // A free form description of a FeatureGroup. 52020 Description *string `type:"string"` 52021 52022 // The name of the feature that stores the EventTime of a Record in a FeatureGroup. 52023 // 52024 // A EventTime is point in time when a new event occurs that corresponds to 52025 // the creation or update of a Record in FeatureGroup. All Records in the FeatureGroup 52026 // must have a corresponding EventTime. 52027 EventTimeFeatureName *string `min:"1" type:"string"` 52028 52029 // The reason that the FeatureGroup failed to be replicated in the OfflineStore. 52030 // This is failure may be due to a failure to create a FeatureGroup in or delete 52031 // a FeatureGroup from the OfflineStore. 52032 FailureReason *string `type:"string"` 52033 52034 // A list of Features. Each Feature must include a FeatureName and a FeatureType. 52035 // 52036 // Valid FeatureTypes are Integral, Fractional and String. 52037 // 52038 // FeatureNames cannot be any of the following: is_deleted, write_time, api_invocation_time. 52039 // 52040 // You can create up to 2,500 FeatureDefinitions per FeatureGroup. 52041 FeatureDefinitions []*FeatureDefinition `min:"1" type:"list"` 52042 52043 // The Amazon Resource Name (ARN) of a FeatureGroup. 52044 FeatureGroupArn *string `type:"string"` 52045 52046 // The name of the FeatureGroup. 52047 FeatureGroupName *string `min:"1" type:"string"` 52048 52049 // A FeatureGroup status. 52050 FeatureGroupStatus *string `type:"string" enum:"FeatureGroupStatus"` 52051 52052 // The configuration of an OfflineStore. 52053 // 52054 // Provide an OfflineStoreConfig in a request to CreateFeatureGroup to create 52055 // an OfflineStore. 52056 // 52057 // To encrypt an OfflineStore using at rest data encryption, specify Amazon 52058 // Web Services Key Management Service (KMS) key ID, or KMSKeyId, in S3StorageConfig. 52059 OfflineStoreConfig *OfflineStoreConfig `type:"structure"` 52060 52061 // The status of OfflineStore. 52062 OfflineStoreStatus *OfflineStoreStatus `type:"structure"` 52063 52064 // Use this to specify the Amazon Web Services Key Management Service (KMS) 52065 // Key ID, or KMSKeyId, for at rest data encryption. You can turn OnlineStore 52066 // on or off by specifying the EnableOnlineStore flag at General Assembly; the 52067 // default value is False. 52068 OnlineStoreConfig *OnlineStoreConfig `type:"structure"` 52069 52070 // The name of the Feature whose value uniquely identifies a Record defined 52071 // in the FeatureGroup FeatureDefinitions. 52072 RecordIdentifierFeatureName *string `min:"1" type:"string"` 52073 52074 // The Amazon Resource Name (ARN) of the IAM execution role used to create the 52075 // feature group. 52076 RoleArn *string `min:"20" type:"string"` 52077 52078 // Tags used to define a FeatureGroup. 52079 Tags []*Tag `type:"list"` 52080 } 52081 52082 // String returns the string representation. 52083 // 52084 // API parameter values that are decorated as "sensitive" in the API will not 52085 // be included in the string output. The member name will be present, but the 52086 // value will be replaced with "sensitive". 52087 func (s FeatureGroup) String() string { 52088 return awsutil.Prettify(s) 52089 } 52090 52091 // GoString returns the string representation. 52092 // 52093 // API parameter values that are decorated as "sensitive" in the API will not 52094 // be included in the string output. The member name will be present, but the 52095 // value will be replaced with "sensitive". 52096 func (s FeatureGroup) GoString() string { 52097 return s.String() 52098 } 52099 52100 // SetCreationTime sets the CreationTime field's value. 52101 func (s *FeatureGroup) SetCreationTime(v time.Time) *FeatureGroup { 52102 s.CreationTime = &v 52103 return s 52104 } 52105 52106 // SetDescription sets the Description field's value. 52107 func (s *FeatureGroup) SetDescription(v string) *FeatureGroup { 52108 s.Description = &v 52109 return s 52110 } 52111 52112 // SetEventTimeFeatureName sets the EventTimeFeatureName field's value. 52113 func (s *FeatureGroup) SetEventTimeFeatureName(v string) *FeatureGroup { 52114 s.EventTimeFeatureName = &v 52115 return s 52116 } 52117 52118 // SetFailureReason sets the FailureReason field's value. 52119 func (s *FeatureGroup) SetFailureReason(v string) *FeatureGroup { 52120 s.FailureReason = &v 52121 return s 52122 } 52123 52124 // SetFeatureDefinitions sets the FeatureDefinitions field's value. 52125 func (s *FeatureGroup) SetFeatureDefinitions(v []*FeatureDefinition) *FeatureGroup { 52126 s.FeatureDefinitions = v 52127 return s 52128 } 52129 52130 // SetFeatureGroupArn sets the FeatureGroupArn field's value. 52131 func (s *FeatureGroup) SetFeatureGroupArn(v string) *FeatureGroup { 52132 s.FeatureGroupArn = &v 52133 return s 52134 } 52135 52136 // SetFeatureGroupName sets the FeatureGroupName field's value. 52137 func (s *FeatureGroup) SetFeatureGroupName(v string) *FeatureGroup { 52138 s.FeatureGroupName = &v 52139 return s 52140 } 52141 52142 // SetFeatureGroupStatus sets the FeatureGroupStatus field's value. 52143 func (s *FeatureGroup) SetFeatureGroupStatus(v string) *FeatureGroup { 52144 s.FeatureGroupStatus = &v 52145 return s 52146 } 52147 52148 // SetOfflineStoreConfig sets the OfflineStoreConfig field's value. 52149 func (s *FeatureGroup) SetOfflineStoreConfig(v *OfflineStoreConfig) *FeatureGroup { 52150 s.OfflineStoreConfig = v 52151 return s 52152 } 52153 52154 // SetOfflineStoreStatus sets the OfflineStoreStatus field's value. 52155 func (s *FeatureGroup) SetOfflineStoreStatus(v *OfflineStoreStatus) *FeatureGroup { 52156 s.OfflineStoreStatus = v 52157 return s 52158 } 52159 52160 // SetOnlineStoreConfig sets the OnlineStoreConfig field's value. 52161 func (s *FeatureGroup) SetOnlineStoreConfig(v *OnlineStoreConfig) *FeatureGroup { 52162 s.OnlineStoreConfig = v 52163 return s 52164 } 52165 52166 // SetRecordIdentifierFeatureName sets the RecordIdentifierFeatureName field's value. 52167 func (s *FeatureGroup) SetRecordIdentifierFeatureName(v string) *FeatureGroup { 52168 s.RecordIdentifierFeatureName = &v 52169 return s 52170 } 52171 52172 // SetRoleArn sets the RoleArn field's value. 52173 func (s *FeatureGroup) SetRoleArn(v string) *FeatureGroup { 52174 s.RoleArn = &v 52175 return s 52176 } 52177 52178 // SetTags sets the Tags field's value. 52179 func (s *FeatureGroup) SetTags(v []*Tag) *FeatureGroup { 52180 s.Tags = v 52181 return s 52182 } 52183 52184 // The name, Arn, CreationTime, FeatureGroup values, LastUpdatedTime and EnableOnlineStorage 52185 // status of a FeatureGroup. 52186 type FeatureGroupSummary struct { 52187 _ struct{} `type:"structure"` 52188 52189 // A timestamp indicating the time of creation time of the FeatureGroup. 52190 // 52191 // CreationTime is a required field 52192 CreationTime *time.Time `type:"timestamp" required:"true"` 52193 52194 // Unique identifier for the FeatureGroup. 52195 // 52196 // FeatureGroupArn is a required field 52197 FeatureGroupArn *string `type:"string" required:"true"` 52198 52199 // The name of FeatureGroup. 52200 // 52201 // FeatureGroupName is a required field 52202 FeatureGroupName *string `min:"1" type:"string" required:"true"` 52203 52204 // The status of a FeatureGroup. The status can be any of the following: Creating, 52205 // Created, CreateFail, Deleting or DetailFail. 52206 FeatureGroupStatus *string `type:"string" enum:"FeatureGroupStatus"` 52207 52208 // Notifies you if replicating data into the OfflineStore has failed. Returns 52209 // either: Active or Blocked. 52210 OfflineStoreStatus *OfflineStoreStatus `type:"structure"` 52211 } 52212 52213 // String returns the string representation. 52214 // 52215 // API parameter values that are decorated as "sensitive" in the API will not 52216 // be included in the string output. The member name will be present, but the 52217 // value will be replaced with "sensitive". 52218 func (s FeatureGroupSummary) String() string { 52219 return awsutil.Prettify(s) 52220 } 52221 52222 // GoString returns the string representation. 52223 // 52224 // API parameter values that are decorated as "sensitive" in the API will not 52225 // be included in the string output. The member name will be present, but the 52226 // value will be replaced with "sensitive". 52227 func (s FeatureGroupSummary) GoString() string { 52228 return s.String() 52229 } 52230 52231 // SetCreationTime sets the CreationTime field's value. 52232 func (s *FeatureGroupSummary) SetCreationTime(v time.Time) *FeatureGroupSummary { 52233 s.CreationTime = &v 52234 return s 52235 } 52236 52237 // SetFeatureGroupArn sets the FeatureGroupArn field's value. 52238 func (s *FeatureGroupSummary) SetFeatureGroupArn(v string) *FeatureGroupSummary { 52239 s.FeatureGroupArn = &v 52240 return s 52241 } 52242 52243 // SetFeatureGroupName sets the FeatureGroupName field's value. 52244 func (s *FeatureGroupSummary) SetFeatureGroupName(v string) *FeatureGroupSummary { 52245 s.FeatureGroupName = &v 52246 return s 52247 } 52248 52249 // SetFeatureGroupStatus sets the FeatureGroupStatus field's value. 52250 func (s *FeatureGroupSummary) SetFeatureGroupStatus(v string) *FeatureGroupSummary { 52251 s.FeatureGroupStatus = &v 52252 return s 52253 } 52254 52255 // SetOfflineStoreStatus sets the OfflineStoreStatus field's value. 52256 func (s *FeatureGroupSummary) SetOfflineStoreStatus(v *OfflineStoreStatus) *FeatureGroupSummary { 52257 s.OfflineStoreStatus = v 52258 return s 52259 } 52260 52261 // The Amazon Elastic File System (EFS) storage configuration for a SageMaker 52262 // image. 52263 type FileSystemConfig struct { 52264 _ struct{} `type:"structure"` 52265 52266 // The default POSIX group ID (GID). If not specified, defaults to 100. 52267 DefaultGid *int64 `type:"integer"` 52268 52269 // The default POSIX user ID (UID). If not specified, defaults to 1000. 52270 DefaultUid *int64 `type:"integer"` 52271 52272 // The path within the image to mount the user's EFS home directory. The directory 52273 // should be empty. If not specified, defaults to /home/sagemaker-user. 52274 MountPath *string `type:"string"` 52275 } 52276 52277 // String returns the string representation. 52278 // 52279 // API parameter values that are decorated as "sensitive" in the API will not 52280 // be included in the string output. The member name will be present, but the 52281 // value will be replaced with "sensitive". 52282 func (s FileSystemConfig) String() string { 52283 return awsutil.Prettify(s) 52284 } 52285 52286 // GoString returns the string representation. 52287 // 52288 // API parameter values that are decorated as "sensitive" in the API will not 52289 // be included in the string output. The member name will be present, but the 52290 // value will be replaced with "sensitive". 52291 func (s FileSystemConfig) GoString() string { 52292 return s.String() 52293 } 52294 52295 // SetDefaultGid sets the DefaultGid field's value. 52296 func (s *FileSystemConfig) SetDefaultGid(v int64) *FileSystemConfig { 52297 s.DefaultGid = &v 52298 return s 52299 } 52300 52301 // SetDefaultUid sets the DefaultUid field's value. 52302 func (s *FileSystemConfig) SetDefaultUid(v int64) *FileSystemConfig { 52303 s.DefaultUid = &v 52304 return s 52305 } 52306 52307 // SetMountPath sets the MountPath field's value. 52308 func (s *FileSystemConfig) SetMountPath(v string) *FileSystemConfig { 52309 s.MountPath = &v 52310 return s 52311 } 52312 52313 // Specifies a file system data source for a channel. 52314 type FileSystemDataSource struct { 52315 _ struct{} `type:"structure"` 52316 52317 // The full path to the directory to associate with the channel. 52318 // 52319 // DirectoryPath is a required field 52320 DirectoryPath *string `type:"string" required:"true"` 52321 52322 // The access mode of the mount of the directory associated with the channel. 52323 // A directory can be mounted either in ro (read-only) or rw (read-write) mode. 52324 // 52325 // FileSystemAccessMode is a required field 52326 FileSystemAccessMode *string `type:"string" required:"true" enum:"FileSystemAccessMode"` 52327 52328 // The file system id. 52329 // 52330 // FileSystemId is a required field 52331 FileSystemId *string `min:"11" type:"string" required:"true"` 52332 52333 // The file system type. 52334 // 52335 // FileSystemType is a required field 52336 FileSystemType *string `type:"string" required:"true" enum:"FileSystemType"` 52337 } 52338 52339 // String returns the string representation. 52340 // 52341 // API parameter values that are decorated as "sensitive" in the API will not 52342 // be included in the string output. The member name will be present, but the 52343 // value will be replaced with "sensitive". 52344 func (s FileSystemDataSource) String() string { 52345 return awsutil.Prettify(s) 52346 } 52347 52348 // GoString returns the string representation. 52349 // 52350 // API parameter values that are decorated as "sensitive" in the API will not 52351 // be included in the string output. The member name will be present, but the 52352 // value will be replaced with "sensitive". 52353 func (s FileSystemDataSource) GoString() string { 52354 return s.String() 52355 } 52356 52357 // Validate inspects the fields of the type to determine if they are valid. 52358 func (s *FileSystemDataSource) Validate() error { 52359 invalidParams := request.ErrInvalidParams{Context: "FileSystemDataSource"} 52360 if s.DirectoryPath == nil { 52361 invalidParams.Add(request.NewErrParamRequired("DirectoryPath")) 52362 } 52363 if s.FileSystemAccessMode == nil { 52364 invalidParams.Add(request.NewErrParamRequired("FileSystemAccessMode")) 52365 } 52366 if s.FileSystemId == nil { 52367 invalidParams.Add(request.NewErrParamRequired("FileSystemId")) 52368 } 52369 if s.FileSystemId != nil && len(*s.FileSystemId) < 11 { 52370 invalidParams.Add(request.NewErrParamMinLen("FileSystemId", 11)) 52371 } 52372 if s.FileSystemType == nil { 52373 invalidParams.Add(request.NewErrParamRequired("FileSystemType")) 52374 } 52375 52376 if invalidParams.Len() > 0 { 52377 return invalidParams 52378 } 52379 return nil 52380 } 52381 52382 // SetDirectoryPath sets the DirectoryPath field's value. 52383 func (s *FileSystemDataSource) SetDirectoryPath(v string) *FileSystemDataSource { 52384 s.DirectoryPath = &v 52385 return s 52386 } 52387 52388 // SetFileSystemAccessMode sets the FileSystemAccessMode field's value. 52389 func (s *FileSystemDataSource) SetFileSystemAccessMode(v string) *FileSystemDataSource { 52390 s.FileSystemAccessMode = &v 52391 return s 52392 } 52393 52394 // SetFileSystemId sets the FileSystemId field's value. 52395 func (s *FileSystemDataSource) SetFileSystemId(v string) *FileSystemDataSource { 52396 s.FileSystemId = &v 52397 return s 52398 } 52399 52400 // SetFileSystemType sets the FileSystemType field's value. 52401 func (s *FileSystemDataSource) SetFileSystemType(v string) *FileSystemDataSource { 52402 s.FileSystemType = &v 52403 return s 52404 } 52405 52406 // A conditional statement for a search expression that includes a resource 52407 // property, a Boolean operator, and a value. Resources that match the statement 52408 // are returned in the results from the Search API. 52409 // 52410 // If you specify a Value, but not an Operator, Amazon SageMaker uses the equals 52411 // operator. 52412 // 52413 // In search, there are several property types: 52414 // 52415 // Metrics 52416 // 52417 // To define a metric filter, enter a value using the form "Metrics.<name>", 52418 // where <name> is a metric name. For example, the following filter searches 52419 // for training jobs with an "accuracy" metric greater than "0.9": 52420 // 52421 // { 52422 // 52423 // "Name": "Metrics.accuracy", 52424 // 52425 // "Operator": "GreaterThan", 52426 // 52427 // "Value": "0.9" 52428 // 52429 // } 52430 // 52431 // HyperParameters 52432 // 52433 // To define a hyperparameter filter, enter a value with the form "HyperParameters.<name>". 52434 // Decimal hyperparameter values are treated as a decimal in a comparison if 52435 // the specified Value is also a decimal value. If the specified Value is an 52436 // integer, the decimal hyperparameter values are treated as integers. For example, 52437 // the following filter is satisfied by training jobs with a "learning_rate" 52438 // hyperparameter that is less than "0.5": 52439 // 52440 // { 52441 // 52442 // "Name": "HyperParameters.learning_rate", 52443 // 52444 // "Operator": "LessThan", 52445 // 52446 // "Value": "0.5" 52447 // 52448 // } 52449 // 52450 // Tags 52451 // 52452 // To define a tag filter, enter a value with the form Tags.<key>. 52453 type Filter struct { 52454 _ struct{} `type:"structure"` 52455 52456 // A resource property name. For example, TrainingJobName. For valid property 52457 // names, see SearchRecord. You must specify a valid property for the resource. 52458 // 52459 // Name is a required field 52460 Name *string `min:"1" type:"string" required:"true"` 52461 52462 // A Boolean binary operator that is used to evaluate the filter. The operator 52463 // field contains one of the following values: 52464 // 52465 // Equals 52466 // 52467 // The value of Name equals Value. 52468 // 52469 // NotEquals 52470 // 52471 // The value of Name doesn't equal Value. 52472 // 52473 // Exists 52474 // 52475 // The Name property exists. 52476 // 52477 // NotExists 52478 // 52479 // The Name property does not exist. 52480 // 52481 // GreaterThan 52482 // 52483 // The value of Name is greater than Value. Not supported for text properties. 52484 // 52485 // GreaterThanOrEqualTo 52486 // 52487 // The value of Name is greater than or equal to Value. Not supported for text 52488 // properties. 52489 // 52490 // LessThan 52491 // 52492 // The value of Name is less than Value. Not supported for text properties. 52493 // 52494 // LessThanOrEqualTo 52495 // 52496 // The value of Name is less than or equal to Value. Not supported for text 52497 // properties. 52498 // 52499 // In 52500 // 52501 // The value of Name is one of the comma delimited strings in Value. Only supported 52502 // for text properties. 52503 // 52504 // Contains 52505 // 52506 // The value of Name contains the string Value. Only supported for text properties. 52507 // 52508 // A SearchExpression can include the Contains operator multiple times when 52509 // the value of Name is one of the following: 52510 // 52511 // * Experiment.DisplayName 52512 // 52513 // * Experiment.ExperimentName 52514 // 52515 // * Experiment.Tags 52516 // 52517 // * Trial.DisplayName 52518 // 52519 // * Trial.TrialName 52520 // 52521 // * Trial.Tags 52522 // 52523 // * TrialComponent.DisplayName 52524 // 52525 // * TrialComponent.TrialComponentName 52526 // 52527 // * TrialComponent.Tags 52528 // 52529 // * TrialComponent.InputArtifacts 52530 // 52531 // * TrialComponent.OutputArtifacts 52532 // 52533 // A SearchExpression can include only one Contains operator for all other values 52534 // of Name. In these cases, if you include multiple Contains operators in the 52535 // SearchExpression, the result is the following error message: "'CONTAINS' 52536 // operator usage limit of 1 exceeded." 52537 Operator *string `type:"string" enum:"Operator"` 52538 52539 // A value used with Name and Operator to determine which resources satisfy 52540 // the filter's condition. For numerical properties, Value must be an integer 52541 // or floating-point decimal. For timestamp properties, Value must be an ISO 52542 // 8601 date-time string of the following format: YYYY-mm-dd'T'HH:MM:SS. 52543 Value *string `min:"1" type:"string"` 52544 } 52545 52546 // String returns the string representation. 52547 // 52548 // API parameter values that are decorated as "sensitive" in the API will not 52549 // be included in the string output. The member name will be present, but the 52550 // value will be replaced with "sensitive". 52551 func (s Filter) String() string { 52552 return awsutil.Prettify(s) 52553 } 52554 52555 // GoString returns the string representation. 52556 // 52557 // API parameter values that are decorated as "sensitive" in the API will not 52558 // be included in the string output. The member name will be present, but the 52559 // value will be replaced with "sensitive". 52560 func (s Filter) GoString() string { 52561 return s.String() 52562 } 52563 52564 // Validate inspects the fields of the type to determine if they are valid. 52565 func (s *Filter) Validate() error { 52566 invalidParams := request.ErrInvalidParams{Context: "Filter"} 52567 if s.Name == nil { 52568 invalidParams.Add(request.NewErrParamRequired("Name")) 52569 } 52570 if s.Name != nil && len(*s.Name) < 1 { 52571 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 52572 } 52573 if s.Value != nil && len(*s.Value) < 1 { 52574 invalidParams.Add(request.NewErrParamMinLen("Value", 1)) 52575 } 52576 52577 if invalidParams.Len() > 0 { 52578 return invalidParams 52579 } 52580 return nil 52581 } 52582 52583 // SetName sets the Name field's value. 52584 func (s *Filter) SetName(v string) *Filter { 52585 s.Name = &v 52586 return s 52587 } 52588 52589 // SetOperator sets the Operator field's value. 52590 func (s *Filter) SetOperator(v string) *Filter { 52591 s.Operator = &v 52592 return s 52593 } 52594 52595 // SetValue sets the Value field's value. 52596 func (s *Filter) SetValue(v string) *Filter { 52597 s.Value = &v 52598 return s 52599 } 52600 52601 // The best candidate result from an AutoML training job. 52602 type FinalAutoMLJobObjectiveMetric struct { 52603 _ struct{} `type:"structure"` 52604 52605 // The name of the metric with the best result. For a description of the possible 52606 // objective metrics, see AutoMLJobObjective$MetricName. 52607 // 52608 // MetricName is a required field 52609 MetricName *string `type:"string" required:"true" enum:"AutoMLMetricEnum"` 52610 52611 // The type of metric with the best result. 52612 Type *string `type:"string" enum:"AutoMLJobObjectiveType"` 52613 52614 // The value of the metric with the best result. 52615 // 52616 // Value is a required field 52617 Value *float64 `type:"float" required:"true"` 52618 } 52619 52620 // String returns the string representation. 52621 // 52622 // API parameter values that are decorated as "sensitive" in the API will not 52623 // be included in the string output. The member name will be present, but the 52624 // value will be replaced with "sensitive". 52625 func (s FinalAutoMLJobObjectiveMetric) String() string { 52626 return awsutil.Prettify(s) 52627 } 52628 52629 // GoString returns the string representation. 52630 // 52631 // API parameter values that are decorated as "sensitive" in the API will not 52632 // be included in the string output. The member name will be present, but the 52633 // value will be replaced with "sensitive". 52634 func (s FinalAutoMLJobObjectiveMetric) GoString() string { 52635 return s.String() 52636 } 52637 52638 // SetMetricName sets the MetricName field's value. 52639 func (s *FinalAutoMLJobObjectiveMetric) SetMetricName(v string) *FinalAutoMLJobObjectiveMetric { 52640 s.MetricName = &v 52641 return s 52642 } 52643 52644 // SetType sets the Type field's value. 52645 func (s *FinalAutoMLJobObjectiveMetric) SetType(v string) *FinalAutoMLJobObjectiveMetric { 52646 s.Type = &v 52647 return s 52648 } 52649 52650 // SetValue sets the Value field's value. 52651 func (s *FinalAutoMLJobObjectiveMetric) SetValue(v float64) *FinalAutoMLJobObjectiveMetric { 52652 s.Value = &v 52653 return s 52654 } 52655 52656 // Shows the final value for the objective metric for a training job that was 52657 // launched by a hyperparameter tuning job. You define the objective metric 52658 // in the HyperParameterTuningJobObjective parameter of HyperParameterTuningJobConfig. 52659 type FinalHyperParameterTuningJobObjectiveMetric struct { 52660 _ struct{} `type:"structure"` 52661 52662 // The name of the objective metric. 52663 // 52664 // MetricName is a required field 52665 MetricName *string `min:"1" type:"string" required:"true"` 52666 52667 // Whether to minimize or maximize the objective metric. Valid values are Minimize 52668 // and Maximize. 52669 Type *string `type:"string" enum:"HyperParameterTuningJobObjectiveType"` 52670 52671 // The value of the objective metric. 52672 // 52673 // Value is a required field 52674 Value *float64 `type:"float" required:"true"` 52675 } 52676 52677 // String returns the string representation. 52678 // 52679 // API parameter values that are decorated as "sensitive" in the API will not 52680 // be included in the string output. The member name will be present, but the 52681 // value will be replaced with "sensitive". 52682 func (s FinalHyperParameterTuningJobObjectiveMetric) String() string { 52683 return awsutil.Prettify(s) 52684 } 52685 52686 // GoString returns the string representation. 52687 // 52688 // API parameter values that are decorated as "sensitive" in the API will not 52689 // be included in the string output. The member name will be present, but the 52690 // value will be replaced with "sensitive". 52691 func (s FinalHyperParameterTuningJobObjectiveMetric) GoString() string { 52692 return s.String() 52693 } 52694 52695 // SetMetricName sets the MetricName field's value. 52696 func (s *FinalHyperParameterTuningJobObjectiveMetric) SetMetricName(v string) *FinalHyperParameterTuningJobObjectiveMetric { 52697 s.MetricName = &v 52698 return s 52699 } 52700 52701 // SetType sets the Type field's value. 52702 func (s *FinalHyperParameterTuningJobObjectiveMetric) SetType(v string) *FinalHyperParameterTuningJobObjectiveMetric { 52703 s.Type = &v 52704 return s 52705 } 52706 52707 // SetValue sets the Value field's value. 52708 func (s *FinalHyperParameterTuningJobObjectiveMetric) SetValue(v float64) *FinalHyperParameterTuningJobObjectiveMetric { 52709 s.Value = &v 52710 return s 52711 } 52712 52713 // Contains information about where human output will be stored. 52714 type FlowDefinitionOutputConfig struct { 52715 _ struct{} `type:"structure"` 52716 52717 // The Amazon Key Management Service (KMS) key ID for server-side encryption. 52718 KmsKeyId *string `type:"string"` 52719 52720 // The Amazon S3 path where the object containing human output will be made 52721 // available. 52722 // 52723 // To learn more about the format of Amazon A2I output data, see Amazon A2I 52724 // Output Data (https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-output-data.html). 52725 // 52726 // S3OutputPath is a required field 52727 S3OutputPath *string `type:"string" required:"true"` 52728 } 52729 52730 // String returns the string representation. 52731 // 52732 // API parameter values that are decorated as "sensitive" in the API will not 52733 // be included in the string output. The member name will be present, but the 52734 // value will be replaced with "sensitive". 52735 func (s FlowDefinitionOutputConfig) String() string { 52736 return awsutil.Prettify(s) 52737 } 52738 52739 // GoString returns the string representation. 52740 // 52741 // API parameter values that are decorated as "sensitive" in the API will not 52742 // be included in the string output. The member name will be present, but the 52743 // value will be replaced with "sensitive". 52744 func (s FlowDefinitionOutputConfig) GoString() string { 52745 return s.String() 52746 } 52747 52748 // Validate inspects the fields of the type to determine if they are valid. 52749 func (s *FlowDefinitionOutputConfig) Validate() error { 52750 invalidParams := request.ErrInvalidParams{Context: "FlowDefinitionOutputConfig"} 52751 if s.S3OutputPath == nil { 52752 invalidParams.Add(request.NewErrParamRequired("S3OutputPath")) 52753 } 52754 52755 if invalidParams.Len() > 0 { 52756 return invalidParams 52757 } 52758 return nil 52759 } 52760 52761 // SetKmsKeyId sets the KmsKeyId field's value. 52762 func (s *FlowDefinitionOutputConfig) SetKmsKeyId(v string) *FlowDefinitionOutputConfig { 52763 s.KmsKeyId = &v 52764 return s 52765 } 52766 52767 // SetS3OutputPath sets the S3OutputPath field's value. 52768 func (s *FlowDefinitionOutputConfig) SetS3OutputPath(v string) *FlowDefinitionOutputConfig { 52769 s.S3OutputPath = &v 52770 return s 52771 } 52772 52773 // Contains summary information about the flow definition. 52774 type FlowDefinitionSummary struct { 52775 _ struct{} `type:"structure"` 52776 52777 // The timestamp when SageMaker created the flow definition. 52778 // 52779 // CreationTime is a required field 52780 CreationTime *time.Time `type:"timestamp" required:"true"` 52781 52782 // The reason why the flow definition creation failed. A failure reason is returned 52783 // only when the flow definition status is Failed. 52784 FailureReason *string `type:"string"` 52785 52786 // The Amazon Resource Name (ARN) of the flow definition. 52787 // 52788 // FlowDefinitionArn is a required field 52789 FlowDefinitionArn *string `type:"string" required:"true"` 52790 52791 // The name of the flow definition. 52792 // 52793 // FlowDefinitionName is a required field 52794 FlowDefinitionName *string `min:"1" type:"string" required:"true"` 52795 52796 // The status of the flow definition. Valid values: 52797 // 52798 // FlowDefinitionStatus is a required field 52799 FlowDefinitionStatus *string `type:"string" required:"true" enum:"FlowDefinitionStatus"` 52800 } 52801 52802 // String returns the string representation. 52803 // 52804 // API parameter values that are decorated as "sensitive" in the API will not 52805 // be included in the string output. The member name will be present, but the 52806 // value will be replaced with "sensitive". 52807 func (s FlowDefinitionSummary) String() string { 52808 return awsutil.Prettify(s) 52809 } 52810 52811 // GoString returns the string representation. 52812 // 52813 // API parameter values that are decorated as "sensitive" in the API will not 52814 // be included in the string output. The member name will be present, but the 52815 // value will be replaced with "sensitive". 52816 func (s FlowDefinitionSummary) GoString() string { 52817 return s.String() 52818 } 52819 52820 // SetCreationTime sets the CreationTime field's value. 52821 func (s *FlowDefinitionSummary) SetCreationTime(v time.Time) *FlowDefinitionSummary { 52822 s.CreationTime = &v 52823 return s 52824 } 52825 52826 // SetFailureReason sets the FailureReason field's value. 52827 func (s *FlowDefinitionSummary) SetFailureReason(v string) *FlowDefinitionSummary { 52828 s.FailureReason = &v 52829 return s 52830 } 52831 52832 // SetFlowDefinitionArn sets the FlowDefinitionArn field's value. 52833 func (s *FlowDefinitionSummary) SetFlowDefinitionArn(v string) *FlowDefinitionSummary { 52834 s.FlowDefinitionArn = &v 52835 return s 52836 } 52837 52838 // SetFlowDefinitionName sets the FlowDefinitionName field's value. 52839 func (s *FlowDefinitionSummary) SetFlowDefinitionName(v string) *FlowDefinitionSummary { 52840 s.FlowDefinitionName = &v 52841 return s 52842 } 52843 52844 // SetFlowDefinitionStatus sets the FlowDefinitionStatus field's value. 52845 func (s *FlowDefinitionSummary) SetFlowDefinitionStatus(v string) *FlowDefinitionSummary { 52846 s.FlowDefinitionStatus = &v 52847 return s 52848 } 52849 52850 type GetDeviceFleetReportInput struct { 52851 _ struct{} `type:"structure"` 52852 52853 // The name of the fleet. 52854 // 52855 // DeviceFleetName is a required field 52856 DeviceFleetName *string `min:"1" type:"string" required:"true"` 52857 } 52858 52859 // String returns the string representation. 52860 // 52861 // API parameter values that are decorated as "sensitive" in the API will not 52862 // be included in the string output. The member name will be present, but the 52863 // value will be replaced with "sensitive". 52864 func (s GetDeviceFleetReportInput) String() string { 52865 return awsutil.Prettify(s) 52866 } 52867 52868 // GoString returns the string representation. 52869 // 52870 // API parameter values that are decorated as "sensitive" in the API will not 52871 // be included in the string output. The member name will be present, but the 52872 // value will be replaced with "sensitive". 52873 func (s GetDeviceFleetReportInput) GoString() string { 52874 return s.String() 52875 } 52876 52877 // Validate inspects the fields of the type to determine if they are valid. 52878 func (s *GetDeviceFleetReportInput) Validate() error { 52879 invalidParams := request.ErrInvalidParams{Context: "GetDeviceFleetReportInput"} 52880 if s.DeviceFleetName == nil { 52881 invalidParams.Add(request.NewErrParamRequired("DeviceFleetName")) 52882 } 52883 if s.DeviceFleetName != nil && len(*s.DeviceFleetName) < 1 { 52884 invalidParams.Add(request.NewErrParamMinLen("DeviceFleetName", 1)) 52885 } 52886 52887 if invalidParams.Len() > 0 { 52888 return invalidParams 52889 } 52890 return nil 52891 } 52892 52893 // SetDeviceFleetName sets the DeviceFleetName field's value. 52894 func (s *GetDeviceFleetReportInput) SetDeviceFleetName(v string) *GetDeviceFleetReportInput { 52895 s.DeviceFleetName = &v 52896 return s 52897 } 52898 52899 type GetDeviceFleetReportOutput struct { 52900 _ struct{} `type:"structure"` 52901 52902 // The versions of Edge Manager agent deployed on the fleet. 52903 AgentVersions []*AgentVersion `type:"list"` 52904 52905 // Description of the fleet. 52906 Description *string `min:"1" type:"string"` 52907 52908 // The Amazon Resource Name (ARN) of the device. 52909 // 52910 // DeviceFleetArn is a required field 52911 DeviceFleetArn *string `type:"string" required:"true"` 52912 52913 // The name of the fleet. 52914 // 52915 // DeviceFleetName is a required field 52916 DeviceFleetName *string `min:"1" type:"string" required:"true"` 52917 52918 // Status of devices. 52919 DeviceStats *DeviceStats `type:"structure"` 52920 52921 // Status of model on device. 52922 ModelStats []*EdgeModelStat `type:"list"` 52923 52924 // The output configuration for storing sample data collected by the fleet. 52925 OutputConfig *EdgeOutputConfig `type:"structure"` 52926 52927 // Timestamp of when the report was generated. 52928 ReportGenerated *time.Time `type:"timestamp"` 52929 } 52930 52931 // String returns the string representation. 52932 // 52933 // API parameter values that are decorated as "sensitive" in the API will not 52934 // be included in the string output. The member name will be present, but the 52935 // value will be replaced with "sensitive". 52936 func (s GetDeviceFleetReportOutput) String() string { 52937 return awsutil.Prettify(s) 52938 } 52939 52940 // GoString returns the string representation. 52941 // 52942 // API parameter values that are decorated as "sensitive" in the API will not 52943 // be included in the string output. The member name will be present, but the 52944 // value will be replaced with "sensitive". 52945 func (s GetDeviceFleetReportOutput) GoString() string { 52946 return s.String() 52947 } 52948 52949 // SetAgentVersions sets the AgentVersions field's value. 52950 func (s *GetDeviceFleetReportOutput) SetAgentVersions(v []*AgentVersion) *GetDeviceFleetReportOutput { 52951 s.AgentVersions = v 52952 return s 52953 } 52954 52955 // SetDescription sets the Description field's value. 52956 func (s *GetDeviceFleetReportOutput) SetDescription(v string) *GetDeviceFleetReportOutput { 52957 s.Description = &v 52958 return s 52959 } 52960 52961 // SetDeviceFleetArn sets the DeviceFleetArn field's value. 52962 func (s *GetDeviceFleetReportOutput) SetDeviceFleetArn(v string) *GetDeviceFleetReportOutput { 52963 s.DeviceFleetArn = &v 52964 return s 52965 } 52966 52967 // SetDeviceFleetName sets the DeviceFleetName field's value. 52968 func (s *GetDeviceFleetReportOutput) SetDeviceFleetName(v string) *GetDeviceFleetReportOutput { 52969 s.DeviceFleetName = &v 52970 return s 52971 } 52972 52973 // SetDeviceStats sets the DeviceStats field's value. 52974 func (s *GetDeviceFleetReportOutput) SetDeviceStats(v *DeviceStats) *GetDeviceFleetReportOutput { 52975 s.DeviceStats = v 52976 return s 52977 } 52978 52979 // SetModelStats sets the ModelStats field's value. 52980 func (s *GetDeviceFleetReportOutput) SetModelStats(v []*EdgeModelStat) *GetDeviceFleetReportOutput { 52981 s.ModelStats = v 52982 return s 52983 } 52984 52985 // SetOutputConfig sets the OutputConfig field's value. 52986 func (s *GetDeviceFleetReportOutput) SetOutputConfig(v *EdgeOutputConfig) *GetDeviceFleetReportOutput { 52987 s.OutputConfig = v 52988 return s 52989 } 52990 52991 // SetReportGenerated sets the ReportGenerated field's value. 52992 func (s *GetDeviceFleetReportOutput) SetReportGenerated(v time.Time) *GetDeviceFleetReportOutput { 52993 s.ReportGenerated = &v 52994 return s 52995 } 52996 52997 type GetModelPackageGroupPolicyInput struct { 52998 _ struct{} `type:"structure"` 52999 53000 // The name of the model group for which to get the resource policy. 53001 // 53002 // ModelPackageGroupName is a required field 53003 ModelPackageGroupName *string `min:"1" type:"string" required:"true"` 53004 } 53005 53006 // String returns the string representation. 53007 // 53008 // API parameter values that are decorated as "sensitive" in the API will not 53009 // be included in the string output. The member name will be present, but the 53010 // value will be replaced with "sensitive". 53011 func (s GetModelPackageGroupPolicyInput) String() string { 53012 return awsutil.Prettify(s) 53013 } 53014 53015 // GoString returns the string representation. 53016 // 53017 // API parameter values that are decorated as "sensitive" in the API will not 53018 // be included in the string output. The member name will be present, but the 53019 // value will be replaced with "sensitive". 53020 func (s GetModelPackageGroupPolicyInput) GoString() string { 53021 return s.String() 53022 } 53023 53024 // Validate inspects the fields of the type to determine if they are valid. 53025 func (s *GetModelPackageGroupPolicyInput) Validate() error { 53026 invalidParams := request.ErrInvalidParams{Context: "GetModelPackageGroupPolicyInput"} 53027 if s.ModelPackageGroupName == nil { 53028 invalidParams.Add(request.NewErrParamRequired("ModelPackageGroupName")) 53029 } 53030 if s.ModelPackageGroupName != nil && len(*s.ModelPackageGroupName) < 1 { 53031 invalidParams.Add(request.NewErrParamMinLen("ModelPackageGroupName", 1)) 53032 } 53033 53034 if invalidParams.Len() > 0 { 53035 return invalidParams 53036 } 53037 return nil 53038 } 53039 53040 // SetModelPackageGroupName sets the ModelPackageGroupName field's value. 53041 func (s *GetModelPackageGroupPolicyInput) SetModelPackageGroupName(v string) *GetModelPackageGroupPolicyInput { 53042 s.ModelPackageGroupName = &v 53043 return s 53044 } 53045 53046 type GetModelPackageGroupPolicyOutput struct { 53047 _ struct{} `type:"structure"` 53048 53049 // The resource policy for the model group. 53050 // 53051 // ResourcePolicy is a required field 53052 ResourcePolicy *string `min:"1" type:"string" required:"true"` 53053 } 53054 53055 // String returns the string representation. 53056 // 53057 // API parameter values that are decorated as "sensitive" in the API will not 53058 // be included in the string output. The member name will be present, but the 53059 // value will be replaced with "sensitive". 53060 func (s GetModelPackageGroupPolicyOutput) String() string { 53061 return awsutil.Prettify(s) 53062 } 53063 53064 // GoString returns the string representation. 53065 // 53066 // API parameter values that are decorated as "sensitive" in the API will not 53067 // be included in the string output. The member name will be present, but the 53068 // value will be replaced with "sensitive". 53069 func (s GetModelPackageGroupPolicyOutput) GoString() string { 53070 return s.String() 53071 } 53072 53073 // SetResourcePolicy sets the ResourcePolicy field's value. 53074 func (s *GetModelPackageGroupPolicyOutput) SetResourcePolicy(v string) *GetModelPackageGroupPolicyOutput { 53075 s.ResourcePolicy = &v 53076 return s 53077 } 53078 53079 type GetSagemakerServicecatalogPortfolioStatusInput struct { 53080 _ struct{} `type:"structure"` 53081 } 53082 53083 // String returns the string representation. 53084 // 53085 // API parameter values that are decorated as "sensitive" in the API will not 53086 // be included in the string output. The member name will be present, but the 53087 // value will be replaced with "sensitive". 53088 func (s GetSagemakerServicecatalogPortfolioStatusInput) String() string { 53089 return awsutil.Prettify(s) 53090 } 53091 53092 // GoString returns the string representation. 53093 // 53094 // API parameter values that are decorated as "sensitive" in the API will not 53095 // be included in the string output. The member name will be present, but the 53096 // value will be replaced with "sensitive". 53097 func (s GetSagemakerServicecatalogPortfolioStatusInput) GoString() string { 53098 return s.String() 53099 } 53100 53101 type GetSagemakerServicecatalogPortfolioStatusOutput struct { 53102 _ struct{} `type:"structure"` 53103 53104 // Whether Service Catalog is enabled or disabled in SageMaker. 53105 Status *string `type:"string" enum:"SagemakerServicecatalogStatus"` 53106 } 53107 53108 // String returns the string representation. 53109 // 53110 // API parameter values that are decorated as "sensitive" in the API will not 53111 // be included in the string output. The member name will be present, but the 53112 // value will be replaced with "sensitive". 53113 func (s GetSagemakerServicecatalogPortfolioStatusOutput) String() string { 53114 return awsutil.Prettify(s) 53115 } 53116 53117 // GoString returns the string representation. 53118 // 53119 // API parameter values that are decorated as "sensitive" in the API will not 53120 // be included in the string output. The member name will be present, but the 53121 // value will be replaced with "sensitive". 53122 func (s GetSagemakerServicecatalogPortfolioStatusOutput) GoString() string { 53123 return s.String() 53124 } 53125 53126 // SetStatus sets the Status field's value. 53127 func (s *GetSagemakerServicecatalogPortfolioStatusOutput) SetStatus(v string) *GetSagemakerServicecatalogPortfolioStatusOutput { 53128 s.Status = &v 53129 return s 53130 } 53131 53132 type GetSearchSuggestionsInput struct { 53133 _ struct{} `type:"structure"` 53134 53135 // The name of the Amazon SageMaker resource to search for. 53136 // 53137 // Resource is a required field 53138 Resource *string `type:"string" required:"true" enum:"ResourceType"` 53139 53140 // Limits the property names that are included in the response. 53141 SuggestionQuery *SuggestionQuery `type:"structure"` 53142 } 53143 53144 // String returns the string representation. 53145 // 53146 // API parameter values that are decorated as "sensitive" in the API will not 53147 // be included in the string output. The member name will be present, but the 53148 // value will be replaced with "sensitive". 53149 func (s GetSearchSuggestionsInput) String() string { 53150 return awsutil.Prettify(s) 53151 } 53152 53153 // GoString returns the string representation. 53154 // 53155 // API parameter values that are decorated as "sensitive" in the API will not 53156 // be included in the string output. The member name will be present, but the 53157 // value will be replaced with "sensitive". 53158 func (s GetSearchSuggestionsInput) GoString() string { 53159 return s.String() 53160 } 53161 53162 // Validate inspects the fields of the type to determine if they are valid. 53163 func (s *GetSearchSuggestionsInput) Validate() error { 53164 invalidParams := request.ErrInvalidParams{Context: "GetSearchSuggestionsInput"} 53165 if s.Resource == nil { 53166 invalidParams.Add(request.NewErrParamRequired("Resource")) 53167 } 53168 if s.SuggestionQuery != nil { 53169 if err := s.SuggestionQuery.Validate(); err != nil { 53170 invalidParams.AddNested("SuggestionQuery", err.(request.ErrInvalidParams)) 53171 } 53172 } 53173 53174 if invalidParams.Len() > 0 { 53175 return invalidParams 53176 } 53177 return nil 53178 } 53179 53180 // SetResource sets the Resource field's value. 53181 func (s *GetSearchSuggestionsInput) SetResource(v string) *GetSearchSuggestionsInput { 53182 s.Resource = &v 53183 return s 53184 } 53185 53186 // SetSuggestionQuery sets the SuggestionQuery field's value. 53187 func (s *GetSearchSuggestionsInput) SetSuggestionQuery(v *SuggestionQuery) *GetSearchSuggestionsInput { 53188 s.SuggestionQuery = v 53189 return s 53190 } 53191 53192 type GetSearchSuggestionsOutput struct { 53193 _ struct{} `type:"structure"` 53194 53195 // A list of property names for a Resource that match a SuggestionQuery. 53196 PropertyNameSuggestions []*PropertyNameSuggestion `type:"list"` 53197 } 53198 53199 // String returns the string representation. 53200 // 53201 // API parameter values that are decorated as "sensitive" in the API will not 53202 // be included in the string output. The member name will be present, but the 53203 // value will be replaced with "sensitive". 53204 func (s GetSearchSuggestionsOutput) String() string { 53205 return awsutil.Prettify(s) 53206 } 53207 53208 // GoString returns the string representation. 53209 // 53210 // API parameter values that are decorated as "sensitive" in the API will not 53211 // be included in the string output. The member name will be present, but the 53212 // value will be replaced with "sensitive". 53213 func (s GetSearchSuggestionsOutput) GoString() string { 53214 return s.String() 53215 } 53216 53217 // SetPropertyNameSuggestions sets the PropertyNameSuggestions field's value. 53218 func (s *GetSearchSuggestionsOutput) SetPropertyNameSuggestions(v []*PropertyNameSuggestion) *GetSearchSuggestionsOutput { 53219 s.PropertyNameSuggestions = v 53220 return s 53221 } 53222 53223 // Specifies configuration details for a Git repository in your Amazon Web Services 53224 // account. 53225 type GitConfig struct { 53226 _ struct{} `type:"structure"` 53227 53228 // The default branch for the Git repository. 53229 Branch *string `min:"1" type:"string"` 53230 53231 // The URL where the Git repository is located. 53232 // 53233 // RepositoryUrl is a required field 53234 RepositoryUrl *string `type:"string" required:"true"` 53235 53236 // The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager 53237 // secret that contains the credentials used to access the git repository. The 53238 // secret must have a staging label of AWSCURRENT and must be in the following 53239 // format: 53240 // 53241 // {"username": UserName, "password": Password} 53242 SecretArn *string `min:"1" type:"string"` 53243 } 53244 53245 // String returns the string representation. 53246 // 53247 // API parameter values that are decorated as "sensitive" in the API will not 53248 // be included in the string output. The member name will be present, but the 53249 // value will be replaced with "sensitive". 53250 func (s GitConfig) String() string { 53251 return awsutil.Prettify(s) 53252 } 53253 53254 // GoString returns the string representation. 53255 // 53256 // API parameter values that are decorated as "sensitive" in the API will not 53257 // be included in the string output. The member name will be present, but the 53258 // value will be replaced with "sensitive". 53259 func (s GitConfig) GoString() string { 53260 return s.String() 53261 } 53262 53263 // Validate inspects the fields of the type to determine if they are valid. 53264 func (s *GitConfig) Validate() error { 53265 invalidParams := request.ErrInvalidParams{Context: "GitConfig"} 53266 if s.Branch != nil && len(*s.Branch) < 1 { 53267 invalidParams.Add(request.NewErrParamMinLen("Branch", 1)) 53268 } 53269 if s.RepositoryUrl == nil { 53270 invalidParams.Add(request.NewErrParamRequired("RepositoryUrl")) 53271 } 53272 if s.SecretArn != nil && len(*s.SecretArn) < 1 { 53273 invalidParams.Add(request.NewErrParamMinLen("SecretArn", 1)) 53274 } 53275 53276 if invalidParams.Len() > 0 { 53277 return invalidParams 53278 } 53279 return nil 53280 } 53281 53282 // SetBranch sets the Branch field's value. 53283 func (s *GitConfig) SetBranch(v string) *GitConfig { 53284 s.Branch = &v 53285 return s 53286 } 53287 53288 // SetRepositoryUrl sets the RepositoryUrl field's value. 53289 func (s *GitConfig) SetRepositoryUrl(v string) *GitConfig { 53290 s.RepositoryUrl = &v 53291 return s 53292 } 53293 53294 // SetSecretArn sets the SecretArn field's value. 53295 func (s *GitConfig) SetSecretArn(v string) *GitConfig { 53296 s.SecretArn = &v 53297 return s 53298 } 53299 53300 // Specifies configuration details for a Git repository when the repository 53301 // is updated. 53302 type GitConfigForUpdate struct { 53303 _ struct{} `type:"structure"` 53304 53305 // The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager 53306 // secret that contains the credentials used to access the git repository. The 53307 // secret must have a staging label of AWSCURRENT and must be in the following 53308 // format: 53309 // 53310 // {"username": UserName, "password": Password} 53311 SecretArn *string `min:"1" type:"string"` 53312 } 53313 53314 // String returns the string representation. 53315 // 53316 // API parameter values that are decorated as "sensitive" in the API will not 53317 // be included in the string output. The member name will be present, but the 53318 // value will be replaced with "sensitive". 53319 func (s GitConfigForUpdate) String() string { 53320 return awsutil.Prettify(s) 53321 } 53322 53323 // GoString returns the string representation. 53324 // 53325 // API parameter values that are decorated as "sensitive" in the API will not 53326 // be included in the string output. The member name will be present, but the 53327 // value will be replaced with "sensitive". 53328 func (s GitConfigForUpdate) GoString() string { 53329 return s.String() 53330 } 53331 53332 // Validate inspects the fields of the type to determine if they are valid. 53333 func (s *GitConfigForUpdate) Validate() error { 53334 invalidParams := request.ErrInvalidParams{Context: "GitConfigForUpdate"} 53335 if s.SecretArn != nil && len(*s.SecretArn) < 1 { 53336 invalidParams.Add(request.NewErrParamMinLen("SecretArn", 1)) 53337 } 53338 53339 if invalidParams.Len() > 0 { 53340 return invalidParams 53341 } 53342 return nil 53343 } 53344 53345 // SetSecretArn sets the SecretArn field's value. 53346 func (s *GitConfigForUpdate) SetSecretArn(v string) *GitConfigForUpdate { 53347 s.SecretArn = &v 53348 return s 53349 } 53350 53351 // Defines under what conditions SageMaker creates a human loop. Used within 53352 // . See for the required format of activation conditions. 53353 type HumanLoopActivationConditionsConfig struct { 53354 _ struct{} `type:"structure"` 53355 53356 // JSON expressing use-case specific conditions declaratively. If any condition 53357 // is matched, atomic tasks are created against the configured work team. The 53358 // set of conditions is different for Rekognition and Textract. For more information 53359 // about how to structure the JSON, see JSON Schema for Human Loop Activation 53360 // Conditions in Amazon Augmented AI (https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-human-fallback-conditions-json-schema.html) 53361 // in the Amazon SageMaker Developer Guide. 53362 // 53363 // HumanLoopActivationConditions is a required field 53364 HumanLoopActivationConditions aws.JSONValue `type:"jsonvalue" required:"true"` 53365 } 53366 53367 // String returns the string representation. 53368 // 53369 // API parameter values that are decorated as "sensitive" in the API will not 53370 // be included in the string output. The member name will be present, but the 53371 // value will be replaced with "sensitive". 53372 func (s HumanLoopActivationConditionsConfig) String() string { 53373 return awsutil.Prettify(s) 53374 } 53375 53376 // GoString returns the string representation. 53377 // 53378 // API parameter values that are decorated as "sensitive" in the API will not 53379 // be included in the string output. The member name will be present, but the 53380 // value will be replaced with "sensitive". 53381 func (s HumanLoopActivationConditionsConfig) GoString() string { 53382 return s.String() 53383 } 53384 53385 // Validate inspects the fields of the type to determine if they are valid. 53386 func (s *HumanLoopActivationConditionsConfig) Validate() error { 53387 invalidParams := request.ErrInvalidParams{Context: "HumanLoopActivationConditionsConfig"} 53388 if s.HumanLoopActivationConditions == nil { 53389 invalidParams.Add(request.NewErrParamRequired("HumanLoopActivationConditions")) 53390 } 53391 53392 if invalidParams.Len() > 0 { 53393 return invalidParams 53394 } 53395 return nil 53396 } 53397 53398 // SetHumanLoopActivationConditions sets the HumanLoopActivationConditions field's value. 53399 func (s *HumanLoopActivationConditionsConfig) SetHumanLoopActivationConditions(v aws.JSONValue) *HumanLoopActivationConditionsConfig { 53400 s.HumanLoopActivationConditions = v 53401 return s 53402 } 53403 53404 // Provides information about how and under what conditions SageMaker creates 53405 // a human loop. If HumanLoopActivationConfig is not given, then all requests 53406 // go to humans. 53407 type HumanLoopActivationConfig struct { 53408 _ struct{} `type:"structure"` 53409 53410 // Container structure for defining under what conditions SageMaker creates 53411 // a human loop. 53412 // 53413 // HumanLoopActivationConditionsConfig is a required field 53414 HumanLoopActivationConditionsConfig *HumanLoopActivationConditionsConfig `type:"structure" required:"true"` 53415 } 53416 53417 // String returns the string representation. 53418 // 53419 // API parameter values that are decorated as "sensitive" in the API will not 53420 // be included in the string output. The member name will be present, but the 53421 // value will be replaced with "sensitive". 53422 func (s HumanLoopActivationConfig) String() string { 53423 return awsutil.Prettify(s) 53424 } 53425 53426 // GoString returns the string representation. 53427 // 53428 // API parameter values that are decorated as "sensitive" in the API will not 53429 // be included in the string output. The member name will be present, but the 53430 // value will be replaced with "sensitive". 53431 func (s HumanLoopActivationConfig) GoString() string { 53432 return s.String() 53433 } 53434 53435 // Validate inspects the fields of the type to determine if they are valid. 53436 func (s *HumanLoopActivationConfig) Validate() error { 53437 invalidParams := request.ErrInvalidParams{Context: "HumanLoopActivationConfig"} 53438 if s.HumanLoopActivationConditionsConfig == nil { 53439 invalidParams.Add(request.NewErrParamRequired("HumanLoopActivationConditionsConfig")) 53440 } 53441 if s.HumanLoopActivationConditionsConfig != nil { 53442 if err := s.HumanLoopActivationConditionsConfig.Validate(); err != nil { 53443 invalidParams.AddNested("HumanLoopActivationConditionsConfig", err.(request.ErrInvalidParams)) 53444 } 53445 } 53446 53447 if invalidParams.Len() > 0 { 53448 return invalidParams 53449 } 53450 return nil 53451 } 53452 53453 // SetHumanLoopActivationConditionsConfig sets the HumanLoopActivationConditionsConfig field's value. 53454 func (s *HumanLoopActivationConfig) SetHumanLoopActivationConditionsConfig(v *HumanLoopActivationConditionsConfig) *HumanLoopActivationConfig { 53455 s.HumanLoopActivationConditionsConfig = v 53456 return s 53457 } 53458 53459 // Describes the work to be performed by human workers. 53460 type HumanLoopConfig struct { 53461 _ struct{} `type:"structure"` 53462 53463 // The Amazon Resource Name (ARN) of the human task user interface. 53464 // 53465 // You can use standard HTML and Crowd HTML Elements to create a custom worker 53466 // task template. You use this template to create a human task UI. 53467 // 53468 // To learn how to create a custom HTML template, see Create Custom Worker Task 53469 // Template (https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-custom-templates.html). 53470 // 53471 // To learn how to create a human task UI, which is a worker task template that 53472 // can be used in a flow definition, see Create and Delete a Worker Task Templates 53473 // (https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-worker-template-console.html). 53474 // 53475 // HumanTaskUiArn is a required field 53476 HumanTaskUiArn *string `type:"string" required:"true"` 53477 53478 // Defines the amount of money paid to an Amazon Mechanical Turk worker for 53479 // each task performed. 53480 // 53481 // Use one of the following prices for bounding box tasks. Prices are in US 53482 // dollars and should be based on the complexity of the task; the longer it 53483 // takes in your initial testing, the more you should offer. 53484 // 53485 // * 0.036 53486 // 53487 // * 0.048 53488 // 53489 // * 0.060 53490 // 53491 // * 0.072 53492 // 53493 // * 0.120 53494 // 53495 // * 0.240 53496 // 53497 // * 0.360 53498 // 53499 // * 0.480 53500 // 53501 // * 0.600 53502 // 53503 // * 0.720 53504 // 53505 // * 0.840 53506 // 53507 // * 0.960 53508 // 53509 // * 1.080 53510 // 53511 // * 1.200 53512 // 53513 // Use one of the following prices for image classification, text classification, 53514 // and custom tasks. Prices are in US dollars. 53515 // 53516 // * 0.012 53517 // 53518 // * 0.024 53519 // 53520 // * 0.036 53521 // 53522 // * 0.048 53523 // 53524 // * 0.060 53525 // 53526 // * 0.072 53527 // 53528 // * 0.120 53529 // 53530 // * 0.240 53531 // 53532 // * 0.360 53533 // 53534 // * 0.480 53535 // 53536 // * 0.600 53537 // 53538 // * 0.720 53539 // 53540 // * 0.840 53541 // 53542 // * 0.960 53543 // 53544 // * 1.080 53545 // 53546 // * 1.200 53547 // 53548 // Use one of the following prices for semantic segmentation tasks. Prices are 53549 // in US dollars. 53550 // 53551 // * 0.840 53552 // 53553 // * 0.960 53554 // 53555 // * 1.080 53556 // 53557 // * 1.200 53558 // 53559 // Use one of the following prices for Textract AnalyzeDocument Important Form 53560 // Key Amazon Augmented AI review tasks. Prices are in US dollars. 53561 // 53562 // * 2.400 53563 // 53564 // * 2.280 53565 // 53566 // * 2.160 53567 // 53568 // * 2.040 53569 // 53570 // * 1.920 53571 // 53572 // * 1.800 53573 // 53574 // * 1.680 53575 // 53576 // * 1.560 53577 // 53578 // * 1.440 53579 // 53580 // * 1.320 53581 // 53582 // * 1.200 53583 // 53584 // * 1.080 53585 // 53586 // * 0.960 53587 // 53588 // * 0.840 53589 // 53590 // * 0.720 53591 // 53592 // * 0.600 53593 // 53594 // * 0.480 53595 // 53596 // * 0.360 53597 // 53598 // * 0.240 53599 // 53600 // * 0.120 53601 // 53602 // * 0.072 53603 // 53604 // * 0.060 53605 // 53606 // * 0.048 53607 // 53608 // * 0.036 53609 // 53610 // * 0.024 53611 // 53612 // * 0.012 53613 // 53614 // Use one of the following prices for Rekognition DetectModerationLabels Amazon 53615 // Augmented AI review tasks. Prices are in US dollars. 53616 // 53617 // * 1.200 53618 // 53619 // * 1.080 53620 // 53621 // * 0.960 53622 // 53623 // * 0.840 53624 // 53625 // * 0.720 53626 // 53627 // * 0.600 53628 // 53629 // * 0.480 53630 // 53631 // * 0.360 53632 // 53633 // * 0.240 53634 // 53635 // * 0.120 53636 // 53637 // * 0.072 53638 // 53639 // * 0.060 53640 // 53641 // * 0.048 53642 // 53643 // * 0.036 53644 // 53645 // * 0.024 53646 // 53647 // * 0.012 53648 // 53649 // Use one of the following prices for Amazon Augmented AI custom human review 53650 // tasks. Prices are in US dollars. 53651 // 53652 // * 1.200 53653 // 53654 // * 1.080 53655 // 53656 // * 0.960 53657 // 53658 // * 0.840 53659 // 53660 // * 0.720 53661 // 53662 // * 0.600 53663 // 53664 // * 0.480 53665 // 53666 // * 0.360 53667 // 53668 // * 0.240 53669 // 53670 // * 0.120 53671 // 53672 // * 0.072 53673 // 53674 // * 0.060 53675 // 53676 // * 0.048 53677 // 53678 // * 0.036 53679 // 53680 // * 0.024 53681 // 53682 // * 0.012 53683 PublicWorkforceTaskPrice *PublicWorkforceTaskPrice `type:"structure"` 53684 53685 // The length of time that a task remains available for review by human workers. 53686 TaskAvailabilityLifetimeInSeconds *int64 `min:"1" type:"integer"` 53687 53688 // The number of distinct workers who will perform the same task on each object. 53689 // For example, if TaskCount is set to 3 for an image classification labeling 53690 // job, three workers will classify each input image. Increasing TaskCount can 53691 // improve label accuracy. 53692 // 53693 // TaskCount is a required field 53694 TaskCount *int64 `min:"1" type:"integer" required:"true"` 53695 53696 // A description for the human worker task. 53697 // 53698 // TaskDescription is a required field 53699 TaskDescription *string `min:"1" type:"string" required:"true"` 53700 53701 // Keywords used to describe the task so that workers can discover the task. 53702 TaskKeywords []*string `min:"1" type:"list"` 53703 53704 // The amount of time that a worker has to complete a task. The default value 53705 // is 3,600 seconds (1 hour). 53706 TaskTimeLimitInSeconds *int64 `min:"30" type:"integer"` 53707 53708 // A title for the human worker task. 53709 // 53710 // TaskTitle is a required field 53711 TaskTitle *string `min:"1" type:"string" required:"true"` 53712 53713 // Amazon Resource Name (ARN) of a team of workers. To learn more about the 53714 // types of workforces and work teams you can create and use with Amazon A2I, 53715 // see Create and Manage Workforces (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-management.html). 53716 // 53717 // WorkteamArn is a required field 53718 WorkteamArn *string `type:"string" required:"true"` 53719 } 53720 53721 // String returns the string representation. 53722 // 53723 // API parameter values that are decorated as "sensitive" in the API will not 53724 // be included in the string output. The member name will be present, but the 53725 // value will be replaced with "sensitive". 53726 func (s HumanLoopConfig) String() string { 53727 return awsutil.Prettify(s) 53728 } 53729 53730 // GoString returns the string representation. 53731 // 53732 // API parameter values that are decorated as "sensitive" in the API will not 53733 // be included in the string output. The member name will be present, but the 53734 // value will be replaced with "sensitive". 53735 func (s HumanLoopConfig) GoString() string { 53736 return s.String() 53737 } 53738 53739 // Validate inspects the fields of the type to determine if they are valid. 53740 func (s *HumanLoopConfig) Validate() error { 53741 invalidParams := request.ErrInvalidParams{Context: "HumanLoopConfig"} 53742 if s.HumanTaskUiArn == nil { 53743 invalidParams.Add(request.NewErrParamRequired("HumanTaskUiArn")) 53744 } 53745 if s.TaskAvailabilityLifetimeInSeconds != nil && *s.TaskAvailabilityLifetimeInSeconds < 1 { 53746 invalidParams.Add(request.NewErrParamMinValue("TaskAvailabilityLifetimeInSeconds", 1)) 53747 } 53748 if s.TaskCount == nil { 53749 invalidParams.Add(request.NewErrParamRequired("TaskCount")) 53750 } 53751 if s.TaskCount != nil && *s.TaskCount < 1 { 53752 invalidParams.Add(request.NewErrParamMinValue("TaskCount", 1)) 53753 } 53754 if s.TaskDescription == nil { 53755 invalidParams.Add(request.NewErrParamRequired("TaskDescription")) 53756 } 53757 if s.TaskDescription != nil && len(*s.TaskDescription) < 1 { 53758 invalidParams.Add(request.NewErrParamMinLen("TaskDescription", 1)) 53759 } 53760 if s.TaskKeywords != nil && len(s.TaskKeywords) < 1 { 53761 invalidParams.Add(request.NewErrParamMinLen("TaskKeywords", 1)) 53762 } 53763 if s.TaskTimeLimitInSeconds != nil && *s.TaskTimeLimitInSeconds < 30 { 53764 invalidParams.Add(request.NewErrParamMinValue("TaskTimeLimitInSeconds", 30)) 53765 } 53766 if s.TaskTitle == nil { 53767 invalidParams.Add(request.NewErrParamRequired("TaskTitle")) 53768 } 53769 if s.TaskTitle != nil && len(*s.TaskTitle) < 1 { 53770 invalidParams.Add(request.NewErrParamMinLen("TaskTitle", 1)) 53771 } 53772 if s.WorkteamArn == nil { 53773 invalidParams.Add(request.NewErrParamRequired("WorkteamArn")) 53774 } 53775 53776 if invalidParams.Len() > 0 { 53777 return invalidParams 53778 } 53779 return nil 53780 } 53781 53782 // SetHumanTaskUiArn sets the HumanTaskUiArn field's value. 53783 func (s *HumanLoopConfig) SetHumanTaskUiArn(v string) *HumanLoopConfig { 53784 s.HumanTaskUiArn = &v 53785 return s 53786 } 53787 53788 // SetPublicWorkforceTaskPrice sets the PublicWorkforceTaskPrice field's value. 53789 func (s *HumanLoopConfig) SetPublicWorkforceTaskPrice(v *PublicWorkforceTaskPrice) *HumanLoopConfig { 53790 s.PublicWorkforceTaskPrice = v 53791 return s 53792 } 53793 53794 // SetTaskAvailabilityLifetimeInSeconds sets the TaskAvailabilityLifetimeInSeconds field's value. 53795 func (s *HumanLoopConfig) SetTaskAvailabilityLifetimeInSeconds(v int64) *HumanLoopConfig { 53796 s.TaskAvailabilityLifetimeInSeconds = &v 53797 return s 53798 } 53799 53800 // SetTaskCount sets the TaskCount field's value. 53801 func (s *HumanLoopConfig) SetTaskCount(v int64) *HumanLoopConfig { 53802 s.TaskCount = &v 53803 return s 53804 } 53805 53806 // SetTaskDescription sets the TaskDescription field's value. 53807 func (s *HumanLoopConfig) SetTaskDescription(v string) *HumanLoopConfig { 53808 s.TaskDescription = &v 53809 return s 53810 } 53811 53812 // SetTaskKeywords sets the TaskKeywords field's value. 53813 func (s *HumanLoopConfig) SetTaskKeywords(v []*string) *HumanLoopConfig { 53814 s.TaskKeywords = v 53815 return s 53816 } 53817 53818 // SetTaskTimeLimitInSeconds sets the TaskTimeLimitInSeconds field's value. 53819 func (s *HumanLoopConfig) SetTaskTimeLimitInSeconds(v int64) *HumanLoopConfig { 53820 s.TaskTimeLimitInSeconds = &v 53821 return s 53822 } 53823 53824 // SetTaskTitle sets the TaskTitle field's value. 53825 func (s *HumanLoopConfig) SetTaskTitle(v string) *HumanLoopConfig { 53826 s.TaskTitle = &v 53827 return s 53828 } 53829 53830 // SetWorkteamArn sets the WorkteamArn field's value. 53831 func (s *HumanLoopConfig) SetWorkteamArn(v string) *HumanLoopConfig { 53832 s.WorkteamArn = &v 53833 return s 53834 } 53835 53836 // Container for configuring the source of human task requests. 53837 type HumanLoopRequestSource struct { 53838 _ struct{} `type:"structure"` 53839 53840 // Specifies whether Amazon Rekognition or Amazon Textract are used as the integration 53841 // source. The default field settings and JSON parsing rules are different based 53842 // on the integration source. Valid values: 53843 // 53844 // AwsManagedHumanLoopRequestSource is a required field 53845 AwsManagedHumanLoopRequestSource *string `type:"string" required:"true" enum:"AwsManagedHumanLoopRequestSource"` 53846 } 53847 53848 // String returns the string representation. 53849 // 53850 // API parameter values that are decorated as "sensitive" in the API will not 53851 // be included in the string output. The member name will be present, but the 53852 // value will be replaced with "sensitive". 53853 func (s HumanLoopRequestSource) String() string { 53854 return awsutil.Prettify(s) 53855 } 53856 53857 // GoString returns the string representation. 53858 // 53859 // API parameter values that are decorated as "sensitive" in the API will not 53860 // be included in the string output. The member name will be present, but the 53861 // value will be replaced with "sensitive". 53862 func (s HumanLoopRequestSource) GoString() string { 53863 return s.String() 53864 } 53865 53866 // Validate inspects the fields of the type to determine if they are valid. 53867 func (s *HumanLoopRequestSource) Validate() error { 53868 invalidParams := request.ErrInvalidParams{Context: "HumanLoopRequestSource"} 53869 if s.AwsManagedHumanLoopRequestSource == nil { 53870 invalidParams.Add(request.NewErrParamRequired("AwsManagedHumanLoopRequestSource")) 53871 } 53872 53873 if invalidParams.Len() > 0 { 53874 return invalidParams 53875 } 53876 return nil 53877 } 53878 53879 // SetAwsManagedHumanLoopRequestSource sets the AwsManagedHumanLoopRequestSource field's value. 53880 func (s *HumanLoopRequestSource) SetAwsManagedHumanLoopRequestSource(v string) *HumanLoopRequestSource { 53881 s.AwsManagedHumanLoopRequestSource = &v 53882 return s 53883 } 53884 53885 // Information required for human workers to complete a labeling task. 53886 type HumanTaskConfig struct { 53887 _ struct{} `type:"structure"` 53888 53889 // Configures how labels are consolidated across human workers. 53890 // 53891 // AnnotationConsolidationConfig is a required field 53892 AnnotationConsolidationConfig *AnnotationConsolidationConfig `type:"structure" required:"true"` 53893 53894 // Defines the maximum number of data objects that can be labeled by human workers 53895 // at the same time. Also referred to as batch size. Each object may have more 53896 // than one worker at one time. The default value is 1000 objects. 53897 MaxConcurrentTaskCount *int64 `min:"1" type:"integer"` 53898 53899 // The number of human workers that will label an object. 53900 // 53901 // NumberOfHumanWorkersPerDataObject is a required field 53902 NumberOfHumanWorkersPerDataObject *int64 `min:"1" type:"integer" required:"true"` 53903 53904 // The Amazon Resource Name (ARN) of a Lambda function that is run before a 53905 // data object is sent to a human worker. Use this function to provide input 53906 // to a custom labeling job. 53907 // 53908 // For built-in task types (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-task-types.html), 53909 // use one of the following Amazon SageMaker Ground Truth Lambda function ARNs 53910 // for PreHumanTaskLambdaArn. For custom labeling workflows, see Pre-annotation 53911 // Lambda (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-custom-templates-step3.html#sms-custom-templates-step3-prelambda). 53912 // 53913 // Bounding box - Finds the most similar boxes from different workers based 53914 // on the Jaccard index of the boxes. 53915 // 53916 // * arn:aws:lambda:us-east-1:432418664414:function:PRE-BoundingBox 53917 // 53918 // * arn:aws:lambda:us-east-2:266458841044:function:PRE-BoundingBox 53919 // 53920 // * arn:aws:lambda:us-west-2:081040173940:function:PRE-BoundingBox 53921 // 53922 // * arn:aws:lambda:ca-central-1:918755190332:function:PRE-BoundingBox 53923 // 53924 // * arn:aws:lambda:eu-west-1:568282634449:function:PRE-BoundingBox 53925 // 53926 // * arn:aws:lambda:eu-west-2:487402164563:function:PRE-BoundingBox 53927 // 53928 // * arn:aws:lambda:eu-central-1:203001061592:function:PRE-BoundingBox 53929 // 53930 // * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-BoundingBox 53931 // 53932 // * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-BoundingBox 53933 // 53934 // * arn:aws:lambda:ap-south-1:565803892007:function:PRE-BoundingBox 53935 // 53936 // * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-BoundingBox 53937 // 53938 // * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-BoundingBox 53939 // 53940 // Image classification - Uses a variant of the Expectation Maximization approach 53941 // to estimate the true class of an image based on annotations from individual 53942 // workers. 53943 // 53944 // * arn:aws:lambda:us-east-1:432418664414:function:PRE-ImageMultiClass 53945 // 53946 // * arn:aws:lambda:us-east-2:266458841044:function:PRE-ImageMultiClass 53947 // 53948 // * arn:aws:lambda:us-west-2:081040173940:function:PRE-ImageMultiClass 53949 // 53950 // * arn:aws:lambda:ca-central-1:918755190332:function:PRE-ImageMultiClass 53951 // 53952 // * arn:aws:lambda:eu-west-1:568282634449:function:PRE-ImageMultiClass 53953 // 53954 // * arn:aws:lambda:eu-west-2:487402164563:function:PRE-ImageMultiClass 53955 // 53956 // * arn:aws:lambda:eu-central-1:203001061592:function:PRE-ImageMultiClass 53957 // 53958 // * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-ImageMultiClass 53959 // 53960 // * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-ImageMultiClass 53961 // 53962 // * arn:aws:lambda:ap-south-1:565803892007:function:PRE-ImageMultiClass 53963 // 53964 // * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-ImageMultiClass 53965 // 53966 // * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-ImageMultiClass 53967 // 53968 // Multi-label image classification - Uses a variant of the Expectation Maximization 53969 // approach to estimate the true classes of an image based on annotations from 53970 // individual workers. 53971 // 53972 // * arn:aws:lambda:us-east-1:432418664414:function:PRE-ImageMultiClassMultiLabel 53973 // 53974 // * arn:aws:lambda:us-east-2:266458841044:function:PRE-ImageMultiClassMultiLabel 53975 // 53976 // * arn:aws:lambda:us-west-2:081040173940:function:PRE-ImageMultiClassMultiLabel 53977 // 53978 // * arn:aws:lambda:ca-central-1:918755190332:function:PRE-ImageMultiClassMultiLabel 53979 // 53980 // * arn:aws:lambda:eu-west-1:568282634449:function:PRE-ImageMultiClassMultiLabel 53981 // 53982 // * arn:aws:lambda:eu-west-2:487402164563:function:PRE-ImageMultiClassMultiLabel 53983 // 53984 // * arn:aws:lambda:eu-central-1:203001061592:function:PRE-ImageMultiClassMultiLabel 53985 // 53986 // * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-ImageMultiClassMultiLabel 53987 // 53988 // * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-ImageMultiClassMultiLabel 53989 // 53990 // * arn:aws:lambda:ap-south-1:565803892007:function:PRE-ImageMultiClassMultiLabel 53991 // 53992 // * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-ImageMultiClassMultiLabel 53993 // 53994 // * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-ImageMultiClassMultiLabel 53995 // 53996 // Semantic segmentation - Treats each pixel in an image as a multi-class classification 53997 // and treats pixel annotations from workers as "votes" for the correct label. 53998 // 53999 // * arn:aws:lambda:us-east-1:432418664414:function:PRE-SemanticSegmentation 54000 // 54001 // * arn:aws:lambda:us-east-2:266458841044:function:PRE-SemanticSegmentation 54002 // 54003 // * arn:aws:lambda:us-west-2:081040173940:function:PRE-SemanticSegmentation 54004 // 54005 // * arn:aws:lambda:ca-central-1:918755190332:function:PRE-SemanticSegmentation 54006 // 54007 // * arn:aws:lambda:eu-west-1:568282634449:function:PRE-SemanticSegmentation 54008 // 54009 // * arn:aws:lambda:eu-west-2:487402164563:function:PRE-SemanticSegmentation 54010 // 54011 // * arn:aws:lambda:eu-central-1:203001061592:function:PRE-SemanticSegmentation 54012 // 54013 // * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-SemanticSegmentation 54014 // 54015 // * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-SemanticSegmentation 54016 // 54017 // * arn:aws:lambda:ap-south-1:565803892007:function:PRE-SemanticSegmentation 54018 // 54019 // * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-SemanticSegmentation 54020 // 54021 // * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-SemanticSegmentation 54022 // 54023 // Text classification - Uses a variant of the Expectation Maximization approach 54024 // to estimate the true class of text based on annotations from individual workers. 54025 // 54026 // * arn:aws:lambda:us-east-1:432418664414:function:PRE-TextMultiClass 54027 // 54028 // * arn:aws:lambda:us-east-2:266458841044:function:PRE-TextMultiClass 54029 // 54030 // * arn:aws:lambda:us-west-2:081040173940:function:PRE-TextMultiClass 54031 // 54032 // * arn:aws:lambda:ca-central-1:918755190332:function:PRE-TextMultiClass 54033 // 54034 // * arn:aws:lambda:eu-west-1:568282634449:function:PRE-TextMultiClass 54035 // 54036 // * arn:aws:lambda:eu-west-2:487402164563:function:PRE-TextMultiClass 54037 // 54038 // * arn:aws:lambda:eu-central-1:203001061592:function:PRE-TextMultiClass 54039 // 54040 // * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-TextMultiClass 54041 // 54042 // * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-TextMultiClass 54043 // 54044 // * arn:aws:lambda:ap-south-1:565803892007:function:PRE-TextMultiClass 54045 // 54046 // * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-TextMultiClass 54047 // 54048 // * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-TextMultiClass 54049 // 54050 // Multi-label text classification - Uses a variant of the Expectation Maximization 54051 // approach to estimate the true classes of text based on annotations from individual 54052 // workers. 54053 // 54054 // * arn:aws:lambda:us-east-1:432418664414:function:PRE-TextMultiClassMultiLabel 54055 // 54056 // * arn:aws:lambda:us-east-2:266458841044:function:PRE-TextMultiClassMultiLabel 54057 // 54058 // * arn:aws:lambda:us-west-2:081040173940:function:PRE-TextMultiClassMultiLabel 54059 // 54060 // * arn:aws:lambda:ca-central-1:918755190332:function:PRE-TextMultiClassMultiLabel 54061 // 54062 // * arn:aws:lambda:eu-west-1:568282634449:function:PRE-TextMultiClassMultiLabel 54063 // 54064 // * arn:aws:lambda:eu-west-2:487402164563:function:PRE-TextMultiClassMultiLabel 54065 // 54066 // * arn:aws:lambda:eu-central-1:203001061592:function:PRE-TextMultiClassMultiLabel 54067 // 54068 // * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-TextMultiClassMultiLabel 54069 // 54070 // * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-TextMultiClassMultiLabel 54071 // 54072 // * arn:aws:lambda:ap-south-1:565803892007:function:PRE-TextMultiClassMultiLabel 54073 // 54074 // * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-TextMultiClassMultiLabel 54075 // 54076 // * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-TextMultiClassMultiLabel 54077 // 54078 // Named entity recognition - Groups similar selections and calculates aggregate 54079 // boundaries, resolving to most-assigned label. 54080 // 54081 // * arn:aws:lambda:us-east-1:432418664414:function:PRE-NamedEntityRecognition 54082 // 54083 // * arn:aws:lambda:us-east-2:266458841044:function:PRE-NamedEntityRecognition 54084 // 54085 // * arn:aws:lambda:us-west-2:081040173940:function:PRE-NamedEntityRecognition 54086 // 54087 // * arn:aws:lambda:ca-central-1:918755190332:function:PRE-NamedEntityRecognition 54088 // 54089 // * arn:aws:lambda:eu-west-1:568282634449:function:PRE-NamedEntityRecognition 54090 // 54091 // * arn:aws:lambda:eu-west-2:487402164563:function:PRE-NamedEntityRecognition 54092 // 54093 // * arn:aws:lambda:eu-central-1:203001061592:function:PRE-NamedEntityRecognition 54094 // 54095 // * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-NamedEntityRecognition 54096 // 54097 // * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-NamedEntityRecognition 54098 // 54099 // * arn:aws:lambda:ap-south-1:565803892007:function:PRE-NamedEntityRecognition 54100 // 54101 // * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-NamedEntityRecognition 54102 // 54103 // * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-NamedEntityRecognition 54104 // 54105 // Video Classification - Use this task type when you need workers to classify 54106 // videos using predefined labels that you specify. Workers are shown videos 54107 // and are asked to choose one label for each video. 54108 // 54109 // * arn:aws:lambda:us-east-1:432418664414:function:PRE-VideoMultiClass 54110 // 54111 // * arn:aws:lambda:us-east-2:266458841044:function:PRE-VideoMultiClass 54112 // 54113 // * arn:aws:lambda:us-west-2:081040173940:function:PRE-VideoMultiClass 54114 // 54115 // * arn:aws:lambda:eu-west-1:568282634449:function:PRE-VideoMultiClass 54116 // 54117 // * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-VideoMultiClass 54118 // 54119 // * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-VideoMultiClass 54120 // 54121 // * arn:aws:lambda:ap-south-1:565803892007:function:PRE-VideoMultiClass 54122 // 54123 // * arn:aws:lambda:eu-central-1:203001061592:function:PRE-VideoMultiClass 54124 // 54125 // * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-VideoMultiClass 54126 // 54127 // * arn:aws:lambda:eu-west-2:487402164563:function:PRE-VideoMultiClass 54128 // 54129 // * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-VideoMultiClass 54130 // 54131 // * arn:aws:lambda:ca-central-1:918755190332:function:PRE-VideoMultiClass 54132 // 54133 // Video Frame Object Detection - Use this task type to have workers identify 54134 // and locate objects in a sequence of video frames (images extracted from a 54135 // video) using bounding boxes. For example, you can use this task to ask workers 54136 // to identify and localize various objects in a series of video frames, such 54137 // as cars, bikes, and pedestrians. 54138 // 54139 // * arn:aws:lambda:us-east-1:432418664414:function:PRE-VideoObjectDetection 54140 // 54141 // * arn:aws:lambda:us-east-2:266458841044:function:PRE-VideoObjectDetection 54142 // 54143 // * arn:aws:lambda:us-west-2:081040173940:function:PRE-VideoObjectDetection 54144 // 54145 // * arn:aws:lambda:eu-west-1:568282634449:function:PRE-VideoObjectDetection 54146 // 54147 // * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-VideoObjectDetection 54148 // 54149 // * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-VideoObjectDetection 54150 // 54151 // * arn:aws:lambda:ap-south-1:565803892007:function:PRE-VideoObjectDetection 54152 // 54153 // * arn:aws:lambda:eu-central-1:203001061592:function:PRE-VideoObjectDetection 54154 // 54155 // * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-VideoObjectDetection 54156 // 54157 // * arn:aws:lambda:eu-west-2:487402164563:function:PRE-VideoObjectDetection 54158 // 54159 // * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-VideoObjectDetection 54160 // 54161 // * arn:aws:lambda:ca-central-1:918755190332:function:PRE-VideoObjectDetection 54162 // 54163 // Video Frame Object Tracking - Use this task type to have workers track the 54164 // movement of objects in a sequence of video frames (images extracted from 54165 // a video) using bounding boxes. For example, you can use this task to ask 54166 // workers to track the movement of objects, such as cars, bikes, and pedestrians. 54167 // 54168 // * arn:aws:lambda:us-east-1:432418664414:function:PRE-VideoObjectTracking 54169 // 54170 // * arn:aws:lambda:us-east-2:266458841044:function:PRE-VideoObjectTracking 54171 // 54172 // * arn:aws:lambda:us-west-2:081040173940:function:PRE-VideoObjectTracking 54173 // 54174 // * arn:aws:lambda:eu-west-1:568282634449:function:PRE-VideoObjectTracking 54175 // 54176 // * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-VideoObjectTracking 54177 // 54178 // * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-VideoObjectTracking 54179 // 54180 // * arn:aws:lambda:ap-south-1:565803892007:function:PRE-VideoObjectTracking 54181 // 54182 // * arn:aws:lambda:eu-central-1:203001061592:function:PRE-VideoObjectTracking 54183 // 54184 // * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-VideoObjectTracking 54185 // 54186 // * arn:aws:lambda:eu-west-2:487402164563:function:PRE-VideoObjectTracking 54187 // 54188 // * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-VideoObjectTracking 54189 // 54190 // * arn:aws:lambda:ca-central-1:918755190332:function:PRE-VideoObjectTracking 54191 // 54192 // 3D Point Cloud Modalities 54193 // 54194 // Use the following pre-annotation lambdas for 3D point cloud labeling modality 54195 // tasks. See 3D Point Cloud Task types (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-point-cloud-task-types.html) 54196 // to learn more. 54197 // 54198 // 3D Point Cloud Object Detection - Use this task type when you want workers 54199 // to classify objects in a 3D point cloud by drawing 3D cuboids around objects. 54200 // For example, you can use this task type to ask workers to identify different 54201 // types of objects in a point cloud, such as cars, bikes, and pedestrians. 54202 // 54203 // * arn:aws:lambda:us-east-1:432418664414:function:PRE-3DPointCloudObjectDetection 54204 // 54205 // * arn:aws:lambda:us-east-2:266458841044:function:PRE-3DPointCloudObjectDetection 54206 // 54207 // * arn:aws:lambda:us-west-2:081040173940:function:PRE-3DPointCloudObjectDetection 54208 // 54209 // * arn:aws:lambda:eu-west-1:568282634449:function:PRE-3DPointCloudObjectDetection 54210 // 54211 // * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-3DPointCloudObjectDetection 54212 // 54213 // * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-3DPointCloudObjectDetection 54214 // 54215 // * arn:aws:lambda:ap-south-1:565803892007:function:PRE-3DPointCloudObjectDetection 54216 // 54217 // * arn:aws:lambda:eu-central-1:203001061592:function:PRE-3DPointCloudObjectDetection 54218 // 54219 // * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-3DPointCloudObjectDetection 54220 // 54221 // * arn:aws:lambda:eu-west-2:487402164563:function:PRE-3DPointCloudObjectDetection 54222 // 54223 // * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-3DPointCloudObjectDetection 54224 // 54225 // * arn:aws:lambda:ca-central-1:918755190332:function:PRE-3DPointCloudObjectDetection 54226 // 54227 // 3D Point Cloud Object Tracking - Use this task type when you want workers 54228 // to draw 3D cuboids around objects that appear in a sequence of 3D point cloud 54229 // frames. For example, you can use this task type to ask workers to track the 54230 // movement of vehicles across multiple point cloud frames. 54231 // 54232 // * arn:aws:lambda:us-east-1:432418664414:function:PRE-3DPointCloudObjectTracking 54233 // 54234 // * arn:aws:lambda:us-east-2:266458841044:function:PRE-3DPointCloudObjectTracking 54235 // 54236 // * arn:aws:lambda:us-west-2:081040173940:function:PRE-3DPointCloudObjectTracking 54237 // 54238 // * arn:aws:lambda:eu-west-1:568282634449:function:PRE-3DPointCloudObjectTracking 54239 // 54240 // * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-3DPointCloudObjectTracking 54241 // 54242 // * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-3DPointCloudObjectTracking 54243 // 54244 // * arn:aws:lambda:ap-south-1:565803892007:function:PRE-3DPointCloudObjectTracking 54245 // 54246 // * arn:aws:lambda:eu-central-1:203001061592:function:PRE-3DPointCloudObjectTracking 54247 // 54248 // * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-3DPointCloudObjectTracking 54249 // 54250 // * arn:aws:lambda:eu-west-2:487402164563:function:PRE-3DPointCloudObjectTracking 54251 // 54252 // * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-3DPointCloudObjectTracking 54253 // 54254 // * arn:aws:lambda:ca-central-1:918755190332:function:PRE-3DPointCloudObjectTracking 54255 // 54256 // 3D Point Cloud Semantic Segmentation - Use this task type when you want workers 54257 // to create a point-level semantic segmentation masks by painting objects in 54258 // a 3D point cloud using different colors where each color is assigned to one 54259 // of the classes you specify. 54260 // 54261 // * arn:aws:lambda:us-east-1:432418664414:function:PRE-3DPointCloudSemanticSegmentation 54262 // 54263 // * arn:aws:lambda:us-east-2:266458841044:function:PRE-3DPointCloudSemanticSegmentation 54264 // 54265 // * arn:aws:lambda:us-west-2:081040173940:function:PRE-3DPointCloudSemanticSegmentation 54266 // 54267 // * arn:aws:lambda:eu-west-1:568282634449:function:PRE-3DPointCloudSemanticSegmentation 54268 // 54269 // * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-3DPointCloudSemanticSegmentation 54270 // 54271 // * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-3DPointCloudSemanticSegmentation 54272 // 54273 // * arn:aws:lambda:ap-south-1:565803892007:function:PRE-3DPointCloudSemanticSegmentation 54274 // 54275 // * arn:aws:lambda:eu-central-1:203001061592:function:PRE-3DPointCloudSemanticSegmentation 54276 // 54277 // * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-3DPointCloudSemanticSegmentation 54278 // 54279 // * arn:aws:lambda:eu-west-2:487402164563:function:PRE-3DPointCloudSemanticSegmentation 54280 // 54281 // * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-3DPointCloudSemanticSegmentation 54282 // 54283 // * arn:aws:lambda:ca-central-1:918755190332:function:PRE-3DPointCloudSemanticSegmentation 54284 // 54285 // Use the following ARNs for Label Verification and Adjustment Jobs 54286 // 54287 // Use label verification and adjustment jobs to review and adjust labels. To 54288 // learn more, see Verify and Adjust Labels (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-verification-data.html). 54289 // 54290 // Bounding box verification - Uses a variant of the Expectation Maximization 54291 // approach to estimate the true class of verification judgement for bounding 54292 // box labels based on annotations from individual workers. 54293 // 54294 // * arn:aws:lambda:us-east-1:432418664414:function:PRE-VerificationBoundingBox 54295 // 54296 // * arn:aws:lambda:us-east-2:266458841044:function:PRE-VerificationBoundingBox 54297 // 54298 // * arn:aws:lambda:us-west-2:081040173940:function:PRE-VerificationBoundingBox 54299 // 54300 // * arn:aws:lambda:eu-west-1:568282634449:function:PRE-VerificationBoundingBox 54301 // 54302 // * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-VerificationBoundingBox 54303 // 54304 // * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-VerificationBoundingBox 54305 // 54306 // * arn:aws:lambda:ap-south-1:565803892007:function:PRE-VerificationBoundingBox 54307 // 54308 // * arn:aws:lambda:eu-central-1:203001061592:function:PRE-VerificationBoundingBox 54309 // 54310 // * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-VerificationBoundingBox 54311 // 54312 // * arn:aws:lambda:eu-west-2:487402164563:function:PRE-VerificationBoundingBox 54313 // 54314 // * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-VerificationBoundingBox 54315 // 54316 // * arn:aws:lambda:ca-central-1:918755190332:function:PRE-VerificationBoundingBox 54317 // 54318 // Bounding box adjustment - Finds the most similar boxes from different workers 54319 // based on the Jaccard index of the adjusted annotations. 54320 // 54321 // * arn:aws:lambda:us-east-1:432418664414:function:PRE-AdjustmentBoundingBox 54322 // 54323 // * arn:aws:lambda:us-east-2:266458841044:function:PRE-AdjustmentBoundingBox 54324 // 54325 // * arn:aws:lambda:us-west-2:081040173940:function:PRE-AdjustmentBoundingBox 54326 // 54327 // * arn:aws:lambda:ca-central-1:918755190332:function:PRE-AdjustmentBoundingBox 54328 // 54329 // * arn:aws:lambda:eu-west-1:568282634449:function:PRE-AdjustmentBoundingBox 54330 // 54331 // * arn:aws:lambda:eu-west-2:487402164563:function:PRE-AdjustmentBoundingBox 54332 // 54333 // * arn:aws:lambda:eu-central-1:203001061592:function:PRE-AdjustmentBoundingBox 54334 // 54335 // * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-AdjustmentBoundingBox 54336 // 54337 // * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-AdjustmentBoundingBox 54338 // 54339 // * arn:aws:lambda:ap-south-1:565803892007:function:PRE-AdjustmentBoundingBox 54340 // 54341 // * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-AdjustmentBoundingBox 54342 // 54343 // * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-AdjustmentBoundingBox 54344 // 54345 // Semantic segmentation verification - Uses a variant of the Expectation Maximization 54346 // approach to estimate the true class of verification judgment for semantic 54347 // segmentation labels based on annotations from individual workers. 54348 // 54349 // * arn:aws:lambda:us-east-1:432418664414:function:PRE-VerificationSemanticSegmentation 54350 // 54351 // * arn:aws:lambda:us-east-2:266458841044:function:PRE-VerificationSemanticSegmentation 54352 // 54353 // * arn:aws:lambda:us-west-2:081040173940:function:PRE-VerificationSemanticSegmentation 54354 // 54355 // * arn:aws:lambda:ca-central-1:918755190332:function:PRE-VerificationSemanticSegmentation 54356 // 54357 // * arn:aws:lambda:eu-west-1:568282634449:function:PRE-VerificationSemanticSegmentation 54358 // 54359 // * arn:aws:lambda:eu-west-2:487402164563:function:PRE-VerificationSemanticSegmentation 54360 // 54361 // * arn:aws:lambda:eu-central-1:203001061592:function:PRE-VerificationSemanticSegmentation 54362 // 54363 // * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-VerificationSemanticSegmentation 54364 // 54365 // * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-VerificationSemanticSegmentation 54366 // 54367 // * arn:aws:lambda:ap-south-1:565803892007:function:PRE-VerificationSemanticSegmentation 54368 // 54369 // * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-VerificationSemanticSegmentation 54370 // 54371 // * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-VerificationSemanticSegmentation 54372 // 54373 // Semantic segmentation adjustment - Treats each pixel in an image as a multi-class 54374 // classification and treats pixel adjusted annotations from workers as "votes" 54375 // for the correct label. 54376 // 54377 // * arn:aws:lambda:us-east-1:432418664414:function:PRE-AdjustmentSemanticSegmentation 54378 // 54379 // * arn:aws:lambda:us-east-2:266458841044:function:PRE-AdjustmentSemanticSegmentation 54380 // 54381 // * arn:aws:lambda:us-west-2:081040173940:function:PRE-AdjustmentSemanticSegmentation 54382 // 54383 // * arn:aws:lambda:ca-central-1:918755190332:function:PRE-AdjustmentSemanticSegmentation 54384 // 54385 // * arn:aws:lambda:eu-west-1:568282634449:function:PRE-AdjustmentSemanticSegmentation 54386 // 54387 // * arn:aws:lambda:eu-west-2:487402164563:function:PRE-AdjustmentSemanticSegmentation 54388 // 54389 // * arn:aws:lambda:eu-central-1:203001061592:function:PRE-AdjustmentSemanticSegmentation 54390 // 54391 // * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-AdjustmentSemanticSegmentation 54392 // 54393 // * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-AdjustmentSemanticSegmentation 54394 // 54395 // * arn:aws:lambda:ap-south-1:565803892007:function:PRE-AdjustmentSemanticSegmentation 54396 // 54397 // * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-AdjustmentSemanticSegmentation 54398 // 54399 // * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-AdjustmentSemanticSegmentation 54400 // 54401 // Video Frame Object Detection Adjustment - Use this task type when you want 54402 // workers to adjust bounding boxes that workers have added to video frames 54403 // to classify and localize objects in a sequence of video frames. 54404 // 54405 // * arn:aws:lambda:us-east-1:432418664414:function:PRE-AdjustmentVideoObjectDetection 54406 // 54407 // * arn:aws:lambda:us-east-2:266458841044:function:PRE-AdjustmentVideoObjectDetection 54408 // 54409 // * arn:aws:lambda:us-west-2:081040173940:function:PRE-AdjustmentVideoObjectDetection 54410 // 54411 // * arn:aws:lambda:eu-west-1:568282634449:function:PRE-AdjustmentVideoObjectDetection 54412 // 54413 // * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-AdjustmentVideoObjectDetection 54414 // 54415 // * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-AdjustmentVideoObjectDetection 54416 // 54417 // * arn:aws:lambda:ap-south-1:565803892007:function:PRE-AdjustmentVideoObjectDetection 54418 // 54419 // * arn:aws:lambda:eu-central-1:203001061592:function:PRE-AdjustmentVideoObjectDetection 54420 // 54421 // * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-AdjustmentVideoObjectDetection 54422 // 54423 // * arn:aws:lambda:eu-west-2:487402164563:function:PRE-AdjustmentVideoObjectDetection 54424 // 54425 // * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-AdjustmentVideoObjectDetection 54426 // 54427 // * arn:aws:lambda:ca-central-1:918755190332:function:PRE-AdjustmentVideoObjectDetection 54428 // 54429 // Video Frame Object Tracking Adjustment - Use this task type when you want 54430 // workers to adjust bounding boxes that workers have added to video frames 54431 // to track object movement across a sequence of video frames. 54432 // 54433 // * arn:aws:lambda:us-east-1:432418664414:function:PRE-AdjustmentVideoObjectTracking 54434 // 54435 // * arn:aws:lambda:us-east-2:266458841044:function:PRE-AdjustmentVideoObjectTracking 54436 // 54437 // * arn:aws:lambda:us-west-2:081040173940:function:PRE-AdjustmentVideoObjectTracking 54438 // 54439 // * arn:aws:lambda:eu-west-1:568282634449:function:PRE-AdjustmentVideoObjectTracking 54440 // 54441 // * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-AdjustmentVideoObjectTracking 54442 // 54443 // * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-AdjustmentVideoObjectTracking 54444 // 54445 // * arn:aws:lambda:ap-south-1:565803892007:function:PRE-AdjustmentVideoObjectTracking 54446 // 54447 // * arn:aws:lambda:eu-central-1:203001061592:function:PRE-AdjustmentVideoObjectTracking 54448 // 54449 // * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-AdjustmentVideoObjectTracking 54450 // 54451 // * arn:aws:lambda:eu-west-2:487402164563:function:PRE-AdjustmentVideoObjectTracking 54452 // 54453 // * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-AdjustmentVideoObjectTracking 54454 // 54455 // * arn:aws:lambda:ca-central-1:918755190332:function:PRE-AdjustmentVideoObjectTracking 54456 // 54457 // 3D point cloud object detection adjustment - Adjust 3D cuboids in a point 54458 // cloud frame. 54459 // 54460 // * arn:aws:lambda:us-east-1:432418664414:function:PRE-Adjustment3DPointCloudObjectDetection 54461 // 54462 // * arn:aws:lambda:us-east-2:266458841044:function:PRE-Adjustment3DPointCloudObjectDetection 54463 // 54464 // * arn:aws:lambda:us-west-2:081040173940:function:PRE-Adjustment3DPointCloudObjectDetection 54465 // 54466 // * arn:aws:lambda:eu-west-1:568282634449:function:PRE-Adjustment3DPointCloudObjectDetection 54467 // 54468 // * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-Adjustment3DPointCloudObjectDetection 54469 // 54470 // * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-Adjustment3DPointCloudObjectDetection 54471 // 54472 // * arn:aws:lambda:ap-south-1:565803892007:function:PRE-Adjustment3DPointCloudObjectDetection 54473 // 54474 // * arn:aws:lambda:eu-central-1:203001061592:function:PRE-Adjustment3DPointCloudObjectDetection 54475 // 54476 // * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-Adjustment3DPointCloudObjectDetection 54477 // 54478 // * arn:aws:lambda:eu-west-2:487402164563:function:PRE-Adjustment3DPointCloudObjectDetection 54479 // 54480 // * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-Adjustment3DPointCloudObjectDetection 54481 // 54482 // * arn:aws:lambda:ca-central-1:918755190332:function:PRE-Adjustment3DPointCloudObjectDetection 54483 // 54484 // 3D point cloud object tracking adjustment - Adjust 3D cuboids across a sequence 54485 // of point cloud frames. 54486 // 54487 // * arn:aws:lambda:us-east-1:432418664414:function:PRE-Adjustment3DPointCloudObjectTracking 54488 // 54489 // * arn:aws:lambda:us-east-2:266458841044:function:PRE-Adjustment3DPointCloudObjectTracking 54490 // 54491 // * arn:aws:lambda:us-west-2:081040173940:function:PRE-Adjustment3DPointCloudObjectTracking 54492 // 54493 // * arn:aws:lambda:eu-west-1:568282634449:function:PRE-Adjustment3DPointCloudObjectTracking 54494 // 54495 // * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-Adjustment3DPointCloudObjectTracking 54496 // 54497 // * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-Adjustment3DPointCloudObjectTracking 54498 // 54499 // * arn:aws:lambda:ap-south-1:565803892007:function:PRE-Adjustment3DPointCloudObjectTracking 54500 // 54501 // * arn:aws:lambda:eu-central-1:203001061592:function:PRE-Adjustment3DPointCloudObjectTracking 54502 // 54503 // * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-Adjustment3DPointCloudObjectTracking 54504 // 54505 // * arn:aws:lambda:eu-west-2:487402164563:function:PRE-Adjustment3DPointCloudObjectTracking 54506 // 54507 // * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-Adjustment3DPointCloudObjectTracking 54508 // 54509 // * arn:aws:lambda:ca-central-1:918755190332:function:PRE-Adjustment3DPointCloudObjectTracking 54510 // 54511 // 3D point cloud semantic segmentation adjustment - Adjust semantic segmentation 54512 // masks in a 3D point cloud. 54513 // 54514 // * arn:aws:lambda:us-east-1:432418664414:function:PRE-Adjustment3DPointCloudSemanticSegmentation 54515 // 54516 // * arn:aws:lambda:us-east-2:266458841044:function:PRE-Adjustment3DPointCloudSemanticSegmentation 54517 // 54518 // * arn:aws:lambda:us-west-2:081040173940:function:PRE-Adjustment3DPointCloudSemanticSegmentation 54519 // 54520 // * arn:aws:lambda:eu-west-1:568282634449:function:PRE-Adjustment3DPointCloudSemanticSegmentation 54521 // 54522 // * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-Adjustment3DPointCloudSemanticSegmentation 54523 // 54524 // * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-Adjustment3DPointCloudSemanticSegmentation 54525 // 54526 // * arn:aws:lambda:ap-south-1:565803892007:function:PRE-Adjustment3DPointCloudSemanticSegmentation 54527 // 54528 // * arn:aws:lambda:eu-central-1:203001061592:function:PRE-Adjustment3DPointCloudSemanticSegmentation 54529 // 54530 // * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-Adjustment3DPointCloudSemanticSegmentation 54531 // 54532 // * arn:aws:lambda:eu-west-2:487402164563:function:PRE-Adjustment3DPointCloudSemanticSegmentation 54533 // 54534 // * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-Adjustment3DPointCloudSemanticSegmentation 54535 // 54536 // * arn:aws:lambda:ca-central-1:918755190332:function:PRE-Adjustment3DPointCloudSemanticSegmentation 54537 // 54538 // PreHumanTaskLambdaArn is a required field 54539 PreHumanTaskLambdaArn *string `type:"string" required:"true"` 54540 54541 // The price that you pay for each task performed by an Amazon Mechanical Turk 54542 // worker. 54543 PublicWorkforceTaskPrice *PublicWorkforceTaskPrice `type:"structure"` 54544 54545 // The length of time that a task remains available for labeling by human workers. 54546 // The default and maximum values for this parameter depend on the type of workforce 54547 // you use. 54548 // 54549 // * If you choose the Amazon Mechanical Turk workforce, the maximum is 12 54550 // hours (43,200 seconds). The default is 6 hours (21,600 seconds). 54551 // 54552 // * If you choose a private or vendor workforce, the default value is 10 54553 // days (864,000 seconds). For most users, the maximum is also 10 days. If 54554 // you want to change this limit, contact Amazon Web Services Support. 54555 TaskAvailabilityLifetimeInSeconds *int64 `min:"60" type:"integer"` 54556 54557 // A description of the task for your human workers. 54558 // 54559 // TaskDescription is a required field 54560 TaskDescription *string `min:"1" type:"string" required:"true"` 54561 54562 // Keywords used to describe the task so that workers on Amazon Mechanical Turk 54563 // can discover the task. 54564 TaskKeywords []*string `min:"1" type:"list"` 54565 54566 // The amount of time that a worker has to complete a task. 54567 // 54568 // If you create a custom labeling job, the maximum value for this parameter 54569 // is 8 hours (28,800 seconds). 54570 // 54571 // If you create a labeling job using a built-in task type (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-task-types.html) 54572 // the maximum for this parameter depends on the task type you use: 54573 // 54574 // * For image (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-label-images.html) 54575 // and text (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-label-text.html) 54576 // labeling jobs, the maximum is 8 hours (28,800 seconds). 54577 // 54578 // * For 3D point cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-point-cloud.html) 54579 // and video frame (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-video.html) 54580 // labeling jobs, the maximum is 7 days (604,800 seconds). If you want to 54581 // change these limits, contact Amazon Web Services Support. 54582 // 54583 // TaskTimeLimitInSeconds is a required field 54584 TaskTimeLimitInSeconds *int64 `min:"30" type:"integer" required:"true"` 54585 54586 // A title for the task for your human workers. 54587 // 54588 // TaskTitle is a required field 54589 TaskTitle *string `min:"1" type:"string" required:"true"` 54590 54591 // Information about the user interface that workers use to complete the labeling 54592 // task. 54593 // 54594 // UiConfig is a required field 54595 UiConfig *UiConfig `type:"structure" required:"true"` 54596 54597 // The Amazon Resource Name (ARN) of the work team assigned to complete the 54598 // tasks. 54599 // 54600 // WorkteamArn is a required field 54601 WorkteamArn *string `type:"string" required:"true"` 54602 } 54603 54604 // String returns the string representation. 54605 // 54606 // API parameter values that are decorated as "sensitive" in the API will not 54607 // be included in the string output. The member name will be present, but the 54608 // value will be replaced with "sensitive". 54609 func (s HumanTaskConfig) String() string { 54610 return awsutil.Prettify(s) 54611 } 54612 54613 // GoString returns the string representation. 54614 // 54615 // API parameter values that are decorated as "sensitive" in the API will not 54616 // be included in the string output. The member name will be present, but the 54617 // value will be replaced with "sensitive". 54618 func (s HumanTaskConfig) GoString() string { 54619 return s.String() 54620 } 54621 54622 // Validate inspects the fields of the type to determine if they are valid. 54623 func (s *HumanTaskConfig) Validate() error { 54624 invalidParams := request.ErrInvalidParams{Context: "HumanTaskConfig"} 54625 if s.AnnotationConsolidationConfig == nil { 54626 invalidParams.Add(request.NewErrParamRequired("AnnotationConsolidationConfig")) 54627 } 54628 if s.MaxConcurrentTaskCount != nil && *s.MaxConcurrentTaskCount < 1 { 54629 invalidParams.Add(request.NewErrParamMinValue("MaxConcurrentTaskCount", 1)) 54630 } 54631 if s.NumberOfHumanWorkersPerDataObject == nil { 54632 invalidParams.Add(request.NewErrParamRequired("NumberOfHumanWorkersPerDataObject")) 54633 } 54634 if s.NumberOfHumanWorkersPerDataObject != nil && *s.NumberOfHumanWorkersPerDataObject < 1 { 54635 invalidParams.Add(request.NewErrParamMinValue("NumberOfHumanWorkersPerDataObject", 1)) 54636 } 54637 if s.PreHumanTaskLambdaArn == nil { 54638 invalidParams.Add(request.NewErrParamRequired("PreHumanTaskLambdaArn")) 54639 } 54640 if s.TaskAvailabilityLifetimeInSeconds != nil && *s.TaskAvailabilityLifetimeInSeconds < 60 { 54641 invalidParams.Add(request.NewErrParamMinValue("TaskAvailabilityLifetimeInSeconds", 60)) 54642 } 54643 if s.TaskDescription == nil { 54644 invalidParams.Add(request.NewErrParamRequired("TaskDescription")) 54645 } 54646 if s.TaskDescription != nil && len(*s.TaskDescription) < 1 { 54647 invalidParams.Add(request.NewErrParamMinLen("TaskDescription", 1)) 54648 } 54649 if s.TaskKeywords != nil && len(s.TaskKeywords) < 1 { 54650 invalidParams.Add(request.NewErrParamMinLen("TaskKeywords", 1)) 54651 } 54652 if s.TaskTimeLimitInSeconds == nil { 54653 invalidParams.Add(request.NewErrParamRequired("TaskTimeLimitInSeconds")) 54654 } 54655 if s.TaskTimeLimitInSeconds != nil && *s.TaskTimeLimitInSeconds < 30 { 54656 invalidParams.Add(request.NewErrParamMinValue("TaskTimeLimitInSeconds", 30)) 54657 } 54658 if s.TaskTitle == nil { 54659 invalidParams.Add(request.NewErrParamRequired("TaskTitle")) 54660 } 54661 if s.TaskTitle != nil && len(*s.TaskTitle) < 1 { 54662 invalidParams.Add(request.NewErrParamMinLen("TaskTitle", 1)) 54663 } 54664 if s.UiConfig == nil { 54665 invalidParams.Add(request.NewErrParamRequired("UiConfig")) 54666 } 54667 if s.WorkteamArn == nil { 54668 invalidParams.Add(request.NewErrParamRequired("WorkteamArn")) 54669 } 54670 if s.AnnotationConsolidationConfig != nil { 54671 if err := s.AnnotationConsolidationConfig.Validate(); err != nil { 54672 invalidParams.AddNested("AnnotationConsolidationConfig", err.(request.ErrInvalidParams)) 54673 } 54674 } 54675 54676 if invalidParams.Len() > 0 { 54677 return invalidParams 54678 } 54679 return nil 54680 } 54681 54682 // SetAnnotationConsolidationConfig sets the AnnotationConsolidationConfig field's value. 54683 func (s *HumanTaskConfig) SetAnnotationConsolidationConfig(v *AnnotationConsolidationConfig) *HumanTaskConfig { 54684 s.AnnotationConsolidationConfig = v 54685 return s 54686 } 54687 54688 // SetMaxConcurrentTaskCount sets the MaxConcurrentTaskCount field's value. 54689 func (s *HumanTaskConfig) SetMaxConcurrentTaskCount(v int64) *HumanTaskConfig { 54690 s.MaxConcurrentTaskCount = &v 54691 return s 54692 } 54693 54694 // SetNumberOfHumanWorkersPerDataObject sets the NumberOfHumanWorkersPerDataObject field's value. 54695 func (s *HumanTaskConfig) SetNumberOfHumanWorkersPerDataObject(v int64) *HumanTaskConfig { 54696 s.NumberOfHumanWorkersPerDataObject = &v 54697 return s 54698 } 54699 54700 // SetPreHumanTaskLambdaArn sets the PreHumanTaskLambdaArn field's value. 54701 func (s *HumanTaskConfig) SetPreHumanTaskLambdaArn(v string) *HumanTaskConfig { 54702 s.PreHumanTaskLambdaArn = &v 54703 return s 54704 } 54705 54706 // SetPublicWorkforceTaskPrice sets the PublicWorkforceTaskPrice field's value. 54707 func (s *HumanTaskConfig) SetPublicWorkforceTaskPrice(v *PublicWorkforceTaskPrice) *HumanTaskConfig { 54708 s.PublicWorkforceTaskPrice = v 54709 return s 54710 } 54711 54712 // SetTaskAvailabilityLifetimeInSeconds sets the TaskAvailabilityLifetimeInSeconds field's value. 54713 func (s *HumanTaskConfig) SetTaskAvailabilityLifetimeInSeconds(v int64) *HumanTaskConfig { 54714 s.TaskAvailabilityLifetimeInSeconds = &v 54715 return s 54716 } 54717 54718 // SetTaskDescription sets the TaskDescription field's value. 54719 func (s *HumanTaskConfig) SetTaskDescription(v string) *HumanTaskConfig { 54720 s.TaskDescription = &v 54721 return s 54722 } 54723 54724 // SetTaskKeywords sets the TaskKeywords field's value. 54725 func (s *HumanTaskConfig) SetTaskKeywords(v []*string) *HumanTaskConfig { 54726 s.TaskKeywords = v 54727 return s 54728 } 54729 54730 // SetTaskTimeLimitInSeconds sets the TaskTimeLimitInSeconds field's value. 54731 func (s *HumanTaskConfig) SetTaskTimeLimitInSeconds(v int64) *HumanTaskConfig { 54732 s.TaskTimeLimitInSeconds = &v 54733 return s 54734 } 54735 54736 // SetTaskTitle sets the TaskTitle field's value. 54737 func (s *HumanTaskConfig) SetTaskTitle(v string) *HumanTaskConfig { 54738 s.TaskTitle = &v 54739 return s 54740 } 54741 54742 // SetUiConfig sets the UiConfig field's value. 54743 func (s *HumanTaskConfig) SetUiConfig(v *UiConfig) *HumanTaskConfig { 54744 s.UiConfig = v 54745 return s 54746 } 54747 54748 // SetWorkteamArn sets the WorkteamArn field's value. 54749 func (s *HumanTaskConfig) SetWorkteamArn(v string) *HumanTaskConfig { 54750 s.WorkteamArn = &v 54751 return s 54752 } 54753 54754 // Container for human task user interface information. 54755 type HumanTaskUiSummary struct { 54756 _ struct{} `type:"structure"` 54757 54758 // A timestamp when SageMaker created the human task user interface. 54759 // 54760 // CreationTime is a required field 54761 CreationTime *time.Time `type:"timestamp" required:"true"` 54762 54763 // The Amazon Resource Name (ARN) of the human task user interface. 54764 // 54765 // HumanTaskUiArn is a required field 54766 HumanTaskUiArn *string `type:"string" required:"true"` 54767 54768 // The name of the human task user interface. 54769 // 54770 // HumanTaskUiName is a required field 54771 HumanTaskUiName *string `min:"1" type:"string" required:"true"` 54772 } 54773 54774 // String returns the string representation. 54775 // 54776 // API parameter values that are decorated as "sensitive" in the API will not 54777 // be included in the string output. The member name will be present, but the 54778 // value will be replaced with "sensitive". 54779 func (s HumanTaskUiSummary) String() string { 54780 return awsutil.Prettify(s) 54781 } 54782 54783 // GoString returns the string representation. 54784 // 54785 // API parameter values that are decorated as "sensitive" in the API will not 54786 // be included in the string output. The member name will be present, but the 54787 // value will be replaced with "sensitive". 54788 func (s HumanTaskUiSummary) GoString() string { 54789 return s.String() 54790 } 54791 54792 // SetCreationTime sets the CreationTime field's value. 54793 func (s *HumanTaskUiSummary) SetCreationTime(v time.Time) *HumanTaskUiSummary { 54794 s.CreationTime = &v 54795 return s 54796 } 54797 54798 // SetHumanTaskUiArn sets the HumanTaskUiArn field's value. 54799 func (s *HumanTaskUiSummary) SetHumanTaskUiArn(v string) *HumanTaskUiSummary { 54800 s.HumanTaskUiArn = &v 54801 return s 54802 } 54803 54804 // SetHumanTaskUiName sets the HumanTaskUiName field's value. 54805 func (s *HumanTaskUiSummary) SetHumanTaskUiName(v string) *HumanTaskUiSummary { 54806 s.HumanTaskUiName = &v 54807 return s 54808 } 54809 54810 // Specifies which training algorithm to use for training jobs that a hyperparameter 54811 // tuning job launches and the metrics to monitor. 54812 type HyperParameterAlgorithmSpecification struct { 54813 _ struct{} `type:"structure"` 54814 54815 // The name of the resource algorithm to use for the hyperparameter tuning job. 54816 // If you specify a value for this parameter, do not specify a value for TrainingImage. 54817 AlgorithmName *string `min:"1" type:"string"` 54818 54819 // An array of MetricDefinition objects that specify the metrics that the algorithm 54820 // emits. 54821 MetricDefinitions []*MetricDefinition `type:"list"` 54822 54823 // The registry path of the Docker image that contains the training algorithm. 54824 // For information about Docker registry paths for built-in algorithms, see 54825 // Algorithms Provided by Amazon SageMaker: Common Parameters (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-algo-docker-registry-paths.html). 54826 // Amazon SageMaker supports both registry/repository[:tag] and registry/repository[@digest] 54827 // image path formats. For more information, see Using Your Own Algorithms with 54828 // Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html). 54829 TrainingImage *string `type:"string"` 54830 54831 // The training input mode that the algorithm supports. For more information 54832 // about input modes, see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html). 54833 // 54834 // Pipe mode 54835 // 54836 // If an algorithm supports Pipe mode, Amazon SageMaker streams data directly 54837 // from Amazon S3 to the container. 54838 // 54839 // File mode 54840 // 54841 // If an algorithm supports File mode, SageMaker downloads the training data 54842 // from S3 to the provisioned ML storage volume, and mounts the directory to 54843 // the Docker volume for the training container. 54844 // 54845 // You must provision the ML storage volume with sufficient capacity to accommodate 54846 // the data downloaded from S3. In addition to the training data, the ML storage 54847 // volume also stores the output model. The algorithm container uses the ML 54848 // storage volume to also store intermediate information, if any. 54849 // 54850 // For distributed algorithms, training data is distributed uniformly. Your 54851 // training duration is predictable if the input data objects sizes are approximately 54852 // the same. SageMaker does not split the files any further for model training. 54853 // If the object sizes are skewed, training won't be optimal as the data distribution 54854 // is also skewed when one host in a training cluster is overloaded, thus becoming 54855 // a bottleneck in training. 54856 // 54857 // FastFile mode 54858 // 54859 // If an algorithm supports FastFile mode, SageMaker streams data directly from 54860 // S3 to the container with no code changes, and provides file system access 54861 // to the data. Users can author their training script to interact with these 54862 // files as if they were stored on disk. 54863 // 54864 // FastFile mode works best when the data is read sequentially. Augmented manifest 54865 // files aren't supported. The startup time is lower when there are fewer files 54866 // in the S3 bucket provided. 54867 // 54868 // TrainingInputMode is a required field 54869 TrainingInputMode *string `type:"string" required:"true" enum:"TrainingInputMode"` 54870 } 54871 54872 // String returns the string representation. 54873 // 54874 // API parameter values that are decorated as "sensitive" in the API will not 54875 // be included in the string output. The member name will be present, but the 54876 // value will be replaced with "sensitive". 54877 func (s HyperParameterAlgorithmSpecification) String() string { 54878 return awsutil.Prettify(s) 54879 } 54880 54881 // GoString returns the string representation. 54882 // 54883 // API parameter values that are decorated as "sensitive" in the API will not 54884 // be included in the string output. The member name will be present, but the 54885 // value will be replaced with "sensitive". 54886 func (s HyperParameterAlgorithmSpecification) GoString() string { 54887 return s.String() 54888 } 54889 54890 // Validate inspects the fields of the type to determine if they are valid. 54891 func (s *HyperParameterAlgorithmSpecification) Validate() error { 54892 invalidParams := request.ErrInvalidParams{Context: "HyperParameterAlgorithmSpecification"} 54893 if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 { 54894 invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1)) 54895 } 54896 if s.TrainingInputMode == nil { 54897 invalidParams.Add(request.NewErrParamRequired("TrainingInputMode")) 54898 } 54899 if s.MetricDefinitions != nil { 54900 for i, v := range s.MetricDefinitions { 54901 if v == nil { 54902 continue 54903 } 54904 if err := v.Validate(); err != nil { 54905 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MetricDefinitions", i), err.(request.ErrInvalidParams)) 54906 } 54907 } 54908 } 54909 54910 if invalidParams.Len() > 0 { 54911 return invalidParams 54912 } 54913 return nil 54914 } 54915 54916 // SetAlgorithmName sets the AlgorithmName field's value. 54917 func (s *HyperParameterAlgorithmSpecification) SetAlgorithmName(v string) *HyperParameterAlgorithmSpecification { 54918 s.AlgorithmName = &v 54919 return s 54920 } 54921 54922 // SetMetricDefinitions sets the MetricDefinitions field's value. 54923 func (s *HyperParameterAlgorithmSpecification) SetMetricDefinitions(v []*MetricDefinition) *HyperParameterAlgorithmSpecification { 54924 s.MetricDefinitions = v 54925 return s 54926 } 54927 54928 // SetTrainingImage sets the TrainingImage field's value. 54929 func (s *HyperParameterAlgorithmSpecification) SetTrainingImage(v string) *HyperParameterAlgorithmSpecification { 54930 s.TrainingImage = &v 54931 return s 54932 } 54933 54934 // SetTrainingInputMode sets the TrainingInputMode field's value. 54935 func (s *HyperParameterAlgorithmSpecification) SetTrainingInputMode(v string) *HyperParameterAlgorithmSpecification { 54936 s.TrainingInputMode = &v 54937 return s 54938 } 54939 54940 // Defines a hyperparameter to be used by an algorithm. 54941 type HyperParameterSpecification struct { 54942 _ struct{} `type:"structure"` 54943 54944 // The default value for this hyperparameter. If a default value is specified, 54945 // a hyperparameter cannot be required. 54946 DefaultValue *string `type:"string"` 54947 54948 // A brief description of the hyperparameter. 54949 Description *string `type:"string"` 54950 54951 // Indicates whether this hyperparameter is required. 54952 IsRequired *bool `type:"boolean"` 54953 54954 // Indicates whether this hyperparameter is tunable in a hyperparameter tuning 54955 // job. 54956 IsTunable *bool `type:"boolean"` 54957 54958 // The name of this hyperparameter. The name must be unique. 54959 // 54960 // Name is a required field 54961 Name *string `type:"string" required:"true"` 54962 54963 // The allowed range for this hyperparameter. 54964 Range *ParameterRange `type:"structure"` 54965 54966 // The type of this hyperparameter. The valid types are Integer, Continuous, 54967 // Categorical, and FreeText. 54968 // 54969 // Type is a required field 54970 Type *string `type:"string" required:"true" enum:"ParameterType"` 54971 } 54972 54973 // String returns the string representation. 54974 // 54975 // API parameter values that are decorated as "sensitive" in the API will not 54976 // be included in the string output. The member name will be present, but the 54977 // value will be replaced with "sensitive". 54978 func (s HyperParameterSpecification) String() string { 54979 return awsutil.Prettify(s) 54980 } 54981 54982 // GoString returns the string representation. 54983 // 54984 // API parameter values that are decorated as "sensitive" in the API will not 54985 // be included in the string output. The member name will be present, but the 54986 // value will be replaced with "sensitive". 54987 func (s HyperParameterSpecification) GoString() string { 54988 return s.String() 54989 } 54990 54991 // Validate inspects the fields of the type to determine if they are valid. 54992 func (s *HyperParameterSpecification) Validate() error { 54993 invalidParams := request.ErrInvalidParams{Context: "HyperParameterSpecification"} 54994 if s.Name == nil { 54995 invalidParams.Add(request.NewErrParamRequired("Name")) 54996 } 54997 if s.Type == nil { 54998 invalidParams.Add(request.NewErrParamRequired("Type")) 54999 } 55000 if s.Range != nil { 55001 if err := s.Range.Validate(); err != nil { 55002 invalidParams.AddNested("Range", err.(request.ErrInvalidParams)) 55003 } 55004 } 55005 55006 if invalidParams.Len() > 0 { 55007 return invalidParams 55008 } 55009 return nil 55010 } 55011 55012 // SetDefaultValue sets the DefaultValue field's value. 55013 func (s *HyperParameterSpecification) SetDefaultValue(v string) *HyperParameterSpecification { 55014 s.DefaultValue = &v 55015 return s 55016 } 55017 55018 // SetDescription sets the Description field's value. 55019 func (s *HyperParameterSpecification) SetDescription(v string) *HyperParameterSpecification { 55020 s.Description = &v 55021 return s 55022 } 55023 55024 // SetIsRequired sets the IsRequired field's value. 55025 func (s *HyperParameterSpecification) SetIsRequired(v bool) *HyperParameterSpecification { 55026 s.IsRequired = &v 55027 return s 55028 } 55029 55030 // SetIsTunable sets the IsTunable field's value. 55031 func (s *HyperParameterSpecification) SetIsTunable(v bool) *HyperParameterSpecification { 55032 s.IsTunable = &v 55033 return s 55034 } 55035 55036 // SetName sets the Name field's value. 55037 func (s *HyperParameterSpecification) SetName(v string) *HyperParameterSpecification { 55038 s.Name = &v 55039 return s 55040 } 55041 55042 // SetRange sets the Range field's value. 55043 func (s *HyperParameterSpecification) SetRange(v *ParameterRange) *HyperParameterSpecification { 55044 s.Range = v 55045 return s 55046 } 55047 55048 // SetType sets the Type field's value. 55049 func (s *HyperParameterSpecification) SetType(v string) *HyperParameterSpecification { 55050 s.Type = &v 55051 return s 55052 } 55053 55054 // Defines the training jobs launched by a hyperparameter tuning job. 55055 type HyperParameterTrainingJobDefinition struct { 55056 _ struct{} `type:"structure"` 55057 55058 // The HyperParameterAlgorithmSpecification object that specifies the resource 55059 // algorithm to use for the training jobs that the tuning job launches. 55060 // 55061 // AlgorithmSpecification is a required field 55062 AlgorithmSpecification *HyperParameterAlgorithmSpecification `type:"structure" required:"true"` 55063 55064 // Contains information about the output location for managed spot training 55065 // checkpoint data. 55066 CheckpointConfig *CheckpointConfig `type:"structure"` 55067 55068 // The job definition name. 55069 DefinitionName *string `min:"1" type:"string"` 55070 55071 // To encrypt all communications between ML compute instances in distributed 55072 // training, choose True. Encryption provides greater security for distributed 55073 // training, but training might take longer. How long it takes depends on the 55074 // amount of communication between compute instances, especially if you use 55075 // a deep learning algorithm in distributed training. 55076 EnableInterContainerTrafficEncryption *bool `type:"boolean"` 55077 55078 // A Boolean indicating whether managed spot training is enabled (True) or not 55079 // (False). 55080 EnableManagedSpotTraining *bool `type:"boolean"` 55081 55082 // Isolates the training container. No inbound or outbound network calls can 55083 // be made, except for calls between peers within a training cluster for distributed 55084 // training. If network isolation is used for training jobs that are configured 55085 // to use a VPC, Amazon SageMaker downloads and uploads customer data and model 55086 // artifacts through the specified VPC, but the training container does not 55087 // have network access. 55088 EnableNetworkIsolation *bool `type:"boolean"` 55089 55090 // Specifies ranges of integer, continuous, and categorical hyperparameters 55091 // that a hyperparameter tuning job searches. The hyperparameter tuning job 55092 // launches training jobs with hyperparameter values within these ranges to 55093 // find the combination of values that result in the training job with the best 55094 // performance as measured by the objective metric of the hyperparameter tuning 55095 // job. 55096 // 55097 // You can specify a maximum of 20 hyperparameters that a hyperparameter tuning 55098 // job can search over. Every possible value of a categorical parameter range 55099 // counts against this limit. 55100 HyperParameterRanges *ParameterRanges `type:"structure"` 55101 55102 // An array of Channel objects that specify the input for the training jobs 55103 // that the tuning job launches. 55104 InputDataConfig []*Channel `min:"1" type:"list"` 55105 55106 // Specifies the path to the Amazon S3 bucket where you store model artifacts 55107 // from the training jobs that the tuning job launches. 55108 // 55109 // OutputDataConfig is a required field 55110 OutputDataConfig *OutputDataConfig `type:"structure" required:"true"` 55111 55112 // The resources, including the compute instances and storage volumes, to use 55113 // for the training jobs that the tuning job launches. 55114 // 55115 // Storage volumes store model artifacts and incremental states. Training algorithms 55116 // might also use storage volumes for scratch space. If you want Amazon SageMaker 55117 // to use the storage volume to store the training data, choose File as the 55118 // TrainingInputMode in the algorithm specification. For distributed training 55119 // algorithms, specify an instance count greater than 1. 55120 // 55121 // ResourceConfig is a required field 55122 ResourceConfig *ResourceConfig `type:"structure" required:"true"` 55123 55124 // The number of times to retry the job when the job fails due to an InternalServerError. 55125 RetryStrategy *RetryStrategy `type:"structure"` 55126 55127 // The Amazon Resource Name (ARN) of the IAM role associated with the training 55128 // jobs that the tuning job launches. 55129 // 55130 // RoleArn is a required field 55131 RoleArn *string `min:"20" type:"string" required:"true"` 55132 55133 // Specifies the values of hyperparameters that do not change for the tuning 55134 // job. 55135 StaticHyperParameters map[string]*string `type:"map"` 55136 55137 // Specifies a limit to how long a model hyperparameter training job can run. 55138 // It also specifies how long a managed spot training job has to complete. When 55139 // the job reaches the time limit, Amazon SageMaker ends the training job. Use 55140 // this API to cap model training costs. 55141 // 55142 // StoppingCondition is a required field 55143 StoppingCondition *StoppingCondition `type:"structure" required:"true"` 55144 55145 // Defines the objective metric for a hyperparameter tuning job. Hyperparameter 55146 // tuning uses the value of this metric to evaluate the training jobs it launches, 55147 // and returns the training job that results in either the highest or lowest 55148 // value for this metric, depending on the value you specify for the Type parameter. 55149 TuningObjective *HyperParameterTuningJobObjective `type:"structure"` 55150 55151 // The VpcConfig object that specifies the VPC that you want the training jobs 55152 // that this hyperparameter tuning job launches to connect to. Control access 55153 // to and from your training container by configuring the VPC. For more information, 55154 // see Protect Training Jobs by Using an Amazon Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html). 55155 VpcConfig *VpcConfig `type:"structure"` 55156 } 55157 55158 // String returns the string representation. 55159 // 55160 // API parameter values that are decorated as "sensitive" in the API will not 55161 // be included in the string output. The member name will be present, but the 55162 // value will be replaced with "sensitive". 55163 func (s HyperParameterTrainingJobDefinition) String() string { 55164 return awsutil.Prettify(s) 55165 } 55166 55167 // GoString returns the string representation. 55168 // 55169 // API parameter values that are decorated as "sensitive" in the API will not 55170 // be included in the string output. The member name will be present, but the 55171 // value will be replaced with "sensitive". 55172 func (s HyperParameterTrainingJobDefinition) GoString() string { 55173 return s.String() 55174 } 55175 55176 // Validate inspects the fields of the type to determine if they are valid. 55177 func (s *HyperParameterTrainingJobDefinition) Validate() error { 55178 invalidParams := request.ErrInvalidParams{Context: "HyperParameterTrainingJobDefinition"} 55179 if s.AlgorithmSpecification == nil { 55180 invalidParams.Add(request.NewErrParamRequired("AlgorithmSpecification")) 55181 } 55182 if s.DefinitionName != nil && len(*s.DefinitionName) < 1 { 55183 invalidParams.Add(request.NewErrParamMinLen("DefinitionName", 1)) 55184 } 55185 if s.InputDataConfig != nil && len(s.InputDataConfig) < 1 { 55186 invalidParams.Add(request.NewErrParamMinLen("InputDataConfig", 1)) 55187 } 55188 if s.OutputDataConfig == nil { 55189 invalidParams.Add(request.NewErrParamRequired("OutputDataConfig")) 55190 } 55191 if s.ResourceConfig == nil { 55192 invalidParams.Add(request.NewErrParamRequired("ResourceConfig")) 55193 } 55194 if s.RoleArn == nil { 55195 invalidParams.Add(request.NewErrParamRequired("RoleArn")) 55196 } 55197 if s.RoleArn != nil && len(*s.RoleArn) < 20 { 55198 invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) 55199 } 55200 if s.StoppingCondition == nil { 55201 invalidParams.Add(request.NewErrParamRequired("StoppingCondition")) 55202 } 55203 if s.AlgorithmSpecification != nil { 55204 if err := s.AlgorithmSpecification.Validate(); err != nil { 55205 invalidParams.AddNested("AlgorithmSpecification", err.(request.ErrInvalidParams)) 55206 } 55207 } 55208 if s.CheckpointConfig != nil { 55209 if err := s.CheckpointConfig.Validate(); err != nil { 55210 invalidParams.AddNested("CheckpointConfig", err.(request.ErrInvalidParams)) 55211 } 55212 } 55213 if s.HyperParameterRanges != nil { 55214 if err := s.HyperParameterRanges.Validate(); err != nil { 55215 invalidParams.AddNested("HyperParameterRanges", err.(request.ErrInvalidParams)) 55216 } 55217 } 55218 if s.InputDataConfig != nil { 55219 for i, v := range s.InputDataConfig { 55220 if v == nil { 55221 continue 55222 } 55223 if err := v.Validate(); err != nil { 55224 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputDataConfig", i), err.(request.ErrInvalidParams)) 55225 } 55226 } 55227 } 55228 if s.OutputDataConfig != nil { 55229 if err := s.OutputDataConfig.Validate(); err != nil { 55230 invalidParams.AddNested("OutputDataConfig", err.(request.ErrInvalidParams)) 55231 } 55232 } 55233 if s.ResourceConfig != nil { 55234 if err := s.ResourceConfig.Validate(); err != nil { 55235 invalidParams.AddNested("ResourceConfig", err.(request.ErrInvalidParams)) 55236 } 55237 } 55238 if s.RetryStrategy != nil { 55239 if err := s.RetryStrategy.Validate(); err != nil { 55240 invalidParams.AddNested("RetryStrategy", err.(request.ErrInvalidParams)) 55241 } 55242 } 55243 if s.StoppingCondition != nil { 55244 if err := s.StoppingCondition.Validate(); err != nil { 55245 invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams)) 55246 } 55247 } 55248 if s.TuningObjective != nil { 55249 if err := s.TuningObjective.Validate(); err != nil { 55250 invalidParams.AddNested("TuningObjective", err.(request.ErrInvalidParams)) 55251 } 55252 } 55253 if s.VpcConfig != nil { 55254 if err := s.VpcConfig.Validate(); err != nil { 55255 invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams)) 55256 } 55257 } 55258 55259 if invalidParams.Len() > 0 { 55260 return invalidParams 55261 } 55262 return nil 55263 } 55264 55265 // SetAlgorithmSpecification sets the AlgorithmSpecification field's value. 55266 func (s *HyperParameterTrainingJobDefinition) SetAlgorithmSpecification(v *HyperParameterAlgorithmSpecification) *HyperParameterTrainingJobDefinition { 55267 s.AlgorithmSpecification = v 55268 return s 55269 } 55270 55271 // SetCheckpointConfig sets the CheckpointConfig field's value. 55272 func (s *HyperParameterTrainingJobDefinition) SetCheckpointConfig(v *CheckpointConfig) *HyperParameterTrainingJobDefinition { 55273 s.CheckpointConfig = v 55274 return s 55275 } 55276 55277 // SetDefinitionName sets the DefinitionName field's value. 55278 func (s *HyperParameterTrainingJobDefinition) SetDefinitionName(v string) *HyperParameterTrainingJobDefinition { 55279 s.DefinitionName = &v 55280 return s 55281 } 55282 55283 // SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value. 55284 func (s *HyperParameterTrainingJobDefinition) SetEnableInterContainerTrafficEncryption(v bool) *HyperParameterTrainingJobDefinition { 55285 s.EnableInterContainerTrafficEncryption = &v 55286 return s 55287 } 55288 55289 // SetEnableManagedSpotTraining sets the EnableManagedSpotTraining field's value. 55290 func (s *HyperParameterTrainingJobDefinition) SetEnableManagedSpotTraining(v bool) *HyperParameterTrainingJobDefinition { 55291 s.EnableManagedSpotTraining = &v 55292 return s 55293 } 55294 55295 // SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value. 55296 func (s *HyperParameterTrainingJobDefinition) SetEnableNetworkIsolation(v bool) *HyperParameterTrainingJobDefinition { 55297 s.EnableNetworkIsolation = &v 55298 return s 55299 } 55300 55301 // SetHyperParameterRanges sets the HyperParameterRanges field's value. 55302 func (s *HyperParameterTrainingJobDefinition) SetHyperParameterRanges(v *ParameterRanges) *HyperParameterTrainingJobDefinition { 55303 s.HyperParameterRanges = v 55304 return s 55305 } 55306 55307 // SetInputDataConfig sets the InputDataConfig field's value. 55308 func (s *HyperParameterTrainingJobDefinition) SetInputDataConfig(v []*Channel) *HyperParameterTrainingJobDefinition { 55309 s.InputDataConfig = v 55310 return s 55311 } 55312 55313 // SetOutputDataConfig sets the OutputDataConfig field's value. 55314 func (s *HyperParameterTrainingJobDefinition) SetOutputDataConfig(v *OutputDataConfig) *HyperParameterTrainingJobDefinition { 55315 s.OutputDataConfig = v 55316 return s 55317 } 55318 55319 // SetResourceConfig sets the ResourceConfig field's value. 55320 func (s *HyperParameterTrainingJobDefinition) SetResourceConfig(v *ResourceConfig) *HyperParameterTrainingJobDefinition { 55321 s.ResourceConfig = v 55322 return s 55323 } 55324 55325 // SetRetryStrategy sets the RetryStrategy field's value. 55326 func (s *HyperParameterTrainingJobDefinition) SetRetryStrategy(v *RetryStrategy) *HyperParameterTrainingJobDefinition { 55327 s.RetryStrategy = v 55328 return s 55329 } 55330 55331 // SetRoleArn sets the RoleArn field's value. 55332 func (s *HyperParameterTrainingJobDefinition) SetRoleArn(v string) *HyperParameterTrainingJobDefinition { 55333 s.RoleArn = &v 55334 return s 55335 } 55336 55337 // SetStaticHyperParameters sets the StaticHyperParameters field's value. 55338 func (s *HyperParameterTrainingJobDefinition) SetStaticHyperParameters(v map[string]*string) *HyperParameterTrainingJobDefinition { 55339 s.StaticHyperParameters = v 55340 return s 55341 } 55342 55343 // SetStoppingCondition sets the StoppingCondition field's value. 55344 func (s *HyperParameterTrainingJobDefinition) SetStoppingCondition(v *StoppingCondition) *HyperParameterTrainingJobDefinition { 55345 s.StoppingCondition = v 55346 return s 55347 } 55348 55349 // SetTuningObjective sets the TuningObjective field's value. 55350 func (s *HyperParameterTrainingJobDefinition) SetTuningObjective(v *HyperParameterTuningJobObjective) *HyperParameterTrainingJobDefinition { 55351 s.TuningObjective = v 55352 return s 55353 } 55354 55355 // SetVpcConfig sets the VpcConfig field's value. 55356 func (s *HyperParameterTrainingJobDefinition) SetVpcConfig(v *VpcConfig) *HyperParameterTrainingJobDefinition { 55357 s.VpcConfig = v 55358 return s 55359 } 55360 55361 // Specifies summary information about a training job. 55362 type HyperParameterTrainingJobSummary struct { 55363 _ struct{} `type:"structure"` 55364 55365 // The date and time that the training job was created. 55366 // 55367 // CreationTime is a required field 55368 CreationTime *time.Time `type:"timestamp" required:"true"` 55369 55370 // The reason that the training job failed. 55371 FailureReason *string `type:"string"` 55372 55373 // The FinalHyperParameterTuningJobObjectiveMetric object that specifies the 55374 // value of the objective metric of the tuning job that launched this training 55375 // job. 55376 FinalHyperParameterTuningJobObjectiveMetric *FinalHyperParameterTuningJobObjectiveMetric `type:"structure"` 55377 55378 // The status of the objective metric for the training job: 55379 // 55380 // * Succeeded: The final objective metric for the training job was evaluated 55381 // by the hyperparameter tuning job and used in the hyperparameter tuning 55382 // process. 55383 // 55384 // * Pending: The training job is in progress and evaluation of its final 55385 // objective metric is pending. 55386 // 55387 // * Failed: The final objective metric for the training job was not evaluated, 55388 // and was not used in the hyperparameter tuning process. This typically 55389 // occurs when the training job failed or did not emit an objective metric. 55390 ObjectiveStatus *string `type:"string" enum:"ObjectiveStatus"` 55391 55392 // Specifies the time when the training job ends on training instances. You 55393 // are billed for the time interval between the value of TrainingStartTime and 55394 // this time. For successful jobs and stopped jobs, this is the time after model 55395 // artifacts are uploaded. For failed jobs, this is the time when Amazon SageMaker 55396 // detects a job failure. 55397 TrainingEndTime *time.Time `type:"timestamp"` 55398 55399 // The Amazon Resource Name (ARN) of the training job. 55400 // 55401 // TrainingJobArn is a required field 55402 TrainingJobArn *string `type:"string" required:"true"` 55403 55404 // The training job definition name. 55405 TrainingJobDefinitionName *string `min:"1" type:"string"` 55406 55407 // The name of the training job. 55408 // 55409 // TrainingJobName is a required field 55410 TrainingJobName *string `min:"1" type:"string" required:"true"` 55411 55412 // The status of the training job. 55413 // 55414 // TrainingJobStatus is a required field 55415 TrainingJobStatus *string `type:"string" required:"true" enum:"TrainingJobStatus"` 55416 55417 // The date and time that the training job started. 55418 TrainingStartTime *time.Time `type:"timestamp"` 55419 55420 // A list of the hyperparameters for which you specified ranges to search. 55421 // 55422 // TunedHyperParameters is a required field 55423 TunedHyperParameters map[string]*string `type:"map" required:"true"` 55424 55425 // The HyperParameter tuning job that launched the training job. 55426 TuningJobName *string `min:"1" type:"string"` 55427 } 55428 55429 // String returns the string representation. 55430 // 55431 // API parameter values that are decorated as "sensitive" in the API will not 55432 // be included in the string output. The member name will be present, but the 55433 // value will be replaced with "sensitive". 55434 func (s HyperParameterTrainingJobSummary) String() string { 55435 return awsutil.Prettify(s) 55436 } 55437 55438 // GoString returns the string representation. 55439 // 55440 // API parameter values that are decorated as "sensitive" in the API will not 55441 // be included in the string output. The member name will be present, but the 55442 // value will be replaced with "sensitive". 55443 func (s HyperParameterTrainingJobSummary) GoString() string { 55444 return s.String() 55445 } 55446 55447 // SetCreationTime sets the CreationTime field's value. 55448 func (s *HyperParameterTrainingJobSummary) SetCreationTime(v time.Time) *HyperParameterTrainingJobSummary { 55449 s.CreationTime = &v 55450 return s 55451 } 55452 55453 // SetFailureReason sets the FailureReason field's value. 55454 func (s *HyperParameterTrainingJobSummary) SetFailureReason(v string) *HyperParameterTrainingJobSummary { 55455 s.FailureReason = &v 55456 return s 55457 } 55458 55459 // SetFinalHyperParameterTuningJobObjectiveMetric sets the FinalHyperParameterTuningJobObjectiveMetric field's value. 55460 func (s *HyperParameterTrainingJobSummary) SetFinalHyperParameterTuningJobObjectiveMetric(v *FinalHyperParameterTuningJobObjectiveMetric) *HyperParameterTrainingJobSummary { 55461 s.FinalHyperParameterTuningJobObjectiveMetric = v 55462 return s 55463 } 55464 55465 // SetObjectiveStatus sets the ObjectiveStatus field's value. 55466 func (s *HyperParameterTrainingJobSummary) SetObjectiveStatus(v string) *HyperParameterTrainingJobSummary { 55467 s.ObjectiveStatus = &v 55468 return s 55469 } 55470 55471 // SetTrainingEndTime sets the TrainingEndTime field's value. 55472 func (s *HyperParameterTrainingJobSummary) SetTrainingEndTime(v time.Time) *HyperParameterTrainingJobSummary { 55473 s.TrainingEndTime = &v 55474 return s 55475 } 55476 55477 // SetTrainingJobArn sets the TrainingJobArn field's value. 55478 func (s *HyperParameterTrainingJobSummary) SetTrainingJobArn(v string) *HyperParameterTrainingJobSummary { 55479 s.TrainingJobArn = &v 55480 return s 55481 } 55482 55483 // SetTrainingJobDefinitionName sets the TrainingJobDefinitionName field's value. 55484 func (s *HyperParameterTrainingJobSummary) SetTrainingJobDefinitionName(v string) *HyperParameterTrainingJobSummary { 55485 s.TrainingJobDefinitionName = &v 55486 return s 55487 } 55488 55489 // SetTrainingJobName sets the TrainingJobName field's value. 55490 func (s *HyperParameterTrainingJobSummary) SetTrainingJobName(v string) *HyperParameterTrainingJobSummary { 55491 s.TrainingJobName = &v 55492 return s 55493 } 55494 55495 // SetTrainingJobStatus sets the TrainingJobStatus field's value. 55496 func (s *HyperParameterTrainingJobSummary) SetTrainingJobStatus(v string) *HyperParameterTrainingJobSummary { 55497 s.TrainingJobStatus = &v 55498 return s 55499 } 55500 55501 // SetTrainingStartTime sets the TrainingStartTime field's value. 55502 func (s *HyperParameterTrainingJobSummary) SetTrainingStartTime(v time.Time) *HyperParameterTrainingJobSummary { 55503 s.TrainingStartTime = &v 55504 return s 55505 } 55506 55507 // SetTunedHyperParameters sets the TunedHyperParameters field's value. 55508 func (s *HyperParameterTrainingJobSummary) SetTunedHyperParameters(v map[string]*string) *HyperParameterTrainingJobSummary { 55509 s.TunedHyperParameters = v 55510 return s 55511 } 55512 55513 // SetTuningJobName sets the TuningJobName field's value. 55514 func (s *HyperParameterTrainingJobSummary) SetTuningJobName(v string) *HyperParameterTrainingJobSummary { 55515 s.TuningJobName = &v 55516 return s 55517 } 55518 55519 // Configures a hyperparameter tuning job. 55520 type HyperParameterTuningJobConfig struct { 55521 _ struct{} `type:"structure"` 55522 55523 // The HyperParameterTuningJobObjective object that specifies the objective 55524 // metric for this tuning job. 55525 HyperParameterTuningJobObjective *HyperParameterTuningJobObjective `type:"structure"` 55526 55527 // The ParameterRanges object that specifies the ranges of hyperparameters that 55528 // this tuning job searches. 55529 ParameterRanges *ParameterRanges `type:"structure"` 55530 55531 // The ResourceLimits object that specifies the maximum number of training jobs 55532 // and parallel training jobs for this tuning job. 55533 // 55534 // ResourceLimits is a required field 55535 ResourceLimits *ResourceLimits `type:"structure" required:"true"` 55536 55537 // Specifies how hyperparameter tuning chooses the combinations of hyperparameter 55538 // values to use for the training job it launches. To use the Bayesian search 55539 // strategy, set this to Bayesian. To randomly search, set it to Random. For 55540 // information about search strategies, see How Hyperparameter Tuning Works 55541 // (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-how-it-works.html). 55542 // 55543 // Strategy is a required field 55544 Strategy *string `type:"string" required:"true" enum:"HyperParameterTuningJobStrategyType"` 55545 55546 // Specifies whether to use early stopping for training jobs launched by the 55547 // hyperparameter tuning job. This can be one of the following values (the default 55548 // value is OFF): 55549 // 55550 // OFF 55551 // 55552 // Training jobs launched by the hyperparameter tuning job do not use early 55553 // stopping. 55554 // 55555 // AUTO 55556 // 55557 // Amazon SageMaker stops training jobs launched by the hyperparameter tuning 55558 // job when they are unlikely to perform better than previously completed training 55559 // jobs. For more information, see Stop Training Jobs Early (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-early-stopping.html). 55560 TrainingJobEarlyStoppingType *string `type:"string" enum:"TrainingJobEarlyStoppingType"` 55561 55562 // The tuning job's completion criteria. 55563 TuningJobCompletionCriteria *TuningJobCompletionCriteria `type:"structure"` 55564 } 55565 55566 // String returns the string representation. 55567 // 55568 // API parameter values that are decorated as "sensitive" in the API will not 55569 // be included in the string output. The member name will be present, but the 55570 // value will be replaced with "sensitive". 55571 func (s HyperParameterTuningJobConfig) String() string { 55572 return awsutil.Prettify(s) 55573 } 55574 55575 // GoString returns the string representation. 55576 // 55577 // API parameter values that are decorated as "sensitive" in the API will not 55578 // be included in the string output. The member name will be present, but the 55579 // value will be replaced with "sensitive". 55580 func (s HyperParameterTuningJobConfig) GoString() string { 55581 return s.String() 55582 } 55583 55584 // Validate inspects the fields of the type to determine if they are valid. 55585 func (s *HyperParameterTuningJobConfig) Validate() error { 55586 invalidParams := request.ErrInvalidParams{Context: "HyperParameterTuningJobConfig"} 55587 if s.ResourceLimits == nil { 55588 invalidParams.Add(request.NewErrParamRequired("ResourceLimits")) 55589 } 55590 if s.Strategy == nil { 55591 invalidParams.Add(request.NewErrParamRequired("Strategy")) 55592 } 55593 if s.HyperParameterTuningJobObjective != nil { 55594 if err := s.HyperParameterTuningJobObjective.Validate(); err != nil { 55595 invalidParams.AddNested("HyperParameterTuningJobObjective", err.(request.ErrInvalidParams)) 55596 } 55597 } 55598 if s.ParameterRanges != nil { 55599 if err := s.ParameterRanges.Validate(); err != nil { 55600 invalidParams.AddNested("ParameterRanges", err.(request.ErrInvalidParams)) 55601 } 55602 } 55603 if s.ResourceLimits != nil { 55604 if err := s.ResourceLimits.Validate(); err != nil { 55605 invalidParams.AddNested("ResourceLimits", err.(request.ErrInvalidParams)) 55606 } 55607 } 55608 if s.TuningJobCompletionCriteria != nil { 55609 if err := s.TuningJobCompletionCriteria.Validate(); err != nil { 55610 invalidParams.AddNested("TuningJobCompletionCriteria", err.(request.ErrInvalidParams)) 55611 } 55612 } 55613 55614 if invalidParams.Len() > 0 { 55615 return invalidParams 55616 } 55617 return nil 55618 } 55619 55620 // SetHyperParameterTuningJobObjective sets the HyperParameterTuningJobObjective field's value. 55621 func (s *HyperParameterTuningJobConfig) SetHyperParameterTuningJobObjective(v *HyperParameterTuningJobObjective) *HyperParameterTuningJobConfig { 55622 s.HyperParameterTuningJobObjective = v 55623 return s 55624 } 55625 55626 // SetParameterRanges sets the ParameterRanges field's value. 55627 func (s *HyperParameterTuningJobConfig) SetParameterRanges(v *ParameterRanges) *HyperParameterTuningJobConfig { 55628 s.ParameterRanges = v 55629 return s 55630 } 55631 55632 // SetResourceLimits sets the ResourceLimits field's value. 55633 func (s *HyperParameterTuningJobConfig) SetResourceLimits(v *ResourceLimits) *HyperParameterTuningJobConfig { 55634 s.ResourceLimits = v 55635 return s 55636 } 55637 55638 // SetStrategy sets the Strategy field's value. 55639 func (s *HyperParameterTuningJobConfig) SetStrategy(v string) *HyperParameterTuningJobConfig { 55640 s.Strategy = &v 55641 return s 55642 } 55643 55644 // SetTrainingJobEarlyStoppingType sets the TrainingJobEarlyStoppingType field's value. 55645 func (s *HyperParameterTuningJobConfig) SetTrainingJobEarlyStoppingType(v string) *HyperParameterTuningJobConfig { 55646 s.TrainingJobEarlyStoppingType = &v 55647 return s 55648 } 55649 55650 // SetTuningJobCompletionCriteria sets the TuningJobCompletionCriteria field's value. 55651 func (s *HyperParameterTuningJobConfig) SetTuningJobCompletionCriteria(v *TuningJobCompletionCriteria) *HyperParameterTuningJobConfig { 55652 s.TuningJobCompletionCriteria = v 55653 return s 55654 } 55655 55656 // Defines the objective metric for a hyperparameter tuning job. Hyperparameter 55657 // tuning uses the value of this metric to evaluate the training jobs it launches, 55658 // and returns the training job that results in either the highest or lowest 55659 // value for this metric, depending on the value you specify for the Type parameter. 55660 type HyperParameterTuningJobObjective struct { 55661 _ struct{} `type:"structure"` 55662 55663 // The name of the metric to use for the objective metric. 55664 // 55665 // MetricName is a required field 55666 MetricName *string `min:"1" type:"string" required:"true"` 55667 55668 // Whether to minimize or maximize the objective metric. 55669 // 55670 // Type is a required field 55671 Type *string `type:"string" required:"true" enum:"HyperParameterTuningJobObjectiveType"` 55672 } 55673 55674 // String returns the string representation. 55675 // 55676 // API parameter values that are decorated as "sensitive" in the API will not 55677 // be included in the string output. The member name will be present, but the 55678 // value will be replaced with "sensitive". 55679 func (s HyperParameterTuningJobObjective) String() string { 55680 return awsutil.Prettify(s) 55681 } 55682 55683 // GoString returns the string representation. 55684 // 55685 // API parameter values that are decorated as "sensitive" in the API will not 55686 // be included in the string output. The member name will be present, but the 55687 // value will be replaced with "sensitive". 55688 func (s HyperParameterTuningJobObjective) GoString() string { 55689 return s.String() 55690 } 55691 55692 // Validate inspects the fields of the type to determine if they are valid. 55693 func (s *HyperParameterTuningJobObjective) Validate() error { 55694 invalidParams := request.ErrInvalidParams{Context: "HyperParameterTuningJobObjective"} 55695 if s.MetricName == nil { 55696 invalidParams.Add(request.NewErrParamRequired("MetricName")) 55697 } 55698 if s.MetricName != nil && len(*s.MetricName) < 1 { 55699 invalidParams.Add(request.NewErrParamMinLen("MetricName", 1)) 55700 } 55701 if s.Type == nil { 55702 invalidParams.Add(request.NewErrParamRequired("Type")) 55703 } 55704 55705 if invalidParams.Len() > 0 { 55706 return invalidParams 55707 } 55708 return nil 55709 } 55710 55711 // SetMetricName sets the MetricName field's value. 55712 func (s *HyperParameterTuningJobObjective) SetMetricName(v string) *HyperParameterTuningJobObjective { 55713 s.MetricName = &v 55714 return s 55715 } 55716 55717 // SetType sets the Type field's value. 55718 func (s *HyperParameterTuningJobObjective) SetType(v string) *HyperParameterTuningJobObjective { 55719 s.Type = &v 55720 return s 55721 } 55722 55723 // Provides summary information about a hyperparameter tuning job. 55724 type HyperParameterTuningJobSummary struct { 55725 _ struct{} `type:"structure"` 55726 55727 // The date and time that the tuning job was created. 55728 // 55729 // CreationTime is a required field 55730 CreationTime *time.Time `type:"timestamp" required:"true"` 55731 55732 // The date and time that the tuning job ended. 55733 HyperParameterTuningEndTime *time.Time `type:"timestamp"` 55734 55735 // The Amazon Resource Name (ARN) of the tuning job. 55736 // 55737 // HyperParameterTuningJobArn is a required field 55738 HyperParameterTuningJobArn *string `type:"string" required:"true"` 55739 55740 // The name of the tuning job. 55741 // 55742 // HyperParameterTuningJobName is a required field 55743 HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"` 55744 55745 // The status of the tuning job. 55746 // 55747 // HyperParameterTuningJobStatus is a required field 55748 HyperParameterTuningJobStatus *string `type:"string" required:"true" enum:"HyperParameterTuningJobStatus"` 55749 55750 // The date and time that the tuning job was modified. 55751 LastModifiedTime *time.Time `type:"timestamp"` 55752 55753 // The ObjectiveStatusCounters object that specifies the numbers of training 55754 // jobs, categorized by objective metric status, that this tuning job launched. 55755 // 55756 // ObjectiveStatusCounters is a required field 55757 ObjectiveStatusCounters *ObjectiveStatusCounters `type:"structure" required:"true"` 55758 55759 // The ResourceLimits object that specifies the maximum number of training jobs 55760 // and parallel training jobs allowed for this tuning job. 55761 ResourceLimits *ResourceLimits `type:"structure"` 55762 55763 // Specifies the search strategy hyperparameter tuning uses to choose which 55764 // hyperparameters to use for each iteration. Currently, the only valid value 55765 // is Bayesian. 55766 // 55767 // Strategy is a required field 55768 Strategy *string `type:"string" required:"true" enum:"HyperParameterTuningJobStrategyType"` 55769 55770 // The TrainingJobStatusCounters object that specifies the numbers of training 55771 // jobs, categorized by status, that this tuning job launched. 55772 // 55773 // TrainingJobStatusCounters is a required field 55774 TrainingJobStatusCounters *TrainingJobStatusCounters `type:"structure" required:"true"` 55775 } 55776 55777 // String returns the string representation. 55778 // 55779 // API parameter values that are decorated as "sensitive" in the API will not 55780 // be included in the string output. The member name will be present, but the 55781 // value will be replaced with "sensitive". 55782 func (s HyperParameterTuningJobSummary) String() string { 55783 return awsutil.Prettify(s) 55784 } 55785 55786 // GoString returns the string representation. 55787 // 55788 // API parameter values that are decorated as "sensitive" in the API will not 55789 // be included in the string output. The member name will be present, but the 55790 // value will be replaced with "sensitive". 55791 func (s HyperParameterTuningJobSummary) GoString() string { 55792 return s.String() 55793 } 55794 55795 // SetCreationTime sets the CreationTime field's value. 55796 func (s *HyperParameterTuningJobSummary) SetCreationTime(v time.Time) *HyperParameterTuningJobSummary { 55797 s.CreationTime = &v 55798 return s 55799 } 55800 55801 // SetHyperParameterTuningEndTime sets the HyperParameterTuningEndTime field's value. 55802 func (s *HyperParameterTuningJobSummary) SetHyperParameterTuningEndTime(v time.Time) *HyperParameterTuningJobSummary { 55803 s.HyperParameterTuningEndTime = &v 55804 return s 55805 } 55806 55807 // SetHyperParameterTuningJobArn sets the HyperParameterTuningJobArn field's value. 55808 func (s *HyperParameterTuningJobSummary) SetHyperParameterTuningJobArn(v string) *HyperParameterTuningJobSummary { 55809 s.HyperParameterTuningJobArn = &v 55810 return s 55811 } 55812 55813 // SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value. 55814 func (s *HyperParameterTuningJobSummary) SetHyperParameterTuningJobName(v string) *HyperParameterTuningJobSummary { 55815 s.HyperParameterTuningJobName = &v 55816 return s 55817 } 55818 55819 // SetHyperParameterTuningJobStatus sets the HyperParameterTuningJobStatus field's value. 55820 func (s *HyperParameterTuningJobSummary) SetHyperParameterTuningJobStatus(v string) *HyperParameterTuningJobSummary { 55821 s.HyperParameterTuningJobStatus = &v 55822 return s 55823 } 55824 55825 // SetLastModifiedTime sets the LastModifiedTime field's value. 55826 func (s *HyperParameterTuningJobSummary) SetLastModifiedTime(v time.Time) *HyperParameterTuningJobSummary { 55827 s.LastModifiedTime = &v 55828 return s 55829 } 55830 55831 // SetObjectiveStatusCounters sets the ObjectiveStatusCounters field's value. 55832 func (s *HyperParameterTuningJobSummary) SetObjectiveStatusCounters(v *ObjectiveStatusCounters) *HyperParameterTuningJobSummary { 55833 s.ObjectiveStatusCounters = v 55834 return s 55835 } 55836 55837 // SetResourceLimits sets the ResourceLimits field's value. 55838 func (s *HyperParameterTuningJobSummary) SetResourceLimits(v *ResourceLimits) *HyperParameterTuningJobSummary { 55839 s.ResourceLimits = v 55840 return s 55841 } 55842 55843 // SetStrategy sets the Strategy field's value. 55844 func (s *HyperParameterTuningJobSummary) SetStrategy(v string) *HyperParameterTuningJobSummary { 55845 s.Strategy = &v 55846 return s 55847 } 55848 55849 // SetTrainingJobStatusCounters sets the TrainingJobStatusCounters field's value. 55850 func (s *HyperParameterTuningJobSummary) SetTrainingJobStatusCounters(v *TrainingJobStatusCounters) *HyperParameterTuningJobSummary { 55851 s.TrainingJobStatusCounters = v 55852 return s 55853 } 55854 55855 // Specifies the configuration for a hyperparameter tuning job that uses one 55856 // or more previous hyperparameter tuning jobs as a starting point. The results 55857 // of previous tuning jobs are used to inform which combinations of hyperparameters 55858 // to search over in the new tuning job. 55859 // 55860 // All training jobs launched by the new hyperparameter tuning job are evaluated 55861 // by using the objective metric, and the training job that performs the best 55862 // is compared to the best training jobs from the parent tuning jobs. From these, 55863 // the training job that performs the best as measured by the objective metric 55864 // is returned as the overall best training job. 55865 // 55866 // All training jobs launched by parent hyperparameter tuning jobs and the new 55867 // hyperparameter tuning jobs count against the limit of training jobs for the 55868 // tuning job. 55869 type HyperParameterTuningJobWarmStartConfig struct { 55870 _ struct{} `type:"structure"` 55871 55872 // An array of hyperparameter tuning jobs that are used as the starting point 55873 // for the new hyperparameter tuning job. For more information about warm starting 55874 // a hyperparameter tuning job, see Using a Previous Hyperparameter Tuning Job 55875 // as a Starting Point (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-warm-start.html). 55876 // 55877 // Hyperparameter tuning jobs created before October 1, 2018 cannot be used 55878 // as parent jobs for warm start tuning jobs. 55879 // 55880 // ParentHyperParameterTuningJobs is a required field 55881 ParentHyperParameterTuningJobs []*ParentHyperParameterTuningJob `min:"1" type:"list" required:"true"` 55882 55883 // Specifies one of the following: 55884 // 55885 // IDENTICAL_DATA_AND_ALGORITHM 55886 // 55887 // The new hyperparameter tuning job uses the same input data and training image 55888 // as the parent tuning jobs. You can change the hyperparameter ranges to search 55889 // and the maximum number of training jobs that the hyperparameter tuning job 55890 // launches. You cannot use a new version of the training algorithm, unless 55891 // the changes in the new version do not affect the algorithm itself. For example, 55892 // changes that improve logging or adding support for a different data format 55893 // are allowed. You can also change hyperparameters from tunable to static, 55894 // and from static to tunable, but the total number of static plus tunable hyperparameters 55895 // must remain the same as it is in all parent jobs. The objective metric for 55896 // the new tuning job must be the same as for all parent jobs. 55897 // 55898 // TRANSFER_LEARNING 55899 // 55900 // The new hyperparameter tuning job can include input data, hyperparameter 55901 // ranges, maximum number of concurrent training jobs, and maximum number of 55902 // training jobs that are different than those of its parent hyperparameter 55903 // tuning jobs. The training image can also be a different version from the 55904 // version used in the parent hyperparameter tuning job. You can also change 55905 // hyperparameters from tunable to static, and from static to tunable, but the 55906 // total number of static plus tunable hyperparameters must remain the same 55907 // as it is in all parent jobs. The objective metric for the new tuning job 55908 // must be the same as for all parent jobs. 55909 // 55910 // WarmStartType is a required field 55911 WarmStartType *string `type:"string" required:"true" enum:"HyperParameterTuningJobWarmStartType"` 55912 } 55913 55914 // String returns the string representation. 55915 // 55916 // API parameter values that are decorated as "sensitive" in the API will not 55917 // be included in the string output. The member name will be present, but the 55918 // value will be replaced with "sensitive". 55919 func (s HyperParameterTuningJobWarmStartConfig) String() string { 55920 return awsutil.Prettify(s) 55921 } 55922 55923 // GoString returns the string representation. 55924 // 55925 // API parameter values that are decorated as "sensitive" in the API will not 55926 // be included in the string output. The member name will be present, but the 55927 // value will be replaced with "sensitive". 55928 func (s HyperParameterTuningJobWarmStartConfig) GoString() string { 55929 return s.String() 55930 } 55931 55932 // Validate inspects the fields of the type to determine if they are valid. 55933 func (s *HyperParameterTuningJobWarmStartConfig) Validate() error { 55934 invalidParams := request.ErrInvalidParams{Context: "HyperParameterTuningJobWarmStartConfig"} 55935 if s.ParentHyperParameterTuningJobs == nil { 55936 invalidParams.Add(request.NewErrParamRequired("ParentHyperParameterTuningJobs")) 55937 } 55938 if s.ParentHyperParameterTuningJobs != nil && len(s.ParentHyperParameterTuningJobs) < 1 { 55939 invalidParams.Add(request.NewErrParamMinLen("ParentHyperParameterTuningJobs", 1)) 55940 } 55941 if s.WarmStartType == nil { 55942 invalidParams.Add(request.NewErrParamRequired("WarmStartType")) 55943 } 55944 if s.ParentHyperParameterTuningJobs != nil { 55945 for i, v := range s.ParentHyperParameterTuningJobs { 55946 if v == nil { 55947 continue 55948 } 55949 if err := v.Validate(); err != nil { 55950 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ParentHyperParameterTuningJobs", i), err.(request.ErrInvalidParams)) 55951 } 55952 } 55953 } 55954 55955 if invalidParams.Len() > 0 { 55956 return invalidParams 55957 } 55958 return nil 55959 } 55960 55961 // SetParentHyperParameterTuningJobs sets the ParentHyperParameterTuningJobs field's value. 55962 func (s *HyperParameterTuningJobWarmStartConfig) SetParentHyperParameterTuningJobs(v []*ParentHyperParameterTuningJob) *HyperParameterTuningJobWarmStartConfig { 55963 s.ParentHyperParameterTuningJobs = v 55964 return s 55965 } 55966 55967 // SetWarmStartType sets the WarmStartType field's value. 55968 func (s *HyperParameterTuningJobWarmStartConfig) SetWarmStartType(v string) *HyperParameterTuningJobWarmStartConfig { 55969 s.WarmStartType = &v 55970 return s 55971 } 55972 55973 // A SageMaker image. A SageMaker image represents a set of container images 55974 // that are derived from a common base container image. Each of these container 55975 // images is represented by a SageMaker ImageVersion. 55976 type Image struct { 55977 _ struct{} `type:"structure"` 55978 55979 // When the image was created. 55980 // 55981 // CreationTime is a required field 55982 CreationTime *time.Time `type:"timestamp" required:"true"` 55983 55984 // The description of the image. 55985 Description *string `min:"1" type:"string"` 55986 55987 // The name of the image as displayed. 55988 DisplayName *string `min:"1" type:"string"` 55989 55990 // When a create, update, or delete operation fails, the reason for the failure. 55991 FailureReason *string `type:"string"` 55992 55993 // The Amazon Resource Name (ARN) of the image. 55994 // 55995 // ImageArn is a required field 55996 ImageArn *string `type:"string" required:"true"` 55997 55998 // The name of the image. 55999 // 56000 // ImageName is a required field 56001 ImageName *string `min:"1" type:"string" required:"true"` 56002 56003 // The status of the image. 56004 // 56005 // ImageStatus is a required field 56006 ImageStatus *string `type:"string" required:"true" enum:"ImageStatus"` 56007 56008 // When the image was last modified. 56009 // 56010 // LastModifiedTime is a required field 56011 LastModifiedTime *time.Time `type:"timestamp" required:"true"` 56012 } 56013 56014 // String returns the string representation. 56015 // 56016 // API parameter values that are decorated as "sensitive" in the API will not 56017 // be included in the string output. The member name will be present, but the 56018 // value will be replaced with "sensitive". 56019 func (s Image) String() string { 56020 return awsutil.Prettify(s) 56021 } 56022 56023 // GoString returns the string representation. 56024 // 56025 // API parameter values that are decorated as "sensitive" in the API will not 56026 // be included in the string output. The member name will be present, but the 56027 // value will be replaced with "sensitive". 56028 func (s Image) GoString() string { 56029 return s.String() 56030 } 56031 56032 // SetCreationTime sets the CreationTime field's value. 56033 func (s *Image) SetCreationTime(v time.Time) *Image { 56034 s.CreationTime = &v 56035 return s 56036 } 56037 56038 // SetDescription sets the Description field's value. 56039 func (s *Image) SetDescription(v string) *Image { 56040 s.Description = &v 56041 return s 56042 } 56043 56044 // SetDisplayName sets the DisplayName field's value. 56045 func (s *Image) SetDisplayName(v string) *Image { 56046 s.DisplayName = &v 56047 return s 56048 } 56049 56050 // SetFailureReason sets the FailureReason field's value. 56051 func (s *Image) SetFailureReason(v string) *Image { 56052 s.FailureReason = &v 56053 return s 56054 } 56055 56056 // SetImageArn sets the ImageArn field's value. 56057 func (s *Image) SetImageArn(v string) *Image { 56058 s.ImageArn = &v 56059 return s 56060 } 56061 56062 // SetImageName sets the ImageName field's value. 56063 func (s *Image) SetImageName(v string) *Image { 56064 s.ImageName = &v 56065 return s 56066 } 56067 56068 // SetImageStatus sets the ImageStatus field's value. 56069 func (s *Image) SetImageStatus(v string) *Image { 56070 s.ImageStatus = &v 56071 return s 56072 } 56073 56074 // SetLastModifiedTime sets the LastModifiedTime field's value. 56075 func (s *Image) SetLastModifiedTime(v time.Time) *Image { 56076 s.LastModifiedTime = &v 56077 return s 56078 } 56079 56080 // Specifies whether the model container is in Amazon ECR or a private Docker 56081 // registry accessible from your Amazon Virtual Private Cloud (VPC). 56082 type ImageConfig struct { 56083 _ struct{} `type:"structure"` 56084 56085 // Set this to one of the following values: 56086 // 56087 // * Platform - The model image is hosted in Amazon ECR. 56088 // 56089 // * Vpc - The model image is hosted in a private Docker registry in your 56090 // VPC. 56091 // 56092 // RepositoryAccessMode is a required field 56093 RepositoryAccessMode *string `type:"string" required:"true" enum:"RepositoryAccessMode"` 56094 56095 // (Optional) Specifies an authentication configuration for the private docker 56096 // registry where your model image is hosted. Specify a value for this property 56097 // only if you specified Vpc as the value for the RepositoryAccessMode field, 56098 // and the private Docker registry where the model image is hosted requires 56099 // authentication. 56100 RepositoryAuthConfig *RepositoryAuthConfig `type:"structure"` 56101 } 56102 56103 // String returns the string representation. 56104 // 56105 // API parameter values that are decorated as "sensitive" in the API will not 56106 // be included in the string output. The member name will be present, but the 56107 // value will be replaced with "sensitive". 56108 func (s ImageConfig) String() string { 56109 return awsutil.Prettify(s) 56110 } 56111 56112 // GoString returns the string representation. 56113 // 56114 // API parameter values that are decorated as "sensitive" in the API will not 56115 // be included in the string output. The member name will be present, but the 56116 // value will be replaced with "sensitive". 56117 func (s ImageConfig) GoString() string { 56118 return s.String() 56119 } 56120 56121 // Validate inspects the fields of the type to determine if they are valid. 56122 func (s *ImageConfig) Validate() error { 56123 invalidParams := request.ErrInvalidParams{Context: "ImageConfig"} 56124 if s.RepositoryAccessMode == nil { 56125 invalidParams.Add(request.NewErrParamRequired("RepositoryAccessMode")) 56126 } 56127 if s.RepositoryAuthConfig != nil { 56128 if err := s.RepositoryAuthConfig.Validate(); err != nil { 56129 invalidParams.AddNested("RepositoryAuthConfig", err.(request.ErrInvalidParams)) 56130 } 56131 } 56132 56133 if invalidParams.Len() > 0 { 56134 return invalidParams 56135 } 56136 return nil 56137 } 56138 56139 // SetRepositoryAccessMode sets the RepositoryAccessMode field's value. 56140 func (s *ImageConfig) SetRepositoryAccessMode(v string) *ImageConfig { 56141 s.RepositoryAccessMode = &v 56142 return s 56143 } 56144 56145 // SetRepositoryAuthConfig sets the RepositoryAuthConfig field's value. 56146 func (s *ImageConfig) SetRepositoryAuthConfig(v *RepositoryAuthConfig) *ImageConfig { 56147 s.RepositoryAuthConfig = v 56148 return s 56149 } 56150 56151 // A version of a SageMaker Image. A version represents an existing container 56152 // image. 56153 type ImageVersion struct { 56154 _ struct{} `type:"structure"` 56155 56156 // When the version was created. 56157 // 56158 // CreationTime is a required field 56159 CreationTime *time.Time `type:"timestamp" required:"true"` 56160 56161 // When a create or delete operation fails, the reason for the failure. 56162 FailureReason *string `type:"string"` 56163 56164 // The Amazon Resource Name (ARN) of the image the version is based on. 56165 // 56166 // ImageArn is a required field 56167 ImageArn *string `type:"string" required:"true"` 56168 56169 // The ARN of the version. 56170 // 56171 // ImageVersionArn is a required field 56172 ImageVersionArn *string `type:"string" required:"true"` 56173 56174 // The status of the version. 56175 // 56176 // ImageVersionStatus is a required field 56177 ImageVersionStatus *string `type:"string" required:"true" enum:"ImageVersionStatus"` 56178 56179 // When the version was last modified. 56180 // 56181 // LastModifiedTime is a required field 56182 LastModifiedTime *time.Time `type:"timestamp" required:"true"` 56183 56184 // The version number. 56185 // 56186 // Version is a required field 56187 Version *int64 `type:"integer" required:"true"` 56188 } 56189 56190 // String returns the string representation. 56191 // 56192 // API parameter values that are decorated as "sensitive" in the API will not 56193 // be included in the string output. The member name will be present, but the 56194 // value will be replaced with "sensitive". 56195 func (s ImageVersion) String() string { 56196 return awsutil.Prettify(s) 56197 } 56198 56199 // GoString returns the string representation. 56200 // 56201 // API parameter values that are decorated as "sensitive" in the API will not 56202 // be included in the string output. The member name will be present, but the 56203 // value will be replaced with "sensitive". 56204 func (s ImageVersion) GoString() string { 56205 return s.String() 56206 } 56207 56208 // SetCreationTime sets the CreationTime field's value. 56209 func (s *ImageVersion) SetCreationTime(v time.Time) *ImageVersion { 56210 s.CreationTime = &v 56211 return s 56212 } 56213 56214 // SetFailureReason sets the FailureReason field's value. 56215 func (s *ImageVersion) SetFailureReason(v string) *ImageVersion { 56216 s.FailureReason = &v 56217 return s 56218 } 56219 56220 // SetImageArn sets the ImageArn field's value. 56221 func (s *ImageVersion) SetImageArn(v string) *ImageVersion { 56222 s.ImageArn = &v 56223 return s 56224 } 56225 56226 // SetImageVersionArn sets the ImageVersionArn field's value. 56227 func (s *ImageVersion) SetImageVersionArn(v string) *ImageVersion { 56228 s.ImageVersionArn = &v 56229 return s 56230 } 56231 56232 // SetImageVersionStatus sets the ImageVersionStatus field's value. 56233 func (s *ImageVersion) SetImageVersionStatus(v string) *ImageVersion { 56234 s.ImageVersionStatus = &v 56235 return s 56236 } 56237 56238 // SetLastModifiedTime sets the LastModifiedTime field's value. 56239 func (s *ImageVersion) SetLastModifiedTime(v time.Time) *ImageVersion { 56240 s.LastModifiedTime = &v 56241 return s 56242 } 56243 56244 // SetVersion sets the Version field's value. 56245 func (s *ImageVersion) SetVersion(v int64) *ImageVersion { 56246 s.Version = &v 56247 return s 56248 } 56249 56250 // Specifies details about how containers in a multi-container endpoint are 56251 // run. 56252 type InferenceExecutionConfig struct { 56253 _ struct{} `type:"structure"` 56254 56255 // How containers in a multi-container are run. The following values are valid. 56256 // 56257 // * SERIAL - Containers run as a serial pipeline. 56258 // 56259 // * DIRECT - Only the individual container that you specify is run. 56260 // 56261 // Mode is a required field 56262 Mode *string `type:"string" required:"true" enum:"InferenceExecutionMode"` 56263 } 56264 56265 // String returns the string representation. 56266 // 56267 // API parameter values that are decorated as "sensitive" in the API will not 56268 // be included in the string output. The member name will be present, but the 56269 // value will be replaced with "sensitive". 56270 func (s InferenceExecutionConfig) String() string { 56271 return awsutil.Prettify(s) 56272 } 56273 56274 // GoString returns the string representation. 56275 // 56276 // API parameter values that are decorated as "sensitive" in the API will not 56277 // be included in the string output. The member name will be present, but the 56278 // value will be replaced with "sensitive". 56279 func (s InferenceExecutionConfig) GoString() string { 56280 return s.String() 56281 } 56282 56283 // Validate inspects the fields of the type to determine if they are valid. 56284 func (s *InferenceExecutionConfig) Validate() error { 56285 invalidParams := request.ErrInvalidParams{Context: "InferenceExecutionConfig"} 56286 if s.Mode == nil { 56287 invalidParams.Add(request.NewErrParamRequired("Mode")) 56288 } 56289 56290 if invalidParams.Len() > 0 { 56291 return invalidParams 56292 } 56293 return nil 56294 } 56295 56296 // SetMode sets the Mode field's value. 56297 func (s *InferenceExecutionConfig) SetMode(v string) *InferenceExecutionConfig { 56298 s.Mode = &v 56299 return s 56300 } 56301 56302 // Defines how to perform inference generation after a training job is run. 56303 type InferenceSpecification struct { 56304 _ struct{} `type:"structure"` 56305 56306 // The Amazon ECR registry path of the Docker image that contains the inference 56307 // code. 56308 // 56309 // Containers is a required field 56310 Containers []*ModelPackageContainerDefinition `min:"1" type:"list" required:"true"` 56311 56312 // The supported MIME types for the input data. 56313 // 56314 // SupportedContentTypes is a required field 56315 SupportedContentTypes []*string `type:"list" required:"true"` 56316 56317 // A list of the instance types that are used to generate inferences in real-time. 56318 // 56319 // This parameter is required for unversioned models, and optional for versioned 56320 // models. 56321 SupportedRealtimeInferenceInstanceTypes []*string `type:"list"` 56322 56323 // The supported MIME types for the output data. 56324 // 56325 // SupportedResponseMIMETypes is a required field 56326 SupportedResponseMIMETypes []*string `type:"list" required:"true"` 56327 56328 // A list of the instance types on which a transformation job can be run or 56329 // on which an endpoint can be deployed. 56330 // 56331 // This parameter is required for unversioned models, and optional for versioned 56332 // models. 56333 SupportedTransformInstanceTypes []*string `min:"1" type:"list"` 56334 } 56335 56336 // String returns the string representation. 56337 // 56338 // API parameter values that are decorated as "sensitive" in the API will not 56339 // be included in the string output. The member name will be present, but the 56340 // value will be replaced with "sensitive". 56341 func (s InferenceSpecification) String() string { 56342 return awsutil.Prettify(s) 56343 } 56344 56345 // GoString returns the string representation. 56346 // 56347 // API parameter values that are decorated as "sensitive" in the API will not 56348 // be included in the string output. The member name will be present, but the 56349 // value will be replaced with "sensitive". 56350 func (s InferenceSpecification) GoString() string { 56351 return s.String() 56352 } 56353 56354 // Validate inspects the fields of the type to determine if they are valid. 56355 func (s *InferenceSpecification) Validate() error { 56356 invalidParams := request.ErrInvalidParams{Context: "InferenceSpecification"} 56357 if s.Containers == nil { 56358 invalidParams.Add(request.NewErrParamRequired("Containers")) 56359 } 56360 if s.Containers != nil && len(s.Containers) < 1 { 56361 invalidParams.Add(request.NewErrParamMinLen("Containers", 1)) 56362 } 56363 if s.SupportedContentTypes == nil { 56364 invalidParams.Add(request.NewErrParamRequired("SupportedContentTypes")) 56365 } 56366 if s.SupportedResponseMIMETypes == nil { 56367 invalidParams.Add(request.NewErrParamRequired("SupportedResponseMIMETypes")) 56368 } 56369 if s.SupportedTransformInstanceTypes != nil && len(s.SupportedTransformInstanceTypes) < 1 { 56370 invalidParams.Add(request.NewErrParamMinLen("SupportedTransformInstanceTypes", 1)) 56371 } 56372 if s.Containers != nil { 56373 for i, v := range s.Containers { 56374 if v == nil { 56375 continue 56376 } 56377 if err := v.Validate(); err != nil { 56378 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Containers", i), err.(request.ErrInvalidParams)) 56379 } 56380 } 56381 } 56382 56383 if invalidParams.Len() > 0 { 56384 return invalidParams 56385 } 56386 return nil 56387 } 56388 56389 // SetContainers sets the Containers field's value. 56390 func (s *InferenceSpecification) SetContainers(v []*ModelPackageContainerDefinition) *InferenceSpecification { 56391 s.Containers = v 56392 return s 56393 } 56394 56395 // SetSupportedContentTypes sets the SupportedContentTypes field's value. 56396 func (s *InferenceSpecification) SetSupportedContentTypes(v []*string) *InferenceSpecification { 56397 s.SupportedContentTypes = v 56398 return s 56399 } 56400 56401 // SetSupportedRealtimeInferenceInstanceTypes sets the SupportedRealtimeInferenceInstanceTypes field's value. 56402 func (s *InferenceSpecification) SetSupportedRealtimeInferenceInstanceTypes(v []*string) *InferenceSpecification { 56403 s.SupportedRealtimeInferenceInstanceTypes = v 56404 return s 56405 } 56406 56407 // SetSupportedResponseMIMETypes sets the SupportedResponseMIMETypes field's value. 56408 func (s *InferenceSpecification) SetSupportedResponseMIMETypes(v []*string) *InferenceSpecification { 56409 s.SupportedResponseMIMETypes = v 56410 return s 56411 } 56412 56413 // SetSupportedTransformInstanceTypes sets the SupportedTransformInstanceTypes field's value. 56414 func (s *InferenceSpecification) SetSupportedTransformInstanceTypes(v []*string) *InferenceSpecification { 56415 s.SupportedTransformInstanceTypes = v 56416 return s 56417 } 56418 56419 // Contains information about the location of input model artifacts, the name 56420 // and shape of the expected data inputs, and the framework in which the model 56421 // was trained. 56422 type InputConfig struct { 56423 _ struct{} `type:"structure"` 56424 56425 // Specifies the name and shape of the expected data inputs for your trained 56426 // model with a JSON dictionary form. The data inputs are InputConfig$Framework 56427 // specific. 56428 // 56429 // * TensorFlow: You must specify the name and shape (NHWC format) of the 56430 // expected data inputs using a dictionary format for your trained model. 56431 // The dictionary formats required for the console and CLI are different. 56432 // Examples for one input: If using the console, {"input":[1,1024,1024,3]} 56433 // If using the CLI, {\"input\":[1,1024,1024,3]} Examples for two inputs: 56434 // If using the console, {"data1": [1,28,28,1], "data2":[1,28,28,1]} If using 56435 // the CLI, {\"data1\": [1,28,28,1], \"data2\":[1,28,28,1]} 56436 // 56437 // * KERAS: You must specify the name and shape (NCHW format) of expected 56438 // data inputs using a dictionary format for your trained model. Note that 56439 // while Keras model artifacts should be uploaded in NHWC (channel-last) 56440 // format, DataInputConfig should be specified in NCHW (channel-first) format. 56441 // The dictionary formats required for the console and CLI are different. 56442 // Examples for one input: If using the console, {"input_1":[1,3,224,224]} 56443 // If using the CLI, {\"input_1\":[1,3,224,224]} Examples for two inputs: 56444 // If using the console, {"input_1": [1,3,224,224], "input_2":[1,3,224,224]} 56445 // If using the CLI, {\"input_1\": [1,3,224,224], \"input_2\":[1,3,224,224]} 56446 // 56447 // * MXNET/ONNX/DARKNET: You must specify the name and shape (NCHW format) 56448 // of the expected data inputs in order using a dictionary format for your 56449 // trained model. The dictionary formats required for the console and CLI 56450 // are different. Examples for one input: If using the console, {"data":[1,3,1024,1024]} 56451 // If using the CLI, {\"data\":[1,3,1024,1024]} Examples for two inputs: 56452 // If using the console, {"var1": [1,1,28,28], "var2":[1,1,28,28]} If using 56453 // the CLI, {\"var1\": [1,1,28,28], \"var2\":[1,1,28,28]} 56454 // 56455 // * PyTorch: You can either specify the name and shape (NCHW format) of 56456 // expected data inputs in order using a dictionary format for your trained 56457 // model or you can specify the shape only using a list format. The dictionary 56458 // formats required for the console and CLI are different. The list formats 56459 // for the console and CLI are the same. Examples for one input in dictionary 56460 // format: If using the console, {"input0":[1,3,224,224]} If using the CLI, 56461 // {\"input0\":[1,3,224,224]} Example for one input in list format: [[1,3,224,224]] 56462 // Examples for two inputs in dictionary format: If using the console, {"input0":[1,3,224,224], 56463 // "input1":[1,3,224,224]} If using the CLI, {\"input0\":[1,3,224,224], \"input1\":[1,3,224,224]} 56464 // Example for two inputs in list format: [[1,3,224,224], [1,3,224,224]] 56465 // 56466 // * XGBOOST: input data name and shape are not needed. 56467 // 56468 // DataInputConfig supports the following parameters for CoreML OutputConfig$TargetDevice 56469 // (ML Model format): 56470 // 56471 // * shape: Input shape, for example {"input_1": {"shape": [1,224,224,3]}}. 56472 // In addition to static input shapes, CoreML converter supports Flexible 56473 // input shapes: Range Dimension. You can use the Range Dimension feature 56474 // if you know the input shape will be within some specific interval in that 56475 // dimension, for example: {"input_1": {"shape": ["1..10", 224, 224, 3]}} 56476 // Enumerated shapes. Sometimes, the models are trained to work only on a 56477 // select set of inputs. You can enumerate all supported input shapes, for 56478 // example: {"input_1": {"shape": [[1, 224, 224, 3], [1, 160, 160, 3]]}} 56479 // 56480 // * default_shape: Default input shape. You can set a default shape during 56481 // conversion for both Range Dimension and Enumerated Shapes. For example 56482 // {"input_1": {"shape": ["1..10", 224, 224, 3], "default_shape": [1, 224, 56483 // 224, 3]}} 56484 // 56485 // * type: Input type. Allowed values: Image and Tensor. By default, the 56486 // converter generates an ML Model with inputs of type Tensor (MultiArray). 56487 // User can set input type to be Image. Image input type requires additional 56488 // input parameters such as bias and scale. 56489 // 56490 // * bias: If the input type is an Image, you need to provide the bias vector. 56491 // 56492 // * scale: If the input type is an Image, you need to provide a scale factor. 56493 // 56494 // CoreML ClassifierConfig parameters can be specified using OutputConfig$CompilerOptions. 56495 // CoreML converter supports Tensorflow and PyTorch models. CoreML conversion 56496 // examples: 56497 // 56498 // * Tensor type input: "DataInputConfig": {"input_1": {"shape": [[1,224,224,3], 56499 // [1,160,160,3]], "default_shape": [1,224,224,3]}} 56500 // 56501 // * Tensor type input without input name (PyTorch): "DataInputConfig": [{"shape": 56502 // [[1,3,224,224], [1,3,160,160]], "default_shape": [1,3,224,224]}] 56503 // 56504 // * Image type input: "DataInputConfig": {"input_1": {"shape": [[1,224,224,3], 56505 // [1,160,160,3]], "default_shape": [1,224,224,3], "type": "Image", "bias": 56506 // [-1,-1,-1], "scale": 0.007843137255}} "CompilerOptions": {"class_labels": 56507 // "imagenet_labels_1000.txt"} 56508 // 56509 // * Image type input without input name (PyTorch): "DataInputConfig": [{"shape": 56510 // [[1,3,224,224], [1,3,160,160]], "default_shape": [1,3,224,224], "type": 56511 // "Image", "bias": [-1,-1,-1], "scale": 0.007843137255}] "CompilerOptions": 56512 // {"class_labels": "imagenet_labels_1000.txt"} 56513 // 56514 // Depending on the model format, DataInputConfig requires the following parameters 56515 // for ml_eia2 OutputConfig:TargetDevice (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_OutputConfig.html#sagemaker-Type-OutputConfig-TargetDevice). 56516 // 56517 // * For TensorFlow models saved in the SavedModel format, specify the input 56518 // names from signature_def_key and the input model shapes for DataInputConfig. 56519 // Specify the signature_def_key in OutputConfig:CompilerOptions (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_OutputConfig.html#sagemaker-Type-OutputConfig-CompilerOptions) 56520 // if the model does not use TensorFlow's default signature def key. For 56521 // example: "DataInputConfig": {"inputs": [1, 224, 224, 3]} "CompilerOptions": 56522 // {"signature_def_key": "serving_custom"} 56523 // 56524 // * For TensorFlow models saved as a frozen graph, specify the input tensor 56525 // names and shapes in DataInputConfig and the output tensor names for output_names 56526 // in OutputConfig:CompilerOptions (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_OutputConfig.html#sagemaker-Type-OutputConfig-CompilerOptions). 56527 // For example: "DataInputConfig": {"input_tensor:0": [1, 224, 224, 3]} "CompilerOptions": 56528 // {"output_names": ["output_tensor:0"]} 56529 // 56530 // DataInputConfig is a required field 56531 DataInputConfig *string `min:"1" type:"string" required:"true"` 56532 56533 // Identifies the framework in which the model was trained. For example: TENSORFLOW. 56534 // 56535 // Framework is a required field 56536 Framework *string `type:"string" required:"true" enum:"Framework"` 56537 56538 // Specifies the framework version to use. 56539 // 56540 // This API field is only supported for PyTorch framework versions 1.4, 1.5, 56541 // and 1.6 for cloud instance target devices: ml_c4, ml_c5, ml_m4, ml_m5, ml_p2, 56542 // ml_p3, and ml_g4dn. 56543 FrameworkVersion *string `min:"3" type:"string"` 56544 56545 // The S3 path where the model artifacts, which result from model training, 56546 // are stored. This path must point to a single gzip compressed tar archive 56547 // (.tar.gz suffix). 56548 // 56549 // S3Uri is a required field 56550 S3Uri *string `type:"string" required:"true"` 56551 } 56552 56553 // String returns the string representation. 56554 // 56555 // API parameter values that are decorated as "sensitive" in the API will not 56556 // be included in the string output. The member name will be present, but the 56557 // value will be replaced with "sensitive". 56558 func (s InputConfig) String() string { 56559 return awsutil.Prettify(s) 56560 } 56561 56562 // GoString returns the string representation. 56563 // 56564 // API parameter values that are decorated as "sensitive" in the API will not 56565 // be included in the string output. The member name will be present, but the 56566 // value will be replaced with "sensitive". 56567 func (s InputConfig) GoString() string { 56568 return s.String() 56569 } 56570 56571 // Validate inspects the fields of the type to determine if they are valid. 56572 func (s *InputConfig) Validate() error { 56573 invalidParams := request.ErrInvalidParams{Context: "InputConfig"} 56574 if s.DataInputConfig == nil { 56575 invalidParams.Add(request.NewErrParamRequired("DataInputConfig")) 56576 } 56577 if s.DataInputConfig != nil && len(*s.DataInputConfig) < 1 { 56578 invalidParams.Add(request.NewErrParamMinLen("DataInputConfig", 1)) 56579 } 56580 if s.Framework == nil { 56581 invalidParams.Add(request.NewErrParamRequired("Framework")) 56582 } 56583 if s.FrameworkVersion != nil && len(*s.FrameworkVersion) < 3 { 56584 invalidParams.Add(request.NewErrParamMinLen("FrameworkVersion", 3)) 56585 } 56586 if s.S3Uri == nil { 56587 invalidParams.Add(request.NewErrParamRequired("S3Uri")) 56588 } 56589 56590 if invalidParams.Len() > 0 { 56591 return invalidParams 56592 } 56593 return nil 56594 } 56595 56596 // SetDataInputConfig sets the DataInputConfig field's value. 56597 func (s *InputConfig) SetDataInputConfig(v string) *InputConfig { 56598 s.DataInputConfig = &v 56599 return s 56600 } 56601 56602 // SetFramework sets the Framework field's value. 56603 func (s *InputConfig) SetFramework(v string) *InputConfig { 56604 s.Framework = &v 56605 return s 56606 } 56607 56608 // SetFrameworkVersion sets the FrameworkVersion field's value. 56609 func (s *InputConfig) SetFrameworkVersion(v string) *InputConfig { 56610 s.FrameworkVersion = &v 56611 return s 56612 } 56613 56614 // SetS3Uri sets the S3Uri field's value. 56615 func (s *InputConfig) SetS3Uri(v string) *InputConfig { 56616 s.S3Uri = &v 56617 return s 56618 } 56619 56620 // For a hyperparameter of the integer type, specifies the range that a hyperparameter 56621 // tuning job searches. 56622 type IntegerParameterRange struct { 56623 _ struct{} `type:"structure"` 56624 56625 // The maximum value of the hyperparameter to search. 56626 // 56627 // MaxValue is a required field 56628 MaxValue *string `type:"string" required:"true"` 56629 56630 // The minimum value of the hyperparameter to search. 56631 // 56632 // MinValue is a required field 56633 MinValue *string `type:"string" required:"true"` 56634 56635 // The name of the hyperparameter to search. 56636 // 56637 // Name is a required field 56638 Name *string `type:"string" required:"true"` 56639 56640 // The scale that hyperparameter tuning uses to search the hyperparameter range. 56641 // For information about choosing a hyperparameter scale, see Hyperparameter 56642 // Scaling (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-define-ranges.html#scaling-type). 56643 // One of the following values: 56644 // 56645 // Auto 56646 // 56647 // Amazon SageMaker hyperparameter tuning chooses the best scale for the hyperparameter. 56648 // 56649 // Linear 56650 // 56651 // Hyperparameter tuning searches the values in the hyperparameter range by 56652 // using a linear scale. 56653 // 56654 // Logarithmic 56655 // 56656 // Hyperparameter tuning searches the values in the hyperparameter range by 56657 // using a logarithmic scale. 56658 // 56659 // Logarithmic scaling works only for ranges that have only values greater than 56660 // 0. 56661 ScalingType *string `type:"string" enum:"HyperParameterScalingType"` 56662 } 56663 56664 // String returns the string representation. 56665 // 56666 // API parameter values that are decorated as "sensitive" in the API will not 56667 // be included in the string output. The member name will be present, but the 56668 // value will be replaced with "sensitive". 56669 func (s IntegerParameterRange) String() string { 56670 return awsutil.Prettify(s) 56671 } 56672 56673 // GoString returns the string representation. 56674 // 56675 // API parameter values that are decorated as "sensitive" in the API will not 56676 // be included in the string output. The member name will be present, but the 56677 // value will be replaced with "sensitive". 56678 func (s IntegerParameterRange) GoString() string { 56679 return s.String() 56680 } 56681 56682 // Validate inspects the fields of the type to determine if they are valid. 56683 func (s *IntegerParameterRange) Validate() error { 56684 invalidParams := request.ErrInvalidParams{Context: "IntegerParameterRange"} 56685 if s.MaxValue == nil { 56686 invalidParams.Add(request.NewErrParamRequired("MaxValue")) 56687 } 56688 if s.MinValue == nil { 56689 invalidParams.Add(request.NewErrParamRequired("MinValue")) 56690 } 56691 if s.Name == nil { 56692 invalidParams.Add(request.NewErrParamRequired("Name")) 56693 } 56694 56695 if invalidParams.Len() > 0 { 56696 return invalidParams 56697 } 56698 return nil 56699 } 56700 56701 // SetMaxValue sets the MaxValue field's value. 56702 func (s *IntegerParameterRange) SetMaxValue(v string) *IntegerParameterRange { 56703 s.MaxValue = &v 56704 return s 56705 } 56706 56707 // SetMinValue sets the MinValue field's value. 56708 func (s *IntegerParameterRange) SetMinValue(v string) *IntegerParameterRange { 56709 s.MinValue = &v 56710 return s 56711 } 56712 56713 // SetName sets the Name field's value. 56714 func (s *IntegerParameterRange) SetName(v string) *IntegerParameterRange { 56715 s.Name = &v 56716 return s 56717 } 56718 56719 // SetScalingType sets the ScalingType field's value. 56720 func (s *IntegerParameterRange) SetScalingType(v string) *IntegerParameterRange { 56721 s.ScalingType = &v 56722 return s 56723 } 56724 56725 // Defines the possible values for an integer hyperparameter. 56726 type IntegerParameterRangeSpecification struct { 56727 _ struct{} `type:"structure"` 56728 56729 // The maximum integer value allowed. 56730 // 56731 // MaxValue is a required field 56732 MaxValue *string `type:"string" required:"true"` 56733 56734 // The minimum integer value allowed. 56735 // 56736 // MinValue is a required field 56737 MinValue *string `type:"string" required:"true"` 56738 } 56739 56740 // String returns the string representation. 56741 // 56742 // API parameter values that are decorated as "sensitive" in the API will not 56743 // be included in the string output. The member name will be present, but the 56744 // value will be replaced with "sensitive". 56745 func (s IntegerParameterRangeSpecification) String() string { 56746 return awsutil.Prettify(s) 56747 } 56748 56749 // GoString returns the string representation. 56750 // 56751 // API parameter values that are decorated as "sensitive" in the API will not 56752 // be included in the string output. The member name will be present, but the 56753 // value will be replaced with "sensitive". 56754 func (s IntegerParameterRangeSpecification) GoString() string { 56755 return s.String() 56756 } 56757 56758 // Validate inspects the fields of the type to determine if they are valid. 56759 func (s *IntegerParameterRangeSpecification) Validate() error { 56760 invalidParams := request.ErrInvalidParams{Context: "IntegerParameterRangeSpecification"} 56761 if s.MaxValue == nil { 56762 invalidParams.Add(request.NewErrParamRequired("MaxValue")) 56763 } 56764 if s.MinValue == nil { 56765 invalidParams.Add(request.NewErrParamRequired("MinValue")) 56766 } 56767 56768 if invalidParams.Len() > 0 { 56769 return invalidParams 56770 } 56771 return nil 56772 } 56773 56774 // SetMaxValue sets the MaxValue field's value. 56775 func (s *IntegerParameterRangeSpecification) SetMaxValue(v string) *IntegerParameterRangeSpecification { 56776 s.MaxValue = &v 56777 return s 56778 } 56779 56780 // SetMinValue sets the MinValue field's value. 56781 func (s *IntegerParameterRangeSpecification) SetMinValue(v string) *IntegerParameterRangeSpecification { 56782 s.MinValue = &v 56783 return s 56784 } 56785 56786 // The JupyterServer app settings. 56787 type JupyterServerAppSettings struct { 56788 _ struct{} `type:"structure"` 56789 56790 // The default instance type and the Amazon Resource Name (ARN) of the default 56791 // SageMaker image used by the JupyterServer app. 56792 DefaultResourceSpec *ResourceSpec `type:"structure"` 56793 56794 // The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to 56795 // the JupyterServerApp. 56796 LifecycleConfigArns []*string `type:"list"` 56797 } 56798 56799 // String returns the string representation. 56800 // 56801 // API parameter values that are decorated as "sensitive" in the API will not 56802 // be included in the string output. The member name will be present, but the 56803 // value will be replaced with "sensitive". 56804 func (s JupyterServerAppSettings) String() string { 56805 return awsutil.Prettify(s) 56806 } 56807 56808 // GoString returns the string representation. 56809 // 56810 // API parameter values that are decorated as "sensitive" in the API will not 56811 // be included in the string output. The member name will be present, but the 56812 // value will be replaced with "sensitive". 56813 func (s JupyterServerAppSettings) GoString() string { 56814 return s.String() 56815 } 56816 56817 // SetDefaultResourceSpec sets the DefaultResourceSpec field's value. 56818 func (s *JupyterServerAppSettings) SetDefaultResourceSpec(v *ResourceSpec) *JupyterServerAppSettings { 56819 s.DefaultResourceSpec = v 56820 return s 56821 } 56822 56823 // SetLifecycleConfigArns sets the LifecycleConfigArns field's value. 56824 func (s *JupyterServerAppSettings) SetLifecycleConfigArns(v []*string) *JupyterServerAppSettings { 56825 s.LifecycleConfigArns = v 56826 return s 56827 } 56828 56829 // The KernelGateway app settings. 56830 type KernelGatewayAppSettings struct { 56831 _ struct{} `type:"structure"` 56832 56833 // A list of custom SageMaker images that are configured to run as a KernelGateway 56834 // app. 56835 CustomImages []*CustomImage `type:"list"` 56836 56837 // The default instance type and the Amazon Resource Name (ARN) of the default 56838 // SageMaker image used by the KernelGateway app. 56839 DefaultResourceSpec *ResourceSpec `type:"structure"` 56840 56841 // The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to 56842 // the the user profile or domain. 56843 LifecycleConfigArns []*string `type:"list"` 56844 } 56845 56846 // String returns the string representation. 56847 // 56848 // API parameter values that are decorated as "sensitive" in the API will not 56849 // be included in the string output. The member name will be present, but the 56850 // value will be replaced with "sensitive". 56851 func (s KernelGatewayAppSettings) String() string { 56852 return awsutil.Prettify(s) 56853 } 56854 56855 // GoString returns the string representation. 56856 // 56857 // API parameter values that are decorated as "sensitive" in the API will not 56858 // be included in the string output. The member name will be present, but the 56859 // value will be replaced with "sensitive". 56860 func (s KernelGatewayAppSettings) GoString() string { 56861 return s.String() 56862 } 56863 56864 // Validate inspects the fields of the type to determine if they are valid. 56865 func (s *KernelGatewayAppSettings) Validate() error { 56866 invalidParams := request.ErrInvalidParams{Context: "KernelGatewayAppSettings"} 56867 if s.CustomImages != nil { 56868 for i, v := range s.CustomImages { 56869 if v == nil { 56870 continue 56871 } 56872 if err := v.Validate(); err != nil { 56873 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CustomImages", i), err.(request.ErrInvalidParams)) 56874 } 56875 } 56876 } 56877 56878 if invalidParams.Len() > 0 { 56879 return invalidParams 56880 } 56881 return nil 56882 } 56883 56884 // SetCustomImages sets the CustomImages field's value. 56885 func (s *KernelGatewayAppSettings) SetCustomImages(v []*CustomImage) *KernelGatewayAppSettings { 56886 s.CustomImages = v 56887 return s 56888 } 56889 56890 // SetDefaultResourceSpec sets the DefaultResourceSpec field's value. 56891 func (s *KernelGatewayAppSettings) SetDefaultResourceSpec(v *ResourceSpec) *KernelGatewayAppSettings { 56892 s.DefaultResourceSpec = v 56893 return s 56894 } 56895 56896 // SetLifecycleConfigArns sets the LifecycleConfigArns field's value. 56897 func (s *KernelGatewayAppSettings) SetLifecycleConfigArns(v []*string) *KernelGatewayAppSettings { 56898 s.LifecycleConfigArns = v 56899 return s 56900 } 56901 56902 // The configuration for the file system and kernels in a SageMaker image running 56903 // as a KernelGateway app. 56904 type KernelGatewayImageConfig struct { 56905 _ struct{} `type:"structure"` 56906 56907 // The Amazon Elastic File System (EFS) storage configuration for a SageMaker 56908 // image. 56909 FileSystemConfig *FileSystemConfig `type:"structure"` 56910 56911 // The specification of the Jupyter kernels in the image. 56912 // 56913 // KernelSpecs is a required field 56914 KernelSpecs []*KernelSpec `min:"1" type:"list" required:"true"` 56915 } 56916 56917 // String returns the string representation. 56918 // 56919 // API parameter values that are decorated as "sensitive" in the API will not 56920 // be included in the string output. The member name will be present, but the 56921 // value will be replaced with "sensitive". 56922 func (s KernelGatewayImageConfig) String() string { 56923 return awsutil.Prettify(s) 56924 } 56925 56926 // GoString returns the string representation. 56927 // 56928 // API parameter values that are decorated as "sensitive" in the API will not 56929 // be included in the string output. The member name will be present, but the 56930 // value will be replaced with "sensitive". 56931 func (s KernelGatewayImageConfig) GoString() string { 56932 return s.String() 56933 } 56934 56935 // Validate inspects the fields of the type to determine if they are valid. 56936 func (s *KernelGatewayImageConfig) Validate() error { 56937 invalidParams := request.ErrInvalidParams{Context: "KernelGatewayImageConfig"} 56938 if s.KernelSpecs == nil { 56939 invalidParams.Add(request.NewErrParamRequired("KernelSpecs")) 56940 } 56941 if s.KernelSpecs != nil && len(s.KernelSpecs) < 1 { 56942 invalidParams.Add(request.NewErrParamMinLen("KernelSpecs", 1)) 56943 } 56944 if s.KernelSpecs != nil { 56945 for i, v := range s.KernelSpecs { 56946 if v == nil { 56947 continue 56948 } 56949 if err := v.Validate(); err != nil { 56950 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "KernelSpecs", i), err.(request.ErrInvalidParams)) 56951 } 56952 } 56953 } 56954 56955 if invalidParams.Len() > 0 { 56956 return invalidParams 56957 } 56958 return nil 56959 } 56960 56961 // SetFileSystemConfig sets the FileSystemConfig field's value. 56962 func (s *KernelGatewayImageConfig) SetFileSystemConfig(v *FileSystemConfig) *KernelGatewayImageConfig { 56963 s.FileSystemConfig = v 56964 return s 56965 } 56966 56967 // SetKernelSpecs sets the KernelSpecs field's value. 56968 func (s *KernelGatewayImageConfig) SetKernelSpecs(v []*KernelSpec) *KernelGatewayImageConfig { 56969 s.KernelSpecs = v 56970 return s 56971 } 56972 56973 // The specification of a Jupyter kernel. 56974 type KernelSpec struct { 56975 _ struct{} `type:"structure"` 56976 56977 // The display name of the kernel. 56978 DisplayName *string `type:"string"` 56979 56980 // The name of the Jupyter kernel in the image. This value is case sensitive. 56981 // 56982 // Name is a required field 56983 Name *string `type:"string" required:"true"` 56984 } 56985 56986 // String returns the string representation. 56987 // 56988 // API parameter values that are decorated as "sensitive" in the API will not 56989 // be included in the string output. The member name will be present, but the 56990 // value will be replaced with "sensitive". 56991 func (s KernelSpec) String() string { 56992 return awsutil.Prettify(s) 56993 } 56994 56995 // GoString returns the string representation. 56996 // 56997 // API parameter values that are decorated as "sensitive" in the API will not 56998 // be included in the string output. The member name will be present, but the 56999 // value will be replaced with "sensitive". 57000 func (s KernelSpec) GoString() string { 57001 return s.String() 57002 } 57003 57004 // Validate inspects the fields of the type to determine if they are valid. 57005 func (s *KernelSpec) Validate() error { 57006 invalidParams := request.ErrInvalidParams{Context: "KernelSpec"} 57007 if s.Name == nil { 57008 invalidParams.Add(request.NewErrParamRequired("Name")) 57009 } 57010 57011 if invalidParams.Len() > 0 { 57012 return invalidParams 57013 } 57014 return nil 57015 } 57016 57017 // SetDisplayName sets the DisplayName field's value. 57018 func (s *KernelSpec) SetDisplayName(v string) *KernelSpec { 57019 s.DisplayName = &v 57020 return s 57021 } 57022 57023 // SetName sets the Name field's value. 57024 func (s *KernelSpec) SetName(v string) *KernelSpec { 57025 s.Name = &v 57026 return s 57027 } 57028 57029 // Provides a breakdown of the number of objects labeled. 57030 type LabelCounters struct { 57031 _ struct{} `type:"structure"` 57032 57033 // The total number of objects that could not be labeled due to an error. 57034 FailedNonRetryableError *int64 `type:"integer"` 57035 57036 // The total number of objects labeled by a human worker. 57037 HumanLabeled *int64 `type:"integer"` 57038 57039 // The total number of objects labeled by automated data labeling. 57040 MachineLabeled *int64 `type:"integer"` 57041 57042 // The total number of objects labeled. 57043 TotalLabeled *int64 `type:"integer"` 57044 57045 // The total number of objects not yet labeled. 57046 Unlabeled *int64 `type:"integer"` 57047 } 57048 57049 // String returns the string representation. 57050 // 57051 // API parameter values that are decorated as "sensitive" in the API will not 57052 // be included in the string output. The member name will be present, but the 57053 // value will be replaced with "sensitive". 57054 func (s LabelCounters) String() string { 57055 return awsutil.Prettify(s) 57056 } 57057 57058 // GoString returns the string representation. 57059 // 57060 // API parameter values that are decorated as "sensitive" in the API will not 57061 // be included in the string output. The member name will be present, but the 57062 // value will be replaced with "sensitive". 57063 func (s LabelCounters) GoString() string { 57064 return s.String() 57065 } 57066 57067 // SetFailedNonRetryableError sets the FailedNonRetryableError field's value. 57068 func (s *LabelCounters) SetFailedNonRetryableError(v int64) *LabelCounters { 57069 s.FailedNonRetryableError = &v 57070 return s 57071 } 57072 57073 // SetHumanLabeled sets the HumanLabeled field's value. 57074 func (s *LabelCounters) SetHumanLabeled(v int64) *LabelCounters { 57075 s.HumanLabeled = &v 57076 return s 57077 } 57078 57079 // SetMachineLabeled sets the MachineLabeled field's value. 57080 func (s *LabelCounters) SetMachineLabeled(v int64) *LabelCounters { 57081 s.MachineLabeled = &v 57082 return s 57083 } 57084 57085 // SetTotalLabeled sets the TotalLabeled field's value. 57086 func (s *LabelCounters) SetTotalLabeled(v int64) *LabelCounters { 57087 s.TotalLabeled = &v 57088 return s 57089 } 57090 57091 // SetUnlabeled sets the Unlabeled field's value. 57092 func (s *LabelCounters) SetUnlabeled(v int64) *LabelCounters { 57093 s.Unlabeled = &v 57094 return s 57095 } 57096 57097 // Provides counts for human-labeled tasks in the labeling job. 57098 type LabelCountersForWorkteam struct { 57099 _ struct{} `type:"structure"` 57100 57101 // The total number of data objects labeled by a human worker. 57102 HumanLabeled *int64 `type:"integer"` 57103 57104 // The total number of data objects that need to be labeled by a human worker. 57105 PendingHuman *int64 `type:"integer"` 57106 57107 // The total number of tasks in the labeling job. 57108 Total *int64 `type:"integer"` 57109 } 57110 57111 // String returns the string representation. 57112 // 57113 // API parameter values that are decorated as "sensitive" in the API will not 57114 // be included in the string output. The member name will be present, but the 57115 // value will be replaced with "sensitive". 57116 func (s LabelCountersForWorkteam) String() string { 57117 return awsutil.Prettify(s) 57118 } 57119 57120 // GoString returns the string representation. 57121 // 57122 // API parameter values that are decorated as "sensitive" in the API will not 57123 // be included in the string output. The member name will be present, but the 57124 // value will be replaced with "sensitive". 57125 func (s LabelCountersForWorkteam) GoString() string { 57126 return s.String() 57127 } 57128 57129 // SetHumanLabeled sets the HumanLabeled field's value. 57130 func (s *LabelCountersForWorkteam) SetHumanLabeled(v int64) *LabelCountersForWorkteam { 57131 s.HumanLabeled = &v 57132 return s 57133 } 57134 57135 // SetPendingHuman sets the PendingHuman field's value. 57136 func (s *LabelCountersForWorkteam) SetPendingHuman(v int64) *LabelCountersForWorkteam { 57137 s.PendingHuman = &v 57138 return s 57139 } 57140 57141 // SetTotal sets the Total field's value. 57142 func (s *LabelCountersForWorkteam) SetTotal(v int64) *LabelCountersForWorkteam { 57143 s.Total = &v 57144 return s 57145 } 57146 57147 // Provides configuration information for auto-labeling of your data objects. 57148 // A LabelingJobAlgorithmsConfig object must be supplied in order to use auto-labeling. 57149 type LabelingJobAlgorithmsConfig struct { 57150 _ struct{} `type:"structure"` 57151 57152 // At the end of an auto-label job Ground Truth sends the Amazon Resource Name 57153 // (ARN) of the final model used for auto-labeling. You can use this model as 57154 // the starting point for subsequent similar jobs by providing the ARN of the 57155 // model here. 57156 InitialActiveLearningModelArn *string `min:"20" type:"string"` 57157 57158 // Specifies the Amazon Resource Name (ARN) of the algorithm used for auto-labeling. 57159 // You must select one of the following ARNs: 57160 // 57161 // * Image classification arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/image-classification 57162 // 57163 // * Text classification arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/text-classification 57164 // 57165 // * Object detection arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/object-detection 57166 // 57167 // * Semantic Segmentation arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/semantic-segmentation 57168 // 57169 // LabelingJobAlgorithmSpecificationArn is a required field 57170 LabelingJobAlgorithmSpecificationArn *string `type:"string" required:"true"` 57171 57172 // Provides configuration information for a labeling job. 57173 LabelingJobResourceConfig *LabelingJobResourceConfig `type:"structure"` 57174 } 57175 57176 // String returns the string representation. 57177 // 57178 // API parameter values that are decorated as "sensitive" in the API will not 57179 // be included in the string output. The member name will be present, but the 57180 // value will be replaced with "sensitive". 57181 func (s LabelingJobAlgorithmsConfig) String() string { 57182 return awsutil.Prettify(s) 57183 } 57184 57185 // GoString returns the string representation. 57186 // 57187 // API parameter values that are decorated as "sensitive" in the API will not 57188 // be included in the string output. The member name will be present, but the 57189 // value will be replaced with "sensitive". 57190 func (s LabelingJobAlgorithmsConfig) GoString() string { 57191 return s.String() 57192 } 57193 57194 // Validate inspects the fields of the type to determine if they are valid. 57195 func (s *LabelingJobAlgorithmsConfig) Validate() error { 57196 invalidParams := request.ErrInvalidParams{Context: "LabelingJobAlgorithmsConfig"} 57197 if s.InitialActiveLearningModelArn != nil && len(*s.InitialActiveLearningModelArn) < 20 { 57198 invalidParams.Add(request.NewErrParamMinLen("InitialActiveLearningModelArn", 20)) 57199 } 57200 if s.LabelingJobAlgorithmSpecificationArn == nil { 57201 invalidParams.Add(request.NewErrParamRequired("LabelingJobAlgorithmSpecificationArn")) 57202 } 57203 57204 if invalidParams.Len() > 0 { 57205 return invalidParams 57206 } 57207 return nil 57208 } 57209 57210 // SetInitialActiveLearningModelArn sets the InitialActiveLearningModelArn field's value. 57211 func (s *LabelingJobAlgorithmsConfig) SetInitialActiveLearningModelArn(v string) *LabelingJobAlgorithmsConfig { 57212 s.InitialActiveLearningModelArn = &v 57213 return s 57214 } 57215 57216 // SetLabelingJobAlgorithmSpecificationArn sets the LabelingJobAlgorithmSpecificationArn field's value. 57217 func (s *LabelingJobAlgorithmsConfig) SetLabelingJobAlgorithmSpecificationArn(v string) *LabelingJobAlgorithmsConfig { 57218 s.LabelingJobAlgorithmSpecificationArn = &v 57219 return s 57220 } 57221 57222 // SetLabelingJobResourceConfig sets the LabelingJobResourceConfig field's value. 57223 func (s *LabelingJobAlgorithmsConfig) SetLabelingJobResourceConfig(v *LabelingJobResourceConfig) *LabelingJobAlgorithmsConfig { 57224 s.LabelingJobResourceConfig = v 57225 return s 57226 } 57227 57228 // Attributes of the data specified by the customer. Use these to describe the 57229 // data to be labeled. 57230 type LabelingJobDataAttributes struct { 57231 _ struct{} `type:"structure"` 57232 57233 // Declares that your content is free of personally identifiable information 57234 // or adult content. Amazon SageMaker may restrict the Amazon Mechanical Turk 57235 // workers that can view your task based on this information. 57236 ContentClassifiers []*string `type:"list"` 57237 } 57238 57239 // String returns the string representation. 57240 // 57241 // API parameter values that are decorated as "sensitive" in the API will not 57242 // be included in the string output. The member name will be present, but the 57243 // value will be replaced with "sensitive". 57244 func (s LabelingJobDataAttributes) String() string { 57245 return awsutil.Prettify(s) 57246 } 57247 57248 // GoString returns the string representation. 57249 // 57250 // API parameter values that are decorated as "sensitive" in the API will not 57251 // be included in the string output. The member name will be present, but the 57252 // value will be replaced with "sensitive". 57253 func (s LabelingJobDataAttributes) GoString() string { 57254 return s.String() 57255 } 57256 57257 // SetContentClassifiers sets the ContentClassifiers field's value. 57258 func (s *LabelingJobDataAttributes) SetContentClassifiers(v []*string) *LabelingJobDataAttributes { 57259 s.ContentClassifiers = v 57260 return s 57261 } 57262 57263 // Provides information about the location of input data. 57264 // 57265 // You must specify at least one of the following: S3DataSource or SnsDataSource. 57266 // 57267 // Use SnsDataSource to specify an SNS input topic for a streaming labeling 57268 // job. If you do not specify and SNS input topic ARN, Ground Truth will create 57269 // a one-time labeling job. 57270 // 57271 // Use S3DataSource to specify an input manifest file for both streaming and 57272 // one-time labeling jobs. Adding an S3DataSource is optional if you use SnsDataSource 57273 // to create a streaming labeling job. 57274 type LabelingJobDataSource struct { 57275 _ struct{} `type:"structure"` 57276 57277 // The Amazon S3 location of the input data objects. 57278 S3DataSource *LabelingJobS3DataSource `type:"structure"` 57279 57280 // An Amazon SNS data source used for streaming labeling jobs. To learn more, 57281 // see Send Data to a Streaming Labeling Job (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-streaming-labeling-job.html#sms-streaming-how-it-works-send-data). 57282 SnsDataSource *LabelingJobSnsDataSource `type:"structure"` 57283 } 57284 57285 // String returns the string representation. 57286 // 57287 // API parameter values that are decorated as "sensitive" in the API will not 57288 // be included in the string output. The member name will be present, but the 57289 // value will be replaced with "sensitive". 57290 func (s LabelingJobDataSource) String() string { 57291 return awsutil.Prettify(s) 57292 } 57293 57294 // GoString returns the string representation. 57295 // 57296 // API parameter values that are decorated as "sensitive" in the API will not 57297 // be included in the string output. The member name will be present, but the 57298 // value will be replaced with "sensitive". 57299 func (s LabelingJobDataSource) GoString() string { 57300 return s.String() 57301 } 57302 57303 // Validate inspects the fields of the type to determine if they are valid. 57304 func (s *LabelingJobDataSource) Validate() error { 57305 invalidParams := request.ErrInvalidParams{Context: "LabelingJobDataSource"} 57306 if s.S3DataSource != nil { 57307 if err := s.S3DataSource.Validate(); err != nil { 57308 invalidParams.AddNested("S3DataSource", err.(request.ErrInvalidParams)) 57309 } 57310 } 57311 if s.SnsDataSource != nil { 57312 if err := s.SnsDataSource.Validate(); err != nil { 57313 invalidParams.AddNested("SnsDataSource", err.(request.ErrInvalidParams)) 57314 } 57315 } 57316 57317 if invalidParams.Len() > 0 { 57318 return invalidParams 57319 } 57320 return nil 57321 } 57322 57323 // SetS3DataSource sets the S3DataSource field's value. 57324 func (s *LabelingJobDataSource) SetS3DataSource(v *LabelingJobS3DataSource) *LabelingJobDataSource { 57325 s.S3DataSource = v 57326 return s 57327 } 57328 57329 // SetSnsDataSource sets the SnsDataSource field's value. 57330 func (s *LabelingJobDataSource) SetSnsDataSource(v *LabelingJobSnsDataSource) *LabelingJobDataSource { 57331 s.SnsDataSource = v 57332 return s 57333 } 57334 57335 // Provides summary information for a work team. 57336 type LabelingJobForWorkteamSummary struct { 57337 _ struct{} `type:"structure"` 57338 57339 // The date and time that the labeling job was created. 57340 // 57341 // CreationTime is a required field 57342 CreationTime *time.Time `type:"timestamp" required:"true"` 57343 57344 // A unique identifier for a labeling job. You can use this to refer to a specific 57345 // labeling job. 57346 // 57347 // JobReferenceCode is a required field 57348 JobReferenceCode *string `min:"1" type:"string" required:"true"` 57349 57350 // Provides information about the progress of a labeling job. 57351 LabelCounters *LabelCountersForWorkteam `type:"structure"` 57352 57353 // The name of the labeling job that the work team is assigned to. 57354 LabelingJobName *string `min:"1" type:"string"` 57355 57356 // The configured number of workers per data object. 57357 NumberOfHumanWorkersPerDataObject *int64 `min:"1" type:"integer"` 57358 57359 // The Amazon Web Services account ID of the account used to start the labeling 57360 // job. 57361 // 57362 // WorkRequesterAccountId is a required field 57363 WorkRequesterAccountId *string `type:"string" required:"true"` 57364 } 57365 57366 // String returns the string representation. 57367 // 57368 // API parameter values that are decorated as "sensitive" in the API will not 57369 // be included in the string output. The member name will be present, but the 57370 // value will be replaced with "sensitive". 57371 func (s LabelingJobForWorkteamSummary) String() string { 57372 return awsutil.Prettify(s) 57373 } 57374 57375 // GoString returns the string representation. 57376 // 57377 // API parameter values that are decorated as "sensitive" in the API will not 57378 // be included in the string output. The member name will be present, but the 57379 // value will be replaced with "sensitive". 57380 func (s LabelingJobForWorkteamSummary) GoString() string { 57381 return s.String() 57382 } 57383 57384 // SetCreationTime sets the CreationTime field's value. 57385 func (s *LabelingJobForWorkteamSummary) SetCreationTime(v time.Time) *LabelingJobForWorkteamSummary { 57386 s.CreationTime = &v 57387 return s 57388 } 57389 57390 // SetJobReferenceCode sets the JobReferenceCode field's value. 57391 func (s *LabelingJobForWorkteamSummary) SetJobReferenceCode(v string) *LabelingJobForWorkteamSummary { 57392 s.JobReferenceCode = &v 57393 return s 57394 } 57395 57396 // SetLabelCounters sets the LabelCounters field's value. 57397 func (s *LabelingJobForWorkteamSummary) SetLabelCounters(v *LabelCountersForWorkteam) *LabelingJobForWorkteamSummary { 57398 s.LabelCounters = v 57399 return s 57400 } 57401 57402 // SetLabelingJobName sets the LabelingJobName field's value. 57403 func (s *LabelingJobForWorkteamSummary) SetLabelingJobName(v string) *LabelingJobForWorkteamSummary { 57404 s.LabelingJobName = &v 57405 return s 57406 } 57407 57408 // SetNumberOfHumanWorkersPerDataObject sets the NumberOfHumanWorkersPerDataObject field's value. 57409 func (s *LabelingJobForWorkteamSummary) SetNumberOfHumanWorkersPerDataObject(v int64) *LabelingJobForWorkteamSummary { 57410 s.NumberOfHumanWorkersPerDataObject = &v 57411 return s 57412 } 57413 57414 // SetWorkRequesterAccountId sets the WorkRequesterAccountId field's value. 57415 func (s *LabelingJobForWorkteamSummary) SetWorkRequesterAccountId(v string) *LabelingJobForWorkteamSummary { 57416 s.WorkRequesterAccountId = &v 57417 return s 57418 } 57419 57420 // Input configuration information for a labeling job. 57421 type LabelingJobInputConfig struct { 57422 _ struct{} `type:"structure"` 57423 57424 // Attributes of the data specified by the customer. 57425 DataAttributes *LabelingJobDataAttributes `type:"structure"` 57426 57427 // The location of the input data. 57428 // 57429 // DataSource is a required field 57430 DataSource *LabelingJobDataSource `type:"structure" required:"true"` 57431 } 57432 57433 // String returns the string representation. 57434 // 57435 // API parameter values that are decorated as "sensitive" in the API will not 57436 // be included in the string output. The member name will be present, but the 57437 // value will be replaced with "sensitive". 57438 func (s LabelingJobInputConfig) String() string { 57439 return awsutil.Prettify(s) 57440 } 57441 57442 // GoString returns the string representation. 57443 // 57444 // API parameter values that are decorated as "sensitive" in the API will not 57445 // be included in the string output. The member name will be present, but the 57446 // value will be replaced with "sensitive". 57447 func (s LabelingJobInputConfig) GoString() string { 57448 return s.String() 57449 } 57450 57451 // Validate inspects the fields of the type to determine if they are valid. 57452 func (s *LabelingJobInputConfig) Validate() error { 57453 invalidParams := request.ErrInvalidParams{Context: "LabelingJobInputConfig"} 57454 if s.DataSource == nil { 57455 invalidParams.Add(request.NewErrParamRequired("DataSource")) 57456 } 57457 if s.DataSource != nil { 57458 if err := s.DataSource.Validate(); err != nil { 57459 invalidParams.AddNested("DataSource", err.(request.ErrInvalidParams)) 57460 } 57461 } 57462 57463 if invalidParams.Len() > 0 { 57464 return invalidParams 57465 } 57466 return nil 57467 } 57468 57469 // SetDataAttributes sets the DataAttributes field's value. 57470 func (s *LabelingJobInputConfig) SetDataAttributes(v *LabelingJobDataAttributes) *LabelingJobInputConfig { 57471 s.DataAttributes = v 57472 return s 57473 } 57474 57475 // SetDataSource sets the DataSource field's value. 57476 func (s *LabelingJobInputConfig) SetDataSource(v *LabelingJobDataSource) *LabelingJobInputConfig { 57477 s.DataSource = v 57478 return s 57479 } 57480 57481 // Specifies the location of the output produced by the labeling job. 57482 type LabelingJobOutput struct { 57483 _ struct{} `type:"structure"` 57484 57485 // The Amazon Resource Name (ARN) for the most recent Amazon SageMaker model 57486 // trained as part of automated data labeling. 57487 FinalActiveLearningModelArn *string `min:"20" type:"string"` 57488 57489 // The Amazon S3 bucket location of the manifest file for labeled data. 57490 // 57491 // OutputDatasetS3Uri is a required field 57492 OutputDatasetS3Uri *string `type:"string" required:"true"` 57493 } 57494 57495 // String returns the string representation. 57496 // 57497 // API parameter values that are decorated as "sensitive" in the API will not 57498 // be included in the string output. The member name will be present, but the 57499 // value will be replaced with "sensitive". 57500 func (s LabelingJobOutput) String() string { 57501 return awsutil.Prettify(s) 57502 } 57503 57504 // GoString returns the string representation. 57505 // 57506 // API parameter values that are decorated as "sensitive" in the API will not 57507 // be included in the string output. The member name will be present, but the 57508 // value will be replaced with "sensitive". 57509 func (s LabelingJobOutput) GoString() string { 57510 return s.String() 57511 } 57512 57513 // SetFinalActiveLearningModelArn sets the FinalActiveLearningModelArn field's value. 57514 func (s *LabelingJobOutput) SetFinalActiveLearningModelArn(v string) *LabelingJobOutput { 57515 s.FinalActiveLearningModelArn = &v 57516 return s 57517 } 57518 57519 // SetOutputDatasetS3Uri sets the OutputDatasetS3Uri field's value. 57520 func (s *LabelingJobOutput) SetOutputDatasetS3Uri(v string) *LabelingJobOutput { 57521 s.OutputDatasetS3Uri = &v 57522 return s 57523 } 57524 57525 // Output configuration information for a labeling job. 57526 type LabelingJobOutputConfig struct { 57527 _ struct{} `type:"structure"` 57528 57529 // The Amazon Web Services Key Management Service ID of the key used to encrypt 57530 // the output data, if any. 57531 // 57532 // If you provide your own KMS key ID, you must add the required permissions 57533 // to your KMS key described in Encrypt Output Data and Storage Volume with 57534 // Amazon Web Services KMS (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-security-permission.html#sms-security-kms-permissions). 57535 // 57536 // If you don't provide a KMS key ID, Amazon SageMaker uses the default Amazon 57537 // Web Services KMS key for Amazon S3 for your role's account to encrypt your 57538 // output data. 57539 // 57540 // If you use a bucket policy with an s3:PutObject permission that only allows 57541 // objects with server-side encryption, set the condition key of s3:x-amz-server-side-encryption 57542 // to "aws:kms". For more information, see KMS-Managed Encryption Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html) 57543 // in the Amazon Simple Storage Service Developer Guide. 57544 KmsKeyId *string `type:"string"` 57545 57546 // The Amazon S3 location to write output data. 57547 // 57548 // S3OutputPath is a required field 57549 S3OutputPath *string `type:"string" required:"true"` 57550 57551 // An Amazon Simple Notification Service (Amazon SNS) output topic ARN. Provide 57552 // a SnsTopicArn if you want to do real time chaining to another streaming job 57553 // and receive an Amazon SNS notifications each time a data object is submitted 57554 // by a worker. 57555 // 57556 // If you provide an SnsTopicArn in OutputConfig, when workers complete labeling 57557 // tasks, Ground Truth will send labeling task output data to the SNS output 57558 // topic you specify here. 57559 // 57560 // To learn more, see Receive Output Data from a Streaming Labeling Job (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-streaming-labeling-job.html#sms-streaming-how-it-works-output-data). 57561 SnsTopicArn *string `type:"string"` 57562 } 57563 57564 // String returns the string representation. 57565 // 57566 // API parameter values that are decorated as "sensitive" in the API will not 57567 // be included in the string output. The member name will be present, but the 57568 // value will be replaced with "sensitive". 57569 func (s LabelingJobOutputConfig) String() string { 57570 return awsutil.Prettify(s) 57571 } 57572 57573 // GoString returns the string representation. 57574 // 57575 // API parameter values that are decorated as "sensitive" in the API will not 57576 // be included in the string output. The member name will be present, but the 57577 // value will be replaced with "sensitive". 57578 func (s LabelingJobOutputConfig) GoString() string { 57579 return s.String() 57580 } 57581 57582 // Validate inspects the fields of the type to determine if they are valid. 57583 func (s *LabelingJobOutputConfig) Validate() error { 57584 invalidParams := request.ErrInvalidParams{Context: "LabelingJobOutputConfig"} 57585 if s.S3OutputPath == nil { 57586 invalidParams.Add(request.NewErrParamRequired("S3OutputPath")) 57587 } 57588 57589 if invalidParams.Len() > 0 { 57590 return invalidParams 57591 } 57592 return nil 57593 } 57594 57595 // SetKmsKeyId sets the KmsKeyId field's value. 57596 func (s *LabelingJobOutputConfig) SetKmsKeyId(v string) *LabelingJobOutputConfig { 57597 s.KmsKeyId = &v 57598 return s 57599 } 57600 57601 // SetS3OutputPath sets the S3OutputPath field's value. 57602 func (s *LabelingJobOutputConfig) SetS3OutputPath(v string) *LabelingJobOutputConfig { 57603 s.S3OutputPath = &v 57604 return s 57605 } 57606 57607 // SetSnsTopicArn sets the SnsTopicArn field's value. 57608 func (s *LabelingJobOutputConfig) SetSnsTopicArn(v string) *LabelingJobOutputConfig { 57609 s.SnsTopicArn = &v 57610 return s 57611 } 57612 57613 // Configure encryption on the storage volume attached to the ML compute instance 57614 // used to run automated data labeling model training and inference. 57615 type LabelingJobResourceConfig struct { 57616 _ struct{} `type:"structure"` 57617 57618 // The Amazon Web Services Key Management Service (Amazon Web Services KMS) 57619 // key that Amazon SageMaker uses to encrypt data on the storage volume attached 57620 // to the ML compute instance(s) that run the training and inference jobs used 57621 // for automated data labeling. 57622 // 57623 // You can only specify a VolumeKmsKeyId when you create a labeling job with 57624 // automated data labeling enabled using the API operation CreateLabelingJob. 57625 // You cannot specify an Amazon Web Services KMS key to encrypt the storage 57626 // volume used for automated data labeling model training and inference when 57627 // you create a labeling job using the console. To learn more, see Output Data 57628 // and Storage Volume Encryption (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-security.html). 57629 // 57630 // The VolumeKmsKeyId can be any of the following formats: 57631 // 57632 // * KMS Key ID "1234abcd-12ab-34cd-56ef-1234567890ab" 57633 // 57634 // * Amazon Resource Name (ARN) of a KMS Key "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" 57635 VolumeKmsKeyId *string `type:"string"` 57636 } 57637 57638 // String returns the string representation. 57639 // 57640 // API parameter values that are decorated as "sensitive" in the API will not 57641 // be included in the string output. The member name will be present, but the 57642 // value will be replaced with "sensitive". 57643 func (s LabelingJobResourceConfig) String() string { 57644 return awsutil.Prettify(s) 57645 } 57646 57647 // GoString returns the string representation. 57648 // 57649 // API parameter values that are decorated as "sensitive" in the API will not 57650 // be included in the string output. The member name will be present, but the 57651 // value will be replaced with "sensitive". 57652 func (s LabelingJobResourceConfig) GoString() string { 57653 return s.String() 57654 } 57655 57656 // SetVolumeKmsKeyId sets the VolumeKmsKeyId field's value. 57657 func (s *LabelingJobResourceConfig) SetVolumeKmsKeyId(v string) *LabelingJobResourceConfig { 57658 s.VolumeKmsKeyId = &v 57659 return s 57660 } 57661 57662 // The Amazon S3 location of the input data objects. 57663 type LabelingJobS3DataSource struct { 57664 _ struct{} `type:"structure"` 57665 57666 // The Amazon S3 location of the manifest file that describes the input data 57667 // objects. 57668 // 57669 // The input manifest file referenced in ManifestS3Uri must contain one of the 57670 // following keys: source-ref or source. The value of the keys are interpreted 57671 // as follows: 57672 // 57673 // * source-ref: The source of the object is the Amazon S3 object specified 57674 // in the value. Use this value when the object is a binary object, such 57675 // as an image. 57676 // 57677 // * source: The source of the object is the value. Use this value when the 57678 // object is a text value. 57679 // 57680 // If you are a new user of Ground Truth, it is recommended you review Use an 57681 // Input Manifest File (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-input-data-input-manifest.html) 57682 // in the Amazon SageMaker Developer Guide to learn how to create an input manifest 57683 // file. 57684 // 57685 // ManifestS3Uri is a required field 57686 ManifestS3Uri *string `type:"string" required:"true"` 57687 } 57688 57689 // String returns the string representation. 57690 // 57691 // API parameter values that are decorated as "sensitive" in the API will not 57692 // be included in the string output. The member name will be present, but the 57693 // value will be replaced with "sensitive". 57694 func (s LabelingJobS3DataSource) String() string { 57695 return awsutil.Prettify(s) 57696 } 57697 57698 // GoString returns the string representation. 57699 // 57700 // API parameter values that are decorated as "sensitive" in the API will not 57701 // be included in the string output. The member name will be present, but the 57702 // value will be replaced with "sensitive". 57703 func (s LabelingJobS3DataSource) GoString() string { 57704 return s.String() 57705 } 57706 57707 // Validate inspects the fields of the type to determine if they are valid. 57708 func (s *LabelingJobS3DataSource) Validate() error { 57709 invalidParams := request.ErrInvalidParams{Context: "LabelingJobS3DataSource"} 57710 if s.ManifestS3Uri == nil { 57711 invalidParams.Add(request.NewErrParamRequired("ManifestS3Uri")) 57712 } 57713 57714 if invalidParams.Len() > 0 { 57715 return invalidParams 57716 } 57717 return nil 57718 } 57719 57720 // SetManifestS3Uri sets the ManifestS3Uri field's value. 57721 func (s *LabelingJobS3DataSource) SetManifestS3Uri(v string) *LabelingJobS3DataSource { 57722 s.ManifestS3Uri = &v 57723 return s 57724 } 57725 57726 // An Amazon SNS data source used for streaming labeling jobs. 57727 type LabelingJobSnsDataSource struct { 57728 _ struct{} `type:"structure"` 57729 57730 // The Amazon SNS input topic Amazon Resource Name (ARN). Specify the ARN of 57731 // the input topic you will use to send new data objects to a streaming labeling 57732 // job. 57733 // 57734 // SnsTopicArn is a required field 57735 SnsTopicArn *string `type:"string" required:"true"` 57736 } 57737 57738 // String returns the string representation. 57739 // 57740 // API parameter values that are decorated as "sensitive" in the API will not 57741 // be included in the string output. The member name will be present, but the 57742 // value will be replaced with "sensitive". 57743 func (s LabelingJobSnsDataSource) String() string { 57744 return awsutil.Prettify(s) 57745 } 57746 57747 // GoString returns the string representation. 57748 // 57749 // API parameter values that are decorated as "sensitive" in the API will not 57750 // be included in the string output. The member name will be present, but the 57751 // value will be replaced with "sensitive". 57752 func (s LabelingJobSnsDataSource) GoString() string { 57753 return s.String() 57754 } 57755 57756 // Validate inspects the fields of the type to determine if they are valid. 57757 func (s *LabelingJobSnsDataSource) Validate() error { 57758 invalidParams := request.ErrInvalidParams{Context: "LabelingJobSnsDataSource"} 57759 if s.SnsTopicArn == nil { 57760 invalidParams.Add(request.NewErrParamRequired("SnsTopicArn")) 57761 } 57762 57763 if invalidParams.Len() > 0 { 57764 return invalidParams 57765 } 57766 return nil 57767 } 57768 57769 // SetSnsTopicArn sets the SnsTopicArn field's value. 57770 func (s *LabelingJobSnsDataSource) SetSnsTopicArn(v string) *LabelingJobSnsDataSource { 57771 s.SnsTopicArn = &v 57772 return s 57773 } 57774 57775 // A set of conditions for stopping a labeling job. If any of the conditions 57776 // are met, the job is automatically stopped. You can use these conditions to 57777 // control the cost of data labeling. 57778 // 57779 // Labeling jobs fail after 30 days with an appropriate client error message. 57780 type LabelingJobStoppingConditions struct { 57781 _ struct{} `type:"structure"` 57782 57783 // The maximum number of objects that can be labeled by human workers. 57784 MaxHumanLabeledObjectCount *int64 `min:"1" type:"integer"` 57785 57786 // The maximum number of input data objects that should be labeled. 57787 MaxPercentageOfInputDatasetLabeled *int64 `min:"1" type:"integer"` 57788 } 57789 57790 // String returns the string representation. 57791 // 57792 // API parameter values that are decorated as "sensitive" in the API will not 57793 // be included in the string output. The member name will be present, but the 57794 // value will be replaced with "sensitive". 57795 func (s LabelingJobStoppingConditions) String() string { 57796 return awsutil.Prettify(s) 57797 } 57798 57799 // GoString returns the string representation. 57800 // 57801 // API parameter values that are decorated as "sensitive" in the API will not 57802 // be included in the string output. The member name will be present, but the 57803 // value will be replaced with "sensitive". 57804 func (s LabelingJobStoppingConditions) GoString() string { 57805 return s.String() 57806 } 57807 57808 // Validate inspects the fields of the type to determine if they are valid. 57809 func (s *LabelingJobStoppingConditions) Validate() error { 57810 invalidParams := request.ErrInvalidParams{Context: "LabelingJobStoppingConditions"} 57811 if s.MaxHumanLabeledObjectCount != nil && *s.MaxHumanLabeledObjectCount < 1 { 57812 invalidParams.Add(request.NewErrParamMinValue("MaxHumanLabeledObjectCount", 1)) 57813 } 57814 if s.MaxPercentageOfInputDatasetLabeled != nil && *s.MaxPercentageOfInputDatasetLabeled < 1 { 57815 invalidParams.Add(request.NewErrParamMinValue("MaxPercentageOfInputDatasetLabeled", 1)) 57816 } 57817 57818 if invalidParams.Len() > 0 { 57819 return invalidParams 57820 } 57821 return nil 57822 } 57823 57824 // SetMaxHumanLabeledObjectCount sets the MaxHumanLabeledObjectCount field's value. 57825 func (s *LabelingJobStoppingConditions) SetMaxHumanLabeledObjectCount(v int64) *LabelingJobStoppingConditions { 57826 s.MaxHumanLabeledObjectCount = &v 57827 return s 57828 } 57829 57830 // SetMaxPercentageOfInputDatasetLabeled sets the MaxPercentageOfInputDatasetLabeled field's value. 57831 func (s *LabelingJobStoppingConditions) SetMaxPercentageOfInputDatasetLabeled(v int64) *LabelingJobStoppingConditions { 57832 s.MaxPercentageOfInputDatasetLabeled = &v 57833 return s 57834 } 57835 57836 // Provides summary information about a labeling job. 57837 type LabelingJobSummary struct { 57838 _ struct{} `type:"structure"` 57839 57840 // The Amazon Resource Name (ARN) of the Lambda function used to consolidate 57841 // the annotations from individual workers into a label for a data object. For 57842 // more information, see Annotation Consolidation (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-annotation-consolidation.html). 57843 AnnotationConsolidationLambdaArn *string `type:"string"` 57844 57845 // The date and time that the job was created (timestamp). 57846 // 57847 // CreationTime is a required field 57848 CreationTime *time.Time `type:"timestamp" required:"true"` 57849 57850 // If the LabelingJobStatus field is Failed, this field contains a description 57851 // of the error. 57852 FailureReason *string `type:"string"` 57853 57854 // Input configuration for the labeling job. 57855 InputConfig *LabelingJobInputConfig `type:"structure"` 57856 57857 // Counts showing the progress of the labeling job. 57858 // 57859 // LabelCounters is a required field 57860 LabelCounters *LabelCounters `type:"structure" required:"true"` 57861 57862 // The Amazon Resource Name (ARN) assigned to the labeling job when it was created. 57863 // 57864 // LabelingJobArn is a required field 57865 LabelingJobArn *string `type:"string" required:"true"` 57866 57867 // The name of the labeling job. 57868 // 57869 // LabelingJobName is a required field 57870 LabelingJobName *string `min:"1" type:"string" required:"true"` 57871 57872 // The location of the output produced by the labeling job. 57873 LabelingJobOutput *LabelingJobOutput `type:"structure"` 57874 57875 // The current status of the labeling job. 57876 // 57877 // LabelingJobStatus is a required field 57878 LabelingJobStatus *string `type:"string" required:"true" enum:"LabelingJobStatus"` 57879 57880 // The date and time that the job was last modified (timestamp). 57881 // 57882 // LastModifiedTime is a required field 57883 LastModifiedTime *time.Time `type:"timestamp" required:"true"` 57884 57885 // The Amazon Resource Name (ARN) of a Lambda function. The function is run 57886 // before each data object is sent to a worker. 57887 // 57888 // PreHumanTaskLambdaArn is a required field 57889 PreHumanTaskLambdaArn *string `type:"string" required:"true"` 57890 57891 // The Amazon Resource Name (ARN) of the work team assigned to the job. 57892 // 57893 // WorkteamArn is a required field 57894 WorkteamArn *string `type:"string" required:"true"` 57895 } 57896 57897 // String returns the string representation. 57898 // 57899 // API parameter values that are decorated as "sensitive" in the API will not 57900 // be included in the string output. The member name will be present, but the 57901 // value will be replaced with "sensitive". 57902 func (s LabelingJobSummary) String() string { 57903 return awsutil.Prettify(s) 57904 } 57905 57906 // GoString returns the string representation. 57907 // 57908 // API parameter values that are decorated as "sensitive" in the API will not 57909 // be included in the string output. The member name will be present, but the 57910 // value will be replaced with "sensitive". 57911 func (s LabelingJobSummary) GoString() string { 57912 return s.String() 57913 } 57914 57915 // SetAnnotationConsolidationLambdaArn sets the AnnotationConsolidationLambdaArn field's value. 57916 func (s *LabelingJobSummary) SetAnnotationConsolidationLambdaArn(v string) *LabelingJobSummary { 57917 s.AnnotationConsolidationLambdaArn = &v 57918 return s 57919 } 57920 57921 // SetCreationTime sets the CreationTime field's value. 57922 func (s *LabelingJobSummary) SetCreationTime(v time.Time) *LabelingJobSummary { 57923 s.CreationTime = &v 57924 return s 57925 } 57926 57927 // SetFailureReason sets the FailureReason field's value. 57928 func (s *LabelingJobSummary) SetFailureReason(v string) *LabelingJobSummary { 57929 s.FailureReason = &v 57930 return s 57931 } 57932 57933 // SetInputConfig sets the InputConfig field's value. 57934 func (s *LabelingJobSummary) SetInputConfig(v *LabelingJobInputConfig) *LabelingJobSummary { 57935 s.InputConfig = v 57936 return s 57937 } 57938 57939 // SetLabelCounters sets the LabelCounters field's value. 57940 func (s *LabelingJobSummary) SetLabelCounters(v *LabelCounters) *LabelingJobSummary { 57941 s.LabelCounters = v 57942 return s 57943 } 57944 57945 // SetLabelingJobArn sets the LabelingJobArn field's value. 57946 func (s *LabelingJobSummary) SetLabelingJobArn(v string) *LabelingJobSummary { 57947 s.LabelingJobArn = &v 57948 return s 57949 } 57950 57951 // SetLabelingJobName sets the LabelingJobName field's value. 57952 func (s *LabelingJobSummary) SetLabelingJobName(v string) *LabelingJobSummary { 57953 s.LabelingJobName = &v 57954 return s 57955 } 57956 57957 // SetLabelingJobOutput sets the LabelingJobOutput field's value. 57958 func (s *LabelingJobSummary) SetLabelingJobOutput(v *LabelingJobOutput) *LabelingJobSummary { 57959 s.LabelingJobOutput = v 57960 return s 57961 } 57962 57963 // SetLabelingJobStatus sets the LabelingJobStatus field's value. 57964 func (s *LabelingJobSummary) SetLabelingJobStatus(v string) *LabelingJobSummary { 57965 s.LabelingJobStatus = &v 57966 return s 57967 } 57968 57969 // SetLastModifiedTime sets the LastModifiedTime field's value. 57970 func (s *LabelingJobSummary) SetLastModifiedTime(v time.Time) *LabelingJobSummary { 57971 s.LastModifiedTime = &v 57972 return s 57973 } 57974 57975 // SetPreHumanTaskLambdaArn sets the PreHumanTaskLambdaArn field's value. 57976 func (s *LabelingJobSummary) SetPreHumanTaskLambdaArn(v string) *LabelingJobSummary { 57977 s.PreHumanTaskLambdaArn = &v 57978 return s 57979 } 57980 57981 // SetWorkteamArn sets the WorkteamArn field's value. 57982 func (s *LabelingJobSummary) SetWorkteamArn(v string) *LabelingJobSummary { 57983 s.WorkteamArn = &v 57984 return s 57985 } 57986 57987 // Metadata for a Lambda step. 57988 type LambdaStepMetadata struct { 57989 _ struct{} `type:"structure"` 57990 57991 // The Amazon Resource Name (ARN) of the Lambda function that was run by this 57992 // step execution. 57993 Arn *string `type:"string"` 57994 57995 // A list of the output parameters of the Lambda step. 57996 OutputParameters []*OutputParameter `type:"list"` 57997 } 57998 57999 // String returns the string representation. 58000 // 58001 // API parameter values that are decorated as "sensitive" in the API will not 58002 // be included in the string output. The member name will be present, but the 58003 // value will be replaced with "sensitive". 58004 func (s LambdaStepMetadata) String() string { 58005 return awsutil.Prettify(s) 58006 } 58007 58008 // GoString returns the string representation. 58009 // 58010 // API parameter values that are decorated as "sensitive" in the API will not 58011 // be included in the string output. The member name will be present, but the 58012 // value will be replaced with "sensitive". 58013 func (s LambdaStepMetadata) GoString() string { 58014 return s.String() 58015 } 58016 58017 // SetArn sets the Arn field's value. 58018 func (s *LambdaStepMetadata) SetArn(v string) *LambdaStepMetadata { 58019 s.Arn = &v 58020 return s 58021 } 58022 58023 // SetOutputParameters sets the OutputParameters field's value. 58024 func (s *LambdaStepMetadata) SetOutputParameters(v []*OutputParameter) *LambdaStepMetadata { 58025 s.OutputParameters = v 58026 return s 58027 } 58028 58029 type ListActionsInput struct { 58030 _ struct{} `type:"structure"` 58031 58032 // A filter that returns only actions of the specified type. 58033 ActionType *string `type:"string"` 58034 58035 // A filter that returns only actions created on or after the specified time. 58036 CreatedAfter *time.Time `type:"timestamp"` 58037 58038 // A filter that returns only actions created on or before the specified time. 58039 CreatedBefore *time.Time `type:"timestamp"` 58040 58041 // The maximum number of actions to return in the response. The default value 58042 // is 10. 58043 MaxResults *int64 `min:"1" type:"integer"` 58044 58045 // If the previous call to ListActions didn't return the full set of actions, 58046 // the call returns a token for getting the next set of actions. 58047 NextToken *string `type:"string"` 58048 58049 // The property used to sort results. The default value is CreationTime. 58050 SortBy *string `type:"string" enum:"SortActionsBy"` 58051 58052 // The sort order. The default value is Descending. 58053 SortOrder *string `type:"string" enum:"SortOrder"` 58054 58055 // A filter that returns only actions with the specified source URI. 58056 SourceUri *string `type:"string"` 58057 } 58058 58059 // String returns the string representation. 58060 // 58061 // API parameter values that are decorated as "sensitive" in the API will not 58062 // be included in the string output. The member name will be present, but the 58063 // value will be replaced with "sensitive". 58064 func (s ListActionsInput) String() string { 58065 return awsutil.Prettify(s) 58066 } 58067 58068 // GoString returns the string representation. 58069 // 58070 // API parameter values that are decorated as "sensitive" in the API will not 58071 // be included in the string output. The member name will be present, but the 58072 // value will be replaced with "sensitive". 58073 func (s ListActionsInput) GoString() string { 58074 return s.String() 58075 } 58076 58077 // Validate inspects the fields of the type to determine if they are valid. 58078 func (s *ListActionsInput) Validate() error { 58079 invalidParams := request.ErrInvalidParams{Context: "ListActionsInput"} 58080 if s.MaxResults != nil && *s.MaxResults < 1 { 58081 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 58082 } 58083 58084 if invalidParams.Len() > 0 { 58085 return invalidParams 58086 } 58087 return nil 58088 } 58089 58090 // SetActionType sets the ActionType field's value. 58091 func (s *ListActionsInput) SetActionType(v string) *ListActionsInput { 58092 s.ActionType = &v 58093 return s 58094 } 58095 58096 // SetCreatedAfter sets the CreatedAfter field's value. 58097 func (s *ListActionsInput) SetCreatedAfter(v time.Time) *ListActionsInput { 58098 s.CreatedAfter = &v 58099 return s 58100 } 58101 58102 // SetCreatedBefore sets the CreatedBefore field's value. 58103 func (s *ListActionsInput) SetCreatedBefore(v time.Time) *ListActionsInput { 58104 s.CreatedBefore = &v 58105 return s 58106 } 58107 58108 // SetMaxResults sets the MaxResults field's value. 58109 func (s *ListActionsInput) SetMaxResults(v int64) *ListActionsInput { 58110 s.MaxResults = &v 58111 return s 58112 } 58113 58114 // SetNextToken sets the NextToken field's value. 58115 func (s *ListActionsInput) SetNextToken(v string) *ListActionsInput { 58116 s.NextToken = &v 58117 return s 58118 } 58119 58120 // SetSortBy sets the SortBy field's value. 58121 func (s *ListActionsInput) SetSortBy(v string) *ListActionsInput { 58122 s.SortBy = &v 58123 return s 58124 } 58125 58126 // SetSortOrder sets the SortOrder field's value. 58127 func (s *ListActionsInput) SetSortOrder(v string) *ListActionsInput { 58128 s.SortOrder = &v 58129 return s 58130 } 58131 58132 // SetSourceUri sets the SourceUri field's value. 58133 func (s *ListActionsInput) SetSourceUri(v string) *ListActionsInput { 58134 s.SourceUri = &v 58135 return s 58136 } 58137 58138 type ListActionsOutput struct { 58139 _ struct{} `type:"structure"` 58140 58141 // A list of actions and their properties. 58142 ActionSummaries []*ActionSummary `type:"list"` 58143 58144 // A token for getting the next set of actions, if there are any. 58145 NextToken *string `type:"string"` 58146 } 58147 58148 // String returns the string representation. 58149 // 58150 // API parameter values that are decorated as "sensitive" in the API will not 58151 // be included in the string output. The member name will be present, but the 58152 // value will be replaced with "sensitive". 58153 func (s ListActionsOutput) String() string { 58154 return awsutil.Prettify(s) 58155 } 58156 58157 // GoString returns the string representation. 58158 // 58159 // API parameter values that are decorated as "sensitive" in the API will not 58160 // be included in the string output. The member name will be present, but the 58161 // value will be replaced with "sensitive". 58162 func (s ListActionsOutput) GoString() string { 58163 return s.String() 58164 } 58165 58166 // SetActionSummaries sets the ActionSummaries field's value. 58167 func (s *ListActionsOutput) SetActionSummaries(v []*ActionSummary) *ListActionsOutput { 58168 s.ActionSummaries = v 58169 return s 58170 } 58171 58172 // SetNextToken sets the NextToken field's value. 58173 func (s *ListActionsOutput) SetNextToken(v string) *ListActionsOutput { 58174 s.NextToken = &v 58175 return s 58176 } 58177 58178 type ListAlgorithmsInput struct { 58179 _ struct{} `type:"structure"` 58180 58181 // A filter that returns only algorithms created after the specified time (timestamp). 58182 CreationTimeAfter *time.Time `type:"timestamp"` 58183 58184 // A filter that returns only algorithms created before the specified time (timestamp). 58185 CreationTimeBefore *time.Time `type:"timestamp"` 58186 58187 // The maximum number of algorithms to return in the response. 58188 MaxResults *int64 `min:"1" type:"integer"` 58189 58190 // A string in the algorithm name. This filter returns only algorithms whose 58191 // name contains the specified string. 58192 NameContains *string `type:"string"` 58193 58194 // If the response to a previous ListAlgorithms request was truncated, the response 58195 // includes a NextToken. To retrieve the next set of algorithms, use the token 58196 // in the next request. 58197 NextToken *string `type:"string"` 58198 58199 // The parameter by which to sort the results. The default is CreationTime. 58200 SortBy *string `type:"string" enum:"AlgorithmSortBy"` 58201 58202 // The sort order for the results. The default is Ascending. 58203 SortOrder *string `type:"string" enum:"SortOrder"` 58204 } 58205 58206 // String returns the string representation. 58207 // 58208 // API parameter values that are decorated as "sensitive" in the API will not 58209 // be included in the string output. The member name will be present, but the 58210 // value will be replaced with "sensitive". 58211 func (s ListAlgorithmsInput) String() string { 58212 return awsutil.Prettify(s) 58213 } 58214 58215 // GoString returns the string representation. 58216 // 58217 // API parameter values that are decorated as "sensitive" in the API will not 58218 // be included in the string output. The member name will be present, but the 58219 // value will be replaced with "sensitive". 58220 func (s ListAlgorithmsInput) GoString() string { 58221 return s.String() 58222 } 58223 58224 // Validate inspects the fields of the type to determine if they are valid. 58225 func (s *ListAlgorithmsInput) Validate() error { 58226 invalidParams := request.ErrInvalidParams{Context: "ListAlgorithmsInput"} 58227 if s.MaxResults != nil && *s.MaxResults < 1 { 58228 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 58229 } 58230 58231 if invalidParams.Len() > 0 { 58232 return invalidParams 58233 } 58234 return nil 58235 } 58236 58237 // SetCreationTimeAfter sets the CreationTimeAfter field's value. 58238 func (s *ListAlgorithmsInput) SetCreationTimeAfter(v time.Time) *ListAlgorithmsInput { 58239 s.CreationTimeAfter = &v 58240 return s 58241 } 58242 58243 // SetCreationTimeBefore sets the CreationTimeBefore field's value. 58244 func (s *ListAlgorithmsInput) SetCreationTimeBefore(v time.Time) *ListAlgorithmsInput { 58245 s.CreationTimeBefore = &v 58246 return s 58247 } 58248 58249 // SetMaxResults sets the MaxResults field's value. 58250 func (s *ListAlgorithmsInput) SetMaxResults(v int64) *ListAlgorithmsInput { 58251 s.MaxResults = &v 58252 return s 58253 } 58254 58255 // SetNameContains sets the NameContains field's value. 58256 func (s *ListAlgorithmsInput) SetNameContains(v string) *ListAlgorithmsInput { 58257 s.NameContains = &v 58258 return s 58259 } 58260 58261 // SetNextToken sets the NextToken field's value. 58262 func (s *ListAlgorithmsInput) SetNextToken(v string) *ListAlgorithmsInput { 58263 s.NextToken = &v 58264 return s 58265 } 58266 58267 // SetSortBy sets the SortBy field's value. 58268 func (s *ListAlgorithmsInput) SetSortBy(v string) *ListAlgorithmsInput { 58269 s.SortBy = &v 58270 return s 58271 } 58272 58273 // SetSortOrder sets the SortOrder field's value. 58274 func (s *ListAlgorithmsInput) SetSortOrder(v string) *ListAlgorithmsInput { 58275 s.SortOrder = &v 58276 return s 58277 } 58278 58279 type ListAlgorithmsOutput struct { 58280 _ struct{} `type:"structure"` 58281 58282 // >An array of AlgorithmSummary objects, each of which lists an algorithm. 58283 // 58284 // AlgorithmSummaryList is a required field 58285 AlgorithmSummaryList []*AlgorithmSummary `type:"list" required:"true"` 58286 58287 // If the response is truncated, Amazon SageMaker returns this token. To retrieve 58288 // the next set of algorithms, use it in the subsequent request. 58289 NextToken *string `type:"string"` 58290 } 58291 58292 // String returns the string representation. 58293 // 58294 // API parameter values that are decorated as "sensitive" in the API will not 58295 // be included in the string output. The member name will be present, but the 58296 // value will be replaced with "sensitive". 58297 func (s ListAlgorithmsOutput) String() string { 58298 return awsutil.Prettify(s) 58299 } 58300 58301 // GoString returns the string representation. 58302 // 58303 // API parameter values that are decorated as "sensitive" in the API will not 58304 // be included in the string output. The member name will be present, but the 58305 // value will be replaced with "sensitive". 58306 func (s ListAlgorithmsOutput) GoString() string { 58307 return s.String() 58308 } 58309 58310 // SetAlgorithmSummaryList sets the AlgorithmSummaryList field's value. 58311 func (s *ListAlgorithmsOutput) SetAlgorithmSummaryList(v []*AlgorithmSummary) *ListAlgorithmsOutput { 58312 s.AlgorithmSummaryList = v 58313 return s 58314 } 58315 58316 // SetNextToken sets the NextToken field's value. 58317 func (s *ListAlgorithmsOutput) SetNextToken(v string) *ListAlgorithmsOutput { 58318 s.NextToken = &v 58319 return s 58320 } 58321 58322 type ListAppImageConfigsInput struct { 58323 _ struct{} `type:"structure"` 58324 58325 // A filter that returns only AppImageConfigs created on or after the specified 58326 // time. 58327 CreationTimeAfter *time.Time `type:"timestamp"` 58328 58329 // A filter that returns only AppImageConfigs created on or before the specified 58330 // time. 58331 CreationTimeBefore *time.Time `type:"timestamp"` 58332 58333 // The maximum number of AppImageConfigs to return in the response. The default 58334 // value is 10. 58335 MaxResults *int64 `min:"1" type:"integer"` 58336 58337 // A filter that returns only AppImageConfigs modified on or after the specified 58338 // time. 58339 ModifiedTimeAfter *time.Time `type:"timestamp"` 58340 58341 // A filter that returns only AppImageConfigs modified on or before the specified 58342 // time. 58343 ModifiedTimeBefore *time.Time `type:"timestamp"` 58344 58345 // A filter that returns only AppImageConfigs whose name contains the specified 58346 // string. 58347 NameContains *string `type:"string"` 58348 58349 // If the previous call to ListImages didn't return the full set of AppImageConfigs, 58350 // the call returns a token for getting the next set of AppImageConfigs. 58351 NextToken *string `type:"string"` 58352 58353 // The property used to sort results. The default value is CreationTime. 58354 SortBy *string `type:"string" enum:"AppImageConfigSortKey"` 58355 58356 // The sort order. The default value is Descending. 58357 SortOrder *string `type:"string" enum:"SortOrder"` 58358 } 58359 58360 // String returns the string representation. 58361 // 58362 // API parameter values that are decorated as "sensitive" in the API will not 58363 // be included in the string output. The member name will be present, but the 58364 // value will be replaced with "sensitive". 58365 func (s ListAppImageConfigsInput) String() string { 58366 return awsutil.Prettify(s) 58367 } 58368 58369 // GoString returns the string representation. 58370 // 58371 // API parameter values that are decorated as "sensitive" in the API will not 58372 // be included in the string output. The member name will be present, but the 58373 // value will be replaced with "sensitive". 58374 func (s ListAppImageConfigsInput) GoString() string { 58375 return s.String() 58376 } 58377 58378 // Validate inspects the fields of the type to determine if they are valid. 58379 func (s *ListAppImageConfigsInput) Validate() error { 58380 invalidParams := request.ErrInvalidParams{Context: "ListAppImageConfigsInput"} 58381 if s.MaxResults != nil && *s.MaxResults < 1 { 58382 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 58383 } 58384 58385 if invalidParams.Len() > 0 { 58386 return invalidParams 58387 } 58388 return nil 58389 } 58390 58391 // SetCreationTimeAfter sets the CreationTimeAfter field's value. 58392 func (s *ListAppImageConfigsInput) SetCreationTimeAfter(v time.Time) *ListAppImageConfigsInput { 58393 s.CreationTimeAfter = &v 58394 return s 58395 } 58396 58397 // SetCreationTimeBefore sets the CreationTimeBefore field's value. 58398 func (s *ListAppImageConfigsInput) SetCreationTimeBefore(v time.Time) *ListAppImageConfigsInput { 58399 s.CreationTimeBefore = &v 58400 return s 58401 } 58402 58403 // SetMaxResults sets the MaxResults field's value. 58404 func (s *ListAppImageConfigsInput) SetMaxResults(v int64) *ListAppImageConfigsInput { 58405 s.MaxResults = &v 58406 return s 58407 } 58408 58409 // SetModifiedTimeAfter sets the ModifiedTimeAfter field's value. 58410 func (s *ListAppImageConfigsInput) SetModifiedTimeAfter(v time.Time) *ListAppImageConfigsInput { 58411 s.ModifiedTimeAfter = &v 58412 return s 58413 } 58414 58415 // SetModifiedTimeBefore sets the ModifiedTimeBefore field's value. 58416 func (s *ListAppImageConfigsInput) SetModifiedTimeBefore(v time.Time) *ListAppImageConfigsInput { 58417 s.ModifiedTimeBefore = &v 58418 return s 58419 } 58420 58421 // SetNameContains sets the NameContains field's value. 58422 func (s *ListAppImageConfigsInput) SetNameContains(v string) *ListAppImageConfigsInput { 58423 s.NameContains = &v 58424 return s 58425 } 58426 58427 // SetNextToken sets the NextToken field's value. 58428 func (s *ListAppImageConfigsInput) SetNextToken(v string) *ListAppImageConfigsInput { 58429 s.NextToken = &v 58430 return s 58431 } 58432 58433 // SetSortBy sets the SortBy field's value. 58434 func (s *ListAppImageConfigsInput) SetSortBy(v string) *ListAppImageConfigsInput { 58435 s.SortBy = &v 58436 return s 58437 } 58438 58439 // SetSortOrder sets the SortOrder field's value. 58440 func (s *ListAppImageConfigsInput) SetSortOrder(v string) *ListAppImageConfigsInput { 58441 s.SortOrder = &v 58442 return s 58443 } 58444 58445 type ListAppImageConfigsOutput struct { 58446 _ struct{} `type:"structure"` 58447 58448 // A list of AppImageConfigs and their properties. 58449 AppImageConfigs []*AppImageConfigDetails `type:"list"` 58450 58451 // A token for getting the next set of AppImageConfigs, if there are any. 58452 NextToken *string `type:"string"` 58453 } 58454 58455 // String returns the string representation. 58456 // 58457 // API parameter values that are decorated as "sensitive" in the API will not 58458 // be included in the string output. The member name will be present, but the 58459 // value will be replaced with "sensitive". 58460 func (s ListAppImageConfigsOutput) String() string { 58461 return awsutil.Prettify(s) 58462 } 58463 58464 // GoString returns the string representation. 58465 // 58466 // API parameter values that are decorated as "sensitive" in the API will not 58467 // be included in the string output. The member name will be present, but the 58468 // value will be replaced with "sensitive". 58469 func (s ListAppImageConfigsOutput) GoString() string { 58470 return s.String() 58471 } 58472 58473 // SetAppImageConfigs sets the AppImageConfigs field's value. 58474 func (s *ListAppImageConfigsOutput) SetAppImageConfigs(v []*AppImageConfigDetails) *ListAppImageConfigsOutput { 58475 s.AppImageConfigs = v 58476 return s 58477 } 58478 58479 // SetNextToken sets the NextToken field's value. 58480 func (s *ListAppImageConfigsOutput) SetNextToken(v string) *ListAppImageConfigsOutput { 58481 s.NextToken = &v 58482 return s 58483 } 58484 58485 type ListAppsInput struct { 58486 _ struct{} `type:"structure"` 58487 58488 // A parameter to search for the domain ID. 58489 DomainIdEquals *string `type:"string"` 58490 58491 // Returns a list up to a specified limit. 58492 MaxResults *int64 `min:"1" type:"integer"` 58493 58494 // If the previous response was truncated, you will receive this token. Use 58495 // it in your next request to receive the next set of results. 58496 NextToken *string `type:"string"` 58497 58498 // The parameter by which to sort the results. The default is CreationTime. 58499 SortBy *string `type:"string" enum:"AppSortKey"` 58500 58501 // The sort order for the results. The default is Ascending. 58502 SortOrder *string `type:"string" enum:"SortOrder"` 58503 58504 // A parameter to search by user profile name. 58505 UserProfileNameEquals *string `type:"string"` 58506 } 58507 58508 // String returns the string representation. 58509 // 58510 // API parameter values that are decorated as "sensitive" in the API will not 58511 // be included in the string output. The member name will be present, but the 58512 // value will be replaced with "sensitive". 58513 func (s ListAppsInput) String() string { 58514 return awsutil.Prettify(s) 58515 } 58516 58517 // GoString returns the string representation. 58518 // 58519 // API parameter values that are decorated as "sensitive" in the API will not 58520 // be included in the string output. The member name will be present, but the 58521 // value will be replaced with "sensitive". 58522 func (s ListAppsInput) GoString() string { 58523 return s.String() 58524 } 58525 58526 // Validate inspects the fields of the type to determine if they are valid. 58527 func (s *ListAppsInput) Validate() error { 58528 invalidParams := request.ErrInvalidParams{Context: "ListAppsInput"} 58529 if s.MaxResults != nil && *s.MaxResults < 1 { 58530 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 58531 } 58532 58533 if invalidParams.Len() > 0 { 58534 return invalidParams 58535 } 58536 return nil 58537 } 58538 58539 // SetDomainIdEquals sets the DomainIdEquals field's value. 58540 func (s *ListAppsInput) SetDomainIdEquals(v string) *ListAppsInput { 58541 s.DomainIdEquals = &v 58542 return s 58543 } 58544 58545 // SetMaxResults sets the MaxResults field's value. 58546 func (s *ListAppsInput) SetMaxResults(v int64) *ListAppsInput { 58547 s.MaxResults = &v 58548 return s 58549 } 58550 58551 // SetNextToken sets the NextToken field's value. 58552 func (s *ListAppsInput) SetNextToken(v string) *ListAppsInput { 58553 s.NextToken = &v 58554 return s 58555 } 58556 58557 // SetSortBy sets the SortBy field's value. 58558 func (s *ListAppsInput) SetSortBy(v string) *ListAppsInput { 58559 s.SortBy = &v 58560 return s 58561 } 58562 58563 // SetSortOrder sets the SortOrder field's value. 58564 func (s *ListAppsInput) SetSortOrder(v string) *ListAppsInput { 58565 s.SortOrder = &v 58566 return s 58567 } 58568 58569 // SetUserProfileNameEquals sets the UserProfileNameEquals field's value. 58570 func (s *ListAppsInput) SetUserProfileNameEquals(v string) *ListAppsInput { 58571 s.UserProfileNameEquals = &v 58572 return s 58573 } 58574 58575 type ListAppsOutput struct { 58576 _ struct{} `type:"structure"` 58577 58578 // The list of apps. 58579 Apps []*AppDetails `type:"list"` 58580 58581 // If the previous response was truncated, you will receive this token. Use 58582 // it in your next request to receive the next set of results. 58583 NextToken *string `type:"string"` 58584 } 58585 58586 // String returns the string representation. 58587 // 58588 // API parameter values that are decorated as "sensitive" in the API will not 58589 // be included in the string output. The member name will be present, but the 58590 // value will be replaced with "sensitive". 58591 func (s ListAppsOutput) String() string { 58592 return awsutil.Prettify(s) 58593 } 58594 58595 // GoString returns the string representation. 58596 // 58597 // API parameter values that are decorated as "sensitive" in the API will not 58598 // be included in the string output. The member name will be present, but the 58599 // value will be replaced with "sensitive". 58600 func (s ListAppsOutput) GoString() string { 58601 return s.String() 58602 } 58603 58604 // SetApps sets the Apps field's value. 58605 func (s *ListAppsOutput) SetApps(v []*AppDetails) *ListAppsOutput { 58606 s.Apps = v 58607 return s 58608 } 58609 58610 // SetNextToken sets the NextToken field's value. 58611 func (s *ListAppsOutput) SetNextToken(v string) *ListAppsOutput { 58612 s.NextToken = &v 58613 return s 58614 } 58615 58616 type ListArtifactsInput struct { 58617 _ struct{} `type:"structure"` 58618 58619 // A filter that returns only artifacts of the specified type. 58620 ArtifactType *string `type:"string"` 58621 58622 // A filter that returns only artifacts created on or after the specified time. 58623 CreatedAfter *time.Time `type:"timestamp"` 58624 58625 // A filter that returns only artifacts created on or before the specified time. 58626 CreatedBefore *time.Time `type:"timestamp"` 58627 58628 // The maximum number of artifacts to return in the response. The default value 58629 // is 10. 58630 MaxResults *int64 `min:"1" type:"integer"` 58631 58632 // If the previous call to ListArtifacts didn't return the full set of artifacts, 58633 // the call returns a token for getting the next set of artifacts. 58634 NextToken *string `type:"string"` 58635 58636 // The property used to sort results. The default value is CreationTime. 58637 SortBy *string `type:"string" enum:"SortArtifactsBy"` 58638 58639 // The sort order. The default value is Descending. 58640 SortOrder *string `type:"string" enum:"SortOrder"` 58641 58642 // A filter that returns only artifacts with the specified source URI. 58643 SourceUri *string `type:"string"` 58644 } 58645 58646 // String returns the string representation. 58647 // 58648 // API parameter values that are decorated as "sensitive" in the API will not 58649 // be included in the string output. The member name will be present, but the 58650 // value will be replaced with "sensitive". 58651 func (s ListArtifactsInput) String() string { 58652 return awsutil.Prettify(s) 58653 } 58654 58655 // GoString returns the string representation. 58656 // 58657 // API parameter values that are decorated as "sensitive" in the API will not 58658 // be included in the string output. The member name will be present, but the 58659 // value will be replaced with "sensitive". 58660 func (s ListArtifactsInput) GoString() string { 58661 return s.String() 58662 } 58663 58664 // Validate inspects the fields of the type to determine if they are valid. 58665 func (s *ListArtifactsInput) Validate() error { 58666 invalidParams := request.ErrInvalidParams{Context: "ListArtifactsInput"} 58667 if s.MaxResults != nil && *s.MaxResults < 1 { 58668 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 58669 } 58670 58671 if invalidParams.Len() > 0 { 58672 return invalidParams 58673 } 58674 return nil 58675 } 58676 58677 // SetArtifactType sets the ArtifactType field's value. 58678 func (s *ListArtifactsInput) SetArtifactType(v string) *ListArtifactsInput { 58679 s.ArtifactType = &v 58680 return s 58681 } 58682 58683 // SetCreatedAfter sets the CreatedAfter field's value. 58684 func (s *ListArtifactsInput) SetCreatedAfter(v time.Time) *ListArtifactsInput { 58685 s.CreatedAfter = &v 58686 return s 58687 } 58688 58689 // SetCreatedBefore sets the CreatedBefore field's value. 58690 func (s *ListArtifactsInput) SetCreatedBefore(v time.Time) *ListArtifactsInput { 58691 s.CreatedBefore = &v 58692 return s 58693 } 58694 58695 // SetMaxResults sets the MaxResults field's value. 58696 func (s *ListArtifactsInput) SetMaxResults(v int64) *ListArtifactsInput { 58697 s.MaxResults = &v 58698 return s 58699 } 58700 58701 // SetNextToken sets the NextToken field's value. 58702 func (s *ListArtifactsInput) SetNextToken(v string) *ListArtifactsInput { 58703 s.NextToken = &v 58704 return s 58705 } 58706 58707 // SetSortBy sets the SortBy field's value. 58708 func (s *ListArtifactsInput) SetSortBy(v string) *ListArtifactsInput { 58709 s.SortBy = &v 58710 return s 58711 } 58712 58713 // SetSortOrder sets the SortOrder field's value. 58714 func (s *ListArtifactsInput) SetSortOrder(v string) *ListArtifactsInput { 58715 s.SortOrder = &v 58716 return s 58717 } 58718 58719 // SetSourceUri sets the SourceUri field's value. 58720 func (s *ListArtifactsInput) SetSourceUri(v string) *ListArtifactsInput { 58721 s.SourceUri = &v 58722 return s 58723 } 58724 58725 type ListArtifactsOutput struct { 58726 _ struct{} `type:"structure"` 58727 58728 // A list of artifacts and their properties. 58729 ArtifactSummaries []*ArtifactSummary `type:"list"` 58730 58731 // A token for getting the next set of artifacts, if there are any. 58732 NextToken *string `type:"string"` 58733 } 58734 58735 // String returns the string representation. 58736 // 58737 // API parameter values that are decorated as "sensitive" in the API will not 58738 // be included in the string output. The member name will be present, but the 58739 // value will be replaced with "sensitive". 58740 func (s ListArtifactsOutput) String() string { 58741 return awsutil.Prettify(s) 58742 } 58743 58744 // GoString returns the string representation. 58745 // 58746 // API parameter values that are decorated as "sensitive" in the API will not 58747 // be included in the string output. The member name will be present, but the 58748 // value will be replaced with "sensitive". 58749 func (s ListArtifactsOutput) GoString() string { 58750 return s.String() 58751 } 58752 58753 // SetArtifactSummaries sets the ArtifactSummaries field's value. 58754 func (s *ListArtifactsOutput) SetArtifactSummaries(v []*ArtifactSummary) *ListArtifactsOutput { 58755 s.ArtifactSummaries = v 58756 return s 58757 } 58758 58759 // SetNextToken sets the NextToken field's value. 58760 func (s *ListArtifactsOutput) SetNextToken(v string) *ListArtifactsOutput { 58761 s.NextToken = &v 58762 return s 58763 } 58764 58765 type ListAssociationsInput struct { 58766 _ struct{} `type:"structure"` 58767 58768 // A filter that returns only associations of the specified type. 58769 AssociationType *string `type:"string" enum:"AssociationEdgeType"` 58770 58771 // A filter that returns only associations created on or after the specified 58772 // time. 58773 CreatedAfter *time.Time `type:"timestamp"` 58774 58775 // A filter that returns only associations created on or before the specified 58776 // time. 58777 CreatedBefore *time.Time `type:"timestamp"` 58778 58779 // A filter that returns only associations with the specified destination Amazon 58780 // Resource Name (ARN). 58781 DestinationArn *string `type:"string"` 58782 58783 // A filter that returns only associations with the specified destination type. 58784 DestinationType *string `type:"string"` 58785 58786 // The maximum number of associations to return in the response. The default 58787 // value is 10. 58788 MaxResults *int64 `min:"1" type:"integer"` 58789 58790 // If the previous call to ListAssociations didn't return the full set of associations, 58791 // the call returns a token for getting the next set of associations. 58792 NextToken *string `type:"string"` 58793 58794 // The property used to sort results. The default value is CreationTime. 58795 SortBy *string `type:"string" enum:"SortAssociationsBy"` 58796 58797 // The sort order. The default value is Descending. 58798 SortOrder *string `type:"string" enum:"SortOrder"` 58799 58800 // A filter that returns only associations with the specified source ARN. 58801 SourceArn *string `type:"string"` 58802 58803 // A filter that returns only associations with the specified source type. 58804 SourceType *string `type:"string"` 58805 } 58806 58807 // String returns the string representation. 58808 // 58809 // API parameter values that are decorated as "sensitive" in the API will not 58810 // be included in the string output. The member name will be present, but the 58811 // value will be replaced with "sensitive". 58812 func (s ListAssociationsInput) String() string { 58813 return awsutil.Prettify(s) 58814 } 58815 58816 // GoString returns the string representation. 58817 // 58818 // API parameter values that are decorated as "sensitive" in the API will not 58819 // be included in the string output. The member name will be present, but the 58820 // value will be replaced with "sensitive". 58821 func (s ListAssociationsInput) GoString() string { 58822 return s.String() 58823 } 58824 58825 // Validate inspects the fields of the type to determine if they are valid. 58826 func (s *ListAssociationsInput) Validate() error { 58827 invalidParams := request.ErrInvalidParams{Context: "ListAssociationsInput"} 58828 if s.MaxResults != nil && *s.MaxResults < 1 { 58829 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 58830 } 58831 58832 if invalidParams.Len() > 0 { 58833 return invalidParams 58834 } 58835 return nil 58836 } 58837 58838 // SetAssociationType sets the AssociationType field's value. 58839 func (s *ListAssociationsInput) SetAssociationType(v string) *ListAssociationsInput { 58840 s.AssociationType = &v 58841 return s 58842 } 58843 58844 // SetCreatedAfter sets the CreatedAfter field's value. 58845 func (s *ListAssociationsInput) SetCreatedAfter(v time.Time) *ListAssociationsInput { 58846 s.CreatedAfter = &v 58847 return s 58848 } 58849 58850 // SetCreatedBefore sets the CreatedBefore field's value. 58851 func (s *ListAssociationsInput) SetCreatedBefore(v time.Time) *ListAssociationsInput { 58852 s.CreatedBefore = &v 58853 return s 58854 } 58855 58856 // SetDestinationArn sets the DestinationArn field's value. 58857 func (s *ListAssociationsInput) SetDestinationArn(v string) *ListAssociationsInput { 58858 s.DestinationArn = &v 58859 return s 58860 } 58861 58862 // SetDestinationType sets the DestinationType field's value. 58863 func (s *ListAssociationsInput) SetDestinationType(v string) *ListAssociationsInput { 58864 s.DestinationType = &v 58865 return s 58866 } 58867 58868 // SetMaxResults sets the MaxResults field's value. 58869 func (s *ListAssociationsInput) SetMaxResults(v int64) *ListAssociationsInput { 58870 s.MaxResults = &v 58871 return s 58872 } 58873 58874 // SetNextToken sets the NextToken field's value. 58875 func (s *ListAssociationsInput) SetNextToken(v string) *ListAssociationsInput { 58876 s.NextToken = &v 58877 return s 58878 } 58879 58880 // SetSortBy sets the SortBy field's value. 58881 func (s *ListAssociationsInput) SetSortBy(v string) *ListAssociationsInput { 58882 s.SortBy = &v 58883 return s 58884 } 58885 58886 // SetSortOrder sets the SortOrder field's value. 58887 func (s *ListAssociationsInput) SetSortOrder(v string) *ListAssociationsInput { 58888 s.SortOrder = &v 58889 return s 58890 } 58891 58892 // SetSourceArn sets the SourceArn field's value. 58893 func (s *ListAssociationsInput) SetSourceArn(v string) *ListAssociationsInput { 58894 s.SourceArn = &v 58895 return s 58896 } 58897 58898 // SetSourceType sets the SourceType field's value. 58899 func (s *ListAssociationsInput) SetSourceType(v string) *ListAssociationsInput { 58900 s.SourceType = &v 58901 return s 58902 } 58903 58904 type ListAssociationsOutput struct { 58905 _ struct{} `type:"structure"` 58906 58907 // A list of associations and their properties. 58908 AssociationSummaries []*AssociationSummary `type:"list"` 58909 58910 // A token for getting the next set of associations, if there are any. 58911 NextToken *string `type:"string"` 58912 } 58913 58914 // String returns the string representation. 58915 // 58916 // API parameter values that are decorated as "sensitive" in the API will not 58917 // be included in the string output. The member name will be present, but the 58918 // value will be replaced with "sensitive". 58919 func (s ListAssociationsOutput) String() string { 58920 return awsutil.Prettify(s) 58921 } 58922 58923 // GoString returns the string representation. 58924 // 58925 // API parameter values that are decorated as "sensitive" in the API will not 58926 // be included in the string output. The member name will be present, but the 58927 // value will be replaced with "sensitive". 58928 func (s ListAssociationsOutput) GoString() string { 58929 return s.String() 58930 } 58931 58932 // SetAssociationSummaries sets the AssociationSummaries field's value. 58933 func (s *ListAssociationsOutput) SetAssociationSummaries(v []*AssociationSummary) *ListAssociationsOutput { 58934 s.AssociationSummaries = v 58935 return s 58936 } 58937 58938 // SetNextToken sets the NextToken field's value. 58939 func (s *ListAssociationsOutput) SetNextToken(v string) *ListAssociationsOutput { 58940 s.NextToken = &v 58941 return s 58942 } 58943 58944 type ListAutoMLJobsInput struct { 58945 _ struct{} `type:"structure"` 58946 58947 // Request a list of jobs, using a filter for time. 58948 CreationTimeAfter *time.Time `type:"timestamp"` 58949 58950 // Request a list of jobs, using a filter for time. 58951 CreationTimeBefore *time.Time `type:"timestamp"` 58952 58953 // Request a list of jobs, using a filter for time. 58954 LastModifiedTimeAfter *time.Time `type:"timestamp"` 58955 58956 // Request a list of jobs, using a filter for time. 58957 LastModifiedTimeBefore *time.Time `type:"timestamp"` 58958 58959 // Request a list of jobs up to a specified limit. 58960 MaxResults *int64 `min:"1" type:"integer"` 58961 58962 // Request a list of jobs, using a search filter for name. 58963 NameContains *string `type:"string"` 58964 58965 // If the previous response was truncated, you receive this token. Use it in 58966 // your next request to receive the next set of results. 58967 NextToken *string `type:"string"` 58968 58969 // The parameter by which to sort the results. The default is Name. 58970 SortBy *string `type:"string" enum:"AutoMLSortBy"` 58971 58972 // The sort order for the results. The default is Descending. 58973 SortOrder *string `type:"string" enum:"AutoMLSortOrder"` 58974 58975 // Request a list of jobs, using a filter for status. 58976 StatusEquals *string `type:"string" enum:"AutoMLJobStatus"` 58977 } 58978 58979 // String returns the string representation. 58980 // 58981 // API parameter values that are decorated as "sensitive" in the API will not 58982 // be included in the string output. The member name will be present, but the 58983 // value will be replaced with "sensitive". 58984 func (s ListAutoMLJobsInput) String() string { 58985 return awsutil.Prettify(s) 58986 } 58987 58988 // GoString returns the string representation. 58989 // 58990 // API parameter values that are decorated as "sensitive" in the API will not 58991 // be included in the string output. The member name will be present, but the 58992 // value will be replaced with "sensitive". 58993 func (s ListAutoMLJobsInput) GoString() string { 58994 return s.String() 58995 } 58996 58997 // Validate inspects the fields of the type to determine if they are valid. 58998 func (s *ListAutoMLJobsInput) Validate() error { 58999 invalidParams := request.ErrInvalidParams{Context: "ListAutoMLJobsInput"} 59000 if s.MaxResults != nil && *s.MaxResults < 1 { 59001 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 59002 } 59003 59004 if invalidParams.Len() > 0 { 59005 return invalidParams 59006 } 59007 return nil 59008 } 59009 59010 // SetCreationTimeAfter sets the CreationTimeAfter field's value. 59011 func (s *ListAutoMLJobsInput) SetCreationTimeAfter(v time.Time) *ListAutoMLJobsInput { 59012 s.CreationTimeAfter = &v 59013 return s 59014 } 59015 59016 // SetCreationTimeBefore sets the CreationTimeBefore field's value. 59017 func (s *ListAutoMLJobsInput) SetCreationTimeBefore(v time.Time) *ListAutoMLJobsInput { 59018 s.CreationTimeBefore = &v 59019 return s 59020 } 59021 59022 // SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value. 59023 func (s *ListAutoMLJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListAutoMLJobsInput { 59024 s.LastModifiedTimeAfter = &v 59025 return s 59026 } 59027 59028 // SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value. 59029 func (s *ListAutoMLJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListAutoMLJobsInput { 59030 s.LastModifiedTimeBefore = &v 59031 return s 59032 } 59033 59034 // SetMaxResults sets the MaxResults field's value. 59035 func (s *ListAutoMLJobsInput) SetMaxResults(v int64) *ListAutoMLJobsInput { 59036 s.MaxResults = &v 59037 return s 59038 } 59039 59040 // SetNameContains sets the NameContains field's value. 59041 func (s *ListAutoMLJobsInput) SetNameContains(v string) *ListAutoMLJobsInput { 59042 s.NameContains = &v 59043 return s 59044 } 59045 59046 // SetNextToken sets the NextToken field's value. 59047 func (s *ListAutoMLJobsInput) SetNextToken(v string) *ListAutoMLJobsInput { 59048 s.NextToken = &v 59049 return s 59050 } 59051 59052 // SetSortBy sets the SortBy field's value. 59053 func (s *ListAutoMLJobsInput) SetSortBy(v string) *ListAutoMLJobsInput { 59054 s.SortBy = &v 59055 return s 59056 } 59057 59058 // SetSortOrder sets the SortOrder field's value. 59059 func (s *ListAutoMLJobsInput) SetSortOrder(v string) *ListAutoMLJobsInput { 59060 s.SortOrder = &v 59061 return s 59062 } 59063 59064 // SetStatusEquals sets the StatusEquals field's value. 59065 func (s *ListAutoMLJobsInput) SetStatusEquals(v string) *ListAutoMLJobsInput { 59066 s.StatusEquals = &v 59067 return s 59068 } 59069 59070 type ListAutoMLJobsOutput struct { 59071 _ struct{} `type:"structure"` 59072 59073 // Returns a summary list of jobs. 59074 // 59075 // AutoMLJobSummaries is a required field 59076 AutoMLJobSummaries []*AutoMLJobSummary `type:"list" required:"true"` 59077 59078 // If the previous response was truncated, you receive this token. Use it in 59079 // your next request to receive the next set of results. 59080 NextToken *string `type:"string"` 59081 } 59082 59083 // String returns the string representation. 59084 // 59085 // API parameter values that are decorated as "sensitive" in the API will not 59086 // be included in the string output. The member name will be present, but the 59087 // value will be replaced with "sensitive". 59088 func (s ListAutoMLJobsOutput) String() string { 59089 return awsutil.Prettify(s) 59090 } 59091 59092 // GoString returns the string representation. 59093 // 59094 // API parameter values that are decorated as "sensitive" in the API will not 59095 // be included in the string output. The member name will be present, but the 59096 // value will be replaced with "sensitive". 59097 func (s ListAutoMLJobsOutput) GoString() string { 59098 return s.String() 59099 } 59100 59101 // SetAutoMLJobSummaries sets the AutoMLJobSummaries field's value. 59102 func (s *ListAutoMLJobsOutput) SetAutoMLJobSummaries(v []*AutoMLJobSummary) *ListAutoMLJobsOutput { 59103 s.AutoMLJobSummaries = v 59104 return s 59105 } 59106 59107 // SetNextToken sets the NextToken field's value. 59108 func (s *ListAutoMLJobsOutput) SetNextToken(v string) *ListAutoMLJobsOutput { 59109 s.NextToken = &v 59110 return s 59111 } 59112 59113 type ListCandidatesForAutoMLJobInput struct { 59114 _ struct{} `type:"structure"` 59115 59116 // List the candidates created for the job by providing the job's name. 59117 // 59118 // AutoMLJobName is a required field 59119 AutoMLJobName *string `min:"1" type:"string" required:"true"` 59120 59121 // List the candidates for the job and filter by candidate name. 59122 CandidateNameEquals *string `min:"1" type:"string"` 59123 59124 // List the job's candidates up to a specified limit. 59125 MaxResults *int64 `min:"1" type:"integer"` 59126 59127 // If the previous response was truncated, you receive this token. Use it in 59128 // your next request to receive the next set of results. 59129 NextToken *string `type:"string"` 59130 59131 // The parameter by which to sort the results. The default is Descending. 59132 SortBy *string `type:"string" enum:"CandidateSortBy"` 59133 59134 // The sort order for the results. The default is Ascending. 59135 SortOrder *string `type:"string" enum:"AutoMLSortOrder"` 59136 59137 // List the candidates for the job and filter by status. 59138 StatusEquals *string `type:"string" enum:"CandidateStatus"` 59139 } 59140 59141 // String returns the string representation. 59142 // 59143 // API parameter values that are decorated as "sensitive" in the API will not 59144 // be included in the string output. The member name will be present, but the 59145 // value will be replaced with "sensitive". 59146 func (s ListCandidatesForAutoMLJobInput) String() string { 59147 return awsutil.Prettify(s) 59148 } 59149 59150 // GoString returns the string representation. 59151 // 59152 // API parameter values that are decorated as "sensitive" in the API will not 59153 // be included in the string output. The member name will be present, but the 59154 // value will be replaced with "sensitive". 59155 func (s ListCandidatesForAutoMLJobInput) GoString() string { 59156 return s.String() 59157 } 59158 59159 // Validate inspects the fields of the type to determine if they are valid. 59160 func (s *ListCandidatesForAutoMLJobInput) Validate() error { 59161 invalidParams := request.ErrInvalidParams{Context: "ListCandidatesForAutoMLJobInput"} 59162 if s.AutoMLJobName == nil { 59163 invalidParams.Add(request.NewErrParamRequired("AutoMLJobName")) 59164 } 59165 if s.AutoMLJobName != nil && len(*s.AutoMLJobName) < 1 { 59166 invalidParams.Add(request.NewErrParamMinLen("AutoMLJobName", 1)) 59167 } 59168 if s.CandidateNameEquals != nil && len(*s.CandidateNameEquals) < 1 { 59169 invalidParams.Add(request.NewErrParamMinLen("CandidateNameEquals", 1)) 59170 } 59171 if s.MaxResults != nil && *s.MaxResults < 1 { 59172 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 59173 } 59174 59175 if invalidParams.Len() > 0 { 59176 return invalidParams 59177 } 59178 return nil 59179 } 59180 59181 // SetAutoMLJobName sets the AutoMLJobName field's value. 59182 func (s *ListCandidatesForAutoMLJobInput) SetAutoMLJobName(v string) *ListCandidatesForAutoMLJobInput { 59183 s.AutoMLJobName = &v 59184 return s 59185 } 59186 59187 // SetCandidateNameEquals sets the CandidateNameEquals field's value. 59188 func (s *ListCandidatesForAutoMLJobInput) SetCandidateNameEquals(v string) *ListCandidatesForAutoMLJobInput { 59189 s.CandidateNameEquals = &v 59190 return s 59191 } 59192 59193 // SetMaxResults sets the MaxResults field's value. 59194 func (s *ListCandidatesForAutoMLJobInput) SetMaxResults(v int64) *ListCandidatesForAutoMLJobInput { 59195 s.MaxResults = &v 59196 return s 59197 } 59198 59199 // SetNextToken sets the NextToken field's value. 59200 func (s *ListCandidatesForAutoMLJobInput) SetNextToken(v string) *ListCandidatesForAutoMLJobInput { 59201 s.NextToken = &v 59202 return s 59203 } 59204 59205 // SetSortBy sets the SortBy field's value. 59206 func (s *ListCandidatesForAutoMLJobInput) SetSortBy(v string) *ListCandidatesForAutoMLJobInput { 59207 s.SortBy = &v 59208 return s 59209 } 59210 59211 // SetSortOrder sets the SortOrder field's value. 59212 func (s *ListCandidatesForAutoMLJobInput) SetSortOrder(v string) *ListCandidatesForAutoMLJobInput { 59213 s.SortOrder = &v 59214 return s 59215 } 59216 59217 // SetStatusEquals sets the StatusEquals field's value. 59218 func (s *ListCandidatesForAutoMLJobInput) SetStatusEquals(v string) *ListCandidatesForAutoMLJobInput { 59219 s.StatusEquals = &v 59220 return s 59221 } 59222 59223 type ListCandidatesForAutoMLJobOutput struct { 59224 _ struct{} `type:"structure"` 59225 59226 // Summaries about the AutoMLCandidates. 59227 // 59228 // Candidates is a required field 59229 Candidates []*AutoMLCandidate `type:"list" required:"true"` 59230 59231 // If the previous response was truncated, you receive this token. Use it in 59232 // your next request to receive the next set of results. 59233 NextToken *string `type:"string"` 59234 } 59235 59236 // String returns the string representation. 59237 // 59238 // API parameter values that are decorated as "sensitive" in the API will not 59239 // be included in the string output. The member name will be present, but the 59240 // value will be replaced with "sensitive". 59241 func (s ListCandidatesForAutoMLJobOutput) String() string { 59242 return awsutil.Prettify(s) 59243 } 59244 59245 // GoString returns the string representation. 59246 // 59247 // API parameter values that are decorated as "sensitive" in the API will not 59248 // be included in the string output. The member name will be present, but the 59249 // value will be replaced with "sensitive". 59250 func (s ListCandidatesForAutoMLJobOutput) GoString() string { 59251 return s.String() 59252 } 59253 59254 // SetCandidates sets the Candidates field's value. 59255 func (s *ListCandidatesForAutoMLJobOutput) SetCandidates(v []*AutoMLCandidate) *ListCandidatesForAutoMLJobOutput { 59256 s.Candidates = v 59257 return s 59258 } 59259 59260 // SetNextToken sets the NextToken field's value. 59261 func (s *ListCandidatesForAutoMLJobOutput) SetNextToken(v string) *ListCandidatesForAutoMLJobOutput { 59262 s.NextToken = &v 59263 return s 59264 } 59265 59266 type ListCodeRepositoriesInput struct { 59267 _ struct{} `type:"structure"` 59268 59269 // A filter that returns only Git repositories that were created after the specified 59270 // time. 59271 CreationTimeAfter *time.Time `type:"timestamp"` 59272 59273 // A filter that returns only Git repositories that were created before the 59274 // specified time. 59275 CreationTimeBefore *time.Time `type:"timestamp"` 59276 59277 // A filter that returns only Git repositories that were last modified after 59278 // the specified time. 59279 LastModifiedTimeAfter *time.Time `type:"timestamp"` 59280 59281 // A filter that returns only Git repositories that were last modified before 59282 // the specified time. 59283 LastModifiedTimeBefore *time.Time `type:"timestamp"` 59284 59285 // The maximum number of Git repositories to return in the response. 59286 MaxResults *int64 `min:"1" type:"integer"` 59287 59288 // A string in the Git repositories name. This filter returns only repositories 59289 // whose name contains the specified string. 59290 NameContains *string `type:"string"` 59291 59292 // If the result of a ListCodeRepositoriesOutput request was truncated, the 59293 // response includes a NextToken. To get the next set of Git repositories, use 59294 // the token in the next request. 59295 NextToken *string `type:"string"` 59296 59297 // The field to sort results by. The default is Name. 59298 SortBy *string `type:"string" enum:"CodeRepositorySortBy"` 59299 59300 // The sort order for results. The default is Ascending. 59301 SortOrder *string `type:"string" enum:"CodeRepositorySortOrder"` 59302 } 59303 59304 // String returns the string representation. 59305 // 59306 // API parameter values that are decorated as "sensitive" in the API will not 59307 // be included in the string output. The member name will be present, but the 59308 // value will be replaced with "sensitive". 59309 func (s ListCodeRepositoriesInput) String() string { 59310 return awsutil.Prettify(s) 59311 } 59312 59313 // GoString returns the string representation. 59314 // 59315 // API parameter values that are decorated as "sensitive" in the API will not 59316 // be included in the string output. The member name will be present, but the 59317 // value will be replaced with "sensitive". 59318 func (s ListCodeRepositoriesInput) GoString() string { 59319 return s.String() 59320 } 59321 59322 // Validate inspects the fields of the type to determine if they are valid. 59323 func (s *ListCodeRepositoriesInput) Validate() error { 59324 invalidParams := request.ErrInvalidParams{Context: "ListCodeRepositoriesInput"} 59325 if s.MaxResults != nil && *s.MaxResults < 1 { 59326 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 59327 } 59328 59329 if invalidParams.Len() > 0 { 59330 return invalidParams 59331 } 59332 return nil 59333 } 59334 59335 // SetCreationTimeAfter sets the CreationTimeAfter field's value. 59336 func (s *ListCodeRepositoriesInput) SetCreationTimeAfter(v time.Time) *ListCodeRepositoriesInput { 59337 s.CreationTimeAfter = &v 59338 return s 59339 } 59340 59341 // SetCreationTimeBefore sets the CreationTimeBefore field's value. 59342 func (s *ListCodeRepositoriesInput) SetCreationTimeBefore(v time.Time) *ListCodeRepositoriesInput { 59343 s.CreationTimeBefore = &v 59344 return s 59345 } 59346 59347 // SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value. 59348 func (s *ListCodeRepositoriesInput) SetLastModifiedTimeAfter(v time.Time) *ListCodeRepositoriesInput { 59349 s.LastModifiedTimeAfter = &v 59350 return s 59351 } 59352 59353 // SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value. 59354 func (s *ListCodeRepositoriesInput) SetLastModifiedTimeBefore(v time.Time) *ListCodeRepositoriesInput { 59355 s.LastModifiedTimeBefore = &v 59356 return s 59357 } 59358 59359 // SetMaxResults sets the MaxResults field's value. 59360 func (s *ListCodeRepositoriesInput) SetMaxResults(v int64) *ListCodeRepositoriesInput { 59361 s.MaxResults = &v 59362 return s 59363 } 59364 59365 // SetNameContains sets the NameContains field's value. 59366 func (s *ListCodeRepositoriesInput) SetNameContains(v string) *ListCodeRepositoriesInput { 59367 s.NameContains = &v 59368 return s 59369 } 59370 59371 // SetNextToken sets the NextToken field's value. 59372 func (s *ListCodeRepositoriesInput) SetNextToken(v string) *ListCodeRepositoriesInput { 59373 s.NextToken = &v 59374 return s 59375 } 59376 59377 // SetSortBy sets the SortBy field's value. 59378 func (s *ListCodeRepositoriesInput) SetSortBy(v string) *ListCodeRepositoriesInput { 59379 s.SortBy = &v 59380 return s 59381 } 59382 59383 // SetSortOrder sets the SortOrder field's value. 59384 func (s *ListCodeRepositoriesInput) SetSortOrder(v string) *ListCodeRepositoriesInput { 59385 s.SortOrder = &v 59386 return s 59387 } 59388 59389 type ListCodeRepositoriesOutput struct { 59390 _ struct{} `type:"structure"` 59391 59392 // Gets a list of summaries of the Git repositories. Each summary specifies 59393 // the following values for the repository: 59394 // 59395 // * Name 59396 // 59397 // * Amazon Resource Name (ARN) 59398 // 59399 // * Creation time 59400 // 59401 // * Last modified time 59402 // 59403 // * Configuration information, including the URL location of the repository 59404 // and the ARN of the Amazon Web Services Secrets Manager secret that contains 59405 // the credentials used to access the repository. 59406 // 59407 // CodeRepositorySummaryList is a required field 59408 CodeRepositorySummaryList []*CodeRepositorySummary `type:"list" required:"true"` 59409 59410 // If the result of a ListCodeRepositoriesOutput request was truncated, the 59411 // response includes a NextToken. To get the next set of Git repositories, use 59412 // the token in the next request. 59413 NextToken *string `type:"string"` 59414 } 59415 59416 // String returns the string representation. 59417 // 59418 // API parameter values that are decorated as "sensitive" in the API will not 59419 // be included in the string output. The member name will be present, but the 59420 // value will be replaced with "sensitive". 59421 func (s ListCodeRepositoriesOutput) String() string { 59422 return awsutil.Prettify(s) 59423 } 59424 59425 // GoString returns the string representation. 59426 // 59427 // API parameter values that are decorated as "sensitive" in the API will not 59428 // be included in the string output. The member name will be present, but the 59429 // value will be replaced with "sensitive". 59430 func (s ListCodeRepositoriesOutput) GoString() string { 59431 return s.String() 59432 } 59433 59434 // SetCodeRepositorySummaryList sets the CodeRepositorySummaryList field's value. 59435 func (s *ListCodeRepositoriesOutput) SetCodeRepositorySummaryList(v []*CodeRepositorySummary) *ListCodeRepositoriesOutput { 59436 s.CodeRepositorySummaryList = v 59437 return s 59438 } 59439 59440 // SetNextToken sets the NextToken field's value. 59441 func (s *ListCodeRepositoriesOutput) SetNextToken(v string) *ListCodeRepositoriesOutput { 59442 s.NextToken = &v 59443 return s 59444 } 59445 59446 type ListCompilationJobsInput struct { 59447 _ struct{} `type:"structure"` 59448 59449 // A filter that returns the model compilation jobs that were created after 59450 // a specified time. 59451 CreationTimeAfter *time.Time `type:"timestamp"` 59452 59453 // A filter that returns the model compilation jobs that were created before 59454 // a specified time. 59455 CreationTimeBefore *time.Time `type:"timestamp"` 59456 59457 // A filter that returns the model compilation jobs that were modified after 59458 // a specified time. 59459 LastModifiedTimeAfter *time.Time `type:"timestamp"` 59460 59461 // A filter that returns the model compilation jobs that were modified before 59462 // a specified time. 59463 LastModifiedTimeBefore *time.Time `type:"timestamp"` 59464 59465 // The maximum number of model compilation jobs to return in the response. 59466 MaxResults *int64 `min:"1" type:"integer"` 59467 59468 // A filter that returns the model compilation jobs whose name contains a specified 59469 // string. 59470 NameContains *string `type:"string"` 59471 59472 // If the result of the previous ListCompilationJobs request was truncated, 59473 // the response includes a NextToken. To retrieve the next set of model compilation 59474 // jobs, use the token in the next request. 59475 NextToken *string `type:"string"` 59476 59477 // The field by which to sort results. The default is CreationTime. 59478 SortBy *string `type:"string" enum:"ListCompilationJobsSortBy"` 59479 59480 // The sort order for results. The default is Ascending. 59481 SortOrder *string `type:"string" enum:"SortOrder"` 59482 59483 // A filter that retrieves model compilation jobs with a specific DescribeCompilationJobResponse$CompilationJobStatus 59484 // status. 59485 StatusEquals *string `type:"string" enum:"CompilationJobStatus"` 59486 } 59487 59488 // String returns the string representation. 59489 // 59490 // API parameter values that are decorated as "sensitive" in the API will not 59491 // be included in the string output. The member name will be present, but the 59492 // value will be replaced with "sensitive". 59493 func (s ListCompilationJobsInput) String() string { 59494 return awsutil.Prettify(s) 59495 } 59496 59497 // GoString returns the string representation. 59498 // 59499 // API parameter values that are decorated as "sensitive" in the API will not 59500 // be included in the string output. The member name will be present, but the 59501 // value will be replaced with "sensitive". 59502 func (s ListCompilationJobsInput) GoString() string { 59503 return s.String() 59504 } 59505 59506 // Validate inspects the fields of the type to determine if they are valid. 59507 func (s *ListCompilationJobsInput) Validate() error { 59508 invalidParams := request.ErrInvalidParams{Context: "ListCompilationJobsInput"} 59509 if s.MaxResults != nil && *s.MaxResults < 1 { 59510 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 59511 } 59512 59513 if invalidParams.Len() > 0 { 59514 return invalidParams 59515 } 59516 return nil 59517 } 59518 59519 // SetCreationTimeAfter sets the CreationTimeAfter field's value. 59520 func (s *ListCompilationJobsInput) SetCreationTimeAfter(v time.Time) *ListCompilationJobsInput { 59521 s.CreationTimeAfter = &v 59522 return s 59523 } 59524 59525 // SetCreationTimeBefore sets the CreationTimeBefore field's value. 59526 func (s *ListCompilationJobsInput) SetCreationTimeBefore(v time.Time) *ListCompilationJobsInput { 59527 s.CreationTimeBefore = &v 59528 return s 59529 } 59530 59531 // SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value. 59532 func (s *ListCompilationJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListCompilationJobsInput { 59533 s.LastModifiedTimeAfter = &v 59534 return s 59535 } 59536 59537 // SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value. 59538 func (s *ListCompilationJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListCompilationJobsInput { 59539 s.LastModifiedTimeBefore = &v 59540 return s 59541 } 59542 59543 // SetMaxResults sets the MaxResults field's value. 59544 func (s *ListCompilationJobsInput) SetMaxResults(v int64) *ListCompilationJobsInput { 59545 s.MaxResults = &v 59546 return s 59547 } 59548 59549 // SetNameContains sets the NameContains field's value. 59550 func (s *ListCompilationJobsInput) SetNameContains(v string) *ListCompilationJobsInput { 59551 s.NameContains = &v 59552 return s 59553 } 59554 59555 // SetNextToken sets the NextToken field's value. 59556 func (s *ListCompilationJobsInput) SetNextToken(v string) *ListCompilationJobsInput { 59557 s.NextToken = &v 59558 return s 59559 } 59560 59561 // SetSortBy sets the SortBy field's value. 59562 func (s *ListCompilationJobsInput) SetSortBy(v string) *ListCompilationJobsInput { 59563 s.SortBy = &v 59564 return s 59565 } 59566 59567 // SetSortOrder sets the SortOrder field's value. 59568 func (s *ListCompilationJobsInput) SetSortOrder(v string) *ListCompilationJobsInput { 59569 s.SortOrder = &v 59570 return s 59571 } 59572 59573 // SetStatusEquals sets the StatusEquals field's value. 59574 func (s *ListCompilationJobsInput) SetStatusEquals(v string) *ListCompilationJobsInput { 59575 s.StatusEquals = &v 59576 return s 59577 } 59578 59579 type ListCompilationJobsOutput struct { 59580 _ struct{} `type:"structure"` 59581 59582 // An array of CompilationJobSummary objects, each describing a model compilation 59583 // job. 59584 // 59585 // CompilationJobSummaries is a required field 59586 CompilationJobSummaries []*CompilationJobSummary `type:"list" required:"true"` 59587 59588 // If the response is truncated, Amazon SageMaker returns this NextToken. To 59589 // retrieve the next set of model compilation jobs, use this token in the next 59590 // request. 59591 NextToken *string `type:"string"` 59592 } 59593 59594 // String returns the string representation. 59595 // 59596 // API parameter values that are decorated as "sensitive" in the API will not 59597 // be included in the string output. The member name will be present, but the 59598 // value will be replaced with "sensitive". 59599 func (s ListCompilationJobsOutput) String() string { 59600 return awsutil.Prettify(s) 59601 } 59602 59603 // GoString returns the string representation. 59604 // 59605 // API parameter values that are decorated as "sensitive" in the API will not 59606 // be included in the string output. The member name will be present, but the 59607 // value will be replaced with "sensitive". 59608 func (s ListCompilationJobsOutput) GoString() string { 59609 return s.String() 59610 } 59611 59612 // SetCompilationJobSummaries sets the CompilationJobSummaries field's value. 59613 func (s *ListCompilationJobsOutput) SetCompilationJobSummaries(v []*CompilationJobSummary) *ListCompilationJobsOutput { 59614 s.CompilationJobSummaries = v 59615 return s 59616 } 59617 59618 // SetNextToken sets the NextToken field's value. 59619 func (s *ListCompilationJobsOutput) SetNextToken(v string) *ListCompilationJobsOutput { 59620 s.NextToken = &v 59621 return s 59622 } 59623 59624 type ListContextsInput struct { 59625 _ struct{} `type:"structure"` 59626 59627 // A filter that returns only contexts of the specified type. 59628 ContextType *string `type:"string"` 59629 59630 // A filter that returns only contexts created on or after the specified time. 59631 CreatedAfter *time.Time `type:"timestamp"` 59632 59633 // A filter that returns only contexts created on or before the specified time. 59634 CreatedBefore *time.Time `type:"timestamp"` 59635 59636 // The maximum number of contexts to return in the response. The default value 59637 // is 10. 59638 MaxResults *int64 `min:"1" type:"integer"` 59639 59640 // If the previous call to ListContexts didn't return the full set of contexts, 59641 // the call returns a token for getting the next set of contexts. 59642 NextToken *string `type:"string"` 59643 59644 // The property used to sort results. The default value is CreationTime. 59645 SortBy *string `type:"string" enum:"SortContextsBy"` 59646 59647 // The sort order. The default value is Descending. 59648 SortOrder *string `type:"string" enum:"SortOrder"` 59649 59650 // A filter that returns only contexts with the specified source URI. 59651 SourceUri *string `type:"string"` 59652 } 59653 59654 // String returns the string representation. 59655 // 59656 // API parameter values that are decorated as "sensitive" in the API will not 59657 // be included in the string output. The member name will be present, but the 59658 // value will be replaced with "sensitive". 59659 func (s ListContextsInput) String() string { 59660 return awsutil.Prettify(s) 59661 } 59662 59663 // GoString returns the string representation. 59664 // 59665 // API parameter values that are decorated as "sensitive" in the API will not 59666 // be included in the string output. The member name will be present, but the 59667 // value will be replaced with "sensitive". 59668 func (s ListContextsInput) GoString() string { 59669 return s.String() 59670 } 59671 59672 // Validate inspects the fields of the type to determine if they are valid. 59673 func (s *ListContextsInput) Validate() error { 59674 invalidParams := request.ErrInvalidParams{Context: "ListContextsInput"} 59675 if s.MaxResults != nil && *s.MaxResults < 1 { 59676 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 59677 } 59678 59679 if invalidParams.Len() > 0 { 59680 return invalidParams 59681 } 59682 return nil 59683 } 59684 59685 // SetContextType sets the ContextType field's value. 59686 func (s *ListContextsInput) SetContextType(v string) *ListContextsInput { 59687 s.ContextType = &v 59688 return s 59689 } 59690 59691 // SetCreatedAfter sets the CreatedAfter field's value. 59692 func (s *ListContextsInput) SetCreatedAfter(v time.Time) *ListContextsInput { 59693 s.CreatedAfter = &v 59694 return s 59695 } 59696 59697 // SetCreatedBefore sets the CreatedBefore field's value. 59698 func (s *ListContextsInput) SetCreatedBefore(v time.Time) *ListContextsInput { 59699 s.CreatedBefore = &v 59700 return s 59701 } 59702 59703 // SetMaxResults sets the MaxResults field's value. 59704 func (s *ListContextsInput) SetMaxResults(v int64) *ListContextsInput { 59705 s.MaxResults = &v 59706 return s 59707 } 59708 59709 // SetNextToken sets the NextToken field's value. 59710 func (s *ListContextsInput) SetNextToken(v string) *ListContextsInput { 59711 s.NextToken = &v 59712 return s 59713 } 59714 59715 // SetSortBy sets the SortBy field's value. 59716 func (s *ListContextsInput) SetSortBy(v string) *ListContextsInput { 59717 s.SortBy = &v 59718 return s 59719 } 59720 59721 // SetSortOrder sets the SortOrder field's value. 59722 func (s *ListContextsInput) SetSortOrder(v string) *ListContextsInput { 59723 s.SortOrder = &v 59724 return s 59725 } 59726 59727 // SetSourceUri sets the SourceUri field's value. 59728 func (s *ListContextsInput) SetSourceUri(v string) *ListContextsInput { 59729 s.SourceUri = &v 59730 return s 59731 } 59732 59733 type ListContextsOutput struct { 59734 _ struct{} `type:"structure"` 59735 59736 // A list of contexts and their properties. 59737 ContextSummaries []*ContextSummary `type:"list"` 59738 59739 // A token for getting the next set of contexts, if there are any. 59740 NextToken *string `type:"string"` 59741 } 59742 59743 // String returns the string representation. 59744 // 59745 // API parameter values that are decorated as "sensitive" in the API will not 59746 // be included in the string output. The member name will be present, but the 59747 // value will be replaced with "sensitive". 59748 func (s ListContextsOutput) String() string { 59749 return awsutil.Prettify(s) 59750 } 59751 59752 // GoString returns the string representation. 59753 // 59754 // API parameter values that are decorated as "sensitive" in the API will not 59755 // be included in the string output. The member name will be present, but the 59756 // value will be replaced with "sensitive". 59757 func (s ListContextsOutput) GoString() string { 59758 return s.String() 59759 } 59760 59761 // SetContextSummaries sets the ContextSummaries field's value. 59762 func (s *ListContextsOutput) SetContextSummaries(v []*ContextSummary) *ListContextsOutput { 59763 s.ContextSummaries = v 59764 return s 59765 } 59766 59767 // SetNextToken sets the NextToken field's value. 59768 func (s *ListContextsOutput) SetNextToken(v string) *ListContextsOutput { 59769 s.NextToken = &v 59770 return s 59771 } 59772 59773 type ListDataQualityJobDefinitionsInput struct { 59774 _ struct{} `type:"structure"` 59775 59776 // A filter that returns only data quality monitoring job definitions created 59777 // after the specified time. 59778 CreationTimeAfter *time.Time `type:"timestamp"` 59779 59780 // A filter that returns only data quality monitoring job definitions created 59781 // before the specified time. 59782 CreationTimeBefore *time.Time `type:"timestamp"` 59783 59784 // A filter that lists the data quality job definitions associated with the 59785 // specified endpoint. 59786 EndpointName *string `type:"string"` 59787 59788 // The maximum number of data quality monitoring job definitions to return in 59789 // the response. 59790 MaxResults *int64 `min:"1" type:"integer"` 59791 59792 // A string in the data quality monitoring job definition name. This filter 59793 // returns only data quality monitoring job definitions whose name contains 59794 // the specified string. 59795 NameContains *string `type:"string"` 59796 59797 // If the result of the previous ListDataQualityJobDefinitions request was truncated, 59798 // the response includes a NextToken. To retrieve the next set of transform 59799 // jobs, use the token in the next request.> 59800 NextToken *string `type:"string"` 59801 59802 // The field to sort results by. The default is CreationTime. 59803 SortBy *string `type:"string" enum:"MonitoringJobDefinitionSortKey"` 59804 59805 // The sort order for results. The default is Descending. 59806 SortOrder *string `type:"string" enum:"SortOrder"` 59807 } 59808 59809 // String returns the string representation. 59810 // 59811 // API parameter values that are decorated as "sensitive" in the API will not 59812 // be included in the string output. The member name will be present, but the 59813 // value will be replaced with "sensitive". 59814 func (s ListDataQualityJobDefinitionsInput) String() string { 59815 return awsutil.Prettify(s) 59816 } 59817 59818 // GoString returns the string representation. 59819 // 59820 // API parameter values that are decorated as "sensitive" in the API will not 59821 // be included in the string output. The member name will be present, but the 59822 // value will be replaced with "sensitive". 59823 func (s ListDataQualityJobDefinitionsInput) GoString() string { 59824 return s.String() 59825 } 59826 59827 // Validate inspects the fields of the type to determine if they are valid. 59828 func (s *ListDataQualityJobDefinitionsInput) Validate() error { 59829 invalidParams := request.ErrInvalidParams{Context: "ListDataQualityJobDefinitionsInput"} 59830 if s.MaxResults != nil && *s.MaxResults < 1 { 59831 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 59832 } 59833 59834 if invalidParams.Len() > 0 { 59835 return invalidParams 59836 } 59837 return nil 59838 } 59839 59840 // SetCreationTimeAfter sets the CreationTimeAfter field's value. 59841 func (s *ListDataQualityJobDefinitionsInput) SetCreationTimeAfter(v time.Time) *ListDataQualityJobDefinitionsInput { 59842 s.CreationTimeAfter = &v 59843 return s 59844 } 59845 59846 // SetCreationTimeBefore sets the CreationTimeBefore field's value. 59847 func (s *ListDataQualityJobDefinitionsInput) SetCreationTimeBefore(v time.Time) *ListDataQualityJobDefinitionsInput { 59848 s.CreationTimeBefore = &v 59849 return s 59850 } 59851 59852 // SetEndpointName sets the EndpointName field's value. 59853 func (s *ListDataQualityJobDefinitionsInput) SetEndpointName(v string) *ListDataQualityJobDefinitionsInput { 59854 s.EndpointName = &v 59855 return s 59856 } 59857 59858 // SetMaxResults sets the MaxResults field's value. 59859 func (s *ListDataQualityJobDefinitionsInput) SetMaxResults(v int64) *ListDataQualityJobDefinitionsInput { 59860 s.MaxResults = &v 59861 return s 59862 } 59863 59864 // SetNameContains sets the NameContains field's value. 59865 func (s *ListDataQualityJobDefinitionsInput) SetNameContains(v string) *ListDataQualityJobDefinitionsInput { 59866 s.NameContains = &v 59867 return s 59868 } 59869 59870 // SetNextToken sets the NextToken field's value. 59871 func (s *ListDataQualityJobDefinitionsInput) SetNextToken(v string) *ListDataQualityJobDefinitionsInput { 59872 s.NextToken = &v 59873 return s 59874 } 59875 59876 // SetSortBy sets the SortBy field's value. 59877 func (s *ListDataQualityJobDefinitionsInput) SetSortBy(v string) *ListDataQualityJobDefinitionsInput { 59878 s.SortBy = &v 59879 return s 59880 } 59881 59882 // SetSortOrder sets the SortOrder field's value. 59883 func (s *ListDataQualityJobDefinitionsInput) SetSortOrder(v string) *ListDataQualityJobDefinitionsInput { 59884 s.SortOrder = &v 59885 return s 59886 } 59887 59888 type ListDataQualityJobDefinitionsOutput struct { 59889 _ struct{} `type:"structure"` 59890 59891 // A list of data quality monitoring job definitions. 59892 // 59893 // JobDefinitionSummaries is a required field 59894 JobDefinitionSummaries []*MonitoringJobDefinitionSummary `type:"list" required:"true"` 59895 59896 // If the result of the previous ListDataQualityJobDefinitions request was truncated, 59897 // the response includes a NextToken. To retrieve the next set of data quality 59898 // monitoring job definitions, use the token in the next request. 59899 NextToken *string `type:"string"` 59900 } 59901 59902 // String returns the string representation. 59903 // 59904 // API parameter values that are decorated as "sensitive" in the API will not 59905 // be included in the string output. The member name will be present, but the 59906 // value will be replaced with "sensitive". 59907 func (s ListDataQualityJobDefinitionsOutput) String() string { 59908 return awsutil.Prettify(s) 59909 } 59910 59911 // GoString returns the string representation. 59912 // 59913 // API parameter values that are decorated as "sensitive" in the API will not 59914 // be included in the string output. The member name will be present, but the 59915 // value will be replaced with "sensitive". 59916 func (s ListDataQualityJobDefinitionsOutput) GoString() string { 59917 return s.String() 59918 } 59919 59920 // SetJobDefinitionSummaries sets the JobDefinitionSummaries field's value. 59921 func (s *ListDataQualityJobDefinitionsOutput) SetJobDefinitionSummaries(v []*MonitoringJobDefinitionSummary) *ListDataQualityJobDefinitionsOutput { 59922 s.JobDefinitionSummaries = v 59923 return s 59924 } 59925 59926 // SetNextToken sets the NextToken field's value. 59927 func (s *ListDataQualityJobDefinitionsOutput) SetNextToken(v string) *ListDataQualityJobDefinitionsOutput { 59928 s.NextToken = &v 59929 return s 59930 } 59931 59932 type ListDeviceFleetsInput struct { 59933 _ struct{} `type:"structure"` 59934 59935 // Filter fleets where packaging job was created after specified time. 59936 CreationTimeAfter *time.Time `type:"timestamp"` 59937 59938 // Filter fleets where the edge packaging job was created before specified time. 59939 CreationTimeBefore *time.Time `type:"timestamp"` 59940 59941 // Select fleets where the job was updated after X 59942 LastModifiedTimeAfter *time.Time `type:"timestamp"` 59943 59944 // Select fleets where the job was updated before X 59945 LastModifiedTimeBefore *time.Time `type:"timestamp"` 59946 59947 // The maximum number of results to select. 59948 MaxResults *int64 `type:"integer"` 59949 59950 // Filter for fleets containing this name in their fleet device name. 59951 NameContains *string `type:"string"` 59952 59953 // The response from the last list when returning a list large enough to need 59954 // tokening. 59955 NextToken *string `type:"string"` 59956 59957 // The column to sort by. 59958 SortBy *string `type:"string" enum:"ListDeviceFleetsSortBy"` 59959 59960 // What direction to sort in. 59961 SortOrder *string `type:"string" enum:"SortOrder"` 59962 } 59963 59964 // String returns the string representation. 59965 // 59966 // API parameter values that are decorated as "sensitive" in the API will not 59967 // be included in the string output. The member name will be present, but the 59968 // value will be replaced with "sensitive". 59969 func (s ListDeviceFleetsInput) String() string { 59970 return awsutil.Prettify(s) 59971 } 59972 59973 // GoString returns the string representation. 59974 // 59975 // API parameter values that are decorated as "sensitive" in the API will not 59976 // be included in the string output. The member name will be present, but the 59977 // value will be replaced with "sensitive". 59978 func (s ListDeviceFleetsInput) GoString() string { 59979 return s.String() 59980 } 59981 59982 // SetCreationTimeAfter sets the CreationTimeAfter field's value. 59983 func (s *ListDeviceFleetsInput) SetCreationTimeAfter(v time.Time) *ListDeviceFleetsInput { 59984 s.CreationTimeAfter = &v 59985 return s 59986 } 59987 59988 // SetCreationTimeBefore sets the CreationTimeBefore field's value. 59989 func (s *ListDeviceFleetsInput) SetCreationTimeBefore(v time.Time) *ListDeviceFleetsInput { 59990 s.CreationTimeBefore = &v 59991 return s 59992 } 59993 59994 // SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value. 59995 func (s *ListDeviceFleetsInput) SetLastModifiedTimeAfter(v time.Time) *ListDeviceFleetsInput { 59996 s.LastModifiedTimeAfter = &v 59997 return s 59998 } 59999 60000 // SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value. 60001 func (s *ListDeviceFleetsInput) SetLastModifiedTimeBefore(v time.Time) *ListDeviceFleetsInput { 60002 s.LastModifiedTimeBefore = &v 60003 return s 60004 } 60005 60006 // SetMaxResults sets the MaxResults field's value. 60007 func (s *ListDeviceFleetsInput) SetMaxResults(v int64) *ListDeviceFleetsInput { 60008 s.MaxResults = &v 60009 return s 60010 } 60011 60012 // SetNameContains sets the NameContains field's value. 60013 func (s *ListDeviceFleetsInput) SetNameContains(v string) *ListDeviceFleetsInput { 60014 s.NameContains = &v 60015 return s 60016 } 60017 60018 // SetNextToken sets the NextToken field's value. 60019 func (s *ListDeviceFleetsInput) SetNextToken(v string) *ListDeviceFleetsInput { 60020 s.NextToken = &v 60021 return s 60022 } 60023 60024 // SetSortBy sets the SortBy field's value. 60025 func (s *ListDeviceFleetsInput) SetSortBy(v string) *ListDeviceFleetsInput { 60026 s.SortBy = &v 60027 return s 60028 } 60029 60030 // SetSortOrder sets the SortOrder field's value. 60031 func (s *ListDeviceFleetsInput) SetSortOrder(v string) *ListDeviceFleetsInput { 60032 s.SortOrder = &v 60033 return s 60034 } 60035 60036 type ListDeviceFleetsOutput struct { 60037 _ struct{} `type:"structure"` 60038 60039 // Summary of the device fleet. 60040 // 60041 // DeviceFleetSummaries is a required field 60042 DeviceFleetSummaries []*DeviceFleetSummary `type:"list" required:"true"` 60043 60044 // The response from the last list when returning a list large enough to need 60045 // tokening. 60046 NextToken *string `type:"string"` 60047 } 60048 60049 // String returns the string representation. 60050 // 60051 // API parameter values that are decorated as "sensitive" in the API will not 60052 // be included in the string output. The member name will be present, but the 60053 // value will be replaced with "sensitive". 60054 func (s ListDeviceFleetsOutput) String() string { 60055 return awsutil.Prettify(s) 60056 } 60057 60058 // GoString returns the string representation. 60059 // 60060 // API parameter values that are decorated as "sensitive" in the API will not 60061 // be included in the string output. The member name will be present, but the 60062 // value will be replaced with "sensitive". 60063 func (s ListDeviceFleetsOutput) GoString() string { 60064 return s.String() 60065 } 60066 60067 // SetDeviceFleetSummaries sets the DeviceFleetSummaries field's value. 60068 func (s *ListDeviceFleetsOutput) SetDeviceFleetSummaries(v []*DeviceFleetSummary) *ListDeviceFleetsOutput { 60069 s.DeviceFleetSummaries = v 60070 return s 60071 } 60072 60073 // SetNextToken sets the NextToken field's value. 60074 func (s *ListDeviceFleetsOutput) SetNextToken(v string) *ListDeviceFleetsOutput { 60075 s.NextToken = &v 60076 return s 60077 } 60078 60079 type ListDevicesInput struct { 60080 _ struct{} `type:"structure"` 60081 60082 // Filter for fleets containing this name in their device fleet name. 60083 DeviceFleetName *string `min:"1" type:"string"` 60084 60085 // Select fleets where the job was updated after X 60086 LatestHeartbeatAfter *time.Time `type:"timestamp"` 60087 60088 // Maximum number of results to select. 60089 MaxResults *int64 `type:"integer"` 60090 60091 // A filter that searches devices that contains this name in any of their models. 60092 ModelName *string `min:"1" type:"string"` 60093 60094 // The response from the last list when returning a list large enough to need 60095 // tokening. 60096 NextToken *string `type:"string"` 60097 } 60098 60099 // String returns the string representation. 60100 // 60101 // API parameter values that are decorated as "sensitive" in the API will not 60102 // be included in the string output. The member name will be present, but the 60103 // value will be replaced with "sensitive". 60104 func (s ListDevicesInput) String() string { 60105 return awsutil.Prettify(s) 60106 } 60107 60108 // GoString returns the string representation. 60109 // 60110 // API parameter values that are decorated as "sensitive" in the API will not 60111 // be included in the string output. The member name will be present, but the 60112 // value will be replaced with "sensitive". 60113 func (s ListDevicesInput) GoString() string { 60114 return s.String() 60115 } 60116 60117 // Validate inspects the fields of the type to determine if they are valid. 60118 func (s *ListDevicesInput) Validate() error { 60119 invalidParams := request.ErrInvalidParams{Context: "ListDevicesInput"} 60120 if s.DeviceFleetName != nil && len(*s.DeviceFleetName) < 1 { 60121 invalidParams.Add(request.NewErrParamMinLen("DeviceFleetName", 1)) 60122 } 60123 if s.ModelName != nil && len(*s.ModelName) < 1 { 60124 invalidParams.Add(request.NewErrParamMinLen("ModelName", 1)) 60125 } 60126 60127 if invalidParams.Len() > 0 { 60128 return invalidParams 60129 } 60130 return nil 60131 } 60132 60133 // SetDeviceFleetName sets the DeviceFleetName field's value. 60134 func (s *ListDevicesInput) SetDeviceFleetName(v string) *ListDevicesInput { 60135 s.DeviceFleetName = &v 60136 return s 60137 } 60138 60139 // SetLatestHeartbeatAfter sets the LatestHeartbeatAfter field's value. 60140 func (s *ListDevicesInput) SetLatestHeartbeatAfter(v time.Time) *ListDevicesInput { 60141 s.LatestHeartbeatAfter = &v 60142 return s 60143 } 60144 60145 // SetMaxResults sets the MaxResults field's value. 60146 func (s *ListDevicesInput) SetMaxResults(v int64) *ListDevicesInput { 60147 s.MaxResults = &v 60148 return s 60149 } 60150 60151 // SetModelName sets the ModelName field's value. 60152 func (s *ListDevicesInput) SetModelName(v string) *ListDevicesInput { 60153 s.ModelName = &v 60154 return s 60155 } 60156 60157 // SetNextToken sets the NextToken field's value. 60158 func (s *ListDevicesInput) SetNextToken(v string) *ListDevicesInput { 60159 s.NextToken = &v 60160 return s 60161 } 60162 60163 type ListDevicesOutput struct { 60164 _ struct{} `type:"structure"` 60165 60166 // Summary of devices. 60167 // 60168 // DeviceSummaries is a required field 60169 DeviceSummaries []*DeviceSummary `type:"list" required:"true"` 60170 60171 // The response from the last list when returning a list large enough to need 60172 // tokening. 60173 NextToken *string `type:"string"` 60174 } 60175 60176 // String returns the string representation. 60177 // 60178 // API parameter values that are decorated as "sensitive" in the API will not 60179 // be included in the string output. The member name will be present, but the 60180 // value will be replaced with "sensitive". 60181 func (s ListDevicesOutput) String() string { 60182 return awsutil.Prettify(s) 60183 } 60184 60185 // GoString returns the string representation. 60186 // 60187 // API parameter values that are decorated as "sensitive" in the API will not 60188 // be included in the string output. The member name will be present, but the 60189 // value will be replaced with "sensitive". 60190 func (s ListDevicesOutput) GoString() string { 60191 return s.String() 60192 } 60193 60194 // SetDeviceSummaries sets the DeviceSummaries field's value. 60195 func (s *ListDevicesOutput) SetDeviceSummaries(v []*DeviceSummary) *ListDevicesOutput { 60196 s.DeviceSummaries = v 60197 return s 60198 } 60199 60200 // SetNextToken sets the NextToken field's value. 60201 func (s *ListDevicesOutput) SetNextToken(v string) *ListDevicesOutput { 60202 s.NextToken = &v 60203 return s 60204 } 60205 60206 type ListDomainsInput struct { 60207 _ struct{} `type:"structure"` 60208 60209 // Returns a list up to a specified limit. 60210 MaxResults *int64 `min:"1" type:"integer"` 60211 60212 // If the previous response was truncated, you will receive this token. Use 60213 // it in your next request to receive the next set of results. 60214 NextToken *string `type:"string"` 60215 } 60216 60217 // String returns the string representation. 60218 // 60219 // API parameter values that are decorated as "sensitive" in the API will not 60220 // be included in the string output. The member name will be present, but the 60221 // value will be replaced with "sensitive". 60222 func (s ListDomainsInput) String() string { 60223 return awsutil.Prettify(s) 60224 } 60225 60226 // GoString returns the string representation. 60227 // 60228 // API parameter values that are decorated as "sensitive" in the API will not 60229 // be included in the string output. The member name will be present, but the 60230 // value will be replaced with "sensitive". 60231 func (s ListDomainsInput) GoString() string { 60232 return s.String() 60233 } 60234 60235 // Validate inspects the fields of the type to determine if they are valid. 60236 func (s *ListDomainsInput) Validate() error { 60237 invalidParams := request.ErrInvalidParams{Context: "ListDomainsInput"} 60238 if s.MaxResults != nil && *s.MaxResults < 1 { 60239 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 60240 } 60241 60242 if invalidParams.Len() > 0 { 60243 return invalidParams 60244 } 60245 return nil 60246 } 60247 60248 // SetMaxResults sets the MaxResults field's value. 60249 func (s *ListDomainsInput) SetMaxResults(v int64) *ListDomainsInput { 60250 s.MaxResults = &v 60251 return s 60252 } 60253 60254 // SetNextToken sets the NextToken field's value. 60255 func (s *ListDomainsInput) SetNextToken(v string) *ListDomainsInput { 60256 s.NextToken = &v 60257 return s 60258 } 60259 60260 type ListDomainsOutput struct { 60261 _ struct{} `type:"structure"` 60262 60263 // The list of domains. 60264 Domains []*DomainDetails `type:"list"` 60265 60266 // If the previous response was truncated, you will receive this token. Use 60267 // it in your next request to receive the next set of results. 60268 NextToken *string `type:"string"` 60269 } 60270 60271 // String returns the string representation. 60272 // 60273 // API parameter values that are decorated as "sensitive" in the API will not 60274 // be included in the string output. The member name will be present, but the 60275 // value will be replaced with "sensitive". 60276 func (s ListDomainsOutput) String() string { 60277 return awsutil.Prettify(s) 60278 } 60279 60280 // GoString returns the string representation. 60281 // 60282 // API parameter values that are decorated as "sensitive" in the API will not 60283 // be included in the string output. The member name will be present, but the 60284 // value will be replaced with "sensitive". 60285 func (s ListDomainsOutput) GoString() string { 60286 return s.String() 60287 } 60288 60289 // SetDomains sets the Domains field's value. 60290 func (s *ListDomainsOutput) SetDomains(v []*DomainDetails) *ListDomainsOutput { 60291 s.Domains = v 60292 return s 60293 } 60294 60295 // SetNextToken sets the NextToken field's value. 60296 func (s *ListDomainsOutput) SetNextToken(v string) *ListDomainsOutput { 60297 s.NextToken = &v 60298 return s 60299 } 60300 60301 type ListEdgePackagingJobsInput struct { 60302 _ struct{} `type:"structure"` 60303 60304 // Select jobs where the job was created after specified time. 60305 CreationTimeAfter *time.Time `type:"timestamp"` 60306 60307 // Select jobs where the job was created before specified time. 60308 CreationTimeBefore *time.Time `type:"timestamp"` 60309 60310 // Select jobs where the job was updated after specified time. 60311 LastModifiedTimeAfter *time.Time `type:"timestamp"` 60312 60313 // Select jobs where the job was updated before specified time. 60314 LastModifiedTimeBefore *time.Time `type:"timestamp"` 60315 60316 // Maximum number of results to select. 60317 MaxResults *int64 `type:"integer"` 60318 60319 // Filter for jobs where the model name contains this string. 60320 ModelNameContains *string `type:"string"` 60321 60322 // Filter for jobs containing this name in their packaging job name. 60323 NameContains *string `type:"string"` 60324 60325 // The response from the last list when returning a list large enough to need 60326 // tokening. 60327 NextToken *string `type:"string"` 60328 60329 // Use to specify what column to sort by. 60330 SortBy *string `type:"string" enum:"ListEdgePackagingJobsSortBy"` 60331 60332 // What direction to sort by. 60333 SortOrder *string `type:"string" enum:"SortOrder"` 60334 60335 // The job status to filter for. 60336 StatusEquals *string `type:"string" enum:"EdgePackagingJobStatus"` 60337 } 60338 60339 // String returns the string representation. 60340 // 60341 // API parameter values that are decorated as "sensitive" in the API will not 60342 // be included in the string output. The member name will be present, but the 60343 // value will be replaced with "sensitive". 60344 func (s ListEdgePackagingJobsInput) String() string { 60345 return awsutil.Prettify(s) 60346 } 60347 60348 // GoString returns the string representation. 60349 // 60350 // API parameter values that are decorated as "sensitive" in the API will not 60351 // be included in the string output. The member name will be present, but the 60352 // value will be replaced with "sensitive". 60353 func (s ListEdgePackagingJobsInput) GoString() string { 60354 return s.String() 60355 } 60356 60357 // SetCreationTimeAfter sets the CreationTimeAfter field's value. 60358 func (s *ListEdgePackagingJobsInput) SetCreationTimeAfter(v time.Time) *ListEdgePackagingJobsInput { 60359 s.CreationTimeAfter = &v 60360 return s 60361 } 60362 60363 // SetCreationTimeBefore sets the CreationTimeBefore field's value. 60364 func (s *ListEdgePackagingJobsInput) SetCreationTimeBefore(v time.Time) *ListEdgePackagingJobsInput { 60365 s.CreationTimeBefore = &v 60366 return s 60367 } 60368 60369 // SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value. 60370 func (s *ListEdgePackagingJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListEdgePackagingJobsInput { 60371 s.LastModifiedTimeAfter = &v 60372 return s 60373 } 60374 60375 // SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value. 60376 func (s *ListEdgePackagingJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListEdgePackagingJobsInput { 60377 s.LastModifiedTimeBefore = &v 60378 return s 60379 } 60380 60381 // SetMaxResults sets the MaxResults field's value. 60382 func (s *ListEdgePackagingJobsInput) SetMaxResults(v int64) *ListEdgePackagingJobsInput { 60383 s.MaxResults = &v 60384 return s 60385 } 60386 60387 // SetModelNameContains sets the ModelNameContains field's value. 60388 func (s *ListEdgePackagingJobsInput) SetModelNameContains(v string) *ListEdgePackagingJobsInput { 60389 s.ModelNameContains = &v 60390 return s 60391 } 60392 60393 // SetNameContains sets the NameContains field's value. 60394 func (s *ListEdgePackagingJobsInput) SetNameContains(v string) *ListEdgePackagingJobsInput { 60395 s.NameContains = &v 60396 return s 60397 } 60398 60399 // SetNextToken sets the NextToken field's value. 60400 func (s *ListEdgePackagingJobsInput) SetNextToken(v string) *ListEdgePackagingJobsInput { 60401 s.NextToken = &v 60402 return s 60403 } 60404 60405 // SetSortBy sets the SortBy field's value. 60406 func (s *ListEdgePackagingJobsInput) SetSortBy(v string) *ListEdgePackagingJobsInput { 60407 s.SortBy = &v 60408 return s 60409 } 60410 60411 // SetSortOrder sets the SortOrder field's value. 60412 func (s *ListEdgePackagingJobsInput) SetSortOrder(v string) *ListEdgePackagingJobsInput { 60413 s.SortOrder = &v 60414 return s 60415 } 60416 60417 // SetStatusEquals sets the StatusEquals field's value. 60418 func (s *ListEdgePackagingJobsInput) SetStatusEquals(v string) *ListEdgePackagingJobsInput { 60419 s.StatusEquals = &v 60420 return s 60421 } 60422 60423 type ListEdgePackagingJobsOutput struct { 60424 _ struct{} `type:"structure"` 60425 60426 // Summaries of edge packaging jobs. 60427 // 60428 // EdgePackagingJobSummaries is a required field 60429 EdgePackagingJobSummaries []*EdgePackagingJobSummary `type:"list" required:"true"` 60430 60431 // Token to use when calling the next page of results. 60432 NextToken *string `type:"string"` 60433 } 60434 60435 // String returns the string representation. 60436 // 60437 // API parameter values that are decorated as "sensitive" in the API will not 60438 // be included in the string output. The member name will be present, but the 60439 // value will be replaced with "sensitive". 60440 func (s ListEdgePackagingJobsOutput) String() string { 60441 return awsutil.Prettify(s) 60442 } 60443 60444 // GoString returns the string representation. 60445 // 60446 // API parameter values that are decorated as "sensitive" in the API will not 60447 // be included in the string output. The member name will be present, but the 60448 // value will be replaced with "sensitive". 60449 func (s ListEdgePackagingJobsOutput) GoString() string { 60450 return s.String() 60451 } 60452 60453 // SetEdgePackagingJobSummaries sets the EdgePackagingJobSummaries field's value. 60454 func (s *ListEdgePackagingJobsOutput) SetEdgePackagingJobSummaries(v []*EdgePackagingJobSummary) *ListEdgePackagingJobsOutput { 60455 s.EdgePackagingJobSummaries = v 60456 return s 60457 } 60458 60459 // SetNextToken sets the NextToken field's value. 60460 func (s *ListEdgePackagingJobsOutput) SetNextToken(v string) *ListEdgePackagingJobsOutput { 60461 s.NextToken = &v 60462 return s 60463 } 60464 60465 type ListEndpointConfigsInput struct { 60466 _ struct{} `type:"structure"` 60467 60468 // A filter that returns only endpoint configurations with a creation time greater 60469 // than or equal to the specified time (timestamp). 60470 CreationTimeAfter *time.Time `type:"timestamp"` 60471 60472 // A filter that returns only endpoint configurations created before the specified 60473 // time (timestamp). 60474 CreationTimeBefore *time.Time `type:"timestamp"` 60475 60476 // The maximum number of training jobs to return in the response. 60477 MaxResults *int64 `min:"1" type:"integer"` 60478 60479 // A string in the endpoint configuration name. This filter returns only endpoint 60480 // configurations whose name contains the specified string. 60481 NameContains *string `type:"string"` 60482 60483 // If the result of the previous ListEndpointConfig request was truncated, the 60484 // response includes a NextToken. To retrieve the next set of endpoint configurations, 60485 // use the token in the next request. 60486 NextToken *string `type:"string"` 60487 60488 // The field to sort results by. The default is CreationTime. 60489 SortBy *string `type:"string" enum:"EndpointConfigSortKey"` 60490 60491 // The sort order for results. The default is Descending. 60492 SortOrder *string `type:"string" enum:"OrderKey"` 60493 } 60494 60495 // String returns the string representation. 60496 // 60497 // API parameter values that are decorated as "sensitive" in the API will not 60498 // be included in the string output. The member name will be present, but the 60499 // value will be replaced with "sensitive". 60500 func (s ListEndpointConfigsInput) String() string { 60501 return awsutil.Prettify(s) 60502 } 60503 60504 // GoString returns the string representation. 60505 // 60506 // API parameter values that are decorated as "sensitive" in the API will not 60507 // be included in the string output. The member name will be present, but the 60508 // value will be replaced with "sensitive". 60509 func (s ListEndpointConfigsInput) GoString() string { 60510 return s.String() 60511 } 60512 60513 // Validate inspects the fields of the type to determine if they are valid. 60514 func (s *ListEndpointConfigsInput) Validate() error { 60515 invalidParams := request.ErrInvalidParams{Context: "ListEndpointConfigsInput"} 60516 if s.MaxResults != nil && *s.MaxResults < 1 { 60517 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 60518 } 60519 60520 if invalidParams.Len() > 0 { 60521 return invalidParams 60522 } 60523 return nil 60524 } 60525 60526 // SetCreationTimeAfter sets the CreationTimeAfter field's value. 60527 func (s *ListEndpointConfigsInput) SetCreationTimeAfter(v time.Time) *ListEndpointConfigsInput { 60528 s.CreationTimeAfter = &v 60529 return s 60530 } 60531 60532 // SetCreationTimeBefore sets the CreationTimeBefore field's value. 60533 func (s *ListEndpointConfigsInput) SetCreationTimeBefore(v time.Time) *ListEndpointConfigsInput { 60534 s.CreationTimeBefore = &v 60535 return s 60536 } 60537 60538 // SetMaxResults sets the MaxResults field's value. 60539 func (s *ListEndpointConfigsInput) SetMaxResults(v int64) *ListEndpointConfigsInput { 60540 s.MaxResults = &v 60541 return s 60542 } 60543 60544 // SetNameContains sets the NameContains field's value. 60545 func (s *ListEndpointConfigsInput) SetNameContains(v string) *ListEndpointConfigsInput { 60546 s.NameContains = &v 60547 return s 60548 } 60549 60550 // SetNextToken sets the NextToken field's value. 60551 func (s *ListEndpointConfigsInput) SetNextToken(v string) *ListEndpointConfigsInput { 60552 s.NextToken = &v 60553 return s 60554 } 60555 60556 // SetSortBy sets the SortBy field's value. 60557 func (s *ListEndpointConfigsInput) SetSortBy(v string) *ListEndpointConfigsInput { 60558 s.SortBy = &v 60559 return s 60560 } 60561 60562 // SetSortOrder sets the SortOrder field's value. 60563 func (s *ListEndpointConfigsInput) SetSortOrder(v string) *ListEndpointConfigsInput { 60564 s.SortOrder = &v 60565 return s 60566 } 60567 60568 type ListEndpointConfigsOutput struct { 60569 _ struct{} `type:"structure"` 60570 60571 // An array of endpoint configurations. 60572 // 60573 // EndpointConfigs is a required field 60574 EndpointConfigs []*EndpointConfigSummary `type:"list" required:"true"` 60575 60576 // If the response is truncated, Amazon SageMaker returns this token. To retrieve 60577 // the next set of endpoint configurations, use it in the subsequent request 60578 NextToken *string `type:"string"` 60579 } 60580 60581 // String returns the string representation. 60582 // 60583 // API parameter values that are decorated as "sensitive" in the API will not 60584 // be included in the string output. The member name will be present, but the 60585 // value will be replaced with "sensitive". 60586 func (s ListEndpointConfigsOutput) String() string { 60587 return awsutil.Prettify(s) 60588 } 60589 60590 // GoString returns the string representation. 60591 // 60592 // API parameter values that are decorated as "sensitive" in the API will not 60593 // be included in the string output. The member name will be present, but the 60594 // value will be replaced with "sensitive". 60595 func (s ListEndpointConfigsOutput) GoString() string { 60596 return s.String() 60597 } 60598 60599 // SetEndpointConfigs sets the EndpointConfigs field's value. 60600 func (s *ListEndpointConfigsOutput) SetEndpointConfigs(v []*EndpointConfigSummary) *ListEndpointConfigsOutput { 60601 s.EndpointConfigs = v 60602 return s 60603 } 60604 60605 // SetNextToken sets the NextToken field's value. 60606 func (s *ListEndpointConfigsOutput) SetNextToken(v string) *ListEndpointConfigsOutput { 60607 s.NextToken = &v 60608 return s 60609 } 60610 60611 type ListEndpointsInput struct { 60612 _ struct{} `type:"structure"` 60613 60614 // A filter that returns only endpoints with a creation time greater than or 60615 // equal to the specified time (timestamp). 60616 CreationTimeAfter *time.Time `type:"timestamp"` 60617 60618 // A filter that returns only endpoints that were created before the specified 60619 // time (timestamp). 60620 CreationTimeBefore *time.Time `type:"timestamp"` 60621 60622 // A filter that returns only endpoints that were modified after the specified 60623 // timestamp. 60624 LastModifiedTimeAfter *time.Time `type:"timestamp"` 60625 60626 // A filter that returns only endpoints that were modified before the specified 60627 // timestamp. 60628 LastModifiedTimeBefore *time.Time `type:"timestamp"` 60629 60630 // The maximum number of endpoints to return in the response. This value defaults 60631 // to 10. 60632 MaxResults *int64 `min:"1" type:"integer"` 60633 60634 // A string in endpoint names. This filter returns only endpoints whose name 60635 // contains the specified string. 60636 NameContains *string `type:"string"` 60637 60638 // If the result of a ListEndpoints request was truncated, the response includes 60639 // a NextToken. To retrieve the next set of endpoints, use the token in the 60640 // next request. 60641 NextToken *string `type:"string"` 60642 60643 // Sorts the list of results. The default is CreationTime. 60644 SortBy *string `type:"string" enum:"EndpointSortKey"` 60645 60646 // The sort order for results. The default is Descending. 60647 SortOrder *string `type:"string" enum:"OrderKey"` 60648 60649 // A filter that returns only endpoints with the specified status. 60650 StatusEquals *string `type:"string" enum:"EndpointStatus"` 60651 } 60652 60653 // String returns the string representation. 60654 // 60655 // API parameter values that are decorated as "sensitive" in the API will not 60656 // be included in the string output. The member name will be present, but the 60657 // value will be replaced with "sensitive". 60658 func (s ListEndpointsInput) String() string { 60659 return awsutil.Prettify(s) 60660 } 60661 60662 // GoString returns the string representation. 60663 // 60664 // API parameter values that are decorated as "sensitive" in the API will not 60665 // be included in the string output. The member name will be present, but the 60666 // value will be replaced with "sensitive". 60667 func (s ListEndpointsInput) GoString() string { 60668 return s.String() 60669 } 60670 60671 // Validate inspects the fields of the type to determine if they are valid. 60672 func (s *ListEndpointsInput) Validate() error { 60673 invalidParams := request.ErrInvalidParams{Context: "ListEndpointsInput"} 60674 if s.MaxResults != nil && *s.MaxResults < 1 { 60675 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 60676 } 60677 60678 if invalidParams.Len() > 0 { 60679 return invalidParams 60680 } 60681 return nil 60682 } 60683 60684 // SetCreationTimeAfter sets the CreationTimeAfter field's value. 60685 func (s *ListEndpointsInput) SetCreationTimeAfter(v time.Time) *ListEndpointsInput { 60686 s.CreationTimeAfter = &v 60687 return s 60688 } 60689 60690 // SetCreationTimeBefore sets the CreationTimeBefore field's value. 60691 func (s *ListEndpointsInput) SetCreationTimeBefore(v time.Time) *ListEndpointsInput { 60692 s.CreationTimeBefore = &v 60693 return s 60694 } 60695 60696 // SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value. 60697 func (s *ListEndpointsInput) SetLastModifiedTimeAfter(v time.Time) *ListEndpointsInput { 60698 s.LastModifiedTimeAfter = &v 60699 return s 60700 } 60701 60702 // SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value. 60703 func (s *ListEndpointsInput) SetLastModifiedTimeBefore(v time.Time) *ListEndpointsInput { 60704 s.LastModifiedTimeBefore = &v 60705 return s 60706 } 60707 60708 // SetMaxResults sets the MaxResults field's value. 60709 func (s *ListEndpointsInput) SetMaxResults(v int64) *ListEndpointsInput { 60710 s.MaxResults = &v 60711 return s 60712 } 60713 60714 // SetNameContains sets the NameContains field's value. 60715 func (s *ListEndpointsInput) SetNameContains(v string) *ListEndpointsInput { 60716 s.NameContains = &v 60717 return s 60718 } 60719 60720 // SetNextToken sets the NextToken field's value. 60721 func (s *ListEndpointsInput) SetNextToken(v string) *ListEndpointsInput { 60722 s.NextToken = &v 60723 return s 60724 } 60725 60726 // SetSortBy sets the SortBy field's value. 60727 func (s *ListEndpointsInput) SetSortBy(v string) *ListEndpointsInput { 60728 s.SortBy = &v 60729 return s 60730 } 60731 60732 // SetSortOrder sets the SortOrder field's value. 60733 func (s *ListEndpointsInput) SetSortOrder(v string) *ListEndpointsInput { 60734 s.SortOrder = &v 60735 return s 60736 } 60737 60738 // SetStatusEquals sets the StatusEquals field's value. 60739 func (s *ListEndpointsInput) SetStatusEquals(v string) *ListEndpointsInput { 60740 s.StatusEquals = &v 60741 return s 60742 } 60743 60744 type ListEndpointsOutput struct { 60745 _ struct{} `type:"structure"` 60746 60747 // An array or endpoint objects. 60748 // 60749 // Endpoints is a required field 60750 Endpoints []*EndpointSummary `type:"list" required:"true"` 60751 60752 // If the response is truncated, Amazon SageMaker returns this token. To retrieve 60753 // the next set of training jobs, use it in the subsequent request. 60754 NextToken *string `type:"string"` 60755 } 60756 60757 // String returns the string representation. 60758 // 60759 // API parameter values that are decorated as "sensitive" in the API will not 60760 // be included in the string output. The member name will be present, but the 60761 // value will be replaced with "sensitive". 60762 func (s ListEndpointsOutput) String() string { 60763 return awsutil.Prettify(s) 60764 } 60765 60766 // GoString returns the string representation. 60767 // 60768 // API parameter values that are decorated as "sensitive" in the API will not 60769 // be included in the string output. The member name will be present, but the 60770 // value will be replaced with "sensitive". 60771 func (s ListEndpointsOutput) GoString() string { 60772 return s.String() 60773 } 60774 60775 // SetEndpoints sets the Endpoints field's value. 60776 func (s *ListEndpointsOutput) SetEndpoints(v []*EndpointSummary) *ListEndpointsOutput { 60777 s.Endpoints = v 60778 return s 60779 } 60780 60781 // SetNextToken sets the NextToken field's value. 60782 func (s *ListEndpointsOutput) SetNextToken(v string) *ListEndpointsOutput { 60783 s.NextToken = &v 60784 return s 60785 } 60786 60787 type ListExperimentsInput struct { 60788 _ struct{} `type:"structure"` 60789 60790 // A filter that returns only experiments created after the specified time. 60791 CreatedAfter *time.Time `type:"timestamp"` 60792 60793 // A filter that returns only experiments created before the specified time. 60794 CreatedBefore *time.Time `type:"timestamp"` 60795 60796 // The maximum number of experiments to return in the response. The default 60797 // value is 10. 60798 MaxResults *int64 `min:"1" type:"integer"` 60799 60800 // If the previous call to ListExperiments didn't return the full set of experiments, 60801 // the call returns a token for getting the next set of experiments. 60802 NextToken *string `type:"string"` 60803 60804 // The property used to sort results. The default value is CreationTime. 60805 SortBy *string `type:"string" enum:"SortExperimentsBy"` 60806 60807 // The sort order. The default value is Descending. 60808 SortOrder *string `type:"string" enum:"SortOrder"` 60809 } 60810 60811 // String returns the string representation. 60812 // 60813 // API parameter values that are decorated as "sensitive" in the API will not 60814 // be included in the string output. The member name will be present, but the 60815 // value will be replaced with "sensitive". 60816 func (s ListExperimentsInput) String() string { 60817 return awsutil.Prettify(s) 60818 } 60819 60820 // GoString returns the string representation. 60821 // 60822 // API parameter values that are decorated as "sensitive" in the API will not 60823 // be included in the string output. The member name will be present, but the 60824 // value will be replaced with "sensitive". 60825 func (s ListExperimentsInput) GoString() string { 60826 return s.String() 60827 } 60828 60829 // Validate inspects the fields of the type to determine if they are valid. 60830 func (s *ListExperimentsInput) Validate() error { 60831 invalidParams := request.ErrInvalidParams{Context: "ListExperimentsInput"} 60832 if s.MaxResults != nil && *s.MaxResults < 1 { 60833 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 60834 } 60835 60836 if invalidParams.Len() > 0 { 60837 return invalidParams 60838 } 60839 return nil 60840 } 60841 60842 // SetCreatedAfter sets the CreatedAfter field's value. 60843 func (s *ListExperimentsInput) SetCreatedAfter(v time.Time) *ListExperimentsInput { 60844 s.CreatedAfter = &v 60845 return s 60846 } 60847 60848 // SetCreatedBefore sets the CreatedBefore field's value. 60849 func (s *ListExperimentsInput) SetCreatedBefore(v time.Time) *ListExperimentsInput { 60850 s.CreatedBefore = &v 60851 return s 60852 } 60853 60854 // SetMaxResults sets the MaxResults field's value. 60855 func (s *ListExperimentsInput) SetMaxResults(v int64) *ListExperimentsInput { 60856 s.MaxResults = &v 60857 return s 60858 } 60859 60860 // SetNextToken sets the NextToken field's value. 60861 func (s *ListExperimentsInput) SetNextToken(v string) *ListExperimentsInput { 60862 s.NextToken = &v 60863 return s 60864 } 60865 60866 // SetSortBy sets the SortBy field's value. 60867 func (s *ListExperimentsInput) SetSortBy(v string) *ListExperimentsInput { 60868 s.SortBy = &v 60869 return s 60870 } 60871 60872 // SetSortOrder sets the SortOrder field's value. 60873 func (s *ListExperimentsInput) SetSortOrder(v string) *ListExperimentsInput { 60874 s.SortOrder = &v 60875 return s 60876 } 60877 60878 type ListExperimentsOutput struct { 60879 _ struct{} `type:"structure"` 60880 60881 // A list of the summaries of your experiments. 60882 ExperimentSummaries []*ExperimentSummary `type:"list"` 60883 60884 // A token for getting the next set of experiments, if there are any. 60885 NextToken *string `type:"string"` 60886 } 60887 60888 // String returns the string representation. 60889 // 60890 // API parameter values that are decorated as "sensitive" in the API will not 60891 // be included in the string output. The member name will be present, but the 60892 // value will be replaced with "sensitive". 60893 func (s ListExperimentsOutput) String() string { 60894 return awsutil.Prettify(s) 60895 } 60896 60897 // GoString returns the string representation. 60898 // 60899 // API parameter values that are decorated as "sensitive" in the API will not 60900 // be included in the string output. The member name will be present, but the 60901 // value will be replaced with "sensitive". 60902 func (s ListExperimentsOutput) GoString() string { 60903 return s.String() 60904 } 60905 60906 // SetExperimentSummaries sets the ExperimentSummaries field's value. 60907 func (s *ListExperimentsOutput) SetExperimentSummaries(v []*ExperimentSummary) *ListExperimentsOutput { 60908 s.ExperimentSummaries = v 60909 return s 60910 } 60911 60912 // SetNextToken sets the NextToken field's value. 60913 func (s *ListExperimentsOutput) SetNextToken(v string) *ListExperimentsOutput { 60914 s.NextToken = &v 60915 return s 60916 } 60917 60918 type ListFeatureGroupsInput struct { 60919 _ struct{} `type:"structure"` 60920 60921 // Use this parameter to search for FeatureGroupss created after a specific 60922 // date and time. 60923 CreationTimeAfter *time.Time `type:"timestamp"` 60924 60925 // Use this parameter to search for FeatureGroupss created before a specific 60926 // date and time. 60927 CreationTimeBefore *time.Time `type:"timestamp"` 60928 60929 // A FeatureGroup status. Filters by FeatureGroup status. 60930 FeatureGroupStatusEquals *string `type:"string" enum:"FeatureGroupStatus"` 60931 60932 // The maximum number of results returned by ListFeatureGroups. 60933 MaxResults *int64 `min:"1" type:"integer"` 60934 60935 // A string that partially matches one or more FeatureGroups names. Filters 60936 // FeatureGroups by name. 60937 NameContains *string `min:"1" type:"string"` 60938 60939 // A token to resume pagination of ListFeatureGroups results. 60940 NextToken *string `type:"string"` 60941 60942 // An OfflineStore status. Filters by OfflineStore status. 60943 OfflineStoreStatusEquals *string `type:"string" enum:"OfflineStoreStatusValue"` 60944 60945 // The value on which the feature group list is sorted. 60946 SortBy *string `type:"string" enum:"FeatureGroupSortBy"` 60947 60948 // The order in which feature groups are listed. 60949 SortOrder *string `type:"string" enum:"FeatureGroupSortOrder"` 60950 } 60951 60952 // String returns the string representation. 60953 // 60954 // API parameter values that are decorated as "sensitive" in the API will not 60955 // be included in the string output. The member name will be present, but the 60956 // value will be replaced with "sensitive". 60957 func (s ListFeatureGroupsInput) String() string { 60958 return awsutil.Prettify(s) 60959 } 60960 60961 // GoString returns the string representation. 60962 // 60963 // API parameter values that are decorated as "sensitive" in the API will not 60964 // be included in the string output. The member name will be present, but the 60965 // value will be replaced with "sensitive". 60966 func (s ListFeatureGroupsInput) GoString() string { 60967 return s.String() 60968 } 60969 60970 // Validate inspects the fields of the type to determine if they are valid. 60971 func (s *ListFeatureGroupsInput) Validate() error { 60972 invalidParams := request.ErrInvalidParams{Context: "ListFeatureGroupsInput"} 60973 if s.MaxResults != nil && *s.MaxResults < 1 { 60974 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 60975 } 60976 if s.NameContains != nil && len(*s.NameContains) < 1 { 60977 invalidParams.Add(request.NewErrParamMinLen("NameContains", 1)) 60978 } 60979 60980 if invalidParams.Len() > 0 { 60981 return invalidParams 60982 } 60983 return nil 60984 } 60985 60986 // SetCreationTimeAfter sets the CreationTimeAfter field's value. 60987 func (s *ListFeatureGroupsInput) SetCreationTimeAfter(v time.Time) *ListFeatureGroupsInput { 60988 s.CreationTimeAfter = &v 60989 return s 60990 } 60991 60992 // SetCreationTimeBefore sets the CreationTimeBefore field's value. 60993 func (s *ListFeatureGroupsInput) SetCreationTimeBefore(v time.Time) *ListFeatureGroupsInput { 60994 s.CreationTimeBefore = &v 60995 return s 60996 } 60997 60998 // SetFeatureGroupStatusEquals sets the FeatureGroupStatusEquals field's value. 60999 func (s *ListFeatureGroupsInput) SetFeatureGroupStatusEquals(v string) *ListFeatureGroupsInput { 61000 s.FeatureGroupStatusEquals = &v 61001 return s 61002 } 61003 61004 // SetMaxResults sets the MaxResults field's value. 61005 func (s *ListFeatureGroupsInput) SetMaxResults(v int64) *ListFeatureGroupsInput { 61006 s.MaxResults = &v 61007 return s 61008 } 61009 61010 // SetNameContains sets the NameContains field's value. 61011 func (s *ListFeatureGroupsInput) SetNameContains(v string) *ListFeatureGroupsInput { 61012 s.NameContains = &v 61013 return s 61014 } 61015 61016 // SetNextToken sets the NextToken field's value. 61017 func (s *ListFeatureGroupsInput) SetNextToken(v string) *ListFeatureGroupsInput { 61018 s.NextToken = &v 61019 return s 61020 } 61021 61022 // SetOfflineStoreStatusEquals sets the OfflineStoreStatusEquals field's value. 61023 func (s *ListFeatureGroupsInput) SetOfflineStoreStatusEquals(v string) *ListFeatureGroupsInput { 61024 s.OfflineStoreStatusEquals = &v 61025 return s 61026 } 61027 61028 // SetSortBy sets the SortBy field's value. 61029 func (s *ListFeatureGroupsInput) SetSortBy(v string) *ListFeatureGroupsInput { 61030 s.SortBy = &v 61031 return s 61032 } 61033 61034 // SetSortOrder sets the SortOrder field's value. 61035 func (s *ListFeatureGroupsInput) SetSortOrder(v string) *ListFeatureGroupsInput { 61036 s.SortOrder = &v 61037 return s 61038 } 61039 61040 type ListFeatureGroupsOutput struct { 61041 _ struct{} `type:"structure"` 61042 61043 // A summary of feature groups. 61044 // 61045 // FeatureGroupSummaries is a required field 61046 FeatureGroupSummaries []*FeatureGroupSummary `type:"list" required:"true"` 61047 61048 // A token to resume pagination of ListFeatureGroups results. 61049 // 61050 // NextToken is a required field 61051 NextToken *string `type:"string" required:"true"` 61052 } 61053 61054 // String returns the string representation. 61055 // 61056 // API parameter values that are decorated as "sensitive" in the API will not 61057 // be included in the string output. The member name will be present, but the 61058 // value will be replaced with "sensitive". 61059 func (s ListFeatureGroupsOutput) String() string { 61060 return awsutil.Prettify(s) 61061 } 61062 61063 // GoString returns the string representation. 61064 // 61065 // API parameter values that are decorated as "sensitive" in the API will not 61066 // be included in the string output. The member name will be present, but the 61067 // value will be replaced with "sensitive". 61068 func (s ListFeatureGroupsOutput) GoString() string { 61069 return s.String() 61070 } 61071 61072 // SetFeatureGroupSummaries sets the FeatureGroupSummaries field's value. 61073 func (s *ListFeatureGroupsOutput) SetFeatureGroupSummaries(v []*FeatureGroupSummary) *ListFeatureGroupsOutput { 61074 s.FeatureGroupSummaries = v 61075 return s 61076 } 61077 61078 // SetNextToken sets the NextToken field's value. 61079 func (s *ListFeatureGroupsOutput) SetNextToken(v string) *ListFeatureGroupsOutput { 61080 s.NextToken = &v 61081 return s 61082 } 61083 61084 type ListFlowDefinitionsInput struct { 61085 _ struct{} `type:"structure"` 61086 61087 // A filter that returns only flow definitions with a creation time greater 61088 // than or equal to the specified timestamp. 61089 CreationTimeAfter *time.Time `type:"timestamp"` 61090 61091 // A filter that returns only flow definitions that were created before the 61092 // specified timestamp. 61093 CreationTimeBefore *time.Time `type:"timestamp"` 61094 61095 // The total number of items to return. If the total number of available items 61096 // is more than the value specified in MaxResults, then a NextToken will be 61097 // provided in the output that you can use to resume pagination. 61098 MaxResults *int64 `min:"1" type:"integer"` 61099 61100 // A token to resume pagination. 61101 NextToken *string `type:"string"` 61102 61103 // An optional value that specifies whether you want the results sorted in Ascending 61104 // or Descending order. 61105 SortOrder *string `type:"string" enum:"SortOrder"` 61106 } 61107 61108 // String returns the string representation. 61109 // 61110 // API parameter values that are decorated as "sensitive" in the API will not 61111 // be included in the string output. The member name will be present, but the 61112 // value will be replaced with "sensitive". 61113 func (s ListFlowDefinitionsInput) String() string { 61114 return awsutil.Prettify(s) 61115 } 61116 61117 // GoString returns the string representation. 61118 // 61119 // API parameter values that are decorated as "sensitive" in the API will not 61120 // be included in the string output. The member name will be present, but the 61121 // value will be replaced with "sensitive". 61122 func (s ListFlowDefinitionsInput) GoString() string { 61123 return s.String() 61124 } 61125 61126 // Validate inspects the fields of the type to determine if they are valid. 61127 func (s *ListFlowDefinitionsInput) Validate() error { 61128 invalidParams := request.ErrInvalidParams{Context: "ListFlowDefinitionsInput"} 61129 if s.MaxResults != nil && *s.MaxResults < 1 { 61130 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 61131 } 61132 61133 if invalidParams.Len() > 0 { 61134 return invalidParams 61135 } 61136 return nil 61137 } 61138 61139 // SetCreationTimeAfter sets the CreationTimeAfter field's value. 61140 func (s *ListFlowDefinitionsInput) SetCreationTimeAfter(v time.Time) *ListFlowDefinitionsInput { 61141 s.CreationTimeAfter = &v 61142 return s 61143 } 61144 61145 // SetCreationTimeBefore sets the CreationTimeBefore field's value. 61146 func (s *ListFlowDefinitionsInput) SetCreationTimeBefore(v time.Time) *ListFlowDefinitionsInput { 61147 s.CreationTimeBefore = &v 61148 return s 61149 } 61150 61151 // SetMaxResults sets the MaxResults field's value. 61152 func (s *ListFlowDefinitionsInput) SetMaxResults(v int64) *ListFlowDefinitionsInput { 61153 s.MaxResults = &v 61154 return s 61155 } 61156 61157 // SetNextToken sets the NextToken field's value. 61158 func (s *ListFlowDefinitionsInput) SetNextToken(v string) *ListFlowDefinitionsInput { 61159 s.NextToken = &v 61160 return s 61161 } 61162 61163 // SetSortOrder sets the SortOrder field's value. 61164 func (s *ListFlowDefinitionsInput) SetSortOrder(v string) *ListFlowDefinitionsInput { 61165 s.SortOrder = &v 61166 return s 61167 } 61168 61169 type ListFlowDefinitionsOutput struct { 61170 _ struct{} `type:"structure"` 61171 61172 // An array of objects describing the flow definitions. 61173 // 61174 // FlowDefinitionSummaries is a required field 61175 FlowDefinitionSummaries []*FlowDefinitionSummary `type:"list" required:"true"` 61176 61177 // A token to resume pagination. 61178 NextToken *string `type:"string"` 61179 } 61180 61181 // String returns the string representation. 61182 // 61183 // API parameter values that are decorated as "sensitive" in the API will not 61184 // be included in the string output. The member name will be present, but the 61185 // value will be replaced with "sensitive". 61186 func (s ListFlowDefinitionsOutput) String() string { 61187 return awsutil.Prettify(s) 61188 } 61189 61190 // GoString returns the string representation. 61191 // 61192 // API parameter values that are decorated as "sensitive" in the API will not 61193 // be included in the string output. The member name will be present, but the 61194 // value will be replaced with "sensitive". 61195 func (s ListFlowDefinitionsOutput) GoString() string { 61196 return s.String() 61197 } 61198 61199 // SetFlowDefinitionSummaries sets the FlowDefinitionSummaries field's value. 61200 func (s *ListFlowDefinitionsOutput) SetFlowDefinitionSummaries(v []*FlowDefinitionSummary) *ListFlowDefinitionsOutput { 61201 s.FlowDefinitionSummaries = v 61202 return s 61203 } 61204 61205 // SetNextToken sets the NextToken field's value. 61206 func (s *ListFlowDefinitionsOutput) SetNextToken(v string) *ListFlowDefinitionsOutput { 61207 s.NextToken = &v 61208 return s 61209 } 61210 61211 type ListHumanTaskUisInput struct { 61212 _ struct{} `type:"structure"` 61213 61214 // A filter that returns only human task user interfaces with a creation time 61215 // greater than or equal to the specified timestamp. 61216 CreationTimeAfter *time.Time `type:"timestamp"` 61217 61218 // A filter that returns only human task user interfaces that were created before 61219 // the specified timestamp. 61220 CreationTimeBefore *time.Time `type:"timestamp"` 61221 61222 // The total number of items to return. If the total number of available items 61223 // is more than the value specified in MaxResults, then a NextToken will be 61224 // provided in the output that you can use to resume pagination. 61225 MaxResults *int64 `min:"1" type:"integer"` 61226 61227 // A token to resume pagination. 61228 NextToken *string `type:"string"` 61229 61230 // An optional value that specifies whether you want the results sorted in Ascending 61231 // or Descending order. 61232 SortOrder *string `type:"string" enum:"SortOrder"` 61233 } 61234 61235 // String returns the string representation. 61236 // 61237 // API parameter values that are decorated as "sensitive" in the API will not 61238 // be included in the string output. The member name will be present, but the 61239 // value will be replaced with "sensitive". 61240 func (s ListHumanTaskUisInput) String() string { 61241 return awsutil.Prettify(s) 61242 } 61243 61244 // GoString returns the string representation. 61245 // 61246 // API parameter values that are decorated as "sensitive" in the API will not 61247 // be included in the string output. The member name will be present, but the 61248 // value will be replaced with "sensitive". 61249 func (s ListHumanTaskUisInput) GoString() string { 61250 return s.String() 61251 } 61252 61253 // Validate inspects the fields of the type to determine if they are valid. 61254 func (s *ListHumanTaskUisInput) Validate() error { 61255 invalidParams := request.ErrInvalidParams{Context: "ListHumanTaskUisInput"} 61256 if s.MaxResults != nil && *s.MaxResults < 1 { 61257 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 61258 } 61259 61260 if invalidParams.Len() > 0 { 61261 return invalidParams 61262 } 61263 return nil 61264 } 61265 61266 // SetCreationTimeAfter sets the CreationTimeAfter field's value. 61267 func (s *ListHumanTaskUisInput) SetCreationTimeAfter(v time.Time) *ListHumanTaskUisInput { 61268 s.CreationTimeAfter = &v 61269 return s 61270 } 61271 61272 // SetCreationTimeBefore sets the CreationTimeBefore field's value. 61273 func (s *ListHumanTaskUisInput) SetCreationTimeBefore(v time.Time) *ListHumanTaskUisInput { 61274 s.CreationTimeBefore = &v 61275 return s 61276 } 61277 61278 // SetMaxResults sets the MaxResults field's value. 61279 func (s *ListHumanTaskUisInput) SetMaxResults(v int64) *ListHumanTaskUisInput { 61280 s.MaxResults = &v 61281 return s 61282 } 61283 61284 // SetNextToken sets the NextToken field's value. 61285 func (s *ListHumanTaskUisInput) SetNextToken(v string) *ListHumanTaskUisInput { 61286 s.NextToken = &v 61287 return s 61288 } 61289 61290 // SetSortOrder sets the SortOrder field's value. 61291 func (s *ListHumanTaskUisInput) SetSortOrder(v string) *ListHumanTaskUisInput { 61292 s.SortOrder = &v 61293 return s 61294 } 61295 61296 type ListHumanTaskUisOutput struct { 61297 _ struct{} `type:"structure"` 61298 61299 // An array of objects describing the human task user interfaces. 61300 // 61301 // HumanTaskUiSummaries is a required field 61302 HumanTaskUiSummaries []*HumanTaskUiSummary `type:"list" required:"true"` 61303 61304 // A token to resume pagination. 61305 NextToken *string `type:"string"` 61306 } 61307 61308 // String returns the string representation. 61309 // 61310 // API parameter values that are decorated as "sensitive" in the API will not 61311 // be included in the string output. The member name will be present, but the 61312 // value will be replaced with "sensitive". 61313 func (s ListHumanTaskUisOutput) String() string { 61314 return awsutil.Prettify(s) 61315 } 61316 61317 // GoString returns the string representation. 61318 // 61319 // API parameter values that are decorated as "sensitive" in the API will not 61320 // be included in the string output. The member name will be present, but the 61321 // value will be replaced with "sensitive". 61322 func (s ListHumanTaskUisOutput) GoString() string { 61323 return s.String() 61324 } 61325 61326 // SetHumanTaskUiSummaries sets the HumanTaskUiSummaries field's value. 61327 func (s *ListHumanTaskUisOutput) SetHumanTaskUiSummaries(v []*HumanTaskUiSummary) *ListHumanTaskUisOutput { 61328 s.HumanTaskUiSummaries = v 61329 return s 61330 } 61331 61332 // SetNextToken sets the NextToken field's value. 61333 func (s *ListHumanTaskUisOutput) SetNextToken(v string) *ListHumanTaskUisOutput { 61334 s.NextToken = &v 61335 return s 61336 } 61337 61338 type ListHyperParameterTuningJobsInput struct { 61339 _ struct{} `type:"structure"` 61340 61341 // A filter that returns only tuning jobs that were created after the specified 61342 // time. 61343 CreationTimeAfter *time.Time `type:"timestamp"` 61344 61345 // A filter that returns only tuning jobs that were created before the specified 61346 // time. 61347 CreationTimeBefore *time.Time `type:"timestamp"` 61348 61349 // A filter that returns only tuning jobs that were modified after the specified 61350 // time. 61351 LastModifiedTimeAfter *time.Time `type:"timestamp"` 61352 61353 // A filter that returns only tuning jobs that were modified before the specified 61354 // time. 61355 LastModifiedTimeBefore *time.Time `type:"timestamp"` 61356 61357 // The maximum number of tuning jobs to return. The default value is 10. 61358 MaxResults *int64 `min:"1" type:"integer"` 61359 61360 // A string in the tuning job name. This filter returns only tuning jobs whose 61361 // name contains the specified string. 61362 NameContains *string `type:"string"` 61363 61364 // If the result of the previous ListHyperParameterTuningJobs request was truncated, 61365 // the response includes a NextToken. To retrieve the next set of tuning jobs, 61366 // use the token in the next request. 61367 NextToken *string `type:"string"` 61368 61369 // The field to sort results by. The default is Name. 61370 SortBy *string `type:"string" enum:"HyperParameterTuningJobSortByOptions"` 61371 61372 // The sort order for results. The default is Ascending. 61373 SortOrder *string `type:"string" enum:"SortOrder"` 61374 61375 // A filter that returns only tuning jobs with the specified status. 61376 StatusEquals *string `type:"string" enum:"HyperParameterTuningJobStatus"` 61377 } 61378 61379 // String returns the string representation. 61380 // 61381 // API parameter values that are decorated as "sensitive" in the API will not 61382 // be included in the string output. The member name will be present, but the 61383 // value will be replaced with "sensitive". 61384 func (s ListHyperParameterTuningJobsInput) String() string { 61385 return awsutil.Prettify(s) 61386 } 61387 61388 // GoString returns the string representation. 61389 // 61390 // API parameter values that are decorated as "sensitive" in the API will not 61391 // be included in the string output. The member name will be present, but the 61392 // value will be replaced with "sensitive". 61393 func (s ListHyperParameterTuningJobsInput) GoString() string { 61394 return s.String() 61395 } 61396 61397 // Validate inspects the fields of the type to determine if they are valid. 61398 func (s *ListHyperParameterTuningJobsInput) Validate() error { 61399 invalidParams := request.ErrInvalidParams{Context: "ListHyperParameterTuningJobsInput"} 61400 if s.MaxResults != nil && *s.MaxResults < 1 { 61401 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 61402 } 61403 61404 if invalidParams.Len() > 0 { 61405 return invalidParams 61406 } 61407 return nil 61408 } 61409 61410 // SetCreationTimeAfter sets the CreationTimeAfter field's value. 61411 func (s *ListHyperParameterTuningJobsInput) SetCreationTimeAfter(v time.Time) *ListHyperParameterTuningJobsInput { 61412 s.CreationTimeAfter = &v 61413 return s 61414 } 61415 61416 // SetCreationTimeBefore sets the CreationTimeBefore field's value. 61417 func (s *ListHyperParameterTuningJobsInput) SetCreationTimeBefore(v time.Time) *ListHyperParameterTuningJobsInput { 61418 s.CreationTimeBefore = &v 61419 return s 61420 } 61421 61422 // SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value. 61423 func (s *ListHyperParameterTuningJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListHyperParameterTuningJobsInput { 61424 s.LastModifiedTimeAfter = &v 61425 return s 61426 } 61427 61428 // SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value. 61429 func (s *ListHyperParameterTuningJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListHyperParameterTuningJobsInput { 61430 s.LastModifiedTimeBefore = &v 61431 return s 61432 } 61433 61434 // SetMaxResults sets the MaxResults field's value. 61435 func (s *ListHyperParameterTuningJobsInput) SetMaxResults(v int64) *ListHyperParameterTuningJobsInput { 61436 s.MaxResults = &v 61437 return s 61438 } 61439 61440 // SetNameContains sets the NameContains field's value. 61441 func (s *ListHyperParameterTuningJobsInput) SetNameContains(v string) *ListHyperParameterTuningJobsInput { 61442 s.NameContains = &v 61443 return s 61444 } 61445 61446 // SetNextToken sets the NextToken field's value. 61447 func (s *ListHyperParameterTuningJobsInput) SetNextToken(v string) *ListHyperParameterTuningJobsInput { 61448 s.NextToken = &v 61449 return s 61450 } 61451 61452 // SetSortBy sets the SortBy field's value. 61453 func (s *ListHyperParameterTuningJobsInput) SetSortBy(v string) *ListHyperParameterTuningJobsInput { 61454 s.SortBy = &v 61455 return s 61456 } 61457 61458 // SetSortOrder sets the SortOrder field's value. 61459 func (s *ListHyperParameterTuningJobsInput) SetSortOrder(v string) *ListHyperParameterTuningJobsInput { 61460 s.SortOrder = &v 61461 return s 61462 } 61463 61464 // SetStatusEquals sets the StatusEquals field's value. 61465 func (s *ListHyperParameterTuningJobsInput) SetStatusEquals(v string) *ListHyperParameterTuningJobsInput { 61466 s.StatusEquals = &v 61467 return s 61468 } 61469 61470 type ListHyperParameterTuningJobsOutput struct { 61471 _ struct{} `type:"structure"` 61472 61473 // A list of HyperParameterTuningJobSummary objects that describe the tuning 61474 // jobs that the ListHyperParameterTuningJobs request returned. 61475 // 61476 // HyperParameterTuningJobSummaries is a required field 61477 HyperParameterTuningJobSummaries []*HyperParameterTuningJobSummary `type:"list" required:"true"` 61478 61479 // If the result of this ListHyperParameterTuningJobs request was truncated, 61480 // the response includes a NextToken. To retrieve the next set of tuning jobs, 61481 // use the token in the next request. 61482 NextToken *string `type:"string"` 61483 } 61484 61485 // String returns the string representation. 61486 // 61487 // API parameter values that are decorated as "sensitive" in the API will not 61488 // be included in the string output. The member name will be present, but the 61489 // value will be replaced with "sensitive". 61490 func (s ListHyperParameterTuningJobsOutput) String() string { 61491 return awsutil.Prettify(s) 61492 } 61493 61494 // GoString returns the string representation. 61495 // 61496 // API parameter values that are decorated as "sensitive" in the API will not 61497 // be included in the string output. The member name will be present, but the 61498 // value will be replaced with "sensitive". 61499 func (s ListHyperParameterTuningJobsOutput) GoString() string { 61500 return s.String() 61501 } 61502 61503 // SetHyperParameterTuningJobSummaries sets the HyperParameterTuningJobSummaries field's value. 61504 func (s *ListHyperParameterTuningJobsOutput) SetHyperParameterTuningJobSummaries(v []*HyperParameterTuningJobSummary) *ListHyperParameterTuningJobsOutput { 61505 s.HyperParameterTuningJobSummaries = v 61506 return s 61507 } 61508 61509 // SetNextToken sets the NextToken field's value. 61510 func (s *ListHyperParameterTuningJobsOutput) SetNextToken(v string) *ListHyperParameterTuningJobsOutput { 61511 s.NextToken = &v 61512 return s 61513 } 61514 61515 type ListImageVersionsInput struct { 61516 _ struct{} `type:"structure"` 61517 61518 // A filter that returns only versions created on or after the specified time. 61519 CreationTimeAfter *time.Time `type:"timestamp"` 61520 61521 // A filter that returns only versions created on or before the specified time. 61522 CreationTimeBefore *time.Time `type:"timestamp"` 61523 61524 // The name of the image to list the versions of. 61525 // 61526 // ImageName is a required field 61527 ImageName *string `min:"1" type:"string" required:"true"` 61528 61529 // A filter that returns only versions modified on or after the specified time. 61530 LastModifiedTimeAfter *time.Time `type:"timestamp"` 61531 61532 // A filter that returns only versions modified on or before the specified time. 61533 LastModifiedTimeBefore *time.Time `type:"timestamp"` 61534 61535 // The maximum number of versions to return in the response. The default value 61536 // is 10. 61537 MaxResults *int64 `min:"1" type:"integer"` 61538 61539 // If the previous call to ListImageVersions didn't return the full set of versions, 61540 // the call returns a token for getting the next set of versions. 61541 NextToken *string `type:"string"` 61542 61543 // The property used to sort results. The default value is CREATION_TIME. 61544 SortBy *string `type:"string" enum:"ImageVersionSortBy"` 61545 61546 // The sort order. The default value is DESCENDING. 61547 SortOrder *string `type:"string" enum:"ImageVersionSortOrder"` 61548 } 61549 61550 // String returns the string representation. 61551 // 61552 // API parameter values that are decorated as "sensitive" in the API will not 61553 // be included in the string output. The member name will be present, but the 61554 // value will be replaced with "sensitive". 61555 func (s ListImageVersionsInput) String() string { 61556 return awsutil.Prettify(s) 61557 } 61558 61559 // GoString returns the string representation. 61560 // 61561 // API parameter values that are decorated as "sensitive" in the API will not 61562 // be included in the string output. The member name will be present, but the 61563 // value will be replaced with "sensitive". 61564 func (s ListImageVersionsInput) GoString() string { 61565 return s.String() 61566 } 61567 61568 // Validate inspects the fields of the type to determine if they are valid. 61569 func (s *ListImageVersionsInput) Validate() error { 61570 invalidParams := request.ErrInvalidParams{Context: "ListImageVersionsInput"} 61571 if s.ImageName == nil { 61572 invalidParams.Add(request.NewErrParamRequired("ImageName")) 61573 } 61574 if s.ImageName != nil && len(*s.ImageName) < 1 { 61575 invalidParams.Add(request.NewErrParamMinLen("ImageName", 1)) 61576 } 61577 if s.MaxResults != nil && *s.MaxResults < 1 { 61578 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 61579 } 61580 61581 if invalidParams.Len() > 0 { 61582 return invalidParams 61583 } 61584 return nil 61585 } 61586 61587 // SetCreationTimeAfter sets the CreationTimeAfter field's value. 61588 func (s *ListImageVersionsInput) SetCreationTimeAfter(v time.Time) *ListImageVersionsInput { 61589 s.CreationTimeAfter = &v 61590 return s 61591 } 61592 61593 // SetCreationTimeBefore sets the CreationTimeBefore field's value. 61594 func (s *ListImageVersionsInput) SetCreationTimeBefore(v time.Time) *ListImageVersionsInput { 61595 s.CreationTimeBefore = &v 61596 return s 61597 } 61598 61599 // SetImageName sets the ImageName field's value. 61600 func (s *ListImageVersionsInput) SetImageName(v string) *ListImageVersionsInput { 61601 s.ImageName = &v 61602 return s 61603 } 61604 61605 // SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value. 61606 func (s *ListImageVersionsInput) SetLastModifiedTimeAfter(v time.Time) *ListImageVersionsInput { 61607 s.LastModifiedTimeAfter = &v 61608 return s 61609 } 61610 61611 // SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value. 61612 func (s *ListImageVersionsInput) SetLastModifiedTimeBefore(v time.Time) *ListImageVersionsInput { 61613 s.LastModifiedTimeBefore = &v 61614 return s 61615 } 61616 61617 // SetMaxResults sets the MaxResults field's value. 61618 func (s *ListImageVersionsInput) SetMaxResults(v int64) *ListImageVersionsInput { 61619 s.MaxResults = &v 61620 return s 61621 } 61622 61623 // SetNextToken sets the NextToken field's value. 61624 func (s *ListImageVersionsInput) SetNextToken(v string) *ListImageVersionsInput { 61625 s.NextToken = &v 61626 return s 61627 } 61628 61629 // SetSortBy sets the SortBy field's value. 61630 func (s *ListImageVersionsInput) SetSortBy(v string) *ListImageVersionsInput { 61631 s.SortBy = &v 61632 return s 61633 } 61634 61635 // SetSortOrder sets the SortOrder field's value. 61636 func (s *ListImageVersionsInput) SetSortOrder(v string) *ListImageVersionsInput { 61637 s.SortOrder = &v 61638 return s 61639 } 61640 61641 type ListImageVersionsOutput struct { 61642 _ struct{} `type:"structure"` 61643 61644 // A list of versions and their properties. 61645 ImageVersions []*ImageVersion `type:"list"` 61646 61647 // A token for getting the next set of versions, if there are any. 61648 NextToken *string `type:"string"` 61649 } 61650 61651 // String returns the string representation. 61652 // 61653 // API parameter values that are decorated as "sensitive" in the API will not 61654 // be included in the string output. The member name will be present, but the 61655 // value will be replaced with "sensitive". 61656 func (s ListImageVersionsOutput) String() string { 61657 return awsutil.Prettify(s) 61658 } 61659 61660 // GoString returns the string representation. 61661 // 61662 // API parameter values that are decorated as "sensitive" in the API will not 61663 // be included in the string output. The member name will be present, but the 61664 // value will be replaced with "sensitive". 61665 func (s ListImageVersionsOutput) GoString() string { 61666 return s.String() 61667 } 61668 61669 // SetImageVersions sets the ImageVersions field's value. 61670 func (s *ListImageVersionsOutput) SetImageVersions(v []*ImageVersion) *ListImageVersionsOutput { 61671 s.ImageVersions = v 61672 return s 61673 } 61674 61675 // SetNextToken sets the NextToken field's value. 61676 func (s *ListImageVersionsOutput) SetNextToken(v string) *ListImageVersionsOutput { 61677 s.NextToken = &v 61678 return s 61679 } 61680 61681 type ListImagesInput struct { 61682 _ struct{} `type:"structure"` 61683 61684 // A filter that returns only images created on or after the specified time. 61685 CreationTimeAfter *time.Time `type:"timestamp"` 61686 61687 // A filter that returns only images created on or before the specified time. 61688 CreationTimeBefore *time.Time `type:"timestamp"` 61689 61690 // A filter that returns only images modified on or after the specified time. 61691 LastModifiedTimeAfter *time.Time `type:"timestamp"` 61692 61693 // A filter that returns only images modified on or before the specified time. 61694 LastModifiedTimeBefore *time.Time `type:"timestamp"` 61695 61696 // The maximum number of images to return in the response. The default value 61697 // is 10. 61698 MaxResults *int64 `min:"1" type:"integer"` 61699 61700 // A filter that returns only images whose name contains the specified string. 61701 NameContains *string `type:"string"` 61702 61703 // If the previous call to ListImages didn't return the full set of images, 61704 // the call returns a token for getting the next set of images. 61705 NextToken *string `type:"string"` 61706 61707 // The property used to sort results. The default value is CREATION_TIME. 61708 SortBy *string `type:"string" enum:"ImageSortBy"` 61709 61710 // The sort order. The default value is DESCENDING. 61711 SortOrder *string `type:"string" enum:"ImageSortOrder"` 61712 } 61713 61714 // String returns the string representation. 61715 // 61716 // API parameter values that are decorated as "sensitive" in the API will not 61717 // be included in the string output. The member name will be present, but the 61718 // value will be replaced with "sensitive". 61719 func (s ListImagesInput) String() string { 61720 return awsutil.Prettify(s) 61721 } 61722 61723 // GoString returns the string representation. 61724 // 61725 // API parameter values that are decorated as "sensitive" in the API will not 61726 // be included in the string output. The member name will be present, but the 61727 // value will be replaced with "sensitive". 61728 func (s ListImagesInput) GoString() string { 61729 return s.String() 61730 } 61731 61732 // Validate inspects the fields of the type to determine if they are valid. 61733 func (s *ListImagesInput) Validate() error { 61734 invalidParams := request.ErrInvalidParams{Context: "ListImagesInput"} 61735 if s.MaxResults != nil && *s.MaxResults < 1 { 61736 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 61737 } 61738 61739 if invalidParams.Len() > 0 { 61740 return invalidParams 61741 } 61742 return nil 61743 } 61744 61745 // SetCreationTimeAfter sets the CreationTimeAfter field's value. 61746 func (s *ListImagesInput) SetCreationTimeAfter(v time.Time) *ListImagesInput { 61747 s.CreationTimeAfter = &v 61748 return s 61749 } 61750 61751 // SetCreationTimeBefore sets the CreationTimeBefore field's value. 61752 func (s *ListImagesInput) SetCreationTimeBefore(v time.Time) *ListImagesInput { 61753 s.CreationTimeBefore = &v 61754 return s 61755 } 61756 61757 // SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value. 61758 func (s *ListImagesInput) SetLastModifiedTimeAfter(v time.Time) *ListImagesInput { 61759 s.LastModifiedTimeAfter = &v 61760 return s 61761 } 61762 61763 // SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value. 61764 func (s *ListImagesInput) SetLastModifiedTimeBefore(v time.Time) *ListImagesInput { 61765 s.LastModifiedTimeBefore = &v 61766 return s 61767 } 61768 61769 // SetMaxResults sets the MaxResults field's value. 61770 func (s *ListImagesInput) SetMaxResults(v int64) *ListImagesInput { 61771 s.MaxResults = &v 61772 return s 61773 } 61774 61775 // SetNameContains sets the NameContains field's value. 61776 func (s *ListImagesInput) SetNameContains(v string) *ListImagesInput { 61777 s.NameContains = &v 61778 return s 61779 } 61780 61781 // SetNextToken sets the NextToken field's value. 61782 func (s *ListImagesInput) SetNextToken(v string) *ListImagesInput { 61783 s.NextToken = &v 61784 return s 61785 } 61786 61787 // SetSortBy sets the SortBy field's value. 61788 func (s *ListImagesInput) SetSortBy(v string) *ListImagesInput { 61789 s.SortBy = &v 61790 return s 61791 } 61792 61793 // SetSortOrder sets the SortOrder field's value. 61794 func (s *ListImagesInput) SetSortOrder(v string) *ListImagesInput { 61795 s.SortOrder = &v 61796 return s 61797 } 61798 61799 type ListImagesOutput struct { 61800 _ struct{} `type:"structure"` 61801 61802 // A list of images and their properties. 61803 Images []*Image `type:"list"` 61804 61805 // A token for getting the next set of images, if there are any. 61806 NextToken *string `type:"string"` 61807 } 61808 61809 // String returns the string representation. 61810 // 61811 // API parameter values that are decorated as "sensitive" in the API will not 61812 // be included in the string output. The member name will be present, but the 61813 // value will be replaced with "sensitive". 61814 func (s ListImagesOutput) String() string { 61815 return awsutil.Prettify(s) 61816 } 61817 61818 // GoString returns the string representation. 61819 // 61820 // API parameter values that are decorated as "sensitive" in the API will not 61821 // be included in the string output. The member name will be present, but the 61822 // value will be replaced with "sensitive". 61823 func (s ListImagesOutput) GoString() string { 61824 return s.String() 61825 } 61826 61827 // SetImages sets the Images field's value. 61828 func (s *ListImagesOutput) SetImages(v []*Image) *ListImagesOutput { 61829 s.Images = v 61830 return s 61831 } 61832 61833 // SetNextToken sets the NextToken field's value. 61834 func (s *ListImagesOutput) SetNextToken(v string) *ListImagesOutput { 61835 s.NextToken = &v 61836 return s 61837 } 61838 61839 type ListLabelingJobsForWorkteamInput struct { 61840 _ struct{} `type:"structure"` 61841 61842 // A filter that returns only labeling jobs created after the specified time 61843 // (timestamp). 61844 CreationTimeAfter *time.Time `type:"timestamp"` 61845 61846 // A filter that returns only labeling jobs created before the specified time 61847 // (timestamp). 61848 CreationTimeBefore *time.Time `type:"timestamp"` 61849 61850 // A filter the limits jobs to only the ones whose job reference code contains 61851 // the specified string. 61852 JobReferenceCodeContains *string `min:"1" type:"string"` 61853 61854 // The maximum number of labeling jobs to return in each page of the response. 61855 MaxResults *int64 `min:"1" type:"integer"` 61856 61857 // If the result of the previous ListLabelingJobsForWorkteam request was truncated, 61858 // the response includes a NextToken. To retrieve the next set of labeling jobs, 61859 // use the token in the next request. 61860 NextToken *string `type:"string"` 61861 61862 // The field to sort results by. The default is CreationTime. 61863 SortBy *string `type:"string" enum:"ListLabelingJobsForWorkteamSortByOptions"` 61864 61865 // The sort order for results. The default is Ascending. 61866 SortOrder *string `type:"string" enum:"SortOrder"` 61867 61868 // The Amazon Resource Name (ARN) of the work team for which you want to see 61869 // labeling jobs for. 61870 // 61871 // WorkteamArn is a required field 61872 WorkteamArn *string `type:"string" required:"true"` 61873 } 61874 61875 // String returns the string representation. 61876 // 61877 // API parameter values that are decorated as "sensitive" in the API will not 61878 // be included in the string output. The member name will be present, but the 61879 // value will be replaced with "sensitive". 61880 func (s ListLabelingJobsForWorkteamInput) String() string { 61881 return awsutil.Prettify(s) 61882 } 61883 61884 // GoString returns the string representation. 61885 // 61886 // API parameter values that are decorated as "sensitive" in the API will not 61887 // be included in the string output. The member name will be present, but the 61888 // value will be replaced with "sensitive". 61889 func (s ListLabelingJobsForWorkteamInput) GoString() string { 61890 return s.String() 61891 } 61892 61893 // Validate inspects the fields of the type to determine if they are valid. 61894 func (s *ListLabelingJobsForWorkteamInput) Validate() error { 61895 invalidParams := request.ErrInvalidParams{Context: "ListLabelingJobsForWorkteamInput"} 61896 if s.JobReferenceCodeContains != nil && len(*s.JobReferenceCodeContains) < 1 { 61897 invalidParams.Add(request.NewErrParamMinLen("JobReferenceCodeContains", 1)) 61898 } 61899 if s.MaxResults != nil && *s.MaxResults < 1 { 61900 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 61901 } 61902 if s.WorkteamArn == nil { 61903 invalidParams.Add(request.NewErrParamRequired("WorkteamArn")) 61904 } 61905 61906 if invalidParams.Len() > 0 { 61907 return invalidParams 61908 } 61909 return nil 61910 } 61911 61912 // SetCreationTimeAfter sets the CreationTimeAfter field's value. 61913 func (s *ListLabelingJobsForWorkteamInput) SetCreationTimeAfter(v time.Time) *ListLabelingJobsForWorkteamInput { 61914 s.CreationTimeAfter = &v 61915 return s 61916 } 61917 61918 // SetCreationTimeBefore sets the CreationTimeBefore field's value. 61919 func (s *ListLabelingJobsForWorkteamInput) SetCreationTimeBefore(v time.Time) *ListLabelingJobsForWorkteamInput { 61920 s.CreationTimeBefore = &v 61921 return s 61922 } 61923 61924 // SetJobReferenceCodeContains sets the JobReferenceCodeContains field's value. 61925 func (s *ListLabelingJobsForWorkteamInput) SetJobReferenceCodeContains(v string) *ListLabelingJobsForWorkteamInput { 61926 s.JobReferenceCodeContains = &v 61927 return s 61928 } 61929 61930 // SetMaxResults sets the MaxResults field's value. 61931 func (s *ListLabelingJobsForWorkteamInput) SetMaxResults(v int64) *ListLabelingJobsForWorkteamInput { 61932 s.MaxResults = &v 61933 return s 61934 } 61935 61936 // SetNextToken sets the NextToken field's value. 61937 func (s *ListLabelingJobsForWorkteamInput) SetNextToken(v string) *ListLabelingJobsForWorkteamInput { 61938 s.NextToken = &v 61939 return s 61940 } 61941 61942 // SetSortBy sets the SortBy field's value. 61943 func (s *ListLabelingJobsForWorkteamInput) SetSortBy(v string) *ListLabelingJobsForWorkteamInput { 61944 s.SortBy = &v 61945 return s 61946 } 61947 61948 // SetSortOrder sets the SortOrder field's value. 61949 func (s *ListLabelingJobsForWorkteamInput) SetSortOrder(v string) *ListLabelingJobsForWorkteamInput { 61950 s.SortOrder = &v 61951 return s 61952 } 61953 61954 // SetWorkteamArn sets the WorkteamArn field's value. 61955 func (s *ListLabelingJobsForWorkteamInput) SetWorkteamArn(v string) *ListLabelingJobsForWorkteamInput { 61956 s.WorkteamArn = &v 61957 return s 61958 } 61959 61960 type ListLabelingJobsForWorkteamOutput struct { 61961 _ struct{} `type:"structure"` 61962 61963 // An array of LabelingJobSummary objects, each describing a labeling job. 61964 // 61965 // LabelingJobSummaryList is a required field 61966 LabelingJobSummaryList []*LabelingJobForWorkteamSummary `type:"list" required:"true"` 61967 61968 // If the response is truncated, Amazon SageMaker returns this token. To retrieve 61969 // the next set of labeling jobs, use it in the subsequent request. 61970 NextToken *string `type:"string"` 61971 } 61972 61973 // String returns the string representation. 61974 // 61975 // API parameter values that are decorated as "sensitive" in the API will not 61976 // be included in the string output. The member name will be present, but the 61977 // value will be replaced with "sensitive". 61978 func (s ListLabelingJobsForWorkteamOutput) String() string { 61979 return awsutil.Prettify(s) 61980 } 61981 61982 // GoString returns the string representation. 61983 // 61984 // API parameter values that are decorated as "sensitive" in the API will not 61985 // be included in the string output. The member name will be present, but the 61986 // value will be replaced with "sensitive". 61987 func (s ListLabelingJobsForWorkteamOutput) GoString() string { 61988 return s.String() 61989 } 61990 61991 // SetLabelingJobSummaryList sets the LabelingJobSummaryList field's value. 61992 func (s *ListLabelingJobsForWorkteamOutput) SetLabelingJobSummaryList(v []*LabelingJobForWorkteamSummary) *ListLabelingJobsForWorkteamOutput { 61993 s.LabelingJobSummaryList = v 61994 return s 61995 } 61996 61997 // SetNextToken sets the NextToken field's value. 61998 func (s *ListLabelingJobsForWorkteamOutput) SetNextToken(v string) *ListLabelingJobsForWorkteamOutput { 61999 s.NextToken = &v 62000 return s 62001 } 62002 62003 type ListLabelingJobsInput struct { 62004 _ struct{} `type:"structure"` 62005 62006 // A filter that returns only labeling jobs created after the specified time 62007 // (timestamp). 62008 CreationTimeAfter *time.Time `type:"timestamp"` 62009 62010 // A filter that returns only labeling jobs created before the specified time 62011 // (timestamp). 62012 CreationTimeBefore *time.Time `type:"timestamp"` 62013 62014 // A filter that returns only labeling jobs modified after the specified time 62015 // (timestamp). 62016 LastModifiedTimeAfter *time.Time `type:"timestamp"` 62017 62018 // A filter that returns only labeling jobs modified before the specified time 62019 // (timestamp). 62020 LastModifiedTimeBefore *time.Time `type:"timestamp"` 62021 62022 // The maximum number of labeling jobs to return in each page of the response. 62023 MaxResults *int64 `min:"1" type:"integer"` 62024 62025 // A string in the labeling job name. This filter returns only labeling jobs 62026 // whose name contains the specified string. 62027 NameContains *string `type:"string"` 62028 62029 // If the result of the previous ListLabelingJobs request was truncated, the 62030 // response includes a NextToken. To retrieve the next set of labeling jobs, 62031 // use the token in the next request. 62032 NextToken *string `type:"string"` 62033 62034 // The field to sort results by. The default is CreationTime. 62035 SortBy *string `type:"string" enum:"SortBy"` 62036 62037 // The sort order for results. The default is Ascending. 62038 SortOrder *string `type:"string" enum:"SortOrder"` 62039 62040 // A filter that retrieves only labeling jobs with a specific status. 62041 StatusEquals *string `type:"string" enum:"LabelingJobStatus"` 62042 } 62043 62044 // String returns the string representation. 62045 // 62046 // API parameter values that are decorated as "sensitive" in the API will not 62047 // be included in the string output. The member name will be present, but the 62048 // value will be replaced with "sensitive". 62049 func (s ListLabelingJobsInput) String() string { 62050 return awsutil.Prettify(s) 62051 } 62052 62053 // GoString returns the string representation. 62054 // 62055 // API parameter values that are decorated as "sensitive" in the API will not 62056 // be included in the string output. The member name will be present, but the 62057 // value will be replaced with "sensitive". 62058 func (s ListLabelingJobsInput) GoString() string { 62059 return s.String() 62060 } 62061 62062 // Validate inspects the fields of the type to determine if they are valid. 62063 func (s *ListLabelingJobsInput) Validate() error { 62064 invalidParams := request.ErrInvalidParams{Context: "ListLabelingJobsInput"} 62065 if s.MaxResults != nil && *s.MaxResults < 1 { 62066 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 62067 } 62068 62069 if invalidParams.Len() > 0 { 62070 return invalidParams 62071 } 62072 return nil 62073 } 62074 62075 // SetCreationTimeAfter sets the CreationTimeAfter field's value. 62076 func (s *ListLabelingJobsInput) SetCreationTimeAfter(v time.Time) *ListLabelingJobsInput { 62077 s.CreationTimeAfter = &v 62078 return s 62079 } 62080 62081 // SetCreationTimeBefore sets the CreationTimeBefore field's value. 62082 func (s *ListLabelingJobsInput) SetCreationTimeBefore(v time.Time) *ListLabelingJobsInput { 62083 s.CreationTimeBefore = &v 62084 return s 62085 } 62086 62087 // SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value. 62088 func (s *ListLabelingJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListLabelingJobsInput { 62089 s.LastModifiedTimeAfter = &v 62090 return s 62091 } 62092 62093 // SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value. 62094 func (s *ListLabelingJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListLabelingJobsInput { 62095 s.LastModifiedTimeBefore = &v 62096 return s 62097 } 62098 62099 // SetMaxResults sets the MaxResults field's value. 62100 func (s *ListLabelingJobsInput) SetMaxResults(v int64) *ListLabelingJobsInput { 62101 s.MaxResults = &v 62102 return s 62103 } 62104 62105 // SetNameContains sets the NameContains field's value. 62106 func (s *ListLabelingJobsInput) SetNameContains(v string) *ListLabelingJobsInput { 62107 s.NameContains = &v 62108 return s 62109 } 62110 62111 // SetNextToken sets the NextToken field's value. 62112 func (s *ListLabelingJobsInput) SetNextToken(v string) *ListLabelingJobsInput { 62113 s.NextToken = &v 62114 return s 62115 } 62116 62117 // SetSortBy sets the SortBy field's value. 62118 func (s *ListLabelingJobsInput) SetSortBy(v string) *ListLabelingJobsInput { 62119 s.SortBy = &v 62120 return s 62121 } 62122 62123 // SetSortOrder sets the SortOrder field's value. 62124 func (s *ListLabelingJobsInput) SetSortOrder(v string) *ListLabelingJobsInput { 62125 s.SortOrder = &v 62126 return s 62127 } 62128 62129 // SetStatusEquals sets the StatusEquals field's value. 62130 func (s *ListLabelingJobsInput) SetStatusEquals(v string) *ListLabelingJobsInput { 62131 s.StatusEquals = &v 62132 return s 62133 } 62134 62135 type ListLabelingJobsOutput struct { 62136 _ struct{} `type:"structure"` 62137 62138 // An array of LabelingJobSummary objects, each describing a labeling job. 62139 LabelingJobSummaryList []*LabelingJobSummary `type:"list"` 62140 62141 // If the response is truncated, Amazon SageMaker returns this token. To retrieve 62142 // the next set of labeling jobs, use it in the subsequent request. 62143 NextToken *string `type:"string"` 62144 } 62145 62146 // String returns the string representation. 62147 // 62148 // API parameter values that are decorated as "sensitive" in the API will not 62149 // be included in the string output. The member name will be present, but the 62150 // value will be replaced with "sensitive". 62151 func (s ListLabelingJobsOutput) String() string { 62152 return awsutil.Prettify(s) 62153 } 62154 62155 // GoString returns the string representation. 62156 // 62157 // API parameter values that are decorated as "sensitive" in the API will not 62158 // be included in the string output. The member name will be present, but the 62159 // value will be replaced with "sensitive". 62160 func (s ListLabelingJobsOutput) GoString() string { 62161 return s.String() 62162 } 62163 62164 // SetLabelingJobSummaryList sets the LabelingJobSummaryList field's value. 62165 func (s *ListLabelingJobsOutput) SetLabelingJobSummaryList(v []*LabelingJobSummary) *ListLabelingJobsOutput { 62166 s.LabelingJobSummaryList = v 62167 return s 62168 } 62169 62170 // SetNextToken sets the NextToken field's value. 62171 func (s *ListLabelingJobsOutput) SetNextToken(v string) *ListLabelingJobsOutput { 62172 s.NextToken = &v 62173 return s 62174 } 62175 62176 type ListModelBiasJobDefinitionsInput struct { 62177 _ struct{} `type:"structure"` 62178 62179 // A filter that returns only model bias jobs created after a specified time. 62180 CreationTimeAfter *time.Time `type:"timestamp"` 62181 62182 // A filter that returns only model bias jobs created before a specified time. 62183 CreationTimeBefore *time.Time `type:"timestamp"` 62184 62185 // Name of the endpoint to monitor for model bias. 62186 EndpointName *string `type:"string"` 62187 62188 // The maximum number of model bias jobs to return in the response. The default 62189 // value is 10. 62190 MaxResults *int64 `min:"1" type:"integer"` 62191 62192 // Filter for model bias jobs whose name contains a specified string. 62193 NameContains *string `type:"string"` 62194 62195 // The token returned if the response is truncated. To retrieve the next set 62196 // of job executions, use it in the next request. 62197 NextToken *string `type:"string"` 62198 62199 // Whether to sort results by the Name or CreationTime field. The default is 62200 // CreationTime. 62201 SortBy *string `type:"string" enum:"MonitoringJobDefinitionSortKey"` 62202 62203 // Whether to sort the results in Ascending or Descending order. The default 62204 // is Descending. 62205 SortOrder *string `type:"string" enum:"SortOrder"` 62206 } 62207 62208 // String returns the string representation. 62209 // 62210 // API parameter values that are decorated as "sensitive" in the API will not 62211 // be included in the string output. The member name will be present, but the 62212 // value will be replaced with "sensitive". 62213 func (s ListModelBiasJobDefinitionsInput) String() string { 62214 return awsutil.Prettify(s) 62215 } 62216 62217 // GoString returns the string representation. 62218 // 62219 // API parameter values that are decorated as "sensitive" in the API will not 62220 // be included in the string output. The member name will be present, but the 62221 // value will be replaced with "sensitive". 62222 func (s ListModelBiasJobDefinitionsInput) GoString() string { 62223 return s.String() 62224 } 62225 62226 // Validate inspects the fields of the type to determine if they are valid. 62227 func (s *ListModelBiasJobDefinitionsInput) Validate() error { 62228 invalidParams := request.ErrInvalidParams{Context: "ListModelBiasJobDefinitionsInput"} 62229 if s.MaxResults != nil && *s.MaxResults < 1 { 62230 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 62231 } 62232 62233 if invalidParams.Len() > 0 { 62234 return invalidParams 62235 } 62236 return nil 62237 } 62238 62239 // SetCreationTimeAfter sets the CreationTimeAfter field's value. 62240 func (s *ListModelBiasJobDefinitionsInput) SetCreationTimeAfter(v time.Time) *ListModelBiasJobDefinitionsInput { 62241 s.CreationTimeAfter = &v 62242 return s 62243 } 62244 62245 // SetCreationTimeBefore sets the CreationTimeBefore field's value. 62246 func (s *ListModelBiasJobDefinitionsInput) SetCreationTimeBefore(v time.Time) *ListModelBiasJobDefinitionsInput { 62247 s.CreationTimeBefore = &v 62248 return s 62249 } 62250 62251 // SetEndpointName sets the EndpointName field's value. 62252 func (s *ListModelBiasJobDefinitionsInput) SetEndpointName(v string) *ListModelBiasJobDefinitionsInput { 62253 s.EndpointName = &v 62254 return s 62255 } 62256 62257 // SetMaxResults sets the MaxResults field's value. 62258 func (s *ListModelBiasJobDefinitionsInput) SetMaxResults(v int64) *ListModelBiasJobDefinitionsInput { 62259 s.MaxResults = &v 62260 return s 62261 } 62262 62263 // SetNameContains sets the NameContains field's value. 62264 func (s *ListModelBiasJobDefinitionsInput) SetNameContains(v string) *ListModelBiasJobDefinitionsInput { 62265 s.NameContains = &v 62266 return s 62267 } 62268 62269 // SetNextToken sets the NextToken field's value. 62270 func (s *ListModelBiasJobDefinitionsInput) SetNextToken(v string) *ListModelBiasJobDefinitionsInput { 62271 s.NextToken = &v 62272 return s 62273 } 62274 62275 // SetSortBy sets the SortBy field's value. 62276 func (s *ListModelBiasJobDefinitionsInput) SetSortBy(v string) *ListModelBiasJobDefinitionsInput { 62277 s.SortBy = &v 62278 return s 62279 } 62280 62281 // SetSortOrder sets the SortOrder field's value. 62282 func (s *ListModelBiasJobDefinitionsInput) SetSortOrder(v string) *ListModelBiasJobDefinitionsInput { 62283 s.SortOrder = &v 62284 return s 62285 } 62286 62287 type ListModelBiasJobDefinitionsOutput struct { 62288 _ struct{} `type:"structure"` 62289 62290 // A JSON array in which each element is a summary for a model bias jobs. 62291 // 62292 // JobDefinitionSummaries is a required field 62293 JobDefinitionSummaries []*MonitoringJobDefinitionSummary `type:"list" required:"true"` 62294 62295 // If the response is truncated, Amazon SageMaker returns this token. To retrieve 62296 // the next set of jobs, use it in the subsequent request. 62297 NextToken *string `type:"string"` 62298 } 62299 62300 // String returns the string representation. 62301 // 62302 // API parameter values that are decorated as "sensitive" in the API will not 62303 // be included in the string output. The member name will be present, but the 62304 // value will be replaced with "sensitive". 62305 func (s ListModelBiasJobDefinitionsOutput) String() string { 62306 return awsutil.Prettify(s) 62307 } 62308 62309 // GoString returns the string representation. 62310 // 62311 // API parameter values that are decorated as "sensitive" in the API will not 62312 // be included in the string output. The member name will be present, but the 62313 // value will be replaced with "sensitive". 62314 func (s ListModelBiasJobDefinitionsOutput) GoString() string { 62315 return s.String() 62316 } 62317 62318 // SetJobDefinitionSummaries sets the JobDefinitionSummaries field's value. 62319 func (s *ListModelBiasJobDefinitionsOutput) SetJobDefinitionSummaries(v []*MonitoringJobDefinitionSummary) *ListModelBiasJobDefinitionsOutput { 62320 s.JobDefinitionSummaries = v 62321 return s 62322 } 62323 62324 // SetNextToken sets the NextToken field's value. 62325 func (s *ListModelBiasJobDefinitionsOutput) SetNextToken(v string) *ListModelBiasJobDefinitionsOutput { 62326 s.NextToken = &v 62327 return s 62328 } 62329 62330 type ListModelExplainabilityJobDefinitionsInput struct { 62331 _ struct{} `type:"structure"` 62332 62333 // A filter that returns only model explainability jobs created after a specified 62334 // time. 62335 CreationTimeAfter *time.Time `type:"timestamp"` 62336 62337 // A filter that returns only model explainability jobs created before a specified 62338 // time. 62339 CreationTimeBefore *time.Time `type:"timestamp"` 62340 62341 // Name of the endpoint to monitor for model explainability. 62342 EndpointName *string `type:"string"` 62343 62344 // The maximum number of jobs to return in the response. The default value is 62345 // 10. 62346 MaxResults *int64 `min:"1" type:"integer"` 62347 62348 // Filter for model explainability jobs whose name contains a specified string. 62349 NameContains *string `type:"string"` 62350 62351 // The token returned if the response is truncated. To retrieve the next set 62352 // of job executions, use it in the next request. 62353 NextToken *string `type:"string"` 62354 62355 // Whether to sort results by the Name or CreationTime field. The default is 62356 // CreationTime. 62357 SortBy *string `type:"string" enum:"MonitoringJobDefinitionSortKey"` 62358 62359 // Whether to sort the results in Ascending or Descending order. The default 62360 // is Descending. 62361 SortOrder *string `type:"string" enum:"SortOrder"` 62362 } 62363 62364 // String returns the string representation. 62365 // 62366 // API parameter values that are decorated as "sensitive" in the API will not 62367 // be included in the string output. The member name will be present, but the 62368 // value will be replaced with "sensitive". 62369 func (s ListModelExplainabilityJobDefinitionsInput) String() string { 62370 return awsutil.Prettify(s) 62371 } 62372 62373 // GoString returns the string representation. 62374 // 62375 // API parameter values that are decorated as "sensitive" in the API will not 62376 // be included in the string output. The member name will be present, but the 62377 // value will be replaced with "sensitive". 62378 func (s ListModelExplainabilityJobDefinitionsInput) GoString() string { 62379 return s.String() 62380 } 62381 62382 // Validate inspects the fields of the type to determine if they are valid. 62383 func (s *ListModelExplainabilityJobDefinitionsInput) Validate() error { 62384 invalidParams := request.ErrInvalidParams{Context: "ListModelExplainabilityJobDefinitionsInput"} 62385 if s.MaxResults != nil && *s.MaxResults < 1 { 62386 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 62387 } 62388 62389 if invalidParams.Len() > 0 { 62390 return invalidParams 62391 } 62392 return nil 62393 } 62394 62395 // SetCreationTimeAfter sets the CreationTimeAfter field's value. 62396 func (s *ListModelExplainabilityJobDefinitionsInput) SetCreationTimeAfter(v time.Time) *ListModelExplainabilityJobDefinitionsInput { 62397 s.CreationTimeAfter = &v 62398 return s 62399 } 62400 62401 // SetCreationTimeBefore sets the CreationTimeBefore field's value. 62402 func (s *ListModelExplainabilityJobDefinitionsInput) SetCreationTimeBefore(v time.Time) *ListModelExplainabilityJobDefinitionsInput { 62403 s.CreationTimeBefore = &v 62404 return s 62405 } 62406 62407 // SetEndpointName sets the EndpointName field's value. 62408 func (s *ListModelExplainabilityJobDefinitionsInput) SetEndpointName(v string) *ListModelExplainabilityJobDefinitionsInput { 62409 s.EndpointName = &v 62410 return s 62411 } 62412 62413 // SetMaxResults sets the MaxResults field's value. 62414 func (s *ListModelExplainabilityJobDefinitionsInput) SetMaxResults(v int64) *ListModelExplainabilityJobDefinitionsInput { 62415 s.MaxResults = &v 62416 return s 62417 } 62418 62419 // SetNameContains sets the NameContains field's value. 62420 func (s *ListModelExplainabilityJobDefinitionsInput) SetNameContains(v string) *ListModelExplainabilityJobDefinitionsInput { 62421 s.NameContains = &v 62422 return s 62423 } 62424 62425 // SetNextToken sets the NextToken field's value. 62426 func (s *ListModelExplainabilityJobDefinitionsInput) SetNextToken(v string) *ListModelExplainabilityJobDefinitionsInput { 62427 s.NextToken = &v 62428 return s 62429 } 62430 62431 // SetSortBy sets the SortBy field's value. 62432 func (s *ListModelExplainabilityJobDefinitionsInput) SetSortBy(v string) *ListModelExplainabilityJobDefinitionsInput { 62433 s.SortBy = &v 62434 return s 62435 } 62436 62437 // SetSortOrder sets the SortOrder field's value. 62438 func (s *ListModelExplainabilityJobDefinitionsInput) SetSortOrder(v string) *ListModelExplainabilityJobDefinitionsInput { 62439 s.SortOrder = &v 62440 return s 62441 } 62442 62443 type ListModelExplainabilityJobDefinitionsOutput struct { 62444 _ struct{} `type:"structure"` 62445 62446 // A JSON array in which each element is a summary for a explainability bias 62447 // jobs. 62448 // 62449 // JobDefinitionSummaries is a required field 62450 JobDefinitionSummaries []*MonitoringJobDefinitionSummary `type:"list" required:"true"` 62451 62452 // If the response is truncated, Amazon SageMaker returns this token. To retrieve 62453 // the next set of jobs, use it in the subsequent request. 62454 NextToken *string `type:"string"` 62455 } 62456 62457 // String returns the string representation. 62458 // 62459 // API parameter values that are decorated as "sensitive" in the API will not 62460 // be included in the string output. The member name will be present, but the 62461 // value will be replaced with "sensitive". 62462 func (s ListModelExplainabilityJobDefinitionsOutput) String() string { 62463 return awsutil.Prettify(s) 62464 } 62465 62466 // GoString returns the string representation. 62467 // 62468 // API parameter values that are decorated as "sensitive" in the API will not 62469 // be included in the string output. The member name will be present, but the 62470 // value will be replaced with "sensitive". 62471 func (s ListModelExplainabilityJobDefinitionsOutput) GoString() string { 62472 return s.String() 62473 } 62474 62475 // SetJobDefinitionSummaries sets the JobDefinitionSummaries field's value. 62476 func (s *ListModelExplainabilityJobDefinitionsOutput) SetJobDefinitionSummaries(v []*MonitoringJobDefinitionSummary) *ListModelExplainabilityJobDefinitionsOutput { 62477 s.JobDefinitionSummaries = v 62478 return s 62479 } 62480 62481 // SetNextToken sets the NextToken field's value. 62482 func (s *ListModelExplainabilityJobDefinitionsOutput) SetNextToken(v string) *ListModelExplainabilityJobDefinitionsOutput { 62483 s.NextToken = &v 62484 return s 62485 } 62486 62487 type ListModelPackageGroupsInput struct { 62488 _ struct{} `type:"structure"` 62489 62490 // A filter that returns only model groups created after the specified time. 62491 CreationTimeAfter *time.Time `type:"timestamp"` 62492 62493 // A filter that returns only model groups created before the specified time. 62494 CreationTimeBefore *time.Time `type:"timestamp"` 62495 62496 // The maximum number of results to return in the response. 62497 MaxResults *int64 `min:"1" type:"integer"` 62498 62499 // A string in the model group name. This filter returns only model groups whose 62500 // name contains the specified string. 62501 NameContains *string `type:"string"` 62502 62503 // If the result of the previous ListModelPackageGroups request was truncated, 62504 // the response includes a NextToken. To retrieve the next set of model groups, 62505 // use the token in the next request. 62506 NextToken *string `type:"string"` 62507 62508 // The field to sort results by. The default is CreationTime. 62509 SortBy *string `type:"string" enum:"ModelPackageGroupSortBy"` 62510 62511 // The sort order for results. The default is Ascending. 62512 SortOrder *string `type:"string" enum:"SortOrder"` 62513 } 62514 62515 // String returns the string representation. 62516 // 62517 // API parameter values that are decorated as "sensitive" in the API will not 62518 // be included in the string output. The member name will be present, but the 62519 // value will be replaced with "sensitive". 62520 func (s ListModelPackageGroupsInput) String() string { 62521 return awsutil.Prettify(s) 62522 } 62523 62524 // GoString returns the string representation. 62525 // 62526 // API parameter values that are decorated as "sensitive" in the API will not 62527 // be included in the string output. The member name will be present, but the 62528 // value will be replaced with "sensitive". 62529 func (s ListModelPackageGroupsInput) GoString() string { 62530 return s.String() 62531 } 62532 62533 // Validate inspects the fields of the type to determine if they are valid. 62534 func (s *ListModelPackageGroupsInput) Validate() error { 62535 invalidParams := request.ErrInvalidParams{Context: "ListModelPackageGroupsInput"} 62536 if s.MaxResults != nil && *s.MaxResults < 1 { 62537 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 62538 } 62539 62540 if invalidParams.Len() > 0 { 62541 return invalidParams 62542 } 62543 return nil 62544 } 62545 62546 // SetCreationTimeAfter sets the CreationTimeAfter field's value. 62547 func (s *ListModelPackageGroupsInput) SetCreationTimeAfter(v time.Time) *ListModelPackageGroupsInput { 62548 s.CreationTimeAfter = &v 62549 return s 62550 } 62551 62552 // SetCreationTimeBefore sets the CreationTimeBefore field's value. 62553 func (s *ListModelPackageGroupsInput) SetCreationTimeBefore(v time.Time) *ListModelPackageGroupsInput { 62554 s.CreationTimeBefore = &v 62555 return s 62556 } 62557 62558 // SetMaxResults sets the MaxResults field's value. 62559 func (s *ListModelPackageGroupsInput) SetMaxResults(v int64) *ListModelPackageGroupsInput { 62560 s.MaxResults = &v 62561 return s 62562 } 62563 62564 // SetNameContains sets the NameContains field's value. 62565 func (s *ListModelPackageGroupsInput) SetNameContains(v string) *ListModelPackageGroupsInput { 62566 s.NameContains = &v 62567 return s 62568 } 62569 62570 // SetNextToken sets the NextToken field's value. 62571 func (s *ListModelPackageGroupsInput) SetNextToken(v string) *ListModelPackageGroupsInput { 62572 s.NextToken = &v 62573 return s 62574 } 62575 62576 // SetSortBy sets the SortBy field's value. 62577 func (s *ListModelPackageGroupsInput) SetSortBy(v string) *ListModelPackageGroupsInput { 62578 s.SortBy = &v 62579 return s 62580 } 62581 62582 // SetSortOrder sets the SortOrder field's value. 62583 func (s *ListModelPackageGroupsInput) SetSortOrder(v string) *ListModelPackageGroupsInput { 62584 s.SortOrder = &v 62585 return s 62586 } 62587 62588 type ListModelPackageGroupsOutput struct { 62589 _ struct{} `type:"structure"` 62590 62591 // A list of summaries of the model groups in your Amazon Web Services account. 62592 // 62593 // ModelPackageGroupSummaryList is a required field 62594 ModelPackageGroupSummaryList []*ModelPackageGroupSummary `type:"list" required:"true"` 62595 62596 // If the response is truncated, SageMaker returns this token. To retrieve the 62597 // next set of model groups, use it in the subsequent request. 62598 NextToken *string `type:"string"` 62599 } 62600 62601 // String returns the string representation. 62602 // 62603 // API parameter values that are decorated as "sensitive" in the API will not 62604 // be included in the string output. The member name will be present, but the 62605 // value will be replaced with "sensitive". 62606 func (s ListModelPackageGroupsOutput) String() string { 62607 return awsutil.Prettify(s) 62608 } 62609 62610 // GoString returns the string representation. 62611 // 62612 // API parameter values that are decorated as "sensitive" in the API will not 62613 // be included in the string output. The member name will be present, but the 62614 // value will be replaced with "sensitive". 62615 func (s ListModelPackageGroupsOutput) GoString() string { 62616 return s.String() 62617 } 62618 62619 // SetModelPackageGroupSummaryList sets the ModelPackageGroupSummaryList field's value. 62620 func (s *ListModelPackageGroupsOutput) SetModelPackageGroupSummaryList(v []*ModelPackageGroupSummary) *ListModelPackageGroupsOutput { 62621 s.ModelPackageGroupSummaryList = v 62622 return s 62623 } 62624 62625 // SetNextToken sets the NextToken field's value. 62626 func (s *ListModelPackageGroupsOutput) SetNextToken(v string) *ListModelPackageGroupsOutput { 62627 s.NextToken = &v 62628 return s 62629 } 62630 62631 type ListModelPackagesInput struct { 62632 _ struct{} `type:"structure"` 62633 62634 // A filter that returns only model packages created after the specified time 62635 // (timestamp). 62636 CreationTimeAfter *time.Time `type:"timestamp"` 62637 62638 // A filter that returns only model packages created before the specified time 62639 // (timestamp). 62640 CreationTimeBefore *time.Time `type:"timestamp"` 62641 62642 // The maximum number of model packages to return in the response. 62643 MaxResults *int64 `min:"1" type:"integer"` 62644 62645 // A filter that returns only the model packages with the specified approval 62646 // status. 62647 ModelApprovalStatus *string `type:"string" enum:"ModelApprovalStatus"` 62648 62649 // A filter that returns only model versions that belong to the specified model 62650 // group. 62651 ModelPackageGroupName *string `min:"1" type:"string"` 62652 62653 // A filter that returns onlyl the model packages of the specified type. This 62654 // can be one of the following values. 62655 // 62656 // * VERSIONED - List only versioned models. 62657 // 62658 // * UNVERSIONED - List only unversioined models. 62659 // 62660 // * BOTH - List both versioned and unversioned models. 62661 ModelPackageType *string `type:"string" enum:"ModelPackageType"` 62662 62663 // A string in the model package name. This filter returns only model packages 62664 // whose name contains the specified string. 62665 NameContains *string `type:"string"` 62666 62667 // If the response to a previous ListModelPackages request was truncated, the 62668 // response includes a NextToken. To retrieve the next set of model packages, 62669 // use the token in the next request. 62670 NextToken *string `type:"string"` 62671 62672 // The parameter by which to sort the results. The default is CreationTime. 62673 SortBy *string `type:"string" enum:"ModelPackageSortBy"` 62674 62675 // The sort order for the results. The default is Ascending. 62676 SortOrder *string `type:"string" enum:"SortOrder"` 62677 } 62678 62679 // String returns the string representation. 62680 // 62681 // API parameter values that are decorated as "sensitive" in the API will not 62682 // be included in the string output. The member name will be present, but the 62683 // value will be replaced with "sensitive". 62684 func (s ListModelPackagesInput) String() string { 62685 return awsutil.Prettify(s) 62686 } 62687 62688 // GoString returns the string representation. 62689 // 62690 // API parameter values that are decorated as "sensitive" in the API will not 62691 // be included in the string output. The member name will be present, but the 62692 // value will be replaced with "sensitive". 62693 func (s ListModelPackagesInput) GoString() string { 62694 return s.String() 62695 } 62696 62697 // Validate inspects the fields of the type to determine if they are valid. 62698 func (s *ListModelPackagesInput) Validate() error { 62699 invalidParams := request.ErrInvalidParams{Context: "ListModelPackagesInput"} 62700 if s.MaxResults != nil && *s.MaxResults < 1 { 62701 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 62702 } 62703 if s.ModelPackageGroupName != nil && len(*s.ModelPackageGroupName) < 1 { 62704 invalidParams.Add(request.NewErrParamMinLen("ModelPackageGroupName", 1)) 62705 } 62706 62707 if invalidParams.Len() > 0 { 62708 return invalidParams 62709 } 62710 return nil 62711 } 62712 62713 // SetCreationTimeAfter sets the CreationTimeAfter field's value. 62714 func (s *ListModelPackagesInput) SetCreationTimeAfter(v time.Time) *ListModelPackagesInput { 62715 s.CreationTimeAfter = &v 62716 return s 62717 } 62718 62719 // SetCreationTimeBefore sets the CreationTimeBefore field's value. 62720 func (s *ListModelPackagesInput) SetCreationTimeBefore(v time.Time) *ListModelPackagesInput { 62721 s.CreationTimeBefore = &v 62722 return s 62723 } 62724 62725 // SetMaxResults sets the MaxResults field's value. 62726 func (s *ListModelPackagesInput) SetMaxResults(v int64) *ListModelPackagesInput { 62727 s.MaxResults = &v 62728 return s 62729 } 62730 62731 // SetModelApprovalStatus sets the ModelApprovalStatus field's value. 62732 func (s *ListModelPackagesInput) SetModelApprovalStatus(v string) *ListModelPackagesInput { 62733 s.ModelApprovalStatus = &v 62734 return s 62735 } 62736 62737 // SetModelPackageGroupName sets the ModelPackageGroupName field's value. 62738 func (s *ListModelPackagesInput) SetModelPackageGroupName(v string) *ListModelPackagesInput { 62739 s.ModelPackageGroupName = &v 62740 return s 62741 } 62742 62743 // SetModelPackageType sets the ModelPackageType field's value. 62744 func (s *ListModelPackagesInput) SetModelPackageType(v string) *ListModelPackagesInput { 62745 s.ModelPackageType = &v 62746 return s 62747 } 62748 62749 // SetNameContains sets the NameContains field's value. 62750 func (s *ListModelPackagesInput) SetNameContains(v string) *ListModelPackagesInput { 62751 s.NameContains = &v 62752 return s 62753 } 62754 62755 // SetNextToken sets the NextToken field's value. 62756 func (s *ListModelPackagesInput) SetNextToken(v string) *ListModelPackagesInput { 62757 s.NextToken = &v 62758 return s 62759 } 62760 62761 // SetSortBy sets the SortBy field's value. 62762 func (s *ListModelPackagesInput) SetSortBy(v string) *ListModelPackagesInput { 62763 s.SortBy = &v 62764 return s 62765 } 62766 62767 // SetSortOrder sets the SortOrder field's value. 62768 func (s *ListModelPackagesInput) SetSortOrder(v string) *ListModelPackagesInput { 62769 s.SortOrder = &v 62770 return s 62771 } 62772 62773 type ListModelPackagesOutput struct { 62774 _ struct{} `type:"structure"` 62775 62776 // An array of ModelPackageSummary objects, each of which lists a model package. 62777 // 62778 // ModelPackageSummaryList is a required field 62779 ModelPackageSummaryList []*ModelPackageSummary `type:"list" required:"true"` 62780 62781 // If the response is truncated, Amazon SageMaker returns this token. To retrieve 62782 // the next set of model packages, use it in the subsequent request. 62783 NextToken *string `type:"string"` 62784 } 62785 62786 // String returns the string representation. 62787 // 62788 // API parameter values that are decorated as "sensitive" in the API will not 62789 // be included in the string output. The member name will be present, but the 62790 // value will be replaced with "sensitive". 62791 func (s ListModelPackagesOutput) String() string { 62792 return awsutil.Prettify(s) 62793 } 62794 62795 // GoString returns the string representation. 62796 // 62797 // API parameter values that are decorated as "sensitive" in the API will not 62798 // be included in the string output. The member name will be present, but the 62799 // value will be replaced with "sensitive". 62800 func (s ListModelPackagesOutput) GoString() string { 62801 return s.String() 62802 } 62803 62804 // SetModelPackageSummaryList sets the ModelPackageSummaryList field's value. 62805 func (s *ListModelPackagesOutput) SetModelPackageSummaryList(v []*ModelPackageSummary) *ListModelPackagesOutput { 62806 s.ModelPackageSummaryList = v 62807 return s 62808 } 62809 62810 // SetNextToken sets the NextToken field's value. 62811 func (s *ListModelPackagesOutput) SetNextToken(v string) *ListModelPackagesOutput { 62812 s.NextToken = &v 62813 return s 62814 } 62815 62816 type ListModelQualityJobDefinitionsInput struct { 62817 _ struct{} `type:"structure"` 62818 62819 // A filter that returns only model quality monitoring job definitions created 62820 // after the specified time. 62821 CreationTimeAfter *time.Time `type:"timestamp"` 62822 62823 // A filter that returns only model quality monitoring job definitions created 62824 // before the specified time. 62825 CreationTimeBefore *time.Time `type:"timestamp"` 62826 62827 // A filter that returns only model quality monitoring job definitions that 62828 // are associated with the specified endpoint. 62829 EndpointName *string `type:"string"` 62830 62831 // The maximum number of results to return in a call to ListModelQualityJobDefinitions. 62832 MaxResults *int64 `min:"1" type:"integer"` 62833 62834 // A string in the transform job name. This filter returns only model quality 62835 // monitoring job definitions whose name contains the specified string. 62836 NameContains *string `type:"string"` 62837 62838 // If the result of the previous ListModelQualityJobDefinitions request was 62839 // truncated, the response includes a NextToken. To retrieve the next set of 62840 // model quality monitoring job definitions, use the token in the next request. 62841 NextToken *string `type:"string"` 62842 62843 // The field to sort results by. The default is CreationTime. 62844 SortBy *string `type:"string" enum:"MonitoringJobDefinitionSortKey"` 62845 62846 // The sort order for results. The default is Descending. 62847 SortOrder *string `type:"string" enum:"SortOrder"` 62848 } 62849 62850 // String returns the string representation. 62851 // 62852 // API parameter values that are decorated as "sensitive" in the API will not 62853 // be included in the string output. The member name will be present, but the 62854 // value will be replaced with "sensitive". 62855 func (s ListModelQualityJobDefinitionsInput) String() string { 62856 return awsutil.Prettify(s) 62857 } 62858 62859 // GoString returns the string representation. 62860 // 62861 // API parameter values that are decorated as "sensitive" in the API will not 62862 // be included in the string output. The member name will be present, but the 62863 // value will be replaced with "sensitive". 62864 func (s ListModelQualityJobDefinitionsInput) GoString() string { 62865 return s.String() 62866 } 62867 62868 // Validate inspects the fields of the type to determine if they are valid. 62869 func (s *ListModelQualityJobDefinitionsInput) Validate() error { 62870 invalidParams := request.ErrInvalidParams{Context: "ListModelQualityJobDefinitionsInput"} 62871 if s.MaxResults != nil && *s.MaxResults < 1 { 62872 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 62873 } 62874 62875 if invalidParams.Len() > 0 { 62876 return invalidParams 62877 } 62878 return nil 62879 } 62880 62881 // SetCreationTimeAfter sets the CreationTimeAfter field's value. 62882 func (s *ListModelQualityJobDefinitionsInput) SetCreationTimeAfter(v time.Time) *ListModelQualityJobDefinitionsInput { 62883 s.CreationTimeAfter = &v 62884 return s 62885 } 62886 62887 // SetCreationTimeBefore sets the CreationTimeBefore field's value. 62888 func (s *ListModelQualityJobDefinitionsInput) SetCreationTimeBefore(v time.Time) *ListModelQualityJobDefinitionsInput { 62889 s.CreationTimeBefore = &v 62890 return s 62891 } 62892 62893 // SetEndpointName sets the EndpointName field's value. 62894 func (s *ListModelQualityJobDefinitionsInput) SetEndpointName(v string) *ListModelQualityJobDefinitionsInput { 62895 s.EndpointName = &v 62896 return s 62897 } 62898 62899 // SetMaxResults sets the MaxResults field's value. 62900 func (s *ListModelQualityJobDefinitionsInput) SetMaxResults(v int64) *ListModelQualityJobDefinitionsInput { 62901 s.MaxResults = &v 62902 return s 62903 } 62904 62905 // SetNameContains sets the NameContains field's value. 62906 func (s *ListModelQualityJobDefinitionsInput) SetNameContains(v string) *ListModelQualityJobDefinitionsInput { 62907 s.NameContains = &v 62908 return s 62909 } 62910 62911 // SetNextToken sets the NextToken field's value. 62912 func (s *ListModelQualityJobDefinitionsInput) SetNextToken(v string) *ListModelQualityJobDefinitionsInput { 62913 s.NextToken = &v 62914 return s 62915 } 62916 62917 // SetSortBy sets the SortBy field's value. 62918 func (s *ListModelQualityJobDefinitionsInput) SetSortBy(v string) *ListModelQualityJobDefinitionsInput { 62919 s.SortBy = &v 62920 return s 62921 } 62922 62923 // SetSortOrder sets the SortOrder field's value. 62924 func (s *ListModelQualityJobDefinitionsInput) SetSortOrder(v string) *ListModelQualityJobDefinitionsInput { 62925 s.SortOrder = &v 62926 return s 62927 } 62928 62929 type ListModelQualityJobDefinitionsOutput struct { 62930 _ struct{} `type:"structure"` 62931 62932 // A list of summaries of model quality monitoring job definitions. 62933 // 62934 // JobDefinitionSummaries is a required field 62935 JobDefinitionSummaries []*MonitoringJobDefinitionSummary `type:"list" required:"true"` 62936 62937 // If the response is truncated, Amazon SageMaker returns this token. To retrieve 62938 // the next set of model quality monitoring job definitions, use it in the next 62939 // request. 62940 NextToken *string `type:"string"` 62941 } 62942 62943 // String returns the string representation. 62944 // 62945 // API parameter values that are decorated as "sensitive" in the API will not 62946 // be included in the string output. The member name will be present, but the 62947 // value will be replaced with "sensitive". 62948 func (s ListModelQualityJobDefinitionsOutput) String() string { 62949 return awsutil.Prettify(s) 62950 } 62951 62952 // GoString returns the string representation. 62953 // 62954 // API parameter values that are decorated as "sensitive" in the API will not 62955 // be included in the string output. The member name will be present, but the 62956 // value will be replaced with "sensitive". 62957 func (s ListModelQualityJobDefinitionsOutput) GoString() string { 62958 return s.String() 62959 } 62960 62961 // SetJobDefinitionSummaries sets the JobDefinitionSummaries field's value. 62962 func (s *ListModelQualityJobDefinitionsOutput) SetJobDefinitionSummaries(v []*MonitoringJobDefinitionSummary) *ListModelQualityJobDefinitionsOutput { 62963 s.JobDefinitionSummaries = v 62964 return s 62965 } 62966 62967 // SetNextToken sets the NextToken field's value. 62968 func (s *ListModelQualityJobDefinitionsOutput) SetNextToken(v string) *ListModelQualityJobDefinitionsOutput { 62969 s.NextToken = &v 62970 return s 62971 } 62972 62973 type ListModelsInput struct { 62974 _ struct{} `type:"structure"` 62975 62976 // A filter that returns only models with a creation time greater than or equal 62977 // to the specified time (timestamp). 62978 CreationTimeAfter *time.Time `type:"timestamp"` 62979 62980 // A filter that returns only models created before the specified time (timestamp). 62981 CreationTimeBefore *time.Time `type:"timestamp"` 62982 62983 // The maximum number of models to return in the response. 62984 MaxResults *int64 `min:"1" type:"integer"` 62985 62986 // A string in the model name. This filter returns only models whose name contains 62987 // the specified string. 62988 NameContains *string `type:"string"` 62989 62990 // If the response to a previous ListModels request was truncated, the response 62991 // includes a NextToken. To retrieve the next set of models, use the token in 62992 // the next request. 62993 NextToken *string `type:"string"` 62994 62995 // Sorts the list of results. The default is CreationTime. 62996 SortBy *string `type:"string" enum:"ModelSortKey"` 62997 62998 // The sort order for results. The default is Descending. 62999 SortOrder *string `type:"string" enum:"OrderKey"` 63000 } 63001 63002 // String returns the string representation. 63003 // 63004 // API parameter values that are decorated as "sensitive" in the API will not 63005 // be included in the string output. The member name will be present, but the 63006 // value will be replaced with "sensitive". 63007 func (s ListModelsInput) String() string { 63008 return awsutil.Prettify(s) 63009 } 63010 63011 // GoString returns the string representation. 63012 // 63013 // API parameter values that are decorated as "sensitive" in the API will not 63014 // be included in the string output. The member name will be present, but the 63015 // value will be replaced with "sensitive". 63016 func (s ListModelsInput) GoString() string { 63017 return s.String() 63018 } 63019 63020 // Validate inspects the fields of the type to determine if they are valid. 63021 func (s *ListModelsInput) Validate() error { 63022 invalidParams := request.ErrInvalidParams{Context: "ListModelsInput"} 63023 if s.MaxResults != nil && *s.MaxResults < 1 { 63024 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 63025 } 63026 63027 if invalidParams.Len() > 0 { 63028 return invalidParams 63029 } 63030 return nil 63031 } 63032 63033 // SetCreationTimeAfter sets the CreationTimeAfter field's value. 63034 func (s *ListModelsInput) SetCreationTimeAfter(v time.Time) *ListModelsInput { 63035 s.CreationTimeAfter = &v 63036 return s 63037 } 63038 63039 // SetCreationTimeBefore sets the CreationTimeBefore field's value. 63040 func (s *ListModelsInput) SetCreationTimeBefore(v time.Time) *ListModelsInput { 63041 s.CreationTimeBefore = &v 63042 return s 63043 } 63044 63045 // SetMaxResults sets the MaxResults field's value. 63046 func (s *ListModelsInput) SetMaxResults(v int64) *ListModelsInput { 63047 s.MaxResults = &v 63048 return s 63049 } 63050 63051 // SetNameContains sets the NameContains field's value. 63052 func (s *ListModelsInput) SetNameContains(v string) *ListModelsInput { 63053 s.NameContains = &v 63054 return s 63055 } 63056 63057 // SetNextToken sets the NextToken field's value. 63058 func (s *ListModelsInput) SetNextToken(v string) *ListModelsInput { 63059 s.NextToken = &v 63060 return s 63061 } 63062 63063 // SetSortBy sets the SortBy field's value. 63064 func (s *ListModelsInput) SetSortBy(v string) *ListModelsInput { 63065 s.SortBy = &v 63066 return s 63067 } 63068 63069 // SetSortOrder sets the SortOrder field's value. 63070 func (s *ListModelsInput) SetSortOrder(v string) *ListModelsInput { 63071 s.SortOrder = &v 63072 return s 63073 } 63074 63075 type ListModelsOutput struct { 63076 _ struct{} `type:"structure"` 63077 63078 // An array of ModelSummary objects, each of which lists a model. 63079 // 63080 // Models is a required field 63081 Models []*ModelSummary `type:"list" required:"true"` 63082 63083 // If the response is truncated, Amazon SageMaker returns this token. To retrieve 63084 // the next set of models, use it in the subsequent request. 63085 NextToken *string `type:"string"` 63086 } 63087 63088 // String returns the string representation. 63089 // 63090 // API parameter values that are decorated as "sensitive" in the API will not 63091 // be included in the string output. The member name will be present, but the 63092 // value will be replaced with "sensitive". 63093 func (s ListModelsOutput) String() string { 63094 return awsutil.Prettify(s) 63095 } 63096 63097 // GoString returns the string representation. 63098 // 63099 // API parameter values that are decorated as "sensitive" in the API will not 63100 // be included in the string output. The member name will be present, but the 63101 // value will be replaced with "sensitive". 63102 func (s ListModelsOutput) GoString() string { 63103 return s.String() 63104 } 63105 63106 // SetModels sets the Models field's value. 63107 func (s *ListModelsOutput) SetModels(v []*ModelSummary) *ListModelsOutput { 63108 s.Models = v 63109 return s 63110 } 63111 63112 // SetNextToken sets the NextToken field's value. 63113 func (s *ListModelsOutput) SetNextToken(v string) *ListModelsOutput { 63114 s.NextToken = &v 63115 return s 63116 } 63117 63118 type ListMonitoringExecutionsInput struct { 63119 _ struct{} `type:"structure"` 63120 63121 // A filter that returns only jobs created after a specified time. 63122 CreationTimeAfter *time.Time `type:"timestamp"` 63123 63124 // A filter that returns only jobs created before a specified time. 63125 CreationTimeBefore *time.Time `type:"timestamp"` 63126 63127 // Name of a specific endpoint to fetch jobs for. 63128 EndpointName *string `type:"string"` 63129 63130 // A filter that returns only jobs modified before a specified time. 63131 LastModifiedTimeAfter *time.Time `type:"timestamp"` 63132 63133 // A filter that returns only jobs modified after a specified time. 63134 LastModifiedTimeBefore *time.Time `type:"timestamp"` 63135 63136 // The maximum number of jobs to return in the response. The default value is 63137 // 10. 63138 MaxResults *int64 `min:"1" type:"integer"` 63139 63140 // Gets a list of the monitoring job runs of the specified monitoring job definitions. 63141 MonitoringJobDefinitionName *string `min:"1" type:"string"` 63142 63143 // Name of a specific schedule to fetch jobs for. 63144 MonitoringScheduleName *string `min:"1" type:"string"` 63145 63146 // A filter that returns only the monitoring job runs of the specified monitoring 63147 // type. 63148 MonitoringTypeEquals *string `type:"string" enum:"MonitoringType"` 63149 63150 // The token returned if the response is truncated. To retrieve the next set 63151 // of job executions, use it in the next request. 63152 NextToken *string `type:"string"` 63153 63154 // Filter for jobs scheduled after a specified time. 63155 ScheduledTimeAfter *time.Time `type:"timestamp"` 63156 63157 // Filter for jobs scheduled before a specified time. 63158 ScheduledTimeBefore *time.Time `type:"timestamp"` 63159 63160 // Whether to sort results by Status, CreationTime, ScheduledTime field. The 63161 // default is CreationTime. 63162 SortBy *string `type:"string" enum:"MonitoringExecutionSortKey"` 63163 63164 // Whether to sort the results in Ascending or Descending order. The default 63165 // is Descending. 63166 SortOrder *string `type:"string" enum:"SortOrder"` 63167 63168 // A filter that retrieves only jobs with a specific status. 63169 StatusEquals *string `type:"string" enum:"ExecutionStatus"` 63170 } 63171 63172 // String returns the string representation. 63173 // 63174 // API parameter values that are decorated as "sensitive" in the API will not 63175 // be included in the string output. The member name will be present, but the 63176 // value will be replaced with "sensitive". 63177 func (s ListMonitoringExecutionsInput) String() string { 63178 return awsutil.Prettify(s) 63179 } 63180 63181 // GoString returns the string representation. 63182 // 63183 // API parameter values that are decorated as "sensitive" in the API will not 63184 // be included in the string output. The member name will be present, but the 63185 // value will be replaced with "sensitive". 63186 func (s ListMonitoringExecutionsInput) GoString() string { 63187 return s.String() 63188 } 63189 63190 // Validate inspects the fields of the type to determine if they are valid. 63191 func (s *ListMonitoringExecutionsInput) Validate() error { 63192 invalidParams := request.ErrInvalidParams{Context: "ListMonitoringExecutionsInput"} 63193 if s.MaxResults != nil && *s.MaxResults < 1 { 63194 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 63195 } 63196 if s.MonitoringJobDefinitionName != nil && len(*s.MonitoringJobDefinitionName) < 1 { 63197 invalidParams.Add(request.NewErrParamMinLen("MonitoringJobDefinitionName", 1)) 63198 } 63199 if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 { 63200 invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1)) 63201 } 63202 63203 if invalidParams.Len() > 0 { 63204 return invalidParams 63205 } 63206 return nil 63207 } 63208 63209 // SetCreationTimeAfter sets the CreationTimeAfter field's value. 63210 func (s *ListMonitoringExecutionsInput) SetCreationTimeAfter(v time.Time) *ListMonitoringExecutionsInput { 63211 s.CreationTimeAfter = &v 63212 return s 63213 } 63214 63215 // SetCreationTimeBefore sets the CreationTimeBefore field's value. 63216 func (s *ListMonitoringExecutionsInput) SetCreationTimeBefore(v time.Time) *ListMonitoringExecutionsInput { 63217 s.CreationTimeBefore = &v 63218 return s 63219 } 63220 63221 // SetEndpointName sets the EndpointName field's value. 63222 func (s *ListMonitoringExecutionsInput) SetEndpointName(v string) *ListMonitoringExecutionsInput { 63223 s.EndpointName = &v 63224 return s 63225 } 63226 63227 // SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value. 63228 func (s *ListMonitoringExecutionsInput) SetLastModifiedTimeAfter(v time.Time) *ListMonitoringExecutionsInput { 63229 s.LastModifiedTimeAfter = &v 63230 return s 63231 } 63232 63233 // SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value. 63234 func (s *ListMonitoringExecutionsInput) SetLastModifiedTimeBefore(v time.Time) *ListMonitoringExecutionsInput { 63235 s.LastModifiedTimeBefore = &v 63236 return s 63237 } 63238 63239 // SetMaxResults sets the MaxResults field's value. 63240 func (s *ListMonitoringExecutionsInput) SetMaxResults(v int64) *ListMonitoringExecutionsInput { 63241 s.MaxResults = &v 63242 return s 63243 } 63244 63245 // SetMonitoringJobDefinitionName sets the MonitoringJobDefinitionName field's value. 63246 func (s *ListMonitoringExecutionsInput) SetMonitoringJobDefinitionName(v string) *ListMonitoringExecutionsInput { 63247 s.MonitoringJobDefinitionName = &v 63248 return s 63249 } 63250 63251 // SetMonitoringScheduleName sets the MonitoringScheduleName field's value. 63252 func (s *ListMonitoringExecutionsInput) SetMonitoringScheduleName(v string) *ListMonitoringExecutionsInput { 63253 s.MonitoringScheduleName = &v 63254 return s 63255 } 63256 63257 // SetMonitoringTypeEquals sets the MonitoringTypeEquals field's value. 63258 func (s *ListMonitoringExecutionsInput) SetMonitoringTypeEquals(v string) *ListMonitoringExecutionsInput { 63259 s.MonitoringTypeEquals = &v 63260 return s 63261 } 63262 63263 // SetNextToken sets the NextToken field's value. 63264 func (s *ListMonitoringExecutionsInput) SetNextToken(v string) *ListMonitoringExecutionsInput { 63265 s.NextToken = &v 63266 return s 63267 } 63268 63269 // SetScheduledTimeAfter sets the ScheduledTimeAfter field's value. 63270 func (s *ListMonitoringExecutionsInput) SetScheduledTimeAfter(v time.Time) *ListMonitoringExecutionsInput { 63271 s.ScheduledTimeAfter = &v 63272 return s 63273 } 63274 63275 // SetScheduledTimeBefore sets the ScheduledTimeBefore field's value. 63276 func (s *ListMonitoringExecutionsInput) SetScheduledTimeBefore(v time.Time) *ListMonitoringExecutionsInput { 63277 s.ScheduledTimeBefore = &v 63278 return s 63279 } 63280 63281 // SetSortBy sets the SortBy field's value. 63282 func (s *ListMonitoringExecutionsInput) SetSortBy(v string) *ListMonitoringExecutionsInput { 63283 s.SortBy = &v 63284 return s 63285 } 63286 63287 // SetSortOrder sets the SortOrder field's value. 63288 func (s *ListMonitoringExecutionsInput) SetSortOrder(v string) *ListMonitoringExecutionsInput { 63289 s.SortOrder = &v 63290 return s 63291 } 63292 63293 // SetStatusEquals sets the StatusEquals field's value. 63294 func (s *ListMonitoringExecutionsInput) SetStatusEquals(v string) *ListMonitoringExecutionsInput { 63295 s.StatusEquals = &v 63296 return s 63297 } 63298 63299 type ListMonitoringExecutionsOutput struct { 63300 _ struct{} `type:"structure"` 63301 63302 // A JSON array in which each element is a summary for a monitoring execution. 63303 // 63304 // MonitoringExecutionSummaries is a required field 63305 MonitoringExecutionSummaries []*MonitoringExecutionSummary `type:"list" required:"true"` 63306 63307 // If the response is truncated, Amazon SageMaker returns this token. To retrieve 63308 // the next set of jobs, use it in the subsequent reques 63309 NextToken *string `type:"string"` 63310 } 63311 63312 // String returns the string representation. 63313 // 63314 // API parameter values that are decorated as "sensitive" in the API will not 63315 // be included in the string output. The member name will be present, but the 63316 // value will be replaced with "sensitive". 63317 func (s ListMonitoringExecutionsOutput) String() string { 63318 return awsutil.Prettify(s) 63319 } 63320 63321 // GoString returns the string representation. 63322 // 63323 // API parameter values that are decorated as "sensitive" in the API will not 63324 // be included in the string output. The member name will be present, but the 63325 // value will be replaced with "sensitive". 63326 func (s ListMonitoringExecutionsOutput) GoString() string { 63327 return s.String() 63328 } 63329 63330 // SetMonitoringExecutionSummaries sets the MonitoringExecutionSummaries field's value. 63331 func (s *ListMonitoringExecutionsOutput) SetMonitoringExecutionSummaries(v []*MonitoringExecutionSummary) *ListMonitoringExecutionsOutput { 63332 s.MonitoringExecutionSummaries = v 63333 return s 63334 } 63335 63336 // SetNextToken sets the NextToken field's value. 63337 func (s *ListMonitoringExecutionsOutput) SetNextToken(v string) *ListMonitoringExecutionsOutput { 63338 s.NextToken = &v 63339 return s 63340 } 63341 63342 type ListMonitoringSchedulesInput struct { 63343 _ struct{} `type:"structure"` 63344 63345 // A filter that returns only monitoring schedules created after a specified 63346 // time. 63347 CreationTimeAfter *time.Time `type:"timestamp"` 63348 63349 // A filter that returns only monitoring schedules created before a specified 63350 // time. 63351 CreationTimeBefore *time.Time `type:"timestamp"` 63352 63353 // Name of a specific endpoint to fetch schedules for. 63354 EndpointName *string `type:"string"` 63355 63356 // A filter that returns only monitoring schedules modified after a specified 63357 // time. 63358 LastModifiedTimeAfter *time.Time `type:"timestamp"` 63359 63360 // A filter that returns only monitoring schedules modified before a specified 63361 // time. 63362 LastModifiedTimeBefore *time.Time `type:"timestamp"` 63363 63364 // The maximum number of jobs to return in the response. The default value is 63365 // 10. 63366 MaxResults *int64 `min:"1" type:"integer"` 63367 63368 // Gets a list of the monitoring schedules for the specified monitoring job 63369 // definition. 63370 MonitoringJobDefinitionName *string `min:"1" type:"string"` 63371 63372 // A filter that returns only the monitoring schedules for the specified monitoring 63373 // type. 63374 MonitoringTypeEquals *string `type:"string" enum:"MonitoringType"` 63375 63376 // Filter for monitoring schedules whose name contains a specified string. 63377 NameContains *string `type:"string"` 63378 63379 // The token returned if the response is truncated. To retrieve the next set 63380 // of job executions, use it in the next request. 63381 NextToken *string `type:"string"` 63382 63383 // Whether to sort results by Status, CreationTime, ScheduledTime field. The 63384 // default is CreationTime. 63385 SortBy *string `type:"string" enum:"MonitoringScheduleSortKey"` 63386 63387 // Whether to sort the results in Ascending or Descending order. The default 63388 // is Descending. 63389 SortOrder *string `type:"string" enum:"SortOrder"` 63390 63391 // A filter that returns only monitoring schedules modified before a specified 63392 // time. 63393 StatusEquals *string `type:"string" enum:"ScheduleStatus"` 63394 } 63395 63396 // String returns the string representation. 63397 // 63398 // API parameter values that are decorated as "sensitive" in the API will not 63399 // be included in the string output. The member name will be present, but the 63400 // value will be replaced with "sensitive". 63401 func (s ListMonitoringSchedulesInput) String() string { 63402 return awsutil.Prettify(s) 63403 } 63404 63405 // GoString returns the string representation. 63406 // 63407 // API parameter values that are decorated as "sensitive" in the API will not 63408 // be included in the string output. The member name will be present, but the 63409 // value will be replaced with "sensitive". 63410 func (s ListMonitoringSchedulesInput) GoString() string { 63411 return s.String() 63412 } 63413 63414 // Validate inspects the fields of the type to determine if they are valid. 63415 func (s *ListMonitoringSchedulesInput) Validate() error { 63416 invalidParams := request.ErrInvalidParams{Context: "ListMonitoringSchedulesInput"} 63417 if s.MaxResults != nil && *s.MaxResults < 1 { 63418 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 63419 } 63420 if s.MonitoringJobDefinitionName != nil && len(*s.MonitoringJobDefinitionName) < 1 { 63421 invalidParams.Add(request.NewErrParamMinLen("MonitoringJobDefinitionName", 1)) 63422 } 63423 63424 if invalidParams.Len() > 0 { 63425 return invalidParams 63426 } 63427 return nil 63428 } 63429 63430 // SetCreationTimeAfter sets the CreationTimeAfter field's value. 63431 func (s *ListMonitoringSchedulesInput) SetCreationTimeAfter(v time.Time) *ListMonitoringSchedulesInput { 63432 s.CreationTimeAfter = &v 63433 return s 63434 } 63435 63436 // SetCreationTimeBefore sets the CreationTimeBefore field's value. 63437 func (s *ListMonitoringSchedulesInput) SetCreationTimeBefore(v time.Time) *ListMonitoringSchedulesInput { 63438 s.CreationTimeBefore = &v 63439 return s 63440 } 63441 63442 // SetEndpointName sets the EndpointName field's value. 63443 func (s *ListMonitoringSchedulesInput) SetEndpointName(v string) *ListMonitoringSchedulesInput { 63444 s.EndpointName = &v 63445 return s 63446 } 63447 63448 // SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value. 63449 func (s *ListMonitoringSchedulesInput) SetLastModifiedTimeAfter(v time.Time) *ListMonitoringSchedulesInput { 63450 s.LastModifiedTimeAfter = &v 63451 return s 63452 } 63453 63454 // SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value. 63455 func (s *ListMonitoringSchedulesInput) SetLastModifiedTimeBefore(v time.Time) *ListMonitoringSchedulesInput { 63456 s.LastModifiedTimeBefore = &v 63457 return s 63458 } 63459 63460 // SetMaxResults sets the MaxResults field's value. 63461 func (s *ListMonitoringSchedulesInput) SetMaxResults(v int64) *ListMonitoringSchedulesInput { 63462 s.MaxResults = &v 63463 return s 63464 } 63465 63466 // SetMonitoringJobDefinitionName sets the MonitoringJobDefinitionName field's value. 63467 func (s *ListMonitoringSchedulesInput) SetMonitoringJobDefinitionName(v string) *ListMonitoringSchedulesInput { 63468 s.MonitoringJobDefinitionName = &v 63469 return s 63470 } 63471 63472 // SetMonitoringTypeEquals sets the MonitoringTypeEquals field's value. 63473 func (s *ListMonitoringSchedulesInput) SetMonitoringTypeEquals(v string) *ListMonitoringSchedulesInput { 63474 s.MonitoringTypeEquals = &v 63475 return s 63476 } 63477 63478 // SetNameContains sets the NameContains field's value. 63479 func (s *ListMonitoringSchedulesInput) SetNameContains(v string) *ListMonitoringSchedulesInput { 63480 s.NameContains = &v 63481 return s 63482 } 63483 63484 // SetNextToken sets the NextToken field's value. 63485 func (s *ListMonitoringSchedulesInput) SetNextToken(v string) *ListMonitoringSchedulesInput { 63486 s.NextToken = &v 63487 return s 63488 } 63489 63490 // SetSortBy sets the SortBy field's value. 63491 func (s *ListMonitoringSchedulesInput) SetSortBy(v string) *ListMonitoringSchedulesInput { 63492 s.SortBy = &v 63493 return s 63494 } 63495 63496 // SetSortOrder sets the SortOrder field's value. 63497 func (s *ListMonitoringSchedulesInput) SetSortOrder(v string) *ListMonitoringSchedulesInput { 63498 s.SortOrder = &v 63499 return s 63500 } 63501 63502 // SetStatusEquals sets the StatusEquals field's value. 63503 func (s *ListMonitoringSchedulesInput) SetStatusEquals(v string) *ListMonitoringSchedulesInput { 63504 s.StatusEquals = &v 63505 return s 63506 } 63507 63508 type ListMonitoringSchedulesOutput struct { 63509 _ struct{} `type:"structure"` 63510 63511 // A JSON array in which each element is a summary for a monitoring schedule. 63512 // 63513 // MonitoringScheduleSummaries is a required field 63514 MonitoringScheduleSummaries []*MonitoringScheduleSummary `type:"list" required:"true"` 63515 63516 // If the response is truncated, Amazon SageMaker returns this token. To retrieve 63517 // the next set of jobs, use it in the subsequent request. 63518 NextToken *string `type:"string"` 63519 } 63520 63521 // String returns the string representation. 63522 // 63523 // API parameter values that are decorated as "sensitive" in the API will not 63524 // be included in the string output. The member name will be present, but the 63525 // value will be replaced with "sensitive". 63526 func (s ListMonitoringSchedulesOutput) String() string { 63527 return awsutil.Prettify(s) 63528 } 63529 63530 // GoString returns the string representation. 63531 // 63532 // API parameter values that are decorated as "sensitive" in the API will not 63533 // be included in the string output. The member name will be present, but the 63534 // value will be replaced with "sensitive". 63535 func (s ListMonitoringSchedulesOutput) GoString() string { 63536 return s.String() 63537 } 63538 63539 // SetMonitoringScheduleSummaries sets the MonitoringScheduleSummaries field's value. 63540 func (s *ListMonitoringSchedulesOutput) SetMonitoringScheduleSummaries(v []*MonitoringScheduleSummary) *ListMonitoringSchedulesOutput { 63541 s.MonitoringScheduleSummaries = v 63542 return s 63543 } 63544 63545 // SetNextToken sets the NextToken field's value. 63546 func (s *ListMonitoringSchedulesOutput) SetNextToken(v string) *ListMonitoringSchedulesOutput { 63547 s.NextToken = &v 63548 return s 63549 } 63550 63551 type ListNotebookInstanceLifecycleConfigsInput struct { 63552 _ struct{} `type:"structure"` 63553 63554 // A filter that returns only lifecycle configurations that were created after 63555 // the specified time (timestamp). 63556 CreationTimeAfter *time.Time `type:"timestamp"` 63557 63558 // A filter that returns only lifecycle configurations that were created before 63559 // the specified time (timestamp). 63560 CreationTimeBefore *time.Time `type:"timestamp"` 63561 63562 // A filter that returns only lifecycle configurations that were modified after 63563 // the specified time (timestamp). 63564 LastModifiedTimeAfter *time.Time `type:"timestamp"` 63565 63566 // A filter that returns only lifecycle configurations that were modified before 63567 // the specified time (timestamp). 63568 LastModifiedTimeBefore *time.Time `type:"timestamp"` 63569 63570 // The maximum number of lifecycle configurations to return in the response. 63571 MaxResults *int64 `min:"1" type:"integer"` 63572 63573 // A string in the lifecycle configuration name. This filter returns only lifecycle 63574 // configurations whose name contains the specified string. 63575 NameContains *string `type:"string"` 63576 63577 // If the result of a ListNotebookInstanceLifecycleConfigs request was truncated, 63578 // the response includes a NextToken. To get the next set of lifecycle configurations, 63579 // use the token in the next request. 63580 NextToken *string `type:"string"` 63581 63582 // Sorts the list of results. The default is CreationTime. 63583 SortBy *string `type:"string" enum:"NotebookInstanceLifecycleConfigSortKey"` 63584 63585 // The sort order for results. 63586 SortOrder *string `type:"string" enum:"NotebookInstanceLifecycleConfigSortOrder"` 63587 } 63588 63589 // String returns the string representation. 63590 // 63591 // API parameter values that are decorated as "sensitive" in the API will not 63592 // be included in the string output. The member name will be present, but the 63593 // value will be replaced with "sensitive". 63594 func (s ListNotebookInstanceLifecycleConfigsInput) String() string { 63595 return awsutil.Prettify(s) 63596 } 63597 63598 // GoString returns the string representation. 63599 // 63600 // API parameter values that are decorated as "sensitive" in the API will not 63601 // be included in the string output. The member name will be present, but the 63602 // value will be replaced with "sensitive". 63603 func (s ListNotebookInstanceLifecycleConfigsInput) GoString() string { 63604 return s.String() 63605 } 63606 63607 // Validate inspects the fields of the type to determine if they are valid. 63608 func (s *ListNotebookInstanceLifecycleConfigsInput) Validate() error { 63609 invalidParams := request.ErrInvalidParams{Context: "ListNotebookInstanceLifecycleConfigsInput"} 63610 if s.MaxResults != nil && *s.MaxResults < 1 { 63611 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 63612 } 63613 63614 if invalidParams.Len() > 0 { 63615 return invalidParams 63616 } 63617 return nil 63618 } 63619 63620 // SetCreationTimeAfter sets the CreationTimeAfter field's value. 63621 func (s *ListNotebookInstanceLifecycleConfigsInput) SetCreationTimeAfter(v time.Time) *ListNotebookInstanceLifecycleConfigsInput { 63622 s.CreationTimeAfter = &v 63623 return s 63624 } 63625 63626 // SetCreationTimeBefore sets the CreationTimeBefore field's value. 63627 func (s *ListNotebookInstanceLifecycleConfigsInput) SetCreationTimeBefore(v time.Time) *ListNotebookInstanceLifecycleConfigsInput { 63628 s.CreationTimeBefore = &v 63629 return s 63630 } 63631 63632 // SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value. 63633 func (s *ListNotebookInstanceLifecycleConfigsInput) SetLastModifiedTimeAfter(v time.Time) *ListNotebookInstanceLifecycleConfigsInput { 63634 s.LastModifiedTimeAfter = &v 63635 return s 63636 } 63637 63638 // SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value. 63639 func (s *ListNotebookInstanceLifecycleConfigsInput) SetLastModifiedTimeBefore(v time.Time) *ListNotebookInstanceLifecycleConfigsInput { 63640 s.LastModifiedTimeBefore = &v 63641 return s 63642 } 63643 63644 // SetMaxResults sets the MaxResults field's value. 63645 func (s *ListNotebookInstanceLifecycleConfigsInput) SetMaxResults(v int64) *ListNotebookInstanceLifecycleConfigsInput { 63646 s.MaxResults = &v 63647 return s 63648 } 63649 63650 // SetNameContains sets the NameContains field's value. 63651 func (s *ListNotebookInstanceLifecycleConfigsInput) SetNameContains(v string) *ListNotebookInstanceLifecycleConfigsInput { 63652 s.NameContains = &v 63653 return s 63654 } 63655 63656 // SetNextToken sets the NextToken field's value. 63657 func (s *ListNotebookInstanceLifecycleConfigsInput) SetNextToken(v string) *ListNotebookInstanceLifecycleConfigsInput { 63658 s.NextToken = &v 63659 return s 63660 } 63661 63662 // SetSortBy sets the SortBy field's value. 63663 func (s *ListNotebookInstanceLifecycleConfigsInput) SetSortBy(v string) *ListNotebookInstanceLifecycleConfigsInput { 63664 s.SortBy = &v 63665 return s 63666 } 63667 63668 // SetSortOrder sets the SortOrder field's value. 63669 func (s *ListNotebookInstanceLifecycleConfigsInput) SetSortOrder(v string) *ListNotebookInstanceLifecycleConfigsInput { 63670 s.SortOrder = &v 63671 return s 63672 } 63673 63674 type ListNotebookInstanceLifecycleConfigsOutput struct { 63675 _ struct{} `type:"structure"` 63676 63677 // If the response is truncated, Amazon SageMaker returns this token. To get 63678 // the next set of lifecycle configurations, use it in the next request. 63679 NextToken *string `type:"string"` 63680 63681 // An array of NotebookInstanceLifecycleConfiguration objects, each listing 63682 // a lifecycle configuration. 63683 NotebookInstanceLifecycleConfigs []*NotebookInstanceLifecycleConfigSummary `type:"list"` 63684 } 63685 63686 // String returns the string representation. 63687 // 63688 // API parameter values that are decorated as "sensitive" in the API will not 63689 // be included in the string output. The member name will be present, but the 63690 // value will be replaced with "sensitive". 63691 func (s ListNotebookInstanceLifecycleConfigsOutput) String() string { 63692 return awsutil.Prettify(s) 63693 } 63694 63695 // GoString returns the string representation. 63696 // 63697 // API parameter values that are decorated as "sensitive" in the API will not 63698 // be included in the string output. The member name will be present, but the 63699 // value will be replaced with "sensitive". 63700 func (s ListNotebookInstanceLifecycleConfigsOutput) GoString() string { 63701 return s.String() 63702 } 63703 63704 // SetNextToken sets the NextToken field's value. 63705 func (s *ListNotebookInstanceLifecycleConfigsOutput) SetNextToken(v string) *ListNotebookInstanceLifecycleConfigsOutput { 63706 s.NextToken = &v 63707 return s 63708 } 63709 63710 // SetNotebookInstanceLifecycleConfigs sets the NotebookInstanceLifecycleConfigs field's value. 63711 func (s *ListNotebookInstanceLifecycleConfigsOutput) SetNotebookInstanceLifecycleConfigs(v []*NotebookInstanceLifecycleConfigSummary) *ListNotebookInstanceLifecycleConfigsOutput { 63712 s.NotebookInstanceLifecycleConfigs = v 63713 return s 63714 } 63715 63716 type ListNotebookInstancesInput struct { 63717 _ struct{} `type:"structure"` 63718 63719 // A filter that returns only notebook instances with associated with the specified 63720 // git repository. 63721 AdditionalCodeRepositoryEquals *string `min:"1" type:"string"` 63722 63723 // A filter that returns only notebook instances that were created after the 63724 // specified time (timestamp). 63725 CreationTimeAfter *time.Time `type:"timestamp"` 63726 63727 // A filter that returns only notebook instances that were created before the 63728 // specified time (timestamp). 63729 CreationTimeBefore *time.Time `type:"timestamp"` 63730 63731 // A string in the name or URL of a Git repository associated with this notebook 63732 // instance. This filter returns only notebook instances associated with a git 63733 // repository with a name that contains the specified string. 63734 DefaultCodeRepositoryContains *string `type:"string"` 63735 63736 // A filter that returns only notebook instances that were modified after the 63737 // specified time (timestamp). 63738 LastModifiedTimeAfter *time.Time `type:"timestamp"` 63739 63740 // A filter that returns only notebook instances that were modified before the 63741 // specified time (timestamp). 63742 LastModifiedTimeBefore *time.Time `type:"timestamp"` 63743 63744 // The maximum number of notebook instances to return. 63745 MaxResults *int64 `min:"1" type:"integer"` 63746 63747 // A string in the notebook instances' name. This filter returns only notebook 63748 // instances whose name contains the specified string. 63749 NameContains *string `type:"string"` 63750 63751 // If the previous call to the ListNotebookInstances is truncated, the response 63752 // includes a NextToken. You can use this token in your subsequent ListNotebookInstances 63753 // request to fetch the next set of notebook instances. 63754 // 63755 // You might specify a filter or a sort order in your request. When response 63756 // is truncated, you must use the same values for the filer and sort order in 63757 // the next request. 63758 NextToken *string `type:"string"` 63759 63760 // A string in the name of a notebook instances lifecycle configuration associated 63761 // with this notebook instance. This filter returns only notebook instances 63762 // associated with a lifecycle configuration with a name that contains the specified 63763 // string. 63764 NotebookInstanceLifecycleConfigNameContains *string `type:"string"` 63765 63766 // The field to sort results by. The default is Name. 63767 SortBy *string `type:"string" enum:"NotebookInstanceSortKey"` 63768 63769 // The sort order for results. 63770 SortOrder *string `type:"string" enum:"NotebookInstanceSortOrder"` 63771 63772 // A filter that returns only notebook instances with the specified status. 63773 StatusEquals *string `type:"string" enum:"NotebookInstanceStatus"` 63774 } 63775 63776 // String returns the string representation. 63777 // 63778 // API parameter values that are decorated as "sensitive" in the API will not 63779 // be included in the string output. The member name will be present, but the 63780 // value will be replaced with "sensitive". 63781 func (s ListNotebookInstancesInput) String() string { 63782 return awsutil.Prettify(s) 63783 } 63784 63785 // GoString returns the string representation. 63786 // 63787 // API parameter values that are decorated as "sensitive" in the API will not 63788 // be included in the string output. The member name will be present, but the 63789 // value will be replaced with "sensitive". 63790 func (s ListNotebookInstancesInput) GoString() string { 63791 return s.String() 63792 } 63793 63794 // Validate inspects the fields of the type to determine if they are valid. 63795 func (s *ListNotebookInstancesInput) Validate() error { 63796 invalidParams := request.ErrInvalidParams{Context: "ListNotebookInstancesInput"} 63797 if s.AdditionalCodeRepositoryEquals != nil && len(*s.AdditionalCodeRepositoryEquals) < 1 { 63798 invalidParams.Add(request.NewErrParamMinLen("AdditionalCodeRepositoryEquals", 1)) 63799 } 63800 if s.MaxResults != nil && *s.MaxResults < 1 { 63801 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 63802 } 63803 63804 if invalidParams.Len() > 0 { 63805 return invalidParams 63806 } 63807 return nil 63808 } 63809 63810 // SetAdditionalCodeRepositoryEquals sets the AdditionalCodeRepositoryEquals field's value. 63811 func (s *ListNotebookInstancesInput) SetAdditionalCodeRepositoryEquals(v string) *ListNotebookInstancesInput { 63812 s.AdditionalCodeRepositoryEquals = &v 63813 return s 63814 } 63815 63816 // SetCreationTimeAfter sets the CreationTimeAfter field's value. 63817 func (s *ListNotebookInstancesInput) SetCreationTimeAfter(v time.Time) *ListNotebookInstancesInput { 63818 s.CreationTimeAfter = &v 63819 return s 63820 } 63821 63822 // SetCreationTimeBefore sets the CreationTimeBefore field's value. 63823 func (s *ListNotebookInstancesInput) SetCreationTimeBefore(v time.Time) *ListNotebookInstancesInput { 63824 s.CreationTimeBefore = &v 63825 return s 63826 } 63827 63828 // SetDefaultCodeRepositoryContains sets the DefaultCodeRepositoryContains field's value. 63829 func (s *ListNotebookInstancesInput) SetDefaultCodeRepositoryContains(v string) *ListNotebookInstancesInput { 63830 s.DefaultCodeRepositoryContains = &v 63831 return s 63832 } 63833 63834 // SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value. 63835 func (s *ListNotebookInstancesInput) SetLastModifiedTimeAfter(v time.Time) *ListNotebookInstancesInput { 63836 s.LastModifiedTimeAfter = &v 63837 return s 63838 } 63839 63840 // SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value. 63841 func (s *ListNotebookInstancesInput) SetLastModifiedTimeBefore(v time.Time) *ListNotebookInstancesInput { 63842 s.LastModifiedTimeBefore = &v 63843 return s 63844 } 63845 63846 // SetMaxResults sets the MaxResults field's value. 63847 func (s *ListNotebookInstancesInput) SetMaxResults(v int64) *ListNotebookInstancesInput { 63848 s.MaxResults = &v 63849 return s 63850 } 63851 63852 // SetNameContains sets the NameContains field's value. 63853 func (s *ListNotebookInstancesInput) SetNameContains(v string) *ListNotebookInstancesInput { 63854 s.NameContains = &v 63855 return s 63856 } 63857 63858 // SetNextToken sets the NextToken field's value. 63859 func (s *ListNotebookInstancesInput) SetNextToken(v string) *ListNotebookInstancesInput { 63860 s.NextToken = &v 63861 return s 63862 } 63863 63864 // SetNotebookInstanceLifecycleConfigNameContains sets the NotebookInstanceLifecycleConfigNameContains field's value. 63865 func (s *ListNotebookInstancesInput) SetNotebookInstanceLifecycleConfigNameContains(v string) *ListNotebookInstancesInput { 63866 s.NotebookInstanceLifecycleConfigNameContains = &v 63867 return s 63868 } 63869 63870 // SetSortBy sets the SortBy field's value. 63871 func (s *ListNotebookInstancesInput) SetSortBy(v string) *ListNotebookInstancesInput { 63872 s.SortBy = &v 63873 return s 63874 } 63875 63876 // SetSortOrder sets the SortOrder field's value. 63877 func (s *ListNotebookInstancesInput) SetSortOrder(v string) *ListNotebookInstancesInput { 63878 s.SortOrder = &v 63879 return s 63880 } 63881 63882 // SetStatusEquals sets the StatusEquals field's value. 63883 func (s *ListNotebookInstancesInput) SetStatusEquals(v string) *ListNotebookInstancesInput { 63884 s.StatusEquals = &v 63885 return s 63886 } 63887 63888 type ListNotebookInstancesOutput struct { 63889 _ struct{} `type:"structure"` 63890 63891 // If the response to the previous ListNotebookInstances request was truncated, 63892 // Amazon SageMaker returns this token. To retrieve the next set of notebook 63893 // instances, use the token in the next request. 63894 NextToken *string `type:"string"` 63895 63896 // An array of NotebookInstanceSummary objects, one for each notebook instance. 63897 NotebookInstances []*NotebookInstanceSummary `type:"list"` 63898 } 63899 63900 // String returns the string representation. 63901 // 63902 // API parameter values that are decorated as "sensitive" in the API will not 63903 // be included in the string output. The member name will be present, but the 63904 // value will be replaced with "sensitive". 63905 func (s ListNotebookInstancesOutput) String() string { 63906 return awsutil.Prettify(s) 63907 } 63908 63909 // GoString returns the string representation. 63910 // 63911 // API parameter values that are decorated as "sensitive" in the API will not 63912 // be included in the string output. The member name will be present, but the 63913 // value will be replaced with "sensitive". 63914 func (s ListNotebookInstancesOutput) GoString() string { 63915 return s.String() 63916 } 63917 63918 // SetNextToken sets the NextToken field's value. 63919 func (s *ListNotebookInstancesOutput) SetNextToken(v string) *ListNotebookInstancesOutput { 63920 s.NextToken = &v 63921 return s 63922 } 63923 63924 // SetNotebookInstances sets the NotebookInstances field's value. 63925 func (s *ListNotebookInstancesOutput) SetNotebookInstances(v []*NotebookInstanceSummary) *ListNotebookInstancesOutput { 63926 s.NotebookInstances = v 63927 return s 63928 } 63929 63930 type ListPipelineExecutionStepsInput struct { 63931 _ struct{} `type:"structure"` 63932 63933 // The maximum number of pipeline execution steps to return in the response. 63934 MaxResults *int64 `min:"1" type:"integer"` 63935 63936 // If the result of the previous ListPipelineExecutionSteps request was truncated, 63937 // the response includes a NextToken. To retrieve the next set of pipeline execution 63938 // steps, use the token in the next request. 63939 NextToken *string `type:"string"` 63940 63941 // The Amazon Resource Name (ARN) of the pipeline execution. 63942 PipelineExecutionArn *string `type:"string"` 63943 63944 // The field by which to sort results. The default is CreatedTime. 63945 SortOrder *string `type:"string" enum:"SortOrder"` 63946 } 63947 63948 // String returns the string representation. 63949 // 63950 // API parameter values that are decorated as "sensitive" in the API will not 63951 // be included in the string output. The member name will be present, but the 63952 // value will be replaced with "sensitive". 63953 func (s ListPipelineExecutionStepsInput) String() string { 63954 return awsutil.Prettify(s) 63955 } 63956 63957 // GoString returns the string representation. 63958 // 63959 // API parameter values that are decorated as "sensitive" in the API will not 63960 // be included in the string output. The member name will be present, but the 63961 // value will be replaced with "sensitive". 63962 func (s ListPipelineExecutionStepsInput) GoString() string { 63963 return s.String() 63964 } 63965 63966 // Validate inspects the fields of the type to determine if they are valid. 63967 func (s *ListPipelineExecutionStepsInput) Validate() error { 63968 invalidParams := request.ErrInvalidParams{Context: "ListPipelineExecutionStepsInput"} 63969 if s.MaxResults != nil && *s.MaxResults < 1 { 63970 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 63971 } 63972 63973 if invalidParams.Len() > 0 { 63974 return invalidParams 63975 } 63976 return nil 63977 } 63978 63979 // SetMaxResults sets the MaxResults field's value. 63980 func (s *ListPipelineExecutionStepsInput) SetMaxResults(v int64) *ListPipelineExecutionStepsInput { 63981 s.MaxResults = &v 63982 return s 63983 } 63984 63985 // SetNextToken sets the NextToken field's value. 63986 func (s *ListPipelineExecutionStepsInput) SetNextToken(v string) *ListPipelineExecutionStepsInput { 63987 s.NextToken = &v 63988 return s 63989 } 63990 63991 // SetPipelineExecutionArn sets the PipelineExecutionArn field's value. 63992 func (s *ListPipelineExecutionStepsInput) SetPipelineExecutionArn(v string) *ListPipelineExecutionStepsInput { 63993 s.PipelineExecutionArn = &v 63994 return s 63995 } 63996 63997 // SetSortOrder sets the SortOrder field's value. 63998 func (s *ListPipelineExecutionStepsInput) SetSortOrder(v string) *ListPipelineExecutionStepsInput { 63999 s.SortOrder = &v 64000 return s 64001 } 64002 64003 type ListPipelineExecutionStepsOutput struct { 64004 _ struct{} `type:"structure"` 64005 64006 // If the result of the previous ListPipelineExecutionSteps request was truncated, 64007 // the response includes a NextToken. To retrieve the next set of pipeline execution 64008 // steps, use the token in the next request. 64009 NextToken *string `type:"string"` 64010 64011 // A list of PipeLineExecutionStep objects. Each PipeLineExecutionStep consists 64012 // of StepName, StartTime, EndTime, StepStatus, and Metadata. Metadata is an 64013 // object with properties for each job that contains relevant information about 64014 // the job created by the step. 64015 PipelineExecutionSteps []*PipelineExecutionStep `type:"list"` 64016 } 64017 64018 // String returns the string representation. 64019 // 64020 // API parameter values that are decorated as "sensitive" in the API will not 64021 // be included in the string output. The member name will be present, but the 64022 // value will be replaced with "sensitive". 64023 func (s ListPipelineExecutionStepsOutput) String() string { 64024 return awsutil.Prettify(s) 64025 } 64026 64027 // GoString returns the string representation. 64028 // 64029 // API parameter values that are decorated as "sensitive" in the API will not 64030 // be included in the string output. The member name will be present, but the 64031 // value will be replaced with "sensitive". 64032 func (s ListPipelineExecutionStepsOutput) GoString() string { 64033 return s.String() 64034 } 64035 64036 // SetNextToken sets the NextToken field's value. 64037 func (s *ListPipelineExecutionStepsOutput) SetNextToken(v string) *ListPipelineExecutionStepsOutput { 64038 s.NextToken = &v 64039 return s 64040 } 64041 64042 // SetPipelineExecutionSteps sets the PipelineExecutionSteps field's value. 64043 func (s *ListPipelineExecutionStepsOutput) SetPipelineExecutionSteps(v []*PipelineExecutionStep) *ListPipelineExecutionStepsOutput { 64044 s.PipelineExecutionSteps = v 64045 return s 64046 } 64047 64048 type ListPipelineExecutionsInput struct { 64049 _ struct{} `type:"structure"` 64050 64051 // A filter that returns the pipeline executions that were created after a specified 64052 // time. 64053 CreatedAfter *time.Time `type:"timestamp"` 64054 64055 // A filter that returns the pipeline executions that were created before a 64056 // specified time. 64057 CreatedBefore *time.Time `type:"timestamp"` 64058 64059 // The maximum number of pipeline executions to return in the response. 64060 MaxResults *int64 `min:"1" type:"integer"` 64061 64062 // If the result of the previous ListPipelineExecutions request was truncated, 64063 // the response includes a NextToken. To retrieve the next set of pipeline executions, 64064 // use the token in the next request. 64065 NextToken *string `type:"string"` 64066 64067 // The name of the pipeline. 64068 // 64069 // PipelineName is a required field 64070 PipelineName *string `min:"1" type:"string" required:"true"` 64071 64072 // The field by which to sort results. The default is CreatedTime. 64073 SortBy *string `type:"string" enum:"SortPipelineExecutionsBy"` 64074 64075 // The sort order for results. 64076 SortOrder *string `type:"string" enum:"SortOrder"` 64077 } 64078 64079 // String returns the string representation. 64080 // 64081 // API parameter values that are decorated as "sensitive" in the API will not 64082 // be included in the string output. The member name will be present, but the 64083 // value will be replaced with "sensitive". 64084 func (s ListPipelineExecutionsInput) String() string { 64085 return awsutil.Prettify(s) 64086 } 64087 64088 // GoString returns the string representation. 64089 // 64090 // API parameter values that are decorated as "sensitive" in the API will not 64091 // be included in the string output. The member name will be present, but the 64092 // value will be replaced with "sensitive". 64093 func (s ListPipelineExecutionsInput) GoString() string { 64094 return s.String() 64095 } 64096 64097 // Validate inspects the fields of the type to determine if they are valid. 64098 func (s *ListPipelineExecutionsInput) Validate() error { 64099 invalidParams := request.ErrInvalidParams{Context: "ListPipelineExecutionsInput"} 64100 if s.MaxResults != nil && *s.MaxResults < 1 { 64101 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 64102 } 64103 if s.PipelineName == nil { 64104 invalidParams.Add(request.NewErrParamRequired("PipelineName")) 64105 } 64106 if s.PipelineName != nil && len(*s.PipelineName) < 1 { 64107 invalidParams.Add(request.NewErrParamMinLen("PipelineName", 1)) 64108 } 64109 64110 if invalidParams.Len() > 0 { 64111 return invalidParams 64112 } 64113 return nil 64114 } 64115 64116 // SetCreatedAfter sets the CreatedAfter field's value. 64117 func (s *ListPipelineExecutionsInput) SetCreatedAfter(v time.Time) *ListPipelineExecutionsInput { 64118 s.CreatedAfter = &v 64119 return s 64120 } 64121 64122 // SetCreatedBefore sets the CreatedBefore field's value. 64123 func (s *ListPipelineExecutionsInput) SetCreatedBefore(v time.Time) *ListPipelineExecutionsInput { 64124 s.CreatedBefore = &v 64125 return s 64126 } 64127 64128 // SetMaxResults sets the MaxResults field's value. 64129 func (s *ListPipelineExecutionsInput) SetMaxResults(v int64) *ListPipelineExecutionsInput { 64130 s.MaxResults = &v 64131 return s 64132 } 64133 64134 // SetNextToken sets the NextToken field's value. 64135 func (s *ListPipelineExecutionsInput) SetNextToken(v string) *ListPipelineExecutionsInput { 64136 s.NextToken = &v 64137 return s 64138 } 64139 64140 // SetPipelineName sets the PipelineName field's value. 64141 func (s *ListPipelineExecutionsInput) SetPipelineName(v string) *ListPipelineExecutionsInput { 64142 s.PipelineName = &v 64143 return s 64144 } 64145 64146 // SetSortBy sets the SortBy field's value. 64147 func (s *ListPipelineExecutionsInput) SetSortBy(v string) *ListPipelineExecutionsInput { 64148 s.SortBy = &v 64149 return s 64150 } 64151 64152 // SetSortOrder sets the SortOrder field's value. 64153 func (s *ListPipelineExecutionsInput) SetSortOrder(v string) *ListPipelineExecutionsInput { 64154 s.SortOrder = &v 64155 return s 64156 } 64157 64158 type ListPipelineExecutionsOutput struct { 64159 _ struct{} `type:"structure"` 64160 64161 // If the result of the previous ListPipelineExecutions request was truncated, 64162 // the response includes a NextToken. To retrieve the next set of pipeline executions, 64163 // use the token in the next request. 64164 NextToken *string `type:"string"` 64165 64166 // Contains a sorted list of pipeline execution summary objects matching the 64167 // specified filters. Each run summary includes the Amazon Resource Name (ARN) 64168 // of the pipeline execution, the run date, and the status. This list can be 64169 // empty. 64170 PipelineExecutionSummaries []*PipelineExecutionSummary `type:"list"` 64171 } 64172 64173 // String returns the string representation. 64174 // 64175 // API parameter values that are decorated as "sensitive" in the API will not 64176 // be included in the string output. The member name will be present, but the 64177 // value will be replaced with "sensitive". 64178 func (s ListPipelineExecutionsOutput) String() string { 64179 return awsutil.Prettify(s) 64180 } 64181 64182 // GoString returns the string representation. 64183 // 64184 // API parameter values that are decorated as "sensitive" in the API will not 64185 // be included in the string output. The member name will be present, but the 64186 // value will be replaced with "sensitive". 64187 func (s ListPipelineExecutionsOutput) GoString() string { 64188 return s.String() 64189 } 64190 64191 // SetNextToken sets the NextToken field's value. 64192 func (s *ListPipelineExecutionsOutput) SetNextToken(v string) *ListPipelineExecutionsOutput { 64193 s.NextToken = &v 64194 return s 64195 } 64196 64197 // SetPipelineExecutionSummaries sets the PipelineExecutionSummaries field's value. 64198 func (s *ListPipelineExecutionsOutput) SetPipelineExecutionSummaries(v []*PipelineExecutionSummary) *ListPipelineExecutionsOutput { 64199 s.PipelineExecutionSummaries = v 64200 return s 64201 } 64202 64203 type ListPipelineParametersForExecutionInput struct { 64204 _ struct{} `type:"structure"` 64205 64206 // The maximum number of parameters to return in the response. 64207 MaxResults *int64 `min:"1" type:"integer"` 64208 64209 // If the result of the previous ListPipelineParametersForExecution request 64210 // was truncated, the response includes a NextToken. To retrieve the next set 64211 // of parameters, use the token in the next request. 64212 NextToken *string `type:"string"` 64213 64214 // The Amazon Resource Name (ARN) of the pipeline execution. 64215 // 64216 // PipelineExecutionArn is a required field 64217 PipelineExecutionArn *string `type:"string" required:"true"` 64218 } 64219 64220 // String returns the string representation. 64221 // 64222 // API parameter values that are decorated as "sensitive" in the API will not 64223 // be included in the string output. The member name will be present, but the 64224 // value will be replaced with "sensitive". 64225 func (s ListPipelineParametersForExecutionInput) String() string { 64226 return awsutil.Prettify(s) 64227 } 64228 64229 // GoString returns the string representation. 64230 // 64231 // API parameter values that are decorated as "sensitive" in the API will not 64232 // be included in the string output. The member name will be present, but the 64233 // value will be replaced with "sensitive". 64234 func (s ListPipelineParametersForExecutionInput) GoString() string { 64235 return s.String() 64236 } 64237 64238 // Validate inspects the fields of the type to determine if they are valid. 64239 func (s *ListPipelineParametersForExecutionInput) Validate() error { 64240 invalidParams := request.ErrInvalidParams{Context: "ListPipelineParametersForExecutionInput"} 64241 if s.MaxResults != nil && *s.MaxResults < 1 { 64242 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 64243 } 64244 if s.PipelineExecutionArn == nil { 64245 invalidParams.Add(request.NewErrParamRequired("PipelineExecutionArn")) 64246 } 64247 64248 if invalidParams.Len() > 0 { 64249 return invalidParams 64250 } 64251 return nil 64252 } 64253 64254 // SetMaxResults sets the MaxResults field's value. 64255 func (s *ListPipelineParametersForExecutionInput) SetMaxResults(v int64) *ListPipelineParametersForExecutionInput { 64256 s.MaxResults = &v 64257 return s 64258 } 64259 64260 // SetNextToken sets the NextToken field's value. 64261 func (s *ListPipelineParametersForExecutionInput) SetNextToken(v string) *ListPipelineParametersForExecutionInput { 64262 s.NextToken = &v 64263 return s 64264 } 64265 64266 // SetPipelineExecutionArn sets the PipelineExecutionArn field's value. 64267 func (s *ListPipelineParametersForExecutionInput) SetPipelineExecutionArn(v string) *ListPipelineParametersForExecutionInput { 64268 s.PipelineExecutionArn = &v 64269 return s 64270 } 64271 64272 type ListPipelineParametersForExecutionOutput struct { 64273 _ struct{} `type:"structure"` 64274 64275 // If the result of the previous ListPipelineParametersForExecution request 64276 // was truncated, the response includes a NextToken. To retrieve the next set 64277 // of parameters, use the token in the next request. 64278 NextToken *string `type:"string"` 64279 64280 // Contains a list of pipeline parameters. This list can be empty. 64281 PipelineParameters []*Parameter `type:"list"` 64282 } 64283 64284 // String returns the string representation. 64285 // 64286 // API parameter values that are decorated as "sensitive" in the API will not 64287 // be included in the string output. The member name will be present, but the 64288 // value will be replaced with "sensitive". 64289 func (s ListPipelineParametersForExecutionOutput) String() string { 64290 return awsutil.Prettify(s) 64291 } 64292 64293 // GoString returns the string representation. 64294 // 64295 // API parameter values that are decorated as "sensitive" in the API will not 64296 // be included in the string output. The member name will be present, but the 64297 // value will be replaced with "sensitive". 64298 func (s ListPipelineParametersForExecutionOutput) GoString() string { 64299 return s.String() 64300 } 64301 64302 // SetNextToken sets the NextToken field's value. 64303 func (s *ListPipelineParametersForExecutionOutput) SetNextToken(v string) *ListPipelineParametersForExecutionOutput { 64304 s.NextToken = &v 64305 return s 64306 } 64307 64308 // SetPipelineParameters sets the PipelineParameters field's value. 64309 func (s *ListPipelineParametersForExecutionOutput) SetPipelineParameters(v []*Parameter) *ListPipelineParametersForExecutionOutput { 64310 s.PipelineParameters = v 64311 return s 64312 } 64313 64314 type ListPipelinesInput struct { 64315 _ struct{} `type:"structure"` 64316 64317 // A filter that returns the pipelines that were created after a specified time. 64318 CreatedAfter *time.Time `type:"timestamp"` 64319 64320 // A filter that returns the pipelines that were created before a specified 64321 // time. 64322 CreatedBefore *time.Time `type:"timestamp"` 64323 64324 // The maximum number of pipelines to return in the response. 64325 MaxResults *int64 `min:"1" type:"integer"` 64326 64327 // If the result of the previous ListPipelines request was truncated, the response 64328 // includes a NextToken. To retrieve the next set of pipelines, use the token 64329 // in the next request. 64330 NextToken *string `type:"string"` 64331 64332 // The prefix of the pipeline name. 64333 PipelineNamePrefix *string `min:"1" type:"string"` 64334 64335 // The field by which to sort results. The default is CreatedTime. 64336 SortBy *string `type:"string" enum:"SortPipelinesBy"` 64337 64338 // The sort order for results. 64339 SortOrder *string `type:"string" enum:"SortOrder"` 64340 } 64341 64342 // String returns the string representation. 64343 // 64344 // API parameter values that are decorated as "sensitive" in the API will not 64345 // be included in the string output. The member name will be present, but the 64346 // value will be replaced with "sensitive". 64347 func (s ListPipelinesInput) String() string { 64348 return awsutil.Prettify(s) 64349 } 64350 64351 // GoString returns the string representation. 64352 // 64353 // API parameter values that are decorated as "sensitive" in the API will not 64354 // be included in the string output. The member name will be present, but the 64355 // value will be replaced with "sensitive". 64356 func (s ListPipelinesInput) GoString() string { 64357 return s.String() 64358 } 64359 64360 // Validate inspects the fields of the type to determine if they are valid. 64361 func (s *ListPipelinesInput) Validate() error { 64362 invalidParams := request.ErrInvalidParams{Context: "ListPipelinesInput"} 64363 if s.MaxResults != nil && *s.MaxResults < 1 { 64364 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 64365 } 64366 if s.PipelineNamePrefix != nil && len(*s.PipelineNamePrefix) < 1 { 64367 invalidParams.Add(request.NewErrParamMinLen("PipelineNamePrefix", 1)) 64368 } 64369 64370 if invalidParams.Len() > 0 { 64371 return invalidParams 64372 } 64373 return nil 64374 } 64375 64376 // SetCreatedAfter sets the CreatedAfter field's value. 64377 func (s *ListPipelinesInput) SetCreatedAfter(v time.Time) *ListPipelinesInput { 64378 s.CreatedAfter = &v 64379 return s 64380 } 64381 64382 // SetCreatedBefore sets the CreatedBefore field's value. 64383 func (s *ListPipelinesInput) SetCreatedBefore(v time.Time) *ListPipelinesInput { 64384 s.CreatedBefore = &v 64385 return s 64386 } 64387 64388 // SetMaxResults sets the MaxResults field's value. 64389 func (s *ListPipelinesInput) SetMaxResults(v int64) *ListPipelinesInput { 64390 s.MaxResults = &v 64391 return s 64392 } 64393 64394 // SetNextToken sets the NextToken field's value. 64395 func (s *ListPipelinesInput) SetNextToken(v string) *ListPipelinesInput { 64396 s.NextToken = &v 64397 return s 64398 } 64399 64400 // SetPipelineNamePrefix sets the PipelineNamePrefix field's value. 64401 func (s *ListPipelinesInput) SetPipelineNamePrefix(v string) *ListPipelinesInput { 64402 s.PipelineNamePrefix = &v 64403 return s 64404 } 64405 64406 // SetSortBy sets the SortBy field's value. 64407 func (s *ListPipelinesInput) SetSortBy(v string) *ListPipelinesInput { 64408 s.SortBy = &v 64409 return s 64410 } 64411 64412 // SetSortOrder sets the SortOrder field's value. 64413 func (s *ListPipelinesInput) SetSortOrder(v string) *ListPipelinesInput { 64414 s.SortOrder = &v 64415 return s 64416 } 64417 64418 type ListPipelinesOutput struct { 64419 _ struct{} `type:"structure"` 64420 64421 // If the result of the previous ListPipelines request was truncated, the response 64422 // includes a NextToken. To retrieve the next set of pipelines, use the token 64423 // in the next request. 64424 NextToken *string `type:"string"` 64425 64426 // Contains a sorted list of PipelineSummary objects matching the specified 64427 // filters. Each PipelineSummary consists of PipelineArn, PipelineName, ExperimentName, 64428 // PipelineDescription, CreationTime, LastModifiedTime, LastRunTime, and RoleArn. 64429 // This list can be empty. 64430 PipelineSummaries []*PipelineSummary `type:"list"` 64431 } 64432 64433 // String returns the string representation. 64434 // 64435 // API parameter values that are decorated as "sensitive" in the API will not 64436 // be included in the string output. The member name will be present, but the 64437 // value will be replaced with "sensitive". 64438 func (s ListPipelinesOutput) String() string { 64439 return awsutil.Prettify(s) 64440 } 64441 64442 // GoString returns the string representation. 64443 // 64444 // API parameter values that are decorated as "sensitive" in the API will not 64445 // be included in the string output. The member name will be present, but the 64446 // value will be replaced with "sensitive". 64447 func (s ListPipelinesOutput) GoString() string { 64448 return s.String() 64449 } 64450 64451 // SetNextToken sets the NextToken field's value. 64452 func (s *ListPipelinesOutput) SetNextToken(v string) *ListPipelinesOutput { 64453 s.NextToken = &v 64454 return s 64455 } 64456 64457 // SetPipelineSummaries sets the PipelineSummaries field's value. 64458 func (s *ListPipelinesOutput) SetPipelineSummaries(v []*PipelineSummary) *ListPipelinesOutput { 64459 s.PipelineSummaries = v 64460 return s 64461 } 64462 64463 type ListProcessingJobsInput struct { 64464 _ struct{} `type:"structure"` 64465 64466 // A filter that returns only processing jobs created after the specified time. 64467 CreationTimeAfter *time.Time `type:"timestamp"` 64468 64469 // A filter that returns only processing jobs created after the specified time. 64470 CreationTimeBefore *time.Time `type:"timestamp"` 64471 64472 // A filter that returns only processing jobs modified after the specified time. 64473 LastModifiedTimeAfter *time.Time `type:"timestamp"` 64474 64475 // A filter that returns only processing jobs modified before the specified 64476 // time. 64477 LastModifiedTimeBefore *time.Time `type:"timestamp"` 64478 64479 // The maximum number of processing jobs to return in the response. 64480 MaxResults *int64 `min:"1" type:"integer"` 64481 64482 // A string in the processing job name. This filter returns only processing 64483 // jobs whose name contains the specified string. 64484 NameContains *string `type:"string"` 64485 64486 // If the result of the previous ListProcessingJobs request was truncated, the 64487 // response includes a NextToken. To retrieve the next set of processing jobs, 64488 // use the token in the next request. 64489 NextToken *string `type:"string"` 64490 64491 // The field to sort results by. The default is CreationTime. 64492 SortBy *string `type:"string" enum:"SortBy"` 64493 64494 // The sort order for results. The default is Ascending. 64495 SortOrder *string `type:"string" enum:"SortOrder"` 64496 64497 // A filter that retrieves only processing jobs with a specific status. 64498 StatusEquals *string `type:"string" enum:"ProcessingJobStatus"` 64499 } 64500 64501 // String returns the string representation. 64502 // 64503 // API parameter values that are decorated as "sensitive" in the API will not 64504 // be included in the string output. The member name will be present, but the 64505 // value will be replaced with "sensitive". 64506 func (s ListProcessingJobsInput) String() string { 64507 return awsutil.Prettify(s) 64508 } 64509 64510 // GoString returns the string representation. 64511 // 64512 // API parameter values that are decorated as "sensitive" in the API will not 64513 // be included in the string output. The member name will be present, but the 64514 // value will be replaced with "sensitive". 64515 func (s ListProcessingJobsInput) GoString() string { 64516 return s.String() 64517 } 64518 64519 // Validate inspects the fields of the type to determine if they are valid. 64520 func (s *ListProcessingJobsInput) Validate() error { 64521 invalidParams := request.ErrInvalidParams{Context: "ListProcessingJobsInput"} 64522 if s.MaxResults != nil && *s.MaxResults < 1 { 64523 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 64524 } 64525 64526 if invalidParams.Len() > 0 { 64527 return invalidParams 64528 } 64529 return nil 64530 } 64531 64532 // SetCreationTimeAfter sets the CreationTimeAfter field's value. 64533 func (s *ListProcessingJobsInput) SetCreationTimeAfter(v time.Time) *ListProcessingJobsInput { 64534 s.CreationTimeAfter = &v 64535 return s 64536 } 64537 64538 // SetCreationTimeBefore sets the CreationTimeBefore field's value. 64539 func (s *ListProcessingJobsInput) SetCreationTimeBefore(v time.Time) *ListProcessingJobsInput { 64540 s.CreationTimeBefore = &v 64541 return s 64542 } 64543 64544 // SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value. 64545 func (s *ListProcessingJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListProcessingJobsInput { 64546 s.LastModifiedTimeAfter = &v 64547 return s 64548 } 64549 64550 // SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value. 64551 func (s *ListProcessingJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListProcessingJobsInput { 64552 s.LastModifiedTimeBefore = &v 64553 return s 64554 } 64555 64556 // SetMaxResults sets the MaxResults field's value. 64557 func (s *ListProcessingJobsInput) SetMaxResults(v int64) *ListProcessingJobsInput { 64558 s.MaxResults = &v 64559 return s 64560 } 64561 64562 // SetNameContains sets the NameContains field's value. 64563 func (s *ListProcessingJobsInput) SetNameContains(v string) *ListProcessingJobsInput { 64564 s.NameContains = &v 64565 return s 64566 } 64567 64568 // SetNextToken sets the NextToken field's value. 64569 func (s *ListProcessingJobsInput) SetNextToken(v string) *ListProcessingJobsInput { 64570 s.NextToken = &v 64571 return s 64572 } 64573 64574 // SetSortBy sets the SortBy field's value. 64575 func (s *ListProcessingJobsInput) SetSortBy(v string) *ListProcessingJobsInput { 64576 s.SortBy = &v 64577 return s 64578 } 64579 64580 // SetSortOrder sets the SortOrder field's value. 64581 func (s *ListProcessingJobsInput) SetSortOrder(v string) *ListProcessingJobsInput { 64582 s.SortOrder = &v 64583 return s 64584 } 64585 64586 // SetStatusEquals sets the StatusEquals field's value. 64587 func (s *ListProcessingJobsInput) SetStatusEquals(v string) *ListProcessingJobsInput { 64588 s.StatusEquals = &v 64589 return s 64590 } 64591 64592 type ListProcessingJobsOutput struct { 64593 _ struct{} `type:"structure"` 64594 64595 // If the response is truncated, Amazon SageMaker returns this token. To retrieve 64596 // the next set of processing jobs, use it in the subsequent request. 64597 NextToken *string `type:"string"` 64598 64599 // An array of ProcessingJobSummary objects, each listing a processing job. 64600 // 64601 // ProcessingJobSummaries is a required field 64602 ProcessingJobSummaries []*ProcessingJobSummary `type:"list" required:"true"` 64603 } 64604 64605 // String returns the string representation. 64606 // 64607 // API parameter values that are decorated as "sensitive" in the API will not 64608 // be included in the string output. The member name will be present, but the 64609 // value will be replaced with "sensitive". 64610 func (s ListProcessingJobsOutput) String() string { 64611 return awsutil.Prettify(s) 64612 } 64613 64614 // GoString returns the string representation. 64615 // 64616 // API parameter values that are decorated as "sensitive" in the API will not 64617 // be included in the string output. The member name will be present, but the 64618 // value will be replaced with "sensitive". 64619 func (s ListProcessingJobsOutput) GoString() string { 64620 return s.String() 64621 } 64622 64623 // SetNextToken sets the NextToken field's value. 64624 func (s *ListProcessingJobsOutput) SetNextToken(v string) *ListProcessingJobsOutput { 64625 s.NextToken = &v 64626 return s 64627 } 64628 64629 // SetProcessingJobSummaries sets the ProcessingJobSummaries field's value. 64630 func (s *ListProcessingJobsOutput) SetProcessingJobSummaries(v []*ProcessingJobSummary) *ListProcessingJobsOutput { 64631 s.ProcessingJobSummaries = v 64632 return s 64633 } 64634 64635 type ListProjectsInput struct { 64636 _ struct{} `type:"structure"` 64637 64638 // A filter that returns the projects that were created after a specified time. 64639 CreationTimeAfter *time.Time `type:"timestamp"` 64640 64641 // A filter that returns the projects that were created before a specified time. 64642 CreationTimeBefore *time.Time `type:"timestamp"` 64643 64644 // The maximum number of projects to return in the response. 64645 MaxResults *int64 `min:"1" type:"integer"` 64646 64647 // A filter that returns the projects whose name contains a specified string. 64648 NameContains *string `min:"1" type:"string"` 64649 64650 // If the result of the previous ListProjects request was truncated, the response 64651 // includes a NextToken. To retrieve the next set of projects, use the token 64652 // in the next request. 64653 NextToken *string `type:"string"` 64654 64655 // The field by which to sort results. The default is CreationTime. 64656 SortBy *string `type:"string" enum:"ProjectSortBy"` 64657 64658 // The sort order for results. The default is Ascending. 64659 SortOrder *string `type:"string" enum:"ProjectSortOrder"` 64660 } 64661 64662 // String returns the string representation. 64663 // 64664 // API parameter values that are decorated as "sensitive" in the API will not 64665 // be included in the string output. The member name will be present, but the 64666 // value will be replaced with "sensitive". 64667 func (s ListProjectsInput) String() string { 64668 return awsutil.Prettify(s) 64669 } 64670 64671 // GoString returns the string representation. 64672 // 64673 // API parameter values that are decorated as "sensitive" in the API will not 64674 // be included in the string output. The member name will be present, but the 64675 // value will be replaced with "sensitive". 64676 func (s ListProjectsInput) GoString() string { 64677 return s.String() 64678 } 64679 64680 // Validate inspects the fields of the type to determine if they are valid. 64681 func (s *ListProjectsInput) Validate() error { 64682 invalidParams := request.ErrInvalidParams{Context: "ListProjectsInput"} 64683 if s.MaxResults != nil && *s.MaxResults < 1 { 64684 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 64685 } 64686 if s.NameContains != nil && len(*s.NameContains) < 1 { 64687 invalidParams.Add(request.NewErrParamMinLen("NameContains", 1)) 64688 } 64689 64690 if invalidParams.Len() > 0 { 64691 return invalidParams 64692 } 64693 return nil 64694 } 64695 64696 // SetCreationTimeAfter sets the CreationTimeAfter field's value. 64697 func (s *ListProjectsInput) SetCreationTimeAfter(v time.Time) *ListProjectsInput { 64698 s.CreationTimeAfter = &v 64699 return s 64700 } 64701 64702 // SetCreationTimeBefore sets the CreationTimeBefore field's value. 64703 func (s *ListProjectsInput) SetCreationTimeBefore(v time.Time) *ListProjectsInput { 64704 s.CreationTimeBefore = &v 64705 return s 64706 } 64707 64708 // SetMaxResults sets the MaxResults field's value. 64709 func (s *ListProjectsInput) SetMaxResults(v int64) *ListProjectsInput { 64710 s.MaxResults = &v 64711 return s 64712 } 64713 64714 // SetNameContains sets the NameContains field's value. 64715 func (s *ListProjectsInput) SetNameContains(v string) *ListProjectsInput { 64716 s.NameContains = &v 64717 return s 64718 } 64719 64720 // SetNextToken sets the NextToken field's value. 64721 func (s *ListProjectsInput) SetNextToken(v string) *ListProjectsInput { 64722 s.NextToken = &v 64723 return s 64724 } 64725 64726 // SetSortBy sets the SortBy field's value. 64727 func (s *ListProjectsInput) SetSortBy(v string) *ListProjectsInput { 64728 s.SortBy = &v 64729 return s 64730 } 64731 64732 // SetSortOrder sets the SortOrder field's value. 64733 func (s *ListProjectsInput) SetSortOrder(v string) *ListProjectsInput { 64734 s.SortOrder = &v 64735 return s 64736 } 64737 64738 type ListProjectsOutput struct { 64739 _ struct{} `type:"structure"` 64740 64741 // If the result of the previous ListCompilationJobs request was truncated, 64742 // the response includes a NextToken. To retrieve the next set of model compilation 64743 // jobs, use the token in the next request. 64744 NextToken *string `type:"string"` 64745 64746 // A list of summaries of projects. 64747 // 64748 // ProjectSummaryList is a required field 64749 ProjectSummaryList []*ProjectSummary `type:"list" required:"true"` 64750 } 64751 64752 // String returns the string representation. 64753 // 64754 // API parameter values that are decorated as "sensitive" in the API will not 64755 // be included in the string output. The member name will be present, but the 64756 // value will be replaced with "sensitive". 64757 func (s ListProjectsOutput) String() string { 64758 return awsutil.Prettify(s) 64759 } 64760 64761 // GoString returns the string representation. 64762 // 64763 // API parameter values that are decorated as "sensitive" in the API will not 64764 // be included in the string output. The member name will be present, but the 64765 // value will be replaced with "sensitive". 64766 func (s ListProjectsOutput) GoString() string { 64767 return s.String() 64768 } 64769 64770 // SetNextToken sets the NextToken field's value. 64771 func (s *ListProjectsOutput) SetNextToken(v string) *ListProjectsOutput { 64772 s.NextToken = &v 64773 return s 64774 } 64775 64776 // SetProjectSummaryList sets the ProjectSummaryList field's value. 64777 func (s *ListProjectsOutput) SetProjectSummaryList(v []*ProjectSummary) *ListProjectsOutput { 64778 s.ProjectSummaryList = v 64779 return s 64780 } 64781 64782 type ListStudioLifecycleConfigsInput struct { 64783 _ struct{} `type:"structure"` 64784 64785 // A parameter to search for the App Type to which the Lifecycle Configuration 64786 // is attached. 64787 AppTypeEquals *string `type:"string" enum:"StudioLifecycleConfigAppType"` 64788 64789 // A filter that returns only Lifecycle Configurations created on or after the 64790 // specified time. 64791 CreationTimeAfter *time.Time `type:"timestamp"` 64792 64793 // A filter that returns only Lifecycle Configurations created on or before 64794 // the specified time. 64795 CreationTimeBefore *time.Time `type:"timestamp"` 64796 64797 // The maximum number of Studio Lifecycle Configurations to return in the response. 64798 // The default value is 10. 64799 MaxResults *int64 `min:"1" type:"integer"` 64800 64801 // A filter that returns only Lifecycle Configurations modified after the specified 64802 // time. 64803 ModifiedTimeAfter *time.Time `type:"timestamp"` 64804 64805 // A filter that returns only Lifecycle Configurations modified before the specified 64806 // time. 64807 ModifiedTimeBefore *time.Time `type:"timestamp"` 64808 64809 // A string in the Lifecycle Configuration name. This filter returns only Lifecycle 64810 // Configurations whose name contains the specified string. 64811 NameContains *string `type:"string"` 64812 64813 // If the previous call to ListStudioLifecycleConfigs didn't return the full 64814 // set of Lifecycle Configurations, the call returns a token for getting the 64815 // next set of Lifecycle Configurations. 64816 NextToken *string `type:"string"` 64817 64818 // The property used to sort results. The default value is CreationTime. 64819 SortBy *string `type:"string" enum:"StudioLifecycleConfigSortKey"` 64820 64821 // The sort order. The default value is Descending. 64822 SortOrder *string `type:"string" enum:"SortOrder"` 64823 } 64824 64825 // String returns the string representation. 64826 // 64827 // API parameter values that are decorated as "sensitive" in the API will not 64828 // be included in the string output. The member name will be present, but the 64829 // value will be replaced with "sensitive". 64830 func (s ListStudioLifecycleConfigsInput) String() string { 64831 return awsutil.Prettify(s) 64832 } 64833 64834 // GoString returns the string representation. 64835 // 64836 // API parameter values that are decorated as "sensitive" in the API will not 64837 // be included in the string output. The member name will be present, but the 64838 // value will be replaced with "sensitive". 64839 func (s ListStudioLifecycleConfigsInput) GoString() string { 64840 return s.String() 64841 } 64842 64843 // Validate inspects the fields of the type to determine if they are valid. 64844 func (s *ListStudioLifecycleConfigsInput) Validate() error { 64845 invalidParams := request.ErrInvalidParams{Context: "ListStudioLifecycleConfigsInput"} 64846 if s.MaxResults != nil && *s.MaxResults < 1 { 64847 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 64848 } 64849 64850 if invalidParams.Len() > 0 { 64851 return invalidParams 64852 } 64853 return nil 64854 } 64855 64856 // SetAppTypeEquals sets the AppTypeEquals field's value. 64857 func (s *ListStudioLifecycleConfigsInput) SetAppTypeEquals(v string) *ListStudioLifecycleConfigsInput { 64858 s.AppTypeEquals = &v 64859 return s 64860 } 64861 64862 // SetCreationTimeAfter sets the CreationTimeAfter field's value. 64863 func (s *ListStudioLifecycleConfigsInput) SetCreationTimeAfter(v time.Time) *ListStudioLifecycleConfigsInput { 64864 s.CreationTimeAfter = &v 64865 return s 64866 } 64867 64868 // SetCreationTimeBefore sets the CreationTimeBefore field's value. 64869 func (s *ListStudioLifecycleConfigsInput) SetCreationTimeBefore(v time.Time) *ListStudioLifecycleConfigsInput { 64870 s.CreationTimeBefore = &v 64871 return s 64872 } 64873 64874 // SetMaxResults sets the MaxResults field's value. 64875 func (s *ListStudioLifecycleConfigsInput) SetMaxResults(v int64) *ListStudioLifecycleConfigsInput { 64876 s.MaxResults = &v 64877 return s 64878 } 64879 64880 // SetModifiedTimeAfter sets the ModifiedTimeAfter field's value. 64881 func (s *ListStudioLifecycleConfigsInput) SetModifiedTimeAfter(v time.Time) *ListStudioLifecycleConfigsInput { 64882 s.ModifiedTimeAfter = &v 64883 return s 64884 } 64885 64886 // SetModifiedTimeBefore sets the ModifiedTimeBefore field's value. 64887 func (s *ListStudioLifecycleConfigsInput) SetModifiedTimeBefore(v time.Time) *ListStudioLifecycleConfigsInput { 64888 s.ModifiedTimeBefore = &v 64889 return s 64890 } 64891 64892 // SetNameContains sets the NameContains field's value. 64893 func (s *ListStudioLifecycleConfigsInput) SetNameContains(v string) *ListStudioLifecycleConfigsInput { 64894 s.NameContains = &v 64895 return s 64896 } 64897 64898 // SetNextToken sets the NextToken field's value. 64899 func (s *ListStudioLifecycleConfigsInput) SetNextToken(v string) *ListStudioLifecycleConfigsInput { 64900 s.NextToken = &v 64901 return s 64902 } 64903 64904 // SetSortBy sets the SortBy field's value. 64905 func (s *ListStudioLifecycleConfigsInput) SetSortBy(v string) *ListStudioLifecycleConfigsInput { 64906 s.SortBy = &v 64907 return s 64908 } 64909 64910 // SetSortOrder sets the SortOrder field's value. 64911 func (s *ListStudioLifecycleConfigsInput) SetSortOrder(v string) *ListStudioLifecycleConfigsInput { 64912 s.SortOrder = &v 64913 return s 64914 } 64915 64916 type ListStudioLifecycleConfigsOutput struct { 64917 _ struct{} `type:"structure"` 64918 64919 // A token for getting the next set of actions, if there are any. 64920 NextToken *string `type:"string"` 64921 64922 // A list of Lifecycle Configurations and their properties. 64923 StudioLifecycleConfigs []*StudioLifecycleConfigDetails `type:"list"` 64924 } 64925 64926 // String returns the string representation. 64927 // 64928 // API parameter values that are decorated as "sensitive" in the API will not 64929 // be included in the string output. The member name will be present, but the 64930 // value will be replaced with "sensitive". 64931 func (s ListStudioLifecycleConfigsOutput) String() string { 64932 return awsutil.Prettify(s) 64933 } 64934 64935 // GoString returns the string representation. 64936 // 64937 // API parameter values that are decorated as "sensitive" in the API will not 64938 // be included in the string output. The member name will be present, but the 64939 // value will be replaced with "sensitive". 64940 func (s ListStudioLifecycleConfigsOutput) GoString() string { 64941 return s.String() 64942 } 64943 64944 // SetNextToken sets the NextToken field's value. 64945 func (s *ListStudioLifecycleConfigsOutput) SetNextToken(v string) *ListStudioLifecycleConfigsOutput { 64946 s.NextToken = &v 64947 return s 64948 } 64949 64950 // SetStudioLifecycleConfigs sets the StudioLifecycleConfigs field's value. 64951 func (s *ListStudioLifecycleConfigsOutput) SetStudioLifecycleConfigs(v []*StudioLifecycleConfigDetails) *ListStudioLifecycleConfigsOutput { 64952 s.StudioLifecycleConfigs = v 64953 return s 64954 } 64955 64956 type ListSubscribedWorkteamsInput struct { 64957 _ struct{} `type:"structure"` 64958 64959 // The maximum number of work teams to return in each page of the response. 64960 MaxResults *int64 `min:"1" type:"integer"` 64961 64962 // A string in the work team name. This filter returns only work teams whose 64963 // name contains the specified string. 64964 NameContains *string `min:"1" type:"string"` 64965 64966 // If the result of the previous ListSubscribedWorkteams request was truncated, 64967 // the response includes a NextToken. To retrieve the next set of labeling jobs, 64968 // use the token in the next request. 64969 NextToken *string `type:"string"` 64970 } 64971 64972 // String returns the string representation. 64973 // 64974 // API parameter values that are decorated as "sensitive" in the API will not 64975 // be included in the string output. The member name will be present, but the 64976 // value will be replaced with "sensitive". 64977 func (s ListSubscribedWorkteamsInput) String() string { 64978 return awsutil.Prettify(s) 64979 } 64980 64981 // GoString returns the string representation. 64982 // 64983 // API parameter values that are decorated as "sensitive" in the API will not 64984 // be included in the string output. The member name will be present, but the 64985 // value will be replaced with "sensitive". 64986 func (s ListSubscribedWorkteamsInput) GoString() string { 64987 return s.String() 64988 } 64989 64990 // Validate inspects the fields of the type to determine if they are valid. 64991 func (s *ListSubscribedWorkteamsInput) Validate() error { 64992 invalidParams := request.ErrInvalidParams{Context: "ListSubscribedWorkteamsInput"} 64993 if s.MaxResults != nil && *s.MaxResults < 1 { 64994 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 64995 } 64996 if s.NameContains != nil && len(*s.NameContains) < 1 { 64997 invalidParams.Add(request.NewErrParamMinLen("NameContains", 1)) 64998 } 64999 65000 if invalidParams.Len() > 0 { 65001 return invalidParams 65002 } 65003 return nil 65004 } 65005 65006 // SetMaxResults sets the MaxResults field's value. 65007 func (s *ListSubscribedWorkteamsInput) SetMaxResults(v int64) *ListSubscribedWorkteamsInput { 65008 s.MaxResults = &v 65009 return s 65010 } 65011 65012 // SetNameContains sets the NameContains field's value. 65013 func (s *ListSubscribedWorkteamsInput) SetNameContains(v string) *ListSubscribedWorkteamsInput { 65014 s.NameContains = &v 65015 return s 65016 } 65017 65018 // SetNextToken sets the NextToken field's value. 65019 func (s *ListSubscribedWorkteamsInput) SetNextToken(v string) *ListSubscribedWorkteamsInput { 65020 s.NextToken = &v 65021 return s 65022 } 65023 65024 type ListSubscribedWorkteamsOutput struct { 65025 _ struct{} `type:"structure"` 65026 65027 // If the response is truncated, Amazon SageMaker returns this token. To retrieve 65028 // the next set of work teams, use it in the subsequent request. 65029 NextToken *string `type:"string"` 65030 65031 // An array of Workteam objects, each describing a work team. 65032 // 65033 // SubscribedWorkteams is a required field 65034 SubscribedWorkteams []*SubscribedWorkteam `type:"list" required:"true"` 65035 } 65036 65037 // String returns the string representation. 65038 // 65039 // API parameter values that are decorated as "sensitive" in the API will not 65040 // be included in the string output. The member name will be present, but the 65041 // value will be replaced with "sensitive". 65042 func (s ListSubscribedWorkteamsOutput) String() string { 65043 return awsutil.Prettify(s) 65044 } 65045 65046 // GoString returns the string representation. 65047 // 65048 // API parameter values that are decorated as "sensitive" in the API will not 65049 // be included in the string output. The member name will be present, but the 65050 // value will be replaced with "sensitive". 65051 func (s ListSubscribedWorkteamsOutput) GoString() string { 65052 return s.String() 65053 } 65054 65055 // SetNextToken sets the NextToken field's value. 65056 func (s *ListSubscribedWorkteamsOutput) SetNextToken(v string) *ListSubscribedWorkteamsOutput { 65057 s.NextToken = &v 65058 return s 65059 } 65060 65061 // SetSubscribedWorkteams sets the SubscribedWorkteams field's value. 65062 func (s *ListSubscribedWorkteamsOutput) SetSubscribedWorkteams(v []*SubscribedWorkteam) *ListSubscribedWorkteamsOutput { 65063 s.SubscribedWorkteams = v 65064 return s 65065 } 65066 65067 type ListTagsInput struct { 65068 _ struct{} `type:"structure"` 65069 65070 // Maximum number of tags to return. 65071 MaxResults *int64 `min:"50" type:"integer"` 65072 65073 // If the response to the previous ListTags request is truncated, Amazon SageMaker 65074 // returns this token. To retrieve the next set of tags, use it in the subsequent 65075 // request. 65076 NextToken *string `type:"string"` 65077 65078 // The Amazon Resource Name (ARN) of the resource whose tags you want to retrieve. 65079 // 65080 // ResourceArn is a required field 65081 ResourceArn *string `type:"string" required:"true"` 65082 } 65083 65084 // String returns the string representation. 65085 // 65086 // API parameter values that are decorated as "sensitive" in the API will not 65087 // be included in the string output. The member name will be present, but the 65088 // value will be replaced with "sensitive". 65089 func (s ListTagsInput) String() string { 65090 return awsutil.Prettify(s) 65091 } 65092 65093 // GoString returns the string representation. 65094 // 65095 // API parameter values that are decorated as "sensitive" in the API will not 65096 // be included in the string output. The member name will be present, but the 65097 // value will be replaced with "sensitive". 65098 func (s ListTagsInput) GoString() string { 65099 return s.String() 65100 } 65101 65102 // Validate inspects the fields of the type to determine if they are valid. 65103 func (s *ListTagsInput) Validate() error { 65104 invalidParams := request.ErrInvalidParams{Context: "ListTagsInput"} 65105 if s.MaxResults != nil && *s.MaxResults < 50 { 65106 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 50)) 65107 } 65108 if s.ResourceArn == nil { 65109 invalidParams.Add(request.NewErrParamRequired("ResourceArn")) 65110 } 65111 65112 if invalidParams.Len() > 0 { 65113 return invalidParams 65114 } 65115 return nil 65116 } 65117 65118 // SetMaxResults sets the MaxResults field's value. 65119 func (s *ListTagsInput) SetMaxResults(v int64) *ListTagsInput { 65120 s.MaxResults = &v 65121 return s 65122 } 65123 65124 // SetNextToken sets the NextToken field's value. 65125 func (s *ListTagsInput) SetNextToken(v string) *ListTagsInput { 65126 s.NextToken = &v 65127 return s 65128 } 65129 65130 // SetResourceArn sets the ResourceArn field's value. 65131 func (s *ListTagsInput) SetResourceArn(v string) *ListTagsInput { 65132 s.ResourceArn = &v 65133 return s 65134 } 65135 65136 type ListTagsOutput struct { 65137 _ struct{} `type:"structure"` 65138 65139 // If response is truncated, Amazon SageMaker includes a token in the response. 65140 // You can use this token in your subsequent request to fetch next set of tokens. 65141 NextToken *string `type:"string"` 65142 65143 // An array of Tag objects, each with a tag key and a value. 65144 Tags []*Tag `type:"list"` 65145 } 65146 65147 // String returns the string representation. 65148 // 65149 // API parameter values that are decorated as "sensitive" in the API will not 65150 // be included in the string output. The member name will be present, but the 65151 // value will be replaced with "sensitive". 65152 func (s ListTagsOutput) String() string { 65153 return awsutil.Prettify(s) 65154 } 65155 65156 // GoString returns the string representation. 65157 // 65158 // API parameter values that are decorated as "sensitive" in the API will not 65159 // be included in the string output. The member name will be present, but the 65160 // value will be replaced with "sensitive". 65161 func (s ListTagsOutput) GoString() string { 65162 return s.String() 65163 } 65164 65165 // SetNextToken sets the NextToken field's value. 65166 func (s *ListTagsOutput) SetNextToken(v string) *ListTagsOutput { 65167 s.NextToken = &v 65168 return s 65169 } 65170 65171 // SetTags sets the Tags field's value. 65172 func (s *ListTagsOutput) SetTags(v []*Tag) *ListTagsOutput { 65173 s.Tags = v 65174 return s 65175 } 65176 65177 type ListTrainingJobsForHyperParameterTuningJobInput struct { 65178 _ struct{} `type:"structure"` 65179 65180 // The name of the tuning job whose training jobs you want to list. 65181 // 65182 // HyperParameterTuningJobName is a required field 65183 HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"` 65184 65185 // The maximum number of training jobs to return. The default value is 10. 65186 MaxResults *int64 `min:"1" type:"integer"` 65187 65188 // If the result of the previous ListTrainingJobsForHyperParameterTuningJob 65189 // request was truncated, the response includes a NextToken. To retrieve the 65190 // next set of training jobs, use the token in the next request. 65191 NextToken *string `type:"string"` 65192 65193 // The field to sort results by. The default is Name. 65194 // 65195 // If the value of this field is FinalObjectiveMetricValue, any training jobs 65196 // that did not return an objective metric are not listed. 65197 SortBy *string `type:"string" enum:"TrainingJobSortByOptions"` 65198 65199 // The sort order for results. The default is Ascending. 65200 SortOrder *string `type:"string" enum:"SortOrder"` 65201 65202 // A filter that returns only training jobs with the specified status. 65203 StatusEquals *string `type:"string" enum:"TrainingJobStatus"` 65204 } 65205 65206 // String returns the string representation. 65207 // 65208 // API parameter values that are decorated as "sensitive" in the API will not 65209 // be included in the string output. The member name will be present, but the 65210 // value will be replaced with "sensitive". 65211 func (s ListTrainingJobsForHyperParameterTuningJobInput) String() string { 65212 return awsutil.Prettify(s) 65213 } 65214 65215 // GoString returns the string representation. 65216 // 65217 // API parameter values that are decorated as "sensitive" in the API will not 65218 // be included in the string output. The member name will be present, but the 65219 // value will be replaced with "sensitive". 65220 func (s ListTrainingJobsForHyperParameterTuningJobInput) GoString() string { 65221 return s.String() 65222 } 65223 65224 // Validate inspects the fields of the type to determine if they are valid. 65225 func (s *ListTrainingJobsForHyperParameterTuningJobInput) Validate() error { 65226 invalidParams := request.ErrInvalidParams{Context: "ListTrainingJobsForHyperParameterTuningJobInput"} 65227 if s.HyperParameterTuningJobName == nil { 65228 invalidParams.Add(request.NewErrParamRequired("HyperParameterTuningJobName")) 65229 } 65230 if s.HyperParameterTuningJobName != nil && len(*s.HyperParameterTuningJobName) < 1 { 65231 invalidParams.Add(request.NewErrParamMinLen("HyperParameterTuningJobName", 1)) 65232 } 65233 if s.MaxResults != nil && *s.MaxResults < 1 { 65234 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 65235 } 65236 65237 if invalidParams.Len() > 0 { 65238 return invalidParams 65239 } 65240 return nil 65241 } 65242 65243 // SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value. 65244 func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetHyperParameterTuningJobName(v string) *ListTrainingJobsForHyperParameterTuningJobInput { 65245 s.HyperParameterTuningJobName = &v 65246 return s 65247 } 65248 65249 // SetMaxResults sets the MaxResults field's value. 65250 func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetMaxResults(v int64) *ListTrainingJobsForHyperParameterTuningJobInput { 65251 s.MaxResults = &v 65252 return s 65253 } 65254 65255 // SetNextToken sets the NextToken field's value. 65256 func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetNextToken(v string) *ListTrainingJobsForHyperParameterTuningJobInput { 65257 s.NextToken = &v 65258 return s 65259 } 65260 65261 // SetSortBy sets the SortBy field's value. 65262 func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetSortBy(v string) *ListTrainingJobsForHyperParameterTuningJobInput { 65263 s.SortBy = &v 65264 return s 65265 } 65266 65267 // SetSortOrder sets the SortOrder field's value. 65268 func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetSortOrder(v string) *ListTrainingJobsForHyperParameterTuningJobInput { 65269 s.SortOrder = &v 65270 return s 65271 } 65272 65273 // SetStatusEquals sets the StatusEquals field's value. 65274 func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetStatusEquals(v string) *ListTrainingJobsForHyperParameterTuningJobInput { 65275 s.StatusEquals = &v 65276 return s 65277 } 65278 65279 type ListTrainingJobsForHyperParameterTuningJobOutput struct { 65280 _ struct{} `type:"structure"` 65281 65282 // If the result of this ListTrainingJobsForHyperParameterTuningJob request 65283 // was truncated, the response includes a NextToken. To retrieve the next set 65284 // of training jobs, use the token in the next request. 65285 NextToken *string `type:"string"` 65286 65287 // A list of TrainingJobSummary objects that describe the training jobs that 65288 // the ListTrainingJobsForHyperParameterTuningJob request returned. 65289 // 65290 // TrainingJobSummaries is a required field 65291 TrainingJobSummaries []*HyperParameterTrainingJobSummary `type:"list" required:"true"` 65292 } 65293 65294 // String returns the string representation. 65295 // 65296 // API parameter values that are decorated as "sensitive" in the API will not 65297 // be included in the string output. The member name will be present, but the 65298 // value will be replaced with "sensitive". 65299 func (s ListTrainingJobsForHyperParameterTuningJobOutput) String() string { 65300 return awsutil.Prettify(s) 65301 } 65302 65303 // GoString returns the string representation. 65304 // 65305 // API parameter values that are decorated as "sensitive" in the API will not 65306 // be included in the string output. The member name will be present, but the 65307 // value will be replaced with "sensitive". 65308 func (s ListTrainingJobsForHyperParameterTuningJobOutput) GoString() string { 65309 return s.String() 65310 } 65311 65312 // SetNextToken sets the NextToken field's value. 65313 func (s *ListTrainingJobsForHyperParameterTuningJobOutput) SetNextToken(v string) *ListTrainingJobsForHyperParameterTuningJobOutput { 65314 s.NextToken = &v 65315 return s 65316 } 65317 65318 // SetTrainingJobSummaries sets the TrainingJobSummaries field's value. 65319 func (s *ListTrainingJobsForHyperParameterTuningJobOutput) SetTrainingJobSummaries(v []*HyperParameterTrainingJobSummary) *ListTrainingJobsForHyperParameterTuningJobOutput { 65320 s.TrainingJobSummaries = v 65321 return s 65322 } 65323 65324 type ListTrainingJobsInput struct { 65325 _ struct{} `type:"structure"` 65326 65327 // A filter that returns only training jobs created after the specified time 65328 // (timestamp). 65329 CreationTimeAfter *time.Time `type:"timestamp"` 65330 65331 // A filter that returns only training jobs created before the specified time 65332 // (timestamp). 65333 CreationTimeBefore *time.Time `type:"timestamp"` 65334 65335 // A filter that returns only training jobs modified after the specified time 65336 // (timestamp). 65337 LastModifiedTimeAfter *time.Time `type:"timestamp"` 65338 65339 // A filter that returns only training jobs modified before the specified time 65340 // (timestamp). 65341 LastModifiedTimeBefore *time.Time `type:"timestamp"` 65342 65343 // The maximum number of training jobs to return in the response. 65344 MaxResults *int64 `min:"1" type:"integer"` 65345 65346 // A string in the training job name. This filter returns only training jobs 65347 // whose name contains the specified string. 65348 NameContains *string `type:"string"` 65349 65350 // If the result of the previous ListTrainingJobs request was truncated, the 65351 // response includes a NextToken. To retrieve the next set of training jobs, 65352 // use the token in the next request. 65353 NextToken *string `type:"string"` 65354 65355 // The field to sort results by. The default is CreationTime. 65356 SortBy *string `type:"string" enum:"SortBy"` 65357 65358 // The sort order for results. The default is Ascending. 65359 SortOrder *string `type:"string" enum:"SortOrder"` 65360 65361 // A filter that retrieves only training jobs with a specific status. 65362 StatusEquals *string `type:"string" enum:"TrainingJobStatus"` 65363 } 65364 65365 // String returns the string representation. 65366 // 65367 // API parameter values that are decorated as "sensitive" in the API will not 65368 // be included in the string output. The member name will be present, but the 65369 // value will be replaced with "sensitive". 65370 func (s ListTrainingJobsInput) String() string { 65371 return awsutil.Prettify(s) 65372 } 65373 65374 // GoString returns the string representation. 65375 // 65376 // API parameter values that are decorated as "sensitive" in the API will not 65377 // be included in the string output. The member name will be present, but the 65378 // value will be replaced with "sensitive". 65379 func (s ListTrainingJobsInput) GoString() string { 65380 return s.String() 65381 } 65382 65383 // Validate inspects the fields of the type to determine if they are valid. 65384 func (s *ListTrainingJobsInput) Validate() error { 65385 invalidParams := request.ErrInvalidParams{Context: "ListTrainingJobsInput"} 65386 if s.MaxResults != nil && *s.MaxResults < 1 { 65387 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 65388 } 65389 65390 if invalidParams.Len() > 0 { 65391 return invalidParams 65392 } 65393 return nil 65394 } 65395 65396 // SetCreationTimeAfter sets the CreationTimeAfter field's value. 65397 func (s *ListTrainingJobsInput) SetCreationTimeAfter(v time.Time) *ListTrainingJobsInput { 65398 s.CreationTimeAfter = &v 65399 return s 65400 } 65401 65402 // SetCreationTimeBefore sets the CreationTimeBefore field's value. 65403 func (s *ListTrainingJobsInput) SetCreationTimeBefore(v time.Time) *ListTrainingJobsInput { 65404 s.CreationTimeBefore = &v 65405 return s 65406 } 65407 65408 // SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value. 65409 func (s *ListTrainingJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListTrainingJobsInput { 65410 s.LastModifiedTimeAfter = &v 65411 return s 65412 } 65413 65414 // SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value. 65415 func (s *ListTrainingJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListTrainingJobsInput { 65416 s.LastModifiedTimeBefore = &v 65417 return s 65418 } 65419 65420 // SetMaxResults sets the MaxResults field's value. 65421 func (s *ListTrainingJobsInput) SetMaxResults(v int64) *ListTrainingJobsInput { 65422 s.MaxResults = &v 65423 return s 65424 } 65425 65426 // SetNameContains sets the NameContains field's value. 65427 func (s *ListTrainingJobsInput) SetNameContains(v string) *ListTrainingJobsInput { 65428 s.NameContains = &v 65429 return s 65430 } 65431 65432 // SetNextToken sets the NextToken field's value. 65433 func (s *ListTrainingJobsInput) SetNextToken(v string) *ListTrainingJobsInput { 65434 s.NextToken = &v 65435 return s 65436 } 65437 65438 // SetSortBy sets the SortBy field's value. 65439 func (s *ListTrainingJobsInput) SetSortBy(v string) *ListTrainingJobsInput { 65440 s.SortBy = &v 65441 return s 65442 } 65443 65444 // SetSortOrder sets the SortOrder field's value. 65445 func (s *ListTrainingJobsInput) SetSortOrder(v string) *ListTrainingJobsInput { 65446 s.SortOrder = &v 65447 return s 65448 } 65449 65450 // SetStatusEquals sets the StatusEquals field's value. 65451 func (s *ListTrainingJobsInput) SetStatusEquals(v string) *ListTrainingJobsInput { 65452 s.StatusEquals = &v 65453 return s 65454 } 65455 65456 type ListTrainingJobsOutput struct { 65457 _ struct{} `type:"structure"` 65458 65459 // If the response is truncated, Amazon SageMaker returns this token. To retrieve 65460 // the next set of training jobs, use it in the subsequent request. 65461 NextToken *string `type:"string"` 65462 65463 // An array of TrainingJobSummary objects, each listing a training job. 65464 // 65465 // TrainingJobSummaries is a required field 65466 TrainingJobSummaries []*TrainingJobSummary `type:"list" required:"true"` 65467 } 65468 65469 // String returns the string representation. 65470 // 65471 // API parameter values that are decorated as "sensitive" in the API will not 65472 // be included in the string output. The member name will be present, but the 65473 // value will be replaced with "sensitive". 65474 func (s ListTrainingJobsOutput) String() string { 65475 return awsutil.Prettify(s) 65476 } 65477 65478 // GoString returns the string representation. 65479 // 65480 // API parameter values that are decorated as "sensitive" in the API will not 65481 // be included in the string output. The member name will be present, but the 65482 // value will be replaced with "sensitive". 65483 func (s ListTrainingJobsOutput) GoString() string { 65484 return s.String() 65485 } 65486 65487 // SetNextToken sets the NextToken field's value. 65488 func (s *ListTrainingJobsOutput) SetNextToken(v string) *ListTrainingJobsOutput { 65489 s.NextToken = &v 65490 return s 65491 } 65492 65493 // SetTrainingJobSummaries sets the TrainingJobSummaries field's value. 65494 func (s *ListTrainingJobsOutput) SetTrainingJobSummaries(v []*TrainingJobSummary) *ListTrainingJobsOutput { 65495 s.TrainingJobSummaries = v 65496 return s 65497 } 65498 65499 type ListTransformJobsInput struct { 65500 _ struct{} `type:"structure"` 65501 65502 // A filter that returns only transform jobs created after the specified time. 65503 CreationTimeAfter *time.Time `type:"timestamp"` 65504 65505 // A filter that returns only transform jobs created before the specified time. 65506 CreationTimeBefore *time.Time `type:"timestamp"` 65507 65508 // A filter that returns only transform jobs modified after the specified time. 65509 LastModifiedTimeAfter *time.Time `type:"timestamp"` 65510 65511 // A filter that returns only transform jobs modified before the specified time. 65512 LastModifiedTimeBefore *time.Time `type:"timestamp"` 65513 65514 // The maximum number of transform jobs to return in the response. The default 65515 // value is 10. 65516 MaxResults *int64 `min:"1" type:"integer"` 65517 65518 // A string in the transform job name. This filter returns only transform jobs 65519 // whose name contains the specified string. 65520 NameContains *string `type:"string"` 65521 65522 // If the result of the previous ListTransformJobs request was truncated, the 65523 // response includes a NextToken. To retrieve the next set of transform jobs, 65524 // use the token in the next request. 65525 NextToken *string `type:"string"` 65526 65527 // The field to sort results by. The default is CreationTime. 65528 SortBy *string `type:"string" enum:"SortBy"` 65529 65530 // The sort order for results. The default is Descending. 65531 SortOrder *string `type:"string" enum:"SortOrder"` 65532 65533 // A filter that retrieves only transform jobs with a specific status. 65534 StatusEquals *string `type:"string" enum:"TransformJobStatus"` 65535 } 65536 65537 // String returns the string representation. 65538 // 65539 // API parameter values that are decorated as "sensitive" in the API will not 65540 // be included in the string output. The member name will be present, but the 65541 // value will be replaced with "sensitive". 65542 func (s ListTransformJobsInput) String() string { 65543 return awsutil.Prettify(s) 65544 } 65545 65546 // GoString returns the string representation. 65547 // 65548 // API parameter values that are decorated as "sensitive" in the API will not 65549 // be included in the string output. The member name will be present, but the 65550 // value will be replaced with "sensitive". 65551 func (s ListTransformJobsInput) GoString() string { 65552 return s.String() 65553 } 65554 65555 // Validate inspects the fields of the type to determine if they are valid. 65556 func (s *ListTransformJobsInput) Validate() error { 65557 invalidParams := request.ErrInvalidParams{Context: "ListTransformJobsInput"} 65558 if s.MaxResults != nil && *s.MaxResults < 1 { 65559 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 65560 } 65561 65562 if invalidParams.Len() > 0 { 65563 return invalidParams 65564 } 65565 return nil 65566 } 65567 65568 // SetCreationTimeAfter sets the CreationTimeAfter field's value. 65569 func (s *ListTransformJobsInput) SetCreationTimeAfter(v time.Time) *ListTransformJobsInput { 65570 s.CreationTimeAfter = &v 65571 return s 65572 } 65573 65574 // SetCreationTimeBefore sets the CreationTimeBefore field's value. 65575 func (s *ListTransformJobsInput) SetCreationTimeBefore(v time.Time) *ListTransformJobsInput { 65576 s.CreationTimeBefore = &v 65577 return s 65578 } 65579 65580 // SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value. 65581 func (s *ListTransformJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListTransformJobsInput { 65582 s.LastModifiedTimeAfter = &v 65583 return s 65584 } 65585 65586 // SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value. 65587 func (s *ListTransformJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListTransformJobsInput { 65588 s.LastModifiedTimeBefore = &v 65589 return s 65590 } 65591 65592 // SetMaxResults sets the MaxResults field's value. 65593 func (s *ListTransformJobsInput) SetMaxResults(v int64) *ListTransformJobsInput { 65594 s.MaxResults = &v 65595 return s 65596 } 65597 65598 // SetNameContains sets the NameContains field's value. 65599 func (s *ListTransformJobsInput) SetNameContains(v string) *ListTransformJobsInput { 65600 s.NameContains = &v 65601 return s 65602 } 65603 65604 // SetNextToken sets the NextToken field's value. 65605 func (s *ListTransformJobsInput) SetNextToken(v string) *ListTransformJobsInput { 65606 s.NextToken = &v 65607 return s 65608 } 65609 65610 // SetSortBy sets the SortBy field's value. 65611 func (s *ListTransformJobsInput) SetSortBy(v string) *ListTransformJobsInput { 65612 s.SortBy = &v 65613 return s 65614 } 65615 65616 // SetSortOrder sets the SortOrder field's value. 65617 func (s *ListTransformJobsInput) SetSortOrder(v string) *ListTransformJobsInput { 65618 s.SortOrder = &v 65619 return s 65620 } 65621 65622 // SetStatusEquals sets the StatusEquals field's value. 65623 func (s *ListTransformJobsInput) SetStatusEquals(v string) *ListTransformJobsInput { 65624 s.StatusEquals = &v 65625 return s 65626 } 65627 65628 type ListTransformJobsOutput struct { 65629 _ struct{} `type:"structure"` 65630 65631 // If the response is truncated, Amazon SageMaker returns this token. To retrieve 65632 // the next set of transform jobs, use it in the next request. 65633 NextToken *string `type:"string"` 65634 65635 // An array of TransformJobSummary objects. 65636 // 65637 // TransformJobSummaries is a required field 65638 TransformJobSummaries []*TransformJobSummary `type:"list" required:"true"` 65639 } 65640 65641 // String returns the string representation. 65642 // 65643 // API parameter values that are decorated as "sensitive" in the API will not 65644 // be included in the string output. The member name will be present, but the 65645 // value will be replaced with "sensitive". 65646 func (s ListTransformJobsOutput) String() string { 65647 return awsutil.Prettify(s) 65648 } 65649 65650 // GoString returns the string representation. 65651 // 65652 // API parameter values that are decorated as "sensitive" in the API will not 65653 // be included in the string output. The member name will be present, but the 65654 // value will be replaced with "sensitive". 65655 func (s ListTransformJobsOutput) GoString() string { 65656 return s.String() 65657 } 65658 65659 // SetNextToken sets the NextToken field's value. 65660 func (s *ListTransformJobsOutput) SetNextToken(v string) *ListTransformJobsOutput { 65661 s.NextToken = &v 65662 return s 65663 } 65664 65665 // SetTransformJobSummaries sets the TransformJobSummaries field's value. 65666 func (s *ListTransformJobsOutput) SetTransformJobSummaries(v []*TransformJobSummary) *ListTransformJobsOutput { 65667 s.TransformJobSummaries = v 65668 return s 65669 } 65670 65671 type ListTrialComponentsInput struct { 65672 _ struct{} `type:"structure"` 65673 65674 // A filter that returns only components created after the specified time. 65675 CreatedAfter *time.Time `type:"timestamp"` 65676 65677 // A filter that returns only components created before the specified time. 65678 CreatedBefore *time.Time `type:"timestamp"` 65679 65680 // A filter that returns only components that are part of the specified experiment. 65681 // If you specify ExperimentName, you can't filter by SourceArn or TrialName. 65682 ExperimentName *string `min:"1" type:"string"` 65683 65684 // The maximum number of components to return in the response. The default value 65685 // is 10. 65686 MaxResults *int64 `min:"1" type:"integer"` 65687 65688 // If the previous call to ListTrialComponents didn't return the full set of 65689 // components, the call returns a token for getting the next set of components. 65690 NextToken *string `type:"string"` 65691 65692 // The property used to sort results. The default value is CreationTime. 65693 SortBy *string `type:"string" enum:"SortTrialComponentsBy"` 65694 65695 // The sort order. The default value is Descending. 65696 SortOrder *string `type:"string" enum:"SortOrder"` 65697 65698 // A filter that returns only components that have the specified source Amazon 65699 // Resource Name (ARN). If you specify SourceArn, you can't filter by ExperimentName 65700 // or TrialName. 65701 SourceArn *string `type:"string"` 65702 65703 // A filter that returns only components that are part of the specified trial. 65704 // If you specify TrialName, you can't filter by ExperimentName or SourceArn. 65705 TrialName *string `min:"1" type:"string"` 65706 } 65707 65708 // String returns the string representation. 65709 // 65710 // API parameter values that are decorated as "sensitive" in the API will not 65711 // be included in the string output. The member name will be present, but the 65712 // value will be replaced with "sensitive". 65713 func (s ListTrialComponentsInput) String() string { 65714 return awsutil.Prettify(s) 65715 } 65716 65717 // GoString returns the string representation. 65718 // 65719 // API parameter values that are decorated as "sensitive" in the API will not 65720 // be included in the string output. The member name will be present, but the 65721 // value will be replaced with "sensitive". 65722 func (s ListTrialComponentsInput) GoString() string { 65723 return s.String() 65724 } 65725 65726 // Validate inspects the fields of the type to determine if they are valid. 65727 func (s *ListTrialComponentsInput) Validate() error { 65728 invalidParams := request.ErrInvalidParams{Context: "ListTrialComponentsInput"} 65729 if s.ExperimentName != nil && len(*s.ExperimentName) < 1 { 65730 invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1)) 65731 } 65732 if s.MaxResults != nil && *s.MaxResults < 1 { 65733 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 65734 } 65735 if s.TrialName != nil && len(*s.TrialName) < 1 { 65736 invalidParams.Add(request.NewErrParamMinLen("TrialName", 1)) 65737 } 65738 65739 if invalidParams.Len() > 0 { 65740 return invalidParams 65741 } 65742 return nil 65743 } 65744 65745 // SetCreatedAfter sets the CreatedAfter field's value. 65746 func (s *ListTrialComponentsInput) SetCreatedAfter(v time.Time) *ListTrialComponentsInput { 65747 s.CreatedAfter = &v 65748 return s 65749 } 65750 65751 // SetCreatedBefore sets the CreatedBefore field's value. 65752 func (s *ListTrialComponentsInput) SetCreatedBefore(v time.Time) *ListTrialComponentsInput { 65753 s.CreatedBefore = &v 65754 return s 65755 } 65756 65757 // SetExperimentName sets the ExperimentName field's value. 65758 func (s *ListTrialComponentsInput) SetExperimentName(v string) *ListTrialComponentsInput { 65759 s.ExperimentName = &v 65760 return s 65761 } 65762 65763 // SetMaxResults sets the MaxResults field's value. 65764 func (s *ListTrialComponentsInput) SetMaxResults(v int64) *ListTrialComponentsInput { 65765 s.MaxResults = &v 65766 return s 65767 } 65768 65769 // SetNextToken sets the NextToken field's value. 65770 func (s *ListTrialComponentsInput) SetNextToken(v string) *ListTrialComponentsInput { 65771 s.NextToken = &v 65772 return s 65773 } 65774 65775 // SetSortBy sets the SortBy field's value. 65776 func (s *ListTrialComponentsInput) SetSortBy(v string) *ListTrialComponentsInput { 65777 s.SortBy = &v 65778 return s 65779 } 65780 65781 // SetSortOrder sets the SortOrder field's value. 65782 func (s *ListTrialComponentsInput) SetSortOrder(v string) *ListTrialComponentsInput { 65783 s.SortOrder = &v 65784 return s 65785 } 65786 65787 // SetSourceArn sets the SourceArn field's value. 65788 func (s *ListTrialComponentsInput) SetSourceArn(v string) *ListTrialComponentsInput { 65789 s.SourceArn = &v 65790 return s 65791 } 65792 65793 // SetTrialName sets the TrialName field's value. 65794 func (s *ListTrialComponentsInput) SetTrialName(v string) *ListTrialComponentsInput { 65795 s.TrialName = &v 65796 return s 65797 } 65798 65799 type ListTrialComponentsOutput struct { 65800 _ struct{} `type:"structure"` 65801 65802 // A token for getting the next set of components, if there are any. 65803 NextToken *string `type:"string"` 65804 65805 // A list of the summaries of your trial components. 65806 TrialComponentSummaries []*TrialComponentSummary `type:"list"` 65807 } 65808 65809 // String returns the string representation. 65810 // 65811 // API parameter values that are decorated as "sensitive" in the API will not 65812 // be included in the string output. The member name will be present, but the 65813 // value will be replaced with "sensitive". 65814 func (s ListTrialComponentsOutput) String() string { 65815 return awsutil.Prettify(s) 65816 } 65817 65818 // GoString returns the string representation. 65819 // 65820 // API parameter values that are decorated as "sensitive" in the API will not 65821 // be included in the string output. The member name will be present, but the 65822 // value will be replaced with "sensitive". 65823 func (s ListTrialComponentsOutput) GoString() string { 65824 return s.String() 65825 } 65826 65827 // SetNextToken sets the NextToken field's value. 65828 func (s *ListTrialComponentsOutput) SetNextToken(v string) *ListTrialComponentsOutput { 65829 s.NextToken = &v 65830 return s 65831 } 65832 65833 // SetTrialComponentSummaries sets the TrialComponentSummaries field's value. 65834 func (s *ListTrialComponentsOutput) SetTrialComponentSummaries(v []*TrialComponentSummary) *ListTrialComponentsOutput { 65835 s.TrialComponentSummaries = v 65836 return s 65837 } 65838 65839 type ListTrialsInput struct { 65840 _ struct{} `type:"structure"` 65841 65842 // A filter that returns only trials created after the specified time. 65843 CreatedAfter *time.Time `type:"timestamp"` 65844 65845 // A filter that returns only trials created before the specified time. 65846 CreatedBefore *time.Time `type:"timestamp"` 65847 65848 // A filter that returns only trials that are part of the specified experiment. 65849 ExperimentName *string `min:"1" type:"string"` 65850 65851 // The maximum number of trials to return in the response. The default value 65852 // is 10. 65853 MaxResults *int64 `min:"1" type:"integer"` 65854 65855 // If the previous call to ListTrials didn't return the full set of trials, 65856 // the call returns a token for getting the next set of trials. 65857 NextToken *string `type:"string"` 65858 65859 // The property used to sort results. The default value is CreationTime. 65860 SortBy *string `type:"string" enum:"SortTrialsBy"` 65861 65862 // The sort order. The default value is Descending. 65863 SortOrder *string `type:"string" enum:"SortOrder"` 65864 65865 // A filter that returns only trials that are associated with the specified 65866 // trial component. 65867 TrialComponentName *string `min:"1" type:"string"` 65868 } 65869 65870 // String returns the string representation. 65871 // 65872 // API parameter values that are decorated as "sensitive" in the API will not 65873 // be included in the string output. The member name will be present, but the 65874 // value will be replaced with "sensitive". 65875 func (s ListTrialsInput) String() string { 65876 return awsutil.Prettify(s) 65877 } 65878 65879 // GoString returns the string representation. 65880 // 65881 // API parameter values that are decorated as "sensitive" in the API will not 65882 // be included in the string output. The member name will be present, but the 65883 // value will be replaced with "sensitive". 65884 func (s ListTrialsInput) GoString() string { 65885 return s.String() 65886 } 65887 65888 // Validate inspects the fields of the type to determine if they are valid. 65889 func (s *ListTrialsInput) Validate() error { 65890 invalidParams := request.ErrInvalidParams{Context: "ListTrialsInput"} 65891 if s.ExperimentName != nil && len(*s.ExperimentName) < 1 { 65892 invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1)) 65893 } 65894 if s.MaxResults != nil && *s.MaxResults < 1 { 65895 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 65896 } 65897 if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 { 65898 invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1)) 65899 } 65900 65901 if invalidParams.Len() > 0 { 65902 return invalidParams 65903 } 65904 return nil 65905 } 65906 65907 // SetCreatedAfter sets the CreatedAfter field's value. 65908 func (s *ListTrialsInput) SetCreatedAfter(v time.Time) *ListTrialsInput { 65909 s.CreatedAfter = &v 65910 return s 65911 } 65912 65913 // SetCreatedBefore sets the CreatedBefore field's value. 65914 func (s *ListTrialsInput) SetCreatedBefore(v time.Time) *ListTrialsInput { 65915 s.CreatedBefore = &v 65916 return s 65917 } 65918 65919 // SetExperimentName sets the ExperimentName field's value. 65920 func (s *ListTrialsInput) SetExperimentName(v string) *ListTrialsInput { 65921 s.ExperimentName = &v 65922 return s 65923 } 65924 65925 // SetMaxResults sets the MaxResults field's value. 65926 func (s *ListTrialsInput) SetMaxResults(v int64) *ListTrialsInput { 65927 s.MaxResults = &v 65928 return s 65929 } 65930 65931 // SetNextToken sets the NextToken field's value. 65932 func (s *ListTrialsInput) SetNextToken(v string) *ListTrialsInput { 65933 s.NextToken = &v 65934 return s 65935 } 65936 65937 // SetSortBy sets the SortBy field's value. 65938 func (s *ListTrialsInput) SetSortBy(v string) *ListTrialsInput { 65939 s.SortBy = &v 65940 return s 65941 } 65942 65943 // SetSortOrder sets the SortOrder field's value. 65944 func (s *ListTrialsInput) SetSortOrder(v string) *ListTrialsInput { 65945 s.SortOrder = &v 65946 return s 65947 } 65948 65949 // SetTrialComponentName sets the TrialComponentName field's value. 65950 func (s *ListTrialsInput) SetTrialComponentName(v string) *ListTrialsInput { 65951 s.TrialComponentName = &v 65952 return s 65953 } 65954 65955 type ListTrialsOutput struct { 65956 _ struct{} `type:"structure"` 65957 65958 // A token for getting the next set of trials, if there are any. 65959 NextToken *string `type:"string"` 65960 65961 // A list of the summaries of your trials. 65962 TrialSummaries []*TrialSummary `type:"list"` 65963 } 65964 65965 // String returns the string representation. 65966 // 65967 // API parameter values that are decorated as "sensitive" in the API will not 65968 // be included in the string output. The member name will be present, but the 65969 // value will be replaced with "sensitive". 65970 func (s ListTrialsOutput) String() string { 65971 return awsutil.Prettify(s) 65972 } 65973 65974 // GoString returns the string representation. 65975 // 65976 // API parameter values that are decorated as "sensitive" in the API will not 65977 // be included in the string output. The member name will be present, but the 65978 // value will be replaced with "sensitive". 65979 func (s ListTrialsOutput) GoString() string { 65980 return s.String() 65981 } 65982 65983 // SetNextToken sets the NextToken field's value. 65984 func (s *ListTrialsOutput) SetNextToken(v string) *ListTrialsOutput { 65985 s.NextToken = &v 65986 return s 65987 } 65988 65989 // SetTrialSummaries sets the TrialSummaries field's value. 65990 func (s *ListTrialsOutput) SetTrialSummaries(v []*TrialSummary) *ListTrialsOutput { 65991 s.TrialSummaries = v 65992 return s 65993 } 65994 65995 type ListUserProfilesInput struct { 65996 _ struct{} `type:"structure"` 65997 65998 // A parameter by which to filter the results. 65999 DomainIdEquals *string `type:"string"` 66000 66001 // Returns a list up to a specified limit. 66002 MaxResults *int64 `min:"1" type:"integer"` 66003 66004 // If the previous response was truncated, you will receive this token. Use 66005 // it in your next request to receive the next set of results. 66006 NextToken *string `type:"string"` 66007 66008 // The parameter by which to sort the results. The default is CreationTime. 66009 SortBy *string `type:"string" enum:"UserProfileSortKey"` 66010 66011 // The sort order for the results. The default is Ascending. 66012 SortOrder *string `type:"string" enum:"SortOrder"` 66013 66014 // A parameter by which to filter the results. 66015 UserProfileNameContains *string `type:"string"` 66016 } 66017 66018 // String returns the string representation. 66019 // 66020 // API parameter values that are decorated as "sensitive" in the API will not 66021 // be included in the string output. The member name will be present, but the 66022 // value will be replaced with "sensitive". 66023 func (s ListUserProfilesInput) String() string { 66024 return awsutil.Prettify(s) 66025 } 66026 66027 // GoString returns the string representation. 66028 // 66029 // API parameter values that are decorated as "sensitive" in the API will not 66030 // be included in the string output. The member name will be present, but the 66031 // value will be replaced with "sensitive". 66032 func (s ListUserProfilesInput) GoString() string { 66033 return s.String() 66034 } 66035 66036 // Validate inspects the fields of the type to determine if they are valid. 66037 func (s *ListUserProfilesInput) Validate() error { 66038 invalidParams := request.ErrInvalidParams{Context: "ListUserProfilesInput"} 66039 if s.MaxResults != nil && *s.MaxResults < 1 { 66040 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 66041 } 66042 66043 if invalidParams.Len() > 0 { 66044 return invalidParams 66045 } 66046 return nil 66047 } 66048 66049 // SetDomainIdEquals sets the DomainIdEquals field's value. 66050 func (s *ListUserProfilesInput) SetDomainIdEquals(v string) *ListUserProfilesInput { 66051 s.DomainIdEquals = &v 66052 return s 66053 } 66054 66055 // SetMaxResults sets the MaxResults field's value. 66056 func (s *ListUserProfilesInput) SetMaxResults(v int64) *ListUserProfilesInput { 66057 s.MaxResults = &v 66058 return s 66059 } 66060 66061 // SetNextToken sets the NextToken field's value. 66062 func (s *ListUserProfilesInput) SetNextToken(v string) *ListUserProfilesInput { 66063 s.NextToken = &v 66064 return s 66065 } 66066 66067 // SetSortBy sets the SortBy field's value. 66068 func (s *ListUserProfilesInput) SetSortBy(v string) *ListUserProfilesInput { 66069 s.SortBy = &v 66070 return s 66071 } 66072 66073 // SetSortOrder sets the SortOrder field's value. 66074 func (s *ListUserProfilesInput) SetSortOrder(v string) *ListUserProfilesInput { 66075 s.SortOrder = &v 66076 return s 66077 } 66078 66079 // SetUserProfileNameContains sets the UserProfileNameContains field's value. 66080 func (s *ListUserProfilesInput) SetUserProfileNameContains(v string) *ListUserProfilesInput { 66081 s.UserProfileNameContains = &v 66082 return s 66083 } 66084 66085 type ListUserProfilesOutput struct { 66086 _ struct{} `type:"structure"` 66087 66088 // If the previous response was truncated, you will receive this token. Use 66089 // it in your next request to receive the next set of results. 66090 NextToken *string `type:"string"` 66091 66092 // The list of user profiles. 66093 UserProfiles []*UserProfileDetails `type:"list"` 66094 } 66095 66096 // String returns the string representation. 66097 // 66098 // API parameter values that are decorated as "sensitive" in the API will not 66099 // be included in the string output. The member name will be present, but the 66100 // value will be replaced with "sensitive". 66101 func (s ListUserProfilesOutput) String() string { 66102 return awsutil.Prettify(s) 66103 } 66104 66105 // GoString returns the string representation. 66106 // 66107 // API parameter values that are decorated as "sensitive" in the API will not 66108 // be included in the string output. The member name will be present, but the 66109 // value will be replaced with "sensitive". 66110 func (s ListUserProfilesOutput) GoString() string { 66111 return s.String() 66112 } 66113 66114 // SetNextToken sets the NextToken field's value. 66115 func (s *ListUserProfilesOutput) SetNextToken(v string) *ListUserProfilesOutput { 66116 s.NextToken = &v 66117 return s 66118 } 66119 66120 // SetUserProfiles sets the UserProfiles field's value. 66121 func (s *ListUserProfilesOutput) SetUserProfiles(v []*UserProfileDetails) *ListUserProfilesOutput { 66122 s.UserProfiles = v 66123 return s 66124 } 66125 66126 type ListWorkforcesInput struct { 66127 _ struct{} `type:"structure"` 66128 66129 // The maximum number of workforces returned in the response. 66130 MaxResults *int64 `min:"1" type:"integer"` 66131 66132 // A filter you can use to search for workforces using part of the workforce 66133 // name. 66134 NameContains *string `min:"1" type:"string"` 66135 66136 // A token to resume pagination. 66137 NextToken *string `type:"string"` 66138 66139 // Sort workforces using the workforce name or creation date. 66140 SortBy *string `type:"string" enum:"ListWorkforcesSortByOptions"` 66141 66142 // Sort workforces in ascending or descending order. 66143 SortOrder *string `type:"string" enum:"SortOrder"` 66144 } 66145 66146 // String returns the string representation. 66147 // 66148 // API parameter values that are decorated as "sensitive" in the API will not 66149 // be included in the string output. The member name will be present, but the 66150 // value will be replaced with "sensitive". 66151 func (s ListWorkforcesInput) String() string { 66152 return awsutil.Prettify(s) 66153 } 66154 66155 // GoString returns the string representation. 66156 // 66157 // API parameter values that are decorated as "sensitive" in the API will not 66158 // be included in the string output. The member name will be present, but the 66159 // value will be replaced with "sensitive". 66160 func (s ListWorkforcesInput) GoString() string { 66161 return s.String() 66162 } 66163 66164 // Validate inspects the fields of the type to determine if they are valid. 66165 func (s *ListWorkforcesInput) Validate() error { 66166 invalidParams := request.ErrInvalidParams{Context: "ListWorkforcesInput"} 66167 if s.MaxResults != nil && *s.MaxResults < 1 { 66168 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 66169 } 66170 if s.NameContains != nil && len(*s.NameContains) < 1 { 66171 invalidParams.Add(request.NewErrParamMinLen("NameContains", 1)) 66172 } 66173 66174 if invalidParams.Len() > 0 { 66175 return invalidParams 66176 } 66177 return nil 66178 } 66179 66180 // SetMaxResults sets the MaxResults field's value. 66181 func (s *ListWorkforcesInput) SetMaxResults(v int64) *ListWorkforcesInput { 66182 s.MaxResults = &v 66183 return s 66184 } 66185 66186 // SetNameContains sets the NameContains field's value. 66187 func (s *ListWorkforcesInput) SetNameContains(v string) *ListWorkforcesInput { 66188 s.NameContains = &v 66189 return s 66190 } 66191 66192 // SetNextToken sets the NextToken field's value. 66193 func (s *ListWorkforcesInput) SetNextToken(v string) *ListWorkforcesInput { 66194 s.NextToken = &v 66195 return s 66196 } 66197 66198 // SetSortBy sets the SortBy field's value. 66199 func (s *ListWorkforcesInput) SetSortBy(v string) *ListWorkforcesInput { 66200 s.SortBy = &v 66201 return s 66202 } 66203 66204 // SetSortOrder sets the SortOrder field's value. 66205 func (s *ListWorkforcesInput) SetSortOrder(v string) *ListWorkforcesInput { 66206 s.SortOrder = &v 66207 return s 66208 } 66209 66210 type ListWorkforcesOutput struct { 66211 _ struct{} `type:"structure"` 66212 66213 // A token to resume pagination. 66214 NextToken *string `type:"string"` 66215 66216 // A list containing information about your workforce. 66217 // 66218 // Workforces is a required field 66219 Workforces []*Workforce `type:"list" required:"true"` 66220 } 66221 66222 // String returns the string representation. 66223 // 66224 // API parameter values that are decorated as "sensitive" in the API will not 66225 // be included in the string output. The member name will be present, but the 66226 // value will be replaced with "sensitive". 66227 func (s ListWorkforcesOutput) String() string { 66228 return awsutil.Prettify(s) 66229 } 66230 66231 // GoString returns the string representation. 66232 // 66233 // API parameter values that are decorated as "sensitive" in the API will not 66234 // be included in the string output. The member name will be present, but the 66235 // value will be replaced with "sensitive". 66236 func (s ListWorkforcesOutput) GoString() string { 66237 return s.String() 66238 } 66239 66240 // SetNextToken sets the NextToken field's value. 66241 func (s *ListWorkforcesOutput) SetNextToken(v string) *ListWorkforcesOutput { 66242 s.NextToken = &v 66243 return s 66244 } 66245 66246 // SetWorkforces sets the Workforces field's value. 66247 func (s *ListWorkforcesOutput) SetWorkforces(v []*Workforce) *ListWorkforcesOutput { 66248 s.Workforces = v 66249 return s 66250 } 66251 66252 type ListWorkteamsInput struct { 66253 _ struct{} `type:"structure"` 66254 66255 // The maximum number of work teams to return in each page of the response. 66256 MaxResults *int64 `min:"1" type:"integer"` 66257 66258 // A string in the work team's name. This filter returns only work teams whose 66259 // name contains the specified string. 66260 NameContains *string `min:"1" type:"string"` 66261 66262 // If the result of the previous ListWorkteams request was truncated, the response 66263 // includes a NextToken. To retrieve the next set of labeling jobs, use the 66264 // token in the next request. 66265 NextToken *string `type:"string"` 66266 66267 // The field to sort results by. The default is CreationTime. 66268 SortBy *string `type:"string" enum:"ListWorkteamsSortByOptions"` 66269 66270 // The sort order for results. The default is Ascending. 66271 SortOrder *string `type:"string" enum:"SortOrder"` 66272 } 66273 66274 // String returns the string representation. 66275 // 66276 // API parameter values that are decorated as "sensitive" in the API will not 66277 // be included in the string output. The member name will be present, but the 66278 // value will be replaced with "sensitive". 66279 func (s ListWorkteamsInput) String() string { 66280 return awsutil.Prettify(s) 66281 } 66282 66283 // GoString returns the string representation. 66284 // 66285 // API parameter values that are decorated as "sensitive" in the API will not 66286 // be included in the string output. The member name will be present, but the 66287 // value will be replaced with "sensitive". 66288 func (s ListWorkteamsInput) GoString() string { 66289 return s.String() 66290 } 66291 66292 // Validate inspects the fields of the type to determine if they are valid. 66293 func (s *ListWorkteamsInput) Validate() error { 66294 invalidParams := request.ErrInvalidParams{Context: "ListWorkteamsInput"} 66295 if s.MaxResults != nil && *s.MaxResults < 1 { 66296 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 66297 } 66298 if s.NameContains != nil && len(*s.NameContains) < 1 { 66299 invalidParams.Add(request.NewErrParamMinLen("NameContains", 1)) 66300 } 66301 66302 if invalidParams.Len() > 0 { 66303 return invalidParams 66304 } 66305 return nil 66306 } 66307 66308 // SetMaxResults sets the MaxResults field's value. 66309 func (s *ListWorkteamsInput) SetMaxResults(v int64) *ListWorkteamsInput { 66310 s.MaxResults = &v 66311 return s 66312 } 66313 66314 // SetNameContains sets the NameContains field's value. 66315 func (s *ListWorkteamsInput) SetNameContains(v string) *ListWorkteamsInput { 66316 s.NameContains = &v 66317 return s 66318 } 66319 66320 // SetNextToken sets the NextToken field's value. 66321 func (s *ListWorkteamsInput) SetNextToken(v string) *ListWorkteamsInput { 66322 s.NextToken = &v 66323 return s 66324 } 66325 66326 // SetSortBy sets the SortBy field's value. 66327 func (s *ListWorkteamsInput) SetSortBy(v string) *ListWorkteamsInput { 66328 s.SortBy = &v 66329 return s 66330 } 66331 66332 // SetSortOrder sets the SortOrder field's value. 66333 func (s *ListWorkteamsInput) SetSortOrder(v string) *ListWorkteamsInput { 66334 s.SortOrder = &v 66335 return s 66336 } 66337 66338 type ListWorkteamsOutput struct { 66339 _ struct{} `type:"structure"` 66340 66341 // If the response is truncated, Amazon SageMaker returns this token. To retrieve 66342 // the next set of work teams, use it in the subsequent request. 66343 NextToken *string `type:"string"` 66344 66345 // An array of Workteam objects, each describing a work team. 66346 // 66347 // Workteams is a required field 66348 Workteams []*Workteam `type:"list" required:"true"` 66349 } 66350 66351 // String returns the string representation. 66352 // 66353 // API parameter values that are decorated as "sensitive" in the API will not 66354 // be included in the string output. The member name will be present, but the 66355 // value will be replaced with "sensitive". 66356 func (s ListWorkteamsOutput) String() string { 66357 return awsutil.Prettify(s) 66358 } 66359 66360 // GoString returns the string representation. 66361 // 66362 // API parameter values that are decorated as "sensitive" in the API will not 66363 // be included in the string output. The member name will be present, but the 66364 // value will be replaced with "sensitive". 66365 func (s ListWorkteamsOutput) GoString() string { 66366 return s.String() 66367 } 66368 66369 // SetNextToken sets the NextToken field's value. 66370 func (s *ListWorkteamsOutput) SetNextToken(v string) *ListWorkteamsOutput { 66371 s.NextToken = &v 66372 return s 66373 } 66374 66375 // SetWorkteams sets the Workteams field's value. 66376 func (s *ListWorkteamsOutput) SetWorkteams(v []*Workteam) *ListWorkteamsOutput { 66377 s.Workteams = v 66378 return s 66379 } 66380 66381 // Defines an Amazon Cognito or your own OIDC IdP user group that is part of 66382 // a work team. 66383 type MemberDefinition struct { 66384 _ struct{} `type:"structure"` 66385 66386 // The Amazon Cognito user group that is part of the work team. 66387 CognitoMemberDefinition *CognitoMemberDefinition `type:"structure"` 66388 66389 // A list user groups that exist in your OIDC Identity Provider (IdP). One to 66390 // ten groups can be used to create a single private work team. When you add 66391 // a user group to the list of Groups, you can add that user group to one or 66392 // more private work teams. If you add a user group to a private work team, 66393 // all workers in that user group are added to the work team. 66394 OidcMemberDefinition *OidcMemberDefinition `type:"structure"` 66395 } 66396 66397 // String returns the string representation. 66398 // 66399 // API parameter values that are decorated as "sensitive" in the API will not 66400 // be included in the string output. The member name will be present, but the 66401 // value will be replaced with "sensitive". 66402 func (s MemberDefinition) String() string { 66403 return awsutil.Prettify(s) 66404 } 66405 66406 // GoString returns the string representation. 66407 // 66408 // API parameter values that are decorated as "sensitive" in the API will not 66409 // be included in the string output. The member name will be present, but the 66410 // value will be replaced with "sensitive". 66411 func (s MemberDefinition) GoString() string { 66412 return s.String() 66413 } 66414 66415 // Validate inspects the fields of the type to determine if they are valid. 66416 func (s *MemberDefinition) Validate() error { 66417 invalidParams := request.ErrInvalidParams{Context: "MemberDefinition"} 66418 if s.CognitoMemberDefinition != nil { 66419 if err := s.CognitoMemberDefinition.Validate(); err != nil { 66420 invalidParams.AddNested("CognitoMemberDefinition", err.(request.ErrInvalidParams)) 66421 } 66422 } 66423 if s.OidcMemberDefinition != nil { 66424 if err := s.OidcMemberDefinition.Validate(); err != nil { 66425 invalidParams.AddNested("OidcMemberDefinition", err.(request.ErrInvalidParams)) 66426 } 66427 } 66428 66429 if invalidParams.Len() > 0 { 66430 return invalidParams 66431 } 66432 return nil 66433 } 66434 66435 // SetCognitoMemberDefinition sets the CognitoMemberDefinition field's value. 66436 func (s *MemberDefinition) SetCognitoMemberDefinition(v *CognitoMemberDefinition) *MemberDefinition { 66437 s.CognitoMemberDefinition = v 66438 return s 66439 } 66440 66441 // SetOidcMemberDefinition sets the OidcMemberDefinition field's value. 66442 func (s *MemberDefinition) SetOidcMemberDefinition(v *OidcMemberDefinition) *MemberDefinition { 66443 s.OidcMemberDefinition = v 66444 return s 66445 } 66446 66447 // Metadata properties of the tracking entity, trial, or trial component. 66448 type MetadataProperties struct { 66449 _ struct{} `type:"structure"` 66450 66451 // The commit ID. 66452 CommitId *string `type:"string"` 66453 66454 // The entity this entity was generated by. 66455 GeneratedBy *string `type:"string"` 66456 66457 // The project ID. 66458 ProjectId *string `type:"string"` 66459 66460 // The repository. 66461 Repository *string `type:"string"` 66462 } 66463 66464 // String returns the string representation. 66465 // 66466 // API parameter values that are decorated as "sensitive" in the API will not 66467 // be included in the string output. The member name will be present, but the 66468 // value will be replaced with "sensitive". 66469 func (s MetadataProperties) String() string { 66470 return awsutil.Prettify(s) 66471 } 66472 66473 // GoString returns the string representation. 66474 // 66475 // API parameter values that are decorated as "sensitive" in the API will not 66476 // be included in the string output. The member name will be present, but the 66477 // value will be replaced with "sensitive". 66478 func (s MetadataProperties) GoString() string { 66479 return s.String() 66480 } 66481 66482 // SetCommitId sets the CommitId field's value. 66483 func (s *MetadataProperties) SetCommitId(v string) *MetadataProperties { 66484 s.CommitId = &v 66485 return s 66486 } 66487 66488 // SetGeneratedBy sets the GeneratedBy field's value. 66489 func (s *MetadataProperties) SetGeneratedBy(v string) *MetadataProperties { 66490 s.GeneratedBy = &v 66491 return s 66492 } 66493 66494 // SetProjectId sets the ProjectId field's value. 66495 func (s *MetadataProperties) SetProjectId(v string) *MetadataProperties { 66496 s.ProjectId = &v 66497 return s 66498 } 66499 66500 // SetRepository sets the Repository field's value. 66501 func (s *MetadataProperties) SetRepository(v string) *MetadataProperties { 66502 s.Repository = &v 66503 return s 66504 } 66505 66506 // The name, value, and date and time of a metric that was emitted to Amazon 66507 // CloudWatch. 66508 type MetricData struct { 66509 _ struct{} `type:"structure"` 66510 66511 // The name of the metric. 66512 MetricName *string `min:"1" type:"string"` 66513 66514 // The date and time that the algorithm emitted the metric. 66515 Timestamp *time.Time `type:"timestamp"` 66516 66517 // The value of the metric. 66518 Value *float64 `type:"float"` 66519 } 66520 66521 // String returns the string representation. 66522 // 66523 // API parameter values that are decorated as "sensitive" in the API will not 66524 // be included in the string output. The member name will be present, but the 66525 // value will be replaced with "sensitive". 66526 func (s MetricData) String() string { 66527 return awsutil.Prettify(s) 66528 } 66529 66530 // GoString returns the string representation. 66531 // 66532 // API parameter values that are decorated as "sensitive" in the API will not 66533 // be included in the string output. The member name will be present, but the 66534 // value will be replaced with "sensitive". 66535 func (s MetricData) GoString() string { 66536 return s.String() 66537 } 66538 66539 // SetMetricName sets the MetricName field's value. 66540 func (s *MetricData) SetMetricName(v string) *MetricData { 66541 s.MetricName = &v 66542 return s 66543 } 66544 66545 // SetTimestamp sets the Timestamp field's value. 66546 func (s *MetricData) SetTimestamp(v time.Time) *MetricData { 66547 s.Timestamp = &v 66548 return s 66549 } 66550 66551 // SetValue sets the Value field's value. 66552 func (s *MetricData) SetValue(v float64) *MetricData { 66553 s.Value = &v 66554 return s 66555 } 66556 66557 // Information about the metric for a candidate produced by an AutoML job. 66558 type MetricDatum struct { 66559 _ struct{} `type:"structure"` 66560 66561 // The name of the metric. 66562 MetricName *string `type:"string" enum:"AutoMLMetricEnum"` 66563 66564 // The dataset split from which the AutoML job produced the metric. 66565 Set *string `type:"string" enum:"MetricSetSource"` 66566 66567 // The value of the metric. 66568 Value *float64 `type:"float"` 66569 } 66570 66571 // String returns the string representation. 66572 // 66573 // API parameter values that are decorated as "sensitive" in the API will not 66574 // be included in the string output. The member name will be present, but the 66575 // value will be replaced with "sensitive". 66576 func (s MetricDatum) String() string { 66577 return awsutil.Prettify(s) 66578 } 66579 66580 // GoString returns the string representation. 66581 // 66582 // API parameter values that are decorated as "sensitive" in the API will not 66583 // be included in the string output. The member name will be present, but the 66584 // value will be replaced with "sensitive". 66585 func (s MetricDatum) GoString() string { 66586 return s.String() 66587 } 66588 66589 // SetMetricName sets the MetricName field's value. 66590 func (s *MetricDatum) SetMetricName(v string) *MetricDatum { 66591 s.MetricName = &v 66592 return s 66593 } 66594 66595 // SetSet sets the Set field's value. 66596 func (s *MetricDatum) SetSet(v string) *MetricDatum { 66597 s.Set = &v 66598 return s 66599 } 66600 66601 // SetValue sets the Value field's value. 66602 func (s *MetricDatum) SetValue(v float64) *MetricDatum { 66603 s.Value = &v 66604 return s 66605 } 66606 66607 // Specifies a metric that the training algorithm writes to stderr or stdout. 66608 // Amazon SageMakerhyperparameter tuning captures all defined metrics. You specify 66609 // one metric that a hyperparameter tuning job uses as its objective metric 66610 // to choose the best training job. 66611 type MetricDefinition struct { 66612 _ struct{} `type:"structure"` 66613 66614 // The name of the metric. 66615 // 66616 // Name is a required field 66617 Name *string `min:"1" type:"string" required:"true"` 66618 66619 // A regular expression that searches the output of a training job and gets 66620 // the value of the metric. For more information about using regular expressions 66621 // to define metrics, see Defining Objective Metrics (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-define-metrics.html). 66622 // 66623 // Regex is a required field 66624 Regex *string `min:"1" type:"string" required:"true"` 66625 } 66626 66627 // String returns the string representation. 66628 // 66629 // API parameter values that are decorated as "sensitive" in the API will not 66630 // be included in the string output. The member name will be present, but the 66631 // value will be replaced with "sensitive". 66632 func (s MetricDefinition) String() string { 66633 return awsutil.Prettify(s) 66634 } 66635 66636 // GoString returns the string representation. 66637 // 66638 // API parameter values that are decorated as "sensitive" in the API will not 66639 // be included in the string output. The member name will be present, but the 66640 // value will be replaced with "sensitive". 66641 func (s MetricDefinition) GoString() string { 66642 return s.String() 66643 } 66644 66645 // Validate inspects the fields of the type to determine if they are valid. 66646 func (s *MetricDefinition) Validate() error { 66647 invalidParams := request.ErrInvalidParams{Context: "MetricDefinition"} 66648 if s.Name == nil { 66649 invalidParams.Add(request.NewErrParamRequired("Name")) 66650 } 66651 if s.Name != nil && len(*s.Name) < 1 { 66652 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 66653 } 66654 if s.Regex == nil { 66655 invalidParams.Add(request.NewErrParamRequired("Regex")) 66656 } 66657 if s.Regex != nil && len(*s.Regex) < 1 { 66658 invalidParams.Add(request.NewErrParamMinLen("Regex", 1)) 66659 } 66660 66661 if invalidParams.Len() > 0 { 66662 return invalidParams 66663 } 66664 return nil 66665 } 66666 66667 // SetName sets the Name field's value. 66668 func (s *MetricDefinition) SetName(v string) *MetricDefinition { 66669 s.Name = &v 66670 return s 66671 } 66672 66673 // SetRegex sets the Regex field's value. 66674 func (s *MetricDefinition) SetRegex(v string) *MetricDefinition { 66675 s.Regex = &v 66676 return s 66677 } 66678 66679 type MetricsSource struct { 66680 _ struct{} `type:"structure"` 66681 66682 ContentDigest *string `type:"string"` 66683 66684 // ContentType is a required field 66685 ContentType *string `type:"string" required:"true"` 66686 66687 // S3Uri is a required field 66688 S3Uri *string `type:"string" required:"true"` 66689 } 66690 66691 // String returns the string representation. 66692 // 66693 // API parameter values that are decorated as "sensitive" in the API will not 66694 // be included in the string output. The member name will be present, but the 66695 // value will be replaced with "sensitive". 66696 func (s MetricsSource) String() string { 66697 return awsutil.Prettify(s) 66698 } 66699 66700 // GoString returns the string representation. 66701 // 66702 // API parameter values that are decorated as "sensitive" in the API will not 66703 // be included in the string output. The member name will be present, but the 66704 // value will be replaced with "sensitive". 66705 func (s MetricsSource) GoString() string { 66706 return s.String() 66707 } 66708 66709 // Validate inspects the fields of the type to determine if they are valid. 66710 func (s *MetricsSource) Validate() error { 66711 invalidParams := request.ErrInvalidParams{Context: "MetricsSource"} 66712 if s.ContentType == nil { 66713 invalidParams.Add(request.NewErrParamRequired("ContentType")) 66714 } 66715 if s.S3Uri == nil { 66716 invalidParams.Add(request.NewErrParamRequired("S3Uri")) 66717 } 66718 66719 if invalidParams.Len() > 0 { 66720 return invalidParams 66721 } 66722 return nil 66723 } 66724 66725 // SetContentDigest sets the ContentDigest field's value. 66726 func (s *MetricsSource) SetContentDigest(v string) *MetricsSource { 66727 s.ContentDigest = &v 66728 return s 66729 } 66730 66731 // SetContentType sets the ContentType field's value. 66732 func (s *MetricsSource) SetContentType(v string) *MetricsSource { 66733 s.ContentType = &v 66734 return s 66735 } 66736 66737 // SetS3Uri sets the S3Uri field's value. 66738 func (s *MetricsSource) SetS3Uri(v string) *MetricsSource { 66739 s.S3Uri = &v 66740 return s 66741 } 66742 66743 // Provides information about the location that is configured for storing model 66744 // artifacts. 66745 // 66746 // Model artifacts are the output that results from training a model, and typically 66747 // consist of trained parameters, a model defintion that describes how to compute 66748 // inferences, and other metadata. 66749 type ModelArtifacts struct { 66750 _ struct{} `type:"structure"` 66751 66752 // The path of the S3 object that contains the model artifacts. For example, 66753 // s3://bucket-name/keynameprefix/model.tar.gz. 66754 // 66755 // S3ModelArtifacts is a required field 66756 S3ModelArtifacts *string `type:"string" required:"true"` 66757 } 66758 66759 // String returns the string representation. 66760 // 66761 // API parameter values that are decorated as "sensitive" in the API will not 66762 // be included in the string output. The member name will be present, but the 66763 // value will be replaced with "sensitive". 66764 func (s ModelArtifacts) String() string { 66765 return awsutil.Prettify(s) 66766 } 66767 66768 // GoString returns the string representation. 66769 // 66770 // API parameter values that are decorated as "sensitive" in the API will not 66771 // be included in the string output. The member name will be present, but the 66772 // value will be replaced with "sensitive". 66773 func (s ModelArtifacts) GoString() string { 66774 return s.String() 66775 } 66776 66777 // SetS3ModelArtifacts sets the S3ModelArtifacts field's value. 66778 func (s *ModelArtifacts) SetS3ModelArtifacts(v string) *ModelArtifacts { 66779 s.S3ModelArtifacts = &v 66780 return s 66781 } 66782 66783 // Docker container image configuration object for the model bias job. 66784 type ModelBiasAppSpecification struct { 66785 _ struct{} `type:"structure"` 66786 66787 // JSON formatted S3 file that defines bias parameters. For more information 66788 // on this JSON configuration file, see Configure bias parameters (https://docs.aws.amazon.com/sagemaker/latest/json-bias-parameter-config.html). 66789 // 66790 // ConfigUri is a required field 66791 ConfigUri *string `type:"string" required:"true"` 66792 66793 // Sets the environment variables in the Docker container. 66794 Environment map[string]*string `type:"map"` 66795 66796 // The container image to be run by the model bias job. 66797 // 66798 // ImageUri is a required field 66799 ImageUri *string `type:"string" required:"true"` 66800 } 66801 66802 // String returns the string representation. 66803 // 66804 // API parameter values that are decorated as "sensitive" in the API will not 66805 // be included in the string output. The member name will be present, but the 66806 // value will be replaced with "sensitive". 66807 func (s ModelBiasAppSpecification) String() string { 66808 return awsutil.Prettify(s) 66809 } 66810 66811 // GoString returns the string representation. 66812 // 66813 // API parameter values that are decorated as "sensitive" in the API will not 66814 // be included in the string output. The member name will be present, but the 66815 // value will be replaced with "sensitive". 66816 func (s ModelBiasAppSpecification) GoString() string { 66817 return s.String() 66818 } 66819 66820 // Validate inspects the fields of the type to determine if they are valid. 66821 func (s *ModelBiasAppSpecification) Validate() error { 66822 invalidParams := request.ErrInvalidParams{Context: "ModelBiasAppSpecification"} 66823 if s.ConfigUri == nil { 66824 invalidParams.Add(request.NewErrParamRequired("ConfigUri")) 66825 } 66826 if s.ImageUri == nil { 66827 invalidParams.Add(request.NewErrParamRequired("ImageUri")) 66828 } 66829 66830 if invalidParams.Len() > 0 { 66831 return invalidParams 66832 } 66833 return nil 66834 } 66835 66836 // SetConfigUri sets the ConfigUri field's value. 66837 func (s *ModelBiasAppSpecification) SetConfigUri(v string) *ModelBiasAppSpecification { 66838 s.ConfigUri = &v 66839 return s 66840 } 66841 66842 // SetEnvironment sets the Environment field's value. 66843 func (s *ModelBiasAppSpecification) SetEnvironment(v map[string]*string) *ModelBiasAppSpecification { 66844 s.Environment = v 66845 return s 66846 } 66847 66848 // SetImageUri sets the ImageUri field's value. 66849 func (s *ModelBiasAppSpecification) SetImageUri(v string) *ModelBiasAppSpecification { 66850 s.ImageUri = &v 66851 return s 66852 } 66853 66854 // The configuration for a baseline model bias job. 66855 type ModelBiasBaselineConfig struct { 66856 _ struct{} `type:"structure"` 66857 66858 // The name of the baseline model bias job. 66859 BaseliningJobName *string `min:"1" type:"string"` 66860 66861 // The constraints resource for a monitoring job. 66862 ConstraintsResource *MonitoringConstraintsResource `type:"structure"` 66863 } 66864 66865 // String returns the string representation. 66866 // 66867 // API parameter values that are decorated as "sensitive" in the API will not 66868 // be included in the string output. The member name will be present, but the 66869 // value will be replaced with "sensitive". 66870 func (s ModelBiasBaselineConfig) String() string { 66871 return awsutil.Prettify(s) 66872 } 66873 66874 // GoString returns the string representation. 66875 // 66876 // API parameter values that are decorated as "sensitive" in the API will not 66877 // be included in the string output. The member name will be present, but the 66878 // value will be replaced with "sensitive". 66879 func (s ModelBiasBaselineConfig) GoString() string { 66880 return s.String() 66881 } 66882 66883 // Validate inspects the fields of the type to determine if they are valid. 66884 func (s *ModelBiasBaselineConfig) Validate() error { 66885 invalidParams := request.ErrInvalidParams{Context: "ModelBiasBaselineConfig"} 66886 if s.BaseliningJobName != nil && len(*s.BaseliningJobName) < 1 { 66887 invalidParams.Add(request.NewErrParamMinLen("BaseliningJobName", 1)) 66888 } 66889 66890 if invalidParams.Len() > 0 { 66891 return invalidParams 66892 } 66893 return nil 66894 } 66895 66896 // SetBaseliningJobName sets the BaseliningJobName field's value. 66897 func (s *ModelBiasBaselineConfig) SetBaseliningJobName(v string) *ModelBiasBaselineConfig { 66898 s.BaseliningJobName = &v 66899 return s 66900 } 66901 66902 // SetConstraintsResource sets the ConstraintsResource field's value. 66903 func (s *ModelBiasBaselineConfig) SetConstraintsResource(v *MonitoringConstraintsResource) *ModelBiasBaselineConfig { 66904 s.ConstraintsResource = v 66905 return s 66906 } 66907 66908 // Inputs for the model bias job. 66909 type ModelBiasJobInput struct { 66910 _ struct{} `type:"structure"` 66911 66912 // Input object for the endpoint 66913 // 66914 // EndpointInput is a required field 66915 EndpointInput *EndpointInput `type:"structure" required:"true"` 66916 66917 // Location of ground truth labels to use in model bias job. 66918 // 66919 // GroundTruthS3Input is a required field 66920 GroundTruthS3Input *MonitoringGroundTruthS3Input `type:"structure" required:"true"` 66921 } 66922 66923 // String returns the string representation. 66924 // 66925 // API parameter values that are decorated as "sensitive" in the API will not 66926 // be included in the string output. The member name will be present, but the 66927 // value will be replaced with "sensitive". 66928 func (s ModelBiasJobInput) String() string { 66929 return awsutil.Prettify(s) 66930 } 66931 66932 // GoString returns the string representation. 66933 // 66934 // API parameter values that are decorated as "sensitive" in the API will not 66935 // be included in the string output. The member name will be present, but the 66936 // value will be replaced with "sensitive". 66937 func (s ModelBiasJobInput) GoString() string { 66938 return s.String() 66939 } 66940 66941 // Validate inspects the fields of the type to determine if they are valid. 66942 func (s *ModelBiasJobInput) Validate() error { 66943 invalidParams := request.ErrInvalidParams{Context: "ModelBiasJobInput"} 66944 if s.EndpointInput == nil { 66945 invalidParams.Add(request.NewErrParamRequired("EndpointInput")) 66946 } 66947 if s.GroundTruthS3Input == nil { 66948 invalidParams.Add(request.NewErrParamRequired("GroundTruthS3Input")) 66949 } 66950 if s.EndpointInput != nil { 66951 if err := s.EndpointInput.Validate(); err != nil { 66952 invalidParams.AddNested("EndpointInput", err.(request.ErrInvalidParams)) 66953 } 66954 } 66955 66956 if invalidParams.Len() > 0 { 66957 return invalidParams 66958 } 66959 return nil 66960 } 66961 66962 // SetEndpointInput sets the EndpointInput field's value. 66963 func (s *ModelBiasJobInput) SetEndpointInput(v *EndpointInput) *ModelBiasJobInput { 66964 s.EndpointInput = v 66965 return s 66966 } 66967 66968 // SetGroundTruthS3Input sets the GroundTruthS3Input field's value. 66969 func (s *ModelBiasJobInput) SetGroundTruthS3Input(v *MonitoringGroundTruthS3Input) *ModelBiasJobInput { 66970 s.GroundTruthS3Input = v 66971 return s 66972 } 66973 66974 // Configures the timeout and maximum number of retries for processing a transform 66975 // job invocation. 66976 type ModelClientConfig struct { 66977 _ struct{} `type:"structure"` 66978 66979 // The maximum number of retries when invocation requests are failing. 66980 InvocationsMaxRetries *int64 `type:"integer"` 66981 66982 // The timeout value in seconds for an invocation request. 66983 InvocationsTimeoutInSeconds *int64 `min:"1" type:"integer"` 66984 } 66985 66986 // String returns the string representation. 66987 // 66988 // API parameter values that are decorated as "sensitive" in the API will not 66989 // be included in the string output. The member name will be present, but the 66990 // value will be replaced with "sensitive". 66991 func (s ModelClientConfig) String() string { 66992 return awsutil.Prettify(s) 66993 } 66994 66995 // GoString returns the string representation. 66996 // 66997 // API parameter values that are decorated as "sensitive" in the API will not 66998 // be included in the string output. The member name will be present, but the 66999 // value will be replaced with "sensitive". 67000 func (s ModelClientConfig) GoString() string { 67001 return s.String() 67002 } 67003 67004 // Validate inspects the fields of the type to determine if they are valid. 67005 func (s *ModelClientConfig) Validate() error { 67006 invalidParams := request.ErrInvalidParams{Context: "ModelClientConfig"} 67007 if s.InvocationsTimeoutInSeconds != nil && *s.InvocationsTimeoutInSeconds < 1 { 67008 invalidParams.Add(request.NewErrParamMinValue("InvocationsTimeoutInSeconds", 1)) 67009 } 67010 67011 if invalidParams.Len() > 0 { 67012 return invalidParams 67013 } 67014 return nil 67015 } 67016 67017 // SetInvocationsMaxRetries sets the InvocationsMaxRetries field's value. 67018 func (s *ModelClientConfig) SetInvocationsMaxRetries(v int64) *ModelClientConfig { 67019 s.InvocationsMaxRetries = &v 67020 return s 67021 } 67022 67023 // SetInvocationsTimeoutInSeconds sets the InvocationsTimeoutInSeconds field's value. 67024 func (s *ModelClientConfig) SetInvocationsTimeoutInSeconds(v int64) *ModelClientConfig { 67025 s.InvocationsTimeoutInSeconds = &v 67026 return s 67027 } 67028 67029 // Data quality constraints and statistics for a model. 67030 type ModelDataQuality struct { 67031 _ struct{} `type:"structure"` 67032 67033 // Data quality constraints for a model. 67034 Constraints *MetricsSource `type:"structure"` 67035 67036 // Data quality statistics for a model. 67037 Statistics *MetricsSource `type:"structure"` 67038 } 67039 67040 // String returns the string representation. 67041 // 67042 // API parameter values that are decorated as "sensitive" in the API will not 67043 // be included in the string output. The member name will be present, but the 67044 // value will be replaced with "sensitive". 67045 func (s ModelDataQuality) String() string { 67046 return awsutil.Prettify(s) 67047 } 67048 67049 // GoString returns the string representation. 67050 // 67051 // API parameter values that are decorated as "sensitive" in the API will not 67052 // be included in the string output. The member name will be present, but the 67053 // value will be replaced with "sensitive". 67054 func (s ModelDataQuality) GoString() string { 67055 return s.String() 67056 } 67057 67058 // Validate inspects the fields of the type to determine if they are valid. 67059 func (s *ModelDataQuality) Validate() error { 67060 invalidParams := request.ErrInvalidParams{Context: "ModelDataQuality"} 67061 if s.Constraints != nil { 67062 if err := s.Constraints.Validate(); err != nil { 67063 invalidParams.AddNested("Constraints", err.(request.ErrInvalidParams)) 67064 } 67065 } 67066 if s.Statistics != nil { 67067 if err := s.Statistics.Validate(); err != nil { 67068 invalidParams.AddNested("Statistics", err.(request.ErrInvalidParams)) 67069 } 67070 } 67071 67072 if invalidParams.Len() > 0 { 67073 return invalidParams 67074 } 67075 return nil 67076 } 67077 67078 // SetConstraints sets the Constraints field's value. 67079 func (s *ModelDataQuality) SetConstraints(v *MetricsSource) *ModelDataQuality { 67080 s.Constraints = v 67081 return s 67082 } 67083 67084 // SetStatistics sets the Statistics field's value. 67085 func (s *ModelDataQuality) SetStatistics(v *MetricsSource) *ModelDataQuality { 67086 s.Statistics = v 67087 return s 67088 } 67089 67090 // Specifies how to generate the endpoint name for an automatic one-click Autopilot 67091 // model deployment. 67092 type ModelDeployConfig struct { 67093 _ struct{} `type:"structure"` 67094 67095 // Set to True to automatically generate an endpoint name for a one-click Autopilot 67096 // model deployment; set to False otherwise. The default value is False. 67097 // 67098 // If you set AutoGenerateEndpointName to True, do not specify the EndpointName; 67099 // otherwise a 400 error is thrown. 67100 AutoGenerateEndpointName *bool `type:"boolean"` 67101 67102 // Specifies the endpoint name to use for a one-click Autopilot model deployment 67103 // if the endpoint name is not generated automatically. 67104 // 67105 // Specify the EndpointName if and only if you set AutoGenerateEndpointName 67106 // to False; otherwise a 400 error is thrown. 67107 EndpointName *string `type:"string"` 67108 } 67109 67110 // String returns the string representation. 67111 // 67112 // API parameter values that are decorated as "sensitive" in the API will not 67113 // be included in the string output. The member name will be present, but the 67114 // value will be replaced with "sensitive". 67115 func (s ModelDeployConfig) String() string { 67116 return awsutil.Prettify(s) 67117 } 67118 67119 // GoString returns the string representation. 67120 // 67121 // API parameter values that are decorated as "sensitive" in the API will not 67122 // be included in the string output. The member name will be present, but the 67123 // value will be replaced with "sensitive". 67124 func (s ModelDeployConfig) GoString() string { 67125 return s.String() 67126 } 67127 67128 // SetAutoGenerateEndpointName sets the AutoGenerateEndpointName field's value. 67129 func (s *ModelDeployConfig) SetAutoGenerateEndpointName(v bool) *ModelDeployConfig { 67130 s.AutoGenerateEndpointName = &v 67131 return s 67132 } 67133 67134 // SetEndpointName sets the EndpointName field's value. 67135 func (s *ModelDeployConfig) SetEndpointName(v string) *ModelDeployConfig { 67136 s.EndpointName = &v 67137 return s 67138 } 67139 67140 // Provides information about the endpoint of the model deployment. 67141 type ModelDeployResult struct { 67142 _ struct{} `type:"structure"` 67143 67144 // The name of the endpoint to which the model has been deployed. 67145 // 67146 // If model deployment fails, this field is omitted from the response. 67147 EndpointName *string `type:"string"` 67148 } 67149 67150 // String returns the string representation. 67151 // 67152 // API parameter values that are decorated as "sensitive" in the API will not 67153 // be included in the string output. The member name will be present, but the 67154 // value will be replaced with "sensitive". 67155 func (s ModelDeployResult) String() string { 67156 return awsutil.Prettify(s) 67157 } 67158 67159 // GoString returns the string representation. 67160 // 67161 // API parameter values that are decorated as "sensitive" in the API will not 67162 // be included in the string output. The member name will be present, but the 67163 // value will be replaced with "sensitive". 67164 func (s ModelDeployResult) GoString() string { 67165 return s.String() 67166 } 67167 67168 // SetEndpointName sets the EndpointName field's value. 67169 func (s *ModelDeployResult) SetEndpointName(v string) *ModelDeployResult { 67170 s.EndpointName = &v 67171 return s 67172 } 67173 67174 // Provides information to verify the integrity of stored model artifacts. 67175 type ModelDigests struct { 67176 _ struct{} `type:"structure"` 67177 67178 // Provides a hash value that uniquely identifies the stored model artifacts. 67179 ArtifactDigest *string `type:"string"` 67180 } 67181 67182 // String returns the string representation. 67183 // 67184 // API parameter values that are decorated as "sensitive" in the API will not 67185 // be included in the string output. The member name will be present, but the 67186 // value will be replaced with "sensitive". 67187 func (s ModelDigests) String() string { 67188 return awsutil.Prettify(s) 67189 } 67190 67191 // GoString returns the string representation. 67192 // 67193 // API parameter values that are decorated as "sensitive" in the API will not 67194 // be included in the string output. The member name will be present, but the 67195 // value will be replaced with "sensitive". 67196 func (s ModelDigests) GoString() string { 67197 return s.String() 67198 } 67199 67200 // SetArtifactDigest sets the ArtifactDigest field's value. 67201 func (s *ModelDigests) SetArtifactDigest(v string) *ModelDigests { 67202 s.ArtifactDigest = &v 67203 return s 67204 } 67205 67206 // Docker container image configuration object for the model explainability 67207 // job. 67208 type ModelExplainabilityAppSpecification struct { 67209 _ struct{} `type:"structure"` 67210 67211 // JSON formatted S3 file that defines explainability parameters. For more information 67212 // on this JSON configuration file, see Configure model explainability parameters 67213 // (https://docs.aws.amazon.com/sagemaker/latest/json-model-explainability-parameter-config.html). 67214 // 67215 // ConfigUri is a required field 67216 ConfigUri *string `type:"string" required:"true"` 67217 67218 // Sets the environment variables in the Docker container. 67219 Environment map[string]*string `type:"map"` 67220 67221 // The container image to be run by the model explainability job. 67222 // 67223 // ImageUri is a required field 67224 ImageUri *string `type:"string" required:"true"` 67225 } 67226 67227 // String returns the string representation. 67228 // 67229 // API parameter values that are decorated as "sensitive" in the API will not 67230 // be included in the string output. The member name will be present, but the 67231 // value will be replaced with "sensitive". 67232 func (s ModelExplainabilityAppSpecification) String() string { 67233 return awsutil.Prettify(s) 67234 } 67235 67236 // GoString returns the string representation. 67237 // 67238 // API parameter values that are decorated as "sensitive" in the API will not 67239 // be included in the string output. The member name will be present, but the 67240 // value will be replaced with "sensitive". 67241 func (s ModelExplainabilityAppSpecification) GoString() string { 67242 return s.String() 67243 } 67244 67245 // Validate inspects the fields of the type to determine if they are valid. 67246 func (s *ModelExplainabilityAppSpecification) Validate() error { 67247 invalidParams := request.ErrInvalidParams{Context: "ModelExplainabilityAppSpecification"} 67248 if s.ConfigUri == nil { 67249 invalidParams.Add(request.NewErrParamRequired("ConfigUri")) 67250 } 67251 if s.ImageUri == nil { 67252 invalidParams.Add(request.NewErrParamRequired("ImageUri")) 67253 } 67254 67255 if invalidParams.Len() > 0 { 67256 return invalidParams 67257 } 67258 return nil 67259 } 67260 67261 // SetConfigUri sets the ConfigUri field's value. 67262 func (s *ModelExplainabilityAppSpecification) SetConfigUri(v string) *ModelExplainabilityAppSpecification { 67263 s.ConfigUri = &v 67264 return s 67265 } 67266 67267 // SetEnvironment sets the Environment field's value. 67268 func (s *ModelExplainabilityAppSpecification) SetEnvironment(v map[string]*string) *ModelExplainabilityAppSpecification { 67269 s.Environment = v 67270 return s 67271 } 67272 67273 // SetImageUri sets the ImageUri field's value. 67274 func (s *ModelExplainabilityAppSpecification) SetImageUri(v string) *ModelExplainabilityAppSpecification { 67275 s.ImageUri = &v 67276 return s 67277 } 67278 67279 // The configuration for a baseline model explainability job. 67280 type ModelExplainabilityBaselineConfig struct { 67281 _ struct{} `type:"structure"` 67282 67283 // The name of the baseline model explainability job. 67284 BaseliningJobName *string `min:"1" type:"string"` 67285 67286 // The constraints resource for a monitoring job. 67287 ConstraintsResource *MonitoringConstraintsResource `type:"structure"` 67288 } 67289 67290 // String returns the string representation. 67291 // 67292 // API parameter values that are decorated as "sensitive" in the API will not 67293 // be included in the string output. The member name will be present, but the 67294 // value will be replaced with "sensitive". 67295 func (s ModelExplainabilityBaselineConfig) String() string { 67296 return awsutil.Prettify(s) 67297 } 67298 67299 // GoString returns the string representation. 67300 // 67301 // API parameter values that are decorated as "sensitive" in the API will not 67302 // be included in the string output. The member name will be present, but the 67303 // value will be replaced with "sensitive". 67304 func (s ModelExplainabilityBaselineConfig) GoString() string { 67305 return s.String() 67306 } 67307 67308 // Validate inspects the fields of the type to determine if they are valid. 67309 func (s *ModelExplainabilityBaselineConfig) Validate() error { 67310 invalidParams := request.ErrInvalidParams{Context: "ModelExplainabilityBaselineConfig"} 67311 if s.BaseliningJobName != nil && len(*s.BaseliningJobName) < 1 { 67312 invalidParams.Add(request.NewErrParamMinLen("BaseliningJobName", 1)) 67313 } 67314 67315 if invalidParams.Len() > 0 { 67316 return invalidParams 67317 } 67318 return nil 67319 } 67320 67321 // SetBaseliningJobName sets the BaseliningJobName field's value. 67322 func (s *ModelExplainabilityBaselineConfig) SetBaseliningJobName(v string) *ModelExplainabilityBaselineConfig { 67323 s.BaseliningJobName = &v 67324 return s 67325 } 67326 67327 // SetConstraintsResource sets the ConstraintsResource field's value. 67328 func (s *ModelExplainabilityBaselineConfig) SetConstraintsResource(v *MonitoringConstraintsResource) *ModelExplainabilityBaselineConfig { 67329 s.ConstraintsResource = v 67330 return s 67331 } 67332 67333 // Inputs for the model explainability job. 67334 type ModelExplainabilityJobInput struct { 67335 _ struct{} `type:"structure"` 67336 67337 // Input object for the endpoint 67338 // 67339 // EndpointInput is a required field 67340 EndpointInput *EndpointInput `type:"structure" required:"true"` 67341 } 67342 67343 // String returns the string representation. 67344 // 67345 // API parameter values that are decorated as "sensitive" in the API will not 67346 // be included in the string output. The member name will be present, but the 67347 // value will be replaced with "sensitive". 67348 func (s ModelExplainabilityJobInput) String() string { 67349 return awsutil.Prettify(s) 67350 } 67351 67352 // GoString returns the string representation. 67353 // 67354 // API parameter values that are decorated as "sensitive" in the API will not 67355 // be included in the string output. The member name will be present, but the 67356 // value will be replaced with "sensitive". 67357 func (s ModelExplainabilityJobInput) GoString() string { 67358 return s.String() 67359 } 67360 67361 // Validate inspects the fields of the type to determine if they are valid. 67362 func (s *ModelExplainabilityJobInput) Validate() error { 67363 invalidParams := request.ErrInvalidParams{Context: "ModelExplainabilityJobInput"} 67364 if s.EndpointInput == nil { 67365 invalidParams.Add(request.NewErrParamRequired("EndpointInput")) 67366 } 67367 if s.EndpointInput != nil { 67368 if err := s.EndpointInput.Validate(); err != nil { 67369 invalidParams.AddNested("EndpointInput", err.(request.ErrInvalidParams)) 67370 } 67371 } 67372 67373 if invalidParams.Len() > 0 { 67374 return invalidParams 67375 } 67376 return nil 67377 } 67378 67379 // SetEndpointInput sets the EndpointInput field's value. 67380 func (s *ModelExplainabilityJobInput) SetEndpointInput(v *EndpointInput) *ModelExplainabilityJobInput { 67381 s.EndpointInput = v 67382 return s 67383 } 67384 67385 // Contains metrics captured from a model. 67386 type ModelMetrics struct { 67387 _ struct{} `type:"structure"` 67388 67389 // Metrics that measure bais in a model. 67390 Bias *Bias `type:"structure"` 67391 67392 // Metrics that help explain a model. 67393 Explainability *Explainability `type:"structure"` 67394 67395 // Metrics that measure the quality of the input data for a model. 67396 ModelDataQuality *ModelDataQuality `type:"structure"` 67397 67398 // Metrics that measure the quality of a model. 67399 ModelQuality *ModelQuality `type:"structure"` 67400 } 67401 67402 // String returns the string representation. 67403 // 67404 // API parameter values that are decorated as "sensitive" in the API will not 67405 // be included in the string output. The member name will be present, but the 67406 // value will be replaced with "sensitive". 67407 func (s ModelMetrics) String() string { 67408 return awsutil.Prettify(s) 67409 } 67410 67411 // GoString returns the string representation. 67412 // 67413 // API parameter values that are decorated as "sensitive" in the API will not 67414 // be included in the string output. The member name will be present, but the 67415 // value will be replaced with "sensitive". 67416 func (s ModelMetrics) GoString() string { 67417 return s.String() 67418 } 67419 67420 // Validate inspects the fields of the type to determine if they are valid. 67421 func (s *ModelMetrics) Validate() error { 67422 invalidParams := request.ErrInvalidParams{Context: "ModelMetrics"} 67423 if s.Bias != nil { 67424 if err := s.Bias.Validate(); err != nil { 67425 invalidParams.AddNested("Bias", err.(request.ErrInvalidParams)) 67426 } 67427 } 67428 if s.Explainability != nil { 67429 if err := s.Explainability.Validate(); err != nil { 67430 invalidParams.AddNested("Explainability", err.(request.ErrInvalidParams)) 67431 } 67432 } 67433 if s.ModelDataQuality != nil { 67434 if err := s.ModelDataQuality.Validate(); err != nil { 67435 invalidParams.AddNested("ModelDataQuality", err.(request.ErrInvalidParams)) 67436 } 67437 } 67438 if s.ModelQuality != nil { 67439 if err := s.ModelQuality.Validate(); err != nil { 67440 invalidParams.AddNested("ModelQuality", err.(request.ErrInvalidParams)) 67441 } 67442 } 67443 67444 if invalidParams.Len() > 0 { 67445 return invalidParams 67446 } 67447 return nil 67448 } 67449 67450 // SetBias sets the Bias field's value. 67451 func (s *ModelMetrics) SetBias(v *Bias) *ModelMetrics { 67452 s.Bias = v 67453 return s 67454 } 67455 67456 // SetExplainability sets the Explainability field's value. 67457 func (s *ModelMetrics) SetExplainability(v *Explainability) *ModelMetrics { 67458 s.Explainability = v 67459 return s 67460 } 67461 67462 // SetModelDataQuality sets the ModelDataQuality field's value. 67463 func (s *ModelMetrics) SetModelDataQuality(v *ModelDataQuality) *ModelMetrics { 67464 s.ModelDataQuality = v 67465 return s 67466 } 67467 67468 // SetModelQuality sets the ModelQuality field's value. 67469 func (s *ModelMetrics) SetModelQuality(v *ModelQuality) *ModelMetrics { 67470 s.ModelQuality = v 67471 return s 67472 } 67473 67474 // A versioned model that can be deployed for SageMaker inference. 67475 type ModelPackage struct { 67476 _ struct{} `type:"structure"` 67477 67478 // A description provided when the model approval is set. 67479 ApprovalDescription *string `type:"string"` 67480 67481 // Whether the model package is to be certified to be listed on Amazon Web Services 67482 // Marketplace. For information about listing model packages on Amazon Web Services 67483 // Marketplace, see List Your Algorithm or Model Package on Amazon Web Services 67484 // Marketplace (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-mkt-list.html). 67485 CertifyForMarketplace *bool `type:"boolean"` 67486 67487 // Information about the user who created or modified an experiment, trial, 67488 // trial component, or project. 67489 CreatedBy *UserContext `type:"structure"` 67490 67491 // The time that the model package was created. 67492 CreationTime *time.Time `type:"timestamp"` 67493 67494 // Defines how to perform inference generation after a training job is run. 67495 InferenceSpecification *InferenceSpecification `type:"structure"` 67496 67497 // Information about the user who created or modified an experiment, trial, 67498 // trial component, or project. 67499 LastModifiedBy *UserContext `type:"structure"` 67500 67501 // The last time the model package was modified. 67502 LastModifiedTime *time.Time `type:"timestamp"` 67503 67504 // Metadata properties of the tracking entity, trial, or trial component. 67505 MetadataProperties *MetadataProperties `type:"structure"` 67506 67507 // The approval status of the model. This can be one of the following values. 67508 // 67509 // * APPROVED - The model is approved 67510 // 67511 // * REJECTED - The model is rejected. 67512 // 67513 // * PENDING_MANUAL_APPROVAL - The model is waiting for manual approval. 67514 ModelApprovalStatus *string `type:"string" enum:"ModelApprovalStatus"` 67515 67516 // Metrics for the model. 67517 ModelMetrics *ModelMetrics `type:"structure"` 67518 67519 // The Amazon Resource Name (ARN) of the model package. 67520 ModelPackageArn *string `min:"1" type:"string"` 67521 67522 // The description of the model package. 67523 ModelPackageDescription *string `type:"string"` 67524 67525 // The model group to which the model belongs. 67526 ModelPackageGroupName *string `min:"1" type:"string"` 67527 67528 // The name of the model. 67529 ModelPackageName *string `min:"1" type:"string"` 67530 67531 // The status of the model package. This can be one of the following values. 67532 // 67533 // * PENDING - The model package is pending being created. 67534 // 67535 // * IN_PROGRESS - The model package is in the process of being created. 67536 // 67537 // * COMPLETED - The model package was successfully created. 67538 // 67539 // * FAILED - The model package failed. 67540 // 67541 // * DELETING - The model package is in the process of being deleted. 67542 ModelPackageStatus *string `type:"string" enum:"ModelPackageStatus"` 67543 67544 // Specifies the validation and image scan statuses of the model package. 67545 ModelPackageStatusDetails *ModelPackageStatusDetails `type:"structure"` 67546 67547 // The version number of a versioned model. 67548 ModelPackageVersion *int64 `min:"1" type:"integer"` 67549 67550 // A list of algorithms that were used to create a model package. 67551 SourceAlgorithmSpecification *SourceAlgorithmSpecification `type:"structure"` 67552 67553 // A list of the tags associated with the model package. For more information, 67554 // see Tagging Amazon Web Services resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) 67555 // in the Amazon Web Services General Reference Guide. 67556 Tags []*Tag `type:"list"` 67557 67558 // Specifies batch transform jobs that Amazon SageMaker runs to validate your 67559 // model package. 67560 ValidationSpecification *ModelPackageValidationSpecification `type:"structure"` 67561 } 67562 67563 // String returns the string representation. 67564 // 67565 // API parameter values that are decorated as "sensitive" in the API will not 67566 // be included in the string output. The member name will be present, but the 67567 // value will be replaced with "sensitive". 67568 func (s ModelPackage) String() string { 67569 return awsutil.Prettify(s) 67570 } 67571 67572 // GoString returns the string representation. 67573 // 67574 // API parameter values that are decorated as "sensitive" in the API will not 67575 // be included in the string output. The member name will be present, but the 67576 // value will be replaced with "sensitive". 67577 func (s ModelPackage) GoString() string { 67578 return s.String() 67579 } 67580 67581 // SetApprovalDescription sets the ApprovalDescription field's value. 67582 func (s *ModelPackage) SetApprovalDescription(v string) *ModelPackage { 67583 s.ApprovalDescription = &v 67584 return s 67585 } 67586 67587 // SetCertifyForMarketplace sets the CertifyForMarketplace field's value. 67588 func (s *ModelPackage) SetCertifyForMarketplace(v bool) *ModelPackage { 67589 s.CertifyForMarketplace = &v 67590 return s 67591 } 67592 67593 // SetCreatedBy sets the CreatedBy field's value. 67594 func (s *ModelPackage) SetCreatedBy(v *UserContext) *ModelPackage { 67595 s.CreatedBy = v 67596 return s 67597 } 67598 67599 // SetCreationTime sets the CreationTime field's value. 67600 func (s *ModelPackage) SetCreationTime(v time.Time) *ModelPackage { 67601 s.CreationTime = &v 67602 return s 67603 } 67604 67605 // SetInferenceSpecification sets the InferenceSpecification field's value. 67606 func (s *ModelPackage) SetInferenceSpecification(v *InferenceSpecification) *ModelPackage { 67607 s.InferenceSpecification = v 67608 return s 67609 } 67610 67611 // SetLastModifiedBy sets the LastModifiedBy field's value. 67612 func (s *ModelPackage) SetLastModifiedBy(v *UserContext) *ModelPackage { 67613 s.LastModifiedBy = v 67614 return s 67615 } 67616 67617 // SetLastModifiedTime sets the LastModifiedTime field's value. 67618 func (s *ModelPackage) SetLastModifiedTime(v time.Time) *ModelPackage { 67619 s.LastModifiedTime = &v 67620 return s 67621 } 67622 67623 // SetMetadataProperties sets the MetadataProperties field's value. 67624 func (s *ModelPackage) SetMetadataProperties(v *MetadataProperties) *ModelPackage { 67625 s.MetadataProperties = v 67626 return s 67627 } 67628 67629 // SetModelApprovalStatus sets the ModelApprovalStatus field's value. 67630 func (s *ModelPackage) SetModelApprovalStatus(v string) *ModelPackage { 67631 s.ModelApprovalStatus = &v 67632 return s 67633 } 67634 67635 // SetModelMetrics sets the ModelMetrics field's value. 67636 func (s *ModelPackage) SetModelMetrics(v *ModelMetrics) *ModelPackage { 67637 s.ModelMetrics = v 67638 return s 67639 } 67640 67641 // SetModelPackageArn sets the ModelPackageArn field's value. 67642 func (s *ModelPackage) SetModelPackageArn(v string) *ModelPackage { 67643 s.ModelPackageArn = &v 67644 return s 67645 } 67646 67647 // SetModelPackageDescription sets the ModelPackageDescription field's value. 67648 func (s *ModelPackage) SetModelPackageDescription(v string) *ModelPackage { 67649 s.ModelPackageDescription = &v 67650 return s 67651 } 67652 67653 // SetModelPackageGroupName sets the ModelPackageGroupName field's value. 67654 func (s *ModelPackage) SetModelPackageGroupName(v string) *ModelPackage { 67655 s.ModelPackageGroupName = &v 67656 return s 67657 } 67658 67659 // SetModelPackageName sets the ModelPackageName field's value. 67660 func (s *ModelPackage) SetModelPackageName(v string) *ModelPackage { 67661 s.ModelPackageName = &v 67662 return s 67663 } 67664 67665 // SetModelPackageStatus sets the ModelPackageStatus field's value. 67666 func (s *ModelPackage) SetModelPackageStatus(v string) *ModelPackage { 67667 s.ModelPackageStatus = &v 67668 return s 67669 } 67670 67671 // SetModelPackageStatusDetails sets the ModelPackageStatusDetails field's value. 67672 func (s *ModelPackage) SetModelPackageStatusDetails(v *ModelPackageStatusDetails) *ModelPackage { 67673 s.ModelPackageStatusDetails = v 67674 return s 67675 } 67676 67677 // SetModelPackageVersion sets the ModelPackageVersion field's value. 67678 func (s *ModelPackage) SetModelPackageVersion(v int64) *ModelPackage { 67679 s.ModelPackageVersion = &v 67680 return s 67681 } 67682 67683 // SetSourceAlgorithmSpecification sets the SourceAlgorithmSpecification field's value. 67684 func (s *ModelPackage) SetSourceAlgorithmSpecification(v *SourceAlgorithmSpecification) *ModelPackage { 67685 s.SourceAlgorithmSpecification = v 67686 return s 67687 } 67688 67689 // SetTags sets the Tags field's value. 67690 func (s *ModelPackage) SetTags(v []*Tag) *ModelPackage { 67691 s.Tags = v 67692 return s 67693 } 67694 67695 // SetValidationSpecification sets the ValidationSpecification field's value. 67696 func (s *ModelPackage) SetValidationSpecification(v *ModelPackageValidationSpecification) *ModelPackage { 67697 s.ValidationSpecification = v 67698 return s 67699 } 67700 67701 // Describes the Docker container for the model package. 67702 type ModelPackageContainerDefinition struct { 67703 _ struct{} `type:"structure"` 67704 67705 // The DNS host name for the Docker container. 67706 ContainerHostname *string `type:"string"` 67707 67708 // The environment variables to set in the Docker container. Each key and value 67709 // in the Environment string to string map can have length of up to 1024. We 67710 // support up to 16 entries in the map. 67711 Environment map[string]*string `type:"map"` 67712 67713 // The Amazon EC2 Container Registry (Amazon ECR) path where inference code 67714 // is stored. 67715 // 67716 // If you are using your own custom algorithm instead of an algorithm provided 67717 // by Amazon SageMaker, the inference code must meet Amazon SageMaker requirements. 67718 // Amazon SageMaker supports both registry/repository[:tag] and registry/repository[@digest] 67719 // image path formats. For more information, see Using Your Own Algorithms with 67720 // Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html). 67721 // 67722 // Image is a required field 67723 Image *string `type:"string" required:"true"` 67724 67725 // An MD5 hash of the training algorithm that identifies the Docker image used 67726 // for training. 67727 ImageDigest *string `type:"string"` 67728 67729 // The Amazon S3 path where the model artifacts, which result from model training, 67730 // are stored. This path must point to a single gzip compressed tar archive 67731 // (.tar.gz suffix). 67732 // 67733 // The model artifacts must be in an S3 bucket that is in the same region as 67734 // the model package. 67735 ModelDataUrl *string `type:"string"` 67736 67737 // The Amazon Web Services Marketplace product ID of the model package. 67738 ProductId *string `type:"string"` 67739 } 67740 67741 // String returns the string representation. 67742 // 67743 // API parameter values that are decorated as "sensitive" in the API will not 67744 // be included in the string output. The member name will be present, but the 67745 // value will be replaced with "sensitive". 67746 func (s ModelPackageContainerDefinition) String() string { 67747 return awsutil.Prettify(s) 67748 } 67749 67750 // GoString returns the string representation. 67751 // 67752 // API parameter values that are decorated as "sensitive" in the API will not 67753 // be included in the string output. The member name will be present, but the 67754 // value will be replaced with "sensitive". 67755 func (s ModelPackageContainerDefinition) GoString() string { 67756 return s.String() 67757 } 67758 67759 // Validate inspects the fields of the type to determine if they are valid. 67760 func (s *ModelPackageContainerDefinition) Validate() error { 67761 invalidParams := request.ErrInvalidParams{Context: "ModelPackageContainerDefinition"} 67762 if s.Image == nil { 67763 invalidParams.Add(request.NewErrParamRequired("Image")) 67764 } 67765 67766 if invalidParams.Len() > 0 { 67767 return invalidParams 67768 } 67769 return nil 67770 } 67771 67772 // SetContainerHostname sets the ContainerHostname field's value. 67773 func (s *ModelPackageContainerDefinition) SetContainerHostname(v string) *ModelPackageContainerDefinition { 67774 s.ContainerHostname = &v 67775 return s 67776 } 67777 67778 // SetEnvironment sets the Environment field's value. 67779 func (s *ModelPackageContainerDefinition) SetEnvironment(v map[string]*string) *ModelPackageContainerDefinition { 67780 s.Environment = v 67781 return s 67782 } 67783 67784 // SetImage sets the Image field's value. 67785 func (s *ModelPackageContainerDefinition) SetImage(v string) *ModelPackageContainerDefinition { 67786 s.Image = &v 67787 return s 67788 } 67789 67790 // SetImageDigest sets the ImageDigest field's value. 67791 func (s *ModelPackageContainerDefinition) SetImageDigest(v string) *ModelPackageContainerDefinition { 67792 s.ImageDigest = &v 67793 return s 67794 } 67795 67796 // SetModelDataUrl sets the ModelDataUrl field's value. 67797 func (s *ModelPackageContainerDefinition) SetModelDataUrl(v string) *ModelPackageContainerDefinition { 67798 s.ModelDataUrl = &v 67799 return s 67800 } 67801 67802 // SetProductId sets the ProductId field's value. 67803 func (s *ModelPackageContainerDefinition) SetProductId(v string) *ModelPackageContainerDefinition { 67804 s.ProductId = &v 67805 return s 67806 } 67807 67808 // A group of versioned models in the model registry. 67809 type ModelPackageGroup struct { 67810 _ struct{} `type:"structure"` 67811 67812 // Information about the user who created or modified an experiment, trial, 67813 // trial component, or project. 67814 CreatedBy *UserContext `type:"structure"` 67815 67816 // The time that the model group was created. 67817 CreationTime *time.Time `type:"timestamp"` 67818 67819 // The Amazon Resource Name (ARN) of the model group. 67820 ModelPackageGroupArn *string `min:"1" type:"string"` 67821 67822 // The description for the model group. 67823 ModelPackageGroupDescription *string `type:"string"` 67824 67825 // The name of the model group. 67826 ModelPackageGroupName *string `min:"1" type:"string"` 67827 67828 // The status of the model group. This can be one of the following values. 67829 // 67830 // * PENDING - The model group is pending being created. 67831 // 67832 // * IN_PROGRESS - The model group is in the process of being created. 67833 // 67834 // * COMPLETED - The model group was successfully created. 67835 // 67836 // * FAILED - The model group failed. 67837 // 67838 // * DELETING - The model group is in the process of being deleted. 67839 // 67840 // * DELETE_FAILED - SageMaker failed to delete the model group. 67841 ModelPackageGroupStatus *string `type:"string" enum:"ModelPackageGroupStatus"` 67842 67843 // A list of the tags associated with the model group. For more information, 67844 // see Tagging Amazon Web Services resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) 67845 // in the Amazon Web Services General Reference Guide. 67846 Tags []*Tag `type:"list"` 67847 } 67848 67849 // String returns the string representation. 67850 // 67851 // API parameter values that are decorated as "sensitive" in the API will not 67852 // be included in the string output. The member name will be present, but the 67853 // value will be replaced with "sensitive". 67854 func (s ModelPackageGroup) String() string { 67855 return awsutil.Prettify(s) 67856 } 67857 67858 // GoString returns the string representation. 67859 // 67860 // API parameter values that are decorated as "sensitive" in the API will not 67861 // be included in the string output. The member name will be present, but the 67862 // value will be replaced with "sensitive". 67863 func (s ModelPackageGroup) GoString() string { 67864 return s.String() 67865 } 67866 67867 // SetCreatedBy sets the CreatedBy field's value. 67868 func (s *ModelPackageGroup) SetCreatedBy(v *UserContext) *ModelPackageGroup { 67869 s.CreatedBy = v 67870 return s 67871 } 67872 67873 // SetCreationTime sets the CreationTime field's value. 67874 func (s *ModelPackageGroup) SetCreationTime(v time.Time) *ModelPackageGroup { 67875 s.CreationTime = &v 67876 return s 67877 } 67878 67879 // SetModelPackageGroupArn sets the ModelPackageGroupArn field's value. 67880 func (s *ModelPackageGroup) SetModelPackageGroupArn(v string) *ModelPackageGroup { 67881 s.ModelPackageGroupArn = &v 67882 return s 67883 } 67884 67885 // SetModelPackageGroupDescription sets the ModelPackageGroupDescription field's value. 67886 func (s *ModelPackageGroup) SetModelPackageGroupDescription(v string) *ModelPackageGroup { 67887 s.ModelPackageGroupDescription = &v 67888 return s 67889 } 67890 67891 // SetModelPackageGroupName sets the ModelPackageGroupName field's value. 67892 func (s *ModelPackageGroup) SetModelPackageGroupName(v string) *ModelPackageGroup { 67893 s.ModelPackageGroupName = &v 67894 return s 67895 } 67896 67897 // SetModelPackageGroupStatus sets the ModelPackageGroupStatus field's value. 67898 func (s *ModelPackageGroup) SetModelPackageGroupStatus(v string) *ModelPackageGroup { 67899 s.ModelPackageGroupStatus = &v 67900 return s 67901 } 67902 67903 // SetTags sets the Tags field's value. 67904 func (s *ModelPackageGroup) SetTags(v []*Tag) *ModelPackageGroup { 67905 s.Tags = v 67906 return s 67907 } 67908 67909 // Summary information about a model group. 67910 type ModelPackageGroupSummary struct { 67911 _ struct{} `type:"structure"` 67912 67913 // The time that the model group was created. 67914 // 67915 // CreationTime is a required field 67916 CreationTime *time.Time `type:"timestamp" required:"true"` 67917 67918 // The Amazon Resource Name (ARN) of the model group. 67919 // 67920 // ModelPackageGroupArn is a required field 67921 ModelPackageGroupArn *string `min:"1" type:"string" required:"true"` 67922 67923 // A description of the model group. 67924 ModelPackageGroupDescription *string `type:"string"` 67925 67926 // The name of the model group. 67927 // 67928 // ModelPackageGroupName is a required field 67929 ModelPackageGroupName *string `min:"1" type:"string" required:"true"` 67930 67931 // The status of the model group. 67932 // 67933 // ModelPackageGroupStatus is a required field 67934 ModelPackageGroupStatus *string `type:"string" required:"true" enum:"ModelPackageGroupStatus"` 67935 } 67936 67937 // String returns the string representation. 67938 // 67939 // API parameter values that are decorated as "sensitive" in the API will not 67940 // be included in the string output. The member name will be present, but the 67941 // value will be replaced with "sensitive". 67942 func (s ModelPackageGroupSummary) String() string { 67943 return awsutil.Prettify(s) 67944 } 67945 67946 // GoString returns the string representation. 67947 // 67948 // API parameter values that are decorated as "sensitive" in the API will not 67949 // be included in the string output. The member name will be present, but the 67950 // value will be replaced with "sensitive". 67951 func (s ModelPackageGroupSummary) GoString() string { 67952 return s.String() 67953 } 67954 67955 // SetCreationTime sets the CreationTime field's value. 67956 func (s *ModelPackageGroupSummary) SetCreationTime(v time.Time) *ModelPackageGroupSummary { 67957 s.CreationTime = &v 67958 return s 67959 } 67960 67961 // SetModelPackageGroupArn sets the ModelPackageGroupArn field's value. 67962 func (s *ModelPackageGroupSummary) SetModelPackageGroupArn(v string) *ModelPackageGroupSummary { 67963 s.ModelPackageGroupArn = &v 67964 return s 67965 } 67966 67967 // SetModelPackageGroupDescription sets the ModelPackageGroupDescription field's value. 67968 func (s *ModelPackageGroupSummary) SetModelPackageGroupDescription(v string) *ModelPackageGroupSummary { 67969 s.ModelPackageGroupDescription = &v 67970 return s 67971 } 67972 67973 // SetModelPackageGroupName sets the ModelPackageGroupName field's value. 67974 func (s *ModelPackageGroupSummary) SetModelPackageGroupName(v string) *ModelPackageGroupSummary { 67975 s.ModelPackageGroupName = &v 67976 return s 67977 } 67978 67979 // SetModelPackageGroupStatus sets the ModelPackageGroupStatus field's value. 67980 func (s *ModelPackageGroupSummary) SetModelPackageGroupStatus(v string) *ModelPackageGroupSummary { 67981 s.ModelPackageGroupStatus = &v 67982 return s 67983 } 67984 67985 // Specifies the validation and image scan statuses of the model package. 67986 type ModelPackageStatusDetails struct { 67987 _ struct{} `type:"structure"` 67988 67989 // The status of the scan of the Docker image container for the model package. 67990 ImageScanStatuses []*ModelPackageStatusItem `type:"list"` 67991 67992 // The validation status of the model package. 67993 // 67994 // ValidationStatuses is a required field 67995 ValidationStatuses []*ModelPackageStatusItem `type:"list" required:"true"` 67996 } 67997 67998 // String returns the string representation. 67999 // 68000 // API parameter values that are decorated as "sensitive" in the API will not 68001 // be included in the string output. The member name will be present, but the 68002 // value will be replaced with "sensitive". 68003 func (s ModelPackageStatusDetails) String() string { 68004 return awsutil.Prettify(s) 68005 } 68006 68007 // GoString returns the string representation. 68008 // 68009 // API parameter values that are decorated as "sensitive" in the API will not 68010 // be included in the string output. The member name will be present, but the 68011 // value will be replaced with "sensitive". 68012 func (s ModelPackageStatusDetails) GoString() string { 68013 return s.String() 68014 } 68015 68016 // SetImageScanStatuses sets the ImageScanStatuses field's value. 68017 func (s *ModelPackageStatusDetails) SetImageScanStatuses(v []*ModelPackageStatusItem) *ModelPackageStatusDetails { 68018 s.ImageScanStatuses = v 68019 return s 68020 } 68021 68022 // SetValidationStatuses sets the ValidationStatuses field's value. 68023 func (s *ModelPackageStatusDetails) SetValidationStatuses(v []*ModelPackageStatusItem) *ModelPackageStatusDetails { 68024 s.ValidationStatuses = v 68025 return s 68026 } 68027 68028 // Represents the overall status of a model package. 68029 type ModelPackageStatusItem struct { 68030 _ struct{} `type:"structure"` 68031 68032 // if the overall status is Failed, the reason for the failure. 68033 FailureReason *string `type:"string"` 68034 68035 // The name of the model package for which the overall status is being reported. 68036 // 68037 // Name is a required field 68038 Name *string `min:"1" type:"string" required:"true"` 68039 68040 // The current status. 68041 // 68042 // Status is a required field 68043 Status *string `type:"string" required:"true" enum:"DetailedModelPackageStatus"` 68044 } 68045 68046 // String returns the string representation. 68047 // 68048 // API parameter values that are decorated as "sensitive" in the API will not 68049 // be included in the string output. The member name will be present, but the 68050 // value will be replaced with "sensitive". 68051 func (s ModelPackageStatusItem) String() string { 68052 return awsutil.Prettify(s) 68053 } 68054 68055 // GoString returns the string representation. 68056 // 68057 // API parameter values that are decorated as "sensitive" in the API will not 68058 // be included in the string output. The member name will be present, but the 68059 // value will be replaced with "sensitive". 68060 func (s ModelPackageStatusItem) GoString() string { 68061 return s.String() 68062 } 68063 68064 // SetFailureReason sets the FailureReason field's value. 68065 func (s *ModelPackageStatusItem) SetFailureReason(v string) *ModelPackageStatusItem { 68066 s.FailureReason = &v 68067 return s 68068 } 68069 68070 // SetName sets the Name field's value. 68071 func (s *ModelPackageStatusItem) SetName(v string) *ModelPackageStatusItem { 68072 s.Name = &v 68073 return s 68074 } 68075 68076 // SetStatus sets the Status field's value. 68077 func (s *ModelPackageStatusItem) SetStatus(v string) *ModelPackageStatusItem { 68078 s.Status = &v 68079 return s 68080 } 68081 68082 // Provides summary information about a model package. 68083 type ModelPackageSummary struct { 68084 _ struct{} `type:"structure"` 68085 68086 // A timestamp that shows when the model package was created. 68087 // 68088 // CreationTime is a required field 68089 CreationTime *time.Time `type:"timestamp" required:"true"` 68090 68091 // The approval status of the model. This can be one of the following values. 68092 // 68093 // * APPROVED - The model is approved 68094 // 68095 // * REJECTED - The model is rejected. 68096 // 68097 // * PENDING_MANUAL_APPROVAL - The model is waiting for manual approval. 68098 ModelApprovalStatus *string `type:"string" enum:"ModelApprovalStatus"` 68099 68100 // The Amazon Resource Name (ARN) of the model package. 68101 // 68102 // ModelPackageArn is a required field 68103 ModelPackageArn *string `min:"1" type:"string" required:"true"` 68104 68105 // A brief description of the model package. 68106 ModelPackageDescription *string `type:"string"` 68107 68108 // If the model package is a versioned model, the model group that the versioned 68109 // model belongs to. 68110 ModelPackageGroupName *string `min:"1" type:"string"` 68111 68112 // The name of the model package. 68113 // 68114 // ModelPackageName is a required field 68115 ModelPackageName *string `min:"1" type:"string" required:"true"` 68116 68117 // The overall status of the model package. 68118 // 68119 // ModelPackageStatus is a required field 68120 ModelPackageStatus *string `type:"string" required:"true" enum:"ModelPackageStatus"` 68121 68122 // If the model package is a versioned model, the version of the model. 68123 ModelPackageVersion *int64 `min:"1" type:"integer"` 68124 } 68125 68126 // String returns the string representation. 68127 // 68128 // API parameter values that are decorated as "sensitive" in the API will not 68129 // be included in the string output. The member name will be present, but the 68130 // value will be replaced with "sensitive". 68131 func (s ModelPackageSummary) String() string { 68132 return awsutil.Prettify(s) 68133 } 68134 68135 // GoString returns the string representation. 68136 // 68137 // API parameter values that are decorated as "sensitive" in the API will not 68138 // be included in the string output. The member name will be present, but the 68139 // value will be replaced with "sensitive". 68140 func (s ModelPackageSummary) GoString() string { 68141 return s.String() 68142 } 68143 68144 // SetCreationTime sets the CreationTime field's value. 68145 func (s *ModelPackageSummary) SetCreationTime(v time.Time) *ModelPackageSummary { 68146 s.CreationTime = &v 68147 return s 68148 } 68149 68150 // SetModelApprovalStatus sets the ModelApprovalStatus field's value. 68151 func (s *ModelPackageSummary) SetModelApprovalStatus(v string) *ModelPackageSummary { 68152 s.ModelApprovalStatus = &v 68153 return s 68154 } 68155 68156 // SetModelPackageArn sets the ModelPackageArn field's value. 68157 func (s *ModelPackageSummary) SetModelPackageArn(v string) *ModelPackageSummary { 68158 s.ModelPackageArn = &v 68159 return s 68160 } 68161 68162 // SetModelPackageDescription sets the ModelPackageDescription field's value. 68163 func (s *ModelPackageSummary) SetModelPackageDescription(v string) *ModelPackageSummary { 68164 s.ModelPackageDescription = &v 68165 return s 68166 } 68167 68168 // SetModelPackageGroupName sets the ModelPackageGroupName field's value. 68169 func (s *ModelPackageSummary) SetModelPackageGroupName(v string) *ModelPackageSummary { 68170 s.ModelPackageGroupName = &v 68171 return s 68172 } 68173 68174 // SetModelPackageName sets the ModelPackageName field's value. 68175 func (s *ModelPackageSummary) SetModelPackageName(v string) *ModelPackageSummary { 68176 s.ModelPackageName = &v 68177 return s 68178 } 68179 68180 // SetModelPackageStatus sets the ModelPackageStatus field's value. 68181 func (s *ModelPackageSummary) SetModelPackageStatus(v string) *ModelPackageSummary { 68182 s.ModelPackageStatus = &v 68183 return s 68184 } 68185 68186 // SetModelPackageVersion sets the ModelPackageVersion field's value. 68187 func (s *ModelPackageSummary) SetModelPackageVersion(v int64) *ModelPackageSummary { 68188 s.ModelPackageVersion = &v 68189 return s 68190 } 68191 68192 // Contains data, such as the inputs and targeted instance types that are used 68193 // in the process of validating the model package. 68194 // 68195 // The data provided in the validation profile is made available to your buyers 68196 // on Amazon Web Services Marketplace. 68197 type ModelPackageValidationProfile struct { 68198 _ struct{} `type:"structure"` 68199 68200 // The name of the profile for the model package. 68201 // 68202 // ProfileName is a required field 68203 ProfileName *string `min:"1" type:"string" required:"true"` 68204 68205 // The TransformJobDefinition object that describes the transform job used for 68206 // the validation of the model package. 68207 // 68208 // TransformJobDefinition is a required field 68209 TransformJobDefinition *TransformJobDefinition `type:"structure" required:"true"` 68210 } 68211 68212 // String returns the string representation. 68213 // 68214 // API parameter values that are decorated as "sensitive" in the API will not 68215 // be included in the string output. The member name will be present, but the 68216 // value will be replaced with "sensitive". 68217 func (s ModelPackageValidationProfile) String() string { 68218 return awsutil.Prettify(s) 68219 } 68220 68221 // GoString returns the string representation. 68222 // 68223 // API parameter values that are decorated as "sensitive" in the API will not 68224 // be included in the string output. The member name will be present, but the 68225 // value will be replaced with "sensitive". 68226 func (s ModelPackageValidationProfile) GoString() string { 68227 return s.String() 68228 } 68229 68230 // Validate inspects the fields of the type to determine if they are valid. 68231 func (s *ModelPackageValidationProfile) Validate() error { 68232 invalidParams := request.ErrInvalidParams{Context: "ModelPackageValidationProfile"} 68233 if s.ProfileName == nil { 68234 invalidParams.Add(request.NewErrParamRequired("ProfileName")) 68235 } 68236 if s.ProfileName != nil && len(*s.ProfileName) < 1 { 68237 invalidParams.Add(request.NewErrParamMinLen("ProfileName", 1)) 68238 } 68239 if s.TransformJobDefinition == nil { 68240 invalidParams.Add(request.NewErrParamRequired("TransformJobDefinition")) 68241 } 68242 if s.TransformJobDefinition != nil { 68243 if err := s.TransformJobDefinition.Validate(); err != nil { 68244 invalidParams.AddNested("TransformJobDefinition", err.(request.ErrInvalidParams)) 68245 } 68246 } 68247 68248 if invalidParams.Len() > 0 { 68249 return invalidParams 68250 } 68251 return nil 68252 } 68253 68254 // SetProfileName sets the ProfileName field's value. 68255 func (s *ModelPackageValidationProfile) SetProfileName(v string) *ModelPackageValidationProfile { 68256 s.ProfileName = &v 68257 return s 68258 } 68259 68260 // SetTransformJobDefinition sets the TransformJobDefinition field's value. 68261 func (s *ModelPackageValidationProfile) SetTransformJobDefinition(v *TransformJobDefinition) *ModelPackageValidationProfile { 68262 s.TransformJobDefinition = v 68263 return s 68264 } 68265 68266 // Specifies batch transform jobs that Amazon SageMaker runs to validate your 68267 // model package. 68268 type ModelPackageValidationSpecification struct { 68269 _ struct{} `type:"structure"` 68270 68271 // An array of ModelPackageValidationProfile objects, each of which specifies 68272 // a batch transform job that Amazon SageMaker runs to validate your model package. 68273 // 68274 // ValidationProfiles is a required field 68275 ValidationProfiles []*ModelPackageValidationProfile `min:"1" type:"list" required:"true"` 68276 68277 // The IAM roles to be used for the validation of the model package. 68278 // 68279 // ValidationRole is a required field 68280 ValidationRole *string `min:"20" type:"string" required:"true"` 68281 } 68282 68283 // String returns the string representation. 68284 // 68285 // API parameter values that are decorated as "sensitive" in the API will not 68286 // be included in the string output. The member name will be present, but the 68287 // value will be replaced with "sensitive". 68288 func (s ModelPackageValidationSpecification) String() string { 68289 return awsutil.Prettify(s) 68290 } 68291 68292 // GoString returns the string representation. 68293 // 68294 // API parameter values that are decorated as "sensitive" in the API will not 68295 // be included in the string output. The member name will be present, but the 68296 // value will be replaced with "sensitive". 68297 func (s ModelPackageValidationSpecification) GoString() string { 68298 return s.String() 68299 } 68300 68301 // Validate inspects the fields of the type to determine if they are valid. 68302 func (s *ModelPackageValidationSpecification) Validate() error { 68303 invalidParams := request.ErrInvalidParams{Context: "ModelPackageValidationSpecification"} 68304 if s.ValidationProfiles == nil { 68305 invalidParams.Add(request.NewErrParamRequired("ValidationProfiles")) 68306 } 68307 if s.ValidationProfiles != nil && len(s.ValidationProfiles) < 1 { 68308 invalidParams.Add(request.NewErrParamMinLen("ValidationProfiles", 1)) 68309 } 68310 if s.ValidationRole == nil { 68311 invalidParams.Add(request.NewErrParamRequired("ValidationRole")) 68312 } 68313 if s.ValidationRole != nil && len(*s.ValidationRole) < 20 { 68314 invalidParams.Add(request.NewErrParamMinLen("ValidationRole", 20)) 68315 } 68316 if s.ValidationProfiles != nil { 68317 for i, v := range s.ValidationProfiles { 68318 if v == nil { 68319 continue 68320 } 68321 if err := v.Validate(); err != nil { 68322 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ValidationProfiles", i), err.(request.ErrInvalidParams)) 68323 } 68324 } 68325 } 68326 68327 if invalidParams.Len() > 0 { 68328 return invalidParams 68329 } 68330 return nil 68331 } 68332 68333 // SetValidationProfiles sets the ValidationProfiles field's value. 68334 func (s *ModelPackageValidationSpecification) SetValidationProfiles(v []*ModelPackageValidationProfile) *ModelPackageValidationSpecification { 68335 s.ValidationProfiles = v 68336 return s 68337 } 68338 68339 // SetValidationRole sets the ValidationRole field's value. 68340 func (s *ModelPackageValidationSpecification) SetValidationRole(v string) *ModelPackageValidationSpecification { 68341 s.ValidationRole = &v 68342 return s 68343 } 68344 68345 // Model quality statistics and constraints. 68346 type ModelQuality struct { 68347 _ struct{} `type:"structure"` 68348 68349 // Model quality constraints. 68350 Constraints *MetricsSource `type:"structure"` 68351 68352 // Model quality statistics. 68353 Statistics *MetricsSource `type:"structure"` 68354 } 68355 68356 // String returns the string representation. 68357 // 68358 // API parameter values that are decorated as "sensitive" in the API will not 68359 // be included in the string output. The member name will be present, but the 68360 // value will be replaced with "sensitive". 68361 func (s ModelQuality) String() string { 68362 return awsutil.Prettify(s) 68363 } 68364 68365 // GoString returns the string representation. 68366 // 68367 // API parameter values that are decorated as "sensitive" in the API will not 68368 // be included in the string output. The member name will be present, but the 68369 // value will be replaced with "sensitive". 68370 func (s ModelQuality) GoString() string { 68371 return s.String() 68372 } 68373 68374 // Validate inspects the fields of the type to determine if they are valid. 68375 func (s *ModelQuality) Validate() error { 68376 invalidParams := request.ErrInvalidParams{Context: "ModelQuality"} 68377 if s.Constraints != nil { 68378 if err := s.Constraints.Validate(); err != nil { 68379 invalidParams.AddNested("Constraints", err.(request.ErrInvalidParams)) 68380 } 68381 } 68382 if s.Statistics != nil { 68383 if err := s.Statistics.Validate(); err != nil { 68384 invalidParams.AddNested("Statistics", err.(request.ErrInvalidParams)) 68385 } 68386 } 68387 68388 if invalidParams.Len() > 0 { 68389 return invalidParams 68390 } 68391 return nil 68392 } 68393 68394 // SetConstraints sets the Constraints field's value. 68395 func (s *ModelQuality) SetConstraints(v *MetricsSource) *ModelQuality { 68396 s.Constraints = v 68397 return s 68398 } 68399 68400 // SetStatistics sets the Statistics field's value. 68401 func (s *ModelQuality) SetStatistics(v *MetricsSource) *ModelQuality { 68402 s.Statistics = v 68403 return s 68404 } 68405 68406 // Container image configuration object for the monitoring job. 68407 type ModelQualityAppSpecification struct { 68408 _ struct{} `type:"structure"` 68409 68410 // An array of arguments for the container used to run the monitoring job. 68411 ContainerArguments []*string `min:"1" type:"list"` 68412 68413 // Specifies the entrypoint for a container that the monitoring job runs. 68414 ContainerEntrypoint []*string `min:"1" type:"list"` 68415 68416 // Sets the environment variables in the container that the monitoring job runs. 68417 Environment map[string]*string `type:"map"` 68418 68419 // The address of the container image that the monitoring job runs. 68420 // 68421 // ImageUri is a required field 68422 ImageUri *string `type:"string" required:"true"` 68423 68424 // An Amazon S3 URI to a script that is called after analysis has been performed. 68425 // Applicable only for the built-in (first party) containers. 68426 PostAnalyticsProcessorSourceUri *string `type:"string"` 68427 68428 // The machine learning problem type of the model that the monitoring job monitors. 68429 ProblemType *string `type:"string" enum:"MonitoringProblemType"` 68430 68431 // An Amazon S3 URI to a script that is called per row prior to running analysis. 68432 // It can base64 decode the payload and convert it into a flatted json so that 68433 // the built-in container can use the converted data. Applicable only for the 68434 // built-in (first party) containers. 68435 RecordPreprocessorSourceUri *string `type:"string"` 68436 } 68437 68438 // String returns the string representation. 68439 // 68440 // API parameter values that are decorated as "sensitive" in the API will not 68441 // be included in the string output. The member name will be present, but the 68442 // value will be replaced with "sensitive". 68443 func (s ModelQualityAppSpecification) String() string { 68444 return awsutil.Prettify(s) 68445 } 68446 68447 // GoString returns the string representation. 68448 // 68449 // API parameter values that are decorated as "sensitive" in the API will not 68450 // be included in the string output. The member name will be present, but the 68451 // value will be replaced with "sensitive". 68452 func (s ModelQualityAppSpecification) GoString() string { 68453 return s.String() 68454 } 68455 68456 // Validate inspects the fields of the type to determine if they are valid. 68457 func (s *ModelQualityAppSpecification) Validate() error { 68458 invalidParams := request.ErrInvalidParams{Context: "ModelQualityAppSpecification"} 68459 if s.ContainerArguments != nil && len(s.ContainerArguments) < 1 { 68460 invalidParams.Add(request.NewErrParamMinLen("ContainerArguments", 1)) 68461 } 68462 if s.ContainerEntrypoint != nil && len(s.ContainerEntrypoint) < 1 { 68463 invalidParams.Add(request.NewErrParamMinLen("ContainerEntrypoint", 1)) 68464 } 68465 if s.ImageUri == nil { 68466 invalidParams.Add(request.NewErrParamRequired("ImageUri")) 68467 } 68468 68469 if invalidParams.Len() > 0 { 68470 return invalidParams 68471 } 68472 return nil 68473 } 68474 68475 // SetContainerArguments sets the ContainerArguments field's value. 68476 func (s *ModelQualityAppSpecification) SetContainerArguments(v []*string) *ModelQualityAppSpecification { 68477 s.ContainerArguments = v 68478 return s 68479 } 68480 68481 // SetContainerEntrypoint sets the ContainerEntrypoint field's value. 68482 func (s *ModelQualityAppSpecification) SetContainerEntrypoint(v []*string) *ModelQualityAppSpecification { 68483 s.ContainerEntrypoint = v 68484 return s 68485 } 68486 68487 // SetEnvironment sets the Environment field's value. 68488 func (s *ModelQualityAppSpecification) SetEnvironment(v map[string]*string) *ModelQualityAppSpecification { 68489 s.Environment = v 68490 return s 68491 } 68492 68493 // SetImageUri sets the ImageUri field's value. 68494 func (s *ModelQualityAppSpecification) SetImageUri(v string) *ModelQualityAppSpecification { 68495 s.ImageUri = &v 68496 return s 68497 } 68498 68499 // SetPostAnalyticsProcessorSourceUri sets the PostAnalyticsProcessorSourceUri field's value. 68500 func (s *ModelQualityAppSpecification) SetPostAnalyticsProcessorSourceUri(v string) *ModelQualityAppSpecification { 68501 s.PostAnalyticsProcessorSourceUri = &v 68502 return s 68503 } 68504 68505 // SetProblemType sets the ProblemType field's value. 68506 func (s *ModelQualityAppSpecification) SetProblemType(v string) *ModelQualityAppSpecification { 68507 s.ProblemType = &v 68508 return s 68509 } 68510 68511 // SetRecordPreprocessorSourceUri sets the RecordPreprocessorSourceUri field's value. 68512 func (s *ModelQualityAppSpecification) SetRecordPreprocessorSourceUri(v string) *ModelQualityAppSpecification { 68513 s.RecordPreprocessorSourceUri = &v 68514 return s 68515 } 68516 68517 // Configuration for monitoring constraints and monitoring statistics. These 68518 // baseline resources are compared against the results of the current job from 68519 // the series of jobs scheduled to collect data periodically. 68520 type ModelQualityBaselineConfig struct { 68521 _ struct{} `type:"structure"` 68522 68523 // The name of the job that performs baselining for the monitoring job. 68524 BaseliningJobName *string `min:"1" type:"string"` 68525 68526 // The constraints resource for a monitoring job. 68527 ConstraintsResource *MonitoringConstraintsResource `type:"structure"` 68528 } 68529 68530 // String returns the string representation. 68531 // 68532 // API parameter values that are decorated as "sensitive" in the API will not 68533 // be included in the string output. The member name will be present, but the 68534 // value will be replaced with "sensitive". 68535 func (s ModelQualityBaselineConfig) String() string { 68536 return awsutil.Prettify(s) 68537 } 68538 68539 // GoString returns the string representation. 68540 // 68541 // API parameter values that are decorated as "sensitive" in the API will not 68542 // be included in the string output. The member name will be present, but the 68543 // value will be replaced with "sensitive". 68544 func (s ModelQualityBaselineConfig) GoString() string { 68545 return s.String() 68546 } 68547 68548 // Validate inspects the fields of the type to determine if they are valid. 68549 func (s *ModelQualityBaselineConfig) Validate() error { 68550 invalidParams := request.ErrInvalidParams{Context: "ModelQualityBaselineConfig"} 68551 if s.BaseliningJobName != nil && len(*s.BaseliningJobName) < 1 { 68552 invalidParams.Add(request.NewErrParamMinLen("BaseliningJobName", 1)) 68553 } 68554 68555 if invalidParams.Len() > 0 { 68556 return invalidParams 68557 } 68558 return nil 68559 } 68560 68561 // SetBaseliningJobName sets the BaseliningJobName field's value. 68562 func (s *ModelQualityBaselineConfig) SetBaseliningJobName(v string) *ModelQualityBaselineConfig { 68563 s.BaseliningJobName = &v 68564 return s 68565 } 68566 68567 // SetConstraintsResource sets the ConstraintsResource field's value. 68568 func (s *ModelQualityBaselineConfig) SetConstraintsResource(v *MonitoringConstraintsResource) *ModelQualityBaselineConfig { 68569 s.ConstraintsResource = v 68570 return s 68571 } 68572 68573 // The input for the model quality monitoring job. Currently endponts are supported 68574 // for input for model quality monitoring jobs. 68575 type ModelQualityJobInput struct { 68576 _ struct{} `type:"structure"` 68577 68578 // Input object for the endpoint 68579 // 68580 // EndpointInput is a required field 68581 EndpointInput *EndpointInput `type:"structure" required:"true"` 68582 68583 // The ground truth label provided for the model. 68584 // 68585 // GroundTruthS3Input is a required field 68586 GroundTruthS3Input *MonitoringGroundTruthS3Input `type:"structure" required:"true"` 68587 } 68588 68589 // String returns the string representation. 68590 // 68591 // API parameter values that are decorated as "sensitive" in the API will not 68592 // be included in the string output. The member name will be present, but the 68593 // value will be replaced with "sensitive". 68594 func (s ModelQualityJobInput) String() string { 68595 return awsutil.Prettify(s) 68596 } 68597 68598 // GoString returns the string representation. 68599 // 68600 // API parameter values that are decorated as "sensitive" in the API will not 68601 // be included in the string output. The member name will be present, but the 68602 // value will be replaced with "sensitive". 68603 func (s ModelQualityJobInput) GoString() string { 68604 return s.String() 68605 } 68606 68607 // Validate inspects the fields of the type to determine if they are valid. 68608 func (s *ModelQualityJobInput) Validate() error { 68609 invalidParams := request.ErrInvalidParams{Context: "ModelQualityJobInput"} 68610 if s.EndpointInput == nil { 68611 invalidParams.Add(request.NewErrParamRequired("EndpointInput")) 68612 } 68613 if s.GroundTruthS3Input == nil { 68614 invalidParams.Add(request.NewErrParamRequired("GroundTruthS3Input")) 68615 } 68616 if s.EndpointInput != nil { 68617 if err := s.EndpointInput.Validate(); err != nil { 68618 invalidParams.AddNested("EndpointInput", err.(request.ErrInvalidParams)) 68619 } 68620 } 68621 68622 if invalidParams.Len() > 0 { 68623 return invalidParams 68624 } 68625 return nil 68626 } 68627 68628 // SetEndpointInput sets the EndpointInput field's value. 68629 func (s *ModelQualityJobInput) SetEndpointInput(v *EndpointInput) *ModelQualityJobInput { 68630 s.EndpointInput = v 68631 return s 68632 } 68633 68634 // SetGroundTruthS3Input sets the GroundTruthS3Input field's value. 68635 func (s *ModelQualityJobInput) SetGroundTruthS3Input(v *MonitoringGroundTruthS3Input) *ModelQualityJobInput { 68636 s.GroundTruthS3Input = v 68637 return s 68638 } 68639 68640 // Metadata for Model steps. 68641 type ModelStepMetadata struct { 68642 _ struct{} `type:"structure"` 68643 68644 // The Amazon Resource Name (ARN) of the created model. 68645 Arn *string `type:"string"` 68646 } 68647 68648 // String returns the string representation. 68649 // 68650 // API parameter values that are decorated as "sensitive" in the API will not 68651 // be included in the string output. The member name will be present, but the 68652 // value will be replaced with "sensitive". 68653 func (s ModelStepMetadata) String() string { 68654 return awsutil.Prettify(s) 68655 } 68656 68657 // GoString returns the string representation. 68658 // 68659 // API parameter values that are decorated as "sensitive" in the API will not 68660 // be included in the string output. The member name will be present, but the 68661 // value will be replaced with "sensitive". 68662 func (s ModelStepMetadata) GoString() string { 68663 return s.String() 68664 } 68665 68666 // SetArn sets the Arn field's value. 68667 func (s *ModelStepMetadata) SetArn(v string) *ModelStepMetadata { 68668 s.Arn = &v 68669 return s 68670 } 68671 68672 // Provides summary information about a model. 68673 type ModelSummary struct { 68674 _ struct{} `type:"structure"` 68675 68676 // A timestamp that indicates when the model was created. 68677 // 68678 // CreationTime is a required field 68679 CreationTime *time.Time `type:"timestamp" required:"true"` 68680 68681 // The Amazon Resource Name (ARN) of the model. 68682 // 68683 // ModelArn is a required field 68684 ModelArn *string `min:"20" type:"string" required:"true"` 68685 68686 // The name of the model that you want a summary for. 68687 // 68688 // ModelName is a required field 68689 ModelName *string `type:"string" required:"true"` 68690 } 68691 68692 // String returns the string representation. 68693 // 68694 // API parameter values that are decorated as "sensitive" in the API will not 68695 // be included in the string output. The member name will be present, but the 68696 // value will be replaced with "sensitive". 68697 func (s ModelSummary) String() string { 68698 return awsutil.Prettify(s) 68699 } 68700 68701 // GoString returns the string representation. 68702 // 68703 // API parameter values that are decorated as "sensitive" in the API will not 68704 // be included in the string output. The member name will be present, but the 68705 // value will be replaced with "sensitive". 68706 func (s ModelSummary) GoString() string { 68707 return s.String() 68708 } 68709 68710 // SetCreationTime sets the CreationTime field's value. 68711 func (s *ModelSummary) SetCreationTime(v time.Time) *ModelSummary { 68712 s.CreationTime = &v 68713 return s 68714 } 68715 68716 // SetModelArn sets the ModelArn field's value. 68717 func (s *ModelSummary) SetModelArn(v string) *ModelSummary { 68718 s.ModelArn = &v 68719 return s 68720 } 68721 68722 // SetModelName sets the ModelName field's value. 68723 func (s *ModelSummary) SetModelName(v string) *ModelSummary { 68724 s.ModelName = &v 68725 return s 68726 } 68727 68728 // Container image configuration object for the monitoring job. 68729 type MonitoringAppSpecification struct { 68730 _ struct{} `type:"structure"` 68731 68732 // An array of arguments for the container used to run the monitoring job. 68733 ContainerArguments []*string `min:"1" type:"list"` 68734 68735 // Specifies the entrypoint for a container used to run the monitoring job. 68736 ContainerEntrypoint []*string `min:"1" type:"list"` 68737 68738 // The container image to be run by the monitoring job. 68739 // 68740 // ImageUri is a required field 68741 ImageUri *string `type:"string" required:"true"` 68742 68743 // An Amazon S3 URI to a script that is called after analysis has been performed. 68744 // Applicable only for the built-in (first party) containers. 68745 PostAnalyticsProcessorSourceUri *string `type:"string"` 68746 68747 // An Amazon S3 URI to a script that is called per row prior to running analysis. 68748 // It can base64 decode the payload and convert it into a flatted json so that 68749 // the built-in container can use the converted data. Applicable only for the 68750 // built-in (first party) containers. 68751 RecordPreprocessorSourceUri *string `type:"string"` 68752 } 68753 68754 // String returns the string representation. 68755 // 68756 // API parameter values that are decorated as "sensitive" in the API will not 68757 // be included in the string output. The member name will be present, but the 68758 // value will be replaced with "sensitive". 68759 func (s MonitoringAppSpecification) String() string { 68760 return awsutil.Prettify(s) 68761 } 68762 68763 // GoString returns the string representation. 68764 // 68765 // API parameter values that are decorated as "sensitive" in the API will not 68766 // be included in the string output. The member name will be present, but the 68767 // value will be replaced with "sensitive". 68768 func (s MonitoringAppSpecification) GoString() string { 68769 return s.String() 68770 } 68771 68772 // Validate inspects the fields of the type to determine if they are valid. 68773 func (s *MonitoringAppSpecification) Validate() error { 68774 invalidParams := request.ErrInvalidParams{Context: "MonitoringAppSpecification"} 68775 if s.ContainerArguments != nil && len(s.ContainerArguments) < 1 { 68776 invalidParams.Add(request.NewErrParamMinLen("ContainerArguments", 1)) 68777 } 68778 if s.ContainerEntrypoint != nil && len(s.ContainerEntrypoint) < 1 { 68779 invalidParams.Add(request.NewErrParamMinLen("ContainerEntrypoint", 1)) 68780 } 68781 if s.ImageUri == nil { 68782 invalidParams.Add(request.NewErrParamRequired("ImageUri")) 68783 } 68784 68785 if invalidParams.Len() > 0 { 68786 return invalidParams 68787 } 68788 return nil 68789 } 68790 68791 // SetContainerArguments sets the ContainerArguments field's value. 68792 func (s *MonitoringAppSpecification) SetContainerArguments(v []*string) *MonitoringAppSpecification { 68793 s.ContainerArguments = v 68794 return s 68795 } 68796 68797 // SetContainerEntrypoint sets the ContainerEntrypoint field's value. 68798 func (s *MonitoringAppSpecification) SetContainerEntrypoint(v []*string) *MonitoringAppSpecification { 68799 s.ContainerEntrypoint = v 68800 return s 68801 } 68802 68803 // SetImageUri sets the ImageUri field's value. 68804 func (s *MonitoringAppSpecification) SetImageUri(v string) *MonitoringAppSpecification { 68805 s.ImageUri = &v 68806 return s 68807 } 68808 68809 // SetPostAnalyticsProcessorSourceUri sets the PostAnalyticsProcessorSourceUri field's value. 68810 func (s *MonitoringAppSpecification) SetPostAnalyticsProcessorSourceUri(v string) *MonitoringAppSpecification { 68811 s.PostAnalyticsProcessorSourceUri = &v 68812 return s 68813 } 68814 68815 // SetRecordPreprocessorSourceUri sets the RecordPreprocessorSourceUri field's value. 68816 func (s *MonitoringAppSpecification) SetRecordPreprocessorSourceUri(v string) *MonitoringAppSpecification { 68817 s.RecordPreprocessorSourceUri = &v 68818 return s 68819 } 68820 68821 // Configuration for monitoring constraints and monitoring statistics. These 68822 // baseline resources are compared against the results of the current job from 68823 // the series of jobs scheduled to collect data periodically. 68824 type MonitoringBaselineConfig struct { 68825 _ struct{} `type:"structure"` 68826 68827 // The name of the job that performs baselining for the monitoring job. 68828 BaseliningJobName *string `min:"1" type:"string"` 68829 68830 // The baseline constraint file in Amazon S3 that the current monitoring job 68831 // should validated against. 68832 ConstraintsResource *MonitoringConstraintsResource `type:"structure"` 68833 68834 // The baseline statistics file in Amazon S3 that the current monitoring job 68835 // should be validated against. 68836 StatisticsResource *MonitoringStatisticsResource `type:"structure"` 68837 } 68838 68839 // String returns the string representation. 68840 // 68841 // API parameter values that are decorated as "sensitive" in the API will not 68842 // be included in the string output. The member name will be present, but the 68843 // value will be replaced with "sensitive". 68844 func (s MonitoringBaselineConfig) String() string { 68845 return awsutil.Prettify(s) 68846 } 68847 68848 // GoString returns the string representation. 68849 // 68850 // API parameter values that are decorated as "sensitive" in the API will not 68851 // be included in the string output. The member name will be present, but the 68852 // value will be replaced with "sensitive". 68853 func (s MonitoringBaselineConfig) GoString() string { 68854 return s.String() 68855 } 68856 68857 // Validate inspects the fields of the type to determine if they are valid. 68858 func (s *MonitoringBaselineConfig) Validate() error { 68859 invalidParams := request.ErrInvalidParams{Context: "MonitoringBaselineConfig"} 68860 if s.BaseliningJobName != nil && len(*s.BaseliningJobName) < 1 { 68861 invalidParams.Add(request.NewErrParamMinLen("BaseliningJobName", 1)) 68862 } 68863 68864 if invalidParams.Len() > 0 { 68865 return invalidParams 68866 } 68867 return nil 68868 } 68869 68870 // SetBaseliningJobName sets the BaseliningJobName field's value. 68871 func (s *MonitoringBaselineConfig) SetBaseliningJobName(v string) *MonitoringBaselineConfig { 68872 s.BaseliningJobName = &v 68873 return s 68874 } 68875 68876 // SetConstraintsResource sets the ConstraintsResource field's value. 68877 func (s *MonitoringBaselineConfig) SetConstraintsResource(v *MonitoringConstraintsResource) *MonitoringBaselineConfig { 68878 s.ConstraintsResource = v 68879 return s 68880 } 68881 68882 // SetStatisticsResource sets the StatisticsResource field's value. 68883 func (s *MonitoringBaselineConfig) SetStatisticsResource(v *MonitoringStatisticsResource) *MonitoringBaselineConfig { 68884 s.StatisticsResource = v 68885 return s 68886 } 68887 68888 // Configuration for the cluster used to run model monitoring jobs. 68889 type MonitoringClusterConfig struct { 68890 _ struct{} `type:"structure"` 68891 68892 // The number of ML compute instances to use in the model monitoring job. For 68893 // distributed processing jobs, specify a value greater than 1. The default 68894 // value is 1. 68895 // 68896 // InstanceCount is a required field 68897 InstanceCount *int64 `min:"1" type:"integer" required:"true"` 68898 68899 // The ML compute instance type for the processing job. 68900 // 68901 // InstanceType is a required field 68902 InstanceType *string `type:"string" required:"true" enum:"ProcessingInstanceType"` 68903 68904 // The Amazon Web Services Key Management Service (Amazon Web Services KMS) 68905 // key that Amazon SageMaker uses to encrypt data on the storage volume attached 68906 // to the ML compute instance(s) that run the model monitoring job. 68907 VolumeKmsKeyId *string `type:"string"` 68908 68909 // The size of the ML storage volume, in gigabytes, that you want to provision. 68910 // You must specify sufficient ML storage for your scenario. 68911 // 68912 // VolumeSizeInGB is a required field 68913 VolumeSizeInGB *int64 `min:"1" type:"integer" required:"true"` 68914 } 68915 68916 // String returns the string representation. 68917 // 68918 // API parameter values that are decorated as "sensitive" in the API will not 68919 // be included in the string output. The member name will be present, but the 68920 // value will be replaced with "sensitive". 68921 func (s MonitoringClusterConfig) String() string { 68922 return awsutil.Prettify(s) 68923 } 68924 68925 // GoString returns the string representation. 68926 // 68927 // API parameter values that are decorated as "sensitive" in the API will not 68928 // be included in the string output. The member name will be present, but the 68929 // value will be replaced with "sensitive". 68930 func (s MonitoringClusterConfig) GoString() string { 68931 return s.String() 68932 } 68933 68934 // Validate inspects the fields of the type to determine if they are valid. 68935 func (s *MonitoringClusterConfig) Validate() error { 68936 invalidParams := request.ErrInvalidParams{Context: "MonitoringClusterConfig"} 68937 if s.InstanceCount == nil { 68938 invalidParams.Add(request.NewErrParamRequired("InstanceCount")) 68939 } 68940 if s.InstanceCount != nil && *s.InstanceCount < 1 { 68941 invalidParams.Add(request.NewErrParamMinValue("InstanceCount", 1)) 68942 } 68943 if s.InstanceType == nil { 68944 invalidParams.Add(request.NewErrParamRequired("InstanceType")) 68945 } 68946 if s.VolumeSizeInGB == nil { 68947 invalidParams.Add(request.NewErrParamRequired("VolumeSizeInGB")) 68948 } 68949 if s.VolumeSizeInGB != nil && *s.VolumeSizeInGB < 1 { 68950 invalidParams.Add(request.NewErrParamMinValue("VolumeSizeInGB", 1)) 68951 } 68952 68953 if invalidParams.Len() > 0 { 68954 return invalidParams 68955 } 68956 return nil 68957 } 68958 68959 // SetInstanceCount sets the InstanceCount field's value. 68960 func (s *MonitoringClusterConfig) SetInstanceCount(v int64) *MonitoringClusterConfig { 68961 s.InstanceCount = &v 68962 return s 68963 } 68964 68965 // SetInstanceType sets the InstanceType field's value. 68966 func (s *MonitoringClusterConfig) SetInstanceType(v string) *MonitoringClusterConfig { 68967 s.InstanceType = &v 68968 return s 68969 } 68970 68971 // SetVolumeKmsKeyId sets the VolumeKmsKeyId field's value. 68972 func (s *MonitoringClusterConfig) SetVolumeKmsKeyId(v string) *MonitoringClusterConfig { 68973 s.VolumeKmsKeyId = &v 68974 return s 68975 } 68976 68977 // SetVolumeSizeInGB sets the VolumeSizeInGB field's value. 68978 func (s *MonitoringClusterConfig) SetVolumeSizeInGB(v int64) *MonitoringClusterConfig { 68979 s.VolumeSizeInGB = &v 68980 return s 68981 } 68982 68983 // The constraints resource for a monitoring job. 68984 type MonitoringConstraintsResource struct { 68985 _ struct{} `type:"structure"` 68986 68987 // The Amazon S3 URI for the constraints resource. 68988 S3Uri *string `type:"string"` 68989 } 68990 68991 // String returns the string representation. 68992 // 68993 // API parameter values that are decorated as "sensitive" in the API will not 68994 // be included in the string output. The member name will be present, but the 68995 // value will be replaced with "sensitive". 68996 func (s MonitoringConstraintsResource) String() string { 68997 return awsutil.Prettify(s) 68998 } 68999 69000 // GoString returns the string representation. 69001 // 69002 // API parameter values that are decorated as "sensitive" in the API will not 69003 // be included in the string output. The member name will be present, but the 69004 // value will be replaced with "sensitive". 69005 func (s MonitoringConstraintsResource) GoString() string { 69006 return s.String() 69007 } 69008 69009 // SetS3Uri sets the S3Uri field's value. 69010 func (s *MonitoringConstraintsResource) SetS3Uri(v string) *MonitoringConstraintsResource { 69011 s.S3Uri = &v 69012 return s 69013 } 69014 69015 // Summary of information about the last monitoring job to run. 69016 type MonitoringExecutionSummary struct { 69017 _ struct{} `type:"structure"` 69018 69019 // The time at which the monitoring job was created. 69020 // 69021 // CreationTime is a required field 69022 CreationTime *time.Time `type:"timestamp" required:"true"` 69023 69024 // The name of the endpoint used to run the monitoring job. 69025 EndpointName *string `type:"string"` 69026 69027 // Contains the reason a monitoring job failed, if it failed. 69028 FailureReason *string `type:"string"` 69029 69030 // A timestamp that indicates the last time the monitoring job was modified. 69031 // 69032 // LastModifiedTime is a required field 69033 LastModifiedTime *time.Time `type:"timestamp" required:"true"` 69034 69035 // The status of the monitoring job. 69036 // 69037 // MonitoringExecutionStatus is a required field 69038 MonitoringExecutionStatus *string `type:"string" required:"true" enum:"ExecutionStatus"` 69039 69040 // The name of the monitoring job. 69041 MonitoringJobDefinitionName *string `min:"1" type:"string"` 69042 69043 // The name of the monitoring schedule. 69044 // 69045 // MonitoringScheduleName is a required field 69046 MonitoringScheduleName *string `min:"1" type:"string" required:"true"` 69047 69048 // The type of the monitoring job. 69049 MonitoringType *string `type:"string" enum:"MonitoringType"` 69050 69051 // The Amazon Resource Name (ARN) of the monitoring job. 69052 ProcessingJobArn *string `type:"string"` 69053 69054 // The time the monitoring job was scheduled. 69055 // 69056 // ScheduledTime is a required field 69057 ScheduledTime *time.Time `type:"timestamp" required:"true"` 69058 } 69059 69060 // String returns the string representation. 69061 // 69062 // API parameter values that are decorated as "sensitive" in the API will not 69063 // be included in the string output. The member name will be present, but the 69064 // value will be replaced with "sensitive". 69065 func (s MonitoringExecutionSummary) String() string { 69066 return awsutil.Prettify(s) 69067 } 69068 69069 // GoString returns the string representation. 69070 // 69071 // API parameter values that are decorated as "sensitive" in the API will not 69072 // be included in the string output. The member name will be present, but the 69073 // value will be replaced with "sensitive". 69074 func (s MonitoringExecutionSummary) GoString() string { 69075 return s.String() 69076 } 69077 69078 // SetCreationTime sets the CreationTime field's value. 69079 func (s *MonitoringExecutionSummary) SetCreationTime(v time.Time) *MonitoringExecutionSummary { 69080 s.CreationTime = &v 69081 return s 69082 } 69083 69084 // SetEndpointName sets the EndpointName field's value. 69085 func (s *MonitoringExecutionSummary) SetEndpointName(v string) *MonitoringExecutionSummary { 69086 s.EndpointName = &v 69087 return s 69088 } 69089 69090 // SetFailureReason sets the FailureReason field's value. 69091 func (s *MonitoringExecutionSummary) SetFailureReason(v string) *MonitoringExecutionSummary { 69092 s.FailureReason = &v 69093 return s 69094 } 69095 69096 // SetLastModifiedTime sets the LastModifiedTime field's value. 69097 func (s *MonitoringExecutionSummary) SetLastModifiedTime(v time.Time) *MonitoringExecutionSummary { 69098 s.LastModifiedTime = &v 69099 return s 69100 } 69101 69102 // SetMonitoringExecutionStatus sets the MonitoringExecutionStatus field's value. 69103 func (s *MonitoringExecutionSummary) SetMonitoringExecutionStatus(v string) *MonitoringExecutionSummary { 69104 s.MonitoringExecutionStatus = &v 69105 return s 69106 } 69107 69108 // SetMonitoringJobDefinitionName sets the MonitoringJobDefinitionName field's value. 69109 func (s *MonitoringExecutionSummary) SetMonitoringJobDefinitionName(v string) *MonitoringExecutionSummary { 69110 s.MonitoringJobDefinitionName = &v 69111 return s 69112 } 69113 69114 // SetMonitoringScheduleName sets the MonitoringScheduleName field's value. 69115 func (s *MonitoringExecutionSummary) SetMonitoringScheduleName(v string) *MonitoringExecutionSummary { 69116 s.MonitoringScheduleName = &v 69117 return s 69118 } 69119 69120 // SetMonitoringType sets the MonitoringType field's value. 69121 func (s *MonitoringExecutionSummary) SetMonitoringType(v string) *MonitoringExecutionSummary { 69122 s.MonitoringType = &v 69123 return s 69124 } 69125 69126 // SetProcessingJobArn sets the ProcessingJobArn field's value. 69127 func (s *MonitoringExecutionSummary) SetProcessingJobArn(v string) *MonitoringExecutionSummary { 69128 s.ProcessingJobArn = &v 69129 return s 69130 } 69131 69132 // SetScheduledTime sets the ScheduledTime field's value. 69133 func (s *MonitoringExecutionSummary) SetScheduledTime(v time.Time) *MonitoringExecutionSummary { 69134 s.ScheduledTime = &v 69135 return s 69136 } 69137 69138 // The ground truth labels for the dataset used for the monitoring job. 69139 type MonitoringGroundTruthS3Input struct { 69140 _ struct{} `type:"structure"` 69141 69142 // The address of the Amazon S3 location of the ground truth labels. 69143 S3Uri *string `type:"string"` 69144 } 69145 69146 // String returns the string representation. 69147 // 69148 // API parameter values that are decorated as "sensitive" in the API will not 69149 // be included in the string output. The member name will be present, but the 69150 // value will be replaced with "sensitive". 69151 func (s MonitoringGroundTruthS3Input) String() string { 69152 return awsutil.Prettify(s) 69153 } 69154 69155 // GoString returns the string representation. 69156 // 69157 // API parameter values that are decorated as "sensitive" in the API will not 69158 // be included in the string output. The member name will be present, but the 69159 // value will be replaced with "sensitive". 69160 func (s MonitoringGroundTruthS3Input) GoString() string { 69161 return s.String() 69162 } 69163 69164 // SetS3Uri sets the S3Uri field's value. 69165 func (s *MonitoringGroundTruthS3Input) SetS3Uri(v string) *MonitoringGroundTruthS3Input { 69166 s.S3Uri = &v 69167 return s 69168 } 69169 69170 // The inputs for a monitoring job. 69171 type MonitoringInput struct { 69172 _ struct{} `type:"structure"` 69173 69174 // The endpoint for a monitoring job. 69175 // 69176 // EndpointInput is a required field 69177 EndpointInput *EndpointInput `type:"structure" required:"true"` 69178 } 69179 69180 // String returns the string representation. 69181 // 69182 // API parameter values that are decorated as "sensitive" in the API will not 69183 // be included in the string output. The member name will be present, but the 69184 // value will be replaced with "sensitive". 69185 func (s MonitoringInput) String() string { 69186 return awsutil.Prettify(s) 69187 } 69188 69189 // GoString returns the string representation. 69190 // 69191 // API parameter values that are decorated as "sensitive" in the API will not 69192 // be included in the string output. The member name will be present, but the 69193 // value will be replaced with "sensitive". 69194 func (s MonitoringInput) GoString() string { 69195 return s.String() 69196 } 69197 69198 // Validate inspects the fields of the type to determine if they are valid. 69199 func (s *MonitoringInput) Validate() error { 69200 invalidParams := request.ErrInvalidParams{Context: "MonitoringInput"} 69201 if s.EndpointInput == nil { 69202 invalidParams.Add(request.NewErrParamRequired("EndpointInput")) 69203 } 69204 if s.EndpointInput != nil { 69205 if err := s.EndpointInput.Validate(); err != nil { 69206 invalidParams.AddNested("EndpointInput", err.(request.ErrInvalidParams)) 69207 } 69208 } 69209 69210 if invalidParams.Len() > 0 { 69211 return invalidParams 69212 } 69213 return nil 69214 } 69215 69216 // SetEndpointInput sets the EndpointInput field's value. 69217 func (s *MonitoringInput) SetEndpointInput(v *EndpointInput) *MonitoringInput { 69218 s.EndpointInput = v 69219 return s 69220 } 69221 69222 // Defines the monitoring job. 69223 type MonitoringJobDefinition struct { 69224 _ struct{} `type:"structure"` 69225 69226 // Baseline configuration used to validate that the data conforms to the specified 69227 // constraints and statistics 69228 BaselineConfig *MonitoringBaselineConfig `type:"structure"` 69229 69230 // Sets the environment variables in the Docker container. 69231 Environment map[string]*string `type:"map"` 69232 69233 // Configures the monitoring job to run a specified Docker container image. 69234 // 69235 // MonitoringAppSpecification is a required field 69236 MonitoringAppSpecification *MonitoringAppSpecification `type:"structure" required:"true"` 69237 69238 // The array of inputs for the monitoring job. Currently we support monitoring 69239 // an Amazon SageMaker Endpoint. 69240 // 69241 // MonitoringInputs is a required field 69242 MonitoringInputs []*MonitoringInput `min:"1" type:"list" required:"true"` 69243 69244 // The array of outputs from the monitoring job to be uploaded to Amazon Simple 69245 // Storage Service (Amazon S3). 69246 // 69247 // MonitoringOutputConfig is a required field 69248 MonitoringOutputConfig *MonitoringOutputConfig `type:"structure" required:"true"` 69249 69250 // Identifies the resources, ML compute instances, and ML storage volumes to 69251 // deploy for a monitoring job. In distributed processing, you specify more 69252 // than one instance. 69253 // 69254 // MonitoringResources is a required field 69255 MonitoringResources *MonitoringResources `type:"structure" required:"true"` 69256 69257 // Specifies networking options for an monitoring job. 69258 NetworkConfig *NetworkConfig `type:"structure"` 69259 69260 // The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume 69261 // to perform tasks on your behalf. 69262 // 69263 // RoleArn is a required field 69264 RoleArn *string `min:"20" type:"string" required:"true"` 69265 69266 // Specifies a time limit for how long the monitoring job is allowed to run. 69267 StoppingCondition *MonitoringStoppingCondition `type:"structure"` 69268 } 69269 69270 // String returns the string representation. 69271 // 69272 // API parameter values that are decorated as "sensitive" in the API will not 69273 // be included in the string output. The member name will be present, but the 69274 // value will be replaced with "sensitive". 69275 func (s MonitoringJobDefinition) String() string { 69276 return awsutil.Prettify(s) 69277 } 69278 69279 // GoString returns the string representation. 69280 // 69281 // API parameter values that are decorated as "sensitive" in the API will not 69282 // be included in the string output. The member name will be present, but the 69283 // value will be replaced with "sensitive". 69284 func (s MonitoringJobDefinition) GoString() string { 69285 return s.String() 69286 } 69287 69288 // Validate inspects the fields of the type to determine if they are valid. 69289 func (s *MonitoringJobDefinition) Validate() error { 69290 invalidParams := request.ErrInvalidParams{Context: "MonitoringJobDefinition"} 69291 if s.MonitoringAppSpecification == nil { 69292 invalidParams.Add(request.NewErrParamRequired("MonitoringAppSpecification")) 69293 } 69294 if s.MonitoringInputs == nil { 69295 invalidParams.Add(request.NewErrParamRequired("MonitoringInputs")) 69296 } 69297 if s.MonitoringInputs != nil && len(s.MonitoringInputs) < 1 { 69298 invalidParams.Add(request.NewErrParamMinLen("MonitoringInputs", 1)) 69299 } 69300 if s.MonitoringOutputConfig == nil { 69301 invalidParams.Add(request.NewErrParamRequired("MonitoringOutputConfig")) 69302 } 69303 if s.MonitoringResources == nil { 69304 invalidParams.Add(request.NewErrParamRequired("MonitoringResources")) 69305 } 69306 if s.RoleArn == nil { 69307 invalidParams.Add(request.NewErrParamRequired("RoleArn")) 69308 } 69309 if s.RoleArn != nil && len(*s.RoleArn) < 20 { 69310 invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) 69311 } 69312 if s.BaselineConfig != nil { 69313 if err := s.BaselineConfig.Validate(); err != nil { 69314 invalidParams.AddNested("BaselineConfig", err.(request.ErrInvalidParams)) 69315 } 69316 } 69317 if s.MonitoringAppSpecification != nil { 69318 if err := s.MonitoringAppSpecification.Validate(); err != nil { 69319 invalidParams.AddNested("MonitoringAppSpecification", err.(request.ErrInvalidParams)) 69320 } 69321 } 69322 if s.MonitoringInputs != nil { 69323 for i, v := range s.MonitoringInputs { 69324 if v == nil { 69325 continue 69326 } 69327 if err := v.Validate(); err != nil { 69328 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MonitoringInputs", i), err.(request.ErrInvalidParams)) 69329 } 69330 } 69331 } 69332 if s.MonitoringOutputConfig != nil { 69333 if err := s.MonitoringOutputConfig.Validate(); err != nil { 69334 invalidParams.AddNested("MonitoringOutputConfig", err.(request.ErrInvalidParams)) 69335 } 69336 } 69337 if s.MonitoringResources != nil { 69338 if err := s.MonitoringResources.Validate(); err != nil { 69339 invalidParams.AddNested("MonitoringResources", err.(request.ErrInvalidParams)) 69340 } 69341 } 69342 if s.NetworkConfig != nil { 69343 if err := s.NetworkConfig.Validate(); err != nil { 69344 invalidParams.AddNested("NetworkConfig", err.(request.ErrInvalidParams)) 69345 } 69346 } 69347 if s.StoppingCondition != nil { 69348 if err := s.StoppingCondition.Validate(); err != nil { 69349 invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams)) 69350 } 69351 } 69352 69353 if invalidParams.Len() > 0 { 69354 return invalidParams 69355 } 69356 return nil 69357 } 69358 69359 // SetBaselineConfig sets the BaselineConfig field's value. 69360 func (s *MonitoringJobDefinition) SetBaselineConfig(v *MonitoringBaselineConfig) *MonitoringJobDefinition { 69361 s.BaselineConfig = v 69362 return s 69363 } 69364 69365 // SetEnvironment sets the Environment field's value. 69366 func (s *MonitoringJobDefinition) SetEnvironment(v map[string]*string) *MonitoringJobDefinition { 69367 s.Environment = v 69368 return s 69369 } 69370 69371 // SetMonitoringAppSpecification sets the MonitoringAppSpecification field's value. 69372 func (s *MonitoringJobDefinition) SetMonitoringAppSpecification(v *MonitoringAppSpecification) *MonitoringJobDefinition { 69373 s.MonitoringAppSpecification = v 69374 return s 69375 } 69376 69377 // SetMonitoringInputs sets the MonitoringInputs field's value. 69378 func (s *MonitoringJobDefinition) SetMonitoringInputs(v []*MonitoringInput) *MonitoringJobDefinition { 69379 s.MonitoringInputs = v 69380 return s 69381 } 69382 69383 // SetMonitoringOutputConfig sets the MonitoringOutputConfig field's value. 69384 func (s *MonitoringJobDefinition) SetMonitoringOutputConfig(v *MonitoringOutputConfig) *MonitoringJobDefinition { 69385 s.MonitoringOutputConfig = v 69386 return s 69387 } 69388 69389 // SetMonitoringResources sets the MonitoringResources field's value. 69390 func (s *MonitoringJobDefinition) SetMonitoringResources(v *MonitoringResources) *MonitoringJobDefinition { 69391 s.MonitoringResources = v 69392 return s 69393 } 69394 69395 // SetNetworkConfig sets the NetworkConfig field's value. 69396 func (s *MonitoringJobDefinition) SetNetworkConfig(v *NetworkConfig) *MonitoringJobDefinition { 69397 s.NetworkConfig = v 69398 return s 69399 } 69400 69401 // SetRoleArn sets the RoleArn field's value. 69402 func (s *MonitoringJobDefinition) SetRoleArn(v string) *MonitoringJobDefinition { 69403 s.RoleArn = &v 69404 return s 69405 } 69406 69407 // SetStoppingCondition sets the StoppingCondition field's value. 69408 func (s *MonitoringJobDefinition) SetStoppingCondition(v *MonitoringStoppingCondition) *MonitoringJobDefinition { 69409 s.StoppingCondition = v 69410 return s 69411 } 69412 69413 // Summary information about a monitoring job. 69414 type MonitoringJobDefinitionSummary struct { 69415 _ struct{} `type:"structure"` 69416 69417 // The time that the monitoring job was created. 69418 // 69419 // CreationTime is a required field 69420 CreationTime *time.Time `type:"timestamp" required:"true"` 69421 69422 // The name of the endpoint that the job monitors. 69423 // 69424 // EndpointName is a required field 69425 EndpointName *string `type:"string" required:"true"` 69426 69427 // The Amazon Resource Name (ARN) of the monitoring job. 69428 // 69429 // MonitoringJobDefinitionArn is a required field 69430 MonitoringJobDefinitionArn *string `type:"string" required:"true"` 69431 69432 // The name of the monitoring job. 69433 // 69434 // MonitoringJobDefinitionName is a required field 69435 MonitoringJobDefinitionName *string `min:"1" type:"string" required:"true"` 69436 } 69437 69438 // String returns the string representation. 69439 // 69440 // API parameter values that are decorated as "sensitive" in the API will not 69441 // be included in the string output. The member name will be present, but the 69442 // value will be replaced with "sensitive". 69443 func (s MonitoringJobDefinitionSummary) String() string { 69444 return awsutil.Prettify(s) 69445 } 69446 69447 // GoString returns the string representation. 69448 // 69449 // API parameter values that are decorated as "sensitive" in the API will not 69450 // be included in the string output. The member name will be present, but the 69451 // value will be replaced with "sensitive". 69452 func (s MonitoringJobDefinitionSummary) GoString() string { 69453 return s.String() 69454 } 69455 69456 // SetCreationTime sets the CreationTime field's value. 69457 func (s *MonitoringJobDefinitionSummary) SetCreationTime(v time.Time) *MonitoringJobDefinitionSummary { 69458 s.CreationTime = &v 69459 return s 69460 } 69461 69462 // SetEndpointName sets the EndpointName field's value. 69463 func (s *MonitoringJobDefinitionSummary) SetEndpointName(v string) *MonitoringJobDefinitionSummary { 69464 s.EndpointName = &v 69465 return s 69466 } 69467 69468 // SetMonitoringJobDefinitionArn sets the MonitoringJobDefinitionArn field's value. 69469 func (s *MonitoringJobDefinitionSummary) SetMonitoringJobDefinitionArn(v string) *MonitoringJobDefinitionSummary { 69470 s.MonitoringJobDefinitionArn = &v 69471 return s 69472 } 69473 69474 // SetMonitoringJobDefinitionName sets the MonitoringJobDefinitionName field's value. 69475 func (s *MonitoringJobDefinitionSummary) SetMonitoringJobDefinitionName(v string) *MonitoringJobDefinitionSummary { 69476 s.MonitoringJobDefinitionName = &v 69477 return s 69478 } 69479 69480 // The networking configuration for the monitoring job. 69481 type MonitoringNetworkConfig struct { 69482 _ struct{} `type:"structure"` 69483 69484 // Whether to encrypt all communications between the instances used for the 69485 // monitoring jobs. Choose True to encrypt communications. Encryption provides 69486 // greater security for distributed jobs, but the processing might take longer. 69487 EnableInterContainerTrafficEncryption *bool `type:"boolean"` 69488 69489 // Whether to allow inbound and outbound network calls to and from the containers 69490 // used for the monitoring job. 69491 EnableNetworkIsolation *bool `type:"boolean"` 69492 69493 // Specifies a VPC that your training jobs and hosted models have access to. 69494 // Control access to and from your training and model containers by configuring 69495 // the VPC. For more information, see Protect Endpoints by Using an Amazon Virtual 69496 // Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html) 69497 // and Protect Training Jobs by Using an Amazon Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html). 69498 VpcConfig *VpcConfig `type:"structure"` 69499 } 69500 69501 // String returns the string representation. 69502 // 69503 // API parameter values that are decorated as "sensitive" in the API will not 69504 // be included in the string output. The member name will be present, but the 69505 // value will be replaced with "sensitive". 69506 func (s MonitoringNetworkConfig) String() string { 69507 return awsutil.Prettify(s) 69508 } 69509 69510 // GoString returns the string representation. 69511 // 69512 // API parameter values that are decorated as "sensitive" in the API will not 69513 // be included in the string output. The member name will be present, but the 69514 // value will be replaced with "sensitive". 69515 func (s MonitoringNetworkConfig) GoString() string { 69516 return s.String() 69517 } 69518 69519 // Validate inspects the fields of the type to determine if they are valid. 69520 func (s *MonitoringNetworkConfig) Validate() error { 69521 invalidParams := request.ErrInvalidParams{Context: "MonitoringNetworkConfig"} 69522 if s.VpcConfig != nil { 69523 if err := s.VpcConfig.Validate(); err != nil { 69524 invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams)) 69525 } 69526 } 69527 69528 if invalidParams.Len() > 0 { 69529 return invalidParams 69530 } 69531 return nil 69532 } 69533 69534 // SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value. 69535 func (s *MonitoringNetworkConfig) SetEnableInterContainerTrafficEncryption(v bool) *MonitoringNetworkConfig { 69536 s.EnableInterContainerTrafficEncryption = &v 69537 return s 69538 } 69539 69540 // SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value. 69541 func (s *MonitoringNetworkConfig) SetEnableNetworkIsolation(v bool) *MonitoringNetworkConfig { 69542 s.EnableNetworkIsolation = &v 69543 return s 69544 } 69545 69546 // SetVpcConfig sets the VpcConfig field's value. 69547 func (s *MonitoringNetworkConfig) SetVpcConfig(v *VpcConfig) *MonitoringNetworkConfig { 69548 s.VpcConfig = v 69549 return s 69550 } 69551 69552 // The output object for a monitoring job. 69553 type MonitoringOutput struct { 69554 _ struct{} `type:"structure"` 69555 69556 // The Amazon S3 storage location where the results of a monitoring job are 69557 // saved. 69558 // 69559 // S3Output is a required field 69560 S3Output *MonitoringS3Output `type:"structure" required:"true"` 69561 } 69562 69563 // String returns the string representation. 69564 // 69565 // API parameter values that are decorated as "sensitive" in the API will not 69566 // be included in the string output. The member name will be present, but the 69567 // value will be replaced with "sensitive". 69568 func (s MonitoringOutput) String() string { 69569 return awsutil.Prettify(s) 69570 } 69571 69572 // GoString returns the string representation. 69573 // 69574 // API parameter values that are decorated as "sensitive" in the API will not 69575 // be included in the string output. The member name will be present, but the 69576 // value will be replaced with "sensitive". 69577 func (s MonitoringOutput) GoString() string { 69578 return s.String() 69579 } 69580 69581 // Validate inspects the fields of the type to determine if they are valid. 69582 func (s *MonitoringOutput) Validate() error { 69583 invalidParams := request.ErrInvalidParams{Context: "MonitoringOutput"} 69584 if s.S3Output == nil { 69585 invalidParams.Add(request.NewErrParamRequired("S3Output")) 69586 } 69587 if s.S3Output != nil { 69588 if err := s.S3Output.Validate(); err != nil { 69589 invalidParams.AddNested("S3Output", err.(request.ErrInvalidParams)) 69590 } 69591 } 69592 69593 if invalidParams.Len() > 0 { 69594 return invalidParams 69595 } 69596 return nil 69597 } 69598 69599 // SetS3Output sets the S3Output field's value. 69600 func (s *MonitoringOutput) SetS3Output(v *MonitoringS3Output) *MonitoringOutput { 69601 s.S3Output = v 69602 return s 69603 } 69604 69605 // The output configuration for monitoring jobs. 69606 type MonitoringOutputConfig struct { 69607 _ struct{} `type:"structure"` 69608 69609 // The Amazon Web Services Key Management Service (Amazon Web Services KMS) 69610 // key that Amazon SageMaker uses to encrypt the model artifacts at rest using 69611 // Amazon S3 server-side encryption. 69612 KmsKeyId *string `type:"string"` 69613 69614 // Monitoring outputs for monitoring jobs. This is where the output of the periodic 69615 // monitoring jobs is uploaded. 69616 // 69617 // MonitoringOutputs is a required field 69618 MonitoringOutputs []*MonitoringOutput `min:"1" type:"list" required:"true"` 69619 } 69620 69621 // String returns the string representation. 69622 // 69623 // API parameter values that are decorated as "sensitive" in the API will not 69624 // be included in the string output. The member name will be present, but the 69625 // value will be replaced with "sensitive". 69626 func (s MonitoringOutputConfig) String() string { 69627 return awsutil.Prettify(s) 69628 } 69629 69630 // GoString returns the string representation. 69631 // 69632 // API parameter values that are decorated as "sensitive" in the API will not 69633 // be included in the string output. The member name will be present, but the 69634 // value will be replaced with "sensitive". 69635 func (s MonitoringOutputConfig) GoString() string { 69636 return s.String() 69637 } 69638 69639 // Validate inspects the fields of the type to determine if they are valid. 69640 func (s *MonitoringOutputConfig) Validate() error { 69641 invalidParams := request.ErrInvalidParams{Context: "MonitoringOutputConfig"} 69642 if s.MonitoringOutputs == nil { 69643 invalidParams.Add(request.NewErrParamRequired("MonitoringOutputs")) 69644 } 69645 if s.MonitoringOutputs != nil && len(s.MonitoringOutputs) < 1 { 69646 invalidParams.Add(request.NewErrParamMinLen("MonitoringOutputs", 1)) 69647 } 69648 if s.MonitoringOutputs != nil { 69649 for i, v := range s.MonitoringOutputs { 69650 if v == nil { 69651 continue 69652 } 69653 if err := v.Validate(); err != nil { 69654 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MonitoringOutputs", i), err.(request.ErrInvalidParams)) 69655 } 69656 } 69657 } 69658 69659 if invalidParams.Len() > 0 { 69660 return invalidParams 69661 } 69662 return nil 69663 } 69664 69665 // SetKmsKeyId sets the KmsKeyId field's value. 69666 func (s *MonitoringOutputConfig) SetKmsKeyId(v string) *MonitoringOutputConfig { 69667 s.KmsKeyId = &v 69668 return s 69669 } 69670 69671 // SetMonitoringOutputs sets the MonitoringOutputs field's value. 69672 func (s *MonitoringOutputConfig) SetMonitoringOutputs(v []*MonitoringOutput) *MonitoringOutputConfig { 69673 s.MonitoringOutputs = v 69674 return s 69675 } 69676 69677 // Identifies the resources to deploy for a monitoring job. 69678 type MonitoringResources struct { 69679 _ struct{} `type:"structure"` 69680 69681 // The configuration for the cluster resources used to run the processing job. 69682 // 69683 // ClusterConfig is a required field 69684 ClusterConfig *MonitoringClusterConfig `type:"structure" required:"true"` 69685 } 69686 69687 // String returns the string representation. 69688 // 69689 // API parameter values that are decorated as "sensitive" in the API will not 69690 // be included in the string output. The member name will be present, but the 69691 // value will be replaced with "sensitive". 69692 func (s MonitoringResources) String() string { 69693 return awsutil.Prettify(s) 69694 } 69695 69696 // GoString returns the string representation. 69697 // 69698 // API parameter values that are decorated as "sensitive" in the API will not 69699 // be included in the string output. The member name will be present, but the 69700 // value will be replaced with "sensitive". 69701 func (s MonitoringResources) GoString() string { 69702 return s.String() 69703 } 69704 69705 // Validate inspects the fields of the type to determine if they are valid. 69706 func (s *MonitoringResources) Validate() error { 69707 invalidParams := request.ErrInvalidParams{Context: "MonitoringResources"} 69708 if s.ClusterConfig == nil { 69709 invalidParams.Add(request.NewErrParamRequired("ClusterConfig")) 69710 } 69711 if s.ClusterConfig != nil { 69712 if err := s.ClusterConfig.Validate(); err != nil { 69713 invalidParams.AddNested("ClusterConfig", err.(request.ErrInvalidParams)) 69714 } 69715 } 69716 69717 if invalidParams.Len() > 0 { 69718 return invalidParams 69719 } 69720 return nil 69721 } 69722 69723 // SetClusterConfig sets the ClusterConfig field's value. 69724 func (s *MonitoringResources) SetClusterConfig(v *MonitoringClusterConfig) *MonitoringResources { 69725 s.ClusterConfig = v 69726 return s 69727 } 69728 69729 // Information about where and how you want to store the results of a monitoring 69730 // job. 69731 type MonitoringS3Output struct { 69732 _ struct{} `type:"structure"` 69733 69734 // The local path to the Amazon S3 storage location where Amazon SageMaker saves 69735 // the results of a monitoring job. LocalPath is an absolute path for the output 69736 // data. 69737 // 69738 // LocalPath is a required field 69739 LocalPath *string `type:"string" required:"true"` 69740 69741 // Whether to upload the results of the monitoring job continuously or after 69742 // the job completes. 69743 S3UploadMode *string `type:"string" enum:"ProcessingS3UploadMode"` 69744 69745 // A URI that identifies the Amazon S3 storage location where Amazon SageMaker 69746 // saves the results of a monitoring job. 69747 // 69748 // S3Uri is a required field 69749 S3Uri *string `type:"string" required:"true"` 69750 } 69751 69752 // String returns the string representation. 69753 // 69754 // API parameter values that are decorated as "sensitive" in the API will not 69755 // be included in the string output. The member name will be present, but the 69756 // value will be replaced with "sensitive". 69757 func (s MonitoringS3Output) String() string { 69758 return awsutil.Prettify(s) 69759 } 69760 69761 // GoString returns the string representation. 69762 // 69763 // API parameter values that are decorated as "sensitive" in the API will not 69764 // be included in the string output. The member name will be present, but the 69765 // value will be replaced with "sensitive". 69766 func (s MonitoringS3Output) GoString() string { 69767 return s.String() 69768 } 69769 69770 // Validate inspects the fields of the type to determine if they are valid. 69771 func (s *MonitoringS3Output) Validate() error { 69772 invalidParams := request.ErrInvalidParams{Context: "MonitoringS3Output"} 69773 if s.LocalPath == nil { 69774 invalidParams.Add(request.NewErrParamRequired("LocalPath")) 69775 } 69776 if s.S3Uri == nil { 69777 invalidParams.Add(request.NewErrParamRequired("S3Uri")) 69778 } 69779 69780 if invalidParams.Len() > 0 { 69781 return invalidParams 69782 } 69783 return nil 69784 } 69785 69786 // SetLocalPath sets the LocalPath field's value. 69787 func (s *MonitoringS3Output) SetLocalPath(v string) *MonitoringS3Output { 69788 s.LocalPath = &v 69789 return s 69790 } 69791 69792 // SetS3UploadMode sets the S3UploadMode field's value. 69793 func (s *MonitoringS3Output) SetS3UploadMode(v string) *MonitoringS3Output { 69794 s.S3UploadMode = &v 69795 return s 69796 } 69797 69798 // SetS3Uri sets the S3Uri field's value. 69799 func (s *MonitoringS3Output) SetS3Uri(v string) *MonitoringS3Output { 69800 s.S3Uri = &v 69801 return s 69802 } 69803 69804 // A schedule for a model monitoring job. For information about model monitor, 69805 // see Amazon SageMaker Model Monitor (https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor.html). 69806 type MonitoringSchedule struct { 69807 _ struct{} `type:"structure"` 69808 69809 // The time that the monitoring schedule was created. 69810 CreationTime *time.Time `type:"timestamp"` 69811 69812 // The endpoint that hosts the model being monitored. 69813 EndpointName *string `type:"string"` 69814 69815 // If the monitoring schedule failed, the reason it failed. 69816 FailureReason *string `type:"string"` 69817 69818 // The last time the monitoring schedule was changed. 69819 LastModifiedTime *time.Time `type:"timestamp"` 69820 69821 // Summary of information about the last monitoring job to run. 69822 LastMonitoringExecutionSummary *MonitoringExecutionSummary `type:"structure"` 69823 69824 // The Amazon Resource Name (ARN) of the monitoring schedule. 69825 MonitoringScheduleArn *string `type:"string"` 69826 69827 // Configures the monitoring schedule and defines the monitoring job. 69828 MonitoringScheduleConfig *MonitoringScheduleConfig `type:"structure"` 69829 69830 // The name of the monitoring schedule. 69831 MonitoringScheduleName *string `min:"1" type:"string"` 69832 69833 // The status of the monitoring schedule. This can be one of the following values. 69834 // 69835 // * PENDING - The schedule is pending being created. 69836 // 69837 // * FAILED - The schedule failed. 69838 // 69839 // * SCHEDULED - The schedule was successfully created. 69840 // 69841 // * STOPPED - The schedule was stopped. 69842 MonitoringScheduleStatus *string `type:"string" enum:"ScheduleStatus"` 69843 69844 // The type of the monitoring job definition to schedule. 69845 MonitoringType *string `type:"string" enum:"MonitoringType"` 69846 69847 // A list of the tags associated with the monitoring schedlue. For more information, 69848 // see Tagging Amazon Web Services resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) 69849 // in the Amazon Web Services General Reference Guide. 69850 Tags []*Tag `type:"list"` 69851 } 69852 69853 // String returns the string representation. 69854 // 69855 // API parameter values that are decorated as "sensitive" in the API will not 69856 // be included in the string output. The member name will be present, but the 69857 // value will be replaced with "sensitive". 69858 func (s MonitoringSchedule) String() string { 69859 return awsutil.Prettify(s) 69860 } 69861 69862 // GoString returns the string representation. 69863 // 69864 // API parameter values that are decorated as "sensitive" in the API will not 69865 // be included in the string output. The member name will be present, but the 69866 // value will be replaced with "sensitive". 69867 func (s MonitoringSchedule) GoString() string { 69868 return s.String() 69869 } 69870 69871 // SetCreationTime sets the CreationTime field's value. 69872 func (s *MonitoringSchedule) SetCreationTime(v time.Time) *MonitoringSchedule { 69873 s.CreationTime = &v 69874 return s 69875 } 69876 69877 // SetEndpointName sets the EndpointName field's value. 69878 func (s *MonitoringSchedule) SetEndpointName(v string) *MonitoringSchedule { 69879 s.EndpointName = &v 69880 return s 69881 } 69882 69883 // SetFailureReason sets the FailureReason field's value. 69884 func (s *MonitoringSchedule) SetFailureReason(v string) *MonitoringSchedule { 69885 s.FailureReason = &v 69886 return s 69887 } 69888 69889 // SetLastModifiedTime sets the LastModifiedTime field's value. 69890 func (s *MonitoringSchedule) SetLastModifiedTime(v time.Time) *MonitoringSchedule { 69891 s.LastModifiedTime = &v 69892 return s 69893 } 69894 69895 // SetLastMonitoringExecutionSummary sets the LastMonitoringExecutionSummary field's value. 69896 func (s *MonitoringSchedule) SetLastMonitoringExecutionSummary(v *MonitoringExecutionSummary) *MonitoringSchedule { 69897 s.LastMonitoringExecutionSummary = v 69898 return s 69899 } 69900 69901 // SetMonitoringScheduleArn sets the MonitoringScheduleArn field's value. 69902 func (s *MonitoringSchedule) SetMonitoringScheduleArn(v string) *MonitoringSchedule { 69903 s.MonitoringScheduleArn = &v 69904 return s 69905 } 69906 69907 // SetMonitoringScheduleConfig sets the MonitoringScheduleConfig field's value. 69908 func (s *MonitoringSchedule) SetMonitoringScheduleConfig(v *MonitoringScheduleConfig) *MonitoringSchedule { 69909 s.MonitoringScheduleConfig = v 69910 return s 69911 } 69912 69913 // SetMonitoringScheduleName sets the MonitoringScheduleName field's value. 69914 func (s *MonitoringSchedule) SetMonitoringScheduleName(v string) *MonitoringSchedule { 69915 s.MonitoringScheduleName = &v 69916 return s 69917 } 69918 69919 // SetMonitoringScheduleStatus sets the MonitoringScheduleStatus field's value. 69920 func (s *MonitoringSchedule) SetMonitoringScheduleStatus(v string) *MonitoringSchedule { 69921 s.MonitoringScheduleStatus = &v 69922 return s 69923 } 69924 69925 // SetMonitoringType sets the MonitoringType field's value. 69926 func (s *MonitoringSchedule) SetMonitoringType(v string) *MonitoringSchedule { 69927 s.MonitoringType = &v 69928 return s 69929 } 69930 69931 // SetTags sets the Tags field's value. 69932 func (s *MonitoringSchedule) SetTags(v []*Tag) *MonitoringSchedule { 69933 s.Tags = v 69934 return s 69935 } 69936 69937 // Configures the monitoring schedule and defines the monitoring job. 69938 type MonitoringScheduleConfig struct { 69939 _ struct{} `type:"structure"` 69940 69941 // Defines the monitoring job. 69942 MonitoringJobDefinition *MonitoringJobDefinition `type:"structure"` 69943 69944 // The name of the monitoring job definition to schedule. 69945 MonitoringJobDefinitionName *string `min:"1" type:"string"` 69946 69947 // The type of the monitoring job definition to schedule. 69948 MonitoringType *string `type:"string" enum:"MonitoringType"` 69949 69950 // Configures the monitoring schedule. 69951 ScheduleConfig *ScheduleConfig `type:"structure"` 69952 } 69953 69954 // String returns the string representation. 69955 // 69956 // API parameter values that are decorated as "sensitive" in the API will not 69957 // be included in the string output. The member name will be present, but the 69958 // value will be replaced with "sensitive". 69959 func (s MonitoringScheduleConfig) String() string { 69960 return awsutil.Prettify(s) 69961 } 69962 69963 // GoString returns the string representation. 69964 // 69965 // API parameter values that are decorated as "sensitive" in the API will not 69966 // be included in the string output. The member name will be present, but the 69967 // value will be replaced with "sensitive". 69968 func (s MonitoringScheduleConfig) GoString() string { 69969 return s.String() 69970 } 69971 69972 // Validate inspects the fields of the type to determine if they are valid. 69973 func (s *MonitoringScheduleConfig) Validate() error { 69974 invalidParams := request.ErrInvalidParams{Context: "MonitoringScheduleConfig"} 69975 if s.MonitoringJobDefinitionName != nil && len(*s.MonitoringJobDefinitionName) < 1 { 69976 invalidParams.Add(request.NewErrParamMinLen("MonitoringJobDefinitionName", 1)) 69977 } 69978 if s.MonitoringJobDefinition != nil { 69979 if err := s.MonitoringJobDefinition.Validate(); err != nil { 69980 invalidParams.AddNested("MonitoringJobDefinition", err.(request.ErrInvalidParams)) 69981 } 69982 } 69983 if s.ScheduleConfig != nil { 69984 if err := s.ScheduleConfig.Validate(); err != nil { 69985 invalidParams.AddNested("ScheduleConfig", err.(request.ErrInvalidParams)) 69986 } 69987 } 69988 69989 if invalidParams.Len() > 0 { 69990 return invalidParams 69991 } 69992 return nil 69993 } 69994 69995 // SetMonitoringJobDefinition sets the MonitoringJobDefinition field's value. 69996 func (s *MonitoringScheduleConfig) SetMonitoringJobDefinition(v *MonitoringJobDefinition) *MonitoringScheduleConfig { 69997 s.MonitoringJobDefinition = v 69998 return s 69999 } 70000 70001 // SetMonitoringJobDefinitionName sets the MonitoringJobDefinitionName field's value. 70002 func (s *MonitoringScheduleConfig) SetMonitoringJobDefinitionName(v string) *MonitoringScheduleConfig { 70003 s.MonitoringJobDefinitionName = &v 70004 return s 70005 } 70006 70007 // SetMonitoringType sets the MonitoringType field's value. 70008 func (s *MonitoringScheduleConfig) SetMonitoringType(v string) *MonitoringScheduleConfig { 70009 s.MonitoringType = &v 70010 return s 70011 } 70012 70013 // SetScheduleConfig sets the ScheduleConfig field's value. 70014 func (s *MonitoringScheduleConfig) SetScheduleConfig(v *ScheduleConfig) *MonitoringScheduleConfig { 70015 s.ScheduleConfig = v 70016 return s 70017 } 70018 70019 // Summarizes the monitoring schedule. 70020 type MonitoringScheduleSummary struct { 70021 _ struct{} `type:"structure"` 70022 70023 // The creation time of the monitoring schedule. 70024 // 70025 // CreationTime is a required field 70026 CreationTime *time.Time `type:"timestamp" required:"true"` 70027 70028 // The name of the endpoint using the monitoring schedule. 70029 EndpointName *string `type:"string"` 70030 70031 // The last time the monitoring schedule was modified. 70032 // 70033 // LastModifiedTime is a required field 70034 LastModifiedTime *time.Time `type:"timestamp" required:"true"` 70035 70036 // The name of the monitoring job definition that the schedule is for. 70037 MonitoringJobDefinitionName *string `min:"1" type:"string"` 70038 70039 // The Amazon Resource Name (ARN) of the monitoring schedule. 70040 // 70041 // MonitoringScheduleArn is a required field 70042 MonitoringScheduleArn *string `type:"string" required:"true"` 70043 70044 // The name of the monitoring schedule. 70045 // 70046 // MonitoringScheduleName is a required field 70047 MonitoringScheduleName *string `min:"1" type:"string" required:"true"` 70048 70049 // The status of the monitoring schedule. 70050 // 70051 // MonitoringScheduleStatus is a required field 70052 MonitoringScheduleStatus *string `type:"string" required:"true" enum:"ScheduleStatus"` 70053 70054 // The type of the monitoring job definition that the schedule is for. 70055 MonitoringType *string `type:"string" enum:"MonitoringType"` 70056 } 70057 70058 // String returns the string representation. 70059 // 70060 // API parameter values that are decorated as "sensitive" in the API will not 70061 // be included in the string output. The member name will be present, but the 70062 // value will be replaced with "sensitive". 70063 func (s MonitoringScheduleSummary) String() string { 70064 return awsutil.Prettify(s) 70065 } 70066 70067 // GoString returns the string representation. 70068 // 70069 // API parameter values that are decorated as "sensitive" in the API will not 70070 // be included in the string output. The member name will be present, but the 70071 // value will be replaced with "sensitive". 70072 func (s MonitoringScheduleSummary) GoString() string { 70073 return s.String() 70074 } 70075 70076 // SetCreationTime sets the CreationTime field's value. 70077 func (s *MonitoringScheduleSummary) SetCreationTime(v time.Time) *MonitoringScheduleSummary { 70078 s.CreationTime = &v 70079 return s 70080 } 70081 70082 // SetEndpointName sets the EndpointName field's value. 70083 func (s *MonitoringScheduleSummary) SetEndpointName(v string) *MonitoringScheduleSummary { 70084 s.EndpointName = &v 70085 return s 70086 } 70087 70088 // SetLastModifiedTime sets the LastModifiedTime field's value. 70089 func (s *MonitoringScheduleSummary) SetLastModifiedTime(v time.Time) *MonitoringScheduleSummary { 70090 s.LastModifiedTime = &v 70091 return s 70092 } 70093 70094 // SetMonitoringJobDefinitionName sets the MonitoringJobDefinitionName field's value. 70095 func (s *MonitoringScheduleSummary) SetMonitoringJobDefinitionName(v string) *MonitoringScheduleSummary { 70096 s.MonitoringJobDefinitionName = &v 70097 return s 70098 } 70099 70100 // SetMonitoringScheduleArn sets the MonitoringScheduleArn field's value. 70101 func (s *MonitoringScheduleSummary) SetMonitoringScheduleArn(v string) *MonitoringScheduleSummary { 70102 s.MonitoringScheduleArn = &v 70103 return s 70104 } 70105 70106 // SetMonitoringScheduleName sets the MonitoringScheduleName field's value. 70107 func (s *MonitoringScheduleSummary) SetMonitoringScheduleName(v string) *MonitoringScheduleSummary { 70108 s.MonitoringScheduleName = &v 70109 return s 70110 } 70111 70112 // SetMonitoringScheduleStatus sets the MonitoringScheduleStatus field's value. 70113 func (s *MonitoringScheduleSummary) SetMonitoringScheduleStatus(v string) *MonitoringScheduleSummary { 70114 s.MonitoringScheduleStatus = &v 70115 return s 70116 } 70117 70118 // SetMonitoringType sets the MonitoringType field's value. 70119 func (s *MonitoringScheduleSummary) SetMonitoringType(v string) *MonitoringScheduleSummary { 70120 s.MonitoringType = &v 70121 return s 70122 } 70123 70124 // The statistics resource for a monitoring job. 70125 type MonitoringStatisticsResource struct { 70126 _ struct{} `type:"structure"` 70127 70128 // The Amazon S3 URI for the statistics resource. 70129 S3Uri *string `type:"string"` 70130 } 70131 70132 // String returns the string representation. 70133 // 70134 // API parameter values that are decorated as "sensitive" in the API will not 70135 // be included in the string output. The member name will be present, but the 70136 // value will be replaced with "sensitive". 70137 func (s MonitoringStatisticsResource) String() string { 70138 return awsutil.Prettify(s) 70139 } 70140 70141 // GoString returns the string representation. 70142 // 70143 // API parameter values that are decorated as "sensitive" in the API will not 70144 // be included in the string output. The member name will be present, but the 70145 // value will be replaced with "sensitive". 70146 func (s MonitoringStatisticsResource) GoString() string { 70147 return s.String() 70148 } 70149 70150 // SetS3Uri sets the S3Uri field's value. 70151 func (s *MonitoringStatisticsResource) SetS3Uri(v string) *MonitoringStatisticsResource { 70152 s.S3Uri = &v 70153 return s 70154 } 70155 70156 // A time limit for how long the monitoring job is allowed to run before stopping. 70157 type MonitoringStoppingCondition struct { 70158 _ struct{} `type:"structure"` 70159 70160 // The maximum runtime allowed in seconds. 70161 // 70162 // The MaxRuntimeInSeconds cannot exceed the frequency of the job. For data 70163 // quality and model explainability, this can be up to 3600 seconds for an hourly 70164 // schedule. For model bias and model quality hourly schedules, this can be 70165 // up to 1800 seconds. 70166 // 70167 // MaxRuntimeInSeconds is a required field 70168 MaxRuntimeInSeconds *int64 `min:"1" type:"integer" required:"true"` 70169 } 70170 70171 // String returns the string representation. 70172 // 70173 // API parameter values that are decorated as "sensitive" in the API will not 70174 // be included in the string output. The member name will be present, but the 70175 // value will be replaced with "sensitive". 70176 func (s MonitoringStoppingCondition) String() string { 70177 return awsutil.Prettify(s) 70178 } 70179 70180 // GoString returns the string representation. 70181 // 70182 // API parameter values that are decorated as "sensitive" in the API will not 70183 // be included in the string output. The member name will be present, but the 70184 // value will be replaced with "sensitive". 70185 func (s MonitoringStoppingCondition) GoString() string { 70186 return s.String() 70187 } 70188 70189 // Validate inspects the fields of the type to determine if they are valid. 70190 func (s *MonitoringStoppingCondition) Validate() error { 70191 invalidParams := request.ErrInvalidParams{Context: "MonitoringStoppingCondition"} 70192 if s.MaxRuntimeInSeconds == nil { 70193 invalidParams.Add(request.NewErrParamRequired("MaxRuntimeInSeconds")) 70194 } 70195 if s.MaxRuntimeInSeconds != nil && *s.MaxRuntimeInSeconds < 1 { 70196 invalidParams.Add(request.NewErrParamMinValue("MaxRuntimeInSeconds", 1)) 70197 } 70198 70199 if invalidParams.Len() > 0 { 70200 return invalidParams 70201 } 70202 return nil 70203 } 70204 70205 // SetMaxRuntimeInSeconds sets the MaxRuntimeInSeconds field's value. 70206 func (s *MonitoringStoppingCondition) SetMaxRuntimeInSeconds(v int64) *MonitoringStoppingCondition { 70207 s.MaxRuntimeInSeconds = &v 70208 return s 70209 } 70210 70211 // Specifies additional configuration for hosting multi-model endpoints. 70212 type MultiModelConfig struct { 70213 _ struct{} `type:"structure"` 70214 70215 // Whether to cache models for a multi-model endpoint. By default, multi-model 70216 // endpoints cache models so that a model does not have to be loaded into memory 70217 // each time it is invoked. Some use cases do not benefit from model caching. 70218 // For example, if an endpoint hosts a large number of models that are each 70219 // invoked infrequently, the endpoint might perform better if you disable model 70220 // caching. To disable model caching, set the value of this parameter to Disabled. 70221 ModelCacheSetting *string `type:"string" enum:"ModelCacheSetting"` 70222 } 70223 70224 // String returns the string representation. 70225 // 70226 // API parameter values that are decorated as "sensitive" in the API will not 70227 // be included in the string output. The member name will be present, but the 70228 // value will be replaced with "sensitive". 70229 func (s MultiModelConfig) String() string { 70230 return awsutil.Prettify(s) 70231 } 70232 70233 // GoString returns the string representation. 70234 // 70235 // API parameter values that are decorated as "sensitive" in the API will not 70236 // be included in the string output. The member name will be present, but the 70237 // value will be replaced with "sensitive". 70238 func (s MultiModelConfig) GoString() string { 70239 return s.String() 70240 } 70241 70242 // SetModelCacheSetting sets the ModelCacheSetting field's value. 70243 func (s *MultiModelConfig) SetModelCacheSetting(v string) *MultiModelConfig { 70244 s.ModelCacheSetting = &v 70245 return s 70246 } 70247 70248 // The VpcConfig configuration object that specifies the VPC that you want the 70249 // compilation jobs to connect to. For more information on controlling access 70250 // to your Amazon S3 buckets used for compilation job, see Give Amazon SageMaker 70251 // Compilation Jobs Access to Resources in Your Amazon VPC (https://docs.aws.amazon.com/sagemaker/latest/dg/neo-vpc.html). 70252 type NeoVpcConfig struct { 70253 _ struct{} `type:"structure"` 70254 70255 // The VPC security group IDs. IDs have the form of sg-xxxxxxxx. Specify the 70256 // security groups for the VPC that is specified in the Subnets field. 70257 // 70258 // SecurityGroupIds is a required field 70259 SecurityGroupIds []*string `min:"1" type:"list" required:"true"` 70260 70261 // The ID of the subnets in the VPC that you want to connect the compilation 70262 // job to for accessing the model in Amazon S3. 70263 // 70264 // Subnets is a required field 70265 Subnets []*string `min:"1" type:"list" required:"true"` 70266 } 70267 70268 // String returns the string representation. 70269 // 70270 // API parameter values that are decorated as "sensitive" in the API will not 70271 // be included in the string output. The member name will be present, but the 70272 // value will be replaced with "sensitive". 70273 func (s NeoVpcConfig) String() string { 70274 return awsutil.Prettify(s) 70275 } 70276 70277 // GoString returns the string representation. 70278 // 70279 // API parameter values that are decorated as "sensitive" in the API will not 70280 // be included in the string output. The member name will be present, but the 70281 // value will be replaced with "sensitive". 70282 func (s NeoVpcConfig) GoString() string { 70283 return s.String() 70284 } 70285 70286 // Validate inspects the fields of the type to determine if they are valid. 70287 func (s *NeoVpcConfig) Validate() error { 70288 invalidParams := request.ErrInvalidParams{Context: "NeoVpcConfig"} 70289 if s.SecurityGroupIds == nil { 70290 invalidParams.Add(request.NewErrParamRequired("SecurityGroupIds")) 70291 } 70292 if s.SecurityGroupIds != nil && len(s.SecurityGroupIds) < 1 { 70293 invalidParams.Add(request.NewErrParamMinLen("SecurityGroupIds", 1)) 70294 } 70295 if s.Subnets == nil { 70296 invalidParams.Add(request.NewErrParamRequired("Subnets")) 70297 } 70298 if s.Subnets != nil && len(s.Subnets) < 1 { 70299 invalidParams.Add(request.NewErrParamMinLen("Subnets", 1)) 70300 } 70301 70302 if invalidParams.Len() > 0 { 70303 return invalidParams 70304 } 70305 return nil 70306 } 70307 70308 // SetSecurityGroupIds sets the SecurityGroupIds field's value. 70309 func (s *NeoVpcConfig) SetSecurityGroupIds(v []*string) *NeoVpcConfig { 70310 s.SecurityGroupIds = v 70311 return s 70312 } 70313 70314 // SetSubnets sets the Subnets field's value. 70315 func (s *NeoVpcConfig) SetSubnets(v []*string) *NeoVpcConfig { 70316 s.Subnets = v 70317 return s 70318 } 70319 70320 // A list of nested Filter objects. A resource must satisfy the conditions of 70321 // all filters to be included in the results returned from the Search API. 70322 // 70323 // For example, to filter on a training job's InputDataConfig property with 70324 // a specific channel name and S3Uri prefix, define the following filters: 70325 // 70326 // * '{Name:"InputDataConfig.ChannelName", "Operator":"Equals", "Value":"train"}', 70327 // 70328 // * '{Name:"InputDataConfig.DataSource.S3DataSource.S3Uri", "Operator":"Contains", 70329 // "Value":"mybucket/catdata"}' 70330 type NestedFilters struct { 70331 _ struct{} `type:"structure"` 70332 70333 // A list of filters. Each filter acts on a property. Filters must contain at 70334 // least one Filters value. For example, a NestedFilters call might include 70335 // a filter on the PropertyName parameter of the InputDataConfig property: InputDataConfig.DataSource.S3DataSource.S3Uri. 70336 // 70337 // Filters is a required field 70338 Filters []*Filter `min:"1" type:"list" required:"true"` 70339 70340 // The name of the property to use in the nested filters. The value must match 70341 // a listed property name, such as InputDataConfig. 70342 // 70343 // NestedPropertyName is a required field 70344 NestedPropertyName *string `min:"1" type:"string" required:"true"` 70345 } 70346 70347 // String returns the string representation. 70348 // 70349 // API parameter values that are decorated as "sensitive" in the API will not 70350 // be included in the string output. The member name will be present, but the 70351 // value will be replaced with "sensitive". 70352 func (s NestedFilters) String() string { 70353 return awsutil.Prettify(s) 70354 } 70355 70356 // GoString returns the string representation. 70357 // 70358 // API parameter values that are decorated as "sensitive" in the API will not 70359 // be included in the string output. The member name will be present, but the 70360 // value will be replaced with "sensitive". 70361 func (s NestedFilters) GoString() string { 70362 return s.String() 70363 } 70364 70365 // Validate inspects the fields of the type to determine if they are valid. 70366 func (s *NestedFilters) Validate() error { 70367 invalidParams := request.ErrInvalidParams{Context: "NestedFilters"} 70368 if s.Filters == nil { 70369 invalidParams.Add(request.NewErrParamRequired("Filters")) 70370 } 70371 if s.Filters != nil && len(s.Filters) < 1 { 70372 invalidParams.Add(request.NewErrParamMinLen("Filters", 1)) 70373 } 70374 if s.NestedPropertyName == nil { 70375 invalidParams.Add(request.NewErrParamRequired("NestedPropertyName")) 70376 } 70377 if s.NestedPropertyName != nil && len(*s.NestedPropertyName) < 1 { 70378 invalidParams.Add(request.NewErrParamMinLen("NestedPropertyName", 1)) 70379 } 70380 if s.Filters != nil { 70381 for i, v := range s.Filters { 70382 if v == nil { 70383 continue 70384 } 70385 if err := v.Validate(); err != nil { 70386 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams)) 70387 } 70388 } 70389 } 70390 70391 if invalidParams.Len() > 0 { 70392 return invalidParams 70393 } 70394 return nil 70395 } 70396 70397 // SetFilters sets the Filters field's value. 70398 func (s *NestedFilters) SetFilters(v []*Filter) *NestedFilters { 70399 s.Filters = v 70400 return s 70401 } 70402 70403 // SetNestedPropertyName sets the NestedPropertyName field's value. 70404 func (s *NestedFilters) SetNestedPropertyName(v string) *NestedFilters { 70405 s.NestedPropertyName = &v 70406 return s 70407 } 70408 70409 // Networking options for a job, such as network traffic encryption between 70410 // containers, whether to allow inbound and outbound network calls to and from 70411 // containers, and the VPC subnets and security groups to use for VPC-enabled 70412 // jobs. 70413 type NetworkConfig struct { 70414 _ struct{} `type:"structure"` 70415 70416 // Whether to encrypt all communications between distributed processing jobs. 70417 // Choose True to encrypt communications. Encryption provides greater security 70418 // for distributed processing jobs, but the processing might take longer. 70419 EnableInterContainerTrafficEncryption *bool `type:"boolean"` 70420 70421 // Whether to allow inbound and outbound network calls to and from the containers 70422 // used for the processing job. 70423 EnableNetworkIsolation *bool `type:"boolean"` 70424 70425 // Specifies a VPC that your training jobs and hosted models have access to. 70426 // Control access to and from your training and model containers by configuring 70427 // the VPC. For more information, see Protect Endpoints by Using an Amazon Virtual 70428 // Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html) 70429 // and Protect Training Jobs by Using an Amazon Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html). 70430 VpcConfig *VpcConfig `type:"structure"` 70431 } 70432 70433 // String returns the string representation. 70434 // 70435 // API parameter values that are decorated as "sensitive" in the API will not 70436 // be included in the string output. The member name will be present, but the 70437 // value will be replaced with "sensitive". 70438 func (s NetworkConfig) String() string { 70439 return awsutil.Prettify(s) 70440 } 70441 70442 // GoString returns the string representation. 70443 // 70444 // API parameter values that are decorated as "sensitive" in the API will not 70445 // be included in the string output. The member name will be present, but the 70446 // value will be replaced with "sensitive". 70447 func (s NetworkConfig) GoString() string { 70448 return s.String() 70449 } 70450 70451 // Validate inspects the fields of the type to determine if they are valid. 70452 func (s *NetworkConfig) Validate() error { 70453 invalidParams := request.ErrInvalidParams{Context: "NetworkConfig"} 70454 if s.VpcConfig != nil { 70455 if err := s.VpcConfig.Validate(); err != nil { 70456 invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams)) 70457 } 70458 } 70459 70460 if invalidParams.Len() > 0 { 70461 return invalidParams 70462 } 70463 return nil 70464 } 70465 70466 // SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value. 70467 func (s *NetworkConfig) SetEnableInterContainerTrafficEncryption(v bool) *NetworkConfig { 70468 s.EnableInterContainerTrafficEncryption = &v 70469 return s 70470 } 70471 70472 // SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value. 70473 func (s *NetworkConfig) SetEnableNetworkIsolation(v bool) *NetworkConfig { 70474 s.EnableNetworkIsolation = &v 70475 return s 70476 } 70477 70478 // SetVpcConfig sets the VpcConfig field's value. 70479 func (s *NetworkConfig) SetVpcConfig(v *VpcConfig) *NetworkConfig { 70480 s.VpcConfig = v 70481 return s 70482 } 70483 70484 // Provides a summary of a notebook instance lifecycle configuration. 70485 type NotebookInstanceLifecycleConfigSummary struct { 70486 _ struct{} `type:"structure"` 70487 70488 // A timestamp that tells when the lifecycle configuration was created. 70489 CreationTime *time.Time `type:"timestamp"` 70490 70491 // A timestamp that tells when the lifecycle configuration was last modified. 70492 LastModifiedTime *time.Time `type:"timestamp"` 70493 70494 // The Amazon Resource Name (ARN) of the lifecycle configuration. 70495 // 70496 // NotebookInstanceLifecycleConfigArn is a required field 70497 NotebookInstanceLifecycleConfigArn *string `type:"string" required:"true"` 70498 70499 // The name of the lifecycle configuration. 70500 // 70501 // NotebookInstanceLifecycleConfigName is a required field 70502 NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"` 70503 } 70504 70505 // String returns the string representation. 70506 // 70507 // API parameter values that are decorated as "sensitive" in the API will not 70508 // be included in the string output. The member name will be present, but the 70509 // value will be replaced with "sensitive". 70510 func (s NotebookInstanceLifecycleConfigSummary) String() string { 70511 return awsutil.Prettify(s) 70512 } 70513 70514 // GoString returns the string representation. 70515 // 70516 // API parameter values that are decorated as "sensitive" in the API will not 70517 // be included in the string output. The member name will be present, but the 70518 // value will be replaced with "sensitive". 70519 func (s NotebookInstanceLifecycleConfigSummary) GoString() string { 70520 return s.String() 70521 } 70522 70523 // SetCreationTime sets the CreationTime field's value. 70524 func (s *NotebookInstanceLifecycleConfigSummary) SetCreationTime(v time.Time) *NotebookInstanceLifecycleConfigSummary { 70525 s.CreationTime = &v 70526 return s 70527 } 70528 70529 // SetLastModifiedTime sets the LastModifiedTime field's value. 70530 func (s *NotebookInstanceLifecycleConfigSummary) SetLastModifiedTime(v time.Time) *NotebookInstanceLifecycleConfigSummary { 70531 s.LastModifiedTime = &v 70532 return s 70533 } 70534 70535 // SetNotebookInstanceLifecycleConfigArn sets the NotebookInstanceLifecycleConfigArn field's value. 70536 func (s *NotebookInstanceLifecycleConfigSummary) SetNotebookInstanceLifecycleConfigArn(v string) *NotebookInstanceLifecycleConfigSummary { 70537 s.NotebookInstanceLifecycleConfigArn = &v 70538 return s 70539 } 70540 70541 // SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value. 70542 func (s *NotebookInstanceLifecycleConfigSummary) SetNotebookInstanceLifecycleConfigName(v string) *NotebookInstanceLifecycleConfigSummary { 70543 s.NotebookInstanceLifecycleConfigName = &v 70544 return s 70545 } 70546 70547 // Contains the notebook instance lifecycle configuration script. 70548 // 70549 // Each lifecycle configuration script has a limit of 16384 characters. 70550 // 70551 // The value of the $PATH environment variable that is available to both scripts 70552 // is /sbin:bin:/usr/sbin:/usr/bin. 70553 // 70554 // View CloudWatch Logs for notebook instance lifecycle configurations in log 70555 // group /aws/sagemaker/NotebookInstances in log stream [notebook-instance-name]/[LifecycleConfigHook]. 70556 // 70557 // Lifecycle configuration scripts cannot run for longer than 5 minutes. If 70558 // a script runs for longer than 5 minutes, it fails and the notebook instance 70559 // is not created or started. 70560 // 70561 // For information about notebook instance lifestyle configurations, see Step 70562 // 2.1: (Optional) Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html). 70563 type NotebookInstanceLifecycleHook struct { 70564 _ struct{} `type:"structure"` 70565 70566 // A base64-encoded string that contains a shell script for a notebook instance 70567 // lifecycle configuration. 70568 Content *string `min:"1" type:"string"` 70569 } 70570 70571 // String returns the string representation. 70572 // 70573 // API parameter values that are decorated as "sensitive" in the API will not 70574 // be included in the string output. The member name will be present, but the 70575 // value will be replaced with "sensitive". 70576 func (s NotebookInstanceLifecycleHook) String() string { 70577 return awsutil.Prettify(s) 70578 } 70579 70580 // GoString returns the string representation. 70581 // 70582 // API parameter values that are decorated as "sensitive" in the API will not 70583 // be included in the string output. The member name will be present, but the 70584 // value will be replaced with "sensitive". 70585 func (s NotebookInstanceLifecycleHook) GoString() string { 70586 return s.String() 70587 } 70588 70589 // Validate inspects the fields of the type to determine if they are valid. 70590 func (s *NotebookInstanceLifecycleHook) Validate() error { 70591 invalidParams := request.ErrInvalidParams{Context: "NotebookInstanceLifecycleHook"} 70592 if s.Content != nil && len(*s.Content) < 1 { 70593 invalidParams.Add(request.NewErrParamMinLen("Content", 1)) 70594 } 70595 70596 if invalidParams.Len() > 0 { 70597 return invalidParams 70598 } 70599 return nil 70600 } 70601 70602 // SetContent sets the Content field's value. 70603 func (s *NotebookInstanceLifecycleHook) SetContent(v string) *NotebookInstanceLifecycleHook { 70604 s.Content = &v 70605 return s 70606 } 70607 70608 // Provides summary information for an Amazon SageMaker notebook instance. 70609 type NotebookInstanceSummary struct { 70610 _ struct{} `type:"structure"` 70611 70612 // An array of up to three Git repositories associated with the notebook instance. 70613 // These can be either the names of Git repositories stored as resources in 70614 // your account, or the URL of Git repositories in Amazon Web Services CodeCommit 70615 // (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or 70616 // in any other Git repository. These repositories are cloned at the same level 70617 // as the default repository of your notebook instance. For more information, 70618 // see Associating Git Repositories with Amazon SageMaker Notebook Instances 70619 // (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html). 70620 AdditionalCodeRepositories []*string `type:"list"` 70621 70622 // A timestamp that shows when the notebook instance was created. 70623 CreationTime *time.Time `type:"timestamp"` 70624 70625 // The Git repository associated with the notebook instance as its default code 70626 // repository. This can be either the name of a Git repository stored as a resource 70627 // in your account, or the URL of a Git repository in Amazon Web Services CodeCommit 70628 // (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or 70629 // in any other Git repository. When you open a notebook instance, it opens 70630 // in the directory that contains this repository. For more information, see 70631 // Associating Git Repositories with Amazon SageMaker Notebook Instances (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html). 70632 DefaultCodeRepository *string `min:"1" type:"string"` 70633 70634 // The type of ML compute instance that the notebook instance is running on. 70635 InstanceType *string `type:"string" enum:"InstanceType"` 70636 70637 // A timestamp that shows when the notebook instance was last modified. 70638 LastModifiedTime *time.Time `type:"timestamp"` 70639 70640 // The Amazon Resource Name (ARN) of the notebook instance. 70641 // 70642 // NotebookInstanceArn is a required field 70643 NotebookInstanceArn *string `type:"string" required:"true"` 70644 70645 // The name of a notebook instance lifecycle configuration associated with this 70646 // notebook instance. 70647 // 70648 // For information about notebook instance lifestyle configurations, see Step 70649 // 2.1: (Optional) Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html). 70650 NotebookInstanceLifecycleConfigName *string `type:"string"` 70651 70652 // The name of the notebook instance that you want a summary for. 70653 // 70654 // NotebookInstanceName is a required field 70655 NotebookInstanceName *string `type:"string" required:"true"` 70656 70657 // The status of the notebook instance. 70658 NotebookInstanceStatus *string `type:"string" enum:"NotebookInstanceStatus"` 70659 70660 // The URL that you use to connect to the Jupyter instance running in your notebook 70661 // instance. 70662 Url *string `type:"string"` 70663 } 70664 70665 // String returns the string representation. 70666 // 70667 // API parameter values that are decorated as "sensitive" in the API will not 70668 // be included in the string output. The member name will be present, but the 70669 // value will be replaced with "sensitive". 70670 func (s NotebookInstanceSummary) String() string { 70671 return awsutil.Prettify(s) 70672 } 70673 70674 // GoString returns the string representation. 70675 // 70676 // API parameter values that are decorated as "sensitive" in the API will not 70677 // be included in the string output. The member name will be present, but the 70678 // value will be replaced with "sensitive". 70679 func (s NotebookInstanceSummary) GoString() string { 70680 return s.String() 70681 } 70682 70683 // SetAdditionalCodeRepositories sets the AdditionalCodeRepositories field's value. 70684 func (s *NotebookInstanceSummary) SetAdditionalCodeRepositories(v []*string) *NotebookInstanceSummary { 70685 s.AdditionalCodeRepositories = v 70686 return s 70687 } 70688 70689 // SetCreationTime sets the CreationTime field's value. 70690 func (s *NotebookInstanceSummary) SetCreationTime(v time.Time) *NotebookInstanceSummary { 70691 s.CreationTime = &v 70692 return s 70693 } 70694 70695 // SetDefaultCodeRepository sets the DefaultCodeRepository field's value. 70696 func (s *NotebookInstanceSummary) SetDefaultCodeRepository(v string) *NotebookInstanceSummary { 70697 s.DefaultCodeRepository = &v 70698 return s 70699 } 70700 70701 // SetInstanceType sets the InstanceType field's value. 70702 func (s *NotebookInstanceSummary) SetInstanceType(v string) *NotebookInstanceSummary { 70703 s.InstanceType = &v 70704 return s 70705 } 70706 70707 // SetLastModifiedTime sets the LastModifiedTime field's value. 70708 func (s *NotebookInstanceSummary) SetLastModifiedTime(v time.Time) *NotebookInstanceSummary { 70709 s.LastModifiedTime = &v 70710 return s 70711 } 70712 70713 // SetNotebookInstanceArn sets the NotebookInstanceArn field's value. 70714 func (s *NotebookInstanceSummary) SetNotebookInstanceArn(v string) *NotebookInstanceSummary { 70715 s.NotebookInstanceArn = &v 70716 return s 70717 } 70718 70719 // SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value. 70720 func (s *NotebookInstanceSummary) SetNotebookInstanceLifecycleConfigName(v string) *NotebookInstanceSummary { 70721 s.NotebookInstanceLifecycleConfigName = &v 70722 return s 70723 } 70724 70725 // SetNotebookInstanceName sets the NotebookInstanceName field's value. 70726 func (s *NotebookInstanceSummary) SetNotebookInstanceName(v string) *NotebookInstanceSummary { 70727 s.NotebookInstanceName = &v 70728 return s 70729 } 70730 70731 // SetNotebookInstanceStatus sets the NotebookInstanceStatus field's value. 70732 func (s *NotebookInstanceSummary) SetNotebookInstanceStatus(v string) *NotebookInstanceSummary { 70733 s.NotebookInstanceStatus = &v 70734 return s 70735 } 70736 70737 // SetUrl sets the Url field's value. 70738 func (s *NotebookInstanceSummary) SetUrl(v string) *NotebookInstanceSummary { 70739 s.Url = &v 70740 return s 70741 } 70742 70743 // Configures Amazon SNS notifications of available or expiring work items for 70744 // work teams. 70745 type NotificationConfiguration struct { 70746 _ struct{} `type:"structure"` 70747 70748 // The ARN for the Amazon SNS topic to which notifications should be published. 70749 NotificationTopicArn *string `type:"string"` 70750 } 70751 70752 // String returns the string representation. 70753 // 70754 // API parameter values that are decorated as "sensitive" in the API will not 70755 // be included in the string output. The member name will be present, but the 70756 // value will be replaced with "sensitive". 70757 func (s NotificationConfiguration) String() string { 70758 return awsutil.Prettify(s) 70759 } 70760 70761 // GoString returns the string representation. 70762 // 70763 // API parameter values that are decorated as "sensitive" in the API will not 70764 // be included in the string output. The member name will be present, but the 70765 // value will be replaced with "sensitive". 70766 func (s NotificationConfiguration) GoString() string { 70767 return s.String() 70768 } 70769 70770 // SetNotificationTopicArn sets the NotificationTopicArn field's value. 70771 func (s *NotificationConfiguration) SetNotificationTopicArn(v string) *NotificationConfiguration { 70772 s.NotificationTopicArn = &v 70773 return s 70774 } 70775 70776 // Specifies the number of training jobs that this hyperparameter tuning job 70777 // launched, categorized by the status of their objective metric. The objective 70778 // metric status shows whether the final objective metric for the training job 70779 // has been evaluated by the tuning job and used in the hyperparameter tuning 70780 // process. 70781 type ObjectiveStatusCounters struct { 70782 _ struct{} `type:"structure"` 70783 70784 // The number of training jobs whose final objective metric was not evaluated 70785 // and used in the hyperparameter tuning process. This typically occurs when 70786 // the training job failed or did not emit an objective metric. 70787 Failed *int64 `type:"integer"` 70788 70789 // The number of training jobs that are in progress and pending evaluation of 70790 // their final objective metric. 70791 Pending *int64 `type:"integer"` 70792 70793 // The number of training jobs whose final objective metric was evaluated by 70794 // the hyperparameter tuning job and used in the hyperparameter tuning process. 70795 Succeeded *int64 `type:"integer"` 70796 } 70797 70798 // String returns the string representation. 70799 // 70800 // API parameter values that are decorated as "sensitive" in the API will not 70801 // be included in the string output. The member name will be present, but the 70802 // value will be replaced with "sensitive". 70803 func (s ObjectiveStatusCounters) String() string { 70804 return awsutil.Prettify(s) 70805 } 70806 70807 // GoString returns the string representation. 70808 // 70809 // API parameter values that are decorated as "sensitive" in the API will not 70810 // be included in the string output. The member name will be present, but the 70811 // value will be replaced with "sensitive". 70812 func (s ObjectiveStatusCounters) GoString() string { 70813 return s.String() 70814 } 70815 70816 // SetFailed sets the Failed field's value. 70817 func (s *ObjectiveStatusCounters) SetFailed(v int64) *ObjectiveStatusCounters { 70818 s.Failed = &v 70819 return s 70820 } 70821 70822 // SetPending sets the Pending field's value. 70823 func (s *ObjectiveStatusCounters) SetPending(v int64) *ObjectiveStatusCounters { 70824 s.Pending = &v 70825 return s 70826 } 70827 70828 // SetSucceeded sets the Succeeded field's value. 70829 func (s *ObjectiveStatusCounters) SetSucceeded(v int64) *ObjectiveStatusCounters { 70830 s.Succeeded = &v 70831 return s 70832 } 70833 70834 // The configuration of an OfflineStore. 70835 // 70836 // Provide an OfflineStoreConfig in a request to CreateFeatureGroup to create 70837 // an OfflineStore. 70838 // 70839 // To encrypt an OfflineStore using at rest data encryption, specify Amazon 70840 // Web Services Key Management Service (KMS) key ID, or KMSKeyId, in S3StorageConfig. 70841 type OfflineStoreConfig struct { 70842 _ struct{} `type:"structure"` 70843 70844 // The meta data of the Glue table that is autogenerated when an OfflineStore 70845 // is created. 70846 DataCatalogConfig *DataCatalogConfig `type:"structure"` 70847 70848 // Set to True to disable the automatic creation of an Amazon Web Services Glue 70849 // table when configuring an OfflineStore. 70850 DisableGlueTableCreation *bool `type:"boolean"` 70851 70852 // The Amazon Simple Storage (Amazon S3) location of OfflineStore. 70853 // 70854 // S3StorageConfig is a required field 70855 S3StorageConfig *S3StorageConfig `type:"structure" required:"true"` 70856 } 70857 70858 // String returns the string representation. 70859 // 70860 // API parameter values that are decorated as "sensitive" in the API will not 70861 // be included in the string output. The member name will be present, but the 70862 // value will be replaced with "sensitive". 70863 func (s OfflineStoreConfig) String() string { 70864 return awsutil.Prettify(s) 70865 } 70866 70867 // GoString returns the string representation. 70868 // 70869 // API parameter values that are decorated as "sensitive" in the API will not 70870 // be included in the string output. The member name will be present, but the 70871 // value will be replaced with "sensitive". 70872 func (s OfflineStoreConfig) GoString() string { 70873 return s.String() 70874 } 70875 70876 // Validate inspects the fields of the type to determine if they are valid. 70877 func (s *OfflineStoreConfig) Validate() error { 70878 invalidParams := request.ErrInvalidParams{Context: "OfflineStoreConfig"} 70879 if s.S3StorageConfig == nil { 70880 invalidParams.Add(request.NewErrParamRequired("S3StorageConfig")) 70881 } 70882 if s.DataCatalogConfig != nil { 70883 if err := s.DataCatalogConfig.Validate(); err != nil { 70884 invalidParams.AddNested("DataCatalogConfig", err.(request.ErrInvalidParams)) 70885 } 70886 } 70887 if s.S3StorageConfig != nil { 70888 if err := s.S3StorageConfig.Validate(); err != nil { 70889 invalidParams.AddNested("S3StorageConfig", err.(request.ErrInvalidParams)) 70890 } 70891 } 70892 70893 if invalidParams.Len() > 0 { 70894 return invalidParams 70895 } 70896 return nil 70897 } 70898 70899 // SetDataCatalogConfig sets the DataCatalogConfig field's value. 70900 func (s *OfflineStoreConfig) SetDataCatalogConfig(v *DataCatalogConfig) *OfflineStoreConfig { 70901 s.DataCatalogConfig = v 70902 return s 70903 } 70904 70905 // SetDisableGlueTableCreation sets the DisableGlueTableCreation field's value. 70906 func (s *OfflineStoreConfig) SetDisableGlueTableCreation(v bool) *OfflineStoreConfig { 70907 s.DisableGlueTableCreation = &v 70908 return s 70909 } 70910 70911 // SetS3StorageConfig sets the S3StorageConfig field's value. 70912 func (s *OfflineStoreConfig) SetS3StorageConfig(v *S3StorageConfig) *OfflineStoreConfig { 70913 s.S3StorageConfig = v 70914 return s 70915 } 70916 70917 // The status of OfflineStore. 70918 type OfflineStoreStatus struct { 70919 _ struct{} `type:"structure"` 70920 70921 // The justification for why the OfflineStoreStatus is Blocked (if applicable). 70922 BlockedReason *string `type:"string"` 70923 70924 // An OfflineStore status. 70925 // 70926 // Status is a required field 70927 Status *string `type:"string" required:"true" enum:"OfflineStoreStatusValue"` 70928 } 70929 70930 // String returns the string representation. 70931 // 70932 // API parameter values that are decorated as "sensitive" in the API will not 70933 // be included in the string output. The member name will be present, but the 70934 // value will be replaced with "sensitive". 70935 func (s OfflineStoreStatus) String() string { 70936 return awsutil.Prettify(s) 70937 } 70938 70939 // GoString returns the string representation. 70940 // 70941 // API parameter values that are decorated as "sensitive" in the API will not 70942 // be included in the string output. The member name will be present, but the 70943 // value will be replaced with "sensitive". 70944 func (s OfflineStoreStatus) GoString() string { 70945 return s.String() 70946 } 70947 70948 // SetBlockedReason sets the BlockedReason field's value. 70949 func (s *OfflineStoreStatus) SetBlockedReason(v string) *OfflineStoreStatus { 70950 s.BlockedReason = &v 70951 return s 70952 } 70953 70954 // SetStatus sets the Status field's value. 70955 func (s *OfflineStoreStatus) SetStatus(v string) *OfflineStoreStatus { 70956 s.Status = &v 70957 return s 70958 } 70959 70960 // Use this parameter to configure your OIDC Identity Provider (IdP). 70961 type OidcConfig struct { 70962 _ struct{} `type:"structure"` 70963 70964 // The OIDC IdP authorization endpoint used to configure your private workforce. 70965 // 70966 // AuthorizationEndpoint is a required field 70967 AuthorizationEndpoint *string `type:"string" required:"true"` 70968 70969 // The OIDC IdP client ID used to configure your private workforce. 70970 // 70971 // ClientId is a required field 70972 ClientId *string `min:"1" type:"string" required:"true"` 70973 70974 // The OIDC IdP client secret used to configure your private workforce. 70975 // 70976 // ClientSecret is a sensitive parameter and its value will be 70977 // replaced with "sensitive" in string returned by OidcConfig's 70978 // String and GoString methods. 70979 // 70980 // ClientSecret is a required field 70981 ClientSecret *string `min:"1" type:"string" required:"true" sensitive:"true"` 70982 70983 // The OIDC IdP issuer used to configure your private workforce. 70984 // 70985 // Issuer is a required field 70986 Issuer *string `type:"string" required:"true"` 70987 70988 // The OIDC IdP JSON Web Key Set (Jwks) URI used to configure your private workforce. 70989 // 70990 // JwksUri is a required field 70991 JwksUri *string `type:"string" required:"true"` 70992 70993 // The OIDC IdP logout endpoint used to configure your private workforce. 70994 // 70995 // LogoutEndpoint is a required field 70996 LogoutEndpoint *string `type:"string" required:"true"` 70997 70998 // The OIDC IdP token endpoint used to configure your private workforce. 70999 // 71000 // TokenEndpoint is a required field 71001 TokenEndpoint *string `type:"string" required:"true"` 71002 71003 // The OIDC IdP user information endpoint used to configure your private workforce. 71004 // 71005 // UserInfoEndpoint is a required field 71006 UserInfoEndpoint *string `type:"string" required:"true"` 71007 } 71008 71009 // String returns the string representation. 71010 // 71011 // API parameter values that are decorated as "sensitive" in the API will not 71012 // be included in the string output. The member name will be present, but the 71013 // value will be replaced with "sensitive". 71014 func (s OidcConfig) String() string { 71015 return awsutil.Prettify(s) 71016 } 71017 71018 // GoString returns the string representation. 71019 // 71020 // API parameter values that are decorated as "sensitive" in the API will not 71021 // be included in the string output. The member name will be present, but the 71022 // value will be replaced with "sensitive". 71023 func (s OidcConfig) GoString() string { 71024 return s.String() 71025 } 71026 71027 // Validate inspects the fields of the type to determine if they are valid. 71028 func (s *OidcConfig) Validate() error { 71029 invalidParams := request.ErrInvalidParams{Context: "OidcConfig"} 71030 if s.AuthorizationEndpoint == nil { 71031 invalidParams.Add(request.NewErrParamRequired("AuthorizationEndpoint")) 71032 } 71033 if s.ClientId == nil { 71034 invalidParams.Add(request.NewErrParamRequired("ClientId")) 71035 } 71036 if s.ClientId != nil && len(*s.ClientId) < 1 { 71037 invalidParams.Add(request.NewErrParamMinLen("ClientId", 1)) 71038 } 71039 if s.ClientSecret == nil { 71040 invalidParams.Add(request.NewErrParamRequired("ClientSecret")) 71041 } 71042 if s.ClientSecret != nil && len(*s.ClientSecret) < 1 { 71043 invalidParams.Add(request.NewErrParamMinLen("ClientSecret", 1)) 71044 } 71045 if s.Issuer == nil { 71046 invalidParams.Add(request.NewErrParamRequired("Issuer")) 71047 } 71048 if s.JwksUri == nil { 71049 invalidParams.Add(request.NewErrParamRequired("JwksUri")) 71050 } 71051 if s.LogoutEndpoint == nil { 71052 invalidParams.Add(request.NewErrParamRequired("LogoutEndpoint")) 71053 } 71054 if s.TokenEndpoint == nil { 71055 invalidParams.Add(request.NewErrParamRequired("TokenEndpoint")) 71056 } 71057 if s.UserInfoEndpoint == nil { 71058 invalidParams.Add(request.NewErrParamRequired("UserInfoEndpoint")) 71059 } 71060 71061 if invalidParams.Len() > 0 { 71062 return invalidParams 71063 } 71064 return nil 71065 } 71066 71067 // SetAuthorizationEndpoint sets the AuthorizationEndpoint field's value. 71068 func (s *OidcConfig) SetAuthorizationEndpoint(v string) *OidcConfig { 71069 s.AuthorizationEndpoint = &v 71070 return s 71071 } 71072 71073 // SetClientId sets the ClientId field's value. 71074 func (s *OidcConfig) SetClientId(v string) *OidcConfig { 71075 s.ClientId = &v 71076 return s 71077 } 71078 71079 // SetClientSecret sets the ClientSecret field's value. 71080 func (s *OidcConfig) SetClientSecret(v string) *OidcConfig { 71081 s.ClientSecret = &v 71082 return s 71083 } 71084 71085 // SetIssuer sets the Issuer field's value. 71086 func (s *OidcConfig) SetIssuer(v string) *OidcConfig { 71087 s.Issuer = &v 71088 return s 71089 } 71090 71091 // SetJwksUri sets the JwksUri field's value. 71092 func (s *OidcConfig) SetJwksUri(v string) *OidcConfig { 71093 s.JwksUri = &v 71094 return s 71095 } 71096 71097 // SetLogoutEndpoint sets the LogoutEndpoint field's value. 71098 func (s *OidcConfig) SetLogoutEndpoint(v string) *OidcConfig { 71099 s.LogoutEndpoint = &v 71100 return s 71101 } 71102 71103 // SetTokenEndpoint sets the TokenEndpoint field's value. 71104 func (s *OidcConfig) SetTokenEndpoint(v string) *OidcConfig { 71105 s.TokenEndpoint = &v 71106 return s 71107 } 71108 71109 // SetUserInfoEndpoint sets the UserInfoEndpoint field's value. 71110 func (s *OidcConfig) SetUserInfoEndpoint(v string) *OidcConfig { 71111 s.UserInfoEndpoint = &v 71112 return s 71113 } 71114 71115 // Your OIDC IdP workforce configuration. 71116 type OidcConfigForResponse struct { 71117 _ struct{} `type:"structure"` 71118 71119 // The OIDC IdP authorization endpoint used to configure your private workforce. 71120 AuthorizationEndpoint *string `type:"string"` 71121 71122 // The OIDC IdP client ID used to configure your private workforce. 71123 ClientId *string `min:"1" type:"string"` 71124 71125 // The OIDC IdP issuer used to configure your private workforce. 71126 Issuer *string `type:"string"` 71127 71128 // The OIDC IdP JSON Web Key Set (Jwks) URI used to configure your private workforce. 71129 JwksUri *string `type:"string"` 71130 71131 // The OIDC IdP logout endpoint used to configure your private workforce. 71132 LogoutEndpoint *string `type:"string"` 71133 71134 // The OIDC IdP token endpoint used to configure your private workforce. 71135 TokenEndpoint *string `type:"string"` 71136 71137 // The OIDC IdP user information endpoint used to configure your private workforce. 71138 UserInfoEndpoint *string `type:"string"` 71139 } 71140 71141 // String returns the string representation. 71142 // 71143 // API parameter values that are decorated as "sensitive" in the API will not 71144 // be included in the string output. The member name will be present, but the 71145 // value will be replaced with "sensitive". 71146 func (s OidcConfigForResponse) String() string { 71147 return awsutil.Prettify(s) 71148 } 71149 71150 // GoString returns the string representation. 71151 // 71152 // API parameter values that are decorated as "sensitive" in the API will not 71153 // be included in the string output. The member name will be present, but the 71154 // value will be replaced with "sensitive". 71155 func (s OidcConfigForResponse) GoString() string { 71156 return s.String() 71157 } 71158 71159 // SetAuthorizationEndpoint sets the AuthorizationEndpoint field's value. 71160 func (s *OidcConfigForResponse) SetAuthorizationEndpoint(v string) *OidcConfigForResponse { 71161 s.AuthorizationEndpoint = &v 71162 return s 71163 } 71164 71165 // SetClientId sets the ClientId field's value. 71166 func (s *OidcConfigForResponse) SetClientId(v string) *OidcConfigForResponse { 71167 s.ClientId = &v 71168 return s 71169 } 71170 71171 // SetIssuer sets the Issuer field's value. 71172 func (s *OidcConfigForResponse) SetIssuer(v string) *OidcConfigForResponse { 71173 s.Issuer = &v 71174 return s 71175 } 71176 71177 // SetJwksUri sets the JwksUri field's value. 71178 func (s *OidcConfigForResponse) SetJwksUri(v string) *OidcConfigForResponse { 71179 s.JwksUri = &v 71180 return s 71181 } 71182 71183 // SetLogoutEndpoint sets the LogoutEndpoint field's value. 71184 func (s *OidcConfigForResponse) SetLogoutEndpoint(v string) *OidcConfigForResponse { 71185 s.LogoutEndpoint = &v 71186 return s 71187 } 71188 71189 // SetTokenEndpoint sets the TokenEndpoint field's value. 71190 func (s *OidcConfigForResponse) SetTokenEndpoint(v string) *OidcConfigForResponse { 71191 s.TokenEndpoint = &v 71192 return s 71193 } 71194 71195 // SetUserInfoEndpoint sets the UserInfoEndpoint field's value. 71196 func (s *OidcConfigForResponse) SetUserInfoEndpoint(v string) *OidcConfigForResponse { 71197 s.UserInfoEndpoint = &v 71198 return s 71199 } 71200 71201 // A list of user groups that exist in your OIDC Identity Provider (IdP). One 71202 // to ten groups can be used to create a single private work team. When you 71203 // add a user group to the list of Groups, you can add that user group to one 71204 // or more private work teams. If you add a user group to a private work team, 71205 // all workers in that user group are added to the work team. 71206 type OidcMemberDefinition struct { 71207 _ struct{} `type:"structure"` 71208 71209 // A list of comma seperated strings that identifies user groups in your OIDC 71210 // IdP. Each user group is made up of a group of private workers. 71211 // 71212 // Groups is a required field 71213 Groups []*string `min:"1" type:"list" required:"true"` 71214 } 71215 71216 // String returns the string representation. 71217 // 71218 // API parameter values that are decorated as "sensitive" in the API will not 71219 // be included in the string output. The member name will be present, but the 71220 // value will be replaced with "sensitive". 71221 func (s OidcMemberDefinition) String() string { 71222 return awsutil.Prettify(s) 71223 } 71224 71225 // GoString returns the string representation. 71226 // 71227 // API parameter values that are decorated as "sensitive" in the API will not 71228 // be included in the string output. The member name will be present, but the 71229 // value will be replaced with "sensitive". 71230 func (s OidcMemberDefinition) GoString() string { 71231 return s.String() 71232 } 71233 71234 // Validate inspects the fields of the type to determine if they are valid. 71235 func (s *OidcMemberDefinition) Validate() error { 71236 invalidParams := request.ErrInvalidParams{Context: "OidcMemberDefinition"} 71237 if s.Groups == nil { 71238 invalidParams.Add(request.NewErrParamRequired("Groups")) 71239 } 71240 if s.Groups != nil && len(s.Groups) < 1 { 71241 invalidParams.Add(request.NewErrParamMinLen("Groups", 1)) 71242 } 71243 71244 if invalidParams.Len() > 0 { 71245 return invalidParams 71246 } 71247 return nil 71248 } 71249 71250 // SetGroups sets the Groups field's value. 71251 func (s *OidcMemberDefinition) SetGroups(v []*string) *OidcMemberDefinition { 71252 s.Groups = v 71253 return s 71254 } 71255 71256 // Use this to specify the Amazon Web Services Key Management Service (KMS) 71257 // Key ID, or KMSKeyId, for at rest data encryption. You can turn OnlineStore 71258 // on or off by specifying the EnableOnlineStore flag at General Assembly; the 71259 // default value is False. 71260 type OnlineStoreConfig struct { 71261 _ struct{} `type:"structure"` 71262 71263 // Turn OnlineStore off by specifying False for the EnableOnlineStore flag. 71264 // Turn OnlineStore on by specifying True for the EnableOnlineStore flag. 71265 // 71266 // The default value is False. 71267 EnableOnlineStore *bool `type:"boolean"` 71268 71269 // Use to specify KMS Key ID (KMSKeyId) for at-rest encryption of your OnlineStore. 71270 SecurityConfig *OnlineStoreSecurityConfig `type:"structure"` 71271 } 71272 71273 // String returns the string representation. 71274 // 71275 // API parameter values that are decorated as "sensitive" in the API will not 71276 // be included in the string output. The member name will be present, but the 71277 // value will be replaced with "sensitive". 71278 func (s OnlineStoreConfig) String() string { 71279 return awsutil.Prettify(s) 71280 } 71281 71282 // GoString returns the string representation. 71283 // 71284 // API parameter values that are decorated as "sensitive" in the API will not 71285 // be included in the string output. The member name will be present, but the 71286 // value will be replaced with "sensitive". 71287 func (s OnlineStoreConfig) GoString() string { 71288 return s.String() 71289 } 71290 71291 // SetEnableOnlineStore sets the EnableOnlineStore field's value. 71292 func (s *OnlineStoreConfig) SetEnableOnlineStore(v bool) *OnlineStoreConfig { 71293 s.EnableOnlineStore = &v 71294 return s 71295 } 71296 71297 // SetSecurityConfig sets the SecurityConfig field's value. 71298 func (s *OnlineStoreConfig) SetSecurityConfig(v *OnlineStoreSecurityConfig) *OnlineStoreConfig { 71299 s.SecurityConfig = v 71300 return s 71301 } 71302 71303 // The security configuration for OnlineStore. 71304 type OnlineStoreSecurityConfig struct { 71305 _ struct{} `type:"structure"` 71306 71307 // The ID of the Amazon Web Services Key Management Service (Amazon Web Services 71308 // KMS) key that SageMaker Feature Store uses to encrypt the Amazon S3 objects 71309 // at rest using Amazon S3 server-side encryption. 71310 // 71311 // The caller (either IAM user or IAM role) of CreateFeatureGroup must have 71312 // below permissions to the OnlineStore KmsKeyId: 71313 // 71314 // * "kms:Encrypt" 71315 // 71316 // * "kms:Decrypt" 71317 // 71318 // * "kms:DescribeKey" 71319 // 71320 // * "kms:CreateGrant" 71321 // 71322 // * "kms:RetireGrant" 71323 // 71324 // * "kms:ReEncryptFrom" 71325 // 71326 // * "kms:ReEncryptTo" 71327 // 71328 // * "kms:GenerateDataKey" 71329 // 71330 // * "kms:ListAliases" 71331 // 71332 // * "kms:ListGrants" 71333 // 71334 // * "kms:RevokeGrant" 71335 // 71336 // The caller (either IAM user or IAM role) to all DataPlane operations (PutRecord, 71337 // GetRecord, DeleteRecord) must have the following permissions to the KmsKeyId: 71338 // 71339 // * "kms:Decrypt" 71340 KmsKeyId *string `type:"string"` 71341 } 71342 71343 // String returns the string representation. 71344 // 71345 // API parameter values that are decorated as "sensitive" in the API will not 71346 // be included in the string output. The member name will be present, but the 71347 // value will be replaced with "sensitive". 71348 func (s OnlineStoreSecurityConfig) String() string { 71349 return awsutil.Prettify(s) 71350 } 71351 71352 // GoString returns the string representation. 71353 // 71354 // API parameter values that are decorated as "sensitive" in the API will not 71355 // be included in the string output. The member name will be present, but the 71356 // value will be replaced with "sensitive". 71357 func (s OnlineStoreSecurityConfig) GoString() string { 71358 return s.String() 71359 } 71360 71361 // SetKmsKeyId sets the KmsKeyId field's value. 71362 func (s *OnlineStoreSecurityConfig) SetKmsKeyId(v string) *OnlineStoreSecurityConfig { 71363 s.KmsKeyId = &v 71364 return s 71365 } 71366 71367 // Contains information about the output location for the compiled model and 71368 // the target device that the model runs on. TargetDevice and TargetPlatform 71369 // are mutually exclusive, so you need to choose one between the two to specify 71370 // your target device or platform. If you cannot find your device you want to 71371 // use from the TargetDevice list, use TargetPlatform to describe the platform 71372 // of your edge device and CompilerOptions if there are specific settings that 71373 // are required or recommended to use for particular TargetPlatform. 71374 type OutputConfig struct { 71375 _ struct{} `type:"structure"` 71376 71377 // Specifies additional parameters for compiler options in JSON format. The 71378 // compiler options are TargetPlatform specific. It is required for NVIDIA accelerators 71379 // and highly recommended for CPU compilations. For any other cases, it is optional 71380 // to specify CompilerOptions. 71381 // 71382 // * DTYPE: Specifies the data type for the input. When compiling for ml_* 71383 // (except for ml_inf) instances using PyTorch framework, provide the data 71384 // type (dtype) of the model's input. "float32" is used if "DTYPE" is not 71385 // specified. Options for data type are: float32: Use either "float" or "float32". 71386 // int64: Use either "int64" or "long". For example, {"dtype" : "float32"}. 71387 // 71388 // * CPU: Compilation for CPU supports the following compiler options. mcpu: 71389 // CPU micro-architecture. For example, {'mcpu': 'skylake-avx512'} mattr: 71390 // CPU flags. For example, {'mattr': ['+neon', '+vfpv4']} 71391 // 71392 // * ARM: Details of ARM CPU compilations. NEON: NEON is an implementation 71393 // of the Advanced SIMD extension used in ARMv7 processors. For example, 71394 // add {'mattr': ['+neon']} to the compiler options if compiling for ARM 71395 // 32-bit platform with the NEON support. 71396 // 71397 // * NVIDIA: Compilation for NVIDIA GPU supports the following compiler options. 71398 // gpu_code: Specifies the targeted architecture. trt-ver: Specifies the 71399 // TensorRT versions in x.y.z. format. cuda-ver: Specifies the CUDA version 71400 // in x.y format. For example, {'gpu-code': 'sm_72', 'trt-ver': '6.0.1', 71401 // 'cuda-ver': '10.1'} 71402 // 71403 // * ANDROID: Compilation for the Android OS supports the following compiler 71404 // options: ANDROID_PLATFORM: Specifies the Android API levels. Available 71405 // levels range from 21 to 29. For example, {'ANDROID_PLATFORM': 28}. mattr: 71406 // Add {'mattr': ['+neon']} to compiler options if compiling for ARM 32-bit 71407 // platform with NEON support. 71408 // 71409 // * INFERENTIA: Compilation for target ml_inf1 uses compiler options passed 71410 // in as a JSON string. For example, "CompilerOptions": "\"--verbose 1 --num-neuroncores 71411 // 2 -O2\"". For information about supported compiler options, see Neuron 71412 // Compiler CLI (https://github.com/aavshr/aws-neuron-sdk/blob/master/docs/neuron-cc/command-line-reference.md). 71413 // 71414 // * CoreML: Compilation for the CoreML OutputConfig$TargetDevice supports 71415 // the following compiler options: class_labels: Specifies the classification 71416 // labels file name inside input tar.gz file. For example, {"class_labels": 71417 // "imagenet_labels_1000.txt"}. Labels inside the txt file should be separated 71418 // by newlines. 71419 // 71420 // * EIA: Compilation for the Elastic Inference Accelerator supports the 71421 // following compiler options: precision_mode: Specifies the precision of 71422 // compiled artifacts. Supported values are "FP16" and "FP32". Default is 71423 // "FP32". signature_def_key: Specifies the signature to use for models in 71424 // SavedModel format. Defaults is TensorFlow's default signature def key. 71425 // output_names: Specifies a list of output tensor names for models in FrozenGraph 71426 // format. Set at most one API field, either: signature_def_key or output_names. 71427 // For example: {"precision_mode": "FP32", "output_names": ["output:0"]} 71428 CompilerOptions *string `min:"3" type:"string"` 71429 71430 // The Amazon Web Services Key Management Service key (Amazon Web Services KMS) 71431 // that Amazon SageMaker uses to encrypt your output models with Amazon S3 server-side 71432 // encryption after compilation job. If you don't provide a KMS key ID, Amazon 71433 // SageMaker uses the default KMS key for Amazon S3 for your role's account. 71434 // For more information, see KMS-Managed Encryption Keys (https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html) 71435 // in the Amazon Simple Storage Service Developer Guide. 71436 // 71437 // The KmsKeyId can be any of the following formats: 71438 // 71439 // * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab 71440 // 71441 // * Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab 71442 // 71443 // * Alias name: alias/ExampleAlias 71444 // 71445 // * Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias 71446 KmsKeyId *string `type:"string"` 71447 71448 // Identifies the S3 bucket where you want Amazon SageMaker to store the model 71449 // artifacts. For example, s3://bucket-name/key-name-prefix. 71450 // 71451 // S3OutputLocation is a required field 71452 S3OutputLocation *string `type:"string" required:"true"` 71453 71454 // Identifies the target device or the machine learning instance that you want 71455 // to run your model on after the compilation has completed. Alternatively, 71456 // you can specify OS, architecture, and accelerator using TargetPlatform fields. 71457 // It can be used instead of TargetPlatform. 71458 TargetDevice *string `type:"string" enum:"TargetDevice"` 71459 71460 // Contains information about a target platform that you want your model to 71461 // run on, such as OS, architecture, and accelerators. It is an alternative 71462 // of TargetDevice. 71463 // 71464 // The following examples show how to configure the TargetPlatform and CompilerOptions 71465 // JSON strings for popular target platforms: 71466 // 71467 // * Raspberry Pi 3 Model B+ "TargetPlatform": {"Os": "LINUX", "Arch": "ARM_EABIHF"}, 71468 // "CompilerOptions": {'mattr': ['+neon']} 71469 // 71470 // * Jetson TX2 "TargetPlatform": {"Os": "LINUX", "Arch": "ARM64", "Accelerator": 71471 // "NVIDIA"}, "CompilerOptions": {'gpu-code': 'sm_62', 'trt-ver': '6.0.1', 71472 // 'cuda-ver': '10.0'} 71473 // 71474 // * EC2 m5.2xlarge instance OS "TargetPlatform": {"Os": "LINUX", "Arch": 71475 // "X86_64", "Accelerator": "NVIDIA"}, "CompilerOptions": {'mcpu': 'skylake-avx512'} 71476 // 71477 // * RK3399 "TargetPlatform": {"Os": "LINUX", "Arch": "ARM64", "Accelerator": 71478 // "MALI"} 71479 // 71480 // * ARMv7 phone (CPU) "TargetPlatform": {"Os": "ANDROID", "Arch": "ARM_EABI"}, 71481 // "CompilerOptions": {'ANDROID_PLATFORM': 25, 'mattr': ['+neon']} 71482 // 71483 // * ARMv8 phone (CPU) "TargetPlatform": {"Os": "ANDROID", "Arch": "ARM64"}, 71484 // "CompilerOptions": {'ANDROID_PLATFORM': 29} 71485 TargetPlatform *TargetPlatform `type:"structure"` 71486 } 71487 71488 // String returns the string representation. 71489 // 71490 // API parameter values that are decorated as "sensitive" in the API will not 71491 // be included in the string output. The member name will be present, but the 71492 // value will be replaced with "sensitive". 71493 func (s OutputConfig) String() string { 71494 return awsutil.Prettify(s) 71495 } 71496 71497 // GoString returns the string representation. 71498 // 71499 // API parameter values that are decorated as "sensitive" in the API will not 71500 // be included in the string output. The member name will be present, but the 71501 // value will be replaced with "sensitive". 71502 func (s OutputConfig) GoString() string { 71503 return s.String() 71504 } 71505 71506 // Validate inspects the fields of the type to determine if they are valid. 71507 func (s *OutputConfig) Validate() error { 71508 invalidParams := request.ErrInvalidParams{Context: "OutputConfig"} 71509 if s.CompilerOptions != nil && len(*s.CompilerOptions) < 3 { 71510 invalidParams.Add(request.NewErrParamMinLen("CompilerOptions", 3)) 71511 } 71512 if s.S3OutputLocation == nil { 71513 invalidParams.Add(request.NewErrParamRequired("S3OutputLocation")) 71514 } 71515 if s.TargetPlatform != nil { 71516 if err := s.TargetPlatform.Validate(); err != nil { 71517 invalidParams.AddNested("TargetPlatform", err.(request.ErrInvalidParams)) 71518 } 71519 } 71520 71521 if invalidParams.Len() > 0 { 71522 return invalidParams 71523 } 71524 return nil 71525 } 71526 71527 // SetCompilerOptions sets the CompilerOptions field's value. 71528 func (s *OutputConfig) SetCompilerOptions(v string) *OutputConfig { 71529 s.CompilerOptions = &v 71530 return s 71531 } 71532 71533 // SetKmsKeyId sets the KmsKeyId field's value. 71534 func (s *OutputConfig) SetKmsKeyId(v string) *OutputConfig { 71535 s.KmsKeyId = &v 71536 return s 71537 } 71538 71539 // SetS3OutputLocation sets the S3OutputLocation field's value. 71540 func (s *OutputConfig) SetS3OutputLocation(v string) *OutputConfig { 71541 s.S3OutputLocation = &v 71542 return s 71543 } 71544 71545 // SetTargetDevice sets the TargetDevice field's value. 71546 func (s *OutputConfig) SetTargetDevice(v string) *OutputConfig { 71547 s.TargetDevice = &v 71548 return s 71549 } 71550 71551 // SetTargetPlatform sets the TargetPlatform field's value. 71552 func (s *OutputConfig) SetTargetPlatform(v *TargetPlatform) *OutputConfig { 71553 s.TargetPlatform = v 71554 return s 71555 } 71556 71557 // Provides information about how to store model training results (model artifacts). 71558 type OutputDataConfig struct { 71559 _ struct{} `type:"structure"` 71560 71561 // The Amazon Web Services Key Management Service (Amazon Web Services KMS) 71562 // key that Amazon SageMaker uses to encrypt the model artifacts at rest using 71563 // Amazon S3 server-side encryption. The KmsKeyId can be any of the following 71564 // formats: 71565 // 71566 // * // KMS Key ID "1234abcd-12ab-34cd-56ef-1234567890ab" 71567 // 71568 // * // Amazon Resource Name (ARN) of a KMS Key "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" 71569 // 71570 // * // KMS Key Alias "alias/ExampleAlias" 71571 // 71572 // * // Amazon Resource Name (ARN) of a KMS Key Alias "arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias" 71573 // 71574 // If you use a KMS key ID or an alias of your KMS key, the Amazon SageMaker 71575 // execution role must include permissions to call kms:Encrypt. If you don't 71576 // provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon 71577 // S3 for your role's account. Amazon SageMaker uses server-side encryption 71578 // with KMS-managed keys for OutputDataConfig. If you use a bucket policy with 71579 // an s3:PutObject permission that only allows objects with server-side encryption, 71580 // set the condition key of s3:x-amz-server-side-encryption to "aws:kms". For 71581 // more information, see KMS-Managed Encryption Keys (https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html) 71582 // in the Amazon Simple Storage Service Developer Guide. 71583 // 71584 // The KMS key policy must grant permission to the IAM role that you specify 71585 // in your CreateTrainingJob, CreateTransformJob, or CreateHyperParameterTuningJob 71586 // requests. For more information, see Using Key Policies in Amazon Web Services 71587 // KMS (https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html) 71588 // in the Amazon Web Services Key Management Service Developer Guide. 71589 KmsKeyId *string `type:"string"` 71590 71591 // Identifies the S3 path where you want Amazon SageMaker to store the model 71592 // artifacts. For example, s3://bucket-name/key-name-prefix. 71593 // 71594 // S3OutputPath is a required field 71595 S3OutputPath *string `type:"string" required:"true"` 71596 } 71597 71598 // String returns the string representation. 71599 // 71600 // API parameter values that are decorated as "sensitive" in the API will not 71601 // be included in the string output. The member name will be present, but the 71602 // value will be replaced with "sensitive". 71603 func (s OutputDataConfig) String() string { 71604 return awsutil.Prettify(s) 71605 } 71606 71607 // GoString returns the string representation. 71608 // 71609 // API parameter values that are decorated as "sensitive" in the API will not 71610 // be included in the string output. The member name will be present, but the 71611 // value will be replaced with "sensitive". 71612 func (s OutputDataConfig) GoString() string { 71613 return s.String() 71614 } 71615 71616 // Validate inspects the fields of the type to determine if they are valid. 71617 func (s *OutputDataConfig) Validate() error { 71618 invalidParams := request.ErrInvalidParams{Context: "OutputDataConfig"} 71619 if s.S3OutputPath == nil { 71620 invalidParams.Add(request.NewErrParamRequired("S3OutputPath")) 71621 } 71622 71623 if invalidParams.Len() > 0 { 71624 return invalidParams 71625 } 71626 return nil 71627 } 71628 71629 // SetKmsKeyId sets the KmsKeyId field's value. 71630 func (s *OutputDataConfig) SetKmsKeyId(v string) *OutputDataConfig { 71631 s.KmsKeyId = &v 71632 return s 71633 } 71634 71635 // SetS3OutputPath sets the S3OutputPath field's value. 71636 func (s *OutputDataConfig) SetS3OutputPath(v string) *OutputDataConfig { 71637 s.S3OutputPath = &v 71638 return s 71639 } 71640 71641 // An output parameter of a pipeline step. 71642 type OutputParameter struct { 71643 _ struct{} `type:"structure"` 71644 71645 // The name of the output parameter. 71646 // 71647 // Name is a required field 71648 Name *string `type:"string" required:"true"` 71649 71650 // The value of the output parameter. 71651 // 71652 // Value is a required field 71653 Value *string `type:"string" required:"true"` 71654 } 71655 71656 // String returns the string representation. 71657 // 71658 // API parameter values that are decorated as "sensitive" in the API will not 71659 // be included in the string output. The member name will be present, but the 71660 // value will be replaced with "sensitive". 71661 func (s OutputParameter) String() string { 71662 return awsutil.Prettify(s) 71663 } 71664 71665 // GoString returns the string representation. 71666 // 71667 // API parameter values that are decorated as "sensitive" in the API will not 71668 // be included in the string output. The member name will be present, but the 71669 // value will be replaced with "sensitive". 71670 func (s OutputParameter) GoString() string { 71671 return s.String() 71672 } 71673 71674 // Validate inspects the fields of the type to determine if they are valid. 71675 func (s *OutputParameter) Validate() error { 71676 invalidParams := request.ErrInvalidParams{Context: "OutputParameter"} 71677 if s.Name == nil { 71678 invalidParams.Add(request.NewErrParamRequired("Name")) 71679 } 71680 if s.Value == nil { 71681 invalidParams.Add(request.NewErrParamRequired("Value")) 71682 } 71683 71684 if invalidParams.Len() > 0 { 71685 return invalidParams 71686 } 71687 return nil 71688 } 71689 71690 // SetName sets the Name field's value. 71691 func (s *OutputParameter) SetName(v string) *OutputParameter { 71692 s.Name = &v 71693 return s 71694 } 71695 71696 // SetValue sets the Value field's value. 71697 func (s *OutputParameter) SetValue(v string) *OutputParameter { 71698 s.Value = &v 71699 return s 71700 } 71701 71702 // Assigns a value to a named Pipeline parameter. 71703 type Parameter struct { 71704 _ struct{} `type:"structure"` 71705 71706 // The name of the parameter to assign a value to. This parameter name must 71707 // match a named parameter in the pipeline definition. 71708 // 71709 // Name is a required field 71710 Name *string `min:"1" type:"string" required:"true"` 71711 71712 // The literal value for the parameter. 71713 // 71714 // Value is a required field 71715 Value *string `type:"string" required:"true"` 71716 } 71717 71718 // String returns the string representation. 71719 // 71720 // API parameter values that are decorated as "sensitive" in the API will not 71721 // be included in the string output. The member name will be present, but the 71722 // value will be replaced with "sensitive". 71723 func (s Parameter) String() string { 71724 return awsutil.Prettify(s) 71725 } 71726 71727 // GoString returns the string representation. 71728 // 71729 // API parameter values that are decorated as "sensitive" in the API will not 71730 // be included in the string output. The member name will be present, but the 71731 // value will be replaced with "sensitive". 71732 func (s Parameter) GoString() string { 71733 return s.String() 71734 } 71735 71736 // Validate inspects the fields of the type to determine if they are valid. 71737 func (s *Parameter) Validate() error { 71738 invalidParams := request.ErrInvalidParams{Context: "Parameter"} 71739 if s.Name == nil { 71740 invalidParams.Add(request.NewErrParamRequired("Name")) 71741 } 71742 if s.Name != nil && len(*s.Name) < 1 { 71743 invalidParams.Add(request.NewErrParamMinLen("Name", 1)) 71744 } 71745 if s.Value == nil { 71746 invalidParams.Add(request.NewErrParamRequired("Value")) 71747 } 71748 71749 if invalidParams.Len() > 0 { 71750 return invalidParams 71751 } 71752 return nil 71753 } 71754 71755 // SetName sets the Name field's value. 71756 func (s *Parameter) SetName(v string) *Parameter { 71757 s.Name = &v 71758 return s 71759 } 71760 71761 // SetValue sets the Value field's value. 71762 func (s *Parameter) SetValue(v string) *Parameter { 71763 s.Value = &v 71764 return s 71765 } 71766 71767 // Defines the possible values for categorical, continuous, and integer hyperparameters 71768 // to be used by an algorithm. 71769 type ParameterRange struct { 71770 _ struct{} `type:"structure"` 71771 71772 // A CategoricalParameterRangeSpecification object that defines the possible 71773 // values for a categorical hyperparameter. 71774 CategoricalParameterRangeSpecification *CategoricalParameterRangeSpecification `type:"structure"` 71775 71776 // A ContinuousParameterRangeSpecification object that defines the possible 71777 // values for a continuous hyperparameter. 71778 ContinuousParameterRangeSpecification *ContinuousParameterRangeSpecification `type:"structure"` 71779 71780 // A IntegerParameterRangeSpecification object that defines the possible values 71781 // for an integer hyperparameter. 71782 IntegerParameterRangeSpecification *IntegerParameterRangeSpecification `type:"structure"` 71783 } 71784 71785 // String returns the string representation. 71786 // 71787 // API parameter values that are decorated as "sensitive" in the API will not 71788 // be included in the string output. The member name will be present, but the 71789 // value will be replaced with "sensitive". 71790 func (s ParameterRange) String() string { 71791 return awsutil.Prettify(s) 71792 } 71793 71794 // GoString returns the string representation. 71795 // 71796 // API parameter values that are decorated as "sensitive" in the API will not 71797 // be included in the string output. The member name will be present, but the 71798 // value will be replaced with "sensitive". 71799 func (s ParameterRange) GoString() string { 71800 return s.String() 71801 } 71802 71803 // Validate inspects the fields of the type to determine if they are valid. 71804 func (s *ParameterRange) Validate() error { 71805 invalidParams := request.ErrInvalidParams{Context: "ParameterRange"} 71806 if s.CategoricalParameterRangeSpecification != nil { 71807 if err := s.CategoricalParameterRangeSpecification.Validate(); err != nil { 71808 invalidParams.AddNested("CategoricalParameterRangeSpecification", err.(request.ErrInvalidParams)) 71809 } 71810 } 71811 if s.ContinuousParameterRangeSpecification != nil { 71812 if err := s.ContinuousParameterRangeSpecification.Validate(); err != nil { 71813 invalidParams.AddNested("ContinuousParameterRangeSpecification", err.(request.ErrInvalidParams)) 71814 } 71815 } 71816 if s.IntegerParameterRangeSpecification != nil { 71817 if err := s.IntegerParameterRangeSpecification.Validate(); err != nil { 71818 invalidParams.AddNested("IntegerParameterRangeSpecification", err.(request.ErrInvalidParams)) 71819 } 71820 } 71821 71822 if invalidParams.Len() > 0 { 71823 return invalidParams 71824 } 71825 return nil 71826 } 71827 71828 // SetCategoricalParameterRangeSpecification sets the CategoricalParameterRangeSpecification field's value. 71829 func (s *ParameterRange) SetCategoricalParameterRangeSpecification(v *CategoricalParameterRangeSpecification) *ParameterRange { 71830 s.CategoricalParameterRangeSpecification = v 71831 return s 71832 } 71833 71834 // SetContinuousParameterRangeSpecification sets the ContinuousParameterRangeSpecification field's value. 71835 func (s *ParameterRange) SetContinuousParameterRangeSpecification(v *ContinuousParameterRangeSpecification) *ParameterRange { 71836 s.ContinuousParameterRangeSpecification = v 71837 return s 71838 } 71839 71840 // SetIntegerParameterRangeSpecification sets the IntegerParameterRangeSpecification field's value. 71841 func (s *ParameterRange) SetIntegerParameterRangeSpecification(v *IntegerParameterRangeSpecification) *ParameterRange { 71842 s.IntegerParameterRangeSpecification = v 71843 return s 71844 } 71845 71846 // Specifies ranges of integer, continuous, and categorical hyperparameters 71847 // that a hyperparameter tuning job searches. The hyperparameter tuning job 71848 // launches training jobs with hyperparameter values within these ranges to 71849 // find the combination of values that result in the training job with the best 71850 // performance as measured by the objective metric of the hyperparameter tuning 71851 // job. 71852 // 71853 // You can specify a maximum of 20 hyperparameters that a hyperparameter tuning 71854 // job can search over. Every possible value of a categorical parameter range 71855 // counts against this limit. 71856 type ParameterRanges struct { 71857 _ struct{} `type:"structure"` 71858 71859 // The array of CategoricalParameterRange objects that specify ranges of categorical 71860 // hyperparameters that a hyperparameter tuning job searches. 71861 CategoricalParameterRanges []*CategoricalParameterRange `type:"list"` 71862 71863 // The array of ContinuousParameterRange objects that specify ranges of continuous 71864 // hyperparameters that a hyperparameter tuning job searches. 71865 ContinuousParameterRanges []*ContinuousParameterRange `type:"list"` 71866 71867 // The array of IntegerParameterRange objects that specify ranges of integer 71868 // hyperparameters that a hyperparameter tuning job searches. 71869 IntegerParameterRanges []*IntegerParameterRange `type:"list"` 71870 } 71871 71872 // String returns the string representation. 71873 // 71874 // API parameter values that are decorated as "sensitive" in the API will not 71875 // be included in the string output. The member name will be present, but the 71876 // value will be replaced with "sensitive". 71877 func (s ParameterRanges) String() string { 71878 return awsutil.Prettify(s) 71879 } 71880 71881 // GoString returns the string representation. 71882 // 71883 // API parameter values that are decorated as "sensitive" in the API will not 71884 // be included in the string output. The member name will be present, but the 71885 // value will be replaced with "sensitive". 71886 func (s ParameterRanges) GoString() string { 71887 return s.String() 71888 } 71889 71890 // Validate inspects the fields of the type to determine if they are valid. 71891 func (s *ParameterRanges) Validate() error { 71892 invalidParams := request.ErrInvalidParams{Context: "ParameterRanges"} 71893 if s.CategoricalParameterRanges != nil { 71894 for i, v := range s.CategoricalParameterRanges { 71895 if v == nil { 71896 continue 71897 } 71898 if err := v.Validate(); err != nil { 71899 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CategoricalParameterRanges", i), err.(request.ErrInvalidParams)) 71900 } 71901 } 71902 } 71903 if s.ContinuousParameterRanges != nil { 71904 for i, v := range s.ContinuousParameterRanges { 71905 if v == nil { 71906 continue 71907 } 71908 if err := v.Validate(); err != nil { 71909 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ContinuousParameterRanges", i), err.(request.ErrInvalidParams)) 71910 } 71911 } 71912 } 71913 if s.IntegerParameterRanges != nil { 71914 for i, v := range s.IntegerParameterRanges { 71915 if v == nil { 71916 continue 71917 } 71918 if err := v.Validate(); err != nil { 71919 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "IntegerParameterRanges", i), err.(request.ErrInvalidParams)) 71920 } 71921 } 71922 } 71923 71924 if invalidParams.Len() > 0 { 71925 return invalidParams 71926 } 71927 return nil 71928 } 71929 71930 // SetCategoricalParameterRanges sets the CategoricalParameterRanges field's value. 71931 func (s *ParameterRanges) SetCategoricalParameterRanges(v []*CategoricalParameterRange) *ParameterRanges { 71932 s.CategoricalParameterRanges = v 71933 return s 71934 } 71935 71936 // SetContinuousParameterRanges sets the ContinuousParameterRanges field's value. 71937 func (s *ParameterRanges) SetContinuousParameterRanges(v []*ContinuousParameterRange) *ParameterRanges { 71938 s.ContinuousParameterRanges = v 71939 return s 71940 } 71941 71942 // SetIntegerParameterRanges sets the IntegerParameterRanges field's value. 71943 func (s *ParameterRanges) SetIntegerParameterRanges(v []*IntegerParameterRange) *ParameterRanges { 71944 s.IntegerParameterRanges = v 71945 return s 71946 } 71947 71948 // The trial that a trial component is associated with and the experiment the 71949 // trial is part of. A component might not be associated with a trial. A component 71950 // can be associated with multiple trials. 71951 type Parent struct { 71952 _ struct{} `type:"structure"` 71953 71954 // The name of the experiment. 71955 ExperimentName *string `min:"1" type:"string"` 71956 71957 // The name of the trial. 71958 TrialName *string `min:"1" type:"string"` 71959 } 71960 71961 // String returns the string representation. 71962 // 71963 // API parameter values that are decorated as "sensitive" in the API will not 71964 // be included in the string output. The member name will be present, but the 71965 // value will be replaced with "sensitive". 71966 func (s Parent) String() string { 71967 return awsutil.Prettify(s) 71968 } 71969 71970 // GoString returns the string representation. 71971 // 71972 // API parameter values that are decorated as "sensitive" in the API will not 71973 // be included in the string output. The member name will be present, but the 71974 // value will be replaced with "sensitive". 71975 func (s Parent) GoString() string { 71976 return s.String() 71977 } 71978 71979 // SetExperimentName sets the ExperimentName field's value. 71980 func (s *Parent) SetExperimentName(v string) *Parent { 71981 s.ExperimentName = &v 71982 return s 71983 } 71984 71985 // SetTrialName sets the TrialName field's value. 71986 func (s *Parent) SetTrialName(v string) *Parent { 71987 s.TrialName = &v 71988 return s 71989 } 71990 71991 // A previously completed or stopped hyperparameter tuning job to be used as 71992 // a starting point for a new hyperparameter tuning job. 71993 type ParentHyperParameterTuningJob struct { 71994 _ struct{} `type:"structure"` 71995 71996 // The name of the hyperparameter tuning job to be used as a starting point 71997 // for a new hyperparameter tuning job. 71998 HyperParameterTuningJobName *string `min:"1" type:"string"` 71999 } 72000 72001 // String returns the string representation. 72002 // 72003 // API parameter values that are decorated as "sensitive" in the API will not 72004 // be included in the string output. The member name will be present, but the 72005 // value will be replaced with "sensitive". 72006 func (s ParentHyperParameterTuningJob) String() string { 72007 return awsutil.Prettify(s) 72008 } 72009 72010 // GoString returns the string representation. 72011 // 72012 // API parameter values that are decorated as "sensitive" in the API will not 72013 // be included in the string output. The member name will be present, but the 72014 // value will be replaced with "sensitive". 72015 func (s ParentHyperParameterTuningJob) GoString() string { 72016 return s.String() 72017 } 72018 72019 // Validate inspects the fields of the type to determine if they are valid. 72020 func (s *ParentHyperParameterTuningJob) Validate() error { 72021 invalidParams := request.ErrInvalidParams{Context: "ParentHyperParameterTuningJob"} 72022 if s.HyperParameterTuningJobName != nil && len(*s.HyperParameterTuningJobName) < 1 { 72023 invalidParams.Add(request.NewErrParamMinLen("HyperParameterTuningJobName", 1)) 72024 } 72025 72026 if invalidParams.Len() > 0 { 72027 return invalidParams 72028 } 72029 return nil 72030 } 72031 72032 // SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value. 72033 func (s *ParentHyperParameterTuningJob) SetHyperParameterTuningJobName(v string) *ParentHyperParameterTuningJob { 72034 s.HyperParameterTuningJobName = &v 72035 return s 72036 } 72037 72038 // A SageMaker Model Building Pipeline instance. 72039 type Pipeline struct { 72040 _ struct{} `type:"structure"` 72041 72042 // Information about the user who created or modified an experiment, trial, 72043 // trial component, or project. 72044 CreatedBy *UserContext `type:"structure"` 72045 72046 // The creation time of the pipeline. 72047 CreationTime *time.Time `type:"timestamp"` 72048 72049 // Information about the user who created or modified an experiment, trial, 72050 // trial component, or project. 72051 LastModifiedBy *UserContext `type:"structure"` 72052 72053 // The time that the pipeline was last modified. 72054 LastModifiedTime *time.Time `type:"timestamp"` 72055 72056 // The time when the pipeline was last run. 72057 LastRunTime *time.Time `type:"timestamp"` 72058 72059 // The Amazon Resource Name (ARN) of the pipeline. 72060 PipelineArn *string `type:"string"` 72061 72062 // The description of the pipeline. 72063 PipelineDescription *string `type:"string"` 72064 72065 // The display name of the pipeline. 72066 PipelineDisplayName *string `min:"1" type:"string"` 72067 72068 // The name of the pipeline. 72069 PipelineName *string `min:"1" type:"string"` 72070 72071 // The status of the pipeline. 72072 PipelineStatus *string `type:"string" enum:"PipelineStatus"` 72073 72074 // The Amazon Resource Name (ARN) of the role that created the pipeline. 72075 RoleArn *string `min:"20" type:"string"` 72076 72077 // A list of tags that apply to the pipeline. 72078 Tags []*Tag `type:"list"` 72079 } 72080 72081 // String returns the string representation. 72082 // 72083 // API parameter values that are decorated as "sensitive" in the API will not 72084 // be included in the string output. The member name will be present, but the 72085 // value will be replaced with "sensitive". 72086 func (s Pipeline) String() string { 72087 return awsutil.Prettify(s) 72088 } 72089 72090 // GoString returns the string representation. 72091 // 72092 // API parameter values that are decorated as "sensitive" in the API will not 72093 // be included in the string output. The member name will be present, but the 72094 // value will be replaced with "sensitive". 72095 func (s Pipeline) GoString() string { 72096 return s.String() 72097 } 72098 72099 // SetCreatedBy sets the CreatedBy field's value. 72100 func (s *Pipeline) SetCreatedBy(v *UserContext) *Pipeline { 72101 s.CreatedBy = v 72102 return s 72103 } 72104 72105 // SetCreationTime sets the CreationTime field's value. 72106 func (s *Pipeline) SetCreationTime(v time.Time) *Pipeline { 72107 s.CreationTime = &v 72108 return s 72109 } 72110 72111 // SetLastModifiedBy sets the LastModifiedBy field's value. 72112 func (s *Pipeline) SetLastModifiedBy(v *UserContext) *Pipeline { 72113 s.LastModifiedBy = v 72114 return s 72115 } 72116 72117 // SetLastModifiedTime sets the LastModifiedTime field's value. 72118 func (s *Pipeline) SetLastModifiedTime(v time.Time) *Pipeline { 72119 s.LastModifiedTime = &v 72120 return s 72121 } 72122 72123 // SetLastRunTime sets the LastRunTime field's value. 72124 func (s *Pipeline) SetLastRunTime(v time.Time) *Pipeline { 72125 s.LastRunTime = &v 72126 return s 72127 } 72128 72129 // SetPipelineArn sets the PipelineArn field's value. 72130 func (s *Pipeline) SetPipelineArn(v string) *Pipeline { 72131 s.PipelineArn = &v 72132 return s 72133 } 72134 72135 // SetPipelineDescription sets the PipelineDescription field's value. 72136 func (s *Pipeline) SetPipelineDescription(v string) *Pipeline { 72137 s.PipelineDescription = &v 72138 return s 72139 } 72140 72141 // SetPipelineDisplayName sets the PipelineDisplayName field's value. 72142 func (s *Pipeline) SetPipelineDisplayName(v string) *Pipeline { 72143 s.PipelineDisplayName = &v 72144 return s 72145 } 72146 72147 // SetPipelineName sets the PipelineName field's value. 72148 func (s *Pipeline) SetPipelineName(v string) *Pipeline { 72149 s.PipelineName = &v 72150 return s 72151 } 72152 72153 // SetPipelineStatus sets the PipelineStatus field's value. 72154 func (s *Pipeline) SetPipelineStatus(v string) *Pipeline { 72155 s.PipelineStatus = &v 72156 return s 72157 } 72158 72159 // SetRoleArn sets the RoleArn field's value. 72160 func (s *Pipeline) SetRoleArn(v string) *Pipeline { 72161 s.RoleArn = &v 72162 return s 72163 } 72164 72165 // SetTags sets the Tags field's value. 72166 func (s *Pipeline) SetTags(v []*Tag) *Pipeline { 72167 s.Tags = v 72168 return s 72169 } 72170 72171 // An execution of a pipeline. 72172 type PipelineExecution struct { 72173 _ struct{} `type:"structure"` 72174 72175 // Information about the user who created or modified an experiment, trial, 72176 // trial component, or project. 72177 CreatedBy *UserContext `type:"structure"` 72178 72179 // The creation time of the pipeline execution. 72180 CreationTime *time.Time `type:"timestamp"` 72181 72182 // If the execution failed, a message describing why. 72183 FailureReason *string `type:"string"` 72184 72185 // Information about the user who created or modified an experiment, trial, 72186 // trial component, or project. 72187 LastModifiedBy *UserContext `type:"structure"` 72188 72189 // The time that the pipeline execution was last modified. 72190 LastModifiedTime *time.Time `type:"timestamp"` 72191 72192 // The Amazon Resource Name (ARN) of the pipeline that was executed. 72193 PipelineArn *string `type:"string"` 72194 72195 // The Amazon Resource Name (ARN) of the pipeline execution. 72196 PipelineExecutionArn *string `type:"string"` 72197 72198 // The description of the pipeline execution. 72199 PipelineExecutionDescription *string `type:"string"` 72200 72201 // The display name of the pipeline execution. 72202 PipelineExecutionDisplayName *string `min:"1" type:"string"` 72203 72204 // The status of the pipeline status. 72205 PipelineExecutionStatus *string `type:"string" enum:"PipelineExecutionStatus"` 72206 72207 // Specifies the names of the experiment and trial created by a pipeline. 72208 PipelineExperimentConfig *PipelineExperimentConfig `type:"structure"` 72209 72210 // Contains a list of pipeline parameters. This list can be empty. 72211 PipelineParameters []*Parameter `type:"list"` 72212 } 72213 72214 // String returns the string representation. 72215 // 72216 // API parameter values that are decorated as "sensitive" in the API will not 72217 // be included in the string output. The member name will be present, but the 72218 // value will be replaced with "sensitive". 72219 func (s PipelineExecution) String() string { 72220 return awsutil.Prettify(s) 72221 } 72222 72223 // GoString returns the string representation. 72224 // 72225 // API parameter values that are decorated as "sensitive" in the API will not 72226 // be included in the string output. The member name will be present, but the 72227 // value will be replaced with "sensitive". 72228 func (s PipelineExecution) GoString() string { 72229 return s.String() 72230 } 72231 72232 // SetCreatedBy sets the CreatedBy field's value. 72233 func (s *PipelineExecution) SetCreatedBy(v *UserContext) *PipelineExecution { 72234 s.CreatedBy = v 72235 return s 72236 } 72237 72238 // SetCreationTime sets the CreationTime field's value. 72239 func (s *PipelineExecution) SetCreationTime(v time.Time) *PipelineExecution { 72240 s.CreationTime = &v 72241 return s 72242 } 72243 72244 // SetFailureReason sets the FailureReason field's value. 72245 func (s *PipelineExecution) SetFailureReason(v string) *PipelineExecution { 72246 s.FailureReason = &v 72247 return s 72248 } 72249 72250 // SetLastModifiedBy sets the LastModifiedBy field's value. 72251 func (s *PipelineExecution) SetLastModifiedBy(v *UserContext) *PipelineExecution { 72252 s.LastModifiedBy = v 72253 return s 72254 } 72255 72256 // SetLastModifiedTime sets the LastModifiedTime field's value. 72257 func (s *PipelineExecution) SetLastModifiedTime(v time.Time) *PipelineExecution { 72258 s.LastModifiedTime = &v 72259 return s 72260 } 72261 72262 // SetPipelineArn sets the PipelineArn field's value. 72263 func (s *PipelineExecution) SetPipelineArn(v string) *PipelineExecution { 72264 s.PipelineArn = &v 72265 return s 72266 } 72267 72268 // SetPipelineExecutionArn sets the PipelineExecutionArn field's value. 72269 func (s *PipelineExecution) SetPipelineExecutionArn(v string) *PipelineExecution { 72270 s.PipelineExecutionArn = &v 72271 return s 72272 } 72273 72274 // SetPipelineExecutionDescription sets the PipelineExecutionDescription field's value. 72275 func (s *PipelineExecution) SetPipelineExecutionDescription(v string) *PipelineExecution { 72276 s.PipelineExecutionDescription = &v 72277 return s 72278 } 72279 72280 // SetPipelineExecutionDisplayName sets the PipelineExecutionDisplayName field's value. 72281 func (s *PipelineExecution) SetPipelineExecutionDisplayName(v string) *PipelineExecution { 72282 s.PipelineExecutionDisplayName = &v 72283 return s 72284 } 72285 72286 // SetPipelineExecutionStatus sets the PipelineExecutionStatus field's value. 72287 func (s *PipelineExecution) SetPipelineExecutionStatus(v string) *PipelineExecution { 72288 s.PipelineExecutionStatus = &v 72289 return s 72290 } 72291 72292 // SetPipelineExperimentConfig sets the PipelineExperimentConfig field's value. 72293 func (s *PipelineExecution) SetPipelineExperimentConfig(v *PipelineExperimentConfig) *PipelineExecution { 72294 s.PipelineExperimentConfig = v 72295 return s 72296 } 72297 72298 // SetPipelineParameters sets the PipelineParameters field's value. 72299 func (s *PipelineExecution) SetPipelineParameters(v []*Parameter) *PipelineExecution { 72300 s.PipelineParameters = v 72301 return s 72302 } 72303 72304 // An execution of a step in a pipeline. 72305 type PipelineExecutionStep struct { 72306 _ struct{} `type:"structure"` 72307 72308 // If this pipeline execution step was cached, details on the cache hit. 72309 CacheHitResult *CacheHitResult `type:"structure"` 72310 72311 // The time that the step stopped executing. 72312 EndTime *time.Time `type:"timestamp"` 72313 72314 // The reason why the step failed execution. This is only returned if the step 72315 // failed its execution. 72316 FailureReason *string `type:"string"` 72317 72318 // Metadata for the step execution. 72319 Metadata *PipelineExecutionStepMetadata `type:"structure"` 72320 72321 // The time that the step started executing. 72322 StartTime *time.Time `type:"timestamp"` 72323 72324 // The name of the step that is executed. 72325 StepName *string `type:"string"` 72326 72327 // The status of the step execution. 72328 StepStatus *string `type:"string" enum:"StepStatus"` 72329 } 72330 72331 // String returns the string representation. 72332 // 72333 // API parameter values that are decorated as "sensitive" in the API will not 72334 // be included in the string output. The member name will be present, but the 72335 // value will be replaced with "sensitive". 72336 func (s PipelineExecutionStep) String() string { 72337 return awsutil.Prettify(s) 72338 } 72339 72340 // GoString returns the string representation. 72341 // 72342 // API parameter values that are decorated as "sensitive" in the API will not 72343 // be included in the string output. The member name will be present, but the 72344 // value will be replaced with "sensitive". 72345 func (s PipelineExecutionStep) GoString() string { 72346 return s.String() 72347 } 72348 72349 // SetCacheHitResult sets the CacheHitResult field's value. 72350 func (s *PipelineExecutionStep) SetCacheHitResult(v *CacheHitResult) *PipelineExecutionStep { 72351 s.CacheHitResult = v 72352 return s 72353 } 72354 72355 // SetEndTime sets the EndTime field's value. 72356 func (s *PipelineExecutionStep) SetEndTime(v time.Time) *PipelineExecutionStep { 72357 s.EndTime = &v 72358 return s 72359 } 72360 72361 // SetFailureReason sets the FailureReason field's value. 72362 func (s *PipelineExecutionStep) SetFailureReason(v string) *PipelineExecutionStep { 72363 s.FailureReason = &v 72364 return s 72365 } 72366 72367 // SetMetadata sets the Metadata field's value. 72368 func (s *PipelineExecutionStep) SetMetadata(v *PipelineExecutionStepMetadata) *PipelineExecutionStep { 72369 s.Metadata = v 72370 return s 72371 } 72372 72373 // SetStartTime sets the StartTime field's value. 72374 func (s *PipelineExecutionStep) SetStartTime(v time.Time) *PipelineExecutionStep { 72375 s.StartTime = &v 72376 return s 72377 } 72378 72379 // SetStepName sets the StepName field's value. 72380 func (s *PipelineExecutionStep) SetStepName(v string) *PipelineExecutionStep { 72381 s.StepName = &v 72382 return s 72383 } 72384 72385 // SetStepStatus sets the StepStatus field's value. 72386 func (s *PipelineExecutionStep) SetStepStatus(v string) *PipelineExecutionStep { 72387 s.StepStatus = &v 72388 return s 72389 } 72390 72391 // Metadata for a step execution. 72392 type PipelineExecutionStepMetadata struct { 72393 _ struct{} `type:"structure"` 72394 72395 // The URL of the Amazon SQS queue used by this step execution, the pipeline 72396 // generated token, and a list of output parameters. 72397 Callback *CallbackStepMetadata `type:"structure"` 72398 72399 // The outcome of the condition evaluation that was run by this step execution. 72400 Condition *ConditionStepMetadata `type:"structure"` 72401 72402 // The Amazon Resource Name (ARN) of the Lambda function that was run by this 72403 // step execution and a list of output parameters. 72404 Lambda *LambdaStepMetadata `type:"structure"` 72405 72406 // The Amazon Resource Name (ARN) of the model that was created by this step 72407 // execution. 72408 Model *ModelStepMetadata `type:"structure"` 72409 72410 // The Amazon Resource Name (ARN) of the processing job that was run by this 72411 // step execution. 72412 ProcessingJob *ProcessingJobStepMetadata `type:"structure"` 72413 72414 // The Amazon Resource Name (ARN) of the model package the model was registered 72415 // to by this step execution. 72416 RegisterModel *RegisterModelStepMetadata `type:"structure"` 72417 72418 // The Amazon Resource Name (ARN) of the training job that was run by this step 72419 // execution. 72420 TrainingJob *TrainingJobStepMetadata `type:"structure"` 72421 72422 // The Amazon Resource Name (ARN) of the transform job that was run by this 72423 // step execution. 72424 TransformJob *TransformJobStepMetadata `type:"structure"` 72425 72426 // The Amazon Resource Name (ARN) of the tuning job that was run by this step 72427 // execution. 72428 TuningJob *TuningJobStepMetaData `type:"structure"` 72429 } 72430 72431 // String returns the string representation. 72432 // 72433 // API parameter values that are decorated as "sensitive" in the API will not 72434 // be included in the string output. The member name will be present, but the 72435 // value will be replaced with "sensitive". 72436 func (s PipelineExecutionStepMetadata) String() string { 72437 return awsutil.Prettify(s) 72438 } 72439 72440 // GoString returns the string representation. 72441 // 72442 // API parameter values that are decorated as "sensitive" in the API will not 72443 // be included in the string output. The member name will be present, but the 72444 // value will be replaced with "sensitive". 72445 func (s PipelineExecutionStepMetadata) GoString() string { 72446 return s.String() 72447 } 72448 72449 // SetCallback sets the Callback field's value. 72450 func (s *PipelineExecutionStepMetadata) SetCallback(v *CallbackStepMetadata) *PipelineExecutionStepMetadata { 72451 s.Callback = v 72452 return s 72453 } 72454 72455 // SetCondition sets the Condition field's value. 72456 func (s *PipelineExecutionStepMetadata) SetCondition(v *ConditionStepMetadata) *PipelineExecutionStepMetadata { 72457 s.Condition = v 72458 return s 72459 } 72460 72461 // SetLambda sets the Lambda field's value. 72462 func (s *PipelineExecutionStepMetadata) SetLambda(v *LambdaStepMetadata) *PipelineExecutionStepMetadata { 72463 s.Lambda = v 72464 return s 72465 } 72466 72467 // SetModel sets the Model field's value. 72468 func (s *PipelineExecutionStepMetadata) SetModel(v *ModelStepMetadata) *PipelineExecutionStepMetadata { 72469 s.Model = v 72470 return s 72471 } 72472 72473 // SetProcessingJob sets the ProcessingJob field's value. 72474 func (s *PipelineExecutionStepMetadata) SetProcessingJob(v *ProcessingJobStepMetadata) *PipelineExecutionStepMetadata { 72475 s.ProcessingJob = v 72476 return s 72477 } 72478 72479 // SetRegisterModel sets the RegisterModel field's value. 72480 func (s *PipelineExecutionStepMetadata) SetRegisterModel(v *RegisterModelStepMetadata) *PipelineExecutionStepMetadata { 72481 s.RegisterModel = v 72482 return s 72483 } 72484 72485 // SetTrainingJob sets the TrainingJob field's value. 72486 func (s *PipelineExecutionStepMetadata) SetTrainingJob(v *TrainingJobStepMetadata) *PipelineExecutionStepMetadata { 72487 s.TrainingJob = v 72488 return s 72489 } 72490 72491 // SetTransformJob sets the TransformJob field's value. 72492 func (s *PipelineExecutionStepMetadata) SetTransformJob(v *TransformJobStepMetadata) *PipelineExecutionStepMetadata { 72493 s.TransformJob = v 72494 return s 72495 } 72496 72497 // SetTuningJob sets the TuningJob field's value. 72498 func (s *PipelineExecutionStepMetadata) SetTuningJob(v *TuningJobStepMetaData) *PipelineExecutionStepMetadata { 72499 s.TuningJob = v 72500 return s 72501 } 72502 72503 // A pipeline execution summary. 72504 type PipelineExecutionSummary struct { 72505 _ struct{} `type:"structure"` 72506 72507 // The Amazon Resource Name (ARN) of the pipeline execution. 72508 PipelineExecutionArn *string `type:"string"` 72509 72510 // The description of the pipeline execution. 72511 PipelineExecutionDescription *string `type:"string"` 72512 72513 // The display name of the pipeline execution. 72514 PipelineExecutionDisplayName *string `min:"1" type:"string"` 72515 72516 // The status of the pipeline execution. 72517 PipelineExecutionStatus *string `type:"string" enum:"PipelineExecutionStatus"` 72518 72519 // The start time of the pipeline execution. 72520 StartTime *time.Time `type:"timestamp"` 72521 } 72522 72523 // String returns the string representation. 72524 // 72525 // API parameter values that are decorated as "sensitive" in the API will not 72526 // be included in the string output. The member name will be present, but the 72527 // value will be replaced with "sensitive". 72528 func (s PipelineExecutionSummary) String() string { 72529 return awsutil.Prettify(s) 72530 } 72531 72532 // GoString returns the string representation. 72533 // 72534 // API parameter values that are decorated as "sensitive" in the API will not 72535 // be included in the string output. The member name will be present, but the 72536 // value will be replaced with "sensitive". 72537 func (s PipelineExecutionSummary) GoString() string { 72538 return s.String() 72539 } 72540 72541 // SetPipelineExecutionArn sets the PipelineExecutionArn field's value. 72542 func (s *PipelineExecutionSummary) SetPipelineExecutionArn(v string) *PipelineExecutionSummary { 72543 s.PipelineExecutionArn = &v 72544 return s 72545 } 72546 72547 // SetPipelineExecutionDescription sets the PipelineExecutionDescription field's value. 72548 func (s *PipelineExecutionSummary) SetPipelineExecutionDescription(v string) *PipelineExecutionSummary { 72549 s.PipelineExecutionDescription = &v 72550 return s 72551 } 72552 72553 // SetPipelineExecutionDisplayName sets the PipelineExecutionDisplayName field's value. 72554 func (s *PipelineExecutionSummary) SetPipelineExecutionDisplayName(v string) *PipelineExecutionSummary { 72555 s.PipelineExecutionDisplayName = &v 72556 return s 72557 } 72558 72559 // SetPipelineExecutionStatus sets the PipelineExecutionStatus field's value. 72560 func (s *PipelineExecutionSummary) SetPipelineExecutionStatus(v string) *PipelineExecutionSummary { 72561 s.PipelineExecutionStatus = &v 72562 return s 72563 } 72564 72565 // SetStartTime sets the StartTime field's value. 72566 func (s *PipelineExecutionSummary) SetStartTime(v time.Time) *PipelineExecutionSummary { 72567 s.StartTime = &v 72568 return s 72569 } 72570 72571 // Specifies the names of the experiment and trial created by a pipeline. 72572 type PipelineExperimentConfig struct { 72573 _ struct{} `type:"structure"` 72574 72575 // The name of the experiment. 72576 ExperimentName *string `min:"1" type:"string"` 72577 72578 // The name of the trial. 72579 TrialName *string `min:"1" type:"string"` 72580 } 72581 72582 // String returns the string representation. 72583 // 72584 // API parameter values that are decorated as "sensitive" in the API will not 72585 // be included in the string output. The member name will be present, but the 72586 // value will be replaced with "sensitive". 72587 func (s PipelineExperimentConfig) String() string { 72588 return awsutil.Prettify(s) 72589 } 72590 72591 // GoString returns the string representation. 72592 // 72593 // API parameter values that are decorated as "sensitive" in the API will not 72594 // be included in the string output. The member name will be present, but the 72595 // value will be replaced with "sensitive". 72596 func (s PipelineExperimentConfig) GoString() string { 72597 return s.String() 72598 } 72599 72600 // SetExperimentName sets the ExperimentName field's value. 72601 func (s *PipelineExperimentConfig) SetExperimentName(v string) *PipelineExperimentConfig { 72602 s.ExperimentName = &v 72603 return s 72604 } 72605 72606 // SetTrialName sets the TrialName field's value. 72607 func (s *PipelineExperimentConfig) SetTrialName(v string) *PipelineExperimentConfig { 72608 s.TrialName = &v 72609 return s 72610 } 72611 72612 // A summary of a pipeline. 72613 type PipelineSummary struct { 72614 _ struct{} `type:"structure"` 72615 72616 // The creation time of the pipeline. 72617 CreationTime *time.Time `type:"timestamp"` 72618 72619 // The last time that a pipeline execution began. 72620 LastExecutionTime *time.Time `type:"timestamp"` 72621 72622 // The time that the pipeline was last modified. 72623 LastModifiedTime *time.Time `type:"timestamp"` 72624 72625 // The Amazon Resource Name (ARN) of the pipeline. 72626 PipelineArn *string `type:"string"` 72627 72628 // The description of the pipeline. 72629 PipelineDescription *string `type:"string"` 72630 72631 // The display name of the pipeline. 72632 PipelineDisplayName *string `min:"1" type:"string"` 72633 72634 // The name of the pipeline. 72635 PipelineName *string `min:"1" type:"string"` 72636 72637 // The Amazon Resource Name (ARN) that the pipeline used to execute. 72638 RoleArn *string `min:"20" type:"string"` 72639 } 72640 72641 // String returns the string representation. 72642 // 72643 // API parameter values that are decorated as "sensitive" in the API will not 72644 // be included in the string output. The member name will be present, but the 72645 // value will be replaced with "sensitive". 72646 func (s PipelineSummary) String() string { 72647 return awsutil.Prettify(s) 72648 } 72649 72650 // GoString returns the string representation. 72651 // 72652 // API parameter values that are decorated as "sensitive" in the API will not 72653 // be included in the string output. The member name will be present, but the 72654 // value will be replaced with "sensitive". 72655 func (s PipelineSummary) GoString() string { 72656 return s.String() 72657 } 72658 72659 // SetCreationTime sets the CreationTime field's value. 72660 func (s *PipelineSummary) SetCreationTime(v time.Time) *PipelineSummary { 72661 s.CreationTime = &v 72662 return s 72663 } 72664 72665 // SetLastExecutionTime sets the LastExecutionTime field's value. 72666 func (s *PipelineSummary) SetLastExecutionTime(v time.Time) *PipelineSummary { 72667 s.LastExecutionTime = &v 72668 return s 72669 } 72670 72671 // SetLastModifiedTime sets the LastModifiedTime field's value. 72672 func (s *PipelineSummary) SetLastModifiedTime(v time.Time) *PipelineSummary { 72673 s.LastModifiedTime = &v 72674 return s 72675 } 72676 72677 // SetPipelineArn sets the PipelineArn field's value. 72678 func (s *PipelineSummary) SetPipelineArn(v string) *PipelineSummary { 72679 s.PipelineArn = &v 72680 return s 72681 } 72682 72683 // SetPipelineDescription sets the PipelineDescription field's value. 72684 func (s *PipelineSummary) SetPipelineDescription(v string) *PipelineSummary { 72685 s.PipelineDescription = &v 72686 return s 72687 } 72688 72689 // SetPipelineDisplayName sets the PipelineDisplayName field's value. 72690 func (s *PipelineSummary) SetPipelineDisplayName(v string) *PipelineSummary { 72691 s.PipelineDisplayName = &v 72692 return s 72693 } 72694 72695 // SetPipelineName sets the PipelineName field's value. 72696 func (s *PipelineSummary) SetPipelineName(v string) *PipelineSummary { 72697 s.PipelineName = &v 72698 return s 72699 } 72700 72701 // SetRoleArn sets the RoleArn field's value. 72702 func (s *PipelineSummary) SetRoleArn(v string) *PipelineSummary { 72703 s.RoleArn = &v 72704 return s 72705 } 72706 72707 // Configuration for the cluster used to run a processing job. 72708 type ProcessingClusterConfig struct { 72709 _ struct{} `type:"structure"` 72710 72711 // The number of ML compute instances to use in the processing job. For distributed 72712 // processing jobs, specify a value greater than 1. The default value is 1. 72713 // 72714 // InstanceCount is a required field 72715 InstanceCount *int64 `min:"1" type:"integer" required:"true"` 72716 72717 // The ML compute instance type for the processing job. 72718 // 72719 // InstanceType is a required field 72720 InstanceType *string `type:"string" required:"true" enum:"ProcessingInstanceType"` 72721 72722 // The Amazon Web Services Key Management Service (Amazon Web Services KMS) 72723 // key that Amazon SageMaker uses to encrypt data on the storage volume attached 72724 // to the ML compute instance(s) that run the processing job. 72725 // 72726 // Certain Nitro-based instances include local storage, dependent on the instance 72727 // type. Local storage volumes are encrypted using a hardware module on the 72728 // instance. You can't request a VolumeKmsKeyId when using an instance type 72729 // with local storage. 72730 // 72731 // For a list of instance types that support local instance storage, see Instance 72732 // Store Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes). 72733 // 72734 // For more information about local instance storage encryption, see SSD Instance 72735 // Store Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ssd-instance-store.html). 72736 VolumeKmsKeyId *string `type:"string"` 72737 72738 // The size of the ML storage volume in gigabytes that you want to provision. 72739 // You must specify sufficient ML storage for your scenario. 72740 // 72741 // Certain Nitro-based instances include local storage with a fixed total size, 72742 // dependent on the instance type. When using these instances for processing, 72743 // Amazon SageMaker mounts the local instance storage instead of Amazon EBS 72744 // gp2 storage. You can't request a VolumeSizeInGB greater than the total size 72745 // of the local instance storage. 72746 // 72747 // For a list of instance types that support local instance storage, including 72748 // the total size per instance type, see Instance Store Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes). 72749 // 72750 // VolumeSizeInGB is a required field 72751 VolumeSizeInGB *int64 `min:"1" type:"integer" required:"true"` 72752 } 72753 72754 // String returns the string representation. 72755 // 72756 // API parameter values that are decorated as "sensitive" in the API will not 72757 // be included in the string output. The member name will be present, but the 72758 // value will be replaced with "sensitive". 72759 func (s ProcessingClusterConfig) String() string { 72760 return awsutil.Prettify(s) 72761 } 72762 72763 // GoString returns the string representation. 72764 // 72765 // API parameter values that are decorated as "sensitive" in the API will not 72766 // be included in the string output. The member name will be present, but the 72767 // value will be replaced with "sensitive". 72768 func (s ProcessingClusterConfig) GoString() string { 72769 return s.String() 72770 } 72771 72772 // Validate inspects the fields of the type to determine if they are valid. 72773 func (s *ProcessingClusterConfig) Validate() error { 72774 invalidParams := request.ErrInvalidParams{Context: "ProcessingClusterConfig"} 72775 if s.InstanceCount == nil { 72776 invalidParams.Add(request.NewErrParamRequired("InstanceCount")) 72777 } 72778 if s.InstanceCount != nil && *s.InstanceCount < 1 { 72779 invalidParams.Add(request.NewErrParamMinValue("InstanceCount", 1)) 72780 } 72781 if s.InstanceType == nil { 72782 invalidParams.Add(request.NewErrParamRequired("InstanceType")) 72783 } 72784 if s.VolumeSizeInGB == nil { 72785 invalidParams.Add(request.NewErrParamRequired("VolumeSizeInGB")) 72786 } 72787 if s.VolumeSizeInGB != nil && *s.VolumeSizeInGB < 1 { 72788 invalidParams.Add(request.NewErrParamMinValue("VolumeSizeInGB", 1)) 72789 } 72790 72791 if invalidParams.Len() > 0 { 72792 return invalidParams 72793 } 72794 return nil 72795 } 72796 72797 // SetInstanceCount sets the InstanceCount field's value. 72798 func (s *ProcessingClusterConfig) SetInstanceCount(v int64) *ProcessingClusterConfig { 72799 s.InstanceCount = &v 72800 return s 72801 } 72802 72803 // SetInstanceType sets the InstanceType field's value. 72804 func (s *ProcessingClusterConfig) SetInstanceType(v string) *ProcessingClusterConfig { 72805 s.InstanceType = &v 72806 return s 72807 } 72808 72809 // SetVolumeKmsKeyId sets the VolumeKmsKeyId field's value. 72810 func (s *ProcessingClusterConfig) SetVolumeKmsKeyId(v string) *ProcessingClusterConfig { 72811 s.VolumeKmsKeyId = &v 72812 return s 72813 } 72814 72815 // SetVolumeSizeInGB sets the VolumeSizeInGB field's value. 72816 func (s *ProcessingClusterConfig) SetVolumeSizeInGB(v int64) *ProcessingClusterConfig { 72817 s.VolumeSizeInGB = &v 72818 return s 72819 } 72820 72821 // Configuration for processing job outputs in Amazon SageMaker Feature Store. 72822 type ProcessingFeatureStoreOutput struct { 72823 _ struct{} `type:"structure"` 72824 72825 // The name of the Amazon SageMaker FeatureGroup to use as the destination for 72826 // processing job output. Note that your processing script is responsible for 72827 // putting records into your Feature Store. 72828 // 72829 // FeatureGroupName is a required field 72830 FeatureGroupName *string `min:"1" type:"string" required:"true"` 72831 } 72832 72833 // String returns the string representation. 72834 // 72835 // API parameter values that are decorated as "sensitive" in the API will not 72836 // be included in the string output. The member name will be present, but the 72837 // value will be replaced with "sensitive". 72838 func (s ProcessingFeatureStoreOutput) String() string { 72839 return awsutil.Prettify(s) 72840 } 72841 72842 // GoString returns the string representation. 72843 // 72844 // API parameter values that are decorated as "sensitive" in the API will not 72845 // be included in the string output. The member name will be present, but the 72846 // value will be replaced with "sensitive". 72847 func (s ProcessingFeatureStoreOutput) GoString() string { 72848 return s.String() 72849 } 72850 72851 // Validate inspects the fields of the type to determine if they are valid. 72852 func (s *ProcessingFeatureStoreOutput) Validate() error { 72853 invalidParams := request.ErrInvalidParams{Context: "ProcessingFeatureStoreOutput"} 72854 if s.FeatureGroupName == nil { 72855 invalidParams.Add(request.NewErrParamRequired("FeatureGroupName")) 72856 } 72857 if s.FeatureGroupName != nil && len(*s.FeatureGroupName) < 1 { 72858 invalidParams.Add(request.NewErrParamMinLen("FeatureGroupName", 1)) 72859 } 72860 72861 if invalidParams.Len() > 0 { 72862 return invalidParams 72863 } 72864 return nil 72865 } 72866 72867 // SetFeatureGroupName sets the FeatureGroupName field's value. 72868 func (s *ProcessingFeatureStoreOutput) SetFeatureGroupName(v string) *ProcessingFeatureStoreOutput { 72869 s.FeatureGroupName = &v 72870 return s 72871 } 72872 72873 // The inputs for a processing job. The processing input must specify exactly 72874 // one of either S3Input or DatasetDefinition types. 72875 type ProcessingInput struct { 72876 _ struct{} `type:"structure"` 72877 72878 // When True, input operations such as data download are managed natively by 72879 // the processing job application. When False (default), input operations are 72880 // managed by Amazon SageMaker. 72881 AppManaged *bool `type:"boolean"` 72882 72883 // Configuration for a Dataset Definition input. 72884 DatasetDefinition *DatasetDefinition `type:"structure"` 72885 72886 // The name for the processing job input. 72887 // 72888 // InputName is a required field 72889 InputName *string `type:"string" required:"true"` 72890 72891 // Configuration for downloading input data from Amazon S3 into the processing 72892 // container. 72893 S3Input *ProcessingS3Input `type:"structure"` 72894 } 72895 72896 // String returns the string representation. 72897 // 72898 // API parameter values that are decorated as "sensitive" in the API will not 72899 // be included in the string output. The member name will be present, but the 72900 // value will be replaced with "sensitive". 72901 func (s ProcessingInput) String() string { 72902 return awsutil.Prettify(s) 72903 } 72904 72905 // GoString returns the string representation. 72906 // 72907 // API parameter values that are decorated as "sensitive" in the API will not 72908 // be included in the string output. The member name will be present, but the 72909 // value will be replaced with "sensitive". 72910 func (s ProcessingInput) GoString() string { 72911 return s.String() 72912 } 72913 72914 // Validate inspects the fields of the type to determine if they are valid. 72915 func (s *ProcessingInput) Validate() error { 72916 invalidParams := request.ErrInvalidParams{Context: "ProcessingInput"} 72917 if s.InputName == nil { 72918 invalidParams.Add(request.NewErrParamRequired("InputName")) 72919 } 72920 if s.DatasetDefinition != nil { 72921 if err := s.DatasetDefinition.Validate(); err != nil { 72922 invalidParams.AddNested("DatasetDefinition", err.(request.ErrInvalidParams)) 72923 } 72924 } 72925 if s.S3Input != nil { 72926 if err := s.S3Input.Validate(); err != nil { 72927 invalidParams.AddNested("S3Input", err.(request.ErrInvalidParams)) 72928 } 72929 } 72930 72931 if invalidParams.Len() > 0 { 72932 return invalidParams 72933 } 72934 return nil 72935 } 72936 72937 // SetAppManaged sets the AppManaged field's value. 72938 func (s *ProcessingInput) SetAppManaged(v bool) *ProcessingInput { 72939 s.AppManaged = &v 72940 return s 72941 } 72942 72943 // SetDatasetDefinition sets the DatasetDefinition field's value. 72944 func (s *ProcessingInput) SetDatasetDefinition(v *DatasetDefinition) *ProcessingInput { 72945 s.DatasetDefinition = v 72946 return s 72947 } 72948 72949 // SetInputName sets the InputName field's value. 72950 func (s *ProcessingInput) SetInputName(v string) *ProcessingInput { 72951 s.InputName = &v 72952 return s 72953 } 72954 72955 // SetS3Input sets the S3Input field's value. 72956 func (s *ProcessingInput) SetS3Input(v *ProcessingS3Input) *ProcessingInput { 72957 s.S3Input = v 72958 return s 72959 } 72960 72961 // An Amazon SageMaker processing job that is used to analyze data and evaluate 72962 // models. For more information, see Process Data and Evaluate Models (https://docs.aws.amazon.com/sagemaker/latest/dg/processing-job.html). 72963 type ProcessingJob struct { 72964 _ struct{} `type:"structure"` 72965 72966 // Configuration to run a processing job in a specified container image. 72967 AppSpecification *AppSpecification `type:"structure"` 72968 72969 // The Amazon Resource Name (ARN) of the AutoML job associated with this processing 72970 // job. 72971 AutoMLJobArn *string `min:"1" type:"string"` 72972 72973 // The time the processing job was created. 72974 CreationTime *time.Time `type:"timestamp"` 72975 72976 // Sets the environment variables in the Docker container. 72977 Environment map[string]*string `type:"map"` 72978 72979 // A string, up to one KB in size, that contains metadata from the processing 72980 // container when the processing job exits. 72981 ExitMessage *string `type:"string"` 72982 72983 // Associates a SageMaker job as a trial component with an experiment and trial. 72984 // Specified when you call the following APIs: 72985 // 72986 // * CreateProcessingJob 72987 // 72988 // * CreateTrainingJob 72989 // 72990 // * CreateTransformJob 72991 ExperimentConfig *ExperimentConfig `type:"structure"` 72992 72993 // A string, up to one KB in size, that contains the reason a processing job 72994 // failed, if it failed. 72995 FailureReason *string `type:"string"` 72996 72997 // The time the processing job was last modified. 72998 LastModifiedTime *time.Time `type:"timestamp"` 72999 73000 // The ARN of a monitoring schedule for an endpoint associated with this processing 73001 // job. 73002 MonitoringScheduleArn *string `type:"string"` 73003 73004 // Networking options for a job, such as network traffic encryption between 73005 // containers, whether to allow inbound and outbound network calls to and from 73006 // containers, and the VPC subnets and security groups to use for VPC-enabled 73007 // jobs. 73008 NetworkConfig *NetworkConfig `type:"structure"` 73009 73010 // The time that the processing job ended. 73011 ProcessingEndTime *time.Time `type:"timestamp"` 73012 73013 // List of input configurations for the processing job. 73014 ProcessingInputs []*ProcessingInput `type:"list"` 73015 73016 // The ARN of the processing job. 73017 ProcessingJobArn *string `type:"string"` 73018 73019 // The name of the processing job. 73020 ProcessingJobName *string `min:"1" type:"string"` 73021 73022 // The status of the processing job. 73023 ProcessingJobStatus *string `type:"string" enum:"ProcessingJobStatus"` 73024 73025 // Configuration for uploading output from the processing container. 73026 ProcessingOutputConfig *ProcessingOutputConfig `type:"structure"` 73027 73028 // Identifies the resources, ML compute instances, and ML storage volumes to 73029 // deploy for a processing job. In distributed training, you specify more than 73030 // one instance. 73031 ProcessingResources *ProcessingResources `type:"structure"` 73032 73033 // The time that the processing job started. 73034 ProcessingStartTime *time.Time `type:"timestamp"` 73035 73036 // The ARN of the role used to create the processing job. 73037 RoleArn *string `min:"20" type:"string"` 73038 73039 // Configures conditions under which the processing job should be stopped, such 73040 // as how long the processing job has been running. After the condition is met, 73041 // the processing job is stopped. 73042 StoppingCondition *ProcessingStoppingCondition `type:"structure"` 73043 73044 // An array of key-value pairs. For more information, see Using Cost Allocation 73045 // Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL) 73046 // in the Amazon Web Services Billing and Cost Management User Guide. 73047 Tags []*Tag `type:"list"` 73048 73049 // The ARN of the training job associated with this processing job. 73050 TrainingJobArn *string `type:"string"` 73051 } 73052 73053 // String returns the string representation. 73054 // 73055 // API parameter values that are decorated as "sensitive" in the API will not 73056 // be included in the string output. The member name will be present, but the 73057 // value will be replaced with "sensitive". 73058 func (s ProcessingJob) String() string { 73059 return awsutil.Prettify(s) 73060 } 73061 73062 // GoString returns the string representation. 73063 // 73064 // API parameter values that are decorated as "sensitive" in the API will not 73065 // be included in the string output. The member name will be present, but the 73066 // value will be replaced with "sensitive". 73067 func (s ProcessingJob) GoString() string { 73068 return s.String() 73069 } 73070 73071 // SetAppSpecification sets the AppSpecification field's value. 73072 func (s *ProcessingJob) SetAppSpecification(v *AppSpecification) *ProcessingJob { 73073 s.AppSpecification = v 73074 return s 73075 } 73076 73077 // SetAutoMLJobArn sets the AutoMLJobArn field's value. 73078 func (s *ProcessingJob) SetAutoMLJobArn(v string) *ProcessingJob { 73079 s.AutoMLJobArn = &v 73080 return s 73081 } 73082 73083 // SetCreationTime sets the CreationTime field's value. 73084 func (s *ProcessingJob) SetCreationTime(v time.Time) *ProcessingJob { 73085 s.CreationTime = &v 73086 return s 73087 } 73088 73089 // SetEnvironment sets the Environment field's value. 73090 func (s *ProcessingJob) SetEnvironment(v map[string]*string) *ProcessingJob { 73091 s.Environment = v 73092 return s 73093 } 73094 73095 // SetExitMessage sets the ExitMessage field's value. 73096 func (s *ProcessingJob) SetExitMessage(v string) *ProcessingJob { 73097 s.ExitMessage = &v 73098 return s 73099 } 73100 73101 // SetExperimentConfig sets the ExperimentConfig field's value. 73102 func (s *ProcessingJob) SetExperimentConfig(v *ExperimentConfig) *ProcessingJob { 73103 s.ExperimentConfig = v 73104 return s 73105 } 73106 73107 // SetFailureReason sets the FailureReason field's value. 73108 func (s *ProcessingJob) SetFailureReason(v string) *ProcessingJob { 73109 s.FailureReason = &v 73110 return s 73111 } 73112 73113 // SetLastModifiedTime sets the LastModifiedTime field's value. 73114 func (s *ProcessingJob) SetLastModifiedTime(v time.Time) *ProcessingJob { 73115 s.LastModifiedTime = &v 73116 return s 73117 } 73118 73119 // SetMonitoringScheduleArn sets the MonitoringScheduleArn field's value. 73120 func (s *ProcessingJob) SetMonitoringScheduleArn(v string) *ProcessingJob { 73121 s.MonitoringScheduleArn = &v 73122 return s 73123 } 73124 73125 // SetNetworkConfig sets the NetworkConfig field's value. 73126 func (s *ProcessingJob) SetNetworkConfig(v *NetworkConfig) *ProcessingJob { 73127 s.NetworkConfig = v 73128 return s 73129 } 73130 73131 // SetProcessingEndTime sets the ProcessingEndTime field's value. 73132 func (s *ProcessingJob) SetProcessingEndTime(v time.Time) *ProcessingJob { 73133 s.ProcessingEndTime = &v 73134 return s 73135 } 73136 73137 // SetProcessingInputs sets the ProcessingInputs field's value. 73138 func (s *ProcessingJob) SetProcessingInputs(v []*ProcessingInput) *ProcessingJob { 73139 s.ProcessingInputs = v 73140 return s 73141 } 73142 73143 // SetProcessingJobArn sets the ProcessingJobArn field's value. 73144 func (s *ProcessingJob) SetProcessingJobArn(v string) *ProcessingJob { 73145 s.ProcessingJobArn = &v 73146 return s 73147 } 73148 73149 // SetProcessingJobName sets the ProcessingJobName field's value. 73150 func (s *ProcessingJob) SetProcessingJobName(v string) *ProcessingJob { 73151 s.ProcessingJobName = &v 73152 return s 73153 } 73154 73155 // SetProcessingJobStatus sets the ProcessingJobStatus field's value. 73156 func (s *ProcessingJob) SetProcessingJobStatus(v string) *ProcessingJob { 73157 s.ProcessingJobStatus = &v 73158 return s 73159 } 73160 73161 // SetProcessingOutputConfig sets the ProcessingOutputConfig field's value. 73162 func (s *ProcessingJob) SetProcessingOutputConfig(v *ProcessingOutputConfig) *ProcessingJob { 73163 s.ProcessingOutputConfig = v 73164 return s 73165 } 73166 73167 // SetProcessingResources sets the ProcessingResources field's value. 73168 func (s *ProcessingJob) SetProcessingResources(v *ProcessingResources) *ProcessingJob { 73169 s.ProcessingResources = v 73170 return s 73171 } 73172 73173 // SetProcessingStartTime sets the ProcessingStartTime field's value. 73174 func (s *ProcessingJob) SetProcessingStartTime(v time.Time) *ProcessingJob { 73175 s.ProcessingStartTime = &v 73176 return s 73177 } 73178 73179 // SetRoleArn sets the RoleArn field's value. 73180 func (s *ProcessingJob) SetRoleArn(v string) *ProcessingJob { 73181 s.RoleArn = &v 73182 return s 73183 } 73184 73185 // SetStoppingCondition sets the StoppingCondition field's value. 73186 func (s *ProcessingJob) SetStoppingCondition(v *ProcessingStoppingCondition) *ProcessingJob { 73187 s.StoppingCondition = v 73188 return s 73189 } 73190 73191 // SetTags sets the Tags field's value. 73192 func (s *ProcessingJob) SetTags(v []*Tag) *ProcessingJob { 73193 s.Tags = v 73194 return s 73195 } 73196 73197 // SetTrainingJobArn sets the TrainingJobArn field's value. 73198 func (s *ProcessingJob) SetTrainingJobArn(v string) *ProcessingJob { 73199 s.TrainingJobArn = &v 73200 return s 73201 } 73202 73203 // Metadata for a processing job step. 73204 type ProcessingJobStepMetadata struct { 73205 _ struct{} `type:"structure"` 73206 73207 // The Amazon Resource Name (ARN) of the processing job. 73208 Arn *string `type:"string"` 73209 } 73210 73211 // String returns the string representation. 73212 // 73213 // API parameter values that are decorated as "sensitive" in the API will not 73214 // be included in the string output. The member name will be present, but the 73215 // value will be replaced with "sensitive". 73216 func (s ProcessingJobStepMetadata) String() string { 73217 return awsutil.Prettify(s) 73218 } 73219 73220 // GoString returns the string representation. 73221 // 73222 // API parameter values that are decorated as "sensitive" in the API will not 73223 // be included in the string output. The member name will be present, but the 73224 // value will be replaced with "sensitive". 73225 func (s ProcessingJobStepMetadata) GoString() string { 73226 return s.String() 73227 } 73228 73229 // SetArn sets the Arn field's value. 73230 func (s *ProcessingJobStepMetadata) SetArn(v string) *ProcessingJobStepMetadata { 73231 s.Arn = &v 73232 return s 73233 } 73234 73235 // Summary of information about a processing job. 73236 type ProcessingJobSummary struct { 73237 _ struct{} `type:"structure"` 73238 73239 // The time at which the processing job was created. 73240 // 73241 // CreationTime is a required field 73242 CreationTime *time.Time `type:"timestamp" required:"true"` 73243 73244 // An optional string, up to one KB in size, that contains metadata from the 73245 // processing container when the processing job exits. 73246 ExitMessage *string `type:"string"` 73247 73248 // A string, up to one KB in size, that contains the reason a processing job 73249 // failed, if it failed. 73250 FailureReason *string `type:"string"` 73251 73252 // A timestamp that indicates the last time the processing job was modified. 73253 LastModifiedTime *time.Time `type:"timestamp"` 73254 73255 // The time at which the processing job completed. 73256 ProcessingEndTime *time.Time `type:"timestamp"` 73257 73258 // The Amazon Resource Name (ARN) of the processing job.. 73259 // 73260 // ProcessingJobArn is a required field 73261 ProcessingJobArn *string `type:"string" required:"true"` 73262 73263 // The name of the processing job. 73264 // 73265 // ProcessingJobName is a required field 73266 ProcessingJobName *string `min:"1" type:"string" required:"true"` 73267 73268 // The status of the processing job. 73269 // 73270 // ProcessingJobStatus is a required field 73271 ProcessingJobStatus *string `type:"string" required:"true" enum:"ProcessingJobStatus"` 73272 } 73273 73274 // String returns the string representation. 73275 // 73276 // API parameter values that are decorated as "sensitive" in the API will not 73277 // be included in the string output. The member name will be present, but the 73278 // value will be replaced with "sensitive". 73279 func (s ProcessingJobSummary) String() string { 73280 return awsutil.Prettify(s) 73281 } 73282 73283 // GoString returns the string representation. 73284 // 73285 // API parameter values that are decorated as "sensitive" in the API will not 73286 // be included in the string output. The member name will be present, but the 73287 // value will be replaced with "sensitive". 73288 func (s ProcessingJobSummary) GoString() string { 73289 return s.String() 73290 } 73291 73292 // SetCreationTime sets the CreationTime field's value. 73293 func (s *ProcessingJobSummary) SetCreationTime(v time.Time) *ProcessingJobSummary { 73294 s.CreationTime = &v 73295 return s 73296 } 73297 73298 // SetExitMessage sets the ExitMessage field's value. 73299 func (s *ProcessingJobSummary) SetExitMessage(v string) *ProcessingJobSummary { 73300 s.ExitMessage = &v 73301 return s 73302 } 73303 73304 // SetFailureReason sets the FailureReason field's value. 73305 func (s *ProcessingJobSummary) SetFailureReason(v string) *ProcessingJobSummary { 73306 s.FailureReason = &v 73307 return s 73308 } 73309 73310 // SetLastModifiedTime sets the LastModifiedTime field's value. 73311 func (s *ProcessingJobSummary) SetLastModifiedTime(v time.Time) *ProcessingJobSummary { 73312 s.LastModifiedTime = &v 73313 return s 73314 } 73315 73316 // SetProcessingEndTime sets the ProcessingEndTime field's value. 73317 func (s *ProcessingJobSummary) SetProcessingEndTime(v time.Time) *ProcessingJobSummary { 73318 s.ProcessingEndTime = &v 73319 return s 73320 } 73321 73322 // SetProcessingJobArn sets the ProcessingJobArn field's value. 73323 func (s *ProcessingJobSummary) SetProcessingJobArn(v string) *ProcessingJobSummary { 73324 s.ProcessingJobArn = &v 73325 return s 73326 } 73327 73328 // SetProcessingJobName sets the ProcessingJobName field's value. 73329 func (s *ProcessingJobSummary) SetProcessingJobName(v string) *ProcessingJobSummary { 73330 s.ProcessingJobName = &v 73331 return s 73332 } 73333 73334 // SetProcessingJobStatus sets the ProcessingJobStatus field's value. 73335 func (s *ProcessingJobSummary) SetProcessingJobStatus(v string) *ProcessingJobSummary { 73336 s.ProcessingJobStatus = &v 73337 return s 73338 } 73339 73340 // Describes the results of a processing job. The processing output must specify 73341 // exactly one of either S3Output or FeatureStoreOutput types. 73342 type ProcessingOutput struct { 73343 _ struct{} `type:"structure"` 73344 73345 // When True, output operations such as data upload are managed natively by 73346 // the processing job application. When False (default), output operations are 73347 // managed by Amazon SageMaker. 73348 AppManaged *bool `type:"boolean"` 73349 73350 // Configuration for processing job outputs in Amazon SageMaker Feature Store. 73351 // This processing output type is only supported when AppManaged is specified. 73352 FeatureStoreOutput *ProcessingFeatureStoreOutput `type:"structure"` 73353 73354 // The name for the processing job output. 73355 // 73356 // OutputName is a required field 73357 OutputName *string `type:"string" required:"true"` 73358 73359 // Configuration for processing job outputs in Amazon S3. 73360 S3Output *ProcessingS3Output `type:"structure"` 73361 } 73362 73363 // String returns the string representation. 73364 // 73365 // API parameter values that are decorated as "sensitive" in the API will not 73366 // be included in the string output. The member name will be present, but the 73367 // value will be replaced with "sensitive". 73368 func (s ProcessingOutput) String() string { 73369 return awsutil.Prettify(s) 73370 } 73371 73372 // GoString returns the string representation. 73373 // 73374 // API parameter values that are decorated as "sensitive" in the API will not 73375 // be included in the string output. The member name will be present, but the 73376 // value will be replaced with "sensitive". 73377 func (s ProcessingOutput) GoString() string { 73378 return s.String() 73379 } 73380 73381 // Validate inspects the fields of the type to determine if they are valid. 73382 func (s *ProcessingOutput) Validate() error { 73383 invalidParams := request.ErrInvalidParams{Context: "ProcessingOutput"} 73384 if s.OutputName == nil { 73385 invalidParams.Add(request.NewErrParamRequired("OutputName")) 73386 } 73387 if s.FeatureStoreOutput != nil { 73388 if err := s.FeatureStoreOutput.Validate(); err != nil { 73389 invalidParams.AddNested("FeatureStoreOutput", err.(request.ErrInvalidParams)) 73390 } 73391 } 73392 if s.S3Output != nil { 73393 if err := s.S3Output.Validate(); err != nil { 73394 invalidParams.AddNested("S3Output", err.(request.ErrInvalidParams)) 73395 } 73396 } 73397 73398 if invalidParams.Len() > 0 { 73399 return invalidParams 73400 } 73401 return nil 73402 } 73403 73404 // SetAppManaged sets the AppManaged field's value. 73405 func (s *ProcessingOutput) SetAppManaged(v bool) *ProcessingOutput { 73406 s.AppManaged = &v 73407 return s 73408 } 73409 73410 // SetFeatureStoreOutput sets the FeatureStoreOutput field's value. 73411 func (s *ProcessingOutput) SetFeatureStoreOutput(v *ProcessingFeatureStoreOutput) *ProcessingOutput { 73412 s.FeatureStoreOutput = v 73413 return s 73414 } 73415 73416 // SetOutputName sets the OutputName field's value. 73417 func (s *ProcessingOutput) SetOutputName(v string) *ProcessingOutput { 73418 s.OutputName = &v 73419 return s 73420 } 73421 73422 // SetS3Output sets the S3Output field's value. 73423 func (s *ProcessingOutput) SetS3Output(v *ProcessingS3Output) *ProcessingOutput { 73424 s.S3Output = v 73425 return s 73426 } 73427 73428 // Configuration for uploading output from the processing container. 73429 type ProcessingOutputConfig struct { 73430 _ struct{} `type:"structure"` 73431 73432 // The Amazon Web Services Key Management Service (Amazon Web Services KMS) 73433 // key that Amazon SageMaker uses to encrypt the processing job output. KmsKeyId 73434 // can be an ID of a KMS key, ARN of a KMS key, alias of a KMS key, or alias 73435 // of a KMS key. The KmsKeyId is applied to all outputs. 73436 KmsKeyId *string `type:"string"` 73437 73438 // An array of outputs configuring the data to upload from the processing container. 73439 // 73440 // Outputs is a required field 73441 Outputs []*ProcessingOutput `type:"list" required:"true"` 73442 } 73443 73444 // String returns the string representation. 73445 // 73446 // API parameter values that are decorated as "sensitive" in the API will not 73447 // be included in the string output. The member name will be present, but the 73448 // value will be replaced with "sensitive". 73449 func (s ProcessingOutputConfig) String() string { 73450 return awsutil.Prettify(s) 73451 } 73452 73453 // GoString returns the string representation. 73454 // 73455 // API parameter values that are decorated as "sensitive" in the API will not 73456 // be included in the string output. The member name will be present, but the 73457 // value will be replaced with "sensitive". 73458 func (s ProcessingOutputConfig) GoString() string { 73459 return s.String() 73460 } 73461 73462 // Validate inspects the fields of the type to determine if they are valid. 73463 func (s *ProcessingOutputConfig) Validate() error { 73464 invalidParams := request.ErrInvalidParams{Context: "ProcessingOutputConfig"} 73465 if s.Outputs == nil { 73466 invalidParams.Add(request.NewErrParamRequired("Outputs")) 73467 } 73468 if s.Outputs != nil { 73469 for i, v := range s.Outputs { 73470 if v == nil { 73471 continue 73472 } 73473 if err := v.Validate(); err != nil { 73474 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Outputs", i), err.(request.ErrInvalidParams)) 73475 } 73476 } 73477 } 73478 73479 if invalidParams.Len() > 0 { 73480 return invalidParams 73481 } 73482 return nil 73483 } 73484 73485 // SetKmsKeyId sets the KmsKeyId field's value. 73486 func (s *ProcessingOutputConfig) SetKmsKeyId(v string) *ProcessingOutputConfig { 73487 s.KmsKeyId = &v 73488 return s 73489 } 73490 73491 // SetOutputs sets the Outputs field's value. 73492 func (s *ProcessingOutputConfig) SetOutputs(v []*ProcessingOutput) *ProcessingOutputConfig { 73493 s.Outputs = v 73494 return s 73495 } 73496 73497 // Identifies the resources, ML compute instances, and ML storage volumes to 73498 // deploy for a processing job. In distributed training, you specify more than 73499 // one instance. 73500 type ProcessingResources struct { 73501 _ struct{} `type:"structure"` 73502 73503 // The configuration for the resources in a cluster used to run the processing 73504 // job. 73505 // 73506 // ClusterConfig is a required field 73507 ClusterConfig *ProcessingClusterConfig `type:"structure" required:"true"` 73508 } 73509 73510 // String returns the string representation. 73511 // 73512 // API parameter values that are decorated as "sensitive" in the API will not 73513 // be included in the string output. The member name will be present, but the 73514 // value will be replaced with "sensitive". 73515 func (s ProcessingResources) String() string { 73516 return awsutil.Prettify(s) 73517 } 73518 73519 // GoString returns the string representation. 73520 // 73521 // API parameter values that are decorated as "sensitive" in the API will not 73522 // be included in the string output. The member name will be present, but the 73523 // value will be replaced with "sensitive". 73524 func (s ProcessingResources) GoString() string { 73525 return s.String() 73526 } 73527 73528 // Validate inspects the fields of the type to determine if they are valid. 73529 func (s *ProcessingResources) Validate() error { 73530 invalidParams := request.ErrInvalidParams{Context: "ProcessingResources"} 73531 if s.ClusterConfig == nil { 73532 invalidParams.Add(request.NewErrParamRequired("ClusterConfig")) 73533 } 73534 if s.ClusterConfig != nil { 73535 if err := s.ClusterConfig.Validate(); err != nil { 73536 invalidParams.AddNested("ClusterConfig", err.(request.ErrInvalidParams)) 73537 } 73538 } 73539 73540 if invalidParams.Len() > 0 { 73541 return invalidParams 73542 } 73543 return nil 73544 } 73545 73546 // SetClusterConfig sets the ClusterConfig field's value. 73547 func (s *ProcessingResources) SetClusterConfig(v *ProcessingClusterConfig) *ProcessingResources { 73548 s.ClusterConfig = v 73549 return s 73550 } 73551 73552 // Configuration for downloading input data from Amazon S3 into the processing 73553 // container. 73554 type ProcessingS3Input struct { 73555 _ struct{} `type:"structure"` 73556 73557 // The local path in your container where you want Amazon SageMaker to write 73558 // input data to. LocalPath is an absolute path to the input data and must begin 73559 // with /opt/ml/processing/. LocalPath is a required parameter when AppManaged 73560 // is False (default). 73561 LocalPath *string `type:"string"` 73562 73563 // Whether to GZIP-decompress the data in Amazon S3 as it is streamed into the 73564 // processing container. Gzip can only be used when Pipe mode is specified as 73565 // the S3InputMode. In Pipe mode, Amazon SageMaker streams input data from the 73566 // source directly to your container without using the EBS volume. 73567 S3CompressionType *string `type:"string" enum:"ProcessingS3CompressionType"` 73568 73569 // Whether to distribute the data from Amazon S3 to all processing instances 73570 // with FullyReplicated, or whether the data from Amazon S3 is shared by Amazon 73571 // S3 key, downloading one shard of data to each processing instance. 73572 S3DataDistributionType *string `type:"string" enum:"ProcessingS3DataDistributionType"` 73573 73574 // Whether you use an S3Prefix or a ManifestFile for the data type. If you choose 73575 // S3Prefix, S3Uri identifies a key name prefix. Amazon SageMaker uses all objects 73576 // with the specified key name prefix for the processing job. If you choose 73577 // ManifestFile, S3Uri identifies an object that is a manifest file containing 73578 // a list of object keys that you want Amazon SageMaker to use for the processing 73579 // job. 73580 // 73581 // S3DataType is a required field 73582 S3DataType *string `type:"string" required:"true" enum:"ProcessingS3DataType"` 73583 73584 // Whether to use File or Pipe input mode. In File mode, Amazon SageMaker copies 73585 // the data from the input source onto the local ML storage volume before starting 73586 // your processing container. This is the most commonly used input mode. In 73587 // Pipe mode, Amazon SageMaker streams input data from the source directly to 73588 // your processing container into named pipes without using the ML storage volume. 73589 S3InputMode *string `type:"string" enum:"ProcessingS3InputMode"` 73590 73591 // The URI of the Amazon S3 prefix Amazon SageMaker downloads data required 73592 // to run a processing job. 73593 // 73594 // S3Uri is a required field 73595 S3Uri *string `type:"string" required:"true"` 73596 } 73597 73598 // String returns the string representation. 73599 // 73600 // API parameter values that are decorated as "sensitive" in the API will not 73601 // be included in the string output. The member name will be present, but the 73602 // value will be replaced with "sensitive". 73603 func (s ProcessingS3Input) String() string { 73604 return awsutil.Prettify(s) 73605 } 73606 73607 // GoString returns the string representation. 73608 // 73609 // API parameter values that are decorated as "sensitive" in the API will not 73610 // be included in the string output. The member name will be present, but the 73611 // value will be replaced with "sensitive". 73612 func (s ProcessingS3Input) GoString() string { 73613 return s.String() 73614 } 73615 73616 // Validate inspects the fields of the type to determine if they are valid. 73617 func (s *ProcessingS3Input) Validate() error { 73618 invalidParams := request.ErrInvalidParams{Context: "ProcessingS3Input"} 73619 if s.S3DataType == nil { 73620 invalidParams.Add(request.NewErrParamRequired("S3DataType")) 73621 } 73622 if s.S3Uri == nil { 73623 invalidParams.Add(request.NewErrParamRequired("S3Uri")) 73624 } 73625 73626 if invalidParams.Len() > 0 { 73627 return invalidParams 73628 } 73629 return nil 73630 } 73631 73632 // SetLocalPath sets the LocalPath field's value. 73633 func (s *ProcessingS3Input) SetLocalPath(v string) *ProcessingS3Input { 73634 s.LocalPath = &v 73635 return s 73636 } 73637 73638 // SetS3CompressionType sets the S3CompressionType field's value. 73639 func (s *ProcessingS3Input) SetS3CompressionType(v string) *ProcessingS3Input { 73640 s.S3CompressionType = &v 73641 return s 73642 } 73643 73644 // SetS3DataDistributionType sets the S3DataDistributionType field's value. 73645 func (s *ProcessingS3Input) SetS3DataDistributionType(v string) *ProcessingS3Input { 73646 s.S3DataDistributionType = &v 73647 return s 73648 } 73649 73650 // SetS3DataType sets the S3DataType field's value. 73651 func (s *ProcessingS3Input) SetS3DataType(v string) *ProcessingS3Input { 73652 s.S3DataType = &v 73653 return s 73654 } 73655 73656 // SetS3InputMode sets the S3InputMode field's value. 73657 func (s *ProcessingS3Input) SetS3InputMode(v string) *ProcessingS3Input { 73658 s.S3InputMode = &v 73659 return s 73660 } 73661 73662 // SetS3Uri sets the S3Uri field's value. 73663 func (s *ProcessingS3Input) SetS3Uri(v string) *ProcessingS3Input { 73664 s.S3Uri = &v 73665 return s 73666 } 73667 73668 // Configuration for uploading output data to Amazon S3 from the processing 73669 // container. 73670 type ProcessingS3Output struct { 73671 _ struct{} `type:"structure"` 73672 73673 // The local path of a directory where you want Amazon SageMaker to upload its 73674 // contents to Amazon S3. LocalPath is an absolute path to a directory containing 73675 // output files. This directory will be created by the platform and exist when 73676 // your container's entrypoint is invoked. 73677 // 73678 // LocalPath is a required field 73679 LocalPath *string `type:"string" required:"true"` 73680 73681 // Whether to upload the results of the processing job continuously or after 73682 // the job completes. 73683 // 73684 // S3UploadMode is a required field 73685 S3UploadMode *string `type:"string" required:"true" enum:"ProcessingS3UploadMode"` 73686 73687 // A URI that identifies the Amazon S3 bucket where you want Amazon SageMaker 73688 // to save the results of a processing job. 73689 // 73690 // S3Uri is a required field 73691 S3Uri *string `type:"string" required:"true"` 73692 } 73693 73694 // String returns the string representation. 73695 // 73696 // API parameter values that are decorated as "sensitive" in the API will not 73697 // be included in the string output. The member name will be present, but the 73698 // value will be replaced with "sensitive". 73699 func (s ProcessingS3Output) String() string { 73700 return awsutil.Prettify(s) 73701 } 73702 73703 // GoString returns the string representation. 73704 // 73705 // API parameter values that are decorated as "sensitive" in the API will not 73706 // be included in the string output. The member name will be present, but the 73707 // value will be replaced with "sensitive". 73708 func (s ProcessingS3Output) GoString() string { 73709 return s.String() 73710 } 73711 73712 // Validate inspects the fields of the type to determine if they are valid. 73713 func (s *ProcessingS3Output) Validate() error { 73714 invalidParams := request.ErrInvalidParams{Context: "ProcessingS3Output"} 73715 if s.LocalPath == nil { 73716 invalidParams.Add(request.NewErrParamRequired("LocalPath")) 73717 } 73718 if s.S3UploadMode == nil { 73719 invalidParams.Add(request.NewErrParamRequired("S3UploadMode")) 73720 } 73721 if s.S3Uri == nil { 73722 invalidParams.Add(request.NewErrParamRequired("S3Uri")) 73723 } 73724 73725 if invalidParams.Len() > 0 { 73726 return invalidParams 73727 } 73728 return nil 73729 } 73730 73731 // SetLocalPath sets the LocalPath field's value. 73732 func (s *ProcessingS3Output) SetLocalPath(v string) *ProcessingS3Output { 73733 s.LocalPath = &v 73734 return s 73735 } 73736 73737 // SetS3UploadMode sets the S3UploadMode field's value. 73738 func (s *ProcessingS3Output) SetS3UploadMode(v string) *ProcessingS3Output { 73739 s.S3UploadMode = &v 73740 return s 73741 } 73742 73743 // SetS3Uri sets the S3Uri field's value. 73744 func (s *ProcessingS3Output) SetS3Uri(v string) *ProcessingS3Output { 73745 s.S3Uri = &v 73746 return s 73747 } 73748 73749 // Configures conditions under which the processing job should be stopped, such 73750 // as how long the processing job has been running. After the condition is met, 73751 // the processing job is stopped. 73752 type ProcessingStoppingCondition struct { 73753 _ struct{} `type:"structure"` 73754 73755 // Specifies the maximum runtime in seconds. 73756 // 73757 // MaxRuntimeInSeconds is a required field 73758 MaxRuntimeInSeconds *int64 `min:"1" type:"integer" required:"true"` 73759 } 73760 73761 // String returns the string representation. 73762 // 73763 // API parameter values that are decorated as "sensitive" in the API will not 73764 // be included in the string output. The member name will be present, but the 73765 // value will be replaced with "sensitive". 73766 func (s ProcessingStoppingCondition) String() string { 73767 return awsutil.Prettify(s) 73768 } 73769 73770 // GoString returns the string representation. 73771 // 73772 // API parameter values that are decorated as "sensitive" in the API will not 73773 // be included in the string output. The member name will be present, but the 73774 // value will be replaced with "sensitive". 73775 func (s ProcessingStoppingCondition) GoString() string { 73776 return s.String() 73777 } 73778 73779 // Validate inspects the fields of the type to determine if they are valid. 73780 func (s *ProcessingStoppingCondition) Validate() error { 73781 invalidParams := request.ErrInvalidParams{Context: "ProcessingStoppingCondition"} 73782 if s.MaxRuntimeInSeconds == nil { 73783 invalidParams.Add(request.NewErrParamRequired("MaxRuntimeInSeconds")) 73784 } 73785 if s.MaxRuntimeInSeconds != nil && *s.MaxRuntimeInSeconds < 1 { 73786 invalidParams.Add(request.NewErrParamMinValue("MaxRuntimeInSeconds", 1)) 73787 } 73788 73789 if invalidParams.Len() > 0 { 73790 return invalidParams 73791 } 73792 return nil 73793 } 73794 73795 // SetMaxRuntimeInSeconds sets the MaxRuntimeInSeconds field's value. 73796 func (s *ProcessingStoppingCondition) SetMaxRuntimeInSeconds(v int64) *ProcessingStoppingCondition { 73797 s.MaxRuntimeInSeconds = &v 73798 return s 73799 } 73800 73801 // Identifies a model that you want to host and the resources chosen to deploy 73802 // for hosting it. If you are deploying multiple models, tell Amazon SageMaker 73803 // how to distribute traffic among the models by specifying variant weights. 73804 type ProductionVariant struct { 73805 _ struct{} `type:"structure"` 73806 73807 // The size of the Elastic Inference (EI) instance to use for the production 73808 // variant. EI instances provide on-demand GPU computing for inference. For 73809 // more information, see Using Elastic Inference in Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html). 73810 AcceleratorType *string `type:"string" enum:"ProductionVariantAcceleratorType"` 73811 73812 // Specifies configuration for a core dump from the model container when the 73813 // process crashes. 73814 CoreDumpConfig *ProductionVariantCoreDumpConfig `type:"structure"` 73815 73816 // Number of instances to launch initially. 73817 // 73818 // InitialInstanceCount is a required field 73819 InitialInstanceCount *int64 `min:"1" type:"integer" required:"true"` 73820 73821 // Determines initial traffic distribution among all of the models that you 73822 // specify in the endpoint configuration. The traffic to a production variant 73823 // is determined by the ratio of the VariantWeight to the sum of all VariantWeight 73824 // values across all ProductionVariants. If unspecified, it defaults to 1.0. 73825 InitialVariantWeight *float64 `type:"float"` 73826 73827 // The ML compute instance type. 73828 // 73829 // InstanceType is a required field 73830 InstanceType *string `type:"string" required:"true" enum:"ProductionVariantInstanceType"` 73831 73832 // The name of the model that you want to host. This is the name that you specified 73833 // when creating the model. 73834 // 73835 // ModelName is a required field 73836 ModelName *string `type:"string" required:"true"` 73837 73838 // The name of the production variant. 73839 // 73840 // VariantName is a required field 73841 VariantName *string `type:"string" required:"true"` 73842 } 73843 73844 // String returns the string representation. 73845 // 73846 // API parameter values that are decorated as "sensitive" in the API will not 73847 // be included in the string output. The member name will be present, but the 73848 // value will be replaced with "sensitive". 73849 func (s ProductionVariant) String() string { 73850 return awsutil.Prettify(s) 73851 } 73852 73853 // GoString returns the string representation. 73854 // 73855 // API parameter values that are decorated as "sensitive" in the API will not 73856 // be included in the string output. The member name will be present, but the 73857 // value will be replaced with "sensitive". 73858 func (s ProductionVariant) GoString() string { 73859 return s.String() 73860 } 73861 73862 // Validate inspects the fields of the type to determine if they are valid. 73863 func (s *ProductionVariant) Validate() error { 73864 invalidParams := request.ErrInvalidParams{Context: "ProductionVariant"} 73865 if s.InitialInstanceCount == nil { 73866 invalidParams.Add(request.NewErrParamRequired("InitialInstanceCount")) 73867 } 73868 if s.InitialInstanceCount != nil && *s.InitialInstanceCount < 1 { 73869 invalidParams.Add(request.NewErrParamMinValue("InitialInstanceCount", 1)) 73870 } 73871 if s.InstanceType == nil { 73872 invalidParams.Add(request.NewErrParamRequired("InstanceType")) 73873 } 73874 if s.ModelName == nil { 73875 invalidParams.Add(request.NewErrParamRequired("ModelName")) 73876 } 73877 if s.VariantName == nil { 73878 invalidParams.Add(request.NewErrParamRequired("VariantName")) 73879 } 73880 if s.CoreDumpConfig != nil { 73881 if err := s.CoreDumpConfig.Validate(); err != nil { 73882 invalidParams.AddNested("CoreDumpConfig", err.(request.ErrInvalidParams)) 73883 } 73884 } 73885 73886 if invalidParams.Len() > 0 { 73887 return invalidParams 73888 } 73889 return nil 73890 } 73891 73892 // SetAcceleratorType sets the AcceleratorType field's value. 73893 func (s *ProductionVariant) SetAcceleratorType(v string) *ProductionVariant { 73894 s.AcceleratorType = &v 73895 return s 73896 } 73897 73898 // SetCoreDumpConfig sets the CoreDumpConfig field's value. 73899 func (s *ProductionVariant) SetCoreDumpConfig(v *ProductionVariantCoreDumpConfig) *ProductionVariant { 73900 s.CoreDumpConfig = v 73901 return s 73902 } 73903 73904 // SetInitialInstanceCount sets the InitialInstanceCount field's value. 73905 func (s *ProductionVariant) SetInitialInstanceCount(v int64) *ProductionVariant { 73906 s.InitialInstanceCount = &v 73907 return s 73908 } 73909 73910 // SetInitialVariantWeight sets the InitialVariantWeight field's value. 73911 func (s *ProductionVariant) SetInitialVariantWeight(v float64) *ProductionVariant { 73912 s.InitialVariantWeight = &v 73913 return s 73914 } 73915 73916 // SetInstanceType sets the InstanceType field's value. 73917 func (s *ProductionVariant) SetInstanceType(v string) *ProductionVariant { 73918 s.InstanceType = &v 73919 return s 73920 } 73921 73922 // SetModelName sets the ModelName field's value. 73923 func (s *ProductionVariant) SetModelName(v string) *ProductionVariant { 73924 s.ModelName = &v 73925 return s 73926 } 73927 73928 // SetVariantName sets the VariantName field's value. 73929 func (s *ProductionVariant) SetVariantName(v string) *ProductionVariant { 73930 s.VariantName = &v 73931 return s 73932 } 73933 73934 // Specifies configuration for a core dump from the model container when the 73935 // process crashes. 73936 type ProductionVariantCoreDumpConfig struct { 73937 _ struct{} `type:"structure"` 73938 73939 // The Amazon S3 bucket to send the core dump to. 73940 // 73941 // DestinationS3Uri is a required field 73942 DestinationS3Uri *string `type:"string" required:"true"` 73943 73944 // The Amazon Web Services Key Management Service (Amazon Web Services KMS) 73945 // key that Amazon SageMaker uses to encrypt the core dump data at rest using 73946 // Amazon S3 server-side encryption. The KmsKeyId can be any of the following 73947 // formats: 73948 // 73949 // * // KMS Key ID "1234abcd-12ab-34cd-56ef-1234567890ab" 73950 // 73951 // * // Amazon Resource Name (ARN) of a KMS Key "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" 73952 // 73953 // * // KMS Key Alias "alias/ExampleAlias" 73954 // 73955 // * // Amazon Resource Name (ARN) of a KMS Key Alias "arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias" 73956 // 73957 // If you use a KMS key ID or an alias of your KMS key, the Amazon SageMaker 73958 // execution role must include permissions to call kms:Encrypt. If you don't 73959 // provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon 73960 // S3 for your role's account. Amazon SageMaker uses server-side encryption 73961 // with KMS-managed keys for OutputDataConfig. If you use a bucket policy with 73962 // an s3:PutObject permission that only allows objects with server-side encryption, 73963 // set the condition key of s3:x-amz-server-side-encryption to "aws:kms". For 73964 // more information, see KMS-Managed Encryption Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html) 73965 // in the Amazon Simple Storage Service Developer Guide. 73966 // 73967 // The KMS key policy must grant permission to the IAM role that you specify 73968 // in your CreateEndpoint and UpdateEndpoint requests. For more information, 73969 // see Using Key Policies in Amazon Web Services KMS (https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html) 73970 // in the Amazon Web Services Key Management Service Developer Guide. 73971 KmsKeyId *string `type:"string"` 73972 } 73973 73974 // String returns the string representation. 73975 // 73976 // API parameter values that are decorated as "sensitive" in the API will not 73977 // be included in the string output. The member name will be present, but the 73978 // value will be replaced with "sensitive". 73979 func (s ProductionVariantCoreDumpConfig) String() string { 73980 return awsutil.Prettify(s) 73981 } 73982 73983 // GoString returns the string representation. 73984 // 73985 // API parameter values that are decorated as "sensitive" in the API will not 73986 // be included in the string output. The member name will be present, but the 73987 // value will be replaced with "sensitive". 73988 func (s ProductionVariantCoreDumpConfig) GoString() string { 73989 return s.String() 73990 } 73991 73992 // Validate inspects the fields of the type to determine if they are valid. 73993 func (s *ProductionVariantCoreDumpConfig) Validate() error { 73994 invalidParams := request.ErrInvalidParams{Context: "ProductionVariantCoreDumpConfig"} 73995 if s.DestinationS3Uri == nil { 73996 invalidParams.Add(request.NewErrParamRequired("DestinationS3Uri")) 73997 } 73998 73999 if invalidParams.Len() > 0 { 74000 return invalidParams 74001 } 74002 return nil 74003 } 74004 74005 // SetDestinationS3Uri sets the DestinationS3Uri field's value. 74006 func (s *ProductionVariantCoreDumpConfig) SetDestinationS3Uri(v string) *ProductionVariantCoreDumpConfig { 74007 s.DestinationS3Uri = &v 74008 return s 74009 } 74010 74011 // SetKmsKeyId sets the KmsKeyId field's value. 74012 func (s *ProductionVariantCoreDumpConfig) SetKmsKeyId(v string) *ProductionVariantCoreDumpConfig { 74013 s.KmsKeyId = &v 74014 return s 74015 } 74016 74017 // Describes weight and capacities for a production variant associated with 74018 // an endpoint. If you sent a request to the UpdateEndpointWeightsAndCapacities 74019 // API and the endpoint status is Updating, you get different desired and current 74020 // values. 74021 type ProductionVariantSummary struct { 74022 _ struct{} `type:"structure"` 74023 74024 // The number of instances associated with the variant. 74025 CurrentInstanceCount *int64 `type:"integer"` 74026 74027 // The weight associated with the variant. 74028 CurrentWeight *float64 `type:"float"` 74029 74030 // An array of DeployedImage objects that specify the Amazon EC2 Container Registry 74031 // paths of the inference images deployed on instances of this ProductionVariant. 74032 DeployedImages []*DeployedImage `type:"list"` 74033 74034 // The number of instances requested in the UpdateEndpointWeightsAndCapacities 74035 // request. 74036 DesiredInstanceCount *int64 `type:"integer"` 74037 74038 // The requested weight, as specified in the UpdateEndpointWeightsAndCapacities 74039 // request. 74040 DesiredWeight *float64 `type:"float"` 74041 74042 // The name of the variant. 74043 // 74044 // VariantName is a required field 74045 VariantName *string `type:"string" required:"true"` 74046 } 74047 74048 // String returns the string representation. 74049 // 74050 // API parameter values that are decorated as "sensitive" in the API will not 74051 // be included in the string output. The member name will be present, but the 74052 // value will be replaced with "sensitive". 74053 func (s ProductionVariantSummary) String() string { 74054 return awsutil.Prettify(s) 74055 } 74056 74057 // GoString returns the string representation. 74058 // 74059 // API parameter values that are decorated as "sensitive" in the API will not 74060 // be included in the string output. The member name will be present, but the 74061 // value will be replaced with "sensitive". 74062 func (s ProductionVariantSummary) GoString() string { 74063 return s.String() 74064 } 74065 74066 // SetCurrentInstanceCount sets the CurrentInstanceCount field's value. 74067 func (s *ProductionVariantSummary) SetCurrentInstanceCount(v int64) *ProductionVariantSummary { 74068 s.CurrentInstanceCount = &v 74069 return s 74070 } 74071 74072 // SetCurrentWeight sets the CurrentWeight field's value. 74073 func (s *ProductionVariantSummary) SetCurrentWeight(v float64) *ProductionVariantSummary { 74074 s.CurrentWeight = &v 74075 return s 74076 } 74077 74078 // SetDeployedImages sets the DeployedImages field's value. 74079 func (s *ProductionVariantSummary) SetDeployedImages(v []*DeployedImage) *ProductionVariantSummary { 74080 s.DeployedImages = v 74081 return s 74082 } 74083 74084 // SetDesiredInstanceCount sets the DesiredInstanceCount field's value. 74085 func (s *ProductionVariantSummary) SetDesiredInstanceCount(v int64) *ProductionVariantSummary { 74086 s.DesiredInstanceCount = &v 74087 return s 74088 } 74089 74090 // SetDesiredWeight sets the DesiredWeight field's value. 74091 func (s *ProductionVariantSummary) SetDesiredWeight(v float64) *ProductionVariantSummary { 74092 s.DesiredWeight = &v 74093 return s 74094 } 74095 74096 // SetVariantName sets the VariantName field's value. 74097 func (s *ProductionVariantSummary) SetVariantName(v string) *ProductionVariantSummary { 74098 s.VariantName = &v 74099 return s 74100 } 74101 74102 // Configuration information for Debugger system monitoring, framework profiling, 74103 // and storage paths. 74104 type ProfilerConfig struct { 74105 _ struct{} `type:"structure"` 74106 74107 // A time interval for capturing system metrics in milliseconds. Available values 74108 // are 100, 200, 500, 1000 (1 second), 5000 (5 seconds), and 60000 (1 minute) 74109 // milliseconds. The default value is 500 milliseconds. 74110 ProfilingIntervalInMilliseconds *int64 `type:"long"` 74111 74112 // Configuration information for capturing framework metrics. Available key 74113 // strings for different profiling options are DetailedProfilingConfig, PythonProfilingConfig, 74114 // and DataLoaderProfilingConfig. The following codes are configuration structures 74115 // for the ProfilingParameters parameter. To learn more about how to configure 74116 // the ProfilingParameters parameter, see Use the SageMaker and Debugger Configuration 74117 // API Operations to Create, Update, and Debug Your Training Job (https://docs.aws.amazon.com/sagemaker/latest/dg/debugger-createtrainingjob-api.html). 74118 ProfilingParameters map[string]*string `type:"map"` 74119 74120 // Path to Amazon S3 storage location for system and framework metrics. 74121 // 74122 // S3OutputPath is a required field 74123 S3OutputPath *string `type:"string" required:"true"` 74124 } 74125 74126 // String returns the string representation. 74127 // 74128 // API parameter values that are decorated as "sensitive" in the API will not 74129 // be included in the string output. The member name will be present, but the 74130 // value will be replaced with "sensitive". 74131 func (s ProfilerConfig) String() string { 74132 return awsutil.Prettify(s) 74133 } 74134 74135 // GoString returns the string representation. 74136 // 74137 // API parameter values that are decorated as "sensitive" in the API will not 74138 // be included in the string output. The member name will be present, but the 74139 // value will be replaced with "sensitive". 74140 func (s ProfilerConfig) GoString() string { 74141 return s.String() 74142 } 74143 74144 // Validate inspects the fields of the type to determine if they are valid. 74145 func (s *ProfilerConfig) Validate() error { 74146 invalidParams := request.ErrInvalidParams{Context: "ProfilerConfig"} 74147 if s.S3OutputPath == nil { 74148 invalidParams.Add(request.NewErrParamRequired("S3OutputPath")) 74149 } 74150 74151 if invalidParams.Len() > 0 { 74152 return invalidParams 74153 } 74154 return nil 74155 } 74156 74157 // SetProfilingIntervalInMilliseconds sets the ProfilingIntervalInMilliseconds field's value. 74158 func (s *ProfilerConfig) SetProfilingIntervalInMilliseconds(v int64) *ProfilerConfig { 74159 s.ProfilingIntervalInMilliseconds = &v 74160 return s 74161 } 74162 74163 // SetProfilingParameters sets the ProfilingParameters field's value. 74164 func (s *ProfilerConfig) SetProfilingParameters(v map[string]*string) *ProfilerConfig { 74165 s.ProfilingParameters = v 74166 return s 74167 } 74168 74169 // SetS3OutputPath sets the S3OutputPath field's value. 74170 func (s *ProfilerConfig) SetS3OutputPath(v string) *ProfilerConfig { 74171 s.S3OutputPath = &v 74172 return s 74173 } 74174 74175 // Configuration information for updating the Debugger profile parameters, system 74176 // and framework metrics configurations, and storage paths. 74177 type ProfilerConfigForUpdate struct { 74178 _ struct{} `type:"structure"` 74179 74180 // To disable Debugger monitoring and profiling, set to True. 74181 DisableProfiler *bool `type:"boolean"` 74182 74183 // A time interval for capturing system metrics in milliseconds. Available values 74184 // are 100, 200, 500, 1000 (1 second), 5000 (5 seconds), and 60000 (1 minute) 74185 // milliseconds. The default value is 500 milliseconds. 74186 ProfilingIntervalInMilliseconds *int64 `type:"long"` 74187 74188 // Configuration information for capturing framework metrics. Available key 74189 // strings for different profiling options are DetailedProfilingConfig, PythonProfilingConfig, 74190 // and DataLoaderProfilingConfig. The following codes are configuration structures 74191 // for the ProfilingParameters parameter. To learn more about how to configure 74192 // the ProfilingParameters parameter, see Use the SageMaker and Debugger Configuration 74193 // API Operations to Create, Update, and Debug Your Training Job (https://docs.aws.amazon.com/sagemaker/latest/dg/debugger-createtrainingjob-api.html). 74194 ProfilingParameters map[string]*string `type:"map"` 74195 74196 // Path to Amazon S3 storage location for system and framework metrics. 74197 S3OutputPath *string `type:"string"` 74198 } 74199 74200 // String returns the string representation. 74201 // 74202 // API parameter values that are decorated as "sensitive" in the API will not 74203 // be included in the string output. The member name will be present, but the 74204 // value will be replaced with "sensitive". 74205 func (s ProfilerConfigForUpdate) String() string { 74206 return awsutil.Prettify(s) 74207 } 74208 74209 // GoString returns the string representation. 74210 // 74211 // API parameter values that are decorated as "sensitive" in the API will not 74212 // be included in the string output. The member name will be present, but the 74213 // value will be replaced with "sensitive". 74214 func (s ProfilerConfigForUpdate) GoString() string { 74215 return s.String() 74216 } 74217 74218 // SetDisableProfiler sets the DisableProfiler field's value. 74219 func (s *ProfilerConfigForUpdate) SetDisableProfiler(v bool) *ProfilerConfigForUpdate { 74220 s.DisableProfiler = &v 74221 return s 74222 } 74223 74224 // SetProfilingIntervalInMilliseconds sets the ProfilingIntervalInMilliseconds field's value. 74225 func (s *ProfilerConfigForUpdate) SetProfilingIntervalInMilliseconds(v int64) *ProfilerConfigForUpdate { 74226 s.ProfilingIntervalInMilliseconds = &v 74227 return s 74228 } 74229 74230 // SetProfilingParameters sets the ProfilingParameters field's value. 74231 func (s *ProfilerConfigForUpdate) SetProfilingParameters(v map[string]*string) *ProfilerConfigForUpdate { 74232 s.ProfilingParameters = v 74233 return s 74234 } 74235 74236 // SetS3OutputPath sets the S3OutputPath field's value. 74237 func (s *ProfilerConfigForUpdate) SetS3OutputPath(v string) *ProfilerConfigForUpdate { 74238 s.S3OutputPath = &v 74239 return s 74240 } 74241 74242 // Configuration information for profiling rules. 74243 type ProfilerRuleConfiguration struct { 74244 _ struct{} `type:"structure"` 74245 74246 // The instance type to deploy a Debugger custom rule for profiling a training 74247 // job. 74248 InstanceType *string `type:"string" enum:"ProcessingInstanceType"` 74249 74250 // Path to local storage location for output of rules. Defaults to /opt/ml/processing/output/rule/. 74251 LocalPath *string `type:"string"` 74252 74253 // The name of the rule configuration. It must be unique relative to other rule 74254 // configuration names. 74255 // 74256 // RuleConfigurationName is a required field 74257 RuleConfigurationName *string `min:"1" type:"string" required:"true"` 74258 74259 // The Amazon Elastic Container (ECR) Image for the managed rule evaluation. 74260 // 74261 // RuleEvaluatorImage is a required field 74262 RuleEvaluatorImage *string `type:"string" required:"true"` 74263 74264 // Runtime configuration for rule container. 74265 RuleParameters map[string]*string `type:"map"` 74266 74267 // Path to Amazon S3 storage location for rules. 74268 S3OutputPath *string `type:"string"` 74269 74270 // The size, in GB, of the ML storage volume attached to the processing instance. 74271 VolumeSizeInGB *int64 `type:"integer"` 74272 } 74273 74274 // String returns the string representation. 74275 // 74276 // API parameter values that are decorated as "sensitive" in the API will not 74277 // be included in the string output. The member name will be present, but the 74278 // value will be replaced with "sensitive". 74279 func (s ProfilerRuleConfiguration) String() string { 74280 return awsutil.Prettify(s) 74281 } 74282 74283 // GoString returns the string representation. 74284 // 74285 // API parameter values that are decorated as "sensitive" in the API will not 74286 // be included in the string output. The member name will be present, but the 74287 // value will be replaced with "sensitive". 74288 func (s ProfilerRuleConfiguration) GoString() string { 74289 return s.String() 74290 } 74291 74292 // Validate inspects the fields of the type to determine if they are valid. 74293 func (s *ProfilerRuleConfiguration) Validate() error { 74294 invalidParams := request.ErrInvalidParams{Context: "ProfilerRuleConfiguration"} 74295 if s.RuleConfigurationName == nil { 74296 invalidParams.Add(request.NewErrParamRequired("RuleConfigurationName")) 74297 } 74298 if s.RuleConfigurationName != nil && len(*s.RuleConfigurationName) < 1 { 74299 invalidParams.Add(request.NewErrParamMinLen("RuleConfigurationName", 1)) 74300 } 74301 if s.RuleEvaluatorImage == nil { 74302 invalidParams.Add(request.NewErrParamRequired("RuleEvaluatorImage")) 74303 } 74304 74305 if invalidParams.Len() > 0 { 74306 return invalidParams 74307 } 74308 return nil 74309 } 74310 74311 // SetInstanceType sets the InstanceType field's value. 74312 func (s *ProfilerRuleConfiguration) SetInstanceType(v string) *ProfilerRuleConfiguration { 74313 s.InstanceType = &v 74314 return s 74315 } 74316 74317 // SetLocalPath sets the LocalPath field's value. 74318 func (s *ProfilerRuleConfiguration) SetLocalPath(v string) *ProfilerRuleConfiguration { 74319 s.LocalPath = &v 74320 return s 74321 } 74322 74323 // SetRuleConfigurationName sets the RuleConfigurationName field's value. 74324 func (s *ProfilerRuleConfiguration) SetRuleConfigurationName(v string) *ProfilerRuleConfiguration { 74325 s.RuleConfigurationName = &v 74326 return s 74327 } 74328 74329 // SetRuleEvaluatorImage sets the RuleEvaluatorImage field's value. 74330 func (s *ProfilerRuleConfiguration) SetRuleEvaluatorImage(v string) *ProfilerRuleConfiguration { 74331 s.RuleEvaluatorImage = &v 74332 return s 74333 } 74334 74335 // SetRuleParameters sets the RuleParameters field's value. 74336 func (s *ProfilerRuleConfiguration) SetRuleParameters(v map[string]*string) *ProfilerRuleConfiguration { 74337 s.RuleParameters = v 74338 return s 74339 } 74340 74341 // SetS3OutputPath sets the S3OutputPath field's value. 74342 func (s *ProfilerRuleConfiguration) SetS3OutputPath(v string) *ProfilerRuleConfiguration { 74343 s.S3OutputPath = &v 74344 return s 74345 } 74346 74347 // SetVolumeSizeInGB sets the VolumeSizeInGB field's value. 74348 func (s *ProfilerRuleConfiguration) SetVolumeSizeInGB(v int64) *ProfilerRuleConfiguration { 74349 s.VolumeSizeInGB = &v 74350 return s 74351 } 74352 74353 // Information about the status of the rule evaluation. 74354 type ProfilerRuleEvaluationStatus struct { 74355 _ struct{} `type:"structure"` 74356 74357 // Timestamp when the rule evaluation status was last modified. 74358 LastModifiedTime *time.Time `type:"timestamp"` 74359 74360 // The name of the rule configuration. 74361 RuleConfigurationName *string `min:"1" type:"string"` 74362 74363 // The Amazon Resource Name (ARN) of the rule evaluation job. 74364 RuleEvaluationJobArn *string `type:"string"` 74365 74366 // Status of the rule evaluation. 74367 RuleEvaluationStatus *string `type:"string" enum:"RuleEvaluationStatus"` 74368 74369 // Details from the rule evaluation. 74370 StatusDetails *string `type:"string"` 74371 } 74372 74373 // String returns the string representation. 74374 // 74375 // API parameter values that are decorated as "sensitive" in the API will not 74376 // be included in the string output. The member name will be present, but the 74377 // value will be replaced with "sensitive". 74378 func (s ProfilerRuleEvaluationStatus) String() string { 74379 return awsutil.Prettify(s) 74380 } 74381 74382 // GoString returns the string representation. 74383 // 74384 // API parameter values that are decorated as "sensitive" in the API will not 74385 // be included in the string output. The member name will be present, but the 74386 // value will be replaced with "sensitive". 74387 func (s ProfilerRuleEvaluationStatus) GoString() string { 74388 return s.String() 74389 } 74390 74391 // SetLastModifiedTime sets the LastModifiedTime field's value. 74392 func (s *ProfilerRuleEvaluationStatus) SetLastModifiedTime(v time.Time) *ProfilerRuleEvaluationStatus { 74393 s.LastModifiedTime = &v 74394 return s 74395 } 74396 74397 // SetRuleConfigurationName sets the RuleConfigurationName field's value. 74398 func (s *ProfilerRuleEvaluationStatus) SetRuleConfigurationName(v string) *ProfilerRuleEvaluationStatus { 74399 s.RuleConfigurationName = &v 74400 return s 74401 } 74402 74403 // SetRuleEvaluationJobArn sets the RuleEvaluationJobArn field's value. 74404 func (s *ProfilerRuleEvaluationStatus) SetRuleEvaluationJobArn(v string) *ProfilerRuleEvaluationStatus { 74405 s.RuleEvaluationJobArn = &v 74406 return s 74407 } 74408 74409 // SetRuleEvaluationStatus sets the RuleEvaluationStatus field's value. 74410 func (s *ProfilerRuleEvaluationStatus) SetRuleEvaluationStatus(v string) *ProfilerRuleEvaluationStatus { 74411 s.RuleEvaluationStatus = &v 74412 return s 74413 } 74414 74415 // SetStatusDetails sets the StatusDetails field's value. 74416 func (s *ProfilerRuleEvaluationStatus) SetStatusDetails(v string) *ProfilerRuleEvaluationStatus { 74417 s.StatusDetails = &v 74418 return s 74419 } 74420 74421 // The properties of a project as returned by the Search API. 74422 type Project struct { 74423 _ struct{} `type:"structure"` 74424 74425 // Who created the project. 74426 CreatedBy *UserContext `type:"structure"` 74427 74428 // A timestamp specifying when the project was created. 74429 CreationTime *time.Time `type:"timestamp"` 74430 74431 // The Amazon Resource Name (ARN) of the project. 74432 ProjectArn *string `min:"1" type:"string"` 74433 74434 // The description of the project. 74435 ProjectDescription *string `type:"string"` 74436 74437 // The ID of the project. 74438 ProjectId *string `min:"1" type:"string"` 74439 74440 // The name of the project. 74441 ProjectName *string `min:"1" type:"string"` 74442 74443 // The status of the project. 74444 ProjectStatus *string `type:"string" enum:"ProjectStatus"` 74445 74446 // Details of a provisioned service catalog product. For information about service 74447 // catalog, see What is Amazon Web Services Service Catalog (https://docs.aws.amazon.com/servicecatalog/latest/adminguide/introduction.html). 74448 ServiceCatalogProvisionedProductDetails *ServiceCatalogProvisionedProductDetails `type:"structure"` 74449 74450 // Details that you specify to provision a service catalog product. For information 74451 // about service catalog, see What is Amazon Web Services Service Catalog (https://docs.aws.amazon.com/servicecatalog/latest/adminguide/introduction.html). 74452 ServiceCatalogProvisioningDetails *ServiceCatalogProvisioningDetails `type:"structure"` 74453 74454 // An array of key-value pairs. You can use tags to categorize your Amazon Web 74455 // Services resources in different ways, for example, by purpose, owner, or 74456 // environment. For more information, see Tagging Amazon Web Services Resources 74457 // (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html). 74458 Tags []*Tag `type:"list"` 74459 } 74460 74461 // String returns the string representation. 74462 // 74463 // API parameter values that are decorated as "sensitive" in the API will not 74464 // be included in the string output. The member name will be present, but the 74465 // value will be replaced with "sensitive". 74466 func (s Project) String() string { 74467 return awsutil.Prettify(s) 74468 } 74469 74470 // GoString returns the string representation. 74471 // 74472 // API parameter values that are decorated as "sensitive" in the API will not 74473 // be included in the string output. The member name will be present, but the 74474 // value will be replaced with "sensitive". 74475 func (s Project) GoString() string { 74476 return s.String() 74477 } 74478 74479 // SetCreatedBy sets the CreatedBy field's value. 74480 func (s *Project) SetCreatedBy(v *UserContext) *Project { 74481 s.CreatedBy = v 74482 return s 74483 } 74484 74485 // SetCreationTime sets the CreationTime field's value. 74486 func (s *Project) SetCreationTime(v time.Time) *Project { 74487 s.CreationTime = &v 74488 return s 74489 } 74490 74491 // SetProjectArn sets the ProjectArn field's value. 74492 func (s *Project) SetProjectArn(v string) *Project { 74493 s.ProjectArn = &v 74494 return s 74495 } 74496 74497 // SetProjectDescription sets the ProjectDescription field's value. 74498 func (s *Project) SetProjectDescription(v string) *Project { 74499 s.ProjectDescription = &v 74500 return s 74501 } 74502 74503 // SetProjectId sets the ProjectId field's value. 74504 func (s *Project) SetProjectId(v string) *Project { 74505 s.ProjectId = &v 74506 return s 74507 } 74508 74509 // SetProjectName sets the ProjectName field's value. 74510 func (s *Project) SetProjectName(v string) *Project { 74511 s.ProjectName = &v 74512 return s 74513 } 74514 74515 // SetProjectStatus sets the ProjectStatus field's value. 74516 func (s *Project) SetProjectStatus(v string) *Project { 74517 s.ProjectStatus = &v 74518 return s 74519 } 74520 74521 // SetServiceCatalogProvisionedProductDetails sets the ServiceCatalogProvisionedProductDetails field's value. 74522 func (s *Project) SetServiceCatalogProvisionedProductDetails(v *ServiceCatalogProvisionedProductDetails) *Project { 74523 s.ServiceCatalogProvisionedProductDetails = v 74524 return s 74525 } 74526 74527 // SetServiceCatalogProvisioningDetails sets the ServiceCatalogProvisioningDetails field's value. 74528 func (s *Project) SetServiceCatalogProvisioningDetails(v *ServiceCatalogProvisioningDetails) *Project { 74529 s.ServiceCatalogProvisioningDetails = v 74530 return s 74531 } 74532 74533 // SetTags sets the Tags field's value. 74534 func (s *Project) SetTags(v []*Tag) *Project { 74535 s.Tags = v 74536 return s 74537 } 74538 74539 // Information about a project. 74540 type ProjectSummary struct { 74541 _ struct{} `type:"structure"` 74542 74543 // The time that the project was created. 74544 // 74545 // CreationTime is a required field 74546 CreationTime *time.Time `type:"timestamp" required:"true"` 74547 74548 // The Amazon Resource Name (ARN) of the project. 74549 // 74550 // ProjectArn is a required field 74551 ProjectArn *string `min:"1" type:"string" required:"true"` 74552 74553 // The description of the project. 74554 ProjectDescription *string `type:"string"` 74555 74556 // The ID of the project. 74557 // 74558 // ProjectId is a required field 74559 ProjectId *string `min:"1" type:"string" required:"true"` 74560 74561 // The name of the project. 74562 // 74563 // ProjectName is a required field 74564 ProjectName *string `min:"1" type:"string" required:"true"` 74565 74566 // The status of the project. 74567 // 74568 // ProjectStatus is a required field 74569 ProjectStatus *string `type:"string" required:"true" enum:"ProjectStatus"` 74570 } 74571 74572 // String returns the string representation. 74573 // 74574 // API parameter values that are decorated as "sensitive" in the API will not 74575 // be included in the string output. The member name will be present, but the 74576 // value will be replaced with "sensitive". 74577 func (s ProjectSummary) String() string { 74578 return awsutil.Prettify(s) 74579 } 74580 74581 // GoString returns the string representation. 74582 // 74583 // API parameter values that are decorated as "sensitive" in the API will not 74584 // be included in the string output. The member name will be present, but the 74585 // value will be replaced with "sensitive". 74586 func (s ProjectSummary) GoString() string { 74587 return s.String() 74588 } 74589 74590 // SetCreationTime sets the CreationTime field's value. 74591 func (s *ProjectSummary) SetCreationTime(v time.Time) *ProjectSummary { 74592 s.CreationTime = &v 74593 return s 74594 } 74595 74596 // SetProjectArn sets the ProjectArn field's value. 74597 func (s *ProjectSummary) SetProjectArn(v string) *ProjectSummary { 74598 s.ProjectArn = &v 74599 return s 74600 } 74601 74602 // SetProjectDescription sets the ProjectDescription field's value. 74603 func (s *ProjectSummary) SetProjectDescription(v string) *ProjectSummary { 74604 s.ProjectDescription = &v 74605 return s 74606 } 74607 74608 // SetProjectId sets the ProjectId field's value. 74609 func (s *ProjectSummary) SetProjectId(v string) *ProjectSummary { 74610 s.ProjectId = &v 74611 return s 74612 } 74613 74614 // SetProjectName sets the ProjectName field's value. 74615 func (s *ProjectSummary) SetProjectName(v string) *ProjectSummary { 74616 s.ProjectName = &v 74617 return s 74618 } 74619 74620 // SetProjectStatus sets the ProjectStatus field's value. 74621 func (s *ProjectSummary) SetProjectStatus(v string) *ProjectSummary { 74622 s.ProjectStatus = &v 74623 return s 74624 } 74625 74626 // Part of the SuggestionQuery type. Specifies a hint for retrieving property 74627 // names that begin with the specified text. 74628 type PropertyNameQuery struct { 74629 _ struct{} `type:"structure"` 74630 74631 // Text that begins a property's name. 74632 // 74633 // PropertyNameHint is a required field 74634 PropertyNameHint *string `type:"string" required:"true"` 74635 } 74636 74637 // String returns the string representation. 74638 // 74639 // API parameter values that are decorated as "sensitive" in the API will not 74640 // be included in the string output. The member name will be present, but the 74641 // value will be replaced with "sensitive". 74642 func (s PropertyNameQuery) String() string { 74643 return awsutil.Prettify(s) 74644 } 74645 74646 // GoString returns the string representation. 74647 // 74648 // API parameter values that are decorated as "sensitive" in the API will not 74649 // be included in the string output. The member name will be present, but the 74650 // value will be replaced with "sensitive". 74651 func (s PropertyNameQuery) GoString() string { 74652 return s.String() 74653 } 74654 74655 // Validate inspects the fields of the type to determine if they are valid. 74656 func (s *PropertyNameQuery) Validate() error { 74657 invalidParams := request.ErrInvalidParams{Context: "PropertyNameQuery"} 74658 if s.PropertyNameHint == nil { 74659 invalidParams.Add(request.NewErrParamRequired("PropertyNameHint")) 74660 } 74661 74662 if invalidParams.Len() > 0 { 74663 return invalidParams 74664 } 74665 return nil 74666 } 74667 74668 // SetPropertyNameHint sets the PropertyNameHint field's value. 74669 func (s *PropertyNameQuery) SetPropertyNameHint(v string) *PropertyNameQuery { 74670 s.PropertyNameHint = &v 74671 return s 74672 } 74673 74674 // A property name returned from a GetSearchSuggestions call that specifies 74675 // a value in the PropertyNameQuery field. 74676 type PropertyNameSuggestion struct { 74677 _ struct{} `type:"structure"` 74678 74679 // A suggested property name based on what you entered in the search textbox 74680 // in the Amazon SageMaker console. 74681 PropertyName *string `min:"1" type:"string"` 74682 } 74683 74684 // String returns the string representation. 74685 // 74686 // API parameter values that are decorated as "sensitive" in the API will not 74687 // be included in the string output. The member name will be present, but the 74688 // value will be replaced with "sensitive". 74689 func (s PropertyNameSuggestion) String() string { 74690 return awsutil.Prettify(s) 74691 } 74692 74693 // GoString returns the string representation. 74694 // 74695 // API parameter values that are decorated as "sensitive" in the API will not 74696 // be included in the string output. The member name will be present, but the 74697 // value will be replaced with "sensitive". 74698 func (s PropertyNameSuggestion) GoString() string { 74699 return s.String() 74700 } 74701 74702 // SetPropertyName sets the PropertyName field's value. 74703 func (s *PropertyNameSuggestion) SetPropertyName(v string) *PropertyNameSuggestion { 74704 s.PropertyName = &v 74705 return s 74706 } 74707 74708 // A key value pair used when you provision a project as a service catalog product. 74709 // For information, see What is Amazon Web Services Service Catalog (https://docs.aws.amazon.com/servicecatalog/latest/adminguide/introduction.html). 74710 type ProvisioningParameter struct { 74711 _ struct{} `type:"structure"` 74712 74713 // The key that identifies a provisioning parameter. 74714 Key *string `min:"1" type:"string"` 74715 74716 // The value of the provisioning parameter. 74717 Value *string `type:"string"` 74718 } 74719 74720 // String returns the string representation. 74721 // 74722 // API parameter values that are decorated as "sensitive" in the API will not 74723 // be included in the string output. The member name will be present, but the 74724 // value will be replaced with "sensitive". 74725 func (s ProvisioningParameter) String() string { 74726 return awsutil.Prettify(s) 74727 } 74728 74729 // GoString returns the string representation. 74730 // 74731 // API parameter values that are decorated as "sensitive" in the API will not 74732 // be included in the string output. The member name will be present, but the 74733 // value will be replaced with "sensitive". 74734 func (s ProvisioningParameter) GoString() string { 74735 return s.String() 74736 } 74737 74738 // Validate inspects the fields of the type to determine if they are valid. 74739 func (s *ProvisioningParameter) Validate() error { 74740 invalidParams := request.ErrInvalidParams{Context: "ProvisioningParameter"} 74741 if s.Key != nil && len(*s.Key) < 1 { 74742 invalidParams.Add(request.NewErrParamMinLen("Key", 1)) 74743 } 74744 74745 if invalidParams.Len() > 0 { 74746 return invalidParams 74747 } 74748 return nil 74749 } 74750 74751 // SetKey sets the Key field's value. 74752 func (s *ProvisioningParameter) SetKey(v string) *ProvisioningParameter { 74753 s.Key = &v 74754 return s 74755 } 74756 74757 // SetValue sets the Value field's value. 74758 func (s *ProvisioningParameter) SetValue(v string) *ProvisioningParameter { 74759 s.Value = &v 74760 return s 74761 } 74762 74763 // Defines the amount of money paid to an Amazon Mechanical Turk worker for 74764 // each task performed. 74765 // 74766 // Use one of the following prices for bounding box tasks. Prices are in US 74767 // dollars and should be based on the complexity of the task; the longer it 74768 // takes in your initial testing, the more you should offer. 74769 // 74770 // * 0.036 74771 // 74772 // * 0.048 74773 // 74774 // * 0.060 74775 // 74776 // * 0.072 74777 // 74778 // * 0.120 74779 // 74780 // * 0.240 74781 // 74782 // * 0.360 74783 // 74784 // * 0.480 74785 // 74786 // * 0.600 74787 // 74788 // * 0.720 74789 // 74790 // * 0.840 74791 // 74792 // * 0.960 74793 // 74794 // * 1.080 74795 // 74796 // * 1.200 74797 // 74798 // Use one of the following prices for image classification, text classification, 74799 // and custom tasks. Prices are in US dollars. 74800 // 74801 // * 0.012 74802 // 74803 // * 0.024 74804 // 74805 // * 0.036 74806 // 74807 // * 0.048 74808 // 74809 // * 0.060 74810 // 74811 // * 0.072 74812 // 74813 // * 0.120 74814 // 74815 // * 0.240 74816 // 74817 // * 0.360 74818 // 74819 // * 0.480 74820 // 74821 // * 0.600 74822 // 74823 // * 0.720 74824 // 74825 // * 0.840 74826 // 74827 // * 0.960 74828 // 74829 // * 1.080 74830 // 74831 // * 1.200 74832 // 74833 // Use one of the following prices for semantic segmentation tasks. Prices are 74834 // in US dollars. 74835 // 74836 // * 0.840 74837 // 74838 // * 0.960 74839 // 74840 // * 1.080 74841 // 74842 // * 1.200 74843 // 74844 // Use one of the following prices for Textract AnalyzeDocument Important Form 74845 // Key Amazon Augmented AI review tasks. Prices are in US dollars. 74846 // 74847 // * 2.400 74848 // 74849 // * 2.280 74850 // 74851 // * 2.160 74852 // 74853 // * 2.040 74854 // 74855 // * 1.920 74856 // 74857 // * 1.800 74858 // 74859 // * 1.680 74860 // 74861 // * 1.560 74862 // 74863 // * 1.440 74864 // 74865 // * 1.320 74866 // 74867 // * 1.200 74868 // 74869 // * 1.080 74870 // 74871 // * 0.960 74872 // 74873 // * 0.840 74874 // 74875 // * 0.720 74876 // 74877 // * 0.600 74878 // 74879 // * 0.480 74880 // 74881 // * 0.360 74882 // 74883 // * 0.240 74884 // 74885 // * 0.120 74886 // 74887 // * 0.072 74888 // 74889 // * 0.060 74890 // 74891 // * 0.048 74892 // 74893 // * 0.036 74894 // 74895 // * 0.024 74896 // 74897 // * 0.012 74898 // 74899 // Use one of the following prices for Rekognition DetectModerationLabels Amazon 74900 // Augmented AI review tasks. Prices are in US dollars. 74901 // 74902 // * 1.200 74903 // 74904 // * 1.080 74905 // 74906 // * 0.960 74907 // 74908 // * 0.840 74909 // 74910 // * 0.720 74911 // 74912 // * 0.600 74913 // 74914 // * 0.480 74915 // 74916 // * 0.360 74917 // 74918 // * 0.240 74919 // 74920 // * 0.120 74921 // 74922 // * 0.072 74923 // 74924 // * 0.060 74925 // 74926 // * 0.048 74927 // 74928 // * 0.036 74929 // 74930 // * 0.024 74931 // 74932 // * 0.012 74933 // 74934 // Use one of the following prices for Amazon Augmented AI custom human review 74935 // tasks. Prices are in US dollars. 74936 // 74937 // * 1.200 74938 // 74939 // * 1.080 74940 // 74941 // * 0.960 74942 // 74943 // * 0.840 74944 // 74945 // * 0.720 74946 // 74947 // * 0.600 74948 // 74949 // * 0.480 74950 // 74951 // * 0.360 74952 // 74953 // * 0.240 74954 // 74955 // * 0.120 74956 // 74957 // * 0.072 74958 // 74959 // * 0.060 74960 // 74961 // * 0.048 74962 // 74963 // * 0.036 74964 // 74965 // * 0.024 74966 // 74967 // * 0.012 74968 type PublicWorkforceTaskPrice struct { 74969 _ struct{} `type:"structure"` 74970 74971 // Defines the amount of money paid to an Amazon Mechanical Turk worker in United 74972 // States dollars. 74973 AmountInUsd *USD `type:"structure"` 74974 } 74975 74976 // String returns the string representation. 74977 // 74978 // API parameter values that are decorated as "sensitive" in the API will not 74979 // be included in the string output. The member name will be present, but the 74980 // value will be replaced with "sensitive". 74981 func (s PublicWorkforceTaskPrice) String() string { 74982 return awsutil.Prettify(s) 74983 } 74984 74985 // GoString returns the string representation. 74986 // 74987 // API parameter values that are decorated as "sensitive" in the API will not 74988 // be included in the string output. The member name will be present, but the 74989 // value will be replaced with "sensitive". 74990 func (s PublicWorkforceTaskPrice) GoString() string { 74991 return s.String() 74992 } 74993 74994 // SetAmountInUsd sets the AmountInUsd field's value. 74995 func (s *PublicWorkforceTaskPrice) SetAmountInUsd(v *USD) *PublicWorkforceTaskPrice { 74996 s.AmountInUsd = v 74997 return s 74998 } 74999 75000 type PutModelPackageGroupPolicyInput struct { 75001 _ struct{} `type:"structure"` 75002 75003 // The name of the model group to add a resource policy to. 75004 // 75005 // ModelPackageGroupName is a required field 75006 ModelPackageGroupName *string `min:"1" type:"string" required:"true"` 75007 75008 // The resource policy for the model group. 75009 // 75010 // ResourcePolicy is a required field 75011 ResourcePolicy *string `min:"1" type:"string" required:"true"` 75012 } 75013 75014 // String returns the string representation. 75015 // 75016 // API parameter values that are decorated as "sensitive" in the API will not 75017 // be included in the string output. The member name will be present, but the 75018 // value will be replaced with "sensitive". 75019 func (s PutModelPackageGroupPolicyInput) String() string { 75020 return awsutil.Prettify(s) 75021 } 75022 75023 // GoString returns the string representation. 75024 // 75025 // API parameter values that are decorated as "sensitive" in the API will not 75026 // be included in the string output. The member name will be present, but the 75027 // value will be replaced with "sensitive". 75028 func (s PutModelPackageGroupPolicyInput) GoString() string { 75029 return s.String() 75030 } 75031 75032 // Validate inspects the fields of the type to determine if they are valid. 75033 func (s *PutModelPackageGroupPolicyInput) Validate() error { 75034 invalidParams := request.ErrInvalidParams{Context: "PutModelPackageGroupPolicyInput"} 75035 if s.ModelPackageGroupName == nil { 75036 invalidParams.Add(request.NewErrParamRequired("ModelPackageGroupName")) 75037 } 75038 if s.ModelPackageGroupName != nil && len(*s.ModelPackageGroupName) < 1 { 75039 invalidParams.Add(request.NewErrParamMinLen("ModelPackageGroupName", 1)) 75040 } 75041 if s.ResourcePolicy == nil { 75042 invalidParams.Add(request.NewErrParamRequired("ResourcePolicy")) 75043 } 75044 if s.ResourcePolicy != nil && len(*s.ResourcePolicy) < 1 { 75045 invalidParams.Add(request.NewErrParamMinLen("ResourcePolicy", 1)) 75046 } 75047 75048 if invalidParams.Len() > 0 { 75049 return invalidParams 75050 } 75051 return nil 75052 } 75053 75054 // SetModelPackageGroupName sets the ModelPackageGroupName field's value. 75055 func (s *PutModelPackageGroupPolicyInput) SetModelPackageGroupName(v string) *PutModelPackageGroupPolicyInput { 75056 s.ModelPackageGroupName = &v 75057 return s 75058 } 75059 75060 // SetResourcePolicy sets the ResourcePolicy field's value. 75061 func (s *PutModelPackageGroupPolicyInput) SetResourcePolicy(v string) *PutModelPackageGroupPolicyInput { 75062 s.ResourcePolicy = &v 75063 return s 75064 } 75065 75066 type PutModelPackageGroupPolicyOutput struct { 75067 _ struct{} `type:"structure"` 75068 75069 // The Amazon Resource Name (ARN) of the model package group. 75070 // 75071 // ModelPackageGroupArn is a required field 75072 ModelPackageGroupArn *string `min:"1" type:"string" required:"true"` 75073 } 75074 75075 // String returns the string representation. 75076 // 75077 // API parameter values that are decorated as "sensitive" in the API will not 75078 // be included in the string output. The member name will be present, but the 75079 // value will be replaced with "sensitive". 75080 func (s PutModelPackageGroupPolicyOutput) String() string { 75081 return awsutil.Prettify(s) 75082 } 75083 75084 // GoString returns the string representation. 75085 // 75086 // API parameter values that are decorated as "sensitive" in the API will not 75087 // be included in the string output. The member name will be present, but the 75088 // value will be replaced with "sensitive". 75089 func (s PutModelPackageGroupPolicyOutput) GoString() string { 75090 return s.String() 75091 } 75092 75093 // SetModelPackageGroupArn sets the ModelPackageGroupArn field's value. 75094 func (s *PutModelPackageGroupPolicyOutput) SetModelPackageGroupArn(v string) *PutModelPackageGroupPolicyOutput { 75095 s.ModelPackageGroupArn = &v 75096 return s 75097 } 75098 75099 // Configuration for Redshift Dataset Definition input. 75100 type RedshiftDatasetDefinition struct { 75101 _ struct{} `type:"structure"` 75102 75103 // The Redshift cluster Identifier. 75104 // 75105 // ClusterId is a required field 75106 ClusterId *string `min:"1" type:"string" required:"true"` 75107 75108 // The IAM role attached to your Redshift cluster that Amazon SageMaker uses 75109 // to generate datasets. 75110 // 75111 // ClusterRoleArn is a required field 75112 ClusterRoleArn *string `min:"20" type:"string" required:"true"` 75113 75114 // The name of the Redshift database used in Redshift query execution. 75115 // 75116 // Database is a required field 75117 Database *string `min:"1" type:"string" required:"true"` 75118 75119 // The database user name used in Redshift query execution. 75120 // 75121 // DbUser is a required field 75122 DbUser *string `min:"1" type:"string" required:"true"` 75123 75124 // The Amazon Web Services Key Management Service (Amazon Web Services KMS) 75125 // key that Amazon SageMaker uses to encrypt data from a Redshift execution. 75126 KmsKeyId *string `type:"string"` 75127 75128 // The compression used for Redshift query results. 75129 OutputCompression *string `type:"string" enum:"RedshiftResultCompressionType"` 75130 75131 // The data storage format for Redshift query results. 75132 // 75133 // OutputFormat is a required field 75134 OutputFormat *string `type:"string" required:"true" enum:"RedshiftResultFormat"` 75135 75136 // The location in Amazon S3 where the Redshift query results are stored. 75137 // 75138 // OutputS3Uri is a required field 75139 OutputS3Uri *string `type:"string" required:"true"` 75140 75141 // The SQL query statements to be executed. 75142 // 75143 // QueryString is a required field 75144 QueryString *string `min:"1" type:"string" required:"true"` 75145 } 75146 75147 // String returns the string representation. 75148 // 75149 // API parameter values that are decorated as "sensitive" in the API will not 75150 // be included in the string output. The member name will be present, but the 75151 // value will be replaced with "sensitive". 75152 func (s RedshiftDatasetDefinition) String() string { 75153 return awsutil.Prettify(s) 75154 } 75155 75156 // GoString returns the string representation. 75157 // 75158 // API parameter values that are decorated as "sensitive" in the API will not 75159 // be included in the string output. The member name will be present, but the 75160 // value will be replaced with "sensitive". 75161 func (s RedshiftDatasetDefinition) GoString() string { 75162 return s.String() 75163 } 75164 75165 // Validate inspects the fields of the type to determine if they are valid. 75166 func (s *RedshiftDatasetDefinition) Validate() error { 75167 invalidParams := request.ErrInvalidParams{Context: "RedshiftDatasetDefinition"} 75168 if s.ClusterId == nil { 75169 invalidParams.Add(request.NewErrParamRequired("ClusterId")) 75170 } 75171 if s.ClusterId != nil && len(*s.ClusterId) < 1 { 75172 invalidParams.Add(request.NewErrParamMinLen("ClusterId", 1)) 75173 } 75174 if s.ClusterRoleArn == nil { 75175 invalidParams.Add(request.NewErrParamRequired("ClusterRoleArn")) 75176 } 75177 if s.ClusterRoleArn != nil && len(*s.ClusterRoleArn) < 20 { 75178 invalidParams.Add(request.NewErrParamMinLen("ClusterRoleArn", 20)) 75179 } 75180 if s.Database == nil { 75181 invalidParams.Add(request.NewErrParamRequired("Database")) 75182 } 75183 if s.Database != nil && len(*s.Database) < 1 { 75184 invalidParams.Add(request.NewErrParamMinLen("Database", 1)) 75185 } 75186 if s.DbUser == nil { 75187 invalidParams.Add(request.NewErrParamRequired("DbUser")) 75188 } 75189 if s.DbUser != nil && len(*s.DbUser) < 1 { 75190 invalidParams.Add(request.NewErrParamMinLen("DbUser", 1)) 75191 } 75192 if s.OutputFormat == nil { 75193 invalidParams.Add(request.NewErrParamRequired("OutputFormat")) 75194 } 75195 if s.OutputS3Uri == nil { 75196 invalidParams.Add(request.NewErrParamRequired("OutputS3Uri")) 75197 } 75198 if s.QueryString == nil { 75199 invalidParams.Add(request.NewErrParamRequired("QueryString")) 75200 } 75201 if s.QueryString != nil && len(*s.QueryString) < 1 { 75202 invalidParams.Add(request.NewErrParamMinLen("QueryString", 1)) 75203 } 75204 75205 if invalidParams.Len() > 0 { 75206 return invalidParams 75207 } 75208 return nil 75209 } 75210 75211 // SetClusterId sets the ClusterId field's value. 75212 func (s *RedshiftDatasetDefinition) SetClusterId(v string) *RedshiftDatasetDefinition { 75213 s.ClusterId = &v 75214 return s 75215 } 75216 75217 // SetClusterRoleArn sets the ClusterRoleArn field's value. 75218 func (s *RedshiftDatasetDefinition) SetClusterRoleArn(v string) *RedshiftDatasetDefinition { 75219 s.ClusterRoleArn = &v 75220 return s 75221 } 75222 75223 // SetDatabase sets the Database field's value. 75224 func (s *RedshiftDatasetDefinition) SetDatabase(v string) *RedshiftDatasetDefinition { 75225 s.Database = &v 75226 return s 75227 } 75228 75229 // SetDbUser sets the DbUser field's value. 75230 func (s *RedshiftDatasetDefinition) SetDbUser(v string) *RedshiftDatasetDefinition { 75231 s.DbUser = &v 75232 return s 75233 } 75234 75235 // SetKmsKeyId sets the KmsKeyId field's value. 75236 func (s *RedshiftDatasetDefinition) SetKmsKeyId(v string) *RedshiftDatasetDefinition { 75237 s.KmsKeyId = &v 75238 return s 75239 } 75240 75241 // SetOutputCompression sets the OutputCompression field's value. 75242 func (s *RedshiftDatasetDefinition) SetOutputCompression(v string) *RedshiftDatasetDefinition { 75243 s.OutputCompression = &v 75244 return s 75245 } 75246 75247 // SetOutputFormat sets the OutputFormat field's value. 75248 func (s *RedshiftDatasetDefinition) SetOutputFormat(v string) *RedshiftDatasetDefinition { 75249 s.OutputFormat = &v 75250 return s 75251 } 75252 75253 // SetOutputS3Uri sets the OutputS3Uri field's value. 75254 func (s *RedshiftDatasetDefinition) SetOutputS3Uri(v string) *RedshiftDatasetDefinition { 75255 s.OutputS3Uri = &v 75256 return s 75257 } 75258 75259 // SetQueryString sets the QueryString field's value. 75260 func (s *RedshiftDatasetDefinition) SetQueryString(v string) *RedshiftDatasetDefinition { 75261 s.QueryString = &v 75262 return s 75263 } 75264 75265 type RegisterDevicesInput struct { 75266 _ struct{} `type:"structure"` 75267 75268 // The name of the fleet. 75269 // 75270 // DeviceFleetName is a required field 75271 DeviceFleetName *string `min:"1" type:"string" required:"true"` 75272 75273 // A list of devices to register with SageMaker Edge Manager. 75274 // 75275 // Devices is a required field 75276 Devices []*Device `type:"list" required:"true"` 75277 75278 // The tags associated with devices. 75279 Tags []*Tag `type:"list"` 75280 } 75281 75282 // String returns the string representation. 75283 // 75284 // API parameter values that are decorated as "sensitive" in the API will not 75285 // be included in the string output. The member name will be present, but the 75286 // value will be replaced with "sensitive". 75287 func (s RegisterDevicesInput) String() string { 75288 return awsutil.Prettify(s) 75289 } 75290 75291 // GoString returns the string representation. 75292 // 75293 // API parameter values that are decorated as "sensitive" in the API will not 75294 // be included in the string output. The member name will be present, but the 75295 // value will be replaced with "sensitive". 75296 func (s RegisterDevicesInput) GoString() string { 75297 return s.String() 75298 } 75299 75300 // Validate inspects the fields of the type to determine if they are valid. 75301 func (s *RegisterDevicesInput) Validate() error { 75302 invalidParams := request.ErrInvalidParams{Context: "RegisterDevicesInput"} 75303 if s.DeviceFleetName == nil { 75304 invalidParams.Add(request.NewErrParamRequired("DeviceFleetName")) 75305 } 75306 if s.DeviceFleetName != nil && len(*s.DeviceFleetName) < 1 { 75307 invalidParams.Add(request.NewErrParamMinLen("DeviceFleetName", 1)) 75308 } 75309 if s.Devices == nil { 75310 invalidParams.Add(request.NewErrParamRequired("Devices")) 75311 } 75312 if s.Devices != nil { 75313 for i, v := range s.Devices { 75314 if v == nil { 75315 continue 75316 } 75317 if err := v.Validate(); err != nil { 75318 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Devices", i), err.(request.ErrInvalidParams)) 75319 } 75320 } 75321 } 75322 if s.Tags != nil { 75323 for i, v := range s.Tags { 75324 if v == nil { 75325 continue 75326 } 75327 if err := v.Validate(); err != nil { 75328 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) 75329 } 75330 } 75331 } 75332 75333 if invalidParams.Len() > 0 { 75334 return invalidParams 75335 } 75336 return nil 75337 } 75338 75339 // SetDeviceFleetName sets the DeviceFleetName field's value. 75340 func (s *RegisterDevicesInput) SetDeviceFleetName(v string) *RegisterDevicesInput { 75341 s.DeviceFleetName = &v 75342 return s 75343 } 75344 75345 // SetDevices sets the Devices field's value. 75346 func (s *RegisterDevicesInput) SetDevices(v []*Device) *RegisterDevicesInput { 75347 s.Devices = v 75348 return s 75349 } 75350 75351 // SetTags sets the Tags field's value. 75352 func (s *RegisterDevicesInput) SetTags(v []*Tag) *RegisterDevicesInput { 75353 s.Tags = v 75354 return s 75355 } 75356 75357 type RegisterDevicesOutput struct { 75358 _ struct{} `type:"structure"` 75359 } 75360 75361 // String returns the string representation. 75362 // 75363 // API parameter values that are decorated as "sensitive" in the API will not 75364 // be included in the string output. The member name will be present, but the 75365 // value will be replaced with "sensitive". 75366 func (s RegisterDevicesOutput) String() string { 75367 return awsutil.Prettify(s) 75368 } 75369 75370 // GoString returns the string representation. 75371 // 75372 // API parameter values that are decorated as "sensitive" in the API will not 75373 // be included in the string output. The member name will be present, but the 75374 // value will be replaced with "sensitive". 75375 func (s RegisterDevicesOutput) GoString() string { 75376 return s.String() 75377 } 75378 75379 // Metadata for a register model job step. 75380 type RegisterModelStepMetadata struct { 75381 _ struct{} `type:"structure"` 75382 75383 // The Amazon Resource Name (ARN) of the model package. 75384 Arn *string `type:"string"` 75385 } 75386 75387 // String returns the string representation. 75388 // 75389 // API parameter values that are decorated as "sensitive" in the API will not 75390 // be included in the string output. The member name will be present, but the 75391 // value will be replaced with "sensitive". 75392 func (s RegisterModelStepMetadata) String() string { 75393 return awsutil.Prettify(s) 75394 } 75395 75396 // GoString returns the string representation. 75397 // 75398 // API parameter values that are decorated as "sensitive" in the API will not 75399 // be included in the string output. The member name will be present, but the 75400 // value will be replaced with "sensitive". 75401 func (s RegisterModelStepMetadata) GoString() string { 75402 return s.String() 75403 } 75404 75405 // SetArn sets the Arn field's value. 75406 func (s *RegisterModelStepMetadata) SetArn(v string) *RegisterModelStepMetadata { 75407 s.Arn = &v 75408 return s 75409 } 75410 75411 type RenderUiTemplateInput struct { 75412 _ struct{} `type:"structure"` 75413 75414 // The HumanTaskUiArn of the worker UI that you want to render. Do not provide 75415 // a HumanTaskUiArn if you use the UiTemplate parameter. 75416 // 75417 // See a list of available Human Ui Amazon Resource Names (ARNs) in UiConfig. 75418 HumanTaskUiArn *string `type:"string"` 75419 75420 // The Amazon Resource Name (ARN) that has access to the S3 objects that are 75421 // used by the template. 75422 // 75423 // RoleArn is a required field 75424 RoleArn *string `min:"20" type:"string" required:"true"` 75425 75426 // A RenderableTask object containing a representative task to render. 75427 // 75428 // Task is a required field 75429 Task *RenderableTask `type:"structure" required:"true"` 75430 75431 // A Template object containing the worker UI template to render. 75432 UiTemplate *UiTemplate `type:"structure"` 75433 } 75434 75435 // String returns the string representation. 75436 // 75437 // API parameter values that are decorated as "sensitive" in the API will not 75438 // be included in the string output. The member name will be present, but the 75439 // value will be replaced with "sensitive". 75440 func (s RenderUiTemplateInput) String() string { 75441 return awsutil.Prettify(s) 75442 } 75443 75444 // GoString returns the string representation. 75445 // 75446 // API parameter values that are decorated as "sensitive" in the API will not 75447 // be included in the string output. The member name will be present, but the 75448 // value will be replaced with "sensitive". 75449 func (s RenderUiTemplateInput) GoString() string { 75450 return s.String() 75451 } 75452 75453 // Validate inspects the fields of the type to determine if they are valid. 75454 func (s *RenderUiTemplateInput) Validate() error { 75455 invalidParams := request.ErrInvalidParams{Context: "RenderUiTemplateInput"} 75456 if s.RoleArn == nil { 75457 invalidParams.Add(request.NewErrParamRequired("RoleArn")) 75458 } 75459 if s.RoleArn != nil && len(*s.RoleArn) < 20 { 75460 invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) 75461 } 75462 if s.Task == nil { 75463 invalidParams.Add(request.NewErrParamRequired("Task")) 75464 } 75465 if s.Task != nil { 75466 if err := s.Task.Validate(); err != nil { 75467 invalidParams.AddNested("Task", err.(request.ErrInvalidParams)) 75468 } 75469 } 75470 if s.UiTemplate != nil { 75471 if err := s.UiTemplate.Validate(); err != nil { 75472 invalidParams.AddNested("UiTemplate", err.(request.ErrInvalidParams)) 75473 } 75474 } 75475 75476 if invalidParams.Len() > 0 { 75477 return invalidParams 75478 } 75479 return nil 75480 } 75481 75482 // SetHumanTaskUiArn sets the HumanTaskUiArn field's value. 75483 func (s *RenderUiTemplateInput) SetHumanTaskUiArn(v string) *RenderUiTemplateInput { 75484 s.HumanTaskUiArn = &v 75485 return s 75486 } 75487 75488 // SetRoleArn sets the RoleArn field's value. 75489 func (s *RenderUiTemplateInput) SetRoleArn(v string) *RenderUiTemplateInput { 75490 s.RoleArn = &v 75491 return s 75492 } 75493 75494 // SetTask sets the Task field's value. 75495 func (s *RenderUiTemplateInput) SetTask(v *RenderableTask) *RenderUiTemplateInput { 75496 s.Task = v 75497 return s 75498 } 75499 75500 // SetUiTemplate sets the UiTemplate field's value. 75501 func (s *RenderUiTemplateInput) SetUiTemplate(v *UiTemplate) *RenderUiTemplateInput { 75502 s.UiTemplate = v 75503 return s 75504 } 75505 75506 type RenderUiTemplateOutput struct { 75507 _ struct{} `type:"structure"` 75508 75509 // A list of one or more RenderingError objects if any were encountered while 75510 // rendering the template. If there were no errors, the list is empty. 75511 // 75512 // Errors is a required field 75513 Errors []*RenderingError `type:"list" required:"true"` 75514 75515 // A Liquid template that renders the HTML for the worker UI. 75516 // 75517 // RenderedContent is a required field 75518 RenderedContent *string `type:"string" required:"true"` 75519 } 75520 75521 // String returns the string representation. 75522 // 75523 // API parameter values that are decorated as "sensitive" in the API will not 75524 // be included in the string output. The member name will be present, but the 75525 // value will be replaced with "sensitive". 75526 func (s RenderUiTemplateOutput) String() string { 75527 return awsutil.Prettify(s) 75528 } 75529 75530 // GoString returns the string representation. 75531 // 75532 // API parameter values that are decorated as "sensitive" in the API will not 75533 // be included in the string output. The member name will be present, but the 75534 // value will be replaced with "sensitive". 75535 func (s RenderUiTemplateOutput) GoString() string { 75536 return s.String() 75537 } 75538 75539 // SetErrors sets the Errors field's value. 75540 func (s *RenderUiTemplateOutput) SetErrors(v []*RenderingError) *RenderUiTemplateOutput { 75541 s.Errors = v 75542 return s 75543 } 75544 75545 // SetRenderedContent sets the RenderedContent field's value. 75546 func (s *RenderUiTemplateOutput) SetRenderedContent(v string) *RenderUiTemplateOutput { 75547 s.RenderedContent = &v 75548 return s 75549 } 75550 75551 // Contains input values for a task. 75552 type RenderableTask struct { 75553 _ struct{} `type:"structure"` 75554 75555 // A JSON object that contains values for the variables defined in the template. 75556 // It is made available to the template under the substitution variable task.input. 75557 // For example, if you define a variable task.input.text in your template, you 75558 // can supply the variable in the JSON object as "text": "sample text". 75559 // 75560 // Input is a required field 75561 Input *string `min:"2" type:"string" required:"true"` 75562 } 75563 75564 // String returns the string representation. 75565 // 75566 // API parameter values that are decorated as "sensitive" in the API will not 75567 // be included in the string output. The member name will be present, but the 75568 // value will be replaced with "sensitive". 75569 func (s RenderableTask) String() string { 75570 return awsutil.Prettify(s) 75571 } 75572 75573 // GoString returns the string representation. 75574 // 75575 // API parameter values that are decorated as "sensitive" in the API will not 75576 // be included in the string output. The member name will be present, but the 75577 // value will be replaced with "sensitive". 75578 func (s RenderableTask) GoString() string { 75579 return s.String() 75580 } 75581 75582 // Validate inspects the fields of the type to determine if they are valid. 75583 func (s *RenderableTask) Validate() error { 75584 invalidParams := request.ErrInvalidParams{Context: "RenderableTask"} 75585 if s.Input == nil { 75586 invalidParams.Add(request.NewErrParamRequired("Input")) 75587 } 75588 if s.Input != nil && len(*s.Input) < 2 { 75589 invalidParams.Add(request.NewErrParamMinLen("Input", 2)) 75590 } 75591 75592 if invalidParams.Len() > 0 { 75593 return invalidParams 75594 } 75595 return nil 75596 } 75597 75598 // SetInput sets the Input field's value. 75599 func (s *RenderableTask) SetInput(v string) *RenderableTask { 75600 s.Input = &v 75601 return s 75602 } 75603 75604 // A description of an error that occurred while rendering the template. 75605 type RenderingError struct { 75606 _ struct{} `type:"structure"` 75607 75608 // A unique identifier for a specific class of errors. 75609 // 75610 // Code is a required field 75611 Code *string `type:"string" required:"true"` 75612 75613 // A human-readable message describing the error. 75614 // 75615 // Message is a required field 75616 Message *string `type:"string" required:"true"` 75617 } 75618 75619 // String returns the string representation. 75620 // 75621 // API parameter values that are decorated as "sensitive" in the API will not 75622 // be included in the string output. The member name will be present, but the 75623 // value will be replaced with "sensitive". 75624 func (s RenderingError) String() string { 75625 return awsutil.Prettify(s) 75626 } 75627 75628 // GoString returns the string representation. 75629 // 75630 // API parameter values that are decorated as "sensitive" in the API will not 75631 // be included in the string output. The member name will be present, but the 75632 // value will be replaced with "sensitive". 75633 func (s RenderingError) GoString() string { 75634 return s.String() 75635 } 75636 75637 // SetCode sets the Code field's value. 75638 func (s *RenderingError) SetCode(v string) *RenderingError { 75639 s.Code = &v 75640 return s 75641 } 75642 75643 // SetMessage sets the Message field's value. 75644 func (s *RenderingError) SetMessage(v string) *RenderingError { 75645 s.Message = &v 75646 return s 75647 } 75648 75649 // Specifies an authentication configuration for the private docker registry 75650 // where your model image is hosted. Specify a value for this property only 75651 // if you specified Vpc as the value for the RepositoryAccessMode field of the 75652 // ImageConfig object that you passed to a call to CreateModel and the private 75653 // Docker registry where the model image is hosted requires authentication. 75654 type RepositoryAuthConfig struct { 75655 _ struct{} `type:"structure"` 75656 75657 // The Amazon Resource Name (ARN) of an Amazon Web Services Lambda function 75658 // that provides credentials to authenticate to the private Docker registry 75659 // where your model image is hosted. For information about how to create an 75660 // Amazon Web Services Lambda function, see Create a Lambda function with the 75661 // console (https://docs.aws.amazon.com/lambda/latest/dg/getting-started-create-function.html) 75662 // in the Amazon Web Services Lambda Developer Guide. 75663 // 75664 // RepositoryCredentialsProviderArn is a required field 75665 RepositoryCredentialsProviderArn *string `min:"1" type:"string" required:"true"` 75666 } 75667 75668 // String returns the string representation. 75669 // 75670 // API parameter values that are decorated as "sensitive" in the API will not 75671 // be included in the string output. The member name will be present, but the 75672 // value will be replaced with "sensitive". 75673 func (s RepositoryAuthConfig) String() string { 75674 return awsutil.Prettify(s) 75675 } 75676 75677 // GoString returns the string representation. 75678 // 75679 // API parameter values that are decorated as "sensitive" in the API will not 75680 // be included in the string output. The member name will be present, but the 75681 // value will be replaced with "sensitive". 75682 func (s RepositoryAuthConfig) GoString() string { 75683 return s.String() 75684 } 75685 75686 // Validate inspects the fields of the type to determine if they are valid. 75687 func (s *RepositoryAuthConfig) Validate() error { 75688 invalidParams := request.ErrInvalidParams{Context: "RepositoryAuthConfig"} 75689 if s.RepositoryCredentialsProviderArn == nil { 75690 invalidParams.Add(request.NewErrParamRequired("RepositoryCredentialsProviderArn")) 75691 } 75692 if s.RepositoryCredentialsProviderArn != nil && len(*s.RepositoryCredentialsProviderArn) < 1 { 75693 invalidParams.Add(request.NewErrParamMinLen("RepositoryCredentialsProviderArn", 1)) 75694 } 75695 75696 if invalidParams.Len() > 0 { 75697 return invalidParams 75698 } 75699 return nil 75700 } 75701 75702 // SetRepositoryCredentialsProviderArn sets the RepositoryCredentialsProviderArn field's value. 75703 func (s *RepositoryAuthConfig) SetRepositoryCredentialsProviderArn(v string) *RepositoryAuthConfig { 75704 s.RepositoryCredentialsProviderArn = &v 75705 return s 75706 } 75707 75708 // The resolved attributes. 75709 type ResolvedAttributes struct { 75710 _ struct{} `type:"structure"` 75711 75712 // Specifies a metric to minimize or maximize as the objective of a job. 75713 AutoMLJobObjective *AutoMLJobObjective `type:"structure"` 75714 75715 // How long a job is allowed to run, or how many candidates a job is allowed 75716 // to generate. 75717 CompletionCriteria *AutoMLJobCompletionCriteria `type:"structure"` 75718 75719 // The problem type. 75720 ProblemType *string `type:"string" enum:"ProblemType"` 75721 } 75722 75723 // String returns the string representation. 75724 // 75725 // API parameter values that are decorated as "sensitive" in the API will not 75726 // be included in the string output. The member name will be present, but the 75727 // value will be replaced with "sensitive". 75728 func (s ResolvedAttributes) String() string { 75729 return awsutil.Prettify(s) 75730 } 75731 75732 // GoString returns the string representation. 75733 // 75734 // API parameter values that are decorated as "sensitive" in the API will not 75735 // be included in the string output. The member name will be present, but the 75736 // value will be replaced with "sensitive". 75737 func (s ResolvedAttributes) GoString() string { 75738 return s.String() 75739 } 75740 75741 // SetAutoMLJobObjective sets the AutoMLJobObjective field's value. 75742 func (s *ResolvedAttributes) SetAutoMLJobObjective(v *AutoMLJobObjective) *ResolvedAttributes { 75743 s.AutoMLJobObjective = v 75744 return s 75745 } 75746 75747 // SetCompletionCriteria sets the CompletionCriteria field's value. 75748 func (s *ResolvedAttributes) SetCompletionCriteria(v *AutoMLJobCompletionCriteria) *ResolvedAttributes { 75749 s.CompletionCriteria = v 75750 return s 75751 } 75752 75753 // SetProblemType sets the ProblemType field's value. 75754 func (s *ResolvedAttributes) SetProblemType(v string) *ResolvedAttributes { 75755 s.ProblemType = &v 75756 return s 75757 } 75758 75759 // Describes the resources, including ML compute instances and ML storage volumes, 75760 // to use for model training. 75761 type ResourceConfig struct { 75762 _ struct{} `type:"structure"` 75763 75764 // The number of ML compute instances to use. For distributed training, provide 75765 // a value greater than 1. 75766 // 75767 // InstanceCount is a required field 75768 InstanceCount *int64 `min:"1" type:"integer" required:"true"` 75769 75770 // The ML compute instance type. 75771 // 75772 // InstanceType is a required field 75773 InstanceType *string `type:"string" required:"true" enum:"TrainingInstanceType"` 75774 75775 // The Amazon Web Services KMS key that Amazon SageMaker uses to encrypt data 75776 // on the storage volume attached to the ML compute instance(s) that run the 75777 // training job. 75778 // 75779 // Certain Nitro-based instances include local storage, dependent on the instance 75780 // type. Local storage volumes are encrypted using a hardware module on the 75781 // instance. You can't request a VolumeKmsKeyId when using an instance type 75782 // with local storage. 75783 // 75784 // For a list of instance types that support local instance storage, see Instance 75785 // Store Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes). 75786 // 75787 // For more information about local instance storage encryption, see SSD Instance 75788 // Store Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ssd-instance-store.html). 75789 // 75790 // The VolumeKmsKeyId can be in any of the following formats: 75791 // 75792 // * // KMS Key ID "1234abcd-12ab-34cd-56ef-1234567890ab" 75793 // 75794 // * // Amazon Resource Name (ARN) of a KMS Key "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" 75795 VolumeKmsKeyId *string `type:"string"` 75796 75797 // The size of the ML storage volume that you want to provision. 75798 // 75799 // ML storage volumes store model artifacts and incremental states. Training 75800 // algorithms might also use the ML storage volume for scratch space. If you 75801 // want to store the training data in the ML storage volume, choose File as 75802 // the TrainingInputMode in the algorithm specification. 75803 // 75804 // You must specify sufficient ML storage for your scenario. 75805 // 75806 // Amazon SageMaker supports only the General Purpose SSD (gp2) ML storage volume 75807 // type. 75808 // 75809 // Certain Nitro-based instances include local storage with a fixed total size, 75810 // dependent on the instance type. When using these instances for training, 75811 // Amazon SageMaker mounts the local instance storage instead of Amazon EBS 75812 // gp2 storage. You can't request a VolumeSizeInGB greater than the total size 75813 // of the local instance storage. 75814 // 75815 // For a list of instance types that support local instance storage, including 75816 // the total size per instance type, see Instance Store Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes). 75817 // 75818 // VolumeSizeInGB is a required field 75819 VolumeSizeInGB *int64 `min:"1" type:"integer" required:"true"` 75820 } 75821 75822 // String returns the string representation. 75823 // 75824 // API parameter values that are decorated as "sensitive" in the API will not 75825 // be included in the string output. The member name will be present, but the 75826 // value will be replaced with "sensitive". 75827 func (s ResourceConfig) String() string { 75828 return awsutil.Prettify(s) 75829 } 75830 75831 // GoString returns the string representation. 75832 // 75833 // API parameter values that are decorated as "sensitive" in the API will not 75834 // be included in the string output. The member name will be present, but the 75835 // value will be replaced with "sensitive". 75836 func (s ResourceConfig) GoString() string { 75837 return s.String() 75838 } 75839 75840 // Validate inspects the fields of the type to determine if they are valid. 75841 func (s *ResourceConfig) Validate() error { 75842 invalidParams := request.ErrInvalidParams{Context: "ResourceConfig"} 75843 if s.InstanceCount == nil { 75844 invalidParams.Add(request.NewErrParamRequired("InstanceCount")) 75845 } 75846 if s.InstanceCount != nil && *s.InstanceCount < 1 { 75847 invalidParams.Add(request.NewErrParamMinValue("InstanceCount", 1)) 75848 } 75849 if s.InstanceType == nil { 75850 invalidParams.Add(request.NewErrParamRequired("InstanceType")) 75851 } 75852 if s.VolumeSizeInGB == nil { 75853 invalidParams.Add(request.NewErrParamRequired("VolumeSizeInGB")) 75854 } 75855 if s.VolumeSizeInGB != nil && *s.VolumeSizeInGB < 1 { 75856 invalidParams.Add(request.NewErrParamMinValue("VolumeSizeInGB", 1)) 75857 } 75858 75859 if invalidParams.Len() > 0 { 75860 return invalidParams 75861 } 75862 return nil 75863 } 75864 75865 // SetInstanceCount sets the InstanceCount field's value. 75866 func (s *ResourceConfig) SetInstanceCount(v int64) *ResourceConfig { 75867 s.InstanceCount = &v 75868 return s 75869 } 75870 75871 // SetInstanceType sets the InstanceType field's value. 75872 func (s *ResourceConfig) SetInstanceType(v string) *ResourceConfig { 75873 s.InstanceType = &v 75874 return s 75875 } 75876 75877 // SetVolumeKmsKeyId sets the VolumeKmsKeyId field's value. 75878 func (s *ResourceConfig) SetVolumeKmsKeyId(v string) *ResourceConfig { 75879 s.VolumeKmsKeyId = &v 75880 return s 75881 } 75882 75883 // SetVolumeSizeInGB sets the VolumeSizeInGB field's value. 75884 func (s *ResourceConfig) SetVolumeSizeInGB(v int64) *ResourceConfig { 75885 s.VolumeSizeInGB = &v 75886 return s 75887 } 75888 75889 // Resource being accessed is in use. 75890 type ResourceInUse struct { 75891 _ struct{} `type:"structure"` 75892 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 75893 75894 Message_ *string `locationName:"Message" type:"string"` 75895 } 75896 75897 // String returns the string representation. 75898 // 75899 // API parameter values that are decorated as "sensitive" in the API will not 75900 // be included in the string output. The member name will be present, but the 75901 // value will be replaced with "sensitive". 75902 func (s ResourceInUse) String() string { 75903 return awsutil.Prettify(s) 75904 } 75905 75906 // GoString returns the string representation. 75907 // 75908 // API parameter values that are decorated as "sensitive" in the API will not 75909 // be included in the string output. The member name will be present, but the 75910 // value will be replaced with "sensitive". 75911 func (s ResourceInUse) GoString() string { 75912 return s.String() 75913 } 75914 75915 func newErrorResourceInUse(v protocol.ResponseMetadata) error { 75916 return &ResourceInUse{ 75917 RespMetadata: v, 75918 } 75919 } 75920 75921 // Code returns the exception type name. 75922 func (s *ResourceInUse) Code() string { 75923 return "ResourceInUse" 75924 } 75925 75926 // Message returns the exception's message. 75927 func (s *ResourceInUse) Message() string { 75928 if s.Message_ != nil { 75929 return *s.Message_ 75930 } 75931 return "" 75932 } 75933 75934 // OrigErr always returns nil, satisfies awserr.Error interface. 75935 func (s *ResourceInUse) OrigErr() error { 75936 return nil 75937 } 75938 75939 func (s *ResourceInUse) Error() string { 75940 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 75941 } 75942 75943 // Status code returns the HTTP status code for the request's response error. 75944 func (s *ResourceInUse) StatusCode() int { 75945 return s.RespMetadata.StatusCode 75946 } 75947 75948 // RequestID returns the service's response RequestID for request. 75949 func (s *ResourceInUse) RequestID() string { 75950 return s.RespMetadata.RequestID 75951 } 75952 75953 // You have exceeded an Amazon SageMaker resource limit. For example, you might 75954 // have too many training jobs created. 75955 type ResourceLimitExceeded struct { 75956 _ struct{} `type:"structure"` 75957 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 75958 75959 Message_ *string `locationName:"Message" type:"string"` 75960 } 75961 75962 // String returns the string representation. 75963 // 75964 // API parameter values that are decorated as "sensitive" in the API will not 75965 // be included in the string output. The member name will be present, but the 75966 // value will be replaced with "sensitive". 75967 func (s ResourceLimitExceeded) String() string { 75968 return awsutil.Prettify(s) 75969 } 75970 75971 // GoString returns the string representation. 75972 // 75973 // API parameter values that are decorated as "sensitive" in the API will not 75974 // be included in the string output. The member name will be present, but the 75975 // value will be replaced with "sensitive". 75976 func (s ResourceLimitExceeded) GoString() string { 75977 return s.String() 75978 } 75979 75980 func newErrorResourceLimitExceeded(v protocol.ResponseMetadata) error { 75981 return &ResourceLimitExceeded{ 75982 RespMetadata: v, 75983 } 75984 } 75985 75986 // Code returns the exception type name. 75987 func (s *ResourceLimitExceeded) Code() string { 75988 return "ResourceLimitExceeded" 75989 } 75990 75991 // Message returns the exception's message. 75992 func (s *ResourceLimitExceeded) Message() string { 75993 if s.Message_ != nil { 75994 return *s.Message_ 75995 } 75996 return "" 75997 } 75998 75999 // OrigErr always returns nil, satisfies awserr.Error interface. 76000 func (s *ResourceLimitExceeded) OrigErr() error { 76001 return nil 76002 } 76003 76004 func (s *ResourceLimitExceeded) Error() string { 76005 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 76006 } 76007 76008 // Status code returns the HTTP status code for the request's response error. 76009 func (s *ResourceLimitExceeded) StatusCode() int { 76010 return s.RespMetadata.StatusCode 76011 } 76012 76013 // RequestID returns the service's response RequestID for request. 76014 func (s *ResourceLimitExceeded) RequestID() string { 76015 return s.RespMetadata.RequestID 76016 } 76017 76018 // Specifies the maximum number of training jobs and parallel training jobs 76019 // that a hyperparameter tuning job can launch. 76020 type ResourceLimits struct { 76021 _ struct{} `type:"structure"` 76022 76023 // The maximum number of training jobs that a hyperparameter tuning job can 76024 // launch. 76025 // 76026 // MaxNumberOfTrainingJobs is a required field 76027 MaxNumberOfTrainingJobs *int64 `min:"1" type:"integer" required:"true"` 76028 76029 // The maximum number of concurrent training jobs that a hyperparameter tuning 76030 // job can launch. 76031 // 76032 // MaxParallelTrainingJobs is a required field 76033 MaxParallelTrainingJobs *int64 `min:"1" type:"integer" required:"true"` 76034 } 76035 76036 // String returns the string representation. 76037 // 76038 // API parameter values that are decorated as "sensitive" in the API will not 76039 // be included in the string output. The member name will be present, but the 76040 // value will be replaced with "sensitive". 76041 func (s ResourceLimits) String() string { 76042 return awsutil.Prettify(s) 76043 } 76044 76045 // GoString returns the string representation. 76046 // 76047 // API parameter values that are decorated as "sensitive" in the API will not 76048 // be included in the string output. The member name will be present, but the 76049 // value will be replaced with "sensitive". 76050 func (s ResourceLimits) GoString() string { 76051 return s.String() 76052 } 76053 76054 // Validate inspects the fields of the type to determine if they are valid. 76055 func (s *ResourceLimits) Validate() error { 76056 invalidParams := request.ErrInvalidParams{Context: "ResourceLimits"} 76057 if s.MaxNumberOfTrainingJobs == nil { 76058 invalidParams.Add(request.NewErrParamRequired("MaxNumberOfTrainingJobs")) 76059 } 76060 if s.MaxNumberOfTrainingJobs != nil && *s.MaxNumberOfTrainingJobs < 1 { 76061 invalidParams.Add(request.NewErrParamMinValue("MaxNumberOfTrainingJobs", 1)) 76062 } 76063 if s.MaxParallelTrainingJobs == nil { 76064 invalidParams.Add(request.NewErrParamRequired("MaxParallelTrainingJobs")) 76065 } 76066 if s.MaxParallelTrainingJobs != nil && *s.MaxParallelTrainingJobs < 1 { 76067 invalidParams.Add(request.NewErrParamMinValue("MaxParallelTrainingJobs", 1)) 76068 } 76069 76070 if invalidParams.Len() > 0 { 76071 return invalidParams 76072 } 76073 return nil 76074 } 76075 76076 // SetMaxNumberOfTrainingJobs sets the MaxNumberOfTrainingJobs field's value. 76077 func (s *ResourceLimits) SetMaxNumberOfTrainingJobs(v int64) *ResourceLimits { 76078 s.MaxNumberOfTrainingJobs = &v 76079 return s 76080 } 76081 76082 // SetMaxParallelTrainingJobs sets the MaxParallelTrainingJobs field's value. 76083 func (s *ResourceLimits) SetMaxParallelTrainingJobs(v int64) *ResourceLimits { 76084 s.MaxParallelTrainingJobs = &v 76085 return s 76086 } 76087 76088 // Resource being access is not found. 76089 type ResourceNotFound struct { 76090 _ struct{} `type:"structure"` 76091 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 76092 76093 Message_ *string `locationName:"Message" type:"string"` 76094 } 76095 76096 // String returns the string representation. 76097 // 76098 // API parameter values that are decorated as "sensitive" in the API will not 76099 // be included in the string output. The member name will be present, but the 76100 // value will be replaced with "sensitive". 76101 func (s ResourceNotFound) String() string { 76102 return awsutil.Prettify(s) 76103 } 76104 76105 // GoString returns the string representation. 76106 // 76107 // API parameter values that are decorated as "sensitive" in the API will not 76108 // be included in the string output. The member name will be present, but the 76109 // value will be replaced with "sensitive". 76110 func (s ResourceNotFound) GoString() string { 76111 return s.String() 76112 } 76113 76114 func newErrorResourceNotFound(v protocol.ResponseMetadata) error { 76115 return &ResourceNotFound{ 76116 RespMetadata: v, 76117 } 76118 } 76119 76120 // Code returns the exception type name. 76121 func (s *ResourceNotFound) Code() string { 76122 return "ResourceNotFound" 76123 } 76124 76125 // Message returns the exception's message. 76126 func (s *ResourceNotFound) Message() string { 76127 if s.Message_ != nil { 76128 return *s.Message_ 76129 } 76130 return "" 76131 } 76132 76133 // OrigErr always returns nil, satisfies awserr.Error interface. 76134 func (s *ResourceNotFound) OrigErr() error { 76135 return nil 76136 } 76137 76138 func (s *ResourceNotFound) Error() string { 76139 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 76140 } 76141 76142 // Status code returns the HTTP status code for the request's response error. 76143 func (s *ResourceNotFound) StatusCode() int { 76144 return s.RespMetadata.StatusCode 76145 } 76146 76147 // RequestID returns the service's response RequestID for request. 76148 func (s *ResourceNotFound) RequestID() string { 76149 return s.RespMetadata.RequestID 76150 } 76151 76152 // Specifies the ARN's of a SageMaker image and SageMaker image version, and 76153 // the instance type that the version runs on. 76154 type ResourceSpec struct { 76155 _ struct{} `type:"structure"` 76156 76157 // The instance type that the image version runs on. 76158 InstanceType *string `type:"string" enum:"AppInstanceType"` 76159 76160 // The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to 76161 // the Resource. 76162 LifecycleConfigArn *string `type:"string"` 76163 76164 // The ARN of the SageMaker image that the image version belongs to. 76165 SageMakerImageArn *string `type:"string"` 76166 76167 // The ARN of the image version created on the instance. 76168 SageMakerImageVersionArn *string `type:"string"` 76169 } 76170 76171 // String returns the string representation. 76172 // 76173 // API parameter values that are decorated as "sensitive" in the API will not 76174 // be included in the string output. The member name will be present, but the 76175 // value will be replaced with "sensitive". 76176 func (s ResourceSpec) String() string { 76177 return awsutil.Prettify(s) 76178 } 76179 76180 // GoString returns the string representation. 76181 // 76182 // API parameter values that are decorated as "sensitive" in the API will not 76183 // be included in the string output. The member name will be present, but the 76184 // value will be replaced with "sensitive". 76185 func (s ResourceSpec) GoString() string { 76186 return s.String() 76187 } 76188 76189 // SetInstanceType sets the InstanceType field's value. 76190 func (s *ResourceSpec) SetInstanceType(v string) *ResourceSpec { 76191 s.InstanceType = &v 76192 return s 76193 } 76194 76195 // SetLifecycleConfigArn sets the LifecycleConfigArn field's value. 76196 func (s *ResourceSpec) SetLifecycleConfigArn(v string) *ResourceSpec { 76197 s.LifecycleConfigArn = &v 76198 return s 76199 } 76200 76201 // SetSageMakerImageArn sets the SageMakerImageArn field's value. 76202 func (s *ResourceSpec) SetSageMakerImageArn(v string) *ResourceSpec { 76203 s.SageMakerImageArn = &v 76204 return s 76205 } 76206 76207 // SetSageMakerImageVersionArn sets the SageMakerImageVersionArn field's value. 76208 func (s *ResourceSpec) SetSageMakerImageVersionArn(v string) *ResourceSpec { 76209 s.SageMakerImageVersionArn = &v 76210 return s 76211 } 76212 76213 // The retention policy for data stored on an Amazon Elastic File System (EFS) 76214 // volume. 76215 type RetentionPolicy struct { 76216 _ struct{} `type:"structure"` 76217 76218 // The default is Retain, which specifies to keep the data stored on the EFS 76219 // volume. 76220 // 76221 // Specify Delete to delete the data stored on the EFS volume. 76222 HomeEfsFileSystem *string `type:"string" enum:"RetentionType"` 76223 } 76224 76225 // String returns the string representation. 76226 // 76227 // API parameter values that are decorated as "sensitive" in the API will not 76228 // be included in the string output. The member name will be present, but the 76229 // value will be replaced with "sensitive". 76230 func (s RetentionPolicy) String() string { 76231 return awsutil.Prettify(s) 76232 } 76233 76234 // GoString returns the string representation. 76235 // 76236 // API parameter values that are decorated as "sensitive" in the API will not 76237 // be included in the string output. The member name will be present, but the 76238 // value will be replaced with "sensitive". 76239 func (s RetentionPolicy) GoString() string { 76240 return s.String() 76241 } 76242 76243 // SetHomeEfsFileSystem sets the HomeEfsFileSystem field's value. 76244 func (s *RetentionPolicy) SetHomeEfsFileSystem(v string) *RetentionPolicy { 76245 s.HomeEfsFileSystem = &v 76246 return s 76247 } 76248 76249 type RetryPipelineExecutionInput struct { 76250 _ struct{} `type:"structure"` 76251 76252 // A unique, case-sensitive identifier that you provide to ensure the idempotency 76253 // of the operation. An idempotent operation completes no more than once. 76254 ClientRequestToken *string `min:"32" type:"string" idempotencyToken:"true"` 76255 76256 // The Amazon Resource Name (ARN) of the pipeline execution. 76257 // 76258 // PipelineExecutionArn is a required field 76259 PipelineExecutionArn *string `type:"string" required:"true"` 76260 } 76261 76262 // String returns the string representation. 76263 // 76264 // API parameter values that are decorated as "sensitive" in the API will not 76265 // be included in the string output. The member name will be present, but the 76266 // value will be replaced with "sensitive". 76267 func (s RetryPipelineExecutionInput) String() string { 76268 return awsutil.Prettify(s) 76269 } 76270 76271 // GoString returns the string representation. 76272 // 76273 // API parameter values that are decorated as "sensitive" in the API will not 76274 // be included in the string output. The member name will be present, but the 76275 // value will be replaced with "sensitive". 76276 func (s RetryPipelineExecutionInput) GoString() string { 76277 return s.String() 76278 } 76279 76280 // Validate inspects the fields of the type to determine if they are valid. 76281 func (s *RetryPipelineExecutionInput) Validate() error { 76282 invalidParams := request.ErrInvalidParams{Context: "RetryPipelineExecutionInput"} 76283 if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 32 { 76284 invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 32)) 76285 } 76286 if s.PipelineExecutionArn == nil { 76287 invalidParams.Add(request.NewErrParamRequired("PipelineExecutionArn")) 76288 } 76289 76290 if invalidParams.Len() > 0 { 76291 return invalidParams 76292 } 76293 return nil 76294 } 76295 76296 // SetClientRequestToken sets the ClientRequestToken field's value. 76297 func (s *RetryPipelineExecutionInput) SetClientRequestToken(v string) *RetryPipelineExecutionInput { 76298 s.ClientRequestToken = &v 76299 return s 76300 } 76301 76302 // SetPipelineExecutionArn sets the PipelineExecutionArn field's value. 76303 func (s *RetryPipelineExecutionInput) SetPipelineExecutionArn(v string) *RetryPipelineExecutionInput { 76304 s.PipelineExecutionArn = &v 76305 return s 76306 } 76307 76308 type RetryPipelineExecutionOutput struct { 76309 _ struct{} `type:"structure"` 76310 76311 // The Amazon Resource Name (ARN) of the pipeline execution. 76312 PipelineExecutionArn *string `type:"string"` 76313 } 76314 76315 // String returns the string representation. 76316 // 76317 // API parameter values that are decorated as "sensitive" in the API will not 76318 // be included in the string output. The member name will be present, but the 76319 // value will be replaced with "sensitive". 76320 func (s RetryPipelineExecutionOutput) String() string { 76321 return awsutil.Prettify(s) 76322 } 76323 76324 // GoString returns the string representation. 76325 // 76326 // API parameter values that are decorated as "sensitive" in the API will not 76327 // be included in the string output. The member name will be present, but the 76328 // value will be replaced with "sensitive". 76329 func (s RetryPipelineExecutionOutput) GoString() string { 76330 return s.String() 76331 } 76332 76333 // SetPipelineExecutionArn sets the PipelineExecutionArn field's value. 76334 func (s *RetryPipelineExecutionOutput) SetPipelineExecutionArn(v string) *RetryPipelineExecutionOutput { 76335 s.PipelineExecutionArn = &v 76336 return s 76337 } 76338 76339 // The retry strategy to use when a training job fails due to an InternalServerError. 76340 // RetryStrategy is specified as part of the CreateTrainingJob and CreateHyperParameterTuningJob 76341 // requests. You can add the StoppingCondition parameter to the request to limit 76342 // the training time for the complete job. 76343 type RetryStrategy struct { 76344 _ struct{} `type:"structure"` 76345 76346 // The number of times to retry the job. When the job is retried, it's SecondaryStatus 76347 // is changed to STARTING. 76348 // 76349 // MaximumRetryAttempts is a required field 76350 MaximumRetryAttempts *int64 `min:"1" type:"integer" required:"true"` 76351 } 76352 76353 // String returns the string representation. 76354 // 76355 // API parameter values that are decorated as "sensitive" in the API will not 76356 // be included in the string output. The member name will be present, but the 76357 // value will be replaced with "sensitive". 76358 func (s RetryStrategy) String() string { 76359 return awsutil.Prettify(s) 76360 } 76361 76362 // GoString returns the string representation. 76363 // 76364 // API parameter values that are decorated as "sensitive" in the API will not 76365 // be included in the string output. The member name will be present, but the 76366 // value will be replaced with "sensitive". 76367 func (s RetryStrategy) GoString() string { 76368 return s.String() 76369 } 76370 76371 // Validate inspects the fields of the type to determine if they are valid. 76372 func (s *RetryStrategy) Validate() error { 76373 invalidParams := request.ErrInvalidParams{Context: "RetryStrategy"} 76374 if s.MaximumRetryAttempts == nil { 76375 invalidParams.Add(request.NewErrParamRequired("MaximumRetryAttempts")) 76376 } 76377 if s.MaximumRetryAttempts != nil && *s.MaximumRetryAttempts < 1 { 76378 invalidParams.Add(request.NewErrParamMinValue("MaximumRetryAttempts", 1)) 76379 } 76380 76381 if invalidParams.Len() > 0 { 76382 return invalidParams 76383 } 76384 return nil 76385 } 76386 76387 // SetMaximumRetryAttempts sets the MaximumRetryAttempts field's value. 76388 func (s *RetryStrategy) SetMaximumRetryAttempts(v int64) *RetryStrategy { 76389 s.MaximumRetryAttempts = &v 76390 return s 76391 } 76392 76393 // Describes the S3 data source. 76394 type S3DataSource struct { 76395 _ struct{} `type:"structure"` 76396 76397 // A list of one or more attribute names to use that are found in a specified 76398 // augmented manifest file. 76399 AttributeNames []*string `type:"list"` 76400 76401 // If you want Amazon SageMaker to replicate the entire dataset on each ML compute 76402 // instance that is launched for model training, specify FullyReplicated. 76403 // 76404 // If you want Amazon SageMaker to replicate a subset of data on each ML compute 76405 // instance that is launched for model training, specify ShardedByS3Key. If 76406 // there are n ML compute instances launched for a training job, each instance 76407 // gets approximately 1/n of the number of S3 objects. In this case, model training 76408 // on each machine uses only the subset of training data. 76409 // 76410 // Don't choose more ML compute instances for training than available S3 objects. 76411 // If you do, some nodes won't get any data and you will pay for nodes that 76412 // aren't getting any training data. This applies in both File and Pipe modes. 76413 // Keep this in mind when developing algorithms. 76414 // 76415 // In distributed training, where you use multiple ML compute EC2 instances, 76416 // you might choose ShardedByS3Key. If the algorithm requires copying training 76417 // data to the ML storage volume (when TrainingInputMode is set to File), this 76418 // copies 1/n of the number of objects. 76419 S3DataDistributionType *string `type:"string" enum:"S3DataDistribution"` 76420 76421 // If you choose S3Prefix, S3Uri identifies a key name prefix. Amazon SageMaker 76422 // uses all objects that match the specified key name prefix for model training. 76423 // 76424 // If you choose ManifestFile, S3Uri identifies an object that is a manifest 76425 // file containing a list of object keys that you want Amazon SageMaker to use 76426 // for model training. 76427 // 76428 // If you choose AugmentedManifestFile, S3Uri identifies an object that is an 76429 // augmented manifest file in JSON lines format. This file contains the data 76430 // you want to use for model training. AugmentedManifestFile can only be used 76431 // if the Channel's input mode is Pipe. 76432 // 76433 // S3DataType is a required field 76434 S3DataType *string `type:"string" required:"true" enum:"S3DataType"` 76435 76436 // Depending on the value specified for the S3DataType, identifies either a 76437 // key name prefix or a manifest. For example: 76438 // 76439 // * A key name prefix might look like this: s3://bucketname/exampleprefix 76440 // 76441 // * A manifest might look like this: s3://bucketname/example.manifest A 76442 // manifest is an S3 object which is a JSON file consisting of an array of 76443 // elements. The first element is a prefix which is followed by one or more 76444 // suffixes. SageMaker appends the suffix elements to the prefix to get a 76445 // full set of S3Uri. Note that the prefix must be a valid non-empty S3Uri 76446 // that precludes users from specifying a manifest whose individual S3Uri 76447 // is sourced from different S3 buckets. The following code example shows 76448 // a valid manifest format: [ {"prefix": "s3://customer_bucket/some/prefix/"}, 76449 // "relative/path/to/custdata-1", "relative/path/custdata-2", ... "relative/path/custdata-N" 76450 // ] This JSON is equivalent to the following S3Uri list: s3://customer_bucket/some/prefix/relative/path/to/custdata-1 76451 // s3://customer_bucket/some/prefix/relative/path/custdata-2 ... s3://customer_bucket/some/prefix/relative/path/custdata-N 76452 // The complete set of S3Uri in this manifest is the input data for the channel 76453 // for this data source. The object that each S3Uri points to must be readable 76454 // by the IAM role that Amazon SageMaker uses to perform tasks on your behalf. 76455 // 76456 // S3Uri is a required field 76457 S3Uri *string `type:"string" required:"true"` 76458 } 76459 76460 // String returns the string representation. 76461 // 76462 // API parameter values that are decorated as "sensitive" in the API will not 76463 // be included in the string output. The member name will be present, but the 76464 // value will be replaced with "sensitive". 76465 func (s S3DataSource) String() string { 76466 return awsutil.Prettify(s) 76467 } 76468 76469 // GoString returns the string representation. 76470 // 76471 // API parameter values that are decorated as "sensitive" in the API will not 76472 // be included in the string output. The member name will be present, but the 76473 // value will be replaced with "sensitive". 76474 func (s S3DataSource) GoString() string { 76475 return s.String() 76476 } 76477 76478 // Validate inspects the fields of the type to determine if they are valid. 76479 func (s *S3DataSource) Validate() error { 76480 invalidParams := request.ErrInvalidParams{Context: "S3DataSource"} 76481 if s.S3DataType == nil { 76482 invalidParams.Add(request.NewErrParamRequired("S3DataType")) 76483 } 76484 if s.S3Uri == nil { 76485 invalidParams.Add(request.NewErrParamRequired("S3Uri")) 76486 } 76487 76488 if invalidParams.Len() > 0 { 76489 return invalidParams 76490 } 76491 return nil 76492 } 76493 76494 // SetAttributeNames sets the AttributeNames field's value. 76495 func (s *S3DataSource) SetAttributeNames(v []*string) *S3DataSource { 76496 s.AttributeNames = v 76497 return s 76498 } 76499 76500 // SetS3DataDistributionType sets the S3DataDistributionType field's value. 76501 func (s *S3DataSource) SetS3DataDistributionType(v string) *S3DataSource { 76502 s.S3DataDistributionType = &v 76503 return s 76504 } 76505 76506 // SetS3DataType sets the S3DataType field's value. 76507 func (s *S3DataSource) SetS3DataType(v string) *S3DataSource { 76508 s.S3DataType = &v 76509 return s 76510 } 76511 76512 // SetS3Uri sets the S3Uri field's value. 76513 func (s *S3DataSource) SetS3Uri(v string) *S3DataSource { 76514 s.S3Uri = &v 76515 return s 76516 } 76517 76518 // The Amazon Simple Storage (Amazon S3) location and and security configuration 76519 // for OfflineStore. 76520 type S3StorageConfig struct { 76521 _ struct{} `type:"structure"` 76522 76523 // The Amazon Web Services Key Management Service (KMS) key ID of the key used 76524 // to encrypt any objects written into the OfflineStore S3 location. 76525 // 76526 // The IAM roleARN that is passed as a parameter to CreateFeatureGroup must 76527 // have below permissions to the KmsKeyId: 76528 // 76529 // * "kms:GenerateDataKey" 76530 KmsKeyId *string `type:"string"` 76531 76532 // The S3 path where offline records are written. 76533 ResolvedOutputS3Uri *string `type:"string"` 76534 76535 // The S3 URI, or location in Amazon S3, of OfflineStore. 76536 // 76537 // S3 URIs have a format similar to the following: s3://example-bucket/prefix/. 76538 // 76539 // S3Uri is a required field 76540 S3Uri *string `type:"string" required:"true"` 76541 } 76542 76543 // String returns the string representation. 76544 // 76545 // API parameter values that are decorated as "sensitive" in the API will not 76546 // be included in the string output. The member name will be present, but the 76547 // value will be replaced with "sensitive". 76548 func (s S3StorageConfig) String() string { 76549 return awsutil.Prettify(s) 76550 } 76551 76552 // GoString returns the string representation. 76553 // 76554 // API parameter values that are decorated as "sensitive" in the API will not 76555 // be included in the string output. The member name will be present, but the 76556 // value will be replaced with "sensitive". 76557 func (s S3StorageConfig) GoString() string { 76558 return s.String() 76559 } 76560 76561 // Validate inspects the fields of the type to determine if they are valid. 76562 func (s *S3StorageConfig) Validate() error { 76563 invalidParams := request.ErrInvalidParams{Context: "S3StorageConfig"} 76564 if s.S3Uri == nil { 76565 invalidParams.Add(request.NewErrParamRequired("S3Uri")) 76566 } 76567 76568 if invalidParams.Len() > 0 { 76569 return invalidParams 76570 } 76571 return nil 76572 } 76573 76574 // SetKmsKeyId sets the KmsKeyId field's value. 76575 func (s *S3StorageConfig) SetKmsKeyId(v string) *S3StorageConfig { 76576 s.KmsKeyId = &v 76577 return s 76578 } 76579 76580 // SetResolvedOutputS3Uri sets the ResolvedOutputS3Uri field's value. 76581 func (s *S3StorageConfig) SetResolvedOutputS3Uri(v string) *S3StorageConfig { 76582 s.ResolvedOutputS3Uri = &v 76583 return s 76584 } 76585 76586 // SetS3Uri sets the S3Uri field's value. 76587 func (s *S3StorageConfig) SetS3Uri(v string) *S3StorageConfig { 76588 s.S3Uri = &v 76589 return s 76590 } 76591 76592 // Configuration details about the monitoring schedule. 76593 type ScheduleConfig struct { 76594 _ struct{} `type:"structure"` 76595 76596 // A cron expression that describes details about the monitoring schedule. 76597 // 76598 // Currently the only supported cron expressions are: 76599 // 76600 // * If you want to set the job to start every hour, please use the following: 76601 // Hourly: cron(0 * ? * * *) 76602 // 76603 // * If you want to start the job daily: cron(0 [00-23] ? * * *) 76604 // 76605 // For example, the following are valid cron expressions: 76606 // 76607 // * Daily at noon UTC: cron(0 12 ? * * *) 76608 // 76609 // * Daily at midnight UTC: cron(0 0 ? * * *) 76610 // 76611 // To support running every 6, 12 hours, the following are also supported: 76612 // 76613 // cron(0 [00-23]/[01-24] ? * * *) 76614 // 76615 // For example, the following are valid cron expressions: 76616 // 76617 // * Every 12 hours, starting at 5pm UTC: cron(0 17/12 ? * * *) 76618 // 76619 // * Every two hours starting at midnight: cron(0 0/2 ? * * *) 76620 // 76621 // * Even though the cron expression is set to start at 5PM UTC, note that 76622 // there could be a delay of 0-20 minutes from the actual requested time 76623 // to run the execution. 76624 // 76625 // * We recommend that if you would like a daily schedule, you do not provide 76626 // this parameter. Amazon SageMaker will pick a time for running every day. 76627 // 76628 // ScheduleExpression is a required field 76629 ScheduleExpression *string `min:"1" type:"string" required:"true"` 76630 } 76631 76632 // String returns the string representation. 76633 // 76634 // API parameter values that are decorated as "sensitive" in the API will not 76635 // be included in the string output. The member name will be present, but the 76636 // value will be replaced with "sensitive". 76637 func (s ScheduleConfig) String() string { 76638 return awsutil.Prettify(s) 76639 } 76640 76641 // GoString returns the string representation. 76642 // 76643 // API parameter values that are decorated as "sensitive" in the API will not 76644 // be included in the string output. The member name will be present, but the 76645 // value will be replaced with "sensitive". 76646 func (s ScheduleConfig) GoString() string { 76647 return s.String() 76648 } 76649 76650 // Validate inspects the fields of the type to determine if they are valid. 76651 func (s *ScheduleConfig) Validate() error { 76652 invalidParams := request.ErrInvalidParams{Context: "ScheduleConfig"} 76653 if s.ScheduleExpression == nil { 76654 invalidParams.Add(request.NewErrParamRequired("ScheduleExpression")) 76655 } 76656 if s.ScheduleExpression != nil && len(*s.ScheduleExpression) < 1 { 76657 invalidParams.Add(request.NewErrParamMinLen("ScheduleExpression", 1)) 76658 } 76659 76660 if invalidParams.Len() > 0 { 76661 return invalidParams 76662 } 76663 return nil 76664 } 76665 76666 // SetScheduleExpression sets the ScheduleExpression field's value. 76667 func (s *ScheduleConfig) SetScheduleExpression(v string) *ScheduleConfig { 76668 s.ScheduleExpression = &v 76669 return s 76670 } 76671 76672 // A multi-expression that searches for the specified resource or resources 76673 // in a search. All resource objects that satisfy the expression's condition 76674 // are included in the search results. You must specify at least one subexpression, 76675 // filter, or nested filter. A SearchExpression can contain up to twenty elements. 76676 // 76677 // A SearchExpression contains the following components: 76678 // 76679 // * A list of Filter objects. Each filter defines a simple Boolean expression 76680 // comprised of a resource property name, Boolean operator, and value. 76681 // 76682 // * A list of NestedFilter objects. Each nested filter defines a list of 76683 // Boolean expressions using a list of resource properties. A nested filter 76684 // is satisfied if a single object in the list satisfies all Boolean expressions. 76685 // 76686 // * A list of SearchExpression objects. A search expression object can be 76687 // nested in a list of search expression objects. 76688 // 76689 // * A Boolean operator: And or Or. 76690 type SearchExpression struct { 76691 _ struct{} `type:"structure"` 76692 76693 // A list of filter objects. 76694 Filters []*Filter `min:"1" type:"list"` 76695 76696 // A list of nested filter objects. 76697 NestedFilters []*NestedFilters `min:"1" type:"list"` 76698 76699 // A Boolean operator used to evaluate the search expression. If you want every 76700 // conditional statement in all lists to be satisfied for the entire search 76701 // expression to be true, specify And. If only a single conditional statement 76702 // needs to be true for the entire search expression to be true, specify Or. 76703 // The default value is And. 76704 Operator *string `type:"string" enum:"BooleanOperator"` 76705 76706 // A list of search expression objects. 76707 SubExpressions []*SearchExpression `min:"1" type:"list"` 76708 } 76709 76710 // String returns the string representation. 76711 // 76712 // API parameter values that are decorated as "sensitive" in the API will not 76713 // be included in the string output. The member name will be present, but the 76714 // value will be replaced with "sensitive". 76715 func (s SearchExpression) String() string { 76716 return awsutil.Prettify(s) 76717 } 76718 76719 // GoString returns the string representation. 76720 // 76721 // API parameter values that are decorated as "sensitive" in the API will not 76722 // be included in the string output. The member name will be present, but the 76723 // value will be replaced with "sensitive". 76724 func (s SearchExpression) GoString() string { 76725 return s.String() 76726 } 76727 76728 // Validate inspects the fields of the type to determine if they are valid. 76729 func (s *SearchExpression) Validate() error { 76730 invalidParams := request.ErrInvalidParams{Context: "SearchExpression"} 76731 if s.Filters != nil && len(s.Filters) < 1 { 76732 invalidParams.Add(request.NewErrParamMinLen("Filters", 1)) 76733 } 76734 if s.NestedFilters != nil && len(s.NestedFilters) < 1 { 76735 invalidParams.Add(request.NewErrParamMinLen("NestedFilters", 1)) 76736 } 76737 if s.SubExpressions != nil && len(s.SubExpressions) < 1 { 76738 invalidParams.Add(request.NewErrParamMinLen("SubExpressions", 1)) 76739 } 76740 if s.Filters != nil { 76741 for i, v := range s.Filters { 76742 if v == nil { 76743 continue 76744 } 76745 if err := v.Validate(); err != nil { 76746 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams)) 76747 } 76748 } 76749 } 76750 if s.NestedFilters != nil { 76751 for i, v := range s.NestedFilters { 76752 if v == nil { 76753 continue 76754 } 76755 if err := v.Validate(); err != nil { 76756 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "NestedFilters", i), err.(request.ErrInvalidParams)) 76757 } 76758 } 76759 } 76760 if s.SubExpressions != nil { 76761 for i, v := range s.SubExpressions { 76762 if v == nil { 76763 continue 76764 } 76765 if err := v.Validate(); err != nil { 76766 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SubExpressions", i), err.(request.ErrInvalidParams)) 76767 } 76768 } 76769 } 76770 76771 if invalidParams.Len() > 0 { 76772 return invalidParams 76773 } 76774 return nil 76775 } 76776 76777 // SetFilters sets the Filters field's value. 76778 func (s *SearchExpression) SetFilters(v []*Filter) *SearchExpression { 76779 s.Filters = v 76780 return s 76781 } 76782 76783 // SetNestedFilters sets the NestedFilters field's value. 76784 func (s *SearchExpression) SetNestedFilters(v []*NestedFilters) *SearchExpression { 76785 s.NestedFilters = v 76786 return s 76787 } 76788 76789 // SetOperator sets the Operator field's value. 76790 func (s *SearchExpression) SetOperator(v string) *SearchExpression { 76791 s.Operator = &v 76792 return s 76793 } 76794 76795 // SetSubExpressions sets the SubExpressions field's value. 76796 func (s *SearchExpression) SetSubExpressions(v []*SearchExpression) *SearchExpression { 76797 s.SubExpressions = v 76798 return s 76799 } 76800 76801 type SearchInput struct { 76802 _ struct{} `type:"structure"` 76803 76804 // The maximum number of results to return. 76805 MaxResults *int64 `min:"1" type:"integer"` 76806 76807 // If more than MaxResults resources match the specified SearchExpression, the 76808 // response includes a NextToken. The NextToken can be passed to the next SearchRequest 76809 // to continue retrieving results. 76810 NextToken *string `type:"string"` 76811 76812 // The name of the Amazon SageMaker resource to search for. 76813 // 76814 // Resource is a required field 76815 Resource *string `type:"string" required:"true" enum:"ResourceType"` 76816 76817 // A Boolean conditional statement. Resources must satisfy this condition to 76818 // be included in search results. You must provide at least one subexpression, 76819 // filter, or nested filter. The maximum number of recursive SubExpressions, 76820 // NestedFilters, and Filters that can be included in a SearchExpression object 76821 // is 50. 76822 SearchExpression *SearchExpression `type:"structure"` 76823 76824 // The name of the resource property used to sort the SearchResults. The default 76825 // is LastModifiedTime. 76826 SortBy *string `min:"1" type:"string"` 76827 76828 // How SearchResults are ordered. Valid values are Ascending or Descending. 76829 // The default is Descending. 76830 SortOrder *string `type:"string" enum:"SearchSortOrder"` 76831 } 76832 76833 // String returns the string representation. 76834 // 76835 // API parameter values that are decorated as "sensitive" in the API will not 76836 // be included in the string output. The member name will be present, but the 76837 // value will be replaced with "sensitive". 76838 func (s SearchInput) String() string { 76839 return awsutil.Prettify(s) 76840 } 76841 76842 // GoString returns the string representation. 76843 // 76844 // API parameter values that are decorated as "sensitive" in the API will not 76845 // be included in the string output. The member name will be present, but the 76846 // value will be replaced with "sensitive". 76847 func (s SearchInput) GoString() string { 76848 return s.String() 76849 } 76850 76851 // Validate inspects the fields of the type to determine if they are valid. 76852 func (s *SearchInput) Validate() error { 76853 invalidParams := request.ErrInvalidParams{Context: "SearchInput"} 76854 if s.MaxResults != nil && *s.MaxResults < 1 { 76855 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 76856 } 76857 if s.Resource == nil { 76858 invalidParams.Add(request.NewErrParamRequired("Resource")) 76859 } 76860 if s.SortBy != nil && len(*s.SortBy) < 1 { 76861 invalidParams.Add(request.NewErrParamMinLen("SortBy", 1)) 76862 } 76863 if s.SearchExpression != nil { 76864 if err := s.SearchExpression.Validate(); err != nil { 76865 invalidParams.AddNested("SearchExpression", err.(request.ErrInvalidParams)) 76866 } 76867 } 76868 76869 if invalidParams.Len() > 0 { 76870 return invalidParams 76871 } 76872 return nil 76873 } 76874 76875 // SetMaxResults sets the MaxResults field's value. 76876 func (s *SearchInput) SetMaxResults(v int64) *SearchInput { 76877 s.MaxResults = &v 76878 return s 76879 } 76880 76881 // SetNextToken sets the NextToken field's value. 76882 func (s *SearchInput) SetNextToken(v string) *SearchInput { 76883 s.NextToken = &v 76884 return s 76885 } 76886 76887 // SetResource sets the Resource field's value. 76888 func (s *SearchInput) SetResource(v string) *SearchInput { 76889 s.Resource = &v 76890 return s 76891 } 76892 76893 // SetSearchExpression sets the SearchExpression field's value. 76894 func (s *SearchInput) SetSearchExpression(v *SearchExpression) *SearchInput { 76895 s.SearchExpression = v 76896 return s 76897 } 76898 76899 // SetSortBy sets the SortBy field's value. 76900 func (s *SearchInput) SetSortBy(v string) *SearchInput { 76901 s.SortBy = &v 76902 return s 76903 } 76904 76905 // SetSortOrder sets the SortOrder field's value. 76906 func (s *SearchInput) SetSortOrder(v string) *SearchInput { 76907 s.SortOrder = &v 76908 return s 76909 } 76910 76911 type SearchOutput struct { 76912 _ struct{} `type:"structure"` 76913 76914 // If the result of the previous Search request was truncated, the response 76915 // includes a NextToken. To retrieve the next set of results, use the token 76916 // in the next request. 76917 NextToken *string `type:"string"` 76918 76919 // A list of SearchRecord objects. 76920 Results []*SearchRecord `type:"list"` 76921 } 76922 76923 // String returns the string representation. 76924 // 76925 // API parameter values that are decorated as "sensitive" in the API will not 76926 // be included in the string output. The member name will be present, but the 76927 // value will be replaced with "sensitive". 76928 func (s SearchOutput) String() string { 76929 return awsutil.Prettify(s) 76930 } 76931 76932 // GoString returns the string representation. 76933 // 76934 // API parameter values that are decorated as "sensitive" in the API will not 76935 // be included in the string output. The member name will be present, but the 76936 // value will be replaced with "sensitive". 76937 func (s SearchOutput) GoString() string { 76938 return s.String() 76939 } 76940 76941 // SetNextToken sets the NextToken field's value. 76942 func (s *SearchOutput) SetNextToken(v string) *SearchOutput { 76943 s.NextToken = &v 76944 return s 76945 } 76946 76947 // SetResults sets the Results field's value. 76948 func (s *SearchOutput) SetResults(v []*SearchRecord) *SearchOutput { 76949 s.Results = v 76950 return s 76951 } 76952 76953 // A single resource returned as part of the Search API response. 76954 type SearchRecord struct { 76955 _ struct{} `type:"structure"` 76956 76957 // A hosted endpoint for real-time inference. 76958 Endpoint *Endpoint `type:"structure"` 76959 76960 // The properties of an experiment. 76961 Experiment *Experiment `type:"structure"` 76962 76963 // Amazon SageMaker Feature Store stores features in a collection called Feature 76964 // Group. A Feature Group can be visualized as a table which has rows, with 76965 // a unique identifier for each row where each column in the table is a feature. 76966 // In principle, a Feature Group is composed of features and values per features. 76967 FeatureGroup *FeatureGroup `type:"structure"` 76968 76969 // A versioned model that can be deployed for SageMaker inference. 76970 ModelPackage *ModelPackage `type:"structure"` 76971 76972 // A group of versioned models in the model registry. 76973 ModelPackageGroup *ModelPackageGroup `type:"structure"` 76974 76975 // A SageMaker Model Building Pipeline instance. 76976 Pipeline *Pipeline `type:"structure"` 76977 76978 // An execution of a pipeline. 76979 PipelineExecution *PipelineExecution `type:"structure"` 76980 76981 // The properties of a project. 76982 Project *Project `type:"structure"` 76983 76984 // The properties of a training job. 76985 TrainingJob *TrainingJob `type:"structure"` 76986 76987 // The properties of a trial. 76988 Trial *Trial `type:"structure"` 76989 76990 // The properties of a trial component. 76991 TrialComponent *TrialComponent `type:"structure"` 76992 } 76993 76994 // String returns the string representation. 76995 // 76996 // API parameter values that are decorated as "sensitive" in the API will not 76997 // be included in the string output. The member name will be present, but the 76998 // value will be replaced with "sensitive". 76999 func (s SearchRecord) String() string { 77000 return awsutil.Prettify(s) 77001 } 77002 77003 // GoString returns the string representation. 77004 // 77005 // API parameter values that are decorated as "sensitive" in the API will not 77006 // be included in the string output. The member name will be present, but the 77007 // value will be replaced with "sensitive". 77008 func (s SearchRecord) GoString() string { 77009 return s.String() 77010 } 77011 77012 // SetEndpoint sets the Endpoint field's value. 77013 func (s *SearchRecord) SetEndpoint(v *Endpoint) *SearchRecord { 77014 s.Endpoint = v 77015 return s 77016 } 77017 77018 // SetExperiment sets the Experiment field's value. 77019 func (s *SearchRecord) SetExperiment(v *Experiment) *SearchRecord { 77020 s.Experiment = v 77021 return s 77022 } 77023 77024 // SetFeatureGroup sets the FeatureGroup field's value. 77025 func (s *SearchRecord) SetFeatureGroup(v *FeatureGroup) *SearchRecord { 77026 s.FeatureGroup = v 77027 return s 77028 } 77029 77030 // SetModelPackage sets the ModelPackage field's value. 77031 func (s *SearchRecord) SetModelPackage(v *ModelPackage) *SearchRecord { 77032 s.ModelPackage = v 77033 return s 77034 } 77035 77036 // SetModelPackageGroup sets the ModelPackageGroup field's value. 77037 func (s *SearchRecord) SetModelPackageGroup(v *ModelPackageGroup) *SearchRecord { 77038 s.ModelPackageGroup = v 77039 return s 77040 } 77041 77042 // SetPipeline sets the Pipeline field's value. 77043 func (s *SearchRecord) SetPipeline(v *Pipeline) *SearchRecord { 77044 s.Pipeline = v 77045 return s 77046 } 77047 77048 // SetPipelineExecution sets the PipelineExecution field's value. 77049 func (s *SearchRecord) SetPipelineExecution(v *PipelineExecution) *SearchRecord { 77050 s.PipelineExecution = v 77051 return s 77052 } 77053 77054 // SetProject sets the Project field's value. 77055 func (s *SearchRecord) SetProject(v *Project) *SearchRecord { 77056 s.Project = v 77057 return s 77058 } 77059 77060 // SetTrainingJob sets the TrainingJob field's value. 77061 func (s *SearchRecord) SetTrainingJob(v *TrainingJob) *SearchRecord { 77062 s.TrainingJob = v 77063 return s 77064 } 77065 77066 // SetTrial sets the Trial field's value. 77067 func (s *SearchRecord) SetTrial(v *Trial) *SearchRecord { 77068 s.Trial = v 77069 return s 77070 } 77071 77072 // SetTrialComponent sets the TrialComponent field's value. 77073 func (s *SearchRecord) SetTrialComponent(v *TrialComponent) *SearchRecord { 77074 s.TrialComponent = v 77075 return s 77076 } 77077 77078 // An array element of DescribeTrainingJobResponse$SecondaryStatusTransitions. 77079 // It provides additional details about a status that the training job has transitioned 77080 // through. A training job can be in one of several states, for example, starting, 77081 // downloading, training, or uploading. Within each state, there are a number 77082 // of intermediate states. For example, within the starting state, Amazon SageMaker 77083 // could be starting the training job or launching the ML instances. These transitional 77084 // states are referred to as the job's secondary status. 77085 type SecondaryStatusTransition struct { 77086 _ struct{} `type:"structure"` 77087 77088 // A timestamp that shows when the training job transitioned out of this secondary 77089 // status state into another secondary status state or when the training job 77090 // has ended. 77091 EndTime *time.Time `type:"timestamp"` 77092 77093 // A timestamp that shows when the training job transitioned to the current 77094 // secondary status state. 77095 // 77096 // StartTime is a required field 77097 StartTime *time.Time `type:"timestamp" required:"true"` 77098 77099 // Contains a secondary status information from a training job. 77100 // 77101 // Status might be one of the following secondary statuses: 77102 // 77103 // InProgress 77104 // 77105 // * Starting - Starting the training job. 77106 // 77107 // * Downloading - An optional stage for algorithms that support File training 77108 // input mode. It indicates that data is being downloaded to the ML storage 77109 // volumes. 77110 // 77111 // * Training - Training is in progress. 77112 // 77113 // * Uploading - Training is complete and the model artifacts are being uploaded 77114 // to the S3 location. 77115 // 77116 // Completed 77117 // 77118 // * Completed - The training job has completed. 77119 // 77120 // Failed 77121 // 77122 // * Failed - The training job has failed. The reason for the failure is 77123 // returned in the FailureReason field of DescribeTrainingJobResponse. 77124 // 77125 // Stopped 77126 // 77127 // * MaxRuntimeExceeded - The job stopped because it exceeded the maximum 77128 // allowed runtime. 77129 // 77130 // * Stopped - The training job has stopped. 77131 // 77132 // Stopping 77133 // 77134 // * Stopping - Stopping the training job. 77135 // 77136 // We no longer support the following secondary statuses: 77137 // 77138 // * LaunchingMLInstances 77139 // 77140 // * PreparingTrainingStack 77141 // 77142 // * DownloadingTrainingImage 77143 // 77144 // Status is a required field 77145 Status *string `type:"string" required:"true" enum:"SecondaryStatus"` 77146 77147 // A detailed description of the progress within a secondary status. 77148 // 77149 // Amazon SageMaker provides secondary statuses and status messages that apply 77150 // to each of them: 77151 // 77152 // Starting 77153 // 77154 // * Starting the training job. 77155 // 77156 // * Launching requested ML instances. 77157 // 77158 // * Insufficient capacity error from EC2 while launching instances, retrying! 77159 // 77160 // * Launched instance was unhealthy, replacing it! 77161 // 77162 // * Preparing the instances for training. 77163 // 77164 // Training 77165 // 77166 // * Downloading the training image. 77167 // 77168 // * Training image download completed. Training in progress. 77169 // 77170 // Status messages are subject to change. Therefore, we recommend not including 77171 // them in code that programmatically initiates actions. For examples, don't 77172 // use status messages in if statements. 77173 // 77174 // To have an overview of your training job's progress, view TrainingJobStatus 77175 // and SecondaryStatus in DescribeTrainingJob, and StatusMessage together. For 77176 // example, at the start of a training job, you might see the following: 77177 // 77178 // * TrainingJobStatus - InProgress 77179 // 77180 // * SecondaryStatus - Training 77181 // 77182 // * StatusMessage - Downloading the training image 77183 StatusMessage *string `type:"string"` 77184 } 77185 77186 // String returns the string representation. 77187 // 77188 // API parameter values that are decorated as "sensitive" in the API will not 77189 // be included in the string output. The member name will be present, but the 77190 // value will be replaced with "sensitive". 77191 func (s SecondaryStatusTransition) String() string { 77192 return awsutil.Prettify(s) 77193 } 77194 77195 // GoString returns the string representation. 77196 // 77197 // API parameter values that are decorated as "sensitive" in the API will not 77198 // be included in the string output. The member name will be present, but the 77199 // value will be replaced with "sensitive". 77200 func (s SecondaryStatusTransition) GoString() string { 77201 return s.String() 77202 } 77203 77204 // SetEndTime sets the EndTime field's value. 77205 func (s *SecondaryStatusTransition) SetEndTime(v time.Time) *SecondaryStatusTransition { 77206 s.EndTime = &v 77207 return s 77208 } 77209 77210 // SetStartTime sets the StartTime field's value. 77211 func (s *SecondaryStatusTransition) SetStartTime(v time.Time) *SecondaryStatusTransition { 77212 s.StartTime = &v 77213 return s 77214 } 77215 77216 // SetStatus sets the Status field's value. 77217 func (s *SecondaryStatusTransition) SetStatus(v string) *SecondaryStatusTransition { 77218 s.Status = &v 77219 return s 77220 } 77221 77222 // SetStatusMessage sets the StatusMessage field's value. 77223 func (s *SecondaryStatusTransition) SetStatusMessage(v string) *SecondaryStatusTransition { 77224 s.StatusMessage = &v 77225 return s 77226 } 77227 77228 type SendPipelineExecutionStepFailureInput struct { 77229 _ struct{} `type:"structure"` 77230 77231 // The pipeline generated token from the Amazon SQS queue. 77232 // 77233 // CallbackToken is a required field 77234 CallbackToken *string `min:"10" type:"string" required:"true"` 77235 77236 // A unique, case-sensitive identifier that you provide to ensure the idempotency 77237 // of the operation. An idempotent operation completes no more than one time. 77238 ClientRequestToken *string `min:"32" type:"string" idempotencyToken:"true"` 77239 77240 // A message describing why the step failed. 77241 FailureReason *string `type:"string"` 77242 } 77243 77244 // String returns the string representation. 77245 // 77246 // API parameter values that are decorated as "sensitive" in the API will not 77247 // be included in the string output. The member name will be present, but the 77248 // value will be replaced with "sensitive". 77249 func (s SendPipelineExecutionStepFailureInput) String() string { 77250 return awsutil.Prettify(s) 77251 } 77252 77253 // GoString returns the string representation. 77254 // 77255 // API parameter values that are decorated as "sensitive" in the API will not 77256 // be included in the string output. The member name will be present, but the 77257 // value will be replaced with "sensitive". 77258 func (s SendPipelineExecutionStepFailureInput) GoString() string { 77259 return s.String() 77260 } 77261 77262 // Validate inspects the fields of the type to determine if they are valid. 77263 func (s *SendPipelineExecutionStepFailureInput) Validate() error { 77264 invalidParams := request.ErrInvalidParams{Context: "SendPipelineExecutionStepFailureInput"} 77265 if s.CallbackToken == nil { 77266 invalidParams.Add(request.NewErrParamRequired("CallbackToken")) 77267 } 77268 if s.CallbackToken != nil && len(*s.CallbackToken) < 10 { 77269 invalidParams.Add(request.NewErrParamMinLen("CallbackToken", 10)) 77270 } 77271 if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 32 { 77272 invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 32)) 77273 } 77274 77275 if invalidParams.Len() > 0 { 77276 return invalidParams 77277 } 77278 return nil 77279 } 77280 77281 // SetCallbackToken sets the CallbackToken field's value. 77282 func (s *SendPipelineExecutionStepFailureInput) SetCallbackToken(v string) *SendPipelineExecutionStepFailureInput { 77283 s.CallbackToken = &v 77284 return s 77285 } 77286 77287 // SetClientRequestToken sets the ClientRequestToken field's value. 77288 func (s *SendPipelineExecutionStepFailureInput) SetClientRequestToken(v string) *SendPipelineExecutionStepFailureInput { 77289 s.ClientRequestToken = &v 77290 return s 77291 } 77292 77293 // SetFailureReason sets the FailureReason field's value. 77294 func (s *SendPipelineExecutionStepFailureInput) SetFailureReason(v string) *SendPipelineExecutionStepFailureInput { 77295 s.FailureReason = &v 77296 return s 77297 } 77298 77299 type SendPipelineExecutionStepFailureOutput struct { 77300 _ struct{} `type:"structure"` 77301 77302 // The Amazon Resource Name (ARN) of the pipeline execution. 77303 PipelineExecutionArn *string `type:"string"` 77304 } 77305 77306 // String returns the string representation. 77307 // 77308 // API parameter values that are decorated as "sensitive" in the API will not 77309 // be included in the string output. The member name will be present, but the 77310 // value will be replaced with "sensitive". 77311 func (s SendPipelineExecutionStepFailureOutput) String() string { 77312 return awsutil.Prettify(s) 77313 } 77314 77315 // GoString returns the string representation. 77316 // 77317 // API parameter values that are decorated as "sensitive" in the API will not 77318 // be included in the string output. The member name will be present, but the 77319 // value will be replaced with "sensitive". 77320 func (s SendPipelineExecutionStepFailureOutput) GoString() string { 77321 return s.String() 77322 } 77323 77324 // SetPipelineExecutionArn sets the PipelineExecutionArn field's value. 77325 func (s *SendPipelineExecutionStepFailureOutput) SetPipelineExecutionArn(v string) *SendPipelineExecutionStepFailureOutput { 77326 s.PipelineExecutionArn = &v 77327 return s 77328 } 77329 77330 type SendPipelineExecutionStepSuccessInput struct { 77331 _ struct{} `type:"structure"` 77332 77333 // The pipeline generated token from the Amazon SQS queue. 77334 // 77335 // CallbackToken is a required field 77336 CallbackToken *string `min:"10" type:"string" required:"true"` 77337 77338 // A unique, case-sensitive identifier that you provide to ensure the idempotency 77339 // of the operation. An idempotent operation completes no more than one time. 77340 ClientRequestToken *string `min:"32" type:"string" idempotencyToken:"true"` 77341 77342 // A list of the output parameters of the callback step. 77343 OutputParameters []*OutputParameter `type:"list"` 77344 } 77345 77346 // String returns the string representation. 77347 // 77348 // API parameter values that are decorated as "sensitive" in the API will not 77349 // be included in the string output. The member name will be present, but the 77350 // value will be replaced with "sensitive". 77351 func (s SendPipelineExecutionStepSuccessInput) String() string { 77352 return awsutil.Prettify(s) 77353 } 77354 77355 // GoString returns the string representation. 77356 // 77357 // API parameter values that are decorated as "sensitive" in the API will not 77358 // be included in the string output. The member name will be present, but the 77359 // value will be replaced with "sensitive". 77360 func (s SendPipelineExecutionStepSuccessInput) GoString() string { 77361 return s.String() 77362 } 77363 77364 // Validate inspects the fields of the type to determine if they are valid. 77365 func (s *SendPipelineExecutionStepSuccessInput) Validate() error { 77366 invalidParams := request.ErrInvalidParams{Context: "SendPipelineExecutionStepSuccessInput"} 77367 if s.CallbackToken == nil { 77368 invalidParams.Add(request.NewErrParamRequired("CallbackToken")) 77369 } 77370 if s.CallbackToken != nil && len(*s.CallbackToken) < 10 { 77371 invalidParams.Add(request.NewErrParamMinLen("CallbackToken", 10)) 77372 } 77373 if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 32 { 77374 invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 32)) 77375 } 77376 if s.OutputParameters != nil { 77377 for i, v := range s.OutputParameters { 77378 if v == nil { 77379 continue 77380 } 77381 if err := v.Validate(); err != nil { 77382 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OutputParameters", i), err.(request.ErrInvalidParams)) 77383 } 77384 } 77385 } 77386 77387 if invalidParams.Len() > 0 { 77388 return invalidParams 77389 } 77390 return nil 77391 } 77392 77393 // SetCallbackToken sets the CallbackToken field's value. 77394 func (s *SendPipelineExecutionStepSuccessInput) SetCallbackToken(v string) *SendPipelineExecutionStepSuccessInput { 77395 s.CallbackToken = &v 77396 return s 77397 } 77398 77399 // SetClientRequestToken sets the ClientRequestToken field's value. 77400 func (s *SendPipelineExecutionStepSuccessInput) SetClientRequestToken(v string) *SendPipelineExecutionStepSuccessInput { 77401 s.ClientRequestToken = &v 77402 return s 77403 } 77404 77405 // SetOutputParameters sets the OutputParameters field's value. 77406 func (s *SendPipelineExecutionStepSuccessInput) SetOutputParameters(v []*OutputParameter) *SendPipelineExecutionStepSuccessInput { 77407 s.OutputParameters = v 77408 return s 77409 } 77410 77411 type SendPipelineExecutionStepSuccessOutput struct { 77412 _ struct{} `type:"structure"` 77413 77414 // The Amazon Resource Name (ARN) of the pipeline execution. 77415 PipelineExecutionArn *string `type:"string"` 77416 } 77417 77418 // String returns the string representation. 77419 // 77420 // API parameter values that are decorated as "sensitive" in the API will not 77421 // be included in the string output. The member name will be present, but the 77422 // value will be replaced with "sensitive". 77423 func (s SendPipelineExecutionStepSuccessOutput) String() string { 77424 return awsutil.Prettify(s) 77425 } 77426 77427 // GoString returns the string representation. 77428 // 77429 // API parameter values that are decorated as "sensitive" in the API will not 77430 // be included in the string output. The member name will be present, but the 77431 // value will be replaced with "sensitive". 77432 func (s SendPipelineExecutionStepSuccessOutput) GoString() string { 77433 return s.String() 77434 } 77435 77436 // SetPipelineExecutionArn sets the PipelineExecutionArn field's value. 77437 func (s *SendPipelineExecutionStepSuccessOutput) SetPipelineExecutionArn(v string) *SendPipelineExecutionStepSuccessOutput { 77438 s.PipelineExecutionArn = &v 77439 return s 77440 } 77441 77442 // Details of a provisioned service catalog product. For information about service 77443 // catalog, see What is Amazon Web Services Service Catalog (https://docs.aws.amazon.com/servicecatalog/latest/adminguide/introduction.html). 77444 type ServiceCatalogProvisionedProductDetails struct { 77445 _ struct{} `type:"structure"` 77446 77447 // The ID of the provisioned product. 77448 ProvisionedProductId *string `min:"1" type:"string"` 77449 77450 // The current status of the product. 77451 // 77452 // * AVAILABLE - Stable state, ready to perform any operation. The most recent 77453 // operation succeeded and completed. 77454 // 77455 // * UNDER_CHANGE - Transitive state. Operations performed might not have 77456 // valid results. Wait for an AVAILABLE status before performing operations. 77457 // 77458 // * TAINTED - Stable state, ready to perform any operation. The stack has 77459 // completed the requested operation but is not exactly what was requested. 77460 // For example, a request to update to a new version failed and the stack 77461 // rolled back to the current version. 77462 // 77463 // * ERROR - An unexpected error occurred. The provisioned product exists 77464 // but the stack is not running. For example, CloudFormation received a parameter 77465 // value that was not valid and could not launch the stack. 77466 // 77467 // * PLAN_IN_PROGRESS - Transitive state. The plan operations were performed 77468 // to provision a new product, but resources have not yet been created. After 77469 // reviewing the list of resources to be created, execute the plan. Wait 77470 // for an AVAILABLE status before performing operations. 77471 ProvisionedProductStatusMessage *string `type:"string"` 77472 } 77473 77474 // String returns the string representation. 77475 // 77476 // API parameter values that are decorated as "sensitive" in the API will not 77477 // be included in the string output. The member name will be present, but the 77478 // value will be replaced with "sensitive". 77479 func (s ServiceCatalogProvisionedProductDetails) String() string { 77480 return awsutil.Prettify(s) 77481 } 77482 77483 // GoString returns the string representation. 77484 // 77485 // API parameter values that are decorated as "sensitive" in the API will not 77486 // be included in the string output. The member name will be present, but the 77487 // value will be replaced with "sensitive". 77488 func (s ServiceCatalogProvisionedProductDetails) GoString() string { 77489 return s.String() 77490 } 77491 77492 // SetProvisionedProductId sets the ProvisionedProductId field's value. 77493 func (s *ServiceCatalogProvisionedProductDetails) SetProvisionedProductId(v string) *ServiceCatalogProvisionedProductDetails { 77494 s.ProvisionedProductId = &v 77495 return s 77496 } 77497 77498 // SetProvisionedProductStatusMessage sets the ProvisionedProductStatusMessage field's value. 77499 func (s *ServiceCatalogProvisionedProductDetails) SetProvisionedProductStatusMessage(v string) *ServiceCatalogProvisionedProductDetails { 77500 s.ProvisionedProductStatusMessage = &v 77501 return s 77502 } 77503 77504 // Details that you specify to provision a service catalog product. For information 77505 // about service catalog, see What is Amazon Web Services Service Catalog (https://docs.aws.amazon.com/servicecatalog/latest/adminguide/introduction.html). 77506 type ServiceCatalogProvisioningDetails struct { 77507 _ struct{} `type:"structure"` 77508 77509 // The path identifier of the product. This value is optional if the product 77510 // has a default path, and required if the product has more than one path. 77511 PathId *string `min:"1" type:"string"` 77512 77513 // The ID of the product to provision. 77514 // 77515 // ProductId is a required field 77516 ProductId *string `min:"1" type:"string" required:"true"` 77517 77518 // The ID of the provisioning artifact. 77519 // 77520 // ProvisioningArtifactId is a required field 77521 ProvisioningArtifactId *string `min:"1" type:"string" required:"true"` 77522 77523 // A list of key value pairs that you specify when you provision a product. 77524 ProvisioningParameters []*ProvisioningParameter `type:"list"` 77525 } 77526 77527 // String returns the string representation. 77528 // 77529 // API parameter values that are decorated as "sensitive" in the API will not 77530 // be included in the string output. The member name will be present, but the 77531 // value will be replaced with "sensitive". 77532 func (s ServiceCatalogProvisioningDetails) String() string { 77533 return awsutil.Prettify(s) 77534 } 77535 77536 // GoString returns the string representation. 77537 // 77538 // API parameter values that are decorated as "sensitive" in the API will not 77539 // be included in the string output. The member name will be present, but the 77540 // value will be replaced with "sensitive". 77541 func (s ServiceCatalogProvisioningDetails) GoString() string { 77542 return s.String() 77543 } 77544 77545 // Validate inspects the fields of the type to determine if they are valid. 77546 func (s *ServiceCatalogProvisioningDetails) Validate() error { 77547 invalidParams := request.ErrInvalidParams{Context: "ServiceCatalogProvisioningDetails"} 77548 if s.PathId != nil && len(*s.PathId) < 1 { 77549 invalidParams.Add(request.NewErrParamMinLen("PathId", 1)) 77550 } 77551 if s.ProductId == nil { 77552 invalidParams.Add(request.NewErrParamRequired("ProductId")) 77553 } 77554 if s.ProductId != nil && len(*s.ProductId) < 1 { 77555 invalidParams.Add(request.NewErrParamMinLen("ProductId", 1)) 77556 } 77557 if s.ProvisioningArtifactId == nil { 77558 invalidParams.Add(request.NewErrParamRequired("ProvisioningArtifactId")) 77559 } 77560 if s.ProvisioningArtifactId != nil && len(*s.ProvisioningArtifactId) < 1 { 77561 invalidParams.Add(request.NewErrParamMinLen("ProvisioningArtifactId", 1)) 77562 } 77563 if s.ProvisioningParameters != nil { 77564 for i, v := range s.ProvisioningParameters { 77565 if v == nil { 77566 continue 77567 } 77568 if err := v.Validate(); err != nil { 77569 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ProvisioningParameters", i), err.(request.ErrInvalidParams)) 77570 } 77571 } 77572 } 77573 77574 if invalidParams.Len() > 0 { 77575 return invalidParams 77576 } 77577 return nil 77578 } 77579 77580 // SetPathId sets the PathId field's value. 77581 func (s *ServiceCatalogProvisioningDetails) SetPathId(v string) *ServiceCatalogProvisioningDetails { 77582 s.PathId = &v 77583 return s 77584 } 77585 77586 // SetProductId sets the ProductId field's value. 77587 func (s *ServiceCatalogProvisioningDetails) SetProductId(v string) *ServiceCatalogProvisioningDetails { 77588 s.ProductId = &v 77589 return s 77590 } 77591 77592 // SetProvisioningArtifactId sets the ProvisioningArtifactId field's value. 77593 func (s *ServiceCatalogProvisioningDetails) SetProvisioningArtifactId(v string) *ServiceCatalogProvisioningDetails { 77594 s.ProvisioningArtifactId = &v 77595 return s 77596 } 77597 77598 // SetProvisioningParameters sets the ProvisioningParameters field's value. 77599 func (s *ServiceCatalogProvisioningDetails) SetProvisioningParameters(v []*ProvisioningParameter) *ServiceCatalogProvisioningDetails { 77600 s.ProvisioningParameters = v 77601 return s 77602 } 77603 77604 // Specifies options for sharing SageMaker Studio notebooks. These settings 77605 // are specified as part of DefaultUserSettings when the CreateDomain API is 77606 // called, and as part of UserSettings when the CreateUserProfile API is called. 77607 // When SharingSettings is not specified, notebook sharing isn't allowed. 77608 type SharingSettings struct { 77609 _ struct{} `type:"structure"` 77610 77611 // Whether to include the notebook cell output when sharing the notebook. The 77612 // default is Disabled. 77613 NotebookOutputOption *string `type:"string" enum:"NotebookOutputOption"` 77614 77615 // When NotebookOutputOption is Allowed, the Amazon Web Services Key Management 77616 // Service (KMS) encryption key ID used to encrypt the notebook cell output 77617 // in the Amazon S3 bucket. 77618 S3KmsKeyId *string `type:"string"` 77619 77620 // When NotebookOutputOption is Allowed, the Amazon S3 bucket used to store 77621 // the shared notebook snapshots. 77622 S3OutputPath *string `type:"string"` 77623 } 77624 77625 // String returns the string representation. 77626 // 77627 // API parameter values that are decorated as "sensitive" in the API will not 77628 // be included in the string output. The member name will be present, but the 77629 // value will be replaced with "sensitive". 77630 func (s SharingSettings) String() string { 77631 return awsutil.Prettify(s) 77632 } 77633 77634 // GoString returns the string representation. 77635 // 77636 // API parameter values that are decorated as "sensitive" in the API will not 77637 // be included in the string output. The member name will be present, but the 77638 // value will be replaced with "sensitive". 77639 func (s SharingSettings) GoString() string { 77640 return s.String() 77641 } 77642 77643 // SetNotebookOutputOption sets the NotebookOutputOption field's value. 77644 func (s *SharingSettings) SetNotebookOutputOption(v string) *SharingSettings { 77645 s.NotebookOutputOption = &v 77646 return s 77647 } 77648 77649 // SetS3KmsKeyId sets the S3KmsKeyId field's value. 77650 func (s *SharingSettings) SetS3KmsKeyId(v string) *SharingSettings { 77651 s.S3KmsKeyId = &v 77652 return s 77653 } 77654 77655 // SetS3OutputPath sets the S3OutputPath field's value. 77656 func (s *SharingSettings) SetS3OutputPath(v string) *SharingSettings { 77657 s.S3OutputPath = &v 77658 return s 77659 } 77660 77661 // A configuration for a shuffle option for input data in a channel. If you 77662 // use S3Prefix for S3DataType, the results of the S3 key prefix matches are 77663 // shuffled. If you use ManifestFile, the order of the S3 object references 77664 // in the ManifestFile is shuffled. If you use AugmentedManifestFile, the order 77665 // of the JSON lines in the AugmentedManifestFile is shuffled. The shuffling 77666 // order is determined using the Seed value. 77667 // 77668 // For Pipe input mode, when ShuffleConfig is specified shuffling is done at 77669 // the start of every epoch. With large datasets, this ensures that the order 77670 // of the training data is different for each epoch, and it helps reduce bias 77671 // and possible overfitting. In a multi-node training job when ShuffleConfig 77672 // is combined with S3DataDistributionType of ShardedByS3Key, the data is shuffled 77673 // across nodes so that the content sent to a particular node on the first epoch 77674 // might be sent to a different node on the second epoch. 77675 type ShuffleConfig struct { 77676 _ struct{} `type:"structure"` 77677 77678 // Determines the shuffling order in ShuffleConfig value. 77679 // 77680 // Seed is a required field 77681 Seed *int64 `type:"long" required:"true"` 77682 } 77683 77684 // String returns the string representation. 77685 // 77686 // API parameter values that are decorated as "sensitive" in the API will not 77687 // be included in the string output. The member name will be present, but the 77688 // value will be replaced with "sensitive". 77689 func (s ShuffleConfig) String() string { 77690 return awsutil.Prettify(s) 77691 } 77692 77693 // GoString returns the string representation. 77694 // 77695 // API parameter values that are decorated as "sensitive" in the API will not 77696 // be included in the string output. The member name will be present, but the 77697 // value will be replaced with "sensitive". 77698 func (s ShuffleConfig) GoString() string { 77699 return s.String() 77700 } 77701 77702 // Validate inspects the fields of the type to determine if they are valid. 77703 func (s *ShuffleConfig) Validate() error { 77704 invalidParams := request.ErrInvalidParams{Context: "ShuffleConfig"} 77705 if s.Seed == nil { 77706 invalidParams.Add(request.NewErrParamRequired("Seed")) 77707 } 77708 77709 if invalidParams.Len() > 0 { 77710 return invalidParams 77711 } 77712 return nil 77713 } 77714 77715 // SetSeed sets the Seed field's value. 77716 func (s *ShuffleConfig) SetSeed(v int64) *ShuffleConfig { 77717 s.Seed = &v 77718 return s 77719 } 77720 77721 // Specifies an algorithm that was used to create the model package. The algorithm 77722 // must be either an algorithm resource in your Amazon SageMaker account or 77723 // an algorithm in Amazon Web Services Marketplace that you are subscribed to. 77724 type SourceAlgorithm struct { 77725 _ struct{} `type:"structure"` 77726 77727 // The name of an algorithm that was used to create the model package. The algorithm 77728 // must be either an algorithm resource in your Amazon SageMaker account or 77729 // an algorithm in Amazon Web Services Marketplace that you are subscribed to. 77730 // 77731 // AlgorithmName is a required field 77732 AlgorithmName *string `min:"1" type:"string" required:"true"` 77733 77734 // The Amazon S3 path where the model artifacts, which result from model training, 77735 // are stored. This path must point to a single gzip compressed tar archive 77736 // (.tar.gz suffix). 77737 // 77738 // The model artifacts must be in an S3 bucket that is in the same region as 77739 // the algorithm. 77740 ModelDataUrl *string `type:"string"` 77741 } 77742 77743 // String returns the string representation. 77744 // 77745 // API parameter values that are decorated as "sensitive" in the API will not 77746 // be included in the string output. The member name will be present, but the 77747 // value will be replaced with "sensitive". 77748 func (s SourceAlgorithm) String() string { 77749 return awsutil.Prettify(s) 77750 } 77751 77752 // GoString returns the string representation. 77753 // 77754 // API parameter values that are decorated as "sensitive" in the API will not 77755 // be included in the string output. The member name will be present, but the 77756 // value will be replaced with "sensitive". 77757 func (s SourceAlgorithm) GoString() string { 77758 return s.String() 77759 } 77760 77761 // Validate inspects the fields of the type to determine if they are valid. 77762 func (s *SourceAlgorithm) Validate() error { 77763 invalidParams := request.ErrInvalidParams{Context: "SourceAlgorithm"} 77764 if s.AlgorithmName == nil { 77765 invalidParams.Add(request.NewErrParamRequired("AlgorithmName")) 77766 } 77767 if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 { 77768 invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1)) 77769 } 77770 77771 if invalidParams.Len() > 0 { 77772 return invalidParams 77773 } 77774 return nil 77775 } 77776 77777 // SetAlgorithmName sets the AlgorithmName field's value. 77778 func (s *SourceAlgorithm) SetAlgorithmName(v string) *SourceAlgorithm { 77779 s.AlgorithmName = &v 77780 return s 77781 } 77782 77783 // SetModelDataUrl sets the ModelDataUrl field's value. 77784 func (s *SourceAlgorithm) SetModelDataUrl(v string) *SourceAlgorithm { 77785 s.ModelDataUrl = &v 77786 return s 77787 } 77788 77789 // A list of algorithms that were used to create a model package. 77790 type SourceAlgorithmSpecification struct { 77791 _ struct{} `type:"structure"` 77792 77793 // A list of the algorithms that were used to create a model package. 77794 // 77795 // SourceAlgorithms is a required field 77796 SourceAlgorithms []*SourceAlgorithm `min:"1" type:"list" required:"true"` 77797 } 77798 77799 // String returns the string representation. 77800 // 77801 // API parameter values that are decorated as "sensitive" in the API will not 77802 // be included in the string output. The member name will be present, but the 77803 // value will be replaced with "sensitive". 77804 func (s SourceAlgorithmSpecification) String() string { 77805 return awsutil.Prettify(s) 77806 } 77807 77808 // GoString returns the string representation. 77809 // 77810 // API parameter values that are decorated as "sensitive" in the API will not 77811 // be included in the string output. The member name will be present, but the 77812 // value will be replaced with "sensitive". 77813 func (s SourceAlgorithmSpecification) GoString() string { 77814 return s.String() 77815 } 77816 77817 // Validate inspects the fields of the type to determine if they are valid. 77818 func (s *SourceAlgorithmSpecification) Validate() error { 77819 invalidParams := request.ErrInvalidParams{Context: "SourceAlgorithmSpecification"} 77820 if s.SourceAlgorithms == nil { 77821 invalidParams.Add(request.NewErrParamRequired("SourceAlgorithms")) 77822 } 77823 if s.SourceAlgorithms != nil && len(s.SourceAlgorithms) < 1 { 77824 invalidParams.Add(request.NewErrParamMinLen("SourceAlgorithms", 1)) 77825 } 77826 if s.SourceAlgorithms != nil { 77827 for i, v := range s.SourceAlgorithms { 77828 if v == nil { 77829 continue 77830 } 77831 if err := v.Validate(); err != nil { 77832 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SourceAlgorithms", i), err.(request.ErrInvalidParams)) 77833 } 77834 } 77835 } 77836 77837 if invalidParams.Len() > 0 { 77838 return invalidParams 77839 } 77840 return nil 77841 } 77842 77843 // SetSourceAlgorithms sets the SourceAlgorithms field's value. 77844 func (s *SourceAlgorithmSpecification) SetSourceAlgorithms(v []*SourceAlgorithm) *SourceAlgorithmSpecification { 77845 s.SourceAlgorithms = v 77846 return s 77847 } 77848 77849 // A list of IP address ranges (CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html)). 77850 // Used to create an allow list of IP addresses for a private workforce. Workers 77851 // will only be able to login to their worker portal from an IP address within 77852 // this range. By default, a workforce isn't restricted to specific IP addresses. 77853 type SourceIpConfig struct { 77854 _ struct{} `type:"structure"` 77855 77856 // A list of one to ten Classless Inter-Domain Routing (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html) 77857 // (CIDR) values. 77858 // 77859 // Maximum: Ten CIDR values 77860 // 77861 // The following Length Constraints apply to individual CIDR values in the CIDR 77862 // value list. 77863 // 77864 // Cidrs is a required field 77865 Cidrs []*string `type:"list" required:"true"` 77866 } 77867 77868 // String returns the string representation. 77869 // 77870 // API parameter values that are decorated as "sensitive" in the API will not 77871 // be included in the string output. The member name will be present, but the 77872 // value will be replaced with "sensitive". 77873 func (s SourceIpConfig) String() string { 77874 return awsutil.Prettify(s) 77875 } 77876 77877 // GoString returns the string representation. 77878 // 77879 // API parameter values that are decorated as "sensitive" in the API will not 77880 // be included in the string output. The member name will be present, but the 77881 // value will be replaced with "sensitive". 77882 func (s SourceIpConfig) GoString() string { 77883 return s.String() 77884 } 77885 77886 // Validate inspects the fields of the type to determine if they are valid. 77887 func (s *SourceIpConfig) Validate() error { 77888 invalidParams := request.ErrInvalidParams{Context: "SourceIpConfig"} 77889 if s.Cidrs == nil { 77890 invalidParams.Add(request.NewErrParamRequired("Cidrs")) 77891 } 77892 77893 if invalidParams.Len() > 0 { 77894 return invalidParams 77895 } 77896 return nil 77897 } 77898 77899 // SetCidrs sets the Cidrs field's value. 77900 func (s *SourceIpConfig) SetCidrs(v []*string) *SourceIpConfig { 77901 s.Cidrs = v 77902 return s 77903 } 77904 77905 type StartMonitoringScheduleInput struct { 77906 _ struct{} `type:"structure"` 77907 77908 // The name of the schedule to start. 77909 // 77910 // MonitoringScheduleName is a required field 77911 MonitoringScheduleName *string `min:"1" type:"string" required:"true"` 77912 } 77913 77914 // String returns the string representation. 77915 // 77916 // API parameter values that are decorated as "sensitive" in the API will not 77917 // be included in the string output. The member name will be present, but the 77918 // value will be replaced with "sensitive". 77919 func (s StartMonitoringScheduleInput) String() string { 77920 return awsutil.Prettify(s) 77921 } 77922 77923 // GoString returns the string representation. 77924 // 77925 // API parameter values that are decorated as "sensitive" in the API will not 77926 // be included in the string output. The member name will be present, but the 77927 // value will be replaced with "sensitive". 77928 func (s StartMonitoringScheduleInput) GoString() string { 77929 return s.String() 77930 } 77931 77932 // Validate inspects the fields of the type to determine if they are valid. 77933 func (s *StartMonitoringScheduleInput) Validate() error { 77934 invalidParams := request.ErrInvalidParams{Context: "StartMonitoringScheduleInput"} 77935 if s.MonitoringScheduleName == nil { 77936 invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleName")) 77937 } 77938 if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 { 77939 invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1)) 77940 } 77941 77942 if invalidParams.Len() > 0 { 77943 return invalidParams 77944 } 77945 return nil 77946 } 77947 77948 // SetMonitoringScheduleName sets the MonitoringScheduleName field's value. 77949 func (s *StartMonitoringScheduleInput) SetMonitoringScheduleName(v string) *StartMonitoringScheduleInput { 77950 s.MonitoringScheduleName = &v 77951 return s 77952 } 77953 77954 type StartMonitoringScheduleOutput struct { 77955 _ struct{} `type:"structure"` 77956 } 77957 77958 // String returns the string representation. 77959 // 77960 // API parameter values that are decorated as "sensitive" in the API will not 77961 // be included in the string output. The member name will be present, but the 77962 // value will be replaced with "sensitive". 77963 func (s StartMonitoringScheduleOutput) String() string { 77964 return awsutil.Prettify(s) 77965 } 77966 77967 // GoString returns the string representation. 77968 // 77969 // API parameter values that are decorated as "sensitive" in the API will not 77970 // be included in the string output. The member name will be present, but the 77971 // value will be replaced with "sensitive". 77972 func (s StartMonitoringScheduleOutput) GoString() string { 77973 return s.String() 77974 } 77975 77976 type StartNotebookInstanceInput struct { 77977 _ struct{} `type:"structure"` 77978 77979 // The name of the notebook instance to start. 77980 // 77981 // NotebookInstanceName is a required field 77982 NotebookInstanceName *string `type:"string" required:"true"` 77983 } 77984 77985 // String returns the string representation. 77986 // 77987 // API parameter values that are decorated as "sensitive" in the API will not 77988 // be included in the string output. The member name will be present, but the 77989 // value will be replaced with "sensitive". 77990 func (s StartNotebookInstanceInput) String() string { 77991 return awsutil.Prettify(s) 77992 } 77993 77994 // GoString returns the string representation. 77995 // 77996 // API parameter values that are decorated as "sensitive" in the API will not 77997 // be included in the string output. The member name will be present, but the 77998 // value will be replaced with "sensitive". 77999 func (s StartNotebookInstanceInput) GoString() string { 78000 return s.String() 78001 } 78002 78003 // Validate inspects the fields of the type to determine if they are valid. 78004 func (s *StartNotebookInstanceInput) Validate() error { 78005 invalidParams := request.ErrInvalidParams{Context: "StartNotebookInstanceInput"} 78006 if s.NotebookInstanceName == nil { 78007 invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName")) 78008 } 78009 78010 if invalidParams.Len() > 0 { 78011 return invalidParams 78012 } 78013 return nil 78014 } 78015 78016 // SetNotebookInstanceName sets the NotebookInstanceName field's value. 78017 func (s *StartNotebookInstanceInput) SetNotebookInstanceName(v string) *StartNotebookInstanceInput { 78018 s.NotebookInstanceName = &v 78019 return s 78020 } 78021 78022 type StartNotebookInstanceOutput struct { 78023 _ struct{} `type:"structure"` 78024 } 78025 78026 // String returns the string representation. 78027 // 78028 // API parameter values that are decorated as "sensitive" in the API will not 78029 // be included in the string output. The member name will be present, but the 78030 // value will be replaced with "sensitive". 78031 func (s StartNotebookInstanceOutput) String() string { 78032 return awsutil.Prettify(s) 78033 } 78034 78035 // GoString returns the string representation. 78036 // 78037 // API parameter values that are decorated as "sensitive" in the API will not 78038 // be included in the string output. The member name will be present, but the 78039 // value will be replaced with "sensitive". 78040 func (s StartNotebookInstanceOutput) GoString() string { 78041 return s.String() 78042 } 78043 78044 type StartPipelineExecutionInput struct { 78045 _ struct{} `type:"structure"` 78046 78047 // A unique, case-sensitive identifier that you provide to ensure the idempotency 78048 // of the operation. An idempotent operation completes no more than once. 78049 ClientRequestToken *string `min:"32" type:"string" idempotencyToken:"true"` 78050 78051 // The description of the pipeline execution. 78052 PipelineExecutionDescription *string `type:"string"` 78053 78054 // The display name of the pipeline execution. 78055 PipelineExecutionDisplayName *string `min:"1" type:"string"` 78056 78057 // The name of the pipeline. 78058 // 78059 // PipelineName is a required field 78060 PipelineName *string `min:"1" type:"string" required:"true"` 78061 78062 // Contains a list of pipeline parameters. This list can be empty. 78063 PipelineParameters []*Parameter `type:"list"` 78064 } 78065 78066 // String returns the string representation. 78067 // 78068 // API parameter values that are decorated as "sensitive" in the API will not 78069 // be included in the string output. The member name will be present, but the 78070 // value will be replaced with "sensitive". 78071 func (s StartPipelineExecutionInput) String() string { 78072 return awsutil.Prettify(s) 78073 } 78074 78075 // GoString returns the string representation. 78076 // 78077 // API parameter values that are decorated as "sensitive" in the API will not 78078 // be included in the string output. The member name will be present, but the 78079 // value will be replaced with "sensitive". 78080 func (s StartPipelineExecutionInput) GoString() string { 78081 return s.String() 78082 } 78083 78084 // Validate inspects the fields of the type to determine if they are valid. 78085 func (s *StartPipelineExecutionInput) Validate() error { 78086 invalidParams := request.ErrInvalidParams{Context: "StartPipelineExecutionInput"} 78087 if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 32 { 78088 invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 32)) 78089 } 78090 if s.PipelineExecutionDisplayName != nil && len(*s.PipelineExecutionDisplayName) < 1 { 78091 invalidParams.Add(request.NewErrParamMinLen("PipelineExecutionDisplayName", 1)) 78092 } 78093 if s.PipelineName == nil { 78094 invalidParams.Add(request.NewErrParamRequired("PipelineName")) 78095 } 78096 if s.PipelineName != nil && len(*s.PipelineName) < 1 { 78097 invalidParams.Add(request.NewErrParamMinLen("PipelineName", 1)) 78098 } 78099 if s.PipelineParameters != nil { 78100 for i, v := range s.PipelineParameters { 78101 if v == nil { 78102 continue 78103 } 78104 if err := v.Validate(); err != nil { 78105 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PipelineParameters", i), err.(request.ErrInvalidParams)) 78106 } 78107 } 78108 } 78109 78110 if invalidParams.Len() > 0 { 78111 return invalidParams 78112 } 78113 return nil 78114 } 78115 78116 // SetClientRequestToken sets the ClientRequestToken field's value. 78117 func (s *StartPipelineExecutionInput) SetClientRequestToken(v string) *StartPipelineExecutionInput { 78118 s.ClientRequestToken = &v 78119 return s 78120 } 78121 78122 // SetPipelineExecutionDescription sets the PipelineExecutionDescription field's value. 78123 func (s *StartPipelineExecutionInput) SetPipelineExecutionDescription(v string) *StartPipelineExecutionInput { 78124 s.PipelineExecutionDescription = &v 78125 return s 78126 } 78127 78128 // SetPipelineExecutionDisplayName sets the PipelineExecutionDisplayName field's value. 78129 func (s *StartPipelineExecutionInput) SetPipelineExecutionDisplayName(v string) *StartPipelineExecutionInput { 78130 s.PipelineExecutionDisplayName = &v 78131 return s 78132 } 78133 78134 // SetPipelineName sets the PipelineName field's value. 78135 func (s *StartPipelineExecutionInput) SetPipelineName(v string) *StartPipelineExecutionInput { 78136 s.PipelineName = &v 78137 return s 78138 } 78139 78140 // SetPipelineParameters sets the PipelineParameters field's value. 78141 func (s *StartPipelineExecutionInput) SetPipelineParameters(v []*Parameter) *StartPipelineExecutionInput { 78142 s.PipelineParameters = v 78143 return s 78144 } 78145 78146 type StartPipelineExecutionOutput struct { 78147 _ struct{} `type:"structure"` 78148 78149 // The Amazon Resource Name (ARN) of the pipeline execution. 78150 PipelineExecutionArn *string `type:"string"` 78151 } 78152 78153 // String returns the string representation. 78154 // 78155 // API parameter values that are decorated as "sensitive" in the API will not 78156 // be included in the string output. The member name will be present, but the 78157 // value will be replaced with "sensitive". 78158 func (s StartPipelineExecutionOutput) String() string { 78159 return awsutil.Prettify(s) 78160 } 78161 78162 // GoString returns the string representation. 78163 // 78164 // API parameter values that are decorated as "sensitive" in the API will not 78165 // be included in the string output. The member name will be present, but the 78166 // value will be replaced with "sensitive". 78167 func (s StartPipelineExecutionOutput) GoString() string { 78168 return s.String() 78169 } 78170 78171 // SetPipelineExecutionArn sets the PipelineExecutionArn field's value. 78172 func (s *StartPipelineExecutionOutput) SetPipelineExecutionArn(v string) *StartPipelineExecutionOutput { 78173 s.PipelineExecutionArn = &v 78174 return s 78175 } 78176 78177 type StopAutoMLJobInput struct { 78178 _ struct{} `type:"structure"` 78179 78180 // The name of the object you are requesting. 78181 // 78182 // AutoMLJobName is a required field 78183 AutoMLJobName *string `min:"1" type:"string" required:"true"` 78184 } 78185 78186 // String returns the string representation. 78187 // 78188 // API parameter values that are decorated as "sensitive" in the API will not 78189 // be included in the string output. The member name will be present, but the 78190 // value will be replaced with "sensitive". 78191 func (s StopAutoMLJobInput) String() string { 78192 return awsutil.Prettify(s) 78193 } 78194 78195 // GoString returns the string representation. 78196 // 78197 // API parameter values that are decorated as "sensitive" in the API will not 78198 // be included in the string output. The member name will be present, but the 78199 // value will be replaced with "sensitive". 78200 func (s StopAutoMLJobInput) GoString() string { 78201 return s.String() 78202 } 78203 78204 // Validate inspects the fields of the type to determine if they are valid. 78205 func (s *StopAutoMLJobInput) Validate() error { 78206 invalidParams := request.ErrInvalidParams{Context: "StopAutoMLJobInput"} 78207 if s.AutoMLJobName == nil { 78208 invalidParams.Add(request.NewErrParamRequired("AutoMLJobName")) 78209 } 78210 if s.AutoMLJobName != nil && len(*s.AutoMLJobName) < 1 { 78211 invalidParams.Add(request.NewErrParamMinLen("AutoMLJobName", 1)) 78212 } 78213 78214 if invalidParams.Len() > 0 { 78215 return invalidParams 78216 } 78217 return nil 78218 } 78219 78220 // SetAutoMLJobName sets the AutoMLJobName field's value. 78221 func (s *StopAutoMLJobInput) SetAutoMLJobName(v string) *StopAutoMLJobInput { 78222 s.AutoMLJobName = &v 78223 return s 78224 } 78225 78226 type StopAutoMLJobOutput struct { 78227 _ struct{} `type:"structure"` 78228 } 78229 78230 // String returns the string representation. 78231 // 78232 // API parameter values that are decorated as "sensitive" in the API will not 78233 // be included in the string output. The member name will be present, but the 78234 // value will be replaced with "sensitive". 78235 func (s StopAutoMLJobOutput) String() string { 78236 return awsutil.Prettify(s) 78237 } 78238 78239 // GoString returns the string representation. 78240 // 78241 // API parameter values that are decorated as "sensitive" in the API will not 78242 // be included in the string output. The member name will be present, but the 78243 // value will be replaced with "sensitive". 78244 func (s StopAutoMLJobOutput) GoString() string { 78245 return s.String() 78246 } 78247 78248 type StopCompilationJobInput struct { 78249 _ struct{} `type:"structure"` 78250 78251 // The name of the model compilation job to stop. 78252 // 78253 // CompilationJobName is a required field 78254 CompilationJobName *string `min:"1" type:"string" required:"true"` 78255 } 78256 78257 // String returns the string representation. 78258 // 78259 // API parameter values that are decorated as "sensitive" in the API will not 78260 // be included in the string output. The member name will be present, but the 78261 // value will be replaced with "sensitive". 78262 func (s StopCompilationJobInput) String() string { 78263 return awsutil.Prettify(s) 78264 } 78265 78266 // GoString returns the string representation. 78267 // 78268 // API parameter values that are decorated as "sensitive" in the API will not 78269 // be included in the string output. The member name will be present, but the 78270 // value will be replaced with "sensitive". 78271 func (s StopCompilationJobInput) GoString() string { 78272 return s.String() 78273 } 78274 78275 // Validate inspects the fields of the type to determine if they are valid. 78276 func (s *StopCompilationJobInput) Validate() error { 78277 invalidParams := request.ErrInvalidParams{Context: "StopCompilationJobInput"} 78278 if s.CompilationJobName == nil { 78279 invalidParams.Add(request.NewErrParamRequired("CompilationJobName")) 78280 } 78281 if s.CompilationJobName != nil && len(*s.CompilationJobName) < 1 { 78282 invalidParams.Add(request.NewErrParamMinLen("CompilationJobName", 1)) 78283 } 78284 78285 if invalidParams.Len() > 0 { 78286 return invalidParams 78287 } 78288 return nil 78289 } 78290 78291 // SetCompilationJobName sets the CompilationJobName field's value. 78292 func (s *StopCompilationJobInput) SetCompilationJobName(v string) *StopCompilationJobInput { 78293 s.CompilationJobName = &v 78294 return s 78295 } 78296 78297 type StopCompilationJobOutput struct { 78298 _ struct{} `type:"structure"` 78299 } 78300 78301 // String returns the string representation. 78302 // 78303 // API parameter values that are decorated as "sensitive" in the API will not 78304 // be included in the string output. The member name will be present, but the 78305 // value will be replaced with "sensitive". 78306 func (s StopCompilationJobOutput) String() string { 78307 return awsutil.Prettify(s) 78308 } 78309 78310 // GoString returns the string representation. 78311 // 78312 // API parameter values that are decorated as "sensitive" in the API will not 78313 // be included in the string output. The member name will be present, but the 78314 // value will be replaced with "sensitive". 78315 func (s StopCompilationJobOutput) GoString() string { 78316 return s.String() 78317 } 78318 78319 type StopEdgePackagingJobInput struct { 78320 _ struct{} `type:"structure"` 78321 78322 // The name of the edge packaging job. 78323 // 78324 // EdgePackagingJobName is a required field 78325 EdgePackagingJobName *string `min:"1" type:"string" required:"true"` 78326 } 78327 78328 // String returns the string representation. 78329 // 78330 // API parameter values that are decorated as "sensitive" in the API will not 78331 // be included in the string output. The member name will be present, but the 78332 // value will be replaced with "sensitive". 78333 func (s StopEdgePackagingJobInput) String() string { 78334 return awsutil.Prettify(s) 78335 } 78336 78337 // GoString returns the string representation. 78338 // 78339 // API parameter values that are decorated as "sensitive" in the API will not 78340 // be included in the string output. The member name will be present, but the 78341 // value will be replaced with "sensitive". 78342 func (s StopEdgePackagingJobInput) GoString() string { 78343 return s.String() 78344 } 78345 78346 // Validate inspects the fields of the type to determine if they are valid. 78347 func (s *StopEdgePackagingJobInput) Validate() error { 78348 invalidParams := request.ErrInvalidParams{Context: "StopEdgePackagingJobInput"} 78349 if s.EdgePackagingJobName == nil { 78350 invalidParams.Add(request.NewErrParamRequired("EdgePackagingJobName")) 78351 } 78352 if s.EdgePackagingJobName != nil && len(*s.EdgePackagingJobName) < 1 { 78353 invalidParams.Add(request.NewErrParamMinLen("EdgePackagingJobName", 1)) 78354 } 78355 78356 if invalidParams.Len() > 0 { 78357 return invalidParams 78358 } 78359 return nil 78360 } 78361 78362 // SetEdgePackagingJobName sets the EdgePackagingJobName field's value. 78363 func (s *StopEdgePackagingJobInput) SetEdgePackagingJobName(v string) *StopEdgePackagingJobInput { 78364 s.EdgePackagingJobName = &v 78365 return s 78366 } 78367 78368 type StopEdgePackagingJobOutput struct { 78369 _ struct{} `type:"structure"` 78370 } 78371 78372 // String returns the string representation. 78373 // 78374 // API parameter values that are decorated as "sensitive" in the API will not 78375 // be included in the string output. The member name will be present, but the 78376 // value will be replaced with "sensitive". 78377 func (s StopEdgePackagingJobOutput) String() string { 78378 return awsutil.Prettify(s) 78379 } 78380 78381 // GoString returns the string representation. 78382 // 78383 // API parameter values that are decorated as "sensitive" in the API will not 78384 // be included in the string output. The member name will be present, but the 78385 // value will be replaced with "sensitive". 78386 func (s StopEdgePackagingJobOutput) GoString() string { 78387 return s.String() 78388 } 78389 78390 type StopHyperParameterTuningJobInput struct { 78391 _ struct{} `type:"structure"` 78392 78393 // The name of the tuning job to stop. 78394 // 78395 // HyperParameterTuningJobName is a required field 78396 HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"` 78397 } 78398 78399 // String returns the string representation. 78400 // 78401 // API parameter values that are decorated as "sensitive" in the API will not 78402 // be included in the string output. The member name will be present, but the 78403 // value will be replaced with "sensitive". 78404 func (s StopHyperParameterTuningJobInput) String() string { 78405 return awsutil.Prettify(s) 78406 } 78407 78408 // GoString returns the string representation. 78409 // 78410 // API parameter values that are decorated as "sensitive" in the API will not 78411 // be included in the string output. The member name will be present, but the 78412 // value will be replaced with "sensitive". 78413 func (s StopHyperParameterTuningJobInput) GoString() string { 78414 return s.String() 78415 } 78416 78417 // Validate inspects the fields of the type to determine if they are valid. 78418 func (s *StopHyperParameterTuningJobInput) Validate() error { 78419 invalidParams := request.ErrInvalidParams{Context: "StopHyperParameterTuningJobInput"} 78420 if s.HyperParameterTuningJobName == nil { 78421 invalidParams.Add(request.NewErrParamRequired("HyperParameterTuningJobName")) 78422 } 78423 if s.HyperParameterTuningJobName != nil && len(*s.HyperParameterTuningJobName) < 1 { 78424 invalidParams.Add(request.NewErrParamMinLen("HyperParameterTuningJobName", 1)) 78425 } 78426 78427 if invalidParams.Len() > 0 { 78428 return invalidParams 78429 } 78430 return nil 78431 } 78432 78433 // SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value. 78434 func (s *StopHyperParameterTuningJobInput) SetHyperParameterTuningJobName(v string) *StopHyperParameterTuningJobInput { 78435 s.HyperParameterTuningJobName = &v 78436 return s 78437 } 78438 78439 type StopHyperParameterTuningJobOutput struct { 78440 _ struct{} `type:"structure"` 78441 } 78442 78443 // String returns the string representation. 78444 // 78445 // API parameter values that are decorated as "sensitive" in the API will not 78446 // be included in the string output. The member name will be present, but the 78447 // value will be replaced with "sensitive". 78448 func (s StopHyperParameterTuningJobOutput) String() string { 78449 return awsutil.Prettify(s) 78450 } 78451 78452 // GoString returns the string representation. 78453 // 78454 // API parameter values that are decorated as "sensitive" in the API will not 78455 // be included in the string output. The member name will be present, but the 78456 // value will be replaced with "sensitive". 78457 func (s StopHyperParameterTuningJobOutput) GoString() string { 78458 return s.String() 78459 } 78460 78461 type StopLabelingJobInput struct { 78462 _ struct{} `type:"structure"` 78463 78464 // The name of the labeling job to stop. 78465 // 78466 // LabelingJobName is a required field 78467 LabelingJobName *string `min:"1" type:"string" required:"true"` 78468 } 78469 78470 // String returns the string representation. 78471 // 78472 // API parameter values that are decorated as "sensitive" in the API will not 78473 // be included in the string output. The member name will be present, but the 78474 // value will be replaced with "sensitive". 78475 func (s StopLabelingJobInput) String() string { 78476 return awsutil.Prettify(s) 78477 } 78478 78479 // GoString returns the string representation. 78480 // 78481 // API parameter values that are decorated as "sensitive" in the API will not 78482 // be included in the string output. The member name will be present, but the 78483 // value will be replaced with "sensitive". 78484 func (s StopLabelingJobInput) GoString() string { 78485 return s.String() 78486 } 78487 78488 // Validate inspects the fields of the type to determine if they are valid. 78489 func (s *StopLabelingJobInput) Validate() error { 78490 invalidParams := request.ErrInvalidParams{Context: "StopLabelingJobInput"} 78491 if s.LabelingJobName == nil { 78492 invalidParams.Add(request.NewErrParamRequired("LabelingJobName")) 78493 } 78494 if s.LabelingJobName != nil && len(*s.LabelingJobName) < 1 { 78495 invalidParams.Add(request.NewErrParamMinLen("LabelingJobName", 1)) 78496 } 78497 78498 if invalidParams.Len() > 0 { 78499 return invalidParams 78500 } 78501 return nil 78502 } 78503 78504 // SetLabelingJobName sets the LabelingJobName field's value. 78505 func (s *StopLabelingJobInput) SetLabelingJobName(v string) *StopLabelingJobInput { 78506 s.LabelingJobName = &v 78507 return s 78508 } 78509 78510 type StopLabelingJobOutput struct { 78511 _ struct{} `type:"structure"` 78512 } 78513 78514 // String returns the string representation. 78515 // 78516 // API parameter values that are decorated as "sensitive" in the API will not 78517 // be included in the string output. The member name will be present, but the 78518 // value will be replaced with "sensitive". 78519 func (s StopLabelingJobOutput) String() string { 78520 return awsutil.Prettify(s) 78521 } 78522 78523 // GoString returns the string representation. 78524 // 78525 // API parameter values that are decorated as "sensitive" in the API will not 78526 // be included in the string output. The member name will be present, but the 78527 // value will be replaced with "sensitive". 78528 func (s StopLabelingJobOutput) GoString() string { 78529 return s.String() 78530 } 78531 78532 type StopMonitoringScheduleInput struct { 78533 _ struct{} `type:"structure"` 78534 78535 // The name of the schedule to stop. 78536 // 78537 // MonitoringScheduleName is a required field 78538 MonitoringScheduleName *string `min:"1" type:"string" required:"true"` 78539 } 78540 78541 // String returns the string representation. 78542 // 78543 // API parameter values that are decorated as "sensitive" in the API will not 78544 // be included in the string output. The member name will be present, but the 78545 // value will be replaced with "sensitive". 78546 func (s StopMonitoringScheduleInput) String() string { 78547 return awsutil.Prettify(s) 78548 } 78549 78550 // GoString returns the string representation. 78551 // 78552 // API parameter values that are decorated as "sensitive" in the API will not 78553 // be included in the string output. The member name will be present, but the 78554 // value will be replaced with "sensitive". 78555 func (s StopMonitoringScheduleInput) GoString() string { 78556 return s.String() 78557 } 78558 78559 // Validate inspects the fields of the type to determine if they are valid. 78560 func (s *StopMonitoringScheduleInput) Validate() error { 78561 invalidParams := request.ErrInvalidParams{Context: "StopMonitoringScheduleInput"} 78562 if s.MonitoringScheduleName == nil { 78563 invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleName")) 78564 } 78565 if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 { 78566 invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1)) 78567 } 78568 78569 if invalidParams.Len() > 0 { 78570 return invalidParams 78571 } 78572 return nil 78573 } 78574 78575 // SetMonitoringScheduleName sets the MonitoringScheduleName field's value. 78576 func (s *StopMonitoringScheduleInput) SetMonitoringScheduleName(v string) *StopMonitoringScheduleInput { 78577 s.MonitoringScheduleName = &v 78578 return s 78579 } 78580 78581 type StopMonitoringScheduleOutput struct { 78582 _ struct{} `type:"structure"` 78583 } 78584 78585 // String returns the string representation. 78586 // 78587 // API parameter values that are decorated as "sensitive" in the API will not 78588 // be included in the string output. The member name will be present, but the 78589 // value will be replaced with "sensitive". 78590 func (s StopMonitoringScheduleOutput) String() string { 78591 return awsutil.Prettify(s) 78592 } 78593 78594 // GoString returns the string representation. 78595 // 78596 // API parameter values that are decorated as "sensitive" in the API will not 78597 // be included in the string output. The member name will be present, but the 78598 // value will be replaced with "sensitive". 78599 func (s StopMonitoringScheduleOutput) GoString() string { 78600 return s.String() 78601 } 78602 78603 type StopNotebookInstanceInput struct { 78604 _ struct{} `type:"structure"` 78605 78606 // The name of the notebook instance to terminate. 78607 // 78608 // NotebookInstanceName is a required field 78609 NotebookInstanceName *string `type:"string" required:"true"` 78610 } 78611 78612 // String returns the string representation. 78613 // 78614 // API parameter values that are decorated as "sensitive" in the API will not 78615 // be included in the string output. The member name will be present, but the 78616 // value will be replaced with "sensitive". 78617 func (s StopNotebookInstanceInput) String() string { 78618 return awsutil.Prettify(s) 78619 } 78620 78621 // GoString returns the string representation. 78622 // 78623 // API parameter values that are decorated as "sensitive" in the API will not 78624 // be included in the string output. The member name will be present, but the 78625 // value will be replaced with "sensitive". 78626 func (s StopNotebookInstanceInput) GoString() string { 78627 return s.String() 78628 } 78629 78630 // Validate inspects the fields of the type to determine if they are valid. 78631 func (s *StopNotebookInstanceInput) Validate() error { 78632 invalidParams := request.ErrInvalidParams{Context: "StopNotebookInstanceInput"} 78633 if s.NotebookInstanceName == nil { 78634 invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName")) 78635 } 78636 78637 if invalidParams.Len() > 0 { 78638 return invalidParams 78639 } 78640 return nil 78641 } 78642 78643 // SetNotebookInstanceName sets the NotebookInstanceName field's value. 78644 func (s *StopNotebookInstanceInput) SetNotebookInstanceName(v string) *StopNotebookInstanceInput { 78645 s.NotebookInstanceName = &v 78646 return s 78647 } 78648 78649 type StopNotebookInstanceOutput struct { 78650 _ struct{} `type:"structure"` 78651 } 78652 78653 // String returns the string representation. 78654 // 78655 // API parameter values that are decorated as "sensitive" in the API will not 78656 // be included in the string output. The member name will be present, but the 78657 // value will be replaced with "sensitive". 78658 func (s StopNotebookInstanceOutput) String() string { 78659 return awsutil.Prettify(s) 78660 } 78661 78662 // GoString returns the string representation. 78663 // 78664 // API parameter values that are decorated as "sensitive" in the API will not 78665 // be included in the string output. The member name will be present, but the 78666 // value will be replaced with "sensitive". 78667 func (s StopNotebookInstanceOutput) GoString() string { 78668 return s.String() 78669 } 78670 78671 type StopPipelineExecutionInput struct { 78672 _ struct{} `type:"structure"` 78673 78674 // A unique, case-sensitive identifier that you provide to ensure the idempotency 78675 // of the operation. An idempotent operation completes no more than once. 78676 ClientRequestToken *string `min:"32" type:"string" idempotencyToken:"true"` 78677 78678 // The Amazon Resource Name (ARN) of the pipeline execution. 78679 // 78680 // PipelineExecutionArn is a required field 78681 PipelineExecutionArn *string `type:"string" required:"true"` 78682 } 78683 78684 // String returns the string representation. 78685 // 78686 // API parameter values that are decorated as "sensitive" in the API will not 78687 // be included in the string output. The member name will be present, but the 78688 // value will be replaced with "sensitive". 78689 func (s StopPipelineExecutionInput) String() string { 78690 return awsutil.Prettify(s) 78691 } 78692 78693 // GoString returns the string representation. 78694 // 78695 // API parameter values that are decorated as "sensitive" in the API will not 78696 // be included in the string output. The member name will be present, but the 78697 // value will be replaced with "sensitive". 78698 func (s StopPipelineExecutionInput) GoString() string { 78699 return s.String() 78700 } 78701 78702 // Validate inspects the fields of the type to determine if they are valid. 78703 func (s *StopPipelineExecutionInput) Validate() error { 78704 invalidParams := request.ErrInvalidParams{Context: "StopPipelineExecutionInput"} 78705 if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 32 { 78706 invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 32)) 78707 } 78708 if s.PipelineExecutionArn == nil { 78709 invalidParams.Add(request.NewErrParamRequired("PipelineExecutionArn")) 78710 } 78711 78712 if invalidParams.Len() > 0 { 78713 return invalidParams 78714 } 78715 return nil 78716 } 78717 78718 // SetClientRequestToken sets the ClientRequestToken field's value. 78719 func (s *StopPipelineExecutionInput) SetClientRequestToken(v string) *StopPipelineExecutionInput { 78720 s.ClientRequestToken = &v 78721 return s 78722 } 78723 78724 // SetPipelineExecutionArn sets the PipelineExecutionArn field's value. 78725 func (s *StopPipelineExecutionInput) SetPipelineExecutionArn(v string) *StopPipelineExecutionInput { 78726 s.PipelineExecutionArn = &v 78727 return s 78728 } 78729 78730 type StopPipelineExecutionOutput struct { 78731 _ struct{} `type:"structure"` 78732 78733 // The Amazon Resource Name (ARN) of the pipeline execution. 78734 PipelineExecutionArn *string `type:"string"` 78735 } 78736 78737 // String returns the string representation. 78738 // 78739 // API parameter values that are decorated as "sensitive" in the API will not 78740 // be included in the string output. The member name will be present, but the 78741 // value will be replaced with "sensitive". 78742 func (s StopPipelineExecutionOutput) String() string { 78743 return awsutil.Prettify(s) 78744 } 78745 78746 // GoString returns the string representation. 78747 // 78748 // API parameter values that are decorated as "sensitive" in the API will not 78749 // be included in the string output. The member name will be present, but the 78750 // value will be replaced with "sensitive". 78751 func (s StopPipelineExecutionOutput) GoString() string { 78752 return s.String() 78753 } 78754 78755 // SetPipelineExecutionArn sets the PipelineExecutionArn field's value. 78756 func (s *StopPipelineExecutionOutput) SetPipelineExecutionArn(v string) *StopPipelineExecutionOutput { 78757 s.PipelineExecutionArn = &v 78758 return s 78759 } 78760 78761 type StopProcessingJobInput struct { 78762 _ struct{} `type:"structure"` 78763 78764 // The name of the processing job to stop. 78765 // 78766 // ProcessingJobName is a required field 78767 ProcessingJobName *string `min:"1" type:"string" required:"true"` 78768 } 78769 78770 // String returns the string representation. 78771 // 78772 // API parameter values that are decorated as "sensitive" in the API will not 78773 // be included in the string output. The member name will be present, but the 78774 // value will be replaced with "sensitive". 78775 func (s StopProcessingJobInput) String() string { 78776 return awsutil.Prettify(s) 78777 } 78778 78779 // GoString returns the string representation. 78780 // 78781 // API parameter values that are decorated as "sensitive" in the API will not 78782 // be included in the string output. The member name will be present, but the 78783 // value will be replaced with "sensitive". 78784 func (s StopProcessingJobInput) GoString() string { 78785 return s.String() 78786 } 78787 78788 // Validate inspects the fields of the type to determine if they are valid. 78789 func (s *StopProcessingJobInput) Validate() error { 78790 invalidParams := request.ErrInvalidParams{Context: "StopProcessingJobInput"} 78791 if s.ProcessingJobName == nil { 78792 invalidParams.Add(request.NewErrParamRequired("ProcessingJobName")) 78793 } 78794 if s.ProcessingJobName != nil && len(*s.ProcessingJobName) < 1 { 78795 invalidParams.Add(request.NewErrParamMinLen("ProcessingJobName", 1)) 78796 } 78797 78798 if invalidParams.Len() > 0 { 78799 return invalidParams 78800 } 78801 return nil 78802 } 78803 78804 // SetProcessingJobName sets the ProcessingJobName field's value. 78805 func (s *StopProcessingJobInput) SetProcessingJobName(v string) *StopProcessingJobInput { 78806 s.ProcessingJobName = &v 78807 return s 78808 } 78809 78810 type StopProcessingJobOutput struct { 78811 _ struct{} `type:"structure"` 78812 } 78813 78814 // String returns the string representation. 78815 // 78816 // API parameter values that are decorated as "sensitive" in the API will not 78817 // be included in the string output. The member name will be present, but the 78818 // value will be replaced with "sensitive". 78819 func (s StopProcessingJobOutput) String() string { 78820 return awsutil.Prettify(s) 78821 } 78822 78823 // GoString returns the string representation. 78824 // 78825 // API parameter values that are decorated as "sensitive" in the API will not 78826 // be included in the string output. The member name will be present, but the 78827 // value will be replaced with "sensitive". 78828 func (s StopProcessingJobOutput) GoString() string { 78829 return s.String() 78830 } 78831 78832 type StopTrainingJobInput struct { 78833 _ struct{} `type:"structure"` 78834 78835 // The name of the training job to stop. 78836 // 78837 // TrainingJobName is a required field 78838 TrainingJobName *string `min:"1" type:"string" required:"true"` 78839 } 78840 78841 // String returns the string representation. 78842 // 78843 // API parameter values that are decorated as "sensitive" in the API will not 78844 // be included in the string output. The member name will be present, but the 78845 // value will be replaced with "sensitive". 78846 func (s StopTrainingJobInput) String() string { 78847 return awsutil.Prettify(s) 78848 } 78849 78850 // GoString returns the string representation. 78851 // 78852 // API parameter values that are decorated as "sensitive" in the API will not 78853 // be included in the string output. The member name will be present, but the 78854 // value will be replaced with "sensitive". 78855 func (s StopTrainingJobInput) GoString() string { 78856 return s.String() 78857 } 78858 78859 // Validate inspects the fields of the type to determine if they are valid. 78860 func (s *StopTrainingJobInput) Validate() error { 78861 invalidParams := request.ErrInvalidParams{Context: "StopTrainingJobInput"} 78862 if s.TrainingJobName == nil { 78863 invalidParams.Add(request.NewErrParamRequired("TrainingJobName")) 78864 } 78865 if s.TrainingJobName != nil && len(*s.TrainingJobName) < 1 { 78866 invalidParams.Add(request.NewErrParamMinLen("TrainingJobName", 1)) 78867 } 78868 78869 if invalidParams.Len() > 0 { 78870 return invalidParams 78871 } 78872 return nil 78873 } 78874 78875 // SetTrainingJobName sets the TrainingJobName field's value. 78876 func (s *StopTrainingJobInput) SetTrainingJobName(v string) *StopTrainingJobInput { 78877 s.TrainingJobName = &v 78878 return s 78879 } 78880 78881 type StopTrainingJobOutput struct { 78882 _ struct{} `type:"structure"` 78883 } 78884 78885 // String returns the string representation. 78886 // 78887 // API parameter values that are decorated as "sensitive" in the API will not 78888 // be included in the string output. The member name will be present, but the 78889 // value will be replaced with "sensitive". 78890 func (s StopTrainingJobOutput) String() string { 78891 return awsutil.Prettify(s) 78892 } 78893 78894 // GoString returns the string representation. 78895 // 78896 // API parameter values that are decorated as "sensitive" in the API will not 78897 // be included in the string output. The member name will be present, but the 78898 // value will be replaced with "sensitive". 78899 func (s StopTrainingJobOutput) GoString() string { 78900 return s.String() 78901 } 78902 78903 type StopTransformJobInput struct { 78904 _ struct{} `type:"structure"` 78905 78906 // The name of the transform job to stop. 78907 // 78908 // TransformJobName is a required field 78909 TransformJobName *string `min:"1" type:"string" required:"true"` 78910 } 78911 78912 // String returns the string representation. 78913 // 78914 // API parameter values that are decorated as "sensitive" in the API will not 78915 // be included in the string output. The member name will be present, but the 78916 // value will be replaced with "sensitive". 78917 func (s StopTransformJobInput) String() string { 78918 return awsutil.Prettify(s) 78919 } 78920 78921 // GoString returns the string representation. 78922 // 78923 // API parameter values that are decorated as "sensitive" in the API will not 78924 // be included in the string output. The member name will be present, but the 78925 // value will be replaced with "sensitive". 78926 func (s StopTransformJobInput) GoString() string { 78927 return s.String() 78928 } 78929 78930 // Validate inspects the fields of the type to determine if they are valid. 78931 func (s *StopTransformJobInput) Validate() error { 78932 invalidParams := request.ErrInvalidParams{Context: "StopTransformJobInput"} 78933 if s.TransformJobName == nil { 78934 invalidParams.Add(request.NewErrParamRequired("TransformJobName")) 78935 } 78936 if s.TransformJobName != nil && len(*s.TransformJobName) < 1 { 78937 invalidParams.Add(request.NewErrParamMinLen("TransformJobName", 1)) 78938 } 78939 78940 if invalidParams.Len() > 0 { 78941 return invalidParams 78942 } 78943 return nil 78944 } 78945 78946 // SetTransformJobName sets the TransformJobName field's value. 78947 func (s *StopTransformJobInput) SetTransformJobName(v string) *StopTransformJobInput { 78948 s.TransformJobName = &v 78949 return s 78950 } 78951 78952 type StopTransformJobOutput struct { 78953 _ struct{} `type:"structure"` 78954 } 78955 78956 // String returns the string representation. 78957 // 78958 // API parameter values that are decorated as "sensitive" in the API will not 78959 // be included in the string output. The member name will be present, but the 78960 // value will be replaced with "sensitive". 78961 func (s StopTransformJobOutput) String() string { 78962 return awsutil.Prettify(s) 78963 } 78964 78965 // GoString returns the string representation. 78966 // 78967 // API parameter values that are decorated as "sensitive" in the API will not 78968 // be included in the string output. The member name will be present, but the 78969 // value will be replaced with "sensitive". 78970 func (s StopTransformJobOutput) GoString() string { 78971 return s.String() 78972 } 78973 78974 // Specifies a limit to how long a model training job or model compilation job 78975 // can run. It also specifies how long a managed spot training job has to complete. 78976 // When the job reaches the time limit, Amazon SageMaker ends the training or 78977 // compilation job. Use this API to cap model training costs. 78978 // 78979 // To stop a training job, Amazon SageMaker sends the algorithm the SIGTERM 78980 // signal, which delays job termination for 120 seconds. Algorithms can use 78981 // this 120-second window to save the model artifacts, so the results of training 78982 // are not lost. 78983 // 78984 // The training algorithms provided by Amazon SageMaker automatically save the 78985 // intermediate results of a model training job when possible. This attempt 78986 // to save artifacts is only a best effort case as model might not be in a state 78987 // from which it can be saved. For example, if training has just started, the 78988 // model might not be ready to save. When saved, this intermediate data is a 78989 // valid model artifact. You can use it to create a model with CreateModel. 78990 // 78991 // The Neural Topic Model (NTM) currently does not support saving intermediate 78992 // model artifacts. When training NTMs, make sure that the maximum runtime is 78993 // sufficient for the training job to complete. 78994 type StoppingCondition struct { 78995 _ struct{} `type:"structure"` 78996 78997 // The maximum length of time, in seconds, that a training or compilation job 78998 // can run. 78999 // 79000 // For compilation jobs, if the job does not complete during this time, you 79001 // will receive a TimeOut error. We recommend starting with 900 seconds and 79002 // increase as necessary based on your model. 79003 // 79004 // For all other jobs, if the job does not complete during this time, Amazon 79005 // SageMaker ends the job. When RetryStrategy is specified in the job request, 79006 // MaxRuntimeInSeconds specifies the maximum time for all of the attempts in 79007 // total, not each individual attempt. The default value is 1 day. The maximum 79008 // value is 28 days. 79009 MaxRuntimeInSeconds *int64 `min:"1" type:"integer"` 79010 79011 // The maximum length of time, in seconds, that a managed Spot training job 79012 // has to complete. It is the amount of time spent waiting for Spot capacity 79013 // plus the amount of time the job can run. It must be equal to or greater than 79014 // MaxRuntimeInSeconds. If the job does not complete during this time, Amazon 79015 // SageMaker ends the job. 79016 // 79017 // When RetryStrategy is specified in the job request, MaxWaitTimeInSeconds 79018 // specifies the maximum time for all of the attempts in total, not each individual 79019 // attempt. 79020 MaxWaitTimeInSeconds *int64 `min:"1" type:"integer"` 79021 } 79022 79023 // String returns the string representation. 79024 // 79025 // API parameter values that are decorated as "sensitive" in the API will not 79026 // be included in the string output. The member name will be present, but the 79027 // value will be replaced with "sensitive". 79028 func (s StoppingCondition) String() string { 79029 return awsutil.Prettify(s) 79030 } 79031 79032 // GoString returns the string representation. 79033 // 79034 // API parameter values that are decorated as "sensitive" in the API will not 79035 // be included in the string output. The member name will be present, but the 79036 // value will be replaced with "sensitive". 79037 func (s StoppingCondition) GoString() string { 79038 return s.String() 79039 } 79040 79041 // Validate inspects the fields of the type to determine if they are valid. 79042 func (s *StoppingCondition) Validate() error { 79043 invalidParams := request.ErrInvalidParams{Context: "StoppingCondition"} 79044 if s.MaxRuntimeInSeconds != nil && *s.MaxRuntimeInSeconds < 1 { 79045 invalidParams.Add(request.NewErrParamMinValue("MaxRuntimeInSeconds", 1)) 79046 } 79047 if s.MaxWaitTimeInSeconds != nil && *s.MaxWaitTimeInSeconds < 1 { 79048 invalidParams.Add(request.NewErrParamMinValue("MaxWaitTimeInSeconds", 1)) 79049 } 79050 79051 if invalidParams.Len() > 0 { 79052 return invalidParams 79053 } 79054 return nil 79055 } 79056 79057 // SetMaxRuntimeInSeconds sets the MaxRuntimeInSeconds field's value. 79058 func (s *StoppingCondition) SetMaxRuntimeInSeconds(v int64) *StoppingCondition { 79059 s.MaxRuntimeInSeconds = &v 79060 return s 79061 } 79062 79063 // SetMaxWaitTimeInSeconds sets the MaxWaitTimeInSeconds field's value. 79064 func (s *StoppingCondition) SetMaxWaitTimeInSeconds(v int64) *StoppingCondition { 79065 s.MaxWaitTimeInSeconds = &v 79066 return s 79067 } 79068 79069 // Details of the Studio Lifecycle Configuration. 79070 type StudioLifecycleConfigDetails struct { 79071 _ struct{} `type:"structure"` 79072 79073 // The creation time of the Studio Lifecycle Configuration. 79074 CreationTime *time.Time `type:"timestamp"` 79075 79076 // This value is equivalent to CreationTime because Studio Lifecycle Configurations 79077 // are immutable. 79078 LastModifiedTime *time.Time `type:"timestamp"` 79079 79080 // The App type to which the Lifecycle Configuration is attached. 79081 StudioLifecycleConfigAppType *string `type:"string" enum:"StudioLifecycleConfigAppType"` 79082 79083 // The Amazon Resource Name (ARN) of the Lifecycle Configuration. 79084 StudioLifecycleConfigArn *string `type:"string"` 79085 79086 // The name of the Studio Lifecycle Configuration. 79087 StudioLifecycleConfigName *string `type:"string"` 79088 } 79089 79090 // String returns the string representation. 79091 // 79092 // API parameter values that are decorated as "sensitive" in the API will not 79093 // be included in the string output. The member name will be present, but the 79094 // value will be replaced with "sensitive". 79095 func (s StudioLifecycleConfigDetails) String() string { 79096 return awsutil.Prettify(s) 79097 } 79098 79099 // GoString returns the string representation. 79100 // 79101 // API parameter values that are decorated as "sensitive" in the API will not 79102 // be included in the string output. The member name will be present, but the 79103 // value will be replaced with "sensitive". 79104 func (s StudioLifecycleConfigDetails) GoString() string { 79105 return s.String() 79106 } 79107 79108 // SetCreationTime sets the CreationTime field's value. 79109 func (s *StudioLifecycleConfigDetails) SetCreationTime(v time.Time) *StudioLifecycleConfigDetails { 79110 s.CreationTime = &v 79111 return s 79112 } 79113 79114 // SetLastModifiedTime sets the LastModifiedTime field's value. 79115 func (s *StudioLifecycleConfigDetails) SetLastModifiedTime(v time.Time) *StudioLifecycleConfigDetails { 79116 s.LastModifiedTime = &v 79117 return s 79118 } 79119 79120 // SetStudioLifecycleConfigAppType sets the StudioLifecycleConfigAppType field's value. 79121 func (s *StudioLifecycleConfigDetails) SetStudioLifecycleConfigAppType(v string) *StudioLifecycleConfigDetails { 79122 s.StudioLifecycleConfigAppType = &v 79123 return s 79124 } 79125 79126 // SetStudioLifecycleConfigArn sets the StudioLifecycleConfigArn field's value. 79127 func (s *StudioLifecycleConfigDetails) SetStudioLifecycleConfigArn(v string) *StudioLifecycleConfigDetails { 79128 s.StudioLifecycleConfigArn = &v 79129 return s 79130 } 79131 79132 // SetStudioLifecycleConfigName sets the StudioLifecycleConfigName field's value. 79133 func (s *StudioLifecycleConfigDetails) SetStudioLifecycleConfigName(v string) *StudioLifecycleConfigDetails { 79134 s.StudioLifecycleConfigName = &v 79135 return s 79136 } 79137 79138 // Describes a work team of a vendor that does the a labelling job. 79139 type SubscribedWorkteam struct { 79140 _ struct{} `type:"structure"` 79141 79142 // Marketplace product listing ID. 79143 ListingId *string `type:"string"` 79144 79145 // The description of the vendor from the Amazon Marketplace. 79146 MarketplaceDescription *string `min:"1" type:"string"` 79147 79148 // The title of the service provided by the vendor in the Amazon Marketplace. 79149 MarketplaceTitle *string `min:"1" type:"string"` 79150 79151 // The name of the vendor in the Amazon Marketplace. 79152 SellerName *string `type:"string"` 79153 79154 // The Amazon Resource Name (ARN) of the vendor that you have subscribed. 79155 // 79156 // WorkteamArn is a required field 79157 WorkteamArn *string `type:"string" required:"true"` 79158 } 79159 79160 // String returns the string representation. 79161 // 79162 // API parameter values that are decorated as "sensitive" in the API will not 79163 // be included in the string output. The member name will be present, but the 79164 // value will be replaced with "sensitive". 79165 func (s SubscribedWorkteam) String() string { 79166 return awsutil.Prettify(s) 79167 } 79168 79169 // GoString returns the string representation. 79170 // 79171 // API parameter values that are decorated as "sensitive" in the API will not 79172 // be included in the string output. The member name will be present, but the 79173 // value will be replaced with "sensitive". 79174 func (s SubscribedWorkteam) GoString() string { 79175 return s.String() 79176 } 79177 79178 // SetListingId sets the ListingId field's value. 79179 func (s *SubscribedWorkteam) SetListingId(v string) *SubscribedWorkteam { 79180 s.ListingId = &v 79181 return s 79182 } 79183 79184 // SetMarketplaceDescription sets the MarketplaceDescription field's value. 79185 func (s *SubscribedWorkteam) SetMarketplaceDescription(v string) *SubscribedWorkteam { 79186 s.MarketplaceDescription = &v 79187 return s 79188 } 79189 79190 // SetMarketplaceTitle sets the MarketplaceTitle field's value. 79191 func (s *SubscribedWorkteam) SetMarketplaceTitle(v string) *SubscribedWorkteam { 79192 s.MarketplaceTitle = &v 79193 return s 79194 } 79195 79196 // SetSellerName sets the SellerName field's value. 79197 func (s *SubscribedWorkteam) SetSellerName(v string) *SubscribedWorkteam { 79198 s.SellerName = &v 79199 return s 79200 } 79201 79202 // SetWorkteamArn sets the WorkteamArn field's value. 79203 func (s *SubscribedWorkteam) SetWorkteamArn(v string) *SubscribedWorkteam { 79204 s.WorkteamArn = &v 79205 return s 79206 } 79207 79208 // Specified in the GetSearchSuggestions request. Limits the property names 79209 // that are included in the response. 79210 type SuggestionQuery struct { 79211 _ struct{} `type:"structure"` 79212 79213 // Defines a property name hint. Only property names that begin with the specified 79214 // hint are included in the response. 79215 PropertyNameQuery *PropertyNameQuery `type:"structure"` 79216 } 79217 79218 // String returns the string representation. 79219 // 79220 // API parameter values that are decorated as "sensitive" in the API will not 79221 // be included in the string output. The member name will be present, but the 79222 // value will be replaced with "sensitive". 79223 func (s SuggestionQuery) String() string { 79224 return awsutil.Prettify(s) 79225 } 79226 79227 // GoString returns the string representation. 79228 // 79229 // API parameter values that are decorated as "sensitive" in the API will not 79230 // be included in the string output. The member name will be present, but the 79231 // value will be replaced with "sensitive". 79232 func (s SuggestionQuery) GoString() string { 79233 return s.String() 79234 } 79235 79236 // Validate inspects the fields of the type to determine if they are valid. 79237 func (s *SuggestionQuery) Validate() error { 79238 invalidParams := request.ErrInvalidParams{Context: "SuggestionQuery"} 79239 if s.PropertyNameQuery != nil { 79240 if err := s.PropertyNameQuery.Validate(); err != nil { 79241 invalidParams.AddNested("PropertyNameQuery", err.(request.ErrInvalidParams)) 79242 } 79243 } 79244 79245 if invalidParams.Len() > 0 { 79246 return invalidParams 79247 } 79248 return nil 79249 } 79250 79251 // SetPropertyNameQuery sets the PropertyNameQuery field's value. 79252 func (s *SuggestionQuery) SetPropertyNameQuery(v *PropertyNameQuery) *SuggestionQuery { 79253 s.PropertyNameQuery = v 79254 return s 79255 } 79256 79257 // A tag object that consists of a key and an optional value, used to manage 79258 // metadata for SageMaker Amazon Web Services resources. 79259 // 79260 // You can add tags to notebook instances, training jobs, hyperparameter tuning 79261 // jobs, batch transform jobs, models, labeling jobs, work teams, endpoint configurations, 79262 // and endpoints. For more information on adding tags to SageMaker resources, 79263 // see AddTags. 79264 // 79265 // For more information on adding metadata to your Amazon Web Services resources 79266 // with tagging, see Tagging Amazon Web Services resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html). 79267 // For advice on best practices for managing Amazon Web Services resources with 79268 // tagging, see Tagging Best Practices: Implement an Effective Amazon Web Services 79269 // Resource Tagging Strategy (https://d1.awsstatic.com/whitepapers/aws-tagging-best-practices.pdf). 79270 type Tag struct { 79271 _ struct{} `type:"structure"` 79272 79273 // The tag key. Tag keys must be unique per resource. 79274 // 79275 // Key is a required field 79276 Key *string `min:"1" type:"string" required:"true"` 79277 79278 // The tag value. 79279 // 79280 // Value is a required field 79281 Value *string `type:"string" required:"true"` 79282 } 79283 79284 // String returns the string representation. 79285 // 79286 // API parameter values that are decorated as "sensitive" in the API will not 79287 // be included in the string output. The member name will be present, but the 79288 // value will be replaced with "sensitive". 79289 func (s Tag) String() string { 79290 return awsutil.Prettify(s) 79291 } 79292 79293 // GoString returns the string representation. 79294 // 79295 // API parameter values that are decorated as "sensitive" in the API will not 79296 // be included in the string output. The member name will be present, but the 79297 // value will be replaced with "sensitive". 79298 func (s Tag) GoString() string { 79299 return s.String() 79300 } 79301 79302 // Validate inspects the fields of the type to determine if they are valid. 79303 func (s *Tag) Validate() error { 79304 invalidParams := request.ErrInvalidParams{Context: "Tag"} 79305 if s.Key == nil { 79306 invalidParams.Add(request.NewErrParamRequired("Key")) 79307 } 79308 if s.Key != nil && len(*s.Key) < 1 { 79309 invalidParams.Add(request.NewErrParamMinLen("Key", 1)) 79310 } 79311 if s.Value == nil { 79312 invalidParams.Add(request.NewErrParamRequired("Value")) 79313 } 79314 79315 if invalidParams.Len() > 0 { 79316 return invalidParams 79317 } 79318 return nil 79319 } 79320 79321 // SetKey sets the Key field's value. 79322 func (s *Tag) SetKey(v string) *Tag { 79323 s.Key = &v 79324 return s 79325 } 79326 79327 // SetValue sets the Value field's value. 79328 func (s *Tag) SetValue(v string) *Tag { 79329 s.Value = &v 79330 return s 79331 } 79332 79333 // Contains information about a target platform that you want your model to 79334 // run on, such as OS, architecture, and accelerators. It is an alternative 79335 // of TargetDevice. 79336 type TargetPlatform struct { 79337 _ struct{} `type:"structure"` 79338 79339 // Specifies a target platform accelerator (optional). 79340 // 79341 // * NVIDIA: Nvidia graphics processing unit. It also requires gpu-code, 79342 // trt-ver, cuda-ver compiler options 79343 // 79344 // * MALI: ARM Mali graphics processor 79345 // 79346 // * INTEL_GRAPHICS: Integrated Intel graphics 79347 Accelerator *string `type:"string" enum:"TargetPlatformAccelerator"` 79348 79349 // Specifies a target platform architecture. 79350 // 79351 // * X86_64: 64-bit version of the x86 instruction set. 79352 // 79353 // * X86: 32-bit version of the x86 instruction set. 79354 // 79355 // * ARM64: ARMv8 64-bit CPU. 79356 // 79357 // * ARM_EABIHF: ARMv7 32-bit, Hard Float. 79358 // 79359 // * ARM_EABI: ARMv7 32-bit, Soft Float. Used by Android 32-bit ARM platform. 79360 // 79361 // Arch is a required field 79362 Arch *string `type:"string" required:"true" enum:"TargetPlatformArch"` 79363 79364 // Specifies a target platform OS. 79365 // 79366 // * LINUX: Linux-based operating systems. 79367 // 79368 // * ANDROID: Android operating systems. Android API level can be specified 79369 // using the ANDROID_PLATFORM compiler option. For example, "CompilerOptions": 79370 // {'ANDROID_PLATFORM': 28} 79371 // 79372 // Os is a required field 79373 Os *string `type:"string" required:"true" enum:"TargetPlatformOs"` 79374 } 79375 79376 // String returns the string representation. 79377 // 79378 // API parameter values that are decorated as "sensitive" in the API will not 79379 // be included in the string output. The member name will be present, but the 79380 // value will be replaced with "sensitive". 79381 func (s TargetPlatform) String() string { 79382 return awsutil.Prettify(s) 79383 } 79384 79385 // GoString returns the string representation. 79386 // 79387 // API parameter values that are decorated as "sensitive" in the API will not 79388 // be included in the string output. The member name will be present, but the 79389 // value will be replaced with "sensitive". 79390 func (s TargetPlatform) GoString() string { 79391 return s.String() 79392 } 79393 79394 // Validate inspects the fields of the type to determine if they are valid. 79395 func (s *TargetPlatform) Validate() error { 79396 invalidParams := request.ErrInvalidParams{Context: "TargetPlatform"} 79397 if s.Arch == nil { 79398 invalidParams.Add(request.NewErrParamRequired("Arch")) 79399 } 79400 if s.Os == nil { 79401 invalidParams.Add(request.NewErrParamRequired("Os")) 79402 } 79403 79404 if invalidParams.Len() > 0 { 79405 return invalidParams 79406 } 79407 return nil 79408 } 79409 79410 // SetAccelerator sets the Accelerator field's value. 79411 func (s *TargetPlatform) SetAccelerator(v string) *TargetPlatform { 79412 s.Accelerator = &v 79413 return s 79414 } 79415 79416 // SetArch sets the Arch field's value. 79417 func (s *TargetPlatform) SetArch(v string) *TargetPlatform { 79418 s.Arch = &v 79419 return s 79420 } 79421 79422 // SetOs sets the Os field's value. 79423 func (s *TargetPlatform) SetOs(v string) *TargetPlatform { 79424 s.Os = &v 79425 return s 79426 } 79427 79428 // The TensorBoard app settings. 79429 type TensorBoardAppSettings struct { 79430 _ struct{} `type:"structure"` 79431 79432 // The default instance type and the Amazon Resource Name (ARN) of the SageMaker 79433 // image created on the instance. 79434 DefaultResourceSpec *ResourceSpec `type:"structure"` 79435 } 79436 79437 // String returns the string representation. 79438 // 79439 // API parameter values that are decorated as "sensitive" in the API will not 79440 // be included in the string output. The member name will be present, but the 79441 // value will be replaced with "sensitive". 79442 func (s TensorBoardAppSettings) String() string { 79443 return awsutil.Prettify(s) 79444 } 79445 79446 // GoString returns the string representation. 79447 // 79448 // API parameter values that are decorated as "sensitive" in the API will not 79449 // be included in the string output. The member name will be present, but the 79450 // value will be replaced with "sensitive". 79451 func (s TensorBoardAppSettings) GoString() string { 79452 return s.String() 79453 } 79454 79455 // SetDefaultResourceSpec sets the DefaultResourceSpec field's value. 79456 func (s *TensorBoardAppSettings) SetDefaultResourceSpec(v *ResourceSpec) *TensorBoardAppSettings { 79457 s.DefaultResourceSpec = v 79458 return s 79459 } 79460 79461 // Configuration of storage locations for the Debugger TensorBoard output data. 79462 type TensorBoardOutputConfig struct { 79463 _ struct{} `type:"structure"` 79464 79465 // Path to local storage location for tensorBoard output. Defaults to /opt/ml/output/tensorboard. 79466 LocalPath *string `type:"string"` 79467 79468 // Path to Amazon S3 storage location for TensorBoard output. 79469 // 79470 // S3OutputPath is a required field 79471 S3OutputPath *string `type:"string" required:"true"` 79472 } 79473 79474 // String returns the string representation. 79475 // 79476 // API parameter values that are decorated as "sensitive" in the API will not 79477 // be included in the string output. The member name will be present, but the 79478 // value will be replaced with "sensitive". 79479 func (s TensorBoardOutputConfig) String() string { 79480 return awsutil.Prettify(s) 79481 } 79482 79483 // GoString returns the string representation. 79484 // 79485 // API parameter values that are decorated as "sensitive" in the API will not 79486 // be included in the string output. The member name will be present, but the 79487 // value will be replaced with "sensitive". 79488 func (s TensorBoardOutputConfig) GoString() string { 79489 return s.String() 79490 } 79491 79492 // Validate inspects the fields of the type to determine if they are valid. 79493 func (s *TensorBoardOutputConfig) Validate() error { 79494 invalidParams := request.ErrInvalidParams{Context: "TensorBoardOutputConfig"} 79495 if s.S3OutputPath == nil { 79496 invalidParams.Add(request.NewErrParamRequired("S3OutputPath")) 79497 } 79498 79499 if invalidParams.Len() > 0 { 79500 return invalidParams 79501 } 79502 return nil 79503 } 79504 79505 // SetLocalPath sets the LocalPath field's value. 79506 func (s *TensorBoardOutputConfig) SetLocalPath(v string) *TensorBoardOutputConfig { 79507 s.LocalPath = &v 79508 return s 79509 } 79510 79511 // SetS3OutputPath sets the S3OutputPath field's value. 79512 func (s *TensorBoardOutputConfig) SetS3OutputPath(v string) *TensorBoardOutputConfig { 79513 s.S3OutputPath = &v 79514 return s 79515 } 79516 79517 // Currently, the TrafficRoutingConfig API is not supported. 79518 type TrafficRoutingConfig struct { 79519 _ struct{} `type:"structure"` 79520 79521 // Currently, the CapacitySize API is not supported. 79522 CanarySize *CapacitySize `type:"structure"` 79523 79524 // Type is a required field 79525 Type *string `type:"string" required:"true" enum:"TrafficRoutingConfigType"` 79526 79527 // WaitIntervalInSeconds is a required field 79528 WaitIntervalInSeconds *int64 `type:"integer" required:"true"` 79529 } 79530 79531 // String returns the string representation. 79532 // 79533 // API parameter values that are decorated as "sensitive" in the API will not 79534 // be included in the string output. The member name will be present, but the 79535 // value will be replaced with "sensitive". 79536 func (s TrafficRoutingConfig) String() string { 79537 return awsutil.Prettify(s) 79538 } 79539 79540 // GoString returns the string representation. 79541 // 79542 // API parameter values that are decorated as "sensitive" in the API will not 79543 // be included in the string output. The member name will be present, but the 79544 // value will be replaced with "sensitive". 79545 func (s TrafficRoutingConfig) GoString() string { 79546 return s.String() 79547 } 79548 79549 // Validate inspects the fields of the type to determine if they are valid. 79550 func (s *TrafficRoutingConfig) Validate() error { 79551 invalidParams := request.ErrInvalidParams{Context: "TrafficRoutingConfig"} 79552 if s.Type == nil { 79553 invalidParams.Add(request.NewErrParamRequired("Type")) 79554 } 79555 if s.WaitIntervalInSeconds == nil { 79556 invalidParams.Add(request.NewErrParamRequired("WaitIntervalInSeconds")) 79557 } 79558 if s.CanarySize != nil { 79559 if err := s.CanarySize.Validate(); err != nil { 79560 invalidParams.AddNested("CanarySize", err.(request.ErrInvalidParams)) 79561 } 79562 } 79563 79564 if invalidParams.Len() > 0 { 79565 return invalidParams 79566 } 79567 return nil 79568 } 79569 79570 // SetCanarySize sets the CanarySize field's value. 79571 func (s *TrafficRoutingConfig) SetCanarySize(v *CapacitySize) *TrafficRoutingConfig { 79572 s.CanarySize = v 79573 return s 79574 } 79575 79576 // SetType sets the Type field's value. 79577 func (s *TrafficRoutingConfig) SetType(v string) *TrafficRoutingConfig { 79578 s.Type = &v 79579 return s 79580 } 79581 79582 // SetWaitIntervalInSeconds sets the WaitIntervalInSeconds field's value. 79583 func (s *TrafficRoutingConfig) SetWaitIntervalInSeconds(v int64) *TrafficRoutingConfig { 79584 s.WaitIntervalInSeconds = &v 79585 return s 79586 } 79587 79588 // Contains information about a training job. 79589 type TrainingJob struct { 79590 _ struct{} `type:"structure"` 79591 79592 // Information about the algorithm used for training, and algorithm metadata. 79593 AlgorithmSpecification *AlgorithmSpecification `type:"structure"` 79594 79595 // The Amazon Resource Name (ARN) of the job. 79596 AutoMLJobArn *string `min:"1" type:"string"` 79597 79598 // The billable time in seconds. 79599 BillableTimeInSeconds *int64 `min:"1" type:"integer"` 79600 79601 // Contains information about the output location for managed spot training 79602 // checkpoint data. 79603 CheckpointConfig *CheckpointConfig `type:"structure"` 79604 79605 // A timestamp that indicates when the training job was created. 79606 CreationTime *time.Time `type:"timestamp"` 79607 79608 // Configuration information for the Debugger hook parameters, metric and tensor 79609 // collections, and storage paths. To learn more about how to configure the 79610 // DebugHookConfig parameter, see Use the SageMaker and Debugger Configuration 79611 // API Operations to Create, Update, and Debug Your Training Job (https://docs.aws.amazon.com/sagemaker/latest/dg/debugger-createtrainingjob-api.html). 79612 DebugHookConfig *DebugHookConfig `type:"structure"` 79613 79614 // Information about the debug rule configuration. 79615 DebugRuleConfigurations []*DebugRuleConfiguration `type:"list"` 79616 79617 // Information about the evaluation status of the rules for the training job. 79618 DebugRuleEvaluationStatuses []*DebugRuleEvaluationStatus `type:"list"` 79619 79620 // To encrypt all communications between ML compute instances in distributed 79621 // training, choose True. Encryption provides greater security for distributed 79622 // training, but training might take longer. How long it takes depends on the 79623 // amount of communication between compute instances, especially if you use 79624 // a deep learning algorithm in distributed training. 79625 EnableInterContainerTrafficEncryption *bool `type:"boolean"` 79626 79627 // When true, enables managed spot training using Amazon EC2 Spot instances 79628 // to run training jobs instead of on-demand instances. For more information, 79629 // see Managed Spot Training (https://docs.aws.amazon.com/sagemaker/latest/dg/model-managed-spot-training.html). 79630 EnableManagedSpotTraining *bool `type:"boolean"` 79631 79632 // If the TrainingJob was created with network isolation, the value is set to 79633 // true. If network isolation is enabled, nodes can't communicate beyond the 79634 // VPC they run in. 79635 EnableNetworkIsolation *bool `type:"boolean"` 79636 79637 // The environment variables to set in the Docker container. 79638 Environment map[string]*string `type:"map"` 79639 79640 // Associates a SageMaker job as a trial component with an experiment and trial. 79641 // Specified when you call the following APIs: 79642 // 79643 // * CreateProcessingJob 79644 // 79645 // * CreateTrainingJob 79646 // 79647 // * CreateTransformJob 79648 ExperimentConfig *ExperimentConfig `type:"structure"` 79649 79650 // If the training job failed, the reason it failed. 79651 FailureReason *string `type:"string"` 79652 79653 // A list of final metric values that are set when the training job completes. 79654 // Used only if the training job was configured to use metrics. 79655 FinalMetricDataList []*MetricData `type:"list"` 79656 79657 // Algorithm-specific parameters. 79658 HyperParameters map[string]*string `type:"map"` 79659 79660 // An array of Channel objects that describes each data input channel. 79661 InputDataConfig []*Channel `min:"1" type:"list"` 79662 79663 // The Amazon Resource Name (ARN) of the labeling job. 79664 LabelingJobArn *string `type:"string"` 79665 79666 // A timestamp that indicates when the status of the training job was last modified. 79667 LastModifiedTime *time.Time `type:"timestamp"` 79668 79669 // Information about the Amazon S3 location that is configured for storing model 79670 // artifacts. 79671 ModelArtifacts *ModelArtifacts `type:"structure"` 79672 79673 // The S3 path where model artifacts that you configured when creating the job 79674 // are stored. Amazon SageMaker creates subfolders for model artifacts. 79675 OutputDataConfig *OutputDataConfig `type:"structure"` 79676 79677 // Resources, including ML compute instances and ML storage volumes, that are 79678 // configured for model training. 79679 ResourceConfig *ResourceConfig `type:"structure"` 79680 79681 // The number of times to retry the job when the job fails due to an InternalServerError. 79682 RetryStrategy *RetryStrategy `type:"structure"` 79683 79684 // The Amazon Web Services Identity and Access Management (IAM) role configured 79685 // for the training job. 79686 RoleArn *string `min:"20" type:"string"` 79687 79688 // Provides detailed information about the state of the training job. For detailed 79689 // information about the secondary status of the training job, see StatusMessage 79690 // under SecondaryStatusTransition. 79691 // 79692 // Amazon SageMaker provides primary statuses and secondary statuses that apply 79693 // to each of them: 79694 // 79695 // InProgress 79696 // 79697 // * Starting - Starting the training job. 79698 // 79699 // * Downloading - An optional stage for algorithms that support File training 79700 // input mode. It indicates that data is being downloaded to the ML storage 79701 // volumes. 79702 // 79703 // * Training - Training is in progress. 79704 // 79705 // * Uploading - Training is complete and the model artifacts are being uploaded 79706 // to the S3 location. 79707 // 79708 // Completed 79709 // 79710 // * Completed - The training job has completed. 79711 // 79712 // Failed 79713 // 79714 // * Failed - The training job has failed. The reason for the failure is 79715 // returned in the FailureReason field of DescribeTrainingJobResponse. 79716 // 79717 // Stopped 79718 // 79719 // * MaxRuntimeExceeded - The job stopped because it exceeded the maximum 79720 // allowed runtime. 79721 // 79722 // * Stopped - The training job has stopped. 79723 // 79724 // Stopping 79725 // 79726 // * Stopping - Stopping the training job. 79727 // 79728 // Valid values for SecondaryStatus are subject to change. 79729 // 79730 // We no longer support the following secondary statuses: 79731 // 79732 // * LaunchingMLInstances 79733 // 79734 // * PreparingTrainingStack 79735 // 79736 // * DownloadingTrainingImage 79737 SecondaryStatus *string `type:"string" enum:"SecondaryStatus"` 79738 79739 // A history of all of the secondary statuses that the training job has transitioned 79740 // through. 79741 SecondaryStatusTransitions []*SecondaryStatusTransition `type:"list"` 79742 79743 // Specifies a limit to how long a model training job can run. It also specifies 79744 // how long a managed Spot training job has to complete. When the job reaches 79745 // the time limit, Amazon SageMaker ends the training job. Use this API to cap 79746 // model training costs. 79747 // 79748 // To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which 79749 // delays job termination for 120 seconds. Algorithms can use this 120-second 79750 // window to save the model artifacts, so the results of training are not lost. 79751 StoppingCondition *StoppingCondition `type:"structure"` 79752 79753 // An array of key-value pairs. You can use tags to categorize your Amazon Web 79754 // Services resources in different ways, for example, by purpose, owner, or 79755 // environment. For more information, see Tagging Amazon Web Services Resources 79756 // (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html). 79757 Tags []*Tag `type:"list"` 79758 79759 // Configuration of storage locations for the Debugger TensorBoard output data. 79760 TensorBoardOutputConfig *TensorBoardOutputConfig `type:"structure"` 79761 79762 // Indicates the time when the training job ends on training instances. You 79763 // are billed for the time interval between the value of TrainingStartTime and 79764 // this time. For successful jobs and stopped jobs, this is the time after model 79765 // artifacts are uploaded. For failed jobs, this is the time when Amazon SageMaker 79766 // detects a job failure. 79767 TrainingEndTime *time.Time `type:"timestamp"` 79768 79769 // The Amazon Resource Name (ARN) of the training job. 79770 TrainingJobArn *string `type:"string"` 79771 79772 // The name of the training job. 79773 TrainingJobName *string `min:"1" type:"string"` 79774 79775 // The status of the training job. 79776 // 79777 // Training job statuses are: 79778 // 79779 // * InProgress - The training is in progress. 79780 // 79781 // * Completed - The training job has completed. 79782 // 79783 // * Failed - The training job has failed. To see the reason for the failure, 79784 // see the FailureReason field in the response to a DescribeTrainingJobResponse 79785 // call. 79786 // 79787 // * Stopping - The training job is stopping. 79788 // 79789 // * Stopped - The training job has stopped. 79790 // 79791 // For more detailed information, see SecondaryStatus. 79792 TrainingJobStatus *string `type:"string" enum:"TrainingJobStatus"` 79793 79794 // Indicates the time when the training job starts on training instances. You 79795 // are billed for the time interval between this time and the value of TrainingEndTime. 79796 // The start time in CloudWatch Logs might be later than this time. The difference 79797 // is due to the time it takes to download the training data and to the size 79798 // of the training container. 79799 TrainingStartTime *time.Time `type:"timestamp"` 79800 79801 // The training time in seconds. 79802 TrainingTimeInSeconds *int64 `min:"1" type:"integer"` 79803 79804 // The Amazon Resource Name (ARN) of the associated hyperparameter tuning job 79805 // if the training job was launched by a hyperparameter tuning job. 79806 TuningJobArn *string `type:"string"` 79807 79808 // A VpcConfig object that specifies the VPC that this training job has access 79809 // to. For more information, see Protect Training Jobs by Using an Amazon Virtual 79810 // Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html). 79811 VpcConfig *VpcConfig `type:"structure"` 79812 } 79813 79814 // String returns the string representation. 79815 // 79816 // API parameter values that are decorated as "sensitive" in the API will not 79817 // be included in the string output. The member name will be present, but the 79818 // value will be replaced with "sensitive". 79819 func (s TrainingJob) String() string { 79820 return awsutil.Prettify(s) 79821 } 79822 79823 // GoString returns the string representation. 79824 // 79825 // API parameter values that are decorated as "sensitive" in the API will not 79826 // be included in the string output. The member name will be present, but the 79827 // value will be replaced with "sensitive". 79828 func (s TrainingJob) GoString() string { 79829 return s.String() 79830 } 79831 79832 // SetAlgorithmSpecification sets the AlgorithmSpecification field's value. 79833 func (s *TrainingJob) SetAlgorithmSpecification(v *AlgorithmSpecification) *TrainingJob { 79834 s.AlgorithmSpecification = v 79835 return s 79836 } 79837 79838 // SetAutoMLJobArn sets the AutoMLJobArn field's value. 79839 func (s *TrainingJob) SetAutoMLJobArn(v string) *TrainingJob { 79840 s.AutoMLJobArn = &v 79841 return s 79842 } 79843 79844 // SetBillableTimeInSeconds sets the BillableTimeInSeconds field's value. 79845 func (s *TrainingJob) SetBillableTimeInSeconds(v int64) *TrainingJob { 79846 s.BillableTimeInSeconds = &v 79847 return s 79848 } 79849 79850 // SetCheckpointConfig sets the CheckpointConfig field's value. 79851 func (s *TrainingJob) SetCheckpointConfig(v *CheckpointConfig) *TrainingJob { 79852 s.CheckpointConfig = v 79853 return s 79854 } 79855 79856 // SetCreationTime sets the CreationTime field's value. 79857 func (s *TrainingJob) SetCreationTime(v time.Time) *TrainingJob { 79858 s.CreationTime = &v 79859 return s 79860 } 79861 79862 // SetDebugHookConfig sets the DebugHookConfig field's value. 79863 func (s *TrainingJob) SetDebugHookConfig(v *DebugHookConfig) *TrainingJob { 79864 s.DebugHookConfig = v 79865 return s 79866 } 79867 79868 // SetDebugRuleConfigurations sets the DebugRuleConfigurations field's value. 79869 func (s *TrainingJob) SetDebugRuleConfigurations(v []*DebugRuleConfiguration) *TrainingJob { 79870 s.DebugRuleConfigurations = v 79871 return s 79872 } 79873 79874 // SetDebugRuleEvaluationStatuses sets the DebugRuleEvaluationStatuses field's value. 79875 func (s *TrainingJob) SetDebugRuleEvaluationStatuses(v []*DebugRuleEvaluationStatus) *TrainingJob { 79876 s.DebugRuleEvaluationStatuses = v 79877 return s 79878 } 79879 79880 // SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value. 79881 func (s *TrainingJob) SetEnableInterContainerTrafficEncryption(v bool) *TrainingJob { 79882 s.EnableInterContainerTrafficEncryption = &v 79883 return s 79884 } 79885 79886 // SetEnableManagedSpotTraining sets the EnableManagedSpotTraining field's value. 79887 func (s *TrainingJob) SetEnableManagedSpotTraining(v bool) *TrainingJob { 79888 s.EnableManagedSpotTraining = &v 79889 return s 79890 } 79891 79892 // SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value. 79893 func (s *TrainingJob) SetEnableNetworkIsolation(v bool) *TrainingJob { 79894 s.EnableNetworkIsolation = &v 79895 return s 79896 } 79897 79898 // SetEnvironment sets the Environment field's value. 79899 func (s *TrainingJob) SetEnvironment(v map[string]*string) *TrainingJob { 79900 s.Environment = v 79901 return s 79902 } 79903 79904 // SetExperimentConfig sets the ExperimentConfig field's value. 79905 func (s *TrainingJob) SetExperimentConfig(v *ExperimentConfig) *TrainingJob { 79906 s.ExperimentConfig = v 79907 return s 79908 } 79909 79910 // SetFailureReason sets the FailureReason field's value. 79911 func (s *TrainingJob) SetFailureReason(v string) *TrainingJob { 79912 s.FailureReason = &v 79913 return s 79914 } 79915 79916 // SetFinalMetricDataList sets the FinalMetricDataList field's value. 79917 func (s *TrainingJob) SetFinalMetricDataList(v []*MetricData) *TrainingJob { 79918 s.FinalMetricDataList = v 79919 return s 79920 } 79921 79922 // SetHyperParameters sets the HyperParameters field's value. 79923 func (s *TrainingJob) SetHyperParameters(v map[string]*string) *TrainingJob { 79924 s.HyperParameters = v 79925 return s 79926 } 79927 79928 // SetInputDataConfig sets the InputDataConfig field's value. 79929 func (s *TrainingJob) SetInputDataConfig(v []*Channel) *TrainingJob { 79930 s.InputDataConfig = v 79931 return s 79932 } 79933 79934 // SetLabelingJobArn sets the LabelingJobArn field's value. 79935 func (s *TrainingJob) SetLabelingJobArn(v string) *TrainingJob { 79936 s.LabelingJobArn = &v 79937 return s 79938 } 79939 79940 // SetLastModifiedTime sets the LastModifiedTime field's value. 79941 func (s *TrainingJob) SetLastModifiedTime(v time.Time) *TrainingJob { 79942 s.LastModifiedTime = &v 79943 return s 79944 } 79945 79946 // SetModelArtifacts sets the ModelArtifacts field's value. 79947 func (s *TrainingJob) SetModelArtifacts(v *ModelArtifacts) *TrainingJob { 79948 s.ModelArtifacts = v 79949 return s 79950 } 79951 79952 // SetOutputDataConfig sets the OutputDataConfig field's value. 79953 func (s *TrainingJob) SetOutputDataConfig(v *OutputDataConfig) *TrainingJob { 79954 s.OutputDataConfig = v 79955 return s 79956 } 79957 79958 // SetResourceConfig sets the ResourceConfig field's value. 79959 func (s *TrainingJob) SetResourceConfig(v *ResourceConfig) *TrainingJob { 79960 s.ResourceConfig = v 79961 return s 79962 } 79963 79964 // SetRetryStrategy sets the RetryStrategy field's value. 79965 func (s *TrainingJob) SetRetryStrategy(v *RetryStrategy) *TrainingJob { 79966 s.RetryStrategy = v 79967 return s 79968 } 79969 79970 // SetRoleArn sets the RoleArn field's value. 79971 func (s *TrainingJob) SetRoleArn(v string) *TrainingJob { 79972 s.RoleArn = &v 79973 return s 79974 } 79975 79976 // SetSecondaryStatus sets the SecondaryStatus field's value. 79977 func (s *TrainingJob) SetSecondaryStatus(v string) *TrainingJob { 79978 s.SecondaryStatus = &v 79979 return s 79980 } 79981 79982 // SetSecondaryStatusTransitions sets the SecondaryStatusTransitions field's value. 79983 func (s *TrainingJob) SetSecondaryStatusTransitions(v []*SecondaryStatusTransition) *TrainingJob { 79984 s.SecondaryStatusTransitions = v 79985 return s 79986 } 79987 79988 // SetStoppingCondition sets the StoppingCondition field's value. 79989 func (s *TrainingJob) SetStoppingCondition(v *StoppingCondition) *TrainingJob { 79990 s.StoppingCondition = v 79991 return s 79992 } 79993 79994 // SetTags sets the Tags field's value. 79995 func (s *TrainingJob) SetTags(v []*Tag) *TrainingJob { 79996 s.Tags = v 79997 return s 79998 } 79999 80000 // SetTensorBoardOutputConfig sets the TensorBoardOutputConfig field's value. 80001 func (s *TrainingJob) SetTensorBoardOutputConfig(v *TensorBoardOutputConfig) *TrainingJob { 80002 s.TensorBoardOutputConfig = v 80003 return s 80004 } 80005 80006 // SetTrainingEndTime sets the TrainingEndTime field's value. 80007 func (s *TrainingJob) SetTrainingEndTime(v time.Time) *TrainingJob { 80008 s.TrainingEndTime = &v 80009 return s 80010 } 80011 80012 // SetTrainingJobArn sets the TrainingJobArn field's value. 80013 func (s *TrainingJob) SetTrainingJobArn(v string) *TrainingJob { 80014 s.TrainingJobArn = &v 80015 return s 80016 } 80017 80018 // SetTrainingJobName sets the TrainingJobName field's value. 80019 func (s *TrainingJob) SetTrainingJobName(v string) *TrainingJob { 80020 s.TrainingJobName = &v 80021 return s 80022 } 80023 80024 // SetTrainingJobStatus sets the TrainingJobStatus field's value. 80025 func (s *TrainingJob) SetTrainingJobStatus(v string) *TrainingJob { 80026 s.TrainingJobStatus = &v 80027 return s 80028 } 80029 80030 // SetTrainingStartTime sets the TrainingStartTime field's value. 80031 func (s *TrainingJob) SetTrainingStartTime(v time.Time) *TrainingJob { 80032 s.TrainingStartTime = &v 80033 return s 80034 } 80035 80036 // SetTrainingTimeInSeconds sets the TrainingTimeInSeconds field's value. 80037 func (s *TrainingJob) SetTrainingTimeInSeconds(v int64) *TrainingJob { 80038 s.TrainingTimeInSeconds = &v 80039 return s 80040 } 80041 80042 // SetTuningJobArn sets the TuningJobArn field's value. 80043 func (s *TrainingJob) SetTuningJobArn(v string) *TrainingJob { 80044 s.TuningJobArn = &v 80045 return s 80046 } 80047 80048 // SetVpcConfig sets the VpcConfig field's value. 80049 func (s *TrainingJob) SetVpcConfig(v *VpcConfig) *TrainingJob { 80050 s.VpcConfig = v 80051 return s 80052 } 80053 80054 // Defines the input needed to run a training job using the algorithm. 80055 type TrainingJobDefinition struct { 80056 _ struct{} `type:"structure"` 80057 80058 // The hyperparameters used for the training job. 80059 HyperParameters map[string]*string `type:"map"` 80060 80061 // An array of Channel objects, each of which specifies an input source. 80062 // 80063 // InputDataConfig is a required field 80064 InputDataConfig []*Channel `min:"1" type:"list" required:"true"` 80065 80066 // the path to the S3 bucket where you want to store model artifacts. Amazon 80067 // SageMaker creates subfolders for the artifacts. 80068 // 80069 // OutputDataConfig is a required field 80070 OutputDataConfig *OutputDataConfig `type:"structure" required:"true"` 80071 80072 // The resources, including the ML compute instances and ML storage volumes, 80073 // to use for model training. 80074 // 80075 // ResourceConfig is a required field 80076 ResourceConfig *ResourceConfig `type:"structure" required:"true"` 80077 80078 // Specifies a limit to how long a model training job can run. It also specifies 80079 // how long a managed Spot training job has to complete. When the job reaches 80080 // the time limit, Amazon SageMaker ends the training job. Use this API to cap 80081 // model training costs. 80082 // 80083 // To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which 80084 // delays job termination for 120 seconds. Algorithms can use this 120-second 80085 // window to save the model artifacts. 80086 // 80087 // StoppingCondition is a required field 80088 StoppingCondition *StoppingCondition `type:"structure" required:"true"` 80089 80090 // The training input mode that the algorithm supports. For more information 80091 // about input modes, see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html). 80092 // 80093 // Pipe mode 80094 // 80095 // If an algorithm supports Pipe mode, Amazon SageMaker streams data directly 80096 // from Amazon S3 to the container. 80097 // 80098 // File mode 80099 // 80100 // If an algorithm supports File mode, SageMaker downloads the training data 80101 // from S3 to the provisioned ML storage volume, and mounts the directory to 80102 // the Docker volume for the training container. 80103 // 80104 // You must provision the ML storage volume with sufficient capacity to accommodate 80105 // the data downloaded from S3. In addition to the training data, the ML storage 80106 // volume also stores the output model. The algorithm container uses the ML 80107 // storage volume to also store intermediate information, if any. 80108 // 80109 // For distributed algorithms, training data is distributed uniformly. Your 80110 // training duration is predictable if the input data objects sizes are approximately 80111 // the same. SageMaker does not split the files any further for model training. 80112 // If the object sizes are skewed, training won't be optimal as the data distribution 80113 // is also skewed when one host in a training cluster is overloaded, thus becoming 80114 // a bottleneck in training. 80115 // 80116 // FastFile mode 80117 // 80118 // If an algorithm supports FastFile mode, SageMaker streams data directly from 80119 // S3 to the container with no code changes, and provides file system access 80120 // to the data. Users can author their training script to interact with these 80121 // files as if they were stored on disk. 80122 // 80123 // FastFile mode works best when the data is read sequentially. Augmented manifest 80124 // files aren't supported. The startup time is lower when there are fewer files 80125 // in the S3 bucket provided. 80126 // 80127 // TrainingInputMode is a required field 80128 TrainingInputMode *string `type:"string" required:"true" enum:"TrainingInputMode"` 80129 } 80130 80131 // String returns the string representation. 80132 // 80133 // API parameter values that are decorated as "sensitive" in the API will not 80134 // be included in the string output. The member name will be present, but the 80135 // value will be replaced with "sensitive". 80136 func (s TrainingJobDefinition) String() string { 80137 return awsutil.Prettify(s) 80138 } 80139 80140 // GoString returns the string representation. 80141 // 80142 // API parameter values that are decorated as "sensitive" in the API will not 80143 // be included in the string output. The member name will be present, but the 80144 // value will be replaced with "sensitive". 80145 func (s TrainingJobDefinition) GoString() string { 80146 return s.String() 80147 } 80148 80149 // Validate inspects the fields of the type to determine if they are valid. 80150 func (s *TrainingJobDefinition) Validate() error { 80151 invalidParams := request.ErrInvalidParams{Context: "TrainingJobDefinition"} 80152 if s.InputDataConfig == nil { 80153 invalidParams.Add(request.NewErrParamRequired("InputDataConfig")) 80154 } 80155 if s.InputDataConfig != nil && len(s.InputDataConfig) < 1 { 80156 invalidParams.Add(request.NewErrParamMinLen("InputDataConfig", 1)) 80157 } 80158 if s.OutputDataConfig == nil { 80159 invalidParams.Add(request.NewErrParamRequired("OutputDataConfig")) 80160 } 80161 if s.ResourceConfig == nil { 80162 invalidParams.Add(request.NewErrParamRequired("ResourceConfig")) 80163 } 80164 if s.StoppingCondition == nil { 80165 invalidParams.Add(request.NewErrParamRequired("StoppingCondition")) 80166 } 80167 if s.TrainingInputMode == nil { 80168 invalidParams.Add(request.NewErrParamRequired("TrainingInputMode")) 80169 } 80170 if s.InputDataConfig != nil { 80171 for i, v := range s.InputDataConfig { 80172 if v == nil { 80173 continue 80174 } 80175 if err := v.Validate(); err != nil { 80176 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputDataConfig", i), err.(request.ErrInvalidParams)) 80177 } 80178 } 80179 } 80180 if s.OutputDataConfig != nil { 80181 if err := s.OutputDataConfig.Validate(); err != nil { 80182 invalidParams.AddNested("OutputDataConfig", err.(request.ErrInvalidParams)) 80183 } 80184 } 80185 if s.ResourceConfig != nil { 80186 if err := s.ResourceConfig.Validate(); err != nil { 80187 invalidParams.AddNested("ResourceConfig", err.(request.ErrInvalidParams)) 80188 } 80189 } 80190 if s.StoppingCondition != nil { 80191 if err := s.StoppingCondition.Validate(); err != nil { 80192 invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams)) 80193 } 80194 } 80195 80196 if invalidParams.Len() > 0 { 80197 return invalidParams 80198 } 80199 return nil 80200 } 80201 80202 // SetHyperParameters sets the HyperParameters field's value. 80203 func (s *TrainingJobDefinition) SetHyperParameters(v map[string]*string) *TrainingJobDefinition { 80204 s.HyperParameters = v 80205 return s 80206 } 80207 80208 // SetInputDataConfig sets the InputDataConfig field's value. 80209 func (s *TrainingJobDefinition) SetInputDataConfig(v []*Channel) *TrainingJobDefinition { 80210 s.InputDataConfig = v 80211 return s 80212 } 80213 80214 // SetOutputDataConfig sets the OutputDataConfig field's value. 80215 func (s *TrainingJobDefinition) SetOutputDataConfig(v *OutputDataConfig) *TrainingJobDefinition { 80216 s.OutputDataConfig = v 80217 return s 80218 } 80219 80220 // SetResourceConfig sets the ResourceConfig field's value. 80221 func (s *TrainingJobDefinition) SetResourceConfig(v *ResourceConfig) *TrainingJobDefinition { 80222 s.ResourceConfig = v 80223 return s 80224 } 80225 80226 // SetStoppingCondition sets the StoppingCondition field's value. 80227 func (s *TrainingJobDefinition) SetStoppingCondition(v *StoppingCondition) *TrainingJobDefinition { 80228 s.StoppingCondition = v 80229 return s 80230 } 80231 80232 // SetTrainingInputMode sets the TrainingInputMode field's value. 80233 func (s *TrainingJobDefinition) SetTrainingInputMode(v string) *TrainingJobDefinition { 80234 s.TrainingInputMode = &v 80235 return s 80236 } 80237 80238 // The numbers of training jobs launched by a hyperparameter tuning job, categorized 80239 // by status. 80240 type TrainingJobStatusCounters struct { 80241 _ struct{} `type:"structure"` 80242 80243 // The number of completed training jobs launched by the hyperparameter tuning 80244 // job. 80245 Completed *int64 `type:"integer"` 80246 80247 // The number of in-progress training jobs launched by a hyperparameter tuning 80248 // job. 80249 InProgress *int64 `type:"integer"` 80250 80251 // The number of training jobs that failed and can't be retried. A failed training 80252 // job can't be retried if it failed because a client error occurred. 80253 NonRetryableError *int64 `type:"integer"` 80254 80255 // The number of training jobs that failed, but can be retried. A failed training 80256 // job can be retried only if it failed because an internal service error occurred. 80257 RetryableError *int64 `type:"integer"` 80258 80259 // The number of training jobs launched by a hyperparameter tuning job that 80260 // were manually stopped. 80261 Stopped *int64 `type:"integer"` 80262 } 80263 80264 // String returns the string representation. 80265 // 80266 // API parameter values that are decorated as "sensitive" in the API will not 80267 // be included in the string output. The member name will be present, but the 80268 // value will be replaced with "sensitive". 80269 func (s TrainingJobStatusCounters) String() string { 80270 return awsutil.Prettify(s) 80271 } 80272 80273 // GoString returns the string representation. 80274 // 80275 // API parameter values that are decorated as "sensitive" in the API will not 80276 // be included in the string output. The member name will be present, but the 80277 // value will be replaced with "sensitive". 80278 func (s TrainingJobStatusCounters) GoString() string { 80279 return s.String() 80280 } 80281 80282 // SetCompleted sets the Completed field's value. 80283 func (s *TrainingJobStatusCounters) SetCompleted(v int64) *TrainingJobStatusCounters { 80284 s.Completed = &v 80285 return s 80286 } 80287 80288 // SetInProgress sets the InProgress field's value. 80289 func (s *TrainingJobStatusCounters) SetInProgress(v int64) *TrainingJobStatusCounters { 80290 s.InProgress = &v 80291 return s 80292 } 80293 80294 // SetNonRetryableError sets the NonRetryableError field's value. 80295 func (s *TrainingJobStatusCounters) SetNonRetryableError(v int64) *TrainingJobStatusCounters { 80296 s.NonRetryableError = &v 80297 return s 80298 } 80299 80300 // SetRetryableError sets the RetryableError field's value. 80301 func (s *TrainingJobStatusCounters) SetRetryableError(v int64) *TrainingJobStatusCounters { 80302 s.RetryableError = &v 80303 return s 80304 } 80305 80306 // SetStopped sets the Stopped field's value. 80307 func (s *TrainingJobStatusCounters) SetStopped(v int64) *TrainingJobStatusCounters { 80308 s.Stopped = &v 80309 return s 80310 } 80311 80312 // Metadata for a training job step. 80313 type TrainingJobStepMetadata struct { 80314 _ struct{} `type:"structure"` 80315 80316 // The Amazon Resource Name (ARN) of the training job that was run by this step 80317 // execution. 80318 Arn *string `type:"string"` 80319 } 80320 80321 // String returns the string representation. 80322 // 80323 // API parameter values that are decorated as "sensitive" in the API will not 80324 // be included in the string output. The member name will be present, but the 80325 // value will be replaced with "sensitive". 80326 func (s TrainingJobStepMetadata) String() string { 80327 return awsutil.Prettify(s) 80328 } 80329 80330 // GoString returns the string representation. 80331 // 80332 // API parameter values that are decorated as "sensitive" in the API will not 80333 // be included in the string output. The member name will be present, but the 80334 // value will be replaced with "sensitive". 80335 func (s TrainingJobStepMetadata) GoString() string { 80336 return s.String() 80337 } 80338 80339 // SetArn sets the Arn field's value. 80340 func (s *TrainingJobStepMetadata) SetArn(v string) *TrainingJobStepMetadata { 80341 s.Arn = &v 80342 return s 80343 } 80344 80345 // Provides summary information about a training job. 80346 type TrainingJobSummary struct { 80347 _ struct{} `type:"structure"` 80348 80349 // A timestamp that shows when the training job was created. 80350 // 80351 // CreationTime is a required field 80352 CreationTime *time.Time `type:"timestamp" required:"true"` 80353 80354 // Timestamp when the training job was last modified. 80355 LastModifiedTime *time.Time `type:"timestamp"` 80356 80357 // A timestamp that shows when the training job ended. This field is set only 80358 // if the training job has one of the terminal statuses (Completed, Failed, 80359 // or Stopped). 80360 TrainingEndTime *time.Time `type:"timestamp"` 80361 80362 // The Amazon Resource Name (ARN) of the training job. 80363 // 80364 // TrainingJobArn is a required field 80365 TrainingJobArn *string `type:"string" required:"true"` 80366 80367 // The name of the training job that you want a summary for. 80368 // 80369 // TrainingJobName is a required field 80370 TrainingJobName *string `min:"1" type:"string" required:"true"` 80371 80372 // The status of the training job. 80373 // 80374 // TrainingJobStatus is a required field 80375 TrainingJobStatus *string `type:"string" required:"true" enum:"TrainingJobStatus"` 80376 } 80377 80378 // String returns the string representation. 80379 // 80380 // API parameter values that are decorated as "sensitive" in the API will not 80381 // be included in the string output. The member name will be present, but the 80382 // value will be replaced with "sensitive". 80383 func (s TrainingJobSummary) String() string { 80384 return awsutil.Prettify(s) 80385 } 80386 80387 // GoString returns the string representation. 80388 // 80389 // API parameter values that are decorated as "sensitive" in the API will not 80390 // be included in the string output. The member name will be present, but the 80391 // value will be replaced with "sensitive". 80392 func (s TrainingJobSummary) GoString() string { 80393 return s.String() 80394 } 80395 80396 // SetCreationTime sets the CreationTime field's value. 80397 func (s *TrainingJobSummary) SetCreationTime(v time.Time) *TrainingJobSummary { 80398 s.CreationTime = &v 80399 return s 80400 } 80401 80402 // SetLastModifiedTime sets the LastModifiedTime field's value. 80403 func (s *TrainingJobSummary) SetLastModifiedTime(v time.Time) *TrainingJobSummary { 80404 s.LastModifiedTime = &v 80405 return s 80406 } 80407 80408 // SetTrainingEndTime sets the TrainingEndTime field's value. 80409 func (s *TrainingJobSummary) SetTrainingEndTime(v time.Time) *TrainingJobSummary { 80410 s.TrainingEndTime = &v 80411 return s 80412 } 80413 80414 // SetTrainingJobArn sets the TrainingJobArn field's value. 80415 func (s *TrainingJobSummary) SetTrainingJobArn(v string) *TrainingJobSummary { 80416 s.TrainingJobArn = &v 80417 return s 80418 } 80419 80420 // SetTrainingJobName sets the TrainingJobName field's value. 80421 func (s *TrainingJobSummary) SetTrainingJobName(v string) *TrainingJobSummary { 80422 s.TrainingJobName = &v 80423 return s 80424 } 80425 80426 // SetTrainingJobStatus sets the TrainingJobStatus field's value. 80427 func (s *TrainingJobSummary) SetTrainingJobStatus(v string) *TrainingJobSummary { 80428 s.TrainingJobStatus = &v 80429 return s 80430 } 80431 80432 // Defines how the algorithm is used for a training job. 80433 type TrainingSpecification struct { 80434 _ struct{} `type:"structure"` 80435 80436 // A list of MetricDefinition objects, which are used for parsing metrics generated 80437 // by the algorithm. 80438 MetricDefinitions []*MetricDefinition `type:"list"` 80439 80440 // A list of the HyperParameterSpecification objects, that define the supported 80441 // hyperparameters. This is required if the algorithm supports automatic model 80442 // tuning.> 80443 SupportedHyperParameters []*HyperParameterSpecification `type:"list"` 80444 80445 // A list of the instance types that this algorithm can use for training. 80446 // 80447 // SupportedTrainingInstanceTypes is a required field 80448 SupportedTrainingInstanceTypes []*string `type:"list" required:"true"` 80449 80450 // A list of the metrics that the algorithm emits that can be used as the objective 80451 // metric in a hyperparameter tuning job. 80452 SupportedTuningJobObjectiveMetrics []*HyperParameterTuningJobObjective `type:"list"` 80453 80454 // Indicates whether the algorithm supports distributed training. If set to 80455 // false, buyers can't request more than one instance during training. 80456 SupportsDistributedTraining *bool `type:"boolean"` 80457 80458 // A list of ChannelSpecification objects, which specify the input sources to 80459 // be used by the algorithm. 80460 // 80461 // TrainingChannels is a required field 80462 TrainingChannels []*ChannelSpecification `min:"1" type:"list" required:"true"` 80463 80464 // The Amazon ECR registry path of the Docker image that contains the training 80465 // algorithm. 80466 // 80467 // TrainingImage is a required field 80468 TrainingImage *string `type:"string" required:"true"` 80469 80470 // An MD5 hash of the training algorithm that identifies the Docker image used 80471 // for training. 80472 TrainingImageDigest *string `type:"string"` 80473 } 80474 80475 // String returns the string representation. 80476 // 80477 // API parameter values that are decorated as "sensitive" in the API will not 80478 // be included in the string output. The member name will be present, but the 80479 // value will be replaced with "sensitive". 80480 func (s TrainingSpecification) String() string { 80481 return awsutil.Prettify(s) 80482 } 80483 80484 // GoString returns the string representation. 80485 // 80486 // API parameter values that are decorated as "sensitive" in the API will not 80487 // be included in the string output. The member name will be present, but the 80488 // value will be replaced with "sensitive". 80489 func (s TrainingSpecification) GoString() string { 80490 return s.String() 80491 } 80492 80493 // Validate inspects the fields of the type to determine if they are valid. 80494 func (s *TrainingSpecification) Validate() error { 80495 invalidParams := request.ErrInvalidParams{Context: "TrainingSpecification"} 80496 if s.SupportedTrainingInstanceTypes == nil { 80497 invalidParams.Add(request.NewErrParamRequired("SupportedTrainingInstanceTypes")) 80498 } 80499 if s.TrainingChannels == nil { 80500 invalidParams.Add(request.NewErrParamRequired("TrainingChannels")) 80501 } 80502 if s.TrainingChannels != nil && len(s.TrainingChannels) < 1 { 80503 invalidParams.Add(request.NewErrParamMinLen("TrainingChannels", 1)) 80504 } 80505 if s.TrainingImage == nil { 80506 invalidParams.Add(request.NewErrParamRequired("TrainingImage")) 80507 } 80508 if s.MetricDefinitions != nil { 80509 for i, v := range s.MetricDefinitions { 80510 if v == nil { 80511 continue 80512 } 80513 if err := v.Validate(); err != nil { 80514 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MetricDefinitions", i), err.(request.ErrInvalidParams)) 80515 } 80516 } 80517 } 80518 if s.SupportedHyperParameters != nil { 80519 for i, v := range s.SupportedHyperParameters { 80520 if v == nil { 80521 continue 80522 } 80523 if err := v.Validate(); err != nil { 80524 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SupportedHyperParameters", i), err.(request.ErrInvalidParams)) 80525 } 80526 } 80527 } 80528 if s.SupportedTuningJobObjectiveMetrics != nil { 80529 for i, v := range s.SupportedTuningJobObjectiveMetrics { 80530 if v == nil { 80531 continue 80532 } 80533 if err := v.Validate(); err != nil { 80534 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SupportedTuningJobObjectiveMetrics", i), err.(request.ErrInvalidParams)) 80535 } 80536 } 80537 } 80538 if s.TrainingChannels != nil { 80539 for i, v := range s.TrainingChannels { 80540 if v == nil { 80541 continue 80542 } 80543 if err := v.Validate(); err != nil { 80544 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TrainingChannels", i), err.(request.ErrInvalidParams)) 80545 } 80546 } 80547 } 80548 80549 if invalidParams.Len() > 0 { 80550 return invalidParams 80551 } 80552 return nil 80553 } 80554 80555 // SetMetricDefinitions sets the MetricDefinitions field's value. 80556 func (s *TrainingSpecification) SetMetricDefinitions(v []*MetricDefinition) *TrainingSpecification { 80557 s.MetricDefinitions = v 80558 return s 80559 } 80560 80561 // SetSupportedHyperParameters sets the SupportedHyperParameters field's value. 80562 func (s *TrainingSpecification) SetSupportedHyperParameters(v []*HyperParameterSpecification) *TrainingSpecification { 80563 s.SupportedHyperParameters = v 80564 return s 80565 } 80566 80567 // SetSupportedTrainingInstanceTypes sets the SupportedTrainingInstanceTypes field's value. 80568 func (s *TrainingSpecification) SetSupportedTrainingInstanceTypes(v []*string) *TrainingSpecification { 80569 s.SupportedTrainingInstanceTypes = v 80570 return s 80571 } 80572 80573 // SetSupportedTuningJobObjectiveMetrics sets the SupportedTuningJobObjectiveMetrics field's value. 80574 func (s *TrainingSpecification) SetSupportedTuningJobObjectiveMetrics(v []*HyperParameterTuningJobObjective) *TrainingSpecification { 80575 s.SupportedTuningJobObjectiveMetrics = v 80576 return s 80577 } 80578 80579 // SetSupportsDistributedTraining sets the SupportsDistributedTraining field's value. 80580 func (s *TrainingSpecification) SetSupportsDistributedTraining(v bool) *TrainingSpecification { 80581 s.SupportsDistributedTraining = &v 80582 return s 80583 } 80584 80585 // SetTrainingChannels sets the TrainingChannels field's value. 80586 func (s *TrainingSpecification) SetTrainingChannels(v []*ChannelSpecification) *TrainingSpecification { 80587 s.TrainingChannels = v 80588 return s 80589 } 80590 80591 // SetTrainingImage sets the TrainingImage field's value. 80592 func (s *TrainingSpecification) SetTrainingImage(v string) *TrainingSpecification { 80593 s.TrainingImage = &v 80594 return s 80595 } 80596 80597 // SetTrainingImageDigest sets the TrainingImageDigest field's value. 80598 func (s *TrainingSpecification) SetTrainingImageDigest(v string) *TrainingSpecification { 80599 s.TrainingImageDigest = &v 80600 return s 80601 } 80602 80603 // Describes the location of the channel data. 80604 type TransformDataSource struct { 80605 _ struct{} `type:"structure"` 80606 80607 // The S3 location of the data source that is associated with a channel. 80608 // 80609 // S3DataSource is a required field 80610 S3DataSource *TransformS3DataSource `type:"structure" required:"true"` 80611 } 80612 80613 // String returns the string representation. 80614 // 80615 // API parameter values that are decorated as "sensitive" in the API will not 80616 // be included in the string output. The member name will be present, but the 80617 // value will be replaced with "sensitive". 80618 func (s TransformDataSource) String() string { 80619 return awsutil.Prettify(s) 80620 } 80621 80622 // GoString returns the string representation. 80623 // 80624 // API parameter values that are decorated as "sensitive" in the API will not 80625 // be included in the string output. The member name will be present, but the 80626 // value will be replaced with "sensitive". 80627 func (s TransformDataSource) GoString() string { 80628 return s.String() 80629 } 80630 80631 // Validate inspects the fields of the type to determine if they are valid. 80632 func (s *TransformDataSource) Validate() error { 80633 invalidParams := request.ErrInvalidParams{Context: "TransformDataSource"} 80634 if s.S3DataSource == nil { 80635 invalidParams.Add(request.NewErrParamRequired("S3DataSource")) 80636 } 80637 if s.S3DataSource != nil { 80638 if err := s.S3DataSource.Validate(); err != nil { 80639 invalidParams.AddNested("S3DataSource", err.(request.ErrInvalidParams)) 80640 } 80641 } 80642 80643 if invalidParams.Len() > 0 { 80644 return invalidParams 80645 } 80646 return nil 80647 } 80648 80649 // SetS3DataSource sets the S3DataSource field's value. 80650 func (s *TransformDataSource) SetS3DataSource(v *TransformS3DataSource) *TransformDataSource { 80651 s.S3DataSource = v 80652 return s 80653 } 80654 80655 // Describes the input source of a transform job and the way the transform job 80656 // consumes it. 80657 type TransformInput struct { 80658 _ struct{} `type:"structure"` 80659 80660 // If your transform data is compressed, specify the compression type. Amazon 80661 // SageMaker automatically decompresses the data for the transform job accordingly. 80662 // The default value is None. 80663 CompressionType *string `type:"string" enum:"CompressionType"` 80664 80665 // The multipurpose internet mail extension (MIME) type of the data. Amazon 80666 // SageMaker uses the MIME type with each http call to transfer data to the 80667 // transform job. 80668 ContentType *string `type:"string"` 80669 80670 // Describes the location of the channel data, which is, the S3 location of 80671 // the input data that the model can consume. 80672 // 80673 // DataSource is a required field 80674 DataSource *TransformDataSource `type:"structure" required:"true"` 80675 80676 // The method to use to split the transform job's data files into smaller batches. 80677 // Splitting is necessary when the total size of each object is too large to 80678 // fit in a single request. You can also use data splitting to improve performance 80679 // by processing multiple concurrent mini-batches. The default value for SplitType 80680 // is None, which indicates that input data files are not split, and request 80681 // payloads contain the entire contents of an input object. Set the value of 80682 // this parameter to Line to split records on a newline character boundary. 80683 // SplitType also supports a number of record-oriented binary data formats. 80684 // Currently, the supported record formats are: 80685 // 80686 // * RecordIO 80687 // 80688 // * TFRecord 80689 // 80690 // When splitting is enabled, the size of a mini-batch depends on the values 80691 // of the BatchStrategy and MaxPayloadInMB parameters. When the value of BatchStrategy 80692 // is MultiRecord, Amazon SageMaker sends the maximum number of records in each 80693 // request, up to the MaxPayloadInMB limit. If the value of BatchStrategy is 80694 // SingleRecord, Amazon SageMaker sends individual records in each request. 80695 // 80696 // Some data formats represent a record as a binary payload wrapped with extra 80697 // padding bytes. When splitting is applied to a binary data format, padding 80698 // is removed if the value of BatchStrategy is set to SingleRecord. Padding 80699 // is not removed if the value of BatchStrategy is set to MultiRecord. 80700 // 80701 // For more information about RecordIO, see Create a Dataset Using RecordIO 80702 // (https://mxnet.apache.org/api/faq/recordio) in the MXNet documentation. For 80703 // more information about TFRecord, see Consuming TFRecord data (https://www.tensorflow.org/guide/data#consuming_tfrecord_data) 80704 // in the TensorFlow documentation. 80705 SplitType *string `type:"string" enum:"SplitType"` 80706 } 80707 80708 // String returns the string representation. 80709 // 80710 // API parameter values that are decorated as "sensitive" in the API will not 80711 // be included in the string output. The member name will be present, but the 80712 // value will be replaced with "sensitive". 80713 func (s TransformInput) String() string { 80714 return awsutil.Prettify(s) 80715 } 80716 80717 // GoString returns the string representation. 80718 // 80719 // API parameter values that are decorated as "sensitive" in the API will not 80720 // be included in the string output. The member name will be present, but the 80721 // value will be replaced with "sensitive". 80722 func (s TransformInput) GoString() string { 80723 return s.String() 80724 } 80725 80726 // Validate inspects the fields of the type to determine if they are valid. 80727 func (s *TransformInput) Validate() error { 80728 invalidParams := request.ErrInvalidParams{Context: "TransformInput"} 80729 if s.DataSource == nil { 80730 invalidParams.Add(request.NewErrParamRequired("DataSource")) 80731 } 80732 if s.DataSource != nil { 80733 if err := s.DataSource.Validate(); err != nil { 80734 invalidParams.AddNested("DataSource", err.(request.ErrInvalidParams)) 80735 } 80736 } 80737 80738 if invalidParams.Len() > 0 { 80739 return invalidParams 80740 } 80741 return nil 80742 } 80743 80744 // SetCompressionType sets the CompressionType field's value. 80745 func (s *TransformInput) SetCompressionType(v string) *TransformInput { 80746 s.CompressionType = &v 80747 return s 80748 } 80749 80750 // SetContentType sets the ContentType field's value. 80751 func (s *TransformInput) SetContentType(v string) *TransformInput { 80752 s.ContentType = &v 80753 return s 80754 } 80755 80756 // SetDataSource sets the DataSource field's value. 80757 func (s *TransformInput) SetDataSource(v *TransformDataSource) *TransformInput { 80758 s.DataSource = v 80759 return s 80760 } 80761 80762 // SetSplitType sets the SplitType field's value. 80763 func (s *TransformInput) SetSplitType(v string) *TransformInput { 80764 s.SplitType = &v 80765 return s 80766 } 80767 80768 // A batch transform job. For information about SageMaker batch transform, see 80769 // Use Batch Transform (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform.html). 80770 type TransformJob struct { 80771 _ struct{} `type:"structure"` 80772 80773 // The Amazon Resource Name (ARN) of the AutoML job that created the transform 80774 // job. 80775 AutoMLJobArn *string `min:"1" type:"string"` 80776 80777 // Specifies the number of records to include in a mini-batch for an HTTP inference 80778 // request. A record is a single unit of input data that inference can be made 80779 // on. For example, a single line in a CSV file is a record. 80780 BatchStrategy *string `type:"string" enum:"BatchStrategy"` 80781 80782 // A timestamp that shows when the transform Job was created. 80783 CreationTime *time.Time `type:"timestamp"` 80784 80785 // The data structure used to specify the data to be used for inference in a 80786 // batch transform job and to associate the data that is relevant to the prediction 80787 // results in the output. The input filter provided allows you to exclude input 80788 // data that is not needed for inference in a batch transform job. The output 80789 // filter provided allows you to include input data relevant to interpreting 80790 // the predictions in the output from the job. For more information, see Associate 80791 // Prediction Results with their Corresponding Input Records (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html). 80792 DataProcessing *DataProcessing `type:"structure"` 80793 80794 // The environment variables to set in the Docker container. We support up to 80795 // 16 key and values entries in the map. 80796 Environment map[string]*string `type:"map"` 80797 80798 // Associates a SageMaker job as a trial component with an experiment and trial. 80799 // Specified when you call the following APIs: 80800 // 80801 // * CreateProcessingJob 80802 // 80803 // * CreateTrainingJob 80804 // 80805 // * CreateTransformJob 80806 ExperimentConfig *ExperimentConfig `type:"structure"` 80807 80808 // If the transform job failed, the reason it failed. 80809 FailureReason *string `type:"string"` 80810 80811 // The Amazon Resource Name (ARN) of the labeling job that created the transform 80812 // job. 80813 LabelingJobArn *string `type:"string"` 80814 80815 // The maximum number of parallel requests that can be sent to each instance 80816 // in a transform job. If MaxConcurrentTransforms is set to 0 or left unset, 80817 // SageMaker checks the optional execution-parameters to determine the settings 80818 // for your chosen algorithm. If the execution-parameters endpoint is not enabled, 80819 // the default value is 1. For built-in algorithms, you don't need to set a 80820 // value for MaxConcurrentTransforms. 80821 MaxConcurrentTransforms *int64 `type:"integer"` 80822 80823 // The maximum allowed size of the payload, in MB. A payload is the data portion 80824 // of a record (without metadata). The value in MaxPayloadInMB must be greater 80825 // than, or equal to, the size of a single record. To estimate the size of a 80826 // record in MB, divide the size of your dataset by the number of records. To 80827 // ensure that the records fit within the maximum payload size, we recommend 80828 // using a slightly larger value. The default value is 6 MB. For cases where 80829 // the payload might be arbitrarily large and is transmitted using HTTP chunked 80830 // encoding, set the value to 0. This feature works only in supported algorithms. 80831 // Currently, SageMaker built-in algorithms do not support HTTP chunked encoding. 80832 MaxPayloadInMB *int64 `type:"integer"` 80833 80834 // Configures the timeout and maximum number of retries for processing a transform 80835 // job invocation. 80836 ModelClientConfig *ModelClientConfig `type:"structure"` 80837 80838 // The name of the model associated with the transform job. 80839 ModelName *string `type:"string"` 80840 80841 // A list of tags associated with the transform job. 80842 Tags []*Tag `type:"list"` 80843 80844 // Indicates when the transform job has been completed, or has stopped or failed. 80845 // You are billed for the time interval between this time and the value of TransformStartTime. 80846 TransformEndTime *time.Time `type:"timestamp"` 80847 80848 // Describes the input source of a transform job and the way the transform job 80849 // consumes it. 80850 TransformInput *TransformInput `type:"structure"` 80851 80852 // The Amazon Resource Name (ARN) of the transform job. 80853 TransformJobArn *string `type:"string"` 80854 80855 // The name of the transform job. 80856 TransformJobName *string `min:"1" type:"string"` 80857 80858 // The status of the transform job. 80859 // 80860 // Transform job statuses are: 80861 // 80862 // * InProgress - The job is in progress. 80863 // 80864 // * Completed - The job has completed. 80865 // 80866 // * Failed - The transform job has failed. To see the reason for the failure, 80867 // see the FailureReason field in the response to a DescribeTransformJob 80868 // call. 80869 // 80870 // * Stopping - The transform job is stopping. 80871 // 80872 // * Stopped - The transform job has stopped. 80873 TransformJobStatus *string `type:"string" enum:"TransformJobStatus"` 80874 80875 // Describes the results of a transform job. 80876 TransformOutput *TransformOutput `type:"structure"` 80877 80878 // Describes the resources, including ML instance types and ML instance count, 80879 // to use for transform job. 80880 TransformResources *TransformResources `type:"structure"` 80881 80882 // Indicates when the transform job starts on ML instances. You are billed for 80883 // the time interval between this time and the value of TransformEndTime. 80884 TransformStartTime *time.Time `type:"timestamp"` 80885 } 80886 80887 // String returns the string representation. 80888 // 80889 // API parameter values that are decorated as "sensitive" in the API will not 80890 // be included in the string output. The member name will be present, but the 80891 // value will be replaced with "sensitive". 80892 func (s TransformJob) String() string { 80893 return awsutil.Prettify(s) 80894 } 80895 80896 // GoString returns the string representation. 80897 // 80898 // API parameter values that are decorated as "sensitive" in the API will not 80899 // be included in the string output. The member name will be present, but the 80900 // value will be replaced with "sensitive". 80901 func (s TransformJob) GoString() string { 80902 return s.String() 80903 } 80904 80905 // SetAutoMLJobArn sets the AutoMLJobArn field's value. 80906 func (s *TransformJob) SetAutoMLJobArn(v string) *TransformJob { 80907 s.AutoMLJobArn = &v 80908 return s 80909 } 80910 80911 // SetBatchStrategy sets the BatchStrategy field's value. 80912 func (s *TransformJob) SetBatchStrategy(v string) *TransformJob { 80913 s.BatchStrategy = &v 80914 return s 80915 } 80916 80917 // SetCreationTime sets the CreationTime field's value. 80918 func (s *TransformJob) SetCreationTime(v time.Time) *TransformJob { 80919 s.CreationTime = &v 80920 return s 80921 } 80922 80923 // SetDataProcessing sets the DataProcessing field's value. 80924 func (s *TransformJob) SetDataProcessing(v *DataProcessing) *TransformJob { 80925 s.DataProcessing = v 80926 return s 80927 } 80928 80929 // SetEnvironment sets the Environment field's value. 80930 func (s *TransformJob) SetEnvironment(v map[string]*string) *TransformJob { 80931 s.Environment = v 80932 return s 80933 } 80934 80935 // SetExperimentConfig sets the ExperimentConfig field's value. 80936 func (s *TransformJob) SetExperimentConfig(v *ExperimentConfig) *TransformJob { 80937 s.ExperimentConfig = v 80938 return s 80939 } 80940 80941 // SetFailureReason sets the FailureReason field's value. 80942 func (s *TransformJob) SetFailureReason(v string) *TransformJob { 80943 s.FailureReason = &v 80944 return s 80945 } 80946 80947 // SetLabelingJobArn sets the LabelingJobArn field's value. 80948 func (s *TransformJob) SetLabelingJobArn(v string) *TransformJob { 80949 s.LabelingJobArn = &v 80950 return s 80951 } 80952 80953 // SetMaxConcurrentTransforms sets the MaxConcurrentTransforms field's value. 80954 func (s *TransformJob) SetMaxConcurrentTransforms(v int64) *TransformJob { 80955 s.MaxConcurrentTransforms = &v 80956 return s 80957 } 80958 80959 // SetMaxPayloadInMB sets the MaxPayloadInMB field's value. 80960 func (s *TransformJob) SetMaxPayloadInMB(v int64) *TransformJob { 80961 s.MaxPayloadInMB = &v 80962 return s 80963 } 80964 80965 // SetModelClientConfig sets the ModelClientConfig field's value. 80966 func (s *TransformJob) SetModelClientConfig(v *ModelClientConfig) *TransformJob { 80967 s.ModelClientConfig = v 80968 return s 80969 } 80970 80971 // SetModelName sets the ModelName field's value. 80972 func (s *TransformJob) SetModelName(v string) *TransformJob { 80973 s.ModelName = &v 80974 return s 80975 } 80976 80977 // SetTags sets the Tags field's value. 80978 func (s *TransformJob) SetTags(v []*Tag) *TransformJob { 80979 s.Tags = v 80980 return s 80981 } 80982 80983 // SetTransformEndTime sets the TransformEndTime field's value. 80984 func (s *TransformJob) SetTransformEndTime(v time.Time) *TransformJob { 80985 s.TransformEndTime = &v 80986 return s 80987 } 80988 80989 // SetTransformInput sets the TransformInput field's value. 80990 func (s *TransformJob) SetTransformInput(v *TransformInput) *TransformJob { 80991 s.TransformInput = v 80992 return s 80993 } 80994 80995 // SetTransformJobArn sets the TransformJobArn field's value. 80996 func (s *TransformJob) SetTransformJobArn(v string) *TransformJob { 80997 s.TransformJobArn = &v 80998 return s 80999 } 81000 81001 // SetTransformJobName sets the TransformJobName field's value. 81002 func (s *TransformJob) SetTransformJobName(v string) *TransformJob { 81003 s.TransformJobName = &v 81004 return s 81005 } 81006 81007 // SetTransformJobStatus sets the TransformJobStatus field's value. 81008 func (s *TransformJob) SetTransformJobStatus(v string) *TransformJob { 81009 s.TransformJobStatus = &v 81010 return s 81011 } 81012 81013 // SetTransformOutput sets the TransformOutput field's value. 81014 func (s *TransformJob) SetTransformOutput(v *TransformOutput) *TransformJob { 81015 s.TransformOutput = v 81016 return s 81017 } 81018 81019 // SetTransformResources sets the TransformResources field's value. 81020 func (s *TransformJob) SetTransformResources(v *TransformResources) *TransformJob { 81021 s.TransformResources = v 81022 return s 81023 } 81024 81025 // SetTransformStartTime sets the TransformStartTime field's value. 81026 func (s *TransformJob) SetTransformStartTime(v time.Time) *TransformJob { 81027 s.TransformStartTime = &v 81028 return s 81029 } 81030 81031 // Defines the input needed to run a transform job using the inference specification 81032 // specified in the algorithm. 81033 type TransformJobDefinition struct { 81034 _ struct{} `type:"structure"` 81035 81036 // A string that determines the number of records included in a single mini-batch. 81037 // 81038 // SingleRecord means only one record is used per mini-batch. MultiRecord means 81039 // a mini-batch is set to contain as many records that can fit within the MaxPayloadInMB 81040 // limit. 81041 BatchStrategy *string `type:"string" enum:"BatchStrategy"` 81042 81043 // The environment variables to set in the Docker container. We support up to 81044 // 16 key and values entries in the map. 81045 Environment map[string]*string `type:"map"` 81046 81047 // The maximum number of parallel requests that can be sent to each instance 81048 // in a transform job. The default value is 1. 81049 MaxConcurrentTransforms *int64 `type:"integer"` 81050 81051 // The maximum payload size allowed, in MB. A payload is the data portion of 81052 // a record (without metadata). 81053 MaxPayloadInMB *int64 `type:"integer"` 81054 81055 // A description of the input source and the way the transform job consumes 81056 // it. 81057 // 81058 // TransformInput is a required field 81059 TransformInput *TransformInput `type:"structure" required:"true"` 81060 81061 // Identifies the Amazon S3 location where you want Amazon SageMaker to save 81062 // the results from the transform job. 81063 // 81064 // TransformOutput is a required field 81065 TransformOutput *TransformOutput `type:"structure" required:"true"` 81066 81067 // Identifies the ML compute instances for the transform job. 81068 // 81069 // TransformResources is a required field 81070 TransformResources *TransformResources `type:"structure" required:"true"` 81071 } 81072 81073 // String returns the string representation. 81074 // 81075 // API parameter values that are decorated as "sensitive" in the API will not 81076 // be included in the string output. The member name will be present, but the 81077 // value will be replaced with "sensitive". 81078 func (s TransformJobDefinition) String() string { 81079 return awsutil.Prettify(s) 81080 } 81081 81082 // GoString returns the string representation. 81083 // 81084 // API parameter values that are decorated as "sensitive" in the API will not 81085 // be included in the string output. The member name will be present, but the 81086 // value will be replaced with "sensitive". 81087 func (s TransformJobDefinition) GoString() string { 81088 return s.String() 81089 } 81090 81091 // Validate inspects the fields of the type to determine if they are valid. 81092 func (s *TransformJobDefinition) Validate() error { 81093 invalidParams := request.ErrInvalidParams{Context: "TransformJobDefinition"} 81094 if s.TransformInput == nil { 81095 invalidParams.Add(request.NewErrParamRequired("TransformInput")) 81096 } 81097 if s.TransformOutput == nil { 81098 invalidParams.Add(request.NewErrParamRequired("TransformOutput")) 81099 } 81100 if s.TransformResources == nil { 81101 invalidParams.Add(request.NewErrParamRequired("TransformResources")) 81102 } 81103 if s.TransformInput != nil { 81104 if err := s.TransformInput.Validate(); err != nil { 81105 invalidParams.AddNested("TransformInput", err.(request.ErrInvalidParams)) 81106 } 81107 } 81108 if s.TransformOutput != nil { 81109 if err := s.TransformOutput.Validate(); err != nil { 81110 invalidParams.AddNested("TransformOutput", err.(request.ErrInvalidParams)) 81111 } 81112 } 81113 if s.TransformResources != nil { 81114 if err := s.TransformResources.Validate(); err != nil { 81115 invalidParams.AddNested("TransformResources", err.(request.ErrInvalidParams)) 81116 } 81117 } 81118 81119 if invalidParams.Len() > 0 { 81120 return invalidParams 81121 } 81122 return nil 81123 } 81124 81125 // SetBatchStrategy sets the BatchStrategy field's value. 81126 func (s *TransformJobDefinition) SetBatchStrategy(v string) *TransformJobDefinition { 81127 s.BatchStrategy = &v 81128 return s 81129 } 81130 81131 // SetEnvironment sets the Environment field's value. 81132 func (s *TransformJobDefinition) SetEnvironment(v map[string]*string) *TransformJobDefinition { 81133 s.Environment = v 81134 return s 81135 } 81136 81137 // SetMaxConcurrentTransforms sets the MaxConcurrentTransforms field's value. 81138 func (s *TransformJobDefinition) SetMaxConcurrentTransforms(v int64) *TransformJobDefinition { 81139 s.MaxConcurrentTransforms = &v 81140 return s 81141 } 81142 81143 // SetMaxPayloadInMB sets the MaxPayloadInMB field's value. 81144 func (s *TransformJobDefinition) SetMaxPayloadInMB(v int64) *TransformJobDefinition { 81145 s.MaxPayloadInMB = &v 81146 return s 81147 } 81148 81149 // SetTransformInput sets the TransformInput field's value. 81150 func (s *TransformJobDefinition) SetTransformInput(v *TransformInput) *TransformJobDefinition { 81151 s.TransformInput = v 81152 return s 81153 } 81154 81155 // SetTransformOutput sets the TransformOutput field's value. 81156 func (s *TransformJobDefinition) SetTransformOutput(v *TransformOutput) *TransformJobDefinition { 81157 s.TransformOutput = v 81158 return s 81159 } 81160 81161 // SetTransformResources sets the TransformResources field's value. 81162 func (s *TransformJobDefinition) SetTransformResources(v *TransformResources) *TransformJobDefinition { 81163 s.TransformResources = v 81164 return s 81165 } 81166 81167 // Metadata for a transform job step. 81168 type TransformJobStepMetadata struct { 81169 _ struct{} `type:"structure"` 81170 81171 // The Amazon Resource Name (ARN) of the transform job that was run by this 81172 // step execution. 81173 Arn *string `type:"string"` 81174 } 81175 81176 // String returns the string representation. 81177 // 81178 // API parameter values that are decorated as "sensitive" in the API will not 81179 // be included in the string output. The member name will be present, but the 81180 // value will be replaced with "sensitive". 81181 func (s TransformJobStepMetadata) String() string { 81182 return awsutil.Prettify(s) 81183 } 81184 81185 // GoString returns the string representation. 81186 // 81187 // API parameter values that are decorated as "sensitive" in the API will not 81188 // be included in the string output. The member name will be present, but the 81189 // value will be replaced with "sensitive". 81190 func (s TransformJobStepMetadata) GoString() string { 81191 return s.String() 81192 } 81193 81194 // SetArn sets the Arn field's value. 81195 func (s *TransformJobStepMetadata) SetArn(v string) *TransformJobStepMetadata { 81196 s.Arn = &v 81197 return s 81198 } 81199 81200 // Provides a summary of a transform job. Multiple TransformJobSummary objects 81201 // are returned as a list after in response to a ListTransformJobs call. 81202 type TransformJobSummary struct { 81203 _ struct{} `type:"structure"` 81204 81205 // A timestamp that shows when the transform Job was created. 81206 // 81207 // CreationTime is a required field 81208 CreationTime *time.Time `type:"timestamp" required:"true"` 81209 81210 // If the transform job failed, the reason it failed. 81211 FailureReason *string `type:"string"` 81212 81213 // Indicates when the transform job was last modified. 81214 LastModifiedTime *time.Time `type:"timestamp"` 81215 81216 // Indicates when the transform job ends on compute instances. For successful 81217 // jobs and stopped jobs, this is the exact time recorded after the results 81218 // are uploaded. For failed jobs, this is when Amazon SageMaker detected that 81219 // the job failed. 81220 TransformEndTime *time.Time `type:"timestamp"` 81221 81222 // The Amazon Resource Name (ARN) of the transform job. 81223 // 81224 // TransformJobArn is a required field 81225 TransformJobArn *string `type:"string" required:"true"` 81226 81227 // The name of the transform job. 81228 // 81229 // TransformJobName is a required field 81230 TransformJobName *string `min:"1" type:"string" required:"true"` 81231 81232 // The status of the transform job. 81233 // 81234 // TransformJobStatus is a required field 81235 TransformJobStatus *string `type:"string" required:"true" enum:"TransformJobStatus"` 81236 } 81237 81238 // String returns the string representation. 81239 // 81240 // API parameter values that are decorated as "sensitive" in the API will not 81241 // be included in the string output. The member name will be present, but the 81242 // value will be replaced with "sensitive". 81243 func (s TransformJobSummary) String() string { 81244 return awsutil.Prettify(s) 81245 } 81246 81247 // GoString returns the string representation. 81248 // 81249 // API parameter values that are decorated as "sensitive" in the API will not 81250 // be included in the string output. The member name will be present, but the 81251 // value will be replaced with "sensitive". 81252 func (s TransformJobSummary) GoString() string { 81253 return s.String() 81254 } 81255 81256 // SetCreationTime sets the CreationTime field's value. 81257 func (s *TransformJobSummary) SetCreationTime(v time.Time) *TransformJobSummary { 81258 s.CreationTime = &v 81259 return s 81260 } 81261 81262 // SetFailureReason sets the FailureReason field's value. 81263 func (s *TransformJobSummary) SetFailureReason(v string) *TransformJobSummary { 81264 s.FailureReason = &v 81265 return s 81266 } 81267 81268 // SetLastModifiedTime sets the LastModifiedTime field's value. 81269 func (s *TransformJobSummary) SetLastModifiedTime(v time.Time) *TransformJobSummary { 81270 s.LastModifiedTime = &v 81271 return s 81272 } 81273 81274 // SetTransformEndTime sets the TransformEndTime field's value. 81275 func (s *TransformJobSummary) SetTransformEndTime(v time.Time) *TransformJobSummary { 81276 s.TransformEndTime = &v 81277 return s 81278 } 81279 81280 // SetTransformJobArn sets the TransformJobArn field's value. 81281 func (s *TransformJobSummary) SetTransformJobArn(v string) *TransformJobSummary { 81282 s.TransformJobArn = &v 81283 return s 81284 } 81285 81286 // SetTransformJobName sets the TransformJobName field's value. 81287 func (s *TransformJobSummary) SetTransformJobName(v string) *TransformJobSummary { 81288 s.TransformJobName = &v 81289 return s 81290 } 81291 81292 // SetTransformJobStatus sets the TransformJobStatus field's value. 81293 func (s *TransformJobSummary) SetTransformJobStatus(v string) *TransformJobSummary { 81294 s.TransformJobStatus = &v 81295 return s 81296 } 81297 81298 // Describes the results of a transform job. 81299 type TransformOutput struct { 81300 _ struct{} `type:"structure"` 81301 81302 // The MIME type used to specify the output data. Amazon SageMaker uses the 81303 // MIME type with each http call to transfer data from the transform job. 81304 Accept *string `type:"string"` 81305 81306 // Defines how to assemble the results of the transform job as a single S3 object. 81307 // Choose a format that is most convenient to you. To concatenate the results 81308 // in binary format, specify None. To add a newline character at the end of 81309 // every transformed record, specify Line. 81310 AssembleWith *string `type:"string" enum:"AssemblyType"` 81311 81312 // The Amazon Web Services Key Management Service (Amazon Web Services KMS) 81313 // key that Amazon SageMaker uses to encrypt the model artifacts at rest using 81314 // Amazon S3 server-side encryption. The KmsKeyId can be any of the following 81315 // formats: 81316 // 81317 // * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab 81318 // 81319 // * Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab 81320 // 81321 // * Alias name: alias/ExampleAlias 81322 // 81323 // * Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias 81324 // 81325 // If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS 81326 // key for Amazon S3 for your role's account. For more information, see KMS-Managed 81327 // Encryption Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html) 81328 // in the Amazon Simple Storage Service Developer Guide. 81329 // 81330 // The KMS key policy must grant permission to the IAM role that you specify 81331 // in your CreateModel request. For more information, see Using Key Policies 81332 // in Amazon Web Services KMS (http://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html) 81333 // in the Amazon Web Services Key Management Service Developer Guide. 81334 KmsKeyId *string `type:"string"` 81335 81336 // The Amazon S3 path where you want Amazon SageMaker to store the results of 81337 // the transform job. For example, s3://bucket-name/key-name-prefix. 81338 // 81339 // For every S3 object used as input for the transform job, batch transform 81340 // stores the transformed data with an .out suffix in a corresponding subfolder 81341 // in the location in the output prefix. For example, for the input data stored 81342 // at s3://bucket-name/input-name-prefix/dataset01/data.csv, batch transform 81343 // stores the transformed data at s3://bucket-name/output-name-prefix/input-name-prefix/data.csv.out. 81344 // Batch transform doesn't upload partially processed objects. For an input 81345 // S3 object that contains multiple records, it creates an .out file only if 81346 // the transform job succeeds on the entire file. When the input contains multiple 81347 // S3 objects, the batch transform job processes the listed S3 objects and uploads 81348 // only the output for successfully processed objects. If any object fails in 81349 // the transform job batch transform marks the job as failed to prompt investigation. 81350 // 81351 // S3OutputPath is a required field 81352 S3OutputPath *string `type:"string" required:"true"` 81353 } 81354 81355 // String returns the string representation. 81356 // 81357 // API parameter values that are decorated as "sensitive" in the API will not 81358 // be included in the string output. The member name will be present, but the 81359 // value will be replaced with "sensitive". 81360 func (s TransformOutput) String() string { 81361 return awsutil.Prettify(s) 81362 } 81363 81364 // GoString returns the string representation. 81365 // 81366 // API parameter values that are decorated as "sensitive" in the API will not 81367 // be included in the string output. The member name will be present, but the 81368 // value will be replaced with "sensitive". 81369 func (s TransformOutput) GoString() string { 81370 return s.String() 81371 } 81372 81373 // Validate inspects the fields of the type to determine if they are valid. 81374 func (s *TransformOutput) Validate() error { 81375 invalidParams := request.ErrInvalidParams{Context: "TransformOutput"} 81376 if s.S3OutputPath == nil { 81377 invalidParams.Add(request.NewErrParamRequired("S3OutputPath")) 81378 } 81379 81380 if invalidParams.Len() > 0 { 81381 return invalidParams 81382 } 81383 return nil 81384 } 81385 81386 // SetAccept sets the Accept field's value. 81387 func (s *TransformOutput) SetAccept(v string) *TransformOutput { 81388 s.Accept = &v 81389 return s 81390 } 81391 81392 // SetAssembleWith sets the AssembleWith field's value. 81393 func (s *TransformOutput) SetAssembleWith(v string) *TransformOutput { 81394 s.AssembleWith = &v 81395 return s 81396 } 81397 81398 // SetKmsKeyId sets the KmsKeyId field's value. 81399 func (s *TransformOutput) SetKmsKeyId(v string) *TransformOutput { 81400 s.KmsKeyId = &v 81401 return s 81402 } 81403 81404 // SetS3OutputPath sets the S3OutputPath field's value. 81405 func (s *TransformOutput) SetS3OutputPath(v string) *TransformOutput { 81406 s.S3OutputPath = &v 81407 return s 81408 } 81409 81410 // Describes the resources, including ML instance types and ML instance count, 81411 // to use for transform job. 81412 type TransformResources struct { 81413 _ struct{} `type:"structure"` 81414 81415 // The number of ML compute instances to use in the transform job. For distributed 81416 // transform jobs, specify a value greater than 1. The default value is 1. 81417 // 81418 // InstanceCount is a required field 81419 InstanceCount *int64 `min:"1" type:"integer" required:"true"` 81420 81421 // The ML compute instance type for the transform job. If you are using built-in 81422 // algorithms to transform moderately sized datasets, we recommend using ml.m4.xlarge 81423 // or ml.m5.largeinstance types. 81424 // 81425 // InstanceType is a required field 81426 InstanceType *string `type:"string" required:"true" enum:"TransformInstanceType"` 81427 81428 // The Amazon Web Services Key Management Service (Amazon Web Services KMS) 81429 // key that Amazon SageMaker uses to encrypt model data on the storage volume 81430 // attached to the ML compute instance(s) that run the batch transform job. 81431 // 81432 // Certain Nitro-based instances include local storage, dependent on the instance 81433 // type. Local storage volumes are encrypted using a hardware module on the 81434 // instance. You can't request a VolumeKmsKeyId when using an instance type 81435 // with local storage. 81436 // 81437 // For a list of instance types that support local instance storage, see Instance 81438 // Store Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes). 81439 // 81440 // For more information about local instance storage encryption, see SSD Instance 81441 // Store Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ssd-instance-store.html). 81442 // 81443 // The VolumeKmsKeyId can be any of the following formats: 81444 // 81445 // * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab 81446 // 81447 // * Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab 81448 // 81449 // * Alias name: alias/ExampleAlias 81450 // 81451 // * Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias 81452 VolumeKmsKeyId *string `type:"string"` 81453 } 81454 81455 // String returns the string representation. 81456 // 81457 // API parameter values that are decorated as "sensitive" in the API will not 81458 // be included in the string output. The member name will be present, but the 81459 // value will be replaced with "sensitive". 81460 func (s TransformResources) String() string { 81461 return awsutil.Prettify(s) 81462 } 81463 81464 // GoString returns the string representation. 81465 // 81466 // API parameter values that are decorated as "sensitive" in the API will not 81467 // be included in the string output. The member name will be present, but the 81468 // value will be replaced with "sensitive". 81469 func (s TransformResources) GoString() string { 81470 return s.String() 81471 } 81472 81473 // Validate inspects the fields of the type to determine if they are valid. 81474 func (s *TransformResources) Validate() error { 81475 invalidParams := request.ErrInvalidParams{Context: "TransformResources"} 81476 if s.InstanceCount == nil { 81477 invalidParams.Add(request.NewErrParamRequired("InstanceCount")) 81478 } 81479 if s.InstanceCount != nil && *s.InstanceCount < 1 { 81480 invalidParams.Add(request.NewErrParamMinValue("InstanceCount", 1)) 81481 } 81482 if s.InstanceType == nil { 81483 invalidParams.Add(request.NewErrParamRequired("InstanceType")) 81484 } 81485 81486 if invalidParams.Len() > 0 { 81487 return invalidParams 81488 } 81489 return nil 81490 } 81491 81492 // SetInstanceCount sets the InstanceCount field's value. 81493 func (s *TransformResources) SetInstanceCount(v int64) *TransformResources { 81494 s.InstanceCount = &v 81495 return s 81496 } 81497 81498 // SetInstanceType sets the InstanceType field's value. 81499 func (s *TransformResources) SetInstanceType(v string) *TransformResources { 81500 s.InstanceType = &v 81501 return s 81502 } 81503 81504 // SetVolumeKmsKeyId sets the VolumeKmsKeyId field's value. 81505 func (s *TransformResources) SetVolumeKmsKeyId(v string) *TransformResources { 81506 s.VolumeKmsKeyId = &v 81507 return s 81508 } 81509 81510 // Describes the S3 data source. 81511 type TransformS3DataSource struct { 81512 _ struct{} `type:"structure"` 81513 81514 // If you choose S3Prefix, S3Uri identifies a key name prefix. Amazon SageMaker 81515 // uses all objects with the specified key name prefix for batch transform. 81516 // 81517 // If you choose ManifestFile, S3Uri identifies an object that is a manifest 81518 // file containing a list of object keys that you want Amazon SageMaker to use 81519 // for batch transform. 81520 // 81521 // The following values are compatible: ManifestFile, S3Prefix 81522 // 81523 // The following value is not compatible: AugmentedManifestFile 81524 // 81525 // S3DataType is a required field 81526 S3DataType *string `type:"string" required:"true" enum:"S3DataType"` 81527 81528 // Depending on the value specified for the S3DataType, identifies either a 81529 // key name prefix or a manifest. For example: 81530 // 81531 // * A key name prefix might look like this: s3://bucketname/exampleprefix. 81532 // 81533 // * A manifest might look like this: s3://bucketname/example.manifest The 81534 // manifest is an S3 object which is a JSON file with the following format: 81535 // [ {"prefix": "s3://customer_bucket/some/prefix/"}, "relative/path/to/custdata-1", 81536 // "relative/path/custdata-2", ... "relative/path/custdata-N" ] The preceding 81537 // JSON matches the following S3Uris: s3://customer_bucket/some/prefix/relative/path/to/custdata-1 81538 // s3://customer_bucket/some/prefix/relative/path/custdata-2 ... s3://customer_bucket/some/prefix/relative/path/custdata-N 81539 // The complete set of S3Uris in this manifest constitutes the input data 81540 // for the channel for this datasource. The object that each S3Uris points 81541 // to must be readable by the IAM role that Amazon SageMaker uses to perform 81542 // tasks on your behalf. 81543 // 81544 // S3Uri is a required field 81545 S3Uri *string `type:"string" required:"true"` 81546 } 81547 81548 // String returns the string representation. 81549 // 81550 // API parameter values that are decorated as "sensitive" in the API will not 81551 // be included in the string output. The member name will be present, but the 81552 // value will be replaced with "sensitive". 81553 func (s TransformS3DataSource) String() string { 81554 return awsutil.Prettify(s) 81555 } 81556 81557 // GoString returns the string representation. 81558 // 81559 // API parameter values that are decorated as "sensitive" in the API will not 81560 // be included in the string output. The member name will be present, but the 81561 // value will be replaced with "sensitive". 81562 func (s TransformS3DataSource) GoString() string { 81563 return s.String() 81564 } 81565 81566 // Validate inspects the fields of the type to determine if they are valid. 81567 func (s *TransformS3DataSource) Validate() error { 81568 invalidParams := request.ErrInvalidParams{Context: "TransformS3DataSource"} 81569 if s.S3DataType == nil { 81570 invalidParams.Add(request.NewErrParamRequired("S3DataType")) 81571 } 81572 if s.S3Uri == nil { 81573 invalidParams.Add(request.NewErrParamRequired("S3Uri")) 81574 } 81575 81576 if invalidParams.Len() > 0 { 81577 return invalidParams 81578 } 81579 return nil 81580 } 81581 81582 // SetS3DataType sets the S3DataType field's value. 81583 func (s *TransformS3DataSource) SetS3DataType(v string) *TransformS3DataSource { 81584 s.S3DataType = &v 81585 return s 81586 } 81587 81588 // SetS3Uri sets the S3Uri field's value. 81589 func (s *TransformS3DataSource) SetS3Uri(v string) *TransformS3DataSource { 81590 s.S3Uri = &v 81591 return s 81592 } 81593 81594 // The properties of a trial as returned by the Search API. 81595 type Trial struct { 81596 _ struct{} `type:"structure"` 81597 81598 // Who created the trial. 81599 CreatedBy *UserContext `type:"structure"` 81600 81601 // When the trial was created. 81602 CreationTime *time.Time `type:"timestamp"` 81603 81604 // The name of the trial as displayed. If DisplayName isn't specified, TrialName 81605 // is displayed. 81606 DisplayName *string `min:"1" type:"string"` 81607 81608 // The name of the experiment the trial is part of. 81609 ExperimentName *string `min:"1" type:"string"` 81610 81611 // Information about the user who created or modified an experiment, trial, 81612 // trial component, or project. 81613 LastModifiedBy *UserContext `type:"structure"` 81614 81615 // Who last modified the trial. 81616 LastModifiedTime *time.Time `type:"timestamp"` 81617 81618 // Metadata properties of the tracking entity, trial, or trial component. 81619 MetadataProperties *MetadataProperties `type:"structure"` 81620 81621 // The source of the trial. 81622 Source *TrialSource `type:"structure"` 81623 81624 // The list of tags that are associated with the trial. You can use Search API 81625 // to search on the tags. 81626 Tags []*Tag `type:"list"` 81627 81628 // The Amazon Resource Name (ARN) of the trial. 81629 TrialArn *string `type:"string"` 81630 81631 // A list of the components associated with the trial. For each component, a 81632 // summary of the component's properties is included. 81633 TrialComponentSummaries []*TrialComponentSimpleSummary `type:"list"` 81634 81635 // The name of the trial. 81636 TrialName *string `min:"1" type:"string"` 81637 } 81638 81639 // String returns the string representation. 81640 // 81641 // API parameter values that are decorated as "sensitive" in the API will not 81642 // be included in the string output. The member name will be present, but the 81643 // value will be replaced with "sensitive". 81644 func (s Trial) String() string { 81645 return awsutil.Prettify(s) 81646 } 81647 81648 // GoString returns the string representation. 81649 // 81650 // API parameter values that are decorated as "sensitive" in the API will not 81651 // be included in the string output. The member name will be present, but the 81652 // value will be replaced with "sensitive". 81653 func (s Trial) GoString() string { 81654 return s.String() 81655 } 81656 81657 // SetCreatedBy sets the CreatedBy field's value. 81658 func (s *Trial) SetCreatedBy(v *UserContext) *Trial { 81659 s.CreatedBy = v 81660 return s 81661 } 81662 81663 // SetCreationTime sets the CreationTime field's value. 81664 func (s *Trial) SetCreationTime(v time.Time) *Trial { 81665 s.CreationTime = &v 81666 return s 81667 } 81668 81669 // SetDisplayName sets the DisplayName field's value. 81670 func (s *Trial) SetDisplayName(v string) *Trial { 81671 s.DisplayName = &v 81672 return s 81673 } 81674 81675 // SetExperimentName sets the ExperimentName field's value. 81676 func (s *Trial) SetExperimentName(v string) *Trial { 81677 s.ExperimentName = &v 81678 return s 81679 } 81680 81681 // SetLastModifiedBy sets the LastModifiedBy field's value. 81682 func (s *Trial) SetLastModifiedBy(v *UserContext) *Trial { 81683 s.LastModifiedBy = v 81684 return s 81685 } 81686 81687 // SetLastModifiedTime sets the LastModifiedTime field's value. 81688 func (s *Trial) SetLastModifiedTime(v time.Time) *Trial { 81689 s.LastModifiedTime = &v 81690 return s 81691 } 81692 81693 // SetMetadataProperties sets the MetadataProperties field's value. 81694 func (s *Trial) SetMetadataProperties(v *MetadataProperties) *Trial { 81695 s.MetadataProperties = v 81696 return s 81697 } 81698 81699 // SetSource sets the Source field's value. 81700 func (s *Trial) SetSource(v *TrialSource) *Trial { 81701 s.Source = v 81702 return s 81703 } 81704 81705 // SetTags sets the Tags field's value. 81706 func (s *Trial) SetTags(v []*Tag) *Trial { 81707 s.Tags = v 81708 return s 81709 } 81710 81711 // SetTrialArn sets the TrialArn field's value. 81712 func (s *Trial) SetTrialArn(v string) *Trial { 81713 s.TrialArn = &v 81714 return s 81715 } 81716 81717 // SetTrialComponentSummaries sets the TrialComponentSummaries field's value. 81718 func (s *Trial) SetTrialComponentSummaries(v []*TrialComponentSimpleSummary) *Trial { 81719 s.TrialComponentSummaries = v 81720 return s 81721 } 81722 81723 // SetTrialName sets the TrialName field's value. 81724 func (s *Trial) SetTrialName(v string) *Trial { 81725 s.TrialName = &v 81726 return s 81727 } 81728 81729 // The properties of a trial component as returned by the Search API. 81730 type TrialComponent struct { 81731 _ struct{} `type:"structure"` 81732 81733 // Who created the trial component. 81734 CreatedBy *UserContext `type:"structure"` 81735 81736 // When the component was created. 81737 CreationTime *time.Time `type:"timestamp"` 81738 81739 // The name of the component as displayed. If DisplayName isn't specified, TrialComponentName 81740 // is displayed. 81741 DisplayName *string `min:"1" type:"string"` 81742 81743 // When the component ended. 81744 EndTime *time.Time `type:"timestamp"` 81745 81746 // The input artifacts of the component. 81747 InputArtifacts map[string]*TrialComponentArtifact `type:"map"` 81748 81749 // Information about the user who created or modified an experiment, trial, 81750 // trial component, or project. 81751 LastModifiedBy *UserContext `type:"structure"` 81752 81753 // When the component was last modified. 81754 LastModifiedTime *time.Time `type:"timestamp"` 81755 81756 // Metadata properties of the tracking entity, trial, or trial component. 81757 MetadataProperties *MetadataProperties `type:"structure"` 81758 81759 // The metrics for the component. 81760 Metrics []*TrialComponentMetricSummary `type:"list"` 81761 81762 // The output artifacts of the component. 81763 OutputArtifacts map[string]*TrialComponentArtifact `type:"map"` 81764 81765 // The hyperparameters of the component. 81766 Parameters map[string]*TrialComponentParameterValue `type:"map"` 81767 81768 // An array of the parents of the component. A parent is a trial the component 81769 // is associated with and the experiment the trial is part of. A component might 81770 // not have any parents. 81771 Parents []*Parent `type:"list"` 81772 81773 // The Amazon Resource Name (ARN) and job type of the source of the component. 81774 Source *TrialComponentSource `type:"structure"` 81775 81776 // Details of the source of the component. 81777 SourceDetail *TrialComponentSourceDetail `type:"structure"` 81778 81779 // When the component started. 81780 StartTime *time.Time `type:"timestamp"` 81781 81782 // The status of the trial component. 81783 Status *TrialComponentStatus `type:"structure"` 81784 81785 // The list of tags that are associated with the component. You can use Search 81786 // API to search on the tags. 81787 Tags []*Tag `type:"list"` 81788 81789 // The Amazon Resource Name (ARN) of the trial component. 81790 TrialComponentArn *string `type:"string"` 81791 81792 // The name of the trial component. 81793 TrialComponentName *string `min:"1" type:"string"` 81794 } 81795 81796 // String returns the string representation. 81797 // 81798 // API parameter values that are decorated as "sensitive" in the API will not 81799 // be included in the string output. The member name will be present, but the 81800 // value will be replaced with "sensitive". 81801 func (s TrialComponent) String() string { 81802 return awsutil.Prettify(s) 81803 } 81804 81805 // GoString returns the string representation. 81806 // 81807 // API parameter values that are decorated as "sensitive" in the API will not 81808 // be included in the string output. The member name will be present, but the 81809 // value will be replaced with "sensitive". 81810 func (s TrialComponent) GoString() string { 81811 return s.String() 81812 } 81813 81814 // SetCreatedBy sets the CreatedBy field's value. 81815 func (s *TrialComponent) SetCreatedBy(v *UserContext) *TrialComponent { 81816 s.CreatedBy = v 81817 return s 81818 } 81819 81820 // SetCreationTime sets the CreationTime field's value. 81821 func (s *TrialComponent) SetCreationTime(v time.Time) *TrialComponent { 81822 s.CreationTime = &v 81823 return s 81824 } 81825 81826 // SetDisplayName sets the DisplayName field's value. 81827 func (s *TrialComponent) SetDisplayName(v string) *TrialComponent { 81828 s.DisplayName = &v 81829 return s 81830 } 81831 81832 // SetEndTime sets the EndTime field's value. 81833 func (s *TrialComponent) SetEndTime(v time.Time) *TrialComponent { 81834 s.EndTime = &v 81835 return s 81836 } 81837 81838 // SetInputArtifacts sets the InputArtifacts field's value. 81839 func (s *TrialComponent) SetInputArtifacts(v map[string]*TrialComponentArtifact) *TrialComponent { 81840 s.InputArtifacts = v 81841 return s 81842 } 81843 81844 // SetLastModifiedBy sets the LastModifiedBy field's value. 81845 func (s *TrialComponent) SetLastModifiedBy(v *UserContext) *TrialComponent { 81846 s.LastModifiedBy = v 81847 return s 81848 } 81849 81850 // SetLastModifiedTime sets the LastModifiedTime field's value. 81851 func (s *TrialComponent) SetLastModifiedTime(v time.Time) *TrialComponent { 81852 s.LastModifiedTime = &v 81853 return s 81854 } 81855 81856 // SetMetadataProperties sets the MetadataProperties field's value. 81857 func (s *TrialComponent) SetMetadataProperties(v *MetadataProperties) *TrialComponent { 81858 s.MetadataProperties = v 81859 return s 81860 } 81861 81862 // SetMetrics sets the Metrics field's value. 81863 func (s *TrialComponent) SetMetrics(v []*TrialComponentMetricSummary) *TrialComponent { 81864 s.Metrics = v 81865 return s 81866 } 81867 81868 // SetOutputArtifacts sets the OutputArtifacts field's value. 81869 func (s *TrialComponent) SetOutputArtifacts(v map[string]*TrialComponentArtifact) *TrialComponent { 81870 s.OutputArtifacts = v 81871 return s 81872 } 81873 81874 // SetParameters sets the Parameters field's value. 81875 func (s *TrialComponent) SetParameters(v map[string]*TrialComponentParameterValue) *TrialComponent { 81876 s.Parameters = v 81877 return s 81878 } 81879 81880 // SetParents sets the Parents field's value. 81881 func (s *TrialComponent) SetParents(v []*Parent) *TrialComponent { 81882 s.Parents = v 81883 return s 81884 } 81885 81886 // SetSource sets the Source field's value. 81887 func (s *TrialComponent) SetSource(v *TrialComponentSource) *TrialComponent { 81888 s.Source = v 81889 return s 81890 } 81891 81892 // SetSourceDetail sets the SourceDetail field's value. 81893 func (s *TrialComponent) SetSourceDetail(v *TrialComponentSourceDetail) *TrialComponent { 81894 s.SourceDetail = v 81895 return s 81896 } 81897 81898 // SetStartTime sets the StartTime field's value. 81899 func (s *TrialComponent) SetStartTime(v time.Time) *TrialComponent { 81900 s.StartTime = &v 81901 return s 81902 } 81903 81904 // SetStatus sets the Status field's value. 81905 func (s *TrialComponent) SetStatus(v *TrialComponentStatus) *TrialComponent { 81906 s.Status = v 81907 return s 81908 } 81909 81910 // SetTags sets the Tags field's value. 81911 func (s *TrialComponent) SetTags(v []*Tag) *TrialComponent { 81912 s.Tags = v 81913 return s 81914 } 81915 81916 // SetTrialComponentArn sets the TrialComponentArn field's value. 81917 func (s *TrialComponent) SetTrialComponentArn(v string) *TrialComponent { 81918 s.TrialComponentArn = &v 81919 return s 81920 } 81921 81922 // SetTrialComponentName sets the TrialComponentName field's value. 81923 func (s *TrialComponent) SetTrialComponentName(v string) *TrialComponent { 81924 s.TrialComponentName = &v 81925 return s 81926 } 81927 81928 // Represents an input or output artifact of a trial component. You specify 81929 // TrialComponentArtifact as part of the InputArtifacts and OutputArtifacts 81930 // parameters in the CreateTrialComponent request. 81931 // 81932 // Examples of input artifacts are datasets, algorithms, hyperparameters, source 81933 // code, and instance types. Examples of output artifacts are metrics, snapshots, 81934 // logs, and images. 81935 type TrialComponentArtifact struct { 81936 _ struct{} `type:"structure"` 81937 81938 // The media type of the artifact, which indicates the type of data in the artifact 81939 // file. The media type consists of a type and a subtype concatenated with a 81940 // slash (/) character, for example, text/csv, image/jpeg, and s3/uri. The type 81941 // specifies the category of the media. The subtype specifies the kind of data. 81942 MediaType *string `type:"string"` 81943 81944 // The location of the artifact. 81945 // 81946 // Value is a required field 81947 Value *string `type:"string" required:"true"` 81948 } 81949 81950 // String returns the string representation. 81951 // 81952 // API parameter values that are decorated as "sensitive" in the API will not 81953 // be included in the string output. The member name will be present, but the 81954 // value will be replaced with "sensitive". 81955 func (s TrialComponentArtifact) String() string { 81956 return awsutil.Prettify(s) 81957 } 81958 81959 // GoString returns the string representation. 81960 // 81961 // API parameter values that are decorated as "sensitive" in the API will not 81962 // be included in the string output. The member name will be present, but the 81963 // value will be replaced with "sensitive". 81964 func (s TrialComponentArtifact) GoString() string { 81965 return s.String() 81966 } 81967 81968 // Validate inspects the fields of the type to determine if they are valid. 81969 func (s *TrialComponentArtifact) Validate() error { 81970 invalidParams := request.ErrInvalidParams{Context: "TrialComponentArtifact"} 81971 if s.Value == nil { 81972 invalidParams.Add(request.NewErrParamRequired("Value")) 81973 } 81974 81975 if invalidParams.Len() > 0 { 81976 return invalidParams 81977 } 81978 return nil 81979 } 81980 81981 // SetMediaType sets the MediaType field's value. 81982 func (s *TrialComponentArtifact) SetMediaType(v string) *TrialComponentArtifact { 81983 s.MediaType = &v 81984 return s 81985 } 81986 81987 // SetValue sets the Value field's value. 81988 func (s *TrialComponentArtifact) SetValue(v string) *TrialComponentArtifact { 81989 s.Value = &v 81990 return s 81991 } 81992 81993 // A summary of the metrics of a trial component. 81994 type TrialComponentMetricSummary struct { 81995 _ struct{} `type:"structure"` 81996 81997 // The average value of the metric. 81998 Avg *float64 `type:"double"` 81999 82000 // The number of samples used to generate the metric. 82001 Count *int64 `type:"integer"` 82002 82003 // The most recent value of the metric. 82004 Last *float64 `type:"double"` 82005 82006 // The maximum value of the metric. 82007 Max *float64 `type:"double"` 82008 82009 // The name of the metric. 82010 MetricName *string `min:"1" type:"string"` 82011 82012 // The minimum value of the metric. 82013 Min *float64 `type:"double"` 82014 82015 // The Amazon Resource Name (ARN) of the source. 82016 SourceArn *string `type:"string"` 82017 82018 // The standard deviation of the metric. 82019 StdDev *float64 `type:"double"` 82020 82021 // When the metric was last updated. 82022 TimeStamp *time.Time `type:"timestamp"` 82023 } 82024 82025 // String returns the string representation. 82026 // 82027 // API parameter values that are decorated as "sensitive" in the API will not 82028 // be included in the string output. The member name will be present, but the 82029 // value will be replaced with "sensitive". 82030 func (s TrialComponentMetricSummary) String() string { 82031 return awsutil.Prettify(s) 82032 } 82033 82034 // GoString returns the string representation. 82035 // 82036 // API parameter values that are decorated as "sensitive" in the API will not 82037 // be included in the string output. The member name will be present, but the 82038 // value will be replaced with "sensitive". 82039 func (s TrialComponentMetricSummary) GoString() string { 82040 return s.String() 82041 } 82042 82043 // SetAvg sets the Avg field's value. 82044 func (s *TrialComponentMetricSummary) SetAvg(v float64) *TrialComponentMetricSummary { 82045 s.Avg = &v 82046 return s 82047 } 82048 82049 // SetCount sets the Count field's value. 82050 func (s *TrialComponentMetricSummary) SetCount(v int64) *TrialComponentMetricSummary { 82051 s.Count = &v 82052 return s 82053 } 82054 82055 // SetLast sets the Last field's value. 82056 func (s *TrialComponentMetricSummary) SetLast(v float64) *TrialComponentMetricSummary { 82057 s.Last = &v 82058 return s 82059 } 82060 82061 // SetMax sets the Max field's value. 82062 func (s *TrialComponentMetricSummary) SetMax(v float64) *TrialComponentMetricSummary { 82063 s.Max = &v 82064 return s 82065 } 82066 82067 // SetMetricName sets the MetricName field's value. 82068 func (s *TrialComponentMetricSummary) SetMetricName(v string) *TrialComponentMetricSummary { 82069 s.MetricName = &v 82070 return s 82071 } 82072 82073 // SetMin sets the Min field's value. 82074 func (s *TrialComponentMetricSummary) SetMin(v float64) *TrialComponentMetricSummary { 82075 s.Min = &v 82076 return s 82077 } 82078 82079 // SetSourceArn sets the SourceArn field's value. 82080 func (s *TrialComponentMetricSummary) SetSourceArn(v string) *TrialComponentMetricSummary { 82081 s.SourceArn = &v 82082 return s 82083 } 82084 82085 // SetStdDev sets the StdDev field's value. 82086 func (s *TrialComponentMetricSummary) SetStdDev(v float64) *TrialComponentMetricSummary { 82087 s.StdDev = &v 82088 return s 82089 } 82090 82091 // SetTimeStamp sets the TimeStamp field's value. 82092 func (s *TrialComponentMetricSummary) SetTimeStamp(v time.Time) *TrialComponentMetricSummary { 82093 s.TimeStamp = &v 82094 return s 82095 } 82096 82097 // The value of a hyperparameter. Only one of NumberValue or StringValue can 82098 // be specified. 82099 // 82100 // This object is specified in the CreateTrialComponent request. 82101 type TrialComponentParameterValue struct { 82102 _ struct{} `type:"structure"` 82103 82104 // The numeric value of a numeric hyperparameter. If you specify a value for 82105 // this parameter, you can't specify the StringValue parameter. 82106 NumberValue *float64 `type:"double"` 82107 82108 // The string value of a categorical hyperparameter. If you specify a value 82109 // for this parameter, you can't specify the NumberValue parameter. 82110 StringValue *string `type:"string"` 82111 } 82112 82113 // String returns the string representation. 82114 // 82115 // API parameter values that are decorated as "sensitive" in the API will not 82116 // be included in the string output. The member name will be present, but the 82117 // value will be replaced with "sensitive". 82118 func (s TrialComponentParameterValue) String() string { 82119 return awsutil.Prettify(s) 82120 } 82121 82122 // GoString returns the string representation. 82123 // 82124 // API parameter values that are decorated as "sensitive" in the API will not 82125 // be included in the string output. The member name will be present, but the 82126 // value will be replaced with "sensitive". 82127 func (s TrialComponentParameterValue) GoString() string { 82128 return s.String() 82129 } 82130 82131 // SetNumberValue sets the NumberValue field's value. 82132 func (s *TrialComponentParameterValue) SetNumberValue(v float64) *TrialComponentParameterValue { 82133 s.NumberValue = &v 82134 return s 82135 } 82136 82137 // SetStringValue sets the StringValue field's value. 82138 func (s *TrialComponentParameterValue) SetStringValue(v string) *TrialComponentParameterValue { 82139 s.StringValue = &v 82140 return s 82141 } 82142 82143 // A short summary of a trial component. 82144 type TrialComponentSimpleSummary struct { 82145 _ struct{} `type:"structure"` 82146 82147 // Information about the user who created or modified an experiment, trial, 82148 // trial component, or project. 82149 CreatedBy *UserContext `type:"structure"` 82150 82151 // When the component was created. 82152 CreationTime *time.Time `type:"timestamp"` 82153 82154 // The Amazon Resource Name (ARN) of the trial component. 82155 TrialComponentArn *string `type:"string"` 82156 82157 // The name of the trial component. 82158 TrialComponentName *string `min:"1" type:"string"` 82159 82160 // The Amazon Resource Name (ARN) and job type of the source of a trial component. 82161 TrialComponentSource *TrialComponentSource `type:"structure"` 82162 } 82163 82164 // String returns the string representation. 82165 // 82166 // API parameter values that are decorated as "sensitive" in the API will not 82167 // be included in the string output. The member name will be present, but the 82168 // value will be replaced with "sensitive". 82169 func (s TrialComponentSimpleSummary) String() string { 82170 return awsutil.Prettify(s) 82171 } 82172 82173 // GoString returns the string representation. 82174 // 82175 // API parameter values that are decorated as "sensitive" in the API will not 82176 // be included in the string output. The member name will be present, but the 82177 // value will be replaced with "sensitive". 82178 func (s TrialComponentSimpleSummary) GoString() string { 82179 return s.String() 82180 } 82181 82182 // SetCreatedBy sets the CreatedBy field's value. 82183 func (s *TrialComponentSimpleSummary) SetCreatedBy(v *UserContext) *TrialComponentSimpleSummary { 82184 s.CreatedBy = v 82185 return s 82186 } 82187 82188 // SetCreationTime sets the CreationTime field's value. 82189 func (s *TrialComponentSimpleSummary) SetCreationTime(v time.Time) *TrialComponentSimpleSummary { 82190 s.CreationTime = &v 82191 return s 82192 } 82193 82194 // SetTrialComponentArn sets the TrialComponentArn field's value. 82195 func (s *TrialComponentSimpleSummary) SetTrialComponentArn(v string) *TrialComponentSimpleSummary { 82196 s.TrialComponentArn = &v 82197 return s 82198 } 82199 82200 // SetTrialComponentName sets the TrialComponentName field's value. 82201 func (s *TrialComponentSimpleSummary) SetTrialComponentName(v string) *TrialComponentSimpleSummary { 82202 s.TrialComponentName = &v 82203 return s 82204 } 82205 82206 // SetTrialComponentSource sets the TrialComponentSource field's value. 82207 func (s *TrialComponentSimpleSummary) SetTrialComponentSource(v *TrialComponentSource) *TrialComponentSimpleSummary { 82208 s.TrialComponentSource = v 82209 return s 82210 } 82211 82212 // The Amazon Resource Name (ARN) and job type of the source of a trial component. 82213 type TrialComponentSource struct { 82214 _ struct{} `type:"structure"` 82215 82216 // The source ARN. 82217 // 82218 // SourceArn is a required field 82219 SourceArn *string `type:"string" required:"true"` 82220 82221 // The source job type. 82222 SourceType *string `type:"string"` 82223 } 82224 82225 // String returns the string representation. 82226 // 82227 // API parameter values that are decorated as "sensitive" in the API will not 82228 // be included in the string output. The member name will be present, but the 82229 // value will be replaced with "sensitive". 82230 func (s TrialComponentSource) String() string { 82231 return awsutil.Prettify(s) 82232 } 82233 82234 // GoString returns the string representation. 82235 // 82236 // API parameter values that are decorated as "sensitive" in the API will not 82237 // be included in the string output. The member name will be present, but the 82238 // value will be replaced with "sensitive". 82239 func (s TrialComponentSource) GoString() string { 82240 return s.String() 82241 } 82242 82243 // SetSourceArn sets the SourceArn field's value. 82244 func (s *TrialComponentSource) SetSourceArn(v string) *TrialComponentSource { 82245 s.SourceArn = &v 82246 return s 82247 } 82248 82249 // SetSourceType sets the SourceType field's value. 82250 func (s *TrialComponentSource) SetSourceType(v string) *TrialComponentSource { 82251 s.SourceType = &v 82252 return s 82253 } 82254 82255 // Detailed information about the source of a trial component. Either ProcessingJob 82256 // or TrainingJob is returned. 82257 type TrialComponentSourceDetail struct { 82258 _ struct{} `type:"structure"` 82259 82260 // Information about a processing job that's the source of a trial component. 82261 ProcessingJob *ProcessingJob `type:"structure"` 82262 82263 // The Amazon Resource Name (ARN) of the source. 82264 SourceArn *string `type:"string"` 82265 82266 // Information about a training job that's the source of a trial component. 82267 TrainingJob *TrainingJob `type:"structure"` 82268 82269 // Information about a transform job that's the source of a trial component. 82270 TransformJob *TransformJob `type:"structure"` 82271 } 82272 82273 // String returns the string representation. 82274 // 82275 // API parameter values that are decorated as "sensitive" in the API will not 82276 // be included in the string output. The member name will be present, but the 82277 // value will be replaced with "sensitive". 82278 func (s TrialComponentSourceDetail) String() string { 82279 return awsutil.Prettify(s) 82280 } 82281 82282 // GoString returns the string representation. 82283 // 82284 // API parameter values that are decorated as "sensitive" in the API will not 82285 // be included in the string output. The member name will be present, but the 82286 // value will be replaced with "sensitive". 82287 func (s TrialComponentSourceDetail) GoString() string { 82288 return s.String() 82289 } 82290 82291 // SetProcessingJob sets the ProcessingJob field's value. 82292 func (s *TrialComponentSourceDetail) SetProcessingJob(v *ProcessingJob) *TrialComponentSourceDetail { 82293 s.ProcessingJob = v 82294 return s 82295 } 82296 82297 // SetSourceArn sets the SourceArn field's value. 82298 func (s *TrialComponentSourceDetail) SetSourceArn(v string) *TrialComponentSourceDetail { 82299 s.SourceArn = &v 82300 return s 82301 } 82302 82303 // SetTrainingJob sets the TrainingJob field's value. 82304 func (s *TrialComponentSourceDetail) SetTrainingJob(v *TrainingJob) *TrialComponentSourceDetail { 82305 s.TrainingJob = v 82306 return s 82307 } 82308 82309 // SetTransformJob sets the TransformJob field's value. 82310 func (s *TrialComponentSourceDetail) SetTransformJob(v *TransformJob) *TrialComponentSourceDetail { 82311 s.TransformJob = v 82312 return s 82313 } 82314 82315 // The status of the trial component. 82316 type TrialComponentStatus struct { 82317 _ struct{} `type:"structure"` 82318 82319 // If the component failed, a message describing why. 82320 Message *string `type:"string"` 82321 82322 // The status of the trial component. 82323 PrimaryStatus *string `type:"string" enum:"TrialComponentPrimaryStatus"` 82324 } 82325 82326 // String returns the string representation. 82327 // 82328 // API parameter values that are decorated as "sensitive" in the API will not 82329 // be included in the string output. The member name will be present, but the 82330 // value will be replaced with "sensitive". 82331 func (s TrialComponentStatus) String() string { 82332 return awsutil.Prettify(s) 82333 } 82334 82335 // GoString returns the string representation. 82336 // 82337 // API parameter values that are decorated as "sensitive" in the API will not 82338 // be included in the string output. The member name will be present, but the 82339 // value will be replaced with "sensitive". 82340 func (s TrialComponentStatus) GoString() string { 82341 return s.String() 82342 } 82343 82344 // SetMessage sets the Message field's value. 82345 func (s *TrialComponentStatus) SetMessage(v string) *TrialComponentStatus { 82346 s.Message = &v 82347 return s 82348 } 82349 82350 // SetPrimaryStatus sets the PrimaryStatus field's value. 82351 func (s *TrialComponentStatus) SetPrimaryStatus(v string) *TrialComponentStatus { 82352 s.PrimaryStatus = &v 82353 return s 82354 } 82355 82356 // A summary of the properties of a trial component. To get all the properties, 82357 // call the DescribeTrialComponent API and provide the TrialComponentName. 82358 type TrialComponentSummary struct { 82359 _ struct{} `type:"structure"` 82360 82361 // Who created the trial component. 82362 CreatedBy *UserContext `type:"structure"` 82363 82364 // When the component was created. 82365 CreationTime *time.Time `type:"timestamp"` 82366 82367 // The name of the component as displayed. If DisplayName isn't specified, TrialComponentName 82368 // is displayed. 82369 DisplayName *string `min:"1" type:"string"` 82370 82371 // When the component ended. 82372 EndTime *time.Time `type:"timestamp"` 82373 82374 // Who last modified the component. 82375 LastModifiedBy *UserContext `type:"structure"` 82376 82377 // When the component was last modified. 82378 LastModifiedTime *time.Time `type:"timestamp"` 82379 82380 // When the component started. 82381 StartTime *time.Time `type:"timestamp"` 82382 82383 // The status of the component. States include: 82384 // 82385 // * InProgress 82386 // 82387 // * Completed 82388 // 82389 // * Failed 82390 Status *TrialComponentStatus `type:"structure"` 82391 82392 // The ARN of the trial component. 82393 TrialComponentArn *string `type:"string"` 82394 82395 // The name of the trial component. 82396 TrialComponentName *string `min:"1" type:"string"` 82397 82398 // The Amazon Resource Name (ARN) and job type of the source of a trial component. 82399 TrialComponentSource *TrialComponentSource `type:"structure"` 82400 } 82401 82402 // String returns the string representation. 82403 // 82404 // API parameter values that are decorated as "sensitive" in the API will not 82405 // be included in the string output. The member name will be present, but the 82406 // value will be replaced with "sensitive". 82407 func (s TrialComponentSummary) String() string { 82408 return awsutil.Prettify(s) 82409 } 82410 82411 // GoString returns the string representation. 82412 // 82413 // API parameter values that are decorated as "sensitive" in the API will not 82414 // be included in the string output. The member name will be present, but the 82415 // value will be replaced with "sensitive". 82416 func (s TrialComponentSummary) GoString() string { 82417 return s.String() 82418 } 82419 82420 // SetCreatedBy sets the CreatedBy field's value. 82421 func (s *TrialComponentSummary) SetCreatedBy(v *UserContext) *TrialComponentSummary { 82422 s.CreatedBy = v 82423 return s 82424 } 82425 82426 // SetCreationTime sets the CreationTime field's value. 82427 func (s *TrialComponentSummary) SetCreationTime(v time.Time) *TrialComponentSummary { 82428 s.CreationTime = &v 82429 return s 82430 } 82431 82432 // SetDisplayName sets the DisplayName field's value. 82433 func (s *TrialComponentSummary) SetDisplayName(v string) *TrialComponentSummary { 82434 s.DisplayName = &v 82435 return s 82436 } 82437 82438 // SetEndTime sets the EndTime field's value. 82439 func (s *TrialComponentSummary) SetEndTime(v time.Time) *TrialComponentSummary { 82440 s.EndTime = &v 82441 return s 82442 } 82443 82444 // SetLastModifiedBy sets the LastModifiedBy field's value. 82445 func (s *TrialComponentSummary) SetLastModifiedBy(v *UserContext) *TrialComponentSummary { 82446 s.LastModifiedBy = v 82447 return s 82448 } 82449 82450 // SetLastModifiedTime sets the LastModifiedTime field's value. 82451 func (s *TrialComponentSummary) SetLastModifiedTime(v time.Time) *TrialComponentSummary { 82452 s.LastModifiedTime = &v 82453 return s 82454 } 82455 82456 // SetStartTime sets the StartTime field's value. 82457 func (s *TrialComponentSummary) SetStartTime(v time.Time) *TrialComponentSummary { 82458 s.StartTime = &v 82459 return s 82460 } 82461 82462 // SetStatus sets the Status field's value. 82463 func (s *TrialComponentSummary) SetStatus(v *TrialComponentStatus) *TrialComponentSummary { 82464 s.Status = v 82465 return s 82466 } 82467 82468 // SetTrialComponentArn sets the TrialComponentArn field's value. 82469 func (s *TrialComponentSummary) SetTrialComponentArn(v string) *TrialComponentSummary { 82470 s.TrialComponentArn = &v 82471 return s 82472 } 82473 82474 // SetTrialComponentName sets the TrialComponentName field's value. 82475 func (s *TrialComponentSummary) SetTrialComponentName(v string) *TrialComponentSummary { 82476 s.TrialComponentName = &v 82477 return s 82478 } 82479 82480 // SetTrialComponentSource sets the TrialComponentSource field's value. 82481 func (s *TrialComponentSummary) SetTrialComponentSource(v *TrialComponentSource) *TrialComponentSummary { 82482 s.TrialComponentSource = v 82483 return s 82484 } 82485 82486 // The source of the trial. 82487 type TrialSource struct { 82488 _ struct{} `type:"structure"` 82489 82490 // The Amazon Resource Name (ARN) of the source. 82491 // 82492 // SourceArn is a required field 82493 SourceArn *string `type:"string" required:"true"` 82494 82495 // The source job type. 82496 SourceType *string `type:"string"` 82497 } 82498 82499 // String returns the string representation. 82500 // 82501 // API parameter values that are decorated as "sensitive" in the API will not 82502 // be included in the string output. The member name will be present, but the 82503 // value will be replaced with "sensitive". 82504 func (s TrialSource) String() string { 82505 return awsutil.Prettify(s) 82506 } 82507 82508 // GoString returns the string representation. 82509 // 82510 // API parameter values that are decorated as "sensitive" in the API will not 82511 // be included in the string output. The member name will be present, but the 82512 // value will be replaced with "sensitive". 82513 func (s TrialSource) GoString() string { 82514 return s.String() 82515 } 82516 82517 // SetSourceArn sets the SourceArn field's value. 82518 func (s *TrialSource) SetSourceArn(v string) *TrialSource { 82519 s.SourceArn = &v 82520 return s 82521 } 82522 82523 // SetSourceType sets the SourceType field's value. 82524 func (s *TrialSource) SetSourceType(v string) *TrialSource { 82525 s.SourceType = &v 82526 return s 82527 } 82528 82529 // A summary of the properties of a trial. To get the complete set of properties, 82530 // call the DescribeTrial API and provide the TrialName. 82531 type TrialSummary struct { 82532 _ struct{} `type:"structure"` 82533 82534 // When the trial was created. 82535 CreationTime *time.Time `type:"timestamp"` 82536 82537 // The name of the trial as displayed. If DisplayName isn't specified, TrialName 82538 // is displayed. 82539 DisplayName *string `min:"1" type:"string"` 82540 82541 // When the trial was last modified. 82542 LastModifiedTime *time.Time `type:"timestamp"` 82543 82544 // The Amazon Resource Name (ARN) of the trial. 82545 TrialArn *string `type:"string"` 82546 82547 // The name of the trial. 82548 TrialName *string `min:"1" type:"string"` 82549 82550 // The source of the trial. 82551 TrialSource *TrialSource `type:"structure"` 82552 } 82553 82554 // String returns the string representation. 82555 // 82556 // API parameter values that are decorated as "sensitive" in the API will not 82557 // be included in the string output. The member name will be present, but the 82558 // value will be replaced with "sensitive". 82559 func (s TrialSummary) String() string { 82560 return awsutil.Prettify(s) 82561 } 82562 82563 // GoString returns the string representation. 82564 // 82565 // API parameter values that are decorated as "sensitive" in the API will not 82566 // be included in the string output. The member name will be present, but the 82567 // value will be replaced with "sensitive". 82568 func (s TrialSummary) GoString() string { 82569 return s.String() 82570 } 82571 82572 // SetCreationTime sets the CreationTime field's value. 82573 func (s *TrialSummary) SetCreationTime(v time.Time) *TrialSummary { 82574 s.CreationTime = &v 82575 return s 82576 } 82577 82578 // SetDisplayName sets the DisplayName field's value. 82579 func (s *TrialSummary) SetDisplayName(v string) *TrialSummary { 82580 s.DisplayName = &v 82581 return s 82582 } 82583 82584 // SetLastModifiedTime sets the LastModifiedTime field's value. 82585 func (s *TrialSummary) SetLastModifiedTime(v time.Time) *TrialSummary { 82586 s.LastModifiedTime = &v 82587 return s 82588 } 82589 82590 // SetTrialArn sets the TrialArn field's value. 82591 func (s *TrialSummary) SetTrialArn(v string) *TrialSummary { 82592 s.TrialArn = &v 82593 return s 82594 } 82595 82596 // SetTrialName sets the TrialName field's value. 82597 func (s *TrialSummary) SetTrialName(v string) *TrialSummary { 82598 s.TrialName = &v 82599 return s 82600 } 82601 82602 // SetTrialSource sets the TrialSource field's value. 82603 func (s *TrialSummary) SetTrialSource(v *TrialSource) *TrialSummary { 82604 s.TrialSource = v 82605 return s 82606 } 82607 82608 // The job completion criteria. 82609 type TuningJobCompletionCriteria struct { 82610 _ struct{} `type:"structure"` 82611 82612 // The value of the objective metric. 82613 // 82614 // TargetObjectiveMetricValue is a required field 82615 TargetObjectiveMetricValue *float64 `type:"float" required:"true"` 82616 } 82617 82618 // String returns the string representation. 82619 // 82620 // API parameter values that are decorated as "sensitive" in the API will not 82621 // be included in the string output. The member name will be present, but the 82622 // value will be replaced with "sensitive". 82623 func (s TuningJobCompletionCriteria) String() string { 82624 return awsutil.Prettify(s) 82625 } 82626 82627 // GoString returns the string representation. 82628 // 82629 // API parameter values that are decorated as "sensitive" in the API will not 82630 // be included in the string output. The member name will be present, but the 82631 // value will be replaced with "sensitive". 82632 func (s TuningJobCompletionCriteria) GoString() string { 82633 return s.String() 82634 } 82635 82636 // Validate inspects the fields of the type to determine if they are valid. 82637 func (s *TuningJobCompletionCriteria) Validate() error { 82638 invalidParams := request.ErrInvalidParams{Context: "TuningJobCompletionCriteria"} 82639 if s.TargetObjectiveMetricValue == nil { 82640 invalidParams.Add(request.NewErrParamRequired("TargetObjectiveMetricValue")) 82641 } 82642 82643 if invalidParams.Len() > 0 { 82644 return invalidParams 82645 } 82646 return nil 82647 } 82648 82649 // SetTargetObjectiveMetricValue sets the TargetObjectiveMetricValue field's value. 82650 func (s *TuningJobCompletionCriteria) SetTargetObjectiveMetricValue(v float64) *TuningJobCompletionCriteria { 82651 s.TargetObjectiveMetricValue = &v 82652 return s 82653 } 82654 82655 // Metadata for a tuning step. 82656 type TuningJobStepMetaData struct { 82657 _ struct{} `type:"structure"` 82658 82659 // The Amazon Resource Name (ARN) of the tuning job that was run by this step 82660 // execution. 82661 Arn *string `type:"string"` 82662 } 82663 82664 // String returns the string representation. 82665 // 82666 // API parameter values that are decorated as "sensitive" in the API will not 82667 // be included in the string output. The member name will be present, but the 82668 // value will be replaced with "sensitive". 82669 func (s TuningJobStepMetaData) String() string { 82670 return awsutil.Prettify(s) 82671 } 82672 82673 // GoString returns the string representation. 82674 // 82675 // API parameter values that are decorated as "sensitive" in the API will not 82676 // be included in the string output. The member name will be present, but the 82677 // value will be replaced with "sensitive". 82678 func (s TuningJobStepMetaData) GoString() string { 82679 return s.String() 82680 } 82681 82682 // SetArn sets the Arn field's value. 82683 func (s *TuningJobStepMetaData) SetArn(v string) *TuningJobStepMetaData { 82684 s.Arn = &v 82685 return s 82686 } 82687 82688 // Represents an amount of money in United States dollars. 82689 type USD struct { 82690 _ struct{} `type:"structure"` 82691 82692 // The fractional portion, in cents, of the amount. 82693 Cents *int64 `type:"integer"` 82694 82695 // The whole number of dollars in the amount. 82696 Dollars *int64 `type:"integer"` 82697 82698 // Fractions of a cent, in tenths. 82699 TenthFractionsOfACent *int64 `type:"integer"` 82700 } 82701 82702 // String returns the string representation. 82703 // 82704 // API parameter values that are decorated as "sensitive" in the API will not 82705 // be included in the string output. The member name will be present, but the 82706 // value will be replaced with "sensitive". 82707 func (s USD) String() string { 82708 return awsutil.Prettify(s) 82709 } 82710 82711 // GoString returns the string representation. 82712 // 82713 // API parameter values that are decorated as "sensitive" in the API will not 82714 // be included in the string output. The member name will be present, but the 82715 // value will be replaced with "sensitive". 82716 func (s USD) GoString() string { 82717 return s.String() 82718 } 82719 82720 // SetCents sets the Cents field's value. 82721 func (s *USD) SetCents(v int64) *USD { 82722 s.Cents = &v 82723 return s 82724 } 82725 82726 // SetDollars sets the Dollars field's value. 82727 func (s *USD) SetDollars(v int64) *USD { 82728 s.Dollars = &v 82729 return s 82730 } 82731 82732 // SetTenthFractionsOfACent sets the TenthFractionsOfACent field's value. 82733 func (s *USD) SetTenthFractionsOfACent(v int64) *USD { 82734 s.TenthFractionsOfACent = &v 82735 return s 82736 } 82737 82738 // Provided configuration information for the worker UI for a labeling job. 82739 // Provide either HumanTaskUiArn or UiTemplateS3Uri. 82740 // 82741 // For named entity recognition, 3D point cloud and video frame labeling jobs, 82742 // use HumanTaskUiArn. 82743 // 82744 // For all other Ground Truth built-in task types and custom task types, use 82745 // UiTemplateS3Uri to specify the location of a worker task template in Amazon 82746 // S3. 82747 type UiConfig struct { 82748 _ struct{} `type:"structure"` 82749 82750 // The ARN of the worker task template used to render the worker UI and tools 82751 // for labeling job tasks. 82752 // 82753 // Use this parameter when you are creating a labeling job for named entity 82754 // recognition, 3D point cloud and video frame labeling jobs. Use your labeling 82755 // job task type to select one of the following ARNs and use it with this parameter 82756 // when you create a labeling job. Replace aws-region with the Amazon Web Services 82757 // Region you are creating your labeling job in. For example, replace aws-region 82758 // with us-west-1 if you create a labeling job in US West (N. California). 82759 // 82760 // Named Entity Recognition 82761 // 82762 // Use the following HumanTaskUiArn for named entity recognition labeling jobs: 82763 // 82764 // arn:aws:sagemaker:aws-region:394669845002:human-task-ui/NamedEntityRecognition 82765 // 82766 // 3D Point Cloud HumanTaskUiArns 82767 // 82768 // Use this HumanTaskUiArn for 3D point cloud object detection and 3D point 82769 // cloud object detection adjustment labeling jobs. 82770 // 82771 // * arn:aws:sagemaker:aws-region:394669845002:human-task-ui/PointCloudObjectDetection 82772 // 82773 // Use this HumanTaskUiArn for 3D point cloud object tracking and 3D point cloud 82774 // object tracking adjustment labeling jobs. 82775 // 82776 // * arn:aws:sagemaker:aws-region:394669845002:human-task-ui/PointCloudObjectTracking 82777 // 82778 // Use this HumanTaskUiArn for 3D point cloud semantic segmentation and 3D point 82779 // cloud semantic segmentation adjustment labeling jobs. 82780 // 82781 // * arn:aws:sagemaker:aws-region:394669845002:human-task-ui/PointCloudSemanticSegmentation 82782 // 82783 // Video Frame HumanTaskUiArns 82784 // 82785 // Use this HumanTaskUiArn for video frame object detection and video frame 82786 // object detection adjustment labeling jobs. 82787 // 82788 // * arn:aws:sagemaker:region:394669845002:human-task-ui/VideoObjectDetection 82789 // 82790 // Use this HumanTaskUiArn for video frame object tracking and video frame object 82791 // tracking adjustment labeling jobs. 82792 // 82793 // * arn:aws:sagemaker:aws-region:394669845002:human-task-ui/VideoObjectTracking 82794 HumanTaskUiArn *string `type:"string"` 82795 82796 // The Amazon S3 bucket location of the UI template, or worker task template. 82797 // This is the template used to render the worker UI and tools for labeling 82798 // job tasks. For more information about the contents of a UI template, see 82799 // Creating Your Custom Labeling Task Template (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-custom-templates-step2.html). 82800 UiTemplateS3Uri *string `type:"string"` 82801 } 82802 82803 // String returns the string representation. 82804 // 82805 // API parameter values that are decorated as "sensitive" in the API will not 82806 // be included in the string output. The member name will be present, but the 82807 // value will be replaced with "sensitive". 82808 func (s UiConfig) String() string { 82809 return awsutil.Prettify(s) 82810 } 82811 82812 // GoString returns the string representation. 82813 // 82814 // API parameter values that are decorated as "sensitive" in the API will not 82815 // be included in the string output. The member name will be present, but the 82816 // value will be replaced with "sensitive". 82817 func (s UiConfig) GoString() string { 82818 return s.String() 82819 } 82820 82821 // SetHumanTaskUiArn sets the HumanTaskUiArn field's value. 82822 func (s *UiConfig) SetHumanTaskUiArn(v string) *UiConfig { 82823 s.HumanTaskUiArn = &v 82824 return s 82825 } 82826 82827 // SetUiTemplateS3Uri sets the UiTemplateS3Uri field's value. 82828 func (s *UiConfig) SetUiTemplateS3Uri(v string) *UiConfig { 82829 s.UiTemplateS3Uri = &v 82830 return s 82831 } 82832 82833 // The Liquid template for the worker user interface. 82834 type UiTemplate struct { 82835 _ struct{} `type:"structure"` 82836 82837 // The content of the Liquid template for the worker user interface. 82838 // 82839 // Content is a required field 82840 Content *string `min:"1" type:"string" required:"true"` 82841 } 82842 82843 // String returns the string representation. 82844 // 82845 // API parameter values that are decorated as "sensitive" in the API will not 82846 // be included in the string output. The member name will be present, but the 82847 // value will be replaced with "sensitive". 82848 func (s UiTemplate) String() string { 82849 return awsutil.Prettify(s) 82850 } 82851 82852 // GoString returns the string representation. 82853 // 82854 // API parameter values that are decorated as "sensitive" in the API will not 82855 // be included in the string output. The member name will be present, but the 82856 // value will be replaced with "sensitive". 82857 func (s UiTemplate) GoString() string { 82858 return s.String() 82859 } 82860 82861 // Validate inspects the fields of the type to determine if they are valid. 82862 func (s *UiTemplate) Validate() error { 82863 invalidParams := request.ErrInvalidParams{Context: "UiTemplate"} 82864 if s.Content == nil { 82865 invalidParams.Add(request.NewErrParamRequired("Content")) 82866 } 82867 if s.Content != nil && len(*s.Content) < 1 { 82868 invalidParams.Add(request.NewErrParamMinLen("Content", 1)) 82869 } 82870 82871 if invalidParams.Len() > 0 { 82872 return invalidParams 82873 } 82874 return nil 82875 } 82876 82877 // SetContent sets the Content field's value. 82878 func (s *UiTemplate) SetContent(v string) *UiTemplate { 82879 s.Content = &v 82880 return s 82881 } 82882 82883 // Container for user interface template information. 82884 type UiTemplateInfo struct { 82885 _ struct{} `type:"structure"` 82886 82887 // The SHA-256 digest of the contents of the template. 82888 ContentSha256 *string `min:"1" type:"string"` 82889 82890 // The URL for the user interface template. 82891 Url *string `min:"1" type:"string"` 82892 } 82893 82894 // String returns the string representation. 82895 // 82896 // API parameter values that are decorated as "sensitive" in the API will not 82897 // be included in the string output. The member name will be present, but the 82898 // value will be replaced with "sensitive". 82899 func (s UiTemplateInfo) String() string { 82900 return awsutil.Prettify(s) 82901 } 82902 82903 // GoString returns the string representation. 82904 // 82905 // API parameter values that are decorated as "sensitive" in the API will not 82906 // be included in the string output. The member name will be present, but the 82907 // value will be replaced with "sensitive". 82908 func (s UiTemplateInfo) GoString() string { 82909 return s.String() 82910 } 82911 82912 // SetContentSha256 sets the ContentSha256 field's value. 82913 func (s *UiTemplateInfo) SetContentSha256(v string) *UiTemplateInfo { 82914 s.ContentSha256 = &v 82915 return s 82916 } 82917 82918 // SetUrl sets the Url field's value. 82919 func (s *UiTemplateInfo) SetUrl(v string) *UiTemplateInfo { 82920 s.Url = &v 82921 return s 82922 } 82923 82924 type UpdateActionInput struct { 82925 _ struct{} `type:"structure"` 82926 82927 // The name of the action to update. 82928 // 82929 // ActionName is a required field 82930 ActionName *string `min:"1" type:"string" required:"true"` 82931 82932 // The new description for the action. 82933 Description *string `type:"string"` 82934 82935 // The new list of properties. Overwrites the current property list. 82936 Properties map[string]*string `type:"map"` 82937 82938 // A list of properties to remove. 82939 PropertiesToRemove []*string `type:"list"` 82940 82941 // The new status for the action. 82942 Status *string `type:"string" enum:"ActionStatus"` 82943 } 82944 82945 // String returns the string representation. 82946 // 82947 // API parameter values that are decorated as "sensitive" in the API will not 82948 // be included in the string output. The member name will be present, but the 82949 // value will be replaced with "sensitive". 82950 func (s UpdateActionInput) String() string { 82951 return awsutil.Prettify(s) 82952 } 82953 82954 // GoString returns the string representation. 82955 // 82956 // API parameter values that are decorated as "sensitive" in the API will not 82957 // be included in the string output. The member name will be present, but the 82958 // value will be replaced with "sensitive". 82959 func (s UpdateActionInput) GoString() string { 82960 return s.String() 82961 } 82962 82963 // Validate inspects the fields of the type to determine if they are valid. 82964 func (s *UpdateActionInput) Validate() error { 82965 invalidParams := request.ErrInvalidParams{Context: "UpdateActionInput"} 82966 if s.ActionName == nil { 82967 invalidParams.Add(request.NewErrParamRequired("ActionName")) 82968 } 82969 if s.ActionName != nil && len(*s.ActionName) < 1 { 82970 invalidParams.Add(request.NewErrParamMinLen("ActionName", 1)) 82971 } 82972 82973 if invalidParams.Len() > 0 { 82974 return invalidParams 82975 } 82976 return nil 82977 } 82978 82979 // SetActionName sets the ActionName field's value. 82980 func (s *UpdateActionInput) SetActionName(v string) *UpdateActionInput { 82981 s.ActionName = &v 82982 return s 82983 } 82984 82985 // SetDescription sets the Description field's value. 82986 func (s *UpdateActionInput) SetDescription(v string) *UpdateActionInput { 82987 s.Description = &v 82988 return s 82989 } 82990 82991 // SetProperties sets the Properties field's value. 82992 func (s *UpdateActionInput) SetProperties(v map[string]*string) *UpdateActionInput { 82993 s.Properties = v 82994 return s 82995 } 82996 82997 // SetPropertiesToRemove sets the PropertiesToRemove field's value. 82998 func (s *UpdateActionInput) SetPropertiesToRemove(v []*string) *UpdateActionInput { 82999 s.PropertiesToRemove = v 83000 return s 83001 } 83002 83003 // SetStatus sets the Status field's value. 83004 func (s *UpdateActionInput) SetStatus(v string) *UpdateActionInput { 83005 s.Status = &v 83006 return s 83007 } 83008 83009 type UpdateActionOutput struct { 83010 _ struct{} `type:"structure"` 83011 83012 // The Amazon Resource Name (ARN) of the action. 83013 ActionArn *string `type:"string"` 83014 } 83015 83016 // String returns the string representation. 83017 // 83018 // API parameter values that are decorated as "sensitive" in the API will not 83019 // be included in the string output. The member name will be present, but the 83020 // value will be replaced with "sensitive". 83021 func (s UpdateActionOutput) String() string { 83022 return awsutil.Prettify(s) 83023 } 83024 83025 // GoString returns the string representation. 83026 // 83027 // API parameter values that are decorated as "sensitive" in the API will not 83028 // be included in the string output. The member name will be present, but the 83029 // value will be replaced with "sensitive". 83030 func (s UpdateActionOutput) GoString() string { 83031 return s.String() 83032 } 83033 83034 // SetActionArn sets the ActionArn field's value. 83035 func (s *UpdateActionOutput) SetActionArn(v string) *UpdateActionOutput { 83036 s.ActionArn = &v 83037 return s 83038 } 83039 83040 type UpdateAppImageConfigInput struct { 83041 _ struct{} `type:"structure"` 83042 83043 // The name of the AppImageConfig to update. 83044 // 83045 // AppImageConfigName is a required field 83046 AppImageConfigName *string `type:"string" required:"true"` 83047 83048 // The new KernelGateway app to run on the image. 83049 KernelGatewayImageConfig *KernelGatewayImageConfig `type:"structure"` 83050 } 83051 83052 // String returns the string representation. 83053 // 83054 // API parameter values that are decorated as "sensitive" in the API will not 83055 // be included in the string output. The member name will be present, but the 83056 // value will be replaced with "sensitive". 83057 func (s UpdateAppImageConfigInput) String() string { 83058 return awsutil.Prettify(s) 83059 } 83060 83061 // GoString returns the string representation. 83062 // 83063 // API parameter values that are decorated as "sensitive" in the API will not 83064 // be included in the string output. The member name will be present, but the 83065 // value will be replaced with "sensitive". 83066 func (s UpdateAppImageConfigInput) GoString() string { 83067 return s.String() 83068 } 83069 83070 // Validate inspects the fields of the type to determine if they are valid. 83071 func (s *UpdateAppImageConfigInput) Validate() error { 83072 invalidParams := request.ErrInvalidParams{Context: "UpdateAppImageConfigInput"} 83073 if s.AppImageConfigName == nil { 83074 invalidParams.Add(request.NewErrParamRequired("AppImageConfigName")) 83075 } 83076 if s.KernelGatewayImageConfig != nil { 83077 if err := s.KernelGatewayImageConfig.Validate(); err != nil { 83078 invalidParams.AddNested("KernelGatewayImageConfig", err.(request.ErrInvalidParams)) 83079 } 83080 } 83081 83082 if invalidParams.Len() > 0 { 83083 return invalidParams 83084 } 83085 return nil 83086 } 83087 83088 // SetAppImageConfigName sets the AppImageConfigName field's value. 83089 func (s *UpdateAppImageConfigInput) SetAppImageConfigName(v string) *UpdateAppImageConfigInput { 83090 s.AppImageConfigName = &v 83091 return s 83092 } 83093 83094 // SetKernelGatewayImageConfig sets the KernelGatewayImageConfig field's value. 83095 func (s *UpdateAppImageConfigInput) SetKernelGatewayImageConfig(v *KernelGatewayImageConfig) *UpdateAppImageConfigInput { 83096 s.KernelGatewayImageConfig = v 83097 return s 83098 } 83099 83100 type UpdateAppImageConfigOutput struct { 83101 _ struct{} `type:"structure"` 83102 83103 // The Amazon Resource Name (ARN) for the AppImageConfig. 83104 AppImageConfigArn *string `type:"string"` 83105 } 83106 83107 // String returns the string representation. 83108 // 83109 // API parameter values that are decorated as "sensitive" in the API will not 83110 // be included in the string output. The member name will be present, but the 83111 // value will be replaced with "sensitive". 83112 func (s UpdateAppImageConfigOutput) String() string { 83113 return awsutil.Prettify(s) 83114 } 83115 83116 // GoString returns the string representation. 83117 // 83118 // API parameter values that are decorated as "sensitive" in the API will not 83119 // be included in the string output. The member name will be present, but the 83120 // value will be replaced with "sensitive". 83121 func (s UpdateAppImageConfigOutput) GoString() string { 83122 return s.String() 83123 } 83124 83125 // SetAppImageConfigArn sets the AppImageConfigArn field's value. 83126 func (s *UpdateAppImageConfigOutput) SetAppImageConfigArn(v string) *UpdateAppImageConfigOutput { 83127 s.AppImageConfigArn = &v 83128 return s 83129 } 83130 83131 type UpdateArtifactInput struct { 83132 _ struct{} `type:"structure"` 83133 83134 // The Amazon Resource Name (ARN) of the artifact to update. 83135 // 83136 // ArtifactArn is a required field 83137 ArtifactArn *string `type:"string" required:"true"` 83138 83139 // The new name for the artifact. 83140 ArtifactName *string `min:"1" type:"string"` 83141 83142 // The new list of properties. Overwrites the current property list. 83143 Properties map[string]*string `type:"map"` 83144 83145 // A list of properties to remove. 83146 PropertiesToRemove []*string `type:"list"` 83147 } 83148 83149 // String returns the string representation. 83150 // 83151 // API parameter values that are decorated as "sensitive" in the API will not 83152 // be included in the string output. The member name will be present, but the 83153 // value will be replaced with "sensitive". 83154 func (s UpdateArtifactInput) String() string { 83155 return awsutil.Prettify(s) 83156 } 83157 83158 // GoString returns the string representation. 83159 // 83160 // API parameter values that are decorated as "sensitive" in the API will not 83161 // be included in the string output. The member name will be present, but the 83162 // value will be replaced with "sensitive". 83163 func (s UpdateArtifactInput) GoString() string { 83164 return s.String() 83165 } 83166 83167 // Validate inspects the fields of the type to determine if they are valid. 83168 func (s *UpdateArtifactInput) Validate() error { 83169 invalidParams := request.ErrInvalidParams{Context: "UpdateArtifactInput"} 83170 if s.ArtifactArn == nil { 83171 invalidParams.Add(request.NewErrParamRequired("ArtifactArn")) 83172 } 83173 if s.ArtifactName != nil && len(*s.ArtifactName) < 1 { 83174 invalidParams.Add(request.NewErrParamMinLen("ArtifactName", 1)) 83175 } 83176 83177 if invalidParams.Len() > 0 { 83178 return invalidParams 83179 } 83180 return nil 83181 } 83182 83183 // SetArtifactArn sets the ArtifactArn field's value. 83184 func (s *UpdateArtifactInput) SetArtifactArn(v string) *UpdateArtifactInput { 83185 s.ArtifactArn = &v 83186 return s 83187 } 83188 83189 // SetArtifactName sets the ArtifactName field's value. 83190 func (s *UpdateArtifactInput) SetArtifactName(v string) *UpdateArtifactInput { 83191 s.ArtifactName = &v 83192 return s 83193 } 83194 83195 // SetProperties sets the Properties field's value. 83196 func (s *UpdateArtifactInput) SetProperties(v map[string]*string) *UpdateArtifactInput { 83197 s.Properties = v 83198 return s 83199 } 83200 83201 // SetPropertiesToRemove sets the PropertiesToRemove field's value. 83202 func (s *UpdateArtifactInput) SetPropertiesToRemove(v []*string) *UpdateArtifactInput { 83203 s.PropertiesToRemove = v 83204 return s 83205 } 83206 83207 type UpdateArtifactOutput struct { 83208 _ struct{} `type:"structure"` 83209 83210 // The Amazon Resource Name (ARN) of the artifact. 83211 ArtifactArn *string `type:"string"` 83212 } 83213 83214 // String returns the string representation. 83215 // 83216 // API parameter values that are decorated as "sensitive" in the API will not 83217 // be included in the string output. The member name will be present, but the 83218 // value will be replaced with "sensitive". 83219 func (s UpdateArtifactOutput) String() string { 83220 return awsutil.Prettify(s) 83221 } 83222 83223 // GoString returns the string representation. 83224 // 83225 // API parameter values that are decorated as "sensitive" in the API will not 83226 // be included in the string output. The member name will be present, but the 83227 // value will be replaced with "sensitive". 83228 func (s UpdateArtifactOutput) GoString() string { 83229 return s.String() 83230 } 83231 83232 // SetArtifactArn sets the ArtifactArn field's value. 83233 func (s *UpdateArtifactOutput) SetArtifactArn(v string) *UpdateArtifactOutput { 83234 s.ArtifactArn = &v 83235 return s 83236 } 83237 83238 type UpdateCodeRepositoryInput struct { 83239 _ struct{} `type:"structure"` 83240 83241 // The name of the Git repository to update. 83242 // 83243 // CodeRepositoryName is a required field 83244 CodeRepositoryName *string `min:"1" type:"string" required:"true"` 83245 83246 // The configuration of the git repository, including the URL and the Amazon 83247 // Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that 83248 // contains the credentials used to access the repository. The secret must have 83249 // a staging label of AWSCURRENT and must be in the following format: 83250 // 83251 // {"username": UserName, "password": Password} 83252 GitConfig *GitConfigForUpdate `type:"structure"` 83253 } 83254 83255 // String returns the string representation. 83256 // 83257 // API parameter values that are decorated as "sensitive" in the API will not 83258 // be included in the string output. The member name will be present, but the 83259 // value will be replaced with "sensitive". 83260 func (s UpdateCodeRepositoryInput) String() string { 83261 return awsutil.Prettify(s) 83262 } 83263 83264 // GoString returns the string representation. 83265 // 83266 // API parameter values that are decorated as "sensitive" in the API will not 83267 // be included in the string output. The member name will be present, but the 83268 // value will be replaced with "sensitive". 83269 func (s UpdateCodeRepositoryInput) GoString() string { 83270 return s.String() 83271 } 83272 83273 // Validate inspects the fields of the type to determine if they are valid. 83274 func (s *UpdateCodeRepositoryInput) Validate() error { 83275 invalidParams := request.ErrInvalidParams{Context: "UpdateCodeRepositoryInput"} 83276 if s.CodeRepositoryName == nil { 83277 invalidParams.Add(request.NewErrParamRequired("CodeRepositoryName")) 83278 } 83279 if s.CodeRepositoryName != nil && len(*s.CodeRepositoryName) < 1 { 83280 invalidParams.Add(request.NewErrParamMinLen("CodeRepositoryName", 1)) 83281 } 83282 if s.GitConfig != nil { 83283 if err := s.GitConfig.Validate(); err != nil { 83284 invalidParams.AddNested("GitConfig", err.(request.ErrInvalidParams)) 83285 } 83286 } 83287 83288 if invalidParams.Len() > 0 { 83289 return invalidParams 83290 } 83291 return nil 83292 } 83293 83294 // SetCodeRepositoryName sets the CodeRepositoryName field's value. 83295 func (s *UpdateCodeRepositoryInput) SetCodeRepositoryName(v string) *UpdateCodeRepositoryInput { 83296 s.CodeRepositoryName = &v 83297 return s 83298 } 83299 83300 // SetGitConfig sets the GitConfig field's value. 83301 func (s *UpdateCodeRepositoryInput) SetGitConfig(v *GitConfigForUpdate) *UpdateCodeRepositoryInput { 83302 s.GitConfig = v 83303 return s 83304 } 83305 83306 type UpdateCodeRepositoryOutput struct { 83307 _ struct{} `type:"structure"` 83308 83309 // The ARN of the Git repository. 83310 // 83311 // CodeRepositoryArn is a required field 83312 CodeRepositoryArn *string `min:"1" type:"string" required:"true"` 83313 } 83314 83315 // String returns the string representation. 83316 // 83317 // API parameter values that are decorated as "sensitive" in the API will not 83318 // be included in the string output. The member name will be present, but the 83319 // value will be replaced with "sensitive". 83320 func (s UpdateCodeRepositoryOutput) String() string { 83321 return awsutil.Prettify(s) 83322 } 83323 83324 // GoString returns the string representation. 83325 // 83326 // API parameter values that are decorated as "sensitive" in the API will not 83327 // be included in the string output. The member name will be present, but the 83328 // value will be replaced with "sensitive". 83329 func (s UpdateCodeRepositoryOutput) GoString() string { 83330 return s.String() 83331 } 83332 83333 // SetCodeRepositoryArn sets the CodeRepositoryArn field's value. 83334 func (s *UpdateCodeRepositoryOutput) SetCodeRepositoryArn(v string) *UpdateCodeRepositoryOutput { 83335 s.CodeRepositoryArn = &v 83336 return s 83337 } 83338 83339 type UpdateContextInput struct { 83340 _ struct{} `type:"structure"` 83341 83342 // The name of the context to update. 83343 // 83344 // ContextName is a required field 83345 ContextName *string `min:"1" type:"string" required:"true"` 83346 83347 // The new description for the context. 83348 Description *string `type:"string"` 83349 83350 // The new list of properties. Overwrites the current property list. 83351 Properties map[string]*string `type:"map"` 83352 83353 // A list of properties to remove. 83354 PropertiesToRemove []*string `type:"list"` 83355 } 83356 83357 // String returns the string representation. 83358 // 83359 // API parameter values that are decorated as "sensitive" in the API will not 83360 // be included in the string output. The member name will be present, but the 83361 // value will be replaced with "sensitive". 83362 func (s UpdateContextInput) String() string { 83363 return awsutil.Prettify(s) 83364 } 83365 83366 // GoString returns the string representation. 83367 // 83368 // API parameter values that are decorated as "sensitive" in the API will not 83369 // be included in the string output. The member name will be present, but the 83370 // value will be replaced with "sensitive". 83371 func (s UpdateContextInput) GoString() string { 83372 return s.String() 83373 } 83374 83375 // Validate inspects the fields of the type to determine if they are valid. 83376 func (s *UpdateContextInput) Validate() error { 83377 invalidParams := request.ErrInvalidParams{Context: "UpdateContextInput"} 83378 if s.ContextName == nil { 83379 invalidParams.Add(request.NewErrParamRequired("ContextName")) 83380 } 83381 if s.ContextName != nil && len(*s.ContextName) < 1 { 83382 invalidParams.Add(request.NewErrParamMinLen("ContextName", 1)) 83383 } 83384 83385 if invalidParams.Len() > 0 { 83386 return invalidParams 83387 } 83388 return nil 83389 } 83390 83391 // SetContextName sets the ContextName field's value. 83392 func (s *UpdateContextInput) SetContextName(v string) *UpdateContextInput { 83393 s.ContextName = &v 83394 return s 83395 } 83396 83397 // SetDescription sets the Description field's value. 83398 func (s *UpdateContextInput) SetDescription(v string) *UpdateContextInput { 83399 s.Description = &v 83400 return s 83401 } 83402 83403 // SetProperties sets the Properties field's value. 83404 func (s *UpdateContextInput) SetProperties(v map[string]*string) *UpdateContextInput { 83405 s.Properties = v 83406 return s 83407 } 83408 83409 // SetPropertiesToRemove sets the PropertiesToRemove field's value. 83410 func (s *UpdateContextInput) SetPropertiesToRemove(v []*string) *UpdateContextInput { 83411 s.PropertiesToRemove = v 83412 return s 83413 } 83414 83415 type UpdateContextOutput struct { 83416 _ struct{} `type:"structure"` 83417 83418 // The Amazon Resource Name (ARN) of the context. 83419 ContextArn *string `type:"string"` 83420 } 83421 83422 // String returns the string representation. 83423 // 83424 // API parameter values that are decorated as "sensitive" in the API will not 83425 // be included in the string output. The member name will be present, but the 83426 // value will be replaced with "sensitive". 83427 func (s UpdateContextOutput) String() string { 83428 return awsutil.Prettify(s) 83429 } 83430 83431 // GoString returns the string representation. 83432 // 83433 // API parameter values that are decorated as "sensitive" in the API will not 83434 // be included in the string output. The member name will be present, but the 83435 // value will be replaced with "sensitive". 83436 func (s UpdateContextOutput) GoString() string { 83437 return s.String() 83438 } 83439 83440 // SetContextArn sets the ContextArn field's value. 83441 func (s *UpdateContextOutput) SetContextArn(v string) *UpdateContextOutput { 83442 s.ContextArn = &v 83443 return s 83444 } 83445 83446 type UpdateDeviceFleetInput struct { 83447 _ struct{} `type:"structure"` 83448 83449 // Description of the fleet. 83450 Description *string `min:"1" type:"string"` 83451 83452 // The name of the fleet. 83453 // 83454 // DeviceFleetName is a required field 83455 DeviceFleetName *string `min:"1" type:"string" required:"true"` 83456 83457 // Whether to create an Amazon Web Services IoT Role Alias during device fleet 83458 // creation. The name of the role alias generated will match this pattern: "SageMakerEdge-{DeviceFleetName}". 83459 // 83460 // For example, if your device fleet is called "demo-fleet", the name of the 83461 // role alias will be "SageMakerEdge-demo-fleet". 83462 EnableIotRoleAlias *bool `type:"boolean"` 83463 83464 // Output configuration for storing sample data collected by the fleet. 83465 // 83466 // OutputConfig is a required field 83467 OutputConfig *EdgeOutputConfig `type:"structure" required:"true"` 83468 83469 // The Amazon Resource Name (ARN) of the device. 83470 RoleArn *string `min:"20" type:"string"` 83471 } 83472 83473 // String returns the string representation. 83474 // 83475 // API parameter values that are decorated as "sensitive" in the API will not 83476 // be included in the string output. The member name will be present, but the 83477 // value will be replaced with "sensitive". 83478 func (s UpdateDeviceFleetInput) String() string { 83479 return awsutil.Prettify(s) 83480 } 83481 83482 // GoString returns the string representation. 83483 // 83484 // API parameter values that are decorated as "sensitive" in the API will not 83485 // be included in the string output. The member name will be present, but the 83486 // value will be replaced with "sensitive". 83487 func (s UpdateDeviceFleetInput) GoString() string { 83488 return s.String() 83489 } 83490 83491 // Validate inspects the fields of the type to determine if they are valid. 83492 func (s *UpdateDeviceFleetInput) Validate() error { 83493 invalidParams := request.ErrInvalidParams{Context: "UpdateDeviceFleetInput"} 83494 if s.Description != nil && len(*s.Description) < 1 { 83495 invalidParams.Add(request.NewErrParamMinLen("Description", 1)) 83496 } 83497 if s.DeviceFleetName == nil { 83498 invalidParams.Add(request.NewErrParamRequired("DeviceFleetName")) 83499 } 83500 if s.DeviceFleetName != nil && len(*s.DeviceFleetName) < 1 { 83501 invalidParams.Add(request.NewErrParamMinLen("DeviceFleetName", 1)) 83502 } 83503 if s.OutputConfig == nil { 83504 invalidParams.Add(request.NewErrParamRequired("OutputConfig")) 83505 } 83506 if s.RoleArn != nil && len(*s.RoleArn) < 20 { 83507 invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) 83508 } 83509 if s.OutputConfig != nil { 83510 if err := s.OutputConfig.Validate(); err != nil { 83511 invalidParams.AddNested("OutputConfig", err.(request.ErrInvalidParams)) 83512 } 83513 } 83514 83515 if invalidParams.Len() > 0 { 83516 return invalidParams 83517 } 83518 return nil 83519 } 83520 83521 // SetDescription sets the Description field's value. 83522 func (s *UpdateDeviceFleetInput) SetDescription(v string) *UpdateDeviceFleetInput { 83523 s.Description = &v 83524 return s 83525 } 83526 83527 // SetDeviceFleetName sets the DeviceFleetName field's value. 83528 func (s *UpdateDeviceFleetInput) SetDeviceFleetName(v string) *UpdateDeviceFleetInput { 83529 s.DeviceFleetName = &v 83530 return s 83531 } 83532 83533 // SetEnableIotRoleAlias sets the EnableIotRoleAlias field's value. 83534 func (s *UpdateDeviceFleetInput) SetEnableIotRoleAlias(v bool) *UpdateDeviceFleetInput { 83535 s.EnableIotRoleAlias = &v 83536 return s 83537 } 83538 83539 // SetOutputConfig sets the OutputConfig field's value. 83540 func (s *UpdateDeviceFleetInput) SetOutputConfig(v *EdgeOutputConfig) *UpdateDeviceFleetInput { 83541 s.OutputConfig = v 83542 return s 83543 } 83544 83545 // SetRoleArn sets the RoleArn field's value. 83546 func (s *UpdateDeviceFleetInput) SetRoleArn(v string) *UpdateDeviceFleetInput { 83547 s.RoleArn = &v 83548 return s 83549 } 83550 83551 type UpdateDeviceFleetOutput struct { 83552 _ struct{} `type:"structure"` 83553 } 83554 83555 // String returns the string representation. 83556 // 83557 // API parameter values that are decorated as "sensitive" in the API will not 83558 // be included in the string output. The member name will be present, but the 83559 // value will be replaced with "sensitive". 83560 func (s UpdateDeviceFleetOutput) String() string { 83561 return awsutil.Prettify(s) 83562 } 83563 83564 // GoString returns the string representation. 83565 // 83566 // API parameter values that are decorated as "sensitive" in the API will not 83567 // be included in the string output. The member name will be present, but the 83568 // value will be replaced with "sensitive". 83569 func (s UpdateDeviceFleetOutput) GoString() string { 83570 return s.String() 83571 } 83572 83573 type UpdateDevicesInput struct { 83574 _ struct{} `type:"structure"` 83575 83576 // The name of the fleet the devices belong to. 83577 // 83578 // DeviceFleetName is a required field 83579 DeviceFleetName *string `min:"1" type:"string" required:"true"` 83580 83581 // List of devices to register with Edge Manager agent. 83582 // 83583 // Devices is a required field 83584 Devices []*Device `type:"list" required:"true"` 83585 } 83586 83587 // String returns the string representation. 83588 // 83589 // API parameter values that are decorated as "sensitive" in the API will not 83590 // be included in the string output. The member name will be present, but the 83591 // value will be replaced with "sensitive". 83592 func (s UpdateDevicesInput) String() string { 83593 return awsutil.Prettify(s) 83594 } 83595 83596 // GoString returns the string representation. 83597 // 83598 // API parameter values that are decorated as "sensitive" in the API will not 83599 // be included in the string output. The member name will be present, but the 83600 // value will be replaced with "sensitive". 83601 func (s UpdateDevicesInput) GoString() string { 83602 return s.String() 83603 } 83604 83605 // Validate inspects the fields of the type to determine if they are valid. 83606 func (s *UpdateDevicesInput) Validate() error { 83607 invalidParams := request.ErrInvalidParams{Context: "UpdateDevicesInput"} 83608 if s.DeviceFleetName == nil { 83609 invalidParams.Add(request.NewErrParamRequired("DeviceFleetName")) 83610 } 83611 if s.DeviceFleetName != nil && len(*s.DeviceFleetName) < 1 { 83612 invalidParams.Add(request.NewErrParamMinLen("DeviceFleetName", 1)) 83613 } 83614 if s.Devices == nil { 83615 invalidParams.Add(request.NewErrParamRequired("Devices")) 83616 } 83617 if s.Devices != nil { 83618 for i, v := range s.Devices { 83619 if v == nil { 83620 continue 83621 } 83622 if err := v.Validate(); err != nil { 83623 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Devices", i), err.(request.ErrInvalidParams)) 83624 } 83625 } 83626 } 83627 83628 if invalidParams.Len() > 0 { 83629 return invalidParams 83630 } 83631 return nil 83632 } 83633 83634 // SetDeviceFleetName sets the DeviceFleetName field's value. 83635 func (s *UpdateDevicesInput) SetDeviceFleetName(v string) *UpdateDevicesInput { 83636 s.DeviceFleetName = &v 83637 return s 83638 } 83639 83640 // SetDevices sets the Devices field's value. 83641 func (s *UpdateDevicesInput) SetDevices(v []*Device) *UpdateDevicesInput { 83642 s.Devices = v 83643 return s 83644 } 83645 83646 type UpdateDevicesOutput struct { 83647 _ struct{} `type:"structure"` 83648 } 83649 83650 // String returns the string representation. 83651 // 83652 // API parameter values that are decorated as "sensitive" in the API will not 83653 // be included in the string output. The member name will be present, but the 83654 // value will be replaced with "sensitive". 83655 func (s UpdateDevicesOutput) String() string { 83656 return awsutil.Prettify(s) 83657 } 83658 83659 // GoString returns the string representation. 83660 // 83661 // API parameter values that are decorated as "sensitive" in the API will not 83662 // be included in the string output. The member name will be present, but the 83663 // value will be replaced with "sensitive". 83664 func (s UpdateDevicesOutput) GoString() string { 83665 return s.String() 83666 } 83667 83668 type UpdateDomainInput struct { 83669 _ struct{} `type:"structure"` 83670 83671 // A collection of settings. 83672 DefaultUserSettings *UserSettings `type:"structure"` 83673 83674 // The ID of the domain to be updated. 83675 // 83676 // DomainId is a required field 83677 DomainId *string `type:"string" required:"true"` 83678 } 83679 83680 // String returns the string representation. 83681 // 83682 // API parameter values that are decorated as "sensitive" in the API will not 83683 // be included in the string output. The member name will be present, but the 83684 // value will be replaced with "sensitive". 83685 func (s UpdateDomainInput) String() string { 83686 return awsutil.Prettify(s) 83687 } 83688 83689 // GoString returns the string representation. 83690 // 83691 // API parameter values that are decorated as "sensitive" in the API will not 83692 // be included in the string output. The member name will be present, but the 83693 // value will be replaced with "sensitive". 83694 func (s UpdateDomainInput) GoString() string { 83695 return s.String() 83696 } 83697 83698 // Validate inspects the fields of the type to determine if they are valid. 83699 func (s *UpdateDomainInput) Validate() error { 83700 invalidParams := request.ErrInvalidParams{Context: "UpdateDomainInput"} 83701 if s.DomainId == nil { 83702 invalidParams.Add(request.NewErrParamRequired("DomainId")) 83703 } 83704 if s.DefaultUserSettings != nil { 83705 if err := s.DefaultUserSettings.Validate(); err != nil { 83706 invalidParams.AddNested("DefaultUserSettings", err.(request.ErrInvalidParams)) 83707 } 83708 } 83709 83710 if invalidParams.Len() > 0 { 83711 return invalidParams 83712 } 83713 return nil 83714 } 83715 83716 // SetDefaultUserSettings sets the DefaultUserSettings field's value. 83717 func (s *UpdateDomainInput) SetDefaultUserSettings(v *UserSettings) *UpdateDomainInput { 83718 s.DefaultUserSettings = v 83719 return s 83720 } 83721 83722 // SetDomainId sets the DomainId field's value. 83723 func (s *UpdateDomainInput) SetDomainId(v string) *UpdateDomainInput { 83724 s.DomainId = &v 83725 return s 83726 } 83727 83728 type UpdateDomainOutput struct { 83729 _ struct{} `type:"structure"` 83730 83731 // The Amazon Resource Name (ARN) of the domain. 83732 DomainArn *string `type:"string"` 83733 } 83734 83735 // String returns the string representation. 83736 // 83737 // API parameter values that are decorated as "sensitive" in the API will not 83738 // be included in the string output. The member name will be present, but the 83739 // value will be replaced with "sensitive". 83740 func (s UpdateDomainOutput) String() string { 83741 return awsutil.Prettify(s) 83742 } 83743 83744 // GoString returns the string representation. 83745 // 83746 // API parameter values that are decorated as "sensitive" in the API will not 83747 // be included in the string output. The member name will be present, but the 83748 // value will be replaced with "sensitive". 83749 func (s UpdateDomainOutput) GoString() string { 83750 return s.String() 83751 } 83752 83753 // SetDomainArn sets the DomainArn field's value. 83754 func (s *UpdateDomainOutput) SetDomainArn(v string) *UpdateDomainOutput { 83755 s.DomainArn = &v 83756 return s 83757 } 83758 83759 type UpdateEndpointInput struct { 83760 _ struct{} `type:"structure"` 83761 83762 // The deployment configuration for the endpoint to be updated. 83763 DeploymentConfig *DeploymentConfig `type:"structure"` 83764 83765 // The name of the new endpoint configuration. 83766 // 83767 // EndpointConfigName is a required field 83768 EndpointConfigName *string `type:"string" required:"true"` 83769 83770 // The name of the endpoint whose configuration you want to update. 83771 // 83772 // EndpointName is a required field 83773 EndpointName *string `type:"string" required:"true"` 83774 83775 // When you are updating endpoint resources with UpdateEndpointInput$RetainAllVariantProperties, 83776 // whose value is set to true, ExcludeRetainedVariantProperties specifies the 83777 // list of type VariantProperty to override with the values provided by EndpointConfig. 83778 // If you don't specify a value for ExcludeAllVariantProperties, no variant 83779 // properties are overridden. 83780 ExcludeRetainedVariantProperties []*VariantProperty `type:"list"` 83781 83782 // When updating endpoint resources, enables or disables the retention of variant 83783 // properties (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_VariantProperty.html), 83784 // such as the instance count or the variant weight. To retain the variant properties 83785 // of an endpoint when updating it, set RetainAllVariantProperties to true. 83786 // To use the variant properties specified in a new EndpointConfig call when 83787 // updating an endpoint, set RetainAllVariantProperties to false. The default 83788 // is false. 83789 RetainAllVariantProperties *bool `type:"boolean"` 83790 } 83791 83792 // String returns the string representation. 83793 // 83794 // API parameter values that are decorated as "sensitive" in the API will not 83795 // be included in the string output. The member name will be present, but the 83796 // value will be replaced with "sensitive". 83797 func (s UpdateEndpointInput) String() string { 83798 return awsutil.Prettify(s) 83799 } 83800 83801 // GoString returns the string representation. 83802 // 83803 // API parameter values that are decorated as "sensitive" in the API will not 83804 // be included in the string output. The member name will be present, but the 83805 // value will be replaced with "sensitive". 83806 func (s UpdateEndpointInput) GoString() string { 83807 return s.String() 83808 } 83809 83810 // Validate inspects the fields of the type to determine if they are valid. 83811 func (s *UpdateEndpointInput) Validate() error { 83812 invalidParams := request.ErrInvalidParams{Context: "UpdateEndpointInput"} 83813 if s.EndpointConfigName == nil { 83814 invalidParams.Add(request.NewErrParamRequired("EndpointConfigName")) 83815 } 83816 if s.EndpointName == nil { 83817 invalidParams.Add(request.NewErrParamRequired("EndpointName")) 83818 } 83819 if s.DeploymentConfig != nil { 83820 if err := s.DeploymentConfig.Validate(); err != nil { 83821 invalidParams.AddNested("DeploymentConfig", err.(request.ErrInvalidParams)) 83822 } 83823 } 83824 if s.ExcludeRetainedVariantProperties != nil { 83825 for i, v := range s.ExcludeRetainedVariantProperties { 83826 if v == nil { 83827 continue 83828 } 83829 if err := v.Validate(); err != nil { 83830 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ExcludeRetainedVariantProperties", i), err.(request.ErrInvalidParams)) 83831 } 83832 } 83833 } 83834 83835 if invalidParams.Len() > 0 { 83836 return invalidParams 83837 } 83838 return nil 83839 } 83840 83841 // SetDeploymentConfig sets the DeploymentConfig field's value. 83842 func (s *UpdateEndpointInput) SetDeploymentConfig(v *DeploymentConfig) *UpdateEndpointInput { 83843 s.DeploymentConfig = v 83844 return s 83845 } 83846 83847 // SetEndpointConfigName sets the EndpointConfigName field's value. 83848 func (s *UpdateEndpointInput) SetEndpointConfigName(v string) *UpdateEndpointInput { 83849 s.EndpointConfigName = &v 83850 return s 83851 } 83852 83853 // SetEndpointName sets the EndpointName field's value. 83854 func (s *UpdateEndpointInput) SetEndpointName(v string) *UpdateEndpointInput { 83855 s.EndpointName = &v 83856 return s 83857 } 83858 83859 // SetExcludeRetainedVariantProperties sets the ExcludeRetainedVariantProperties field's value. 83860 func (s *UpdateEndpointInput) SetExcludeRetainedVariantProperties(v []*VariantProperty) *UpdateEndpointInput { 83861 s.ExcludeRetainedVariantProperties = v 83862 return s 83863 } 83864 83865 // SetRetainAllVariantProperties sets the RetainAllVariantProperties field's value. 83866 func (s *UpdateEndpointInput) SetRetainAllVariantProperties(v bool) *UpdateEndpointInput { 83867 s.RetainAllVariantProperties = &v 83868 return s 83869 } 83870 83871 type UpdateEndpointOutput struct { 83872 _ struct{} `type:"structure"` 83873 83874 // The Amazon Resource Name (ARN) of the endpoint. 83875 // 83876 // EndpointArn is a required field 83877 EndpointArn *string `min:"20" type:"string" required:"true"` 83878 } 83879 83880 // String returns the string representation. 83881 // 83882 // API parameter values that are decorated as "sensitive" in the API will not 83883 // be included in the string output. The member name will be present, but the 83884 // value will be replaced with "sensitive". 83885 func (s UpdateEndpointOutput) String() string { 83886 return awsutil.Prettify(s) 83887 } 83888 83889 // GoString returns the string representation. 83890 // 83891 // API parameter values that are decorated as "sensitive" in the API will not 83892 // be included in the string output. The member name will be present, but the 83893 // value will be replaced with "sensitive". 83894 func (s UpdateEndpointOutput) GoString() string { 83895 return s.String() 83896 } 83897 83898 // SetEndpointArn sets the EndpointArn field's value. 83899 func (s *UpdateEndpointOutput) SetEndpointArn(v string) *UpdateEndpointOutput { 83900 s.EndpointArn = &v 83901 return s 83902 } 83903 83904 type UpdateEndpointWeightsAndCapacitiesInput struct { 83905 _ struct{} `type:"structure"` 83906 83907 // An object that provides new capacity and weight values for a variant. 83908 // 83909 // DesiredWeightsAndCapacities is a required field 83910 DesiredWeightsAndCapacities []*DesiredWeightAndCapacity `min:"1" type:"list" required:"true"` 83911 83912 // The name of an existing Amazon SageMaker endpoint. 83913 // 83914 // EndpointName is a required field 83915 EndpointName *string `type:"string" required:"true"` 83916 } 83917 83918 // String returns the string representation. 83919 // 83920 // API parameter values that are decorated as "sensitive" in the API will not 83921 // be included in the string output. The member name will be present, but the 83922 // value will be replaced with "sensitive". 83923 func (s UpdateEndpointWeightsAndCapacitiesInput) String() string { 83924 return awsutil.Prettify(s) 83925 } 83926 83927 // GoString returns the string representation. 83928 // 83929 // API parameter values that are decorated as "sensitive" in the API will not 83930 // be included in the string output. The member name will be present, but the 83931 // value will be replaced with "sensitive". 83932 func (s UpdateEndpointWeightsAndCapacitiesInput) GoString() string { 83933 return s.String() 83934 } 83935 83936 // Validate inspects the fields of the type to determine if they are valid. 83937 func (s *UpdateEndpointWeightsAndCapacitiesInput) Validate() error { 83938 invalidParams := request.ErrInvalidParams{Context: "UpdateEndpointWeightsAndCapacitiesInput"} 83939 if s.DesiredWeightsAndCapacities == nil { 83940 invalidParams.Add(request.NewErrParamRequired("DesiredWeightsAndCapacities")) 83941 } 83942 if s.DesiredWeightsAndCapacities != nil && len(s.DesiredWeightsAndCapacities) < 1 { 83943 invalidParams.Add(request.NewErrParamMinLen("DesiredWeightsAndCapacities", 1)) 83944 } 83945 if s.EndpointName == nil { 83946 invalidParams.Add(request.NewErrParamRequired("EndpointName")) 83947 } 83948 if s.DesiredWeightsAndCapacities != nil { 83949 for i, v := range s.DesiredWeightsAndCapacities { 83950 if v == nil { 83951 continue 83952 } 83953 if err := v.Validate(); err != nil { 83954 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DesiredWeightsAndCapacities", i), err.(request.ErrInvalidParams)) 83955 } 83956 } 83957 } 83958 83959 if invalidParams.Len() > 0 { 83960 return invalidParams 83961 } 83962 return nil 83963 } 83964 83965 // SetDesiredWeightsAndCapacities sets the DesiredWeightsAndCapacities field's value. 83966 func (s *UpdateEndpointWeightsAndCapacitiesInput) SetDesiredWeightsAndCapacities(v []*DesiredWeightAndCapacity) *UpdateEndpointWeightsAndCapacitiesInput { 83967 s.DesiredWeightsAndCapacities = v 83968 return s 83969 } 83970 83971 // SetEndpointName sets the EndpointName field's value. 83972 func (s *UpdateEndpointWeightsAndCapacitiesInput) SetEndpointName(v string) *UpdateEndpointWeightsAndCapacitiesInput { 83973 s.EndpointName = &v 83974 return s 83975 } 83976 83977 type UpdateEndpointWeightsAndCapacitiesOutput struct { 83978 _ struct{} `type:"structure"` 83979 83980 // The Amazon Resource Name (ARN) of the updated endpoint. 83981 // 83982 // EndpointArn is a required field 83983 EndpointArn *string `min:"20" type:"string" required:"true"` 83984 } 83985 83986 // String returns the string representation. 83987 // 83988 // API parameter values that are decorated as "sensitive" in the API will not 83989 // be included in the string output. The member name will be present, but the 83990 // value will be replaced with "sensitive". 83991 func (s UpdateEndpointWeightsAndCapacitiesOutput) String() string { 83992 return awsutil.Prettify(s) 83993 } 83994 83995 // GoString returns the string representation. 83996 // 83997 // API parameter values that are decorated as "sensitive" in the API will not 83998 // be included in the string output. The member name will be present, but the 83999 // value will be replaced with "sensitive". 84000 func (s UpdateEndpointWeightsAndCapacitiesOutput) GoString() string { 84001 return s.String() 84002 } 84003 84004 // SetEndpointArn sets the EndpointArn field's value. 84005 func (s *UpdateEndpointWeightsAndCapacitiesOutput) SetEndpointArn(v string) *UpdateEndpointWeightsAndCapacitiesOutput { 84006 s.EndpointArn = &v 84007 return s 84008 } 84009 84010 type UpdateExperimentInput struct { 84011 _ struct{} `type:"structure"` 84012 84013 // The description of the experiment. 84014 Description *string `type:"string"` 84015 84016 // The name of the experiment as displayed. The name doesn't need to be unique. 84017 // If DisplayName isn't specified, ExperimentName is displayed. 84018 DisplayName *string `min:"1" type:"string"` 84019 84020 // The name of the experiment to update. 84021 // 84022 // ExperimentName is a required field 84023 ExperimentName *string `min:"1" type:"string" required:"true"` 84024 } 84025 84026 // String returns the string representation. 84027 // 84028 // API parameter values that are decorated as "sensitive" in the API will not 84029 // be included in the string output. The member name will be present, but the 84030 // value will be replaced with "sensitive". 84031 func (s UpdateExperimentInput) String() string { 84032 return awsutil.Prettify(s) 84033 } 84034 84035 // GoString returns the string representation. 84036 // 84037 // API parameter values that are decorated as "sensitive" in the API will not 84038 // be included in the string output. The member name will be present, but the 84039 // value will be replaced with "sensitive". 84040 func (s UpdateExperimentInput) GoString() string { 84041 return s.String() 84042 } 84043 84044 // Validate inspects the fields of the type to determine if they are valid. 84045 func (s *UpdateExperimentInput) Validate() error { 84046 invalidParams := request.ErrInvalidParams{Context: "UpdateExperimentInput"} 84047 if s.DisplayName != nil && len(*s.DisplayName) < 1 { 84048 invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1)) 84049 } 84050 if s.ExperimentName == nil { 84051 invalidParams.Add(request.NewErrParamRequired("ExperimentName")) 84052 } 84053 if s.ExperimentName != nil && len(*s.ExperimentName) < 1 { 84054 invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1)) 84055 } 84056 84057 if invalidParams.Len() > 0 { 84058 return invalidParams 84059 } 84060 return nil 84061 } 84062 84063 // SetDescription sets the Description field's value. 84064 func (s *UpdateExperimentInput) SetDescription(v string) *UpdateExperimentInput { 84065 s.Description = &v 84066 return s 84067 } 84068 84069 // SetDisplayName sets the DisplayName field's value. 84070 func (s *UpdateExperimentInput) SetDisplayName(v string) *UpdateExperimentInput { 84071 s.DisplayName = &v 84072 return s 84073 } 84074 84075 // SetExperimentName sets the ExperimentName field's value. 84076 func (s *UpdateExperimentInput) SetExperimentName(v string) *UpdateExperimentInput { 84077 s.ExperimentName = &v 84078 return s 84079 } 84080 84081 type UpdateExperimentOutput struct { 84082 _ struct{} `type:"structure"` 84083 84084 // The Amazon Resource Name (ARN) of the experiment. 84085 ExperimentArn *string `type:"string"` 84086 } 84087 84088 // String returns the string representation. 84089 // 84090 // API parameter values that are decorated as "sensitive" in the API will not 84091 // be included in the string output. The member name will be present, but the 84092 // value will be replaced with "sensitive". 84093 func (s UpdateExperimentOutput) String() string { 84094 return awsutil.Prettify(s) 84095 } 84096 84097 // GoString returns the string representation. 84098 // 84099 // API parameter values that are decorated as "sensitive" in the API will not 84100 // be included in the string output. The member name will be present, but the 84101 // value will be replaced with "sensitive". 84102 func (s UpdateExperimentOutput) GoString() string { 84103 return s.String() 84104 } 84105 84106 // SetExperimentArn sets the ExperimentArn field's value. 84107 func (s *UpdateExperimentOutput) SetExperimentArn(v string) *UpdateExperimentOutput { 84108 s.ExperimentArn = &v 84109 return s 84110 } 84111 84112 type UpdateImageInput struct { 84113 _ struct{} `type:"structure"` 84114 84115 // A list of properties to delete. Only the Description and DisplayName properties 84116 // can be deleted. 84117 DeleteProperties []*string `type:"list"` 84118 84119 // The new description for the image. 84120 Description *string `min:"1" type:"string"` 84121 84122 // The new display name for the image. 84123 DisplayName *string `min:"1" type:"string"` 84124 84125 // The name of the image to update. 84126 // 84127 // ImageName is a required field 84128 ImageName *string `min:"1" type:"string" required:"true"` 84129 84130 // The new Amazon Resource Name (ARN) for the IAM role that enables Amazon SageMaker 84131 // to perform tasks on your behalf. 84132 RoleArn *string `min:"20" type:"string"` 84133 } 84134 84135 // String returns the string representation. 84136 // 84137 // API parameter values that are decorated as "sensitive" in the API will not 84138 // be included in the string output. The member name will be present, but the 84139 // value will be replaced with "sensitive". 84140 func (s UpdateImageInput) String() string { 84141 return awsutil.Prettify(s) 84142 } 84143 84144 // GoString returns the string representation. 84145 // 84146 // API parameter values that are decorated as "sensitive" in the API will not 84147 // be included in the string output. The member name will be present, but the 84148 // value will be replaced with "sensitive". 84149 func (s UpdateImageInput) GoString() string { 84150 return s.String() 84151 } 84152 84153 // Validate inspects the fields of the type to determine if they are valid. 84154 func (s *UpdateImageInput) Validate() error { 84155 invalidParams := request.ErrInvalidParams{Context: "UpdateImageInput"} 84156 if s.Description != nil && len(*s.Description) < 1 { 84157 invalidParams.Add(request.NewErrParamMinLen("Description", 1)) 84158 } 84159 if s.DisplayName != nil && len(*s.DisplayName) < 1 { 84160 invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1)) 84161 } 84162 if s.ImageName == nil { 84163 invalidParams.Add(request.NewErrParamRequired("ImageName")) 84164 } 84165 if s.ImageName != nil && len(*s.ImageName) < 1 { 84166 invalidParams.Add(request.NewErrParamMinLen("ImageName", 1)) 84167 } 84168 if s.RoleArn != nil && len(*s.RoleArn) < 20 { 84169 invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) 84170 } 84171 84172 if invalidParams.Len() > 0 { 84173 return invalidParams 84174 } 84175 return nil 84176 } 84177 84178 // SetDeleteProperties sets the DeleteProperties field's value. 84179 func (s *UpdateImageInput) SetDeleteProperties(v []*string) *UpdateImageInput { 84180 s.DeleteProperties = v 84181 return s 84182 } 84183 84184 // SetDescription sets the Description field's value. 84185 func (s *UpdateImageInput) SetDescription(v string) *UpdateImageInput { 84186 s.Description = &v 84187 return s 84188 } 84189 84190 // SetDisplayName sets the DisplayName field's value. 84191 func (s *UpdateImageInput) SetDisplayName(v string) *UpdateImageInput { 84192 s.DisplayName = &v 84193 return s 84194 } 84195 84196 // SetImageName sets the ImageName field's value. 84197 func (s *UpdateImageInput) SetImageName(v string) *UpdateImageInput { 84198 s.ImageName = &v 84199 return s 84200 } 84201 84202 // SetRoleArn sets the RoleArn field's value. 84203 func (s *UpdateImageInput) SetRoleArn(v string) *UpdateImageInput { 84204 s.RoleArn = &v 84205 return s 84206 } 84207 84208 type UpdateImageOutput struct { 84209 _ struct{} `type:"structure"` 84210 84211 // The Amazon Resource Name (ARN) of the image. 84212 ImageArn *string `type:"string"` 84213 } 84214 84215 // String returns the string representation. 84216 // 84217 // API parameter values that are decorated as "sensitive" in the API will not 84218 // be included in the string output. The member name will be present, but the 84219 // value will be replaced with "sensitive". 84220 func (s UpdateImageOutput) String() string { 84221 return awsutil.Prettify(s) 84222 } 84223 84224 // GoString returns the string representation. 84225 // 84226 // API parameter values that are decorated as "sensitive" in the API will not 84227 // be included in the string output. The member name will be present, but the 84228 // value will be replaced with "sensitive". 84229 func (s UpdateImageOutput) GoString() string { 84230 return s.String() 84231 } 84232 84233 // SetImageArn sets the ImageArn field's value. 84234 func (s *UpdateImageOutput) SetImageArn(v string) *UpdateImageOutput { 84235 s.ImageArn = &v 84236 return s 84237 } 84238 84239 type UpdateModelPackageInput struct { 84240 _ struct{} `type:"structure"` 84241 84242 // A description for the approval status of the model. 84243 ApprovalDescription *string `type:"string"` 84244 84245 // The approval status of the model. 84246 // 84247 // ModelApprovalStatus is a required field 84248 ModelApprovalStatus *string `type:"string" required:"true" enum:"ModelApprovalStatus"` 84249 84250 // The Amazon Resource Name (ARN) of the model. 84251 // 84252 // ModelPackageArn is a required field 84253 ModelPackageArn *string `min:"1" type:"string" required:"true"` 84254 } 84255 84256 // String returns the string representation. 84257 // 84258 // API parameter values that are decorated as "sensitive" in the API will not 84259 // be included in the string output. The member name will be present, but the 84260 // value will be replaced with "sensitive". 84261 func (s UpdateModelPackageInput) String() string { 84262 return awsutil.Prettify(s) 84263 } 84264 84265 // GoString returns the string representation. 84266 // 84267 // API parameter values that are decorated as "sensitive" in the API will not 84268 // be included in the string output. The member name will be present, but the 84269 // value will be replaced with "sensitive". 84270 func (s UpdateModelPackageInput) GoString() string { 84271 return s.String() 84272 } 84273 84274 // Validate inspects the fields of the type to determine if they are valid. 84275 func (s *UpdateModelPackageInput) Validate() error { 84276 invalidParams := request.ErrInvalidParams{Context: "UpdateModelPackageInput"} 84277 if s.ModelApprovalStatus == nil { 84278 invalidParams.Add(request.NewErrParamRequired("ModelApprovalStatus")) 84279 } 84280 if s.ModelPackageArn == nil { 84281 invalidParams.Add(request.NewErrParamRequired("ModelPackageArn")) 84282 } 84283 if s.ModelPackageArn != nil && len(*s.ModelPackageArn) < 1 { 84284 invalidParams.Add(request.NewErrParamMinLen("ModelPackageArn", 1)) 84285 } 84286 84287 if invalidParams.Len() > 0 { 84288 return invalidParams 84289 } 84290 return nil 84291 } 84292 84293 // SetApprovalDescription sets the ApprovalDescription field's value. 84294 func (s *UpdateModelPackageInput) SetApprovalDescription(v string) *UpdateModelPackageInput { 84295 s.ApprovalDescription = &v 84296 return s 84297 } 84298 84299 // SetModelApprovalStatus sets the ModelApprovalStatus field's value. 84300 func (s *UpdateModelPackageInput) SetModelApprovalStatus(v string) *UpdateModelPackageInput { 84301 s.ModelApprovalStatus = &v 84302 return s 84303 } 84304 84305 // SetModelPackageArn sets the ModelPackageArn field's value. 84306 func (s *UpdateModelPackageInput) SetModelPackageArn(v string) *UpdateModelPackageInput { 84307 s.ModelPackageArn = &v 84308 return s 84309 } 84310 84311 type UpdateModelPackageOutput struct { 84312 _ struct{} `type:"structure"` 84313 84314 // The Amazon Resource Name (ARN) of the model. 84315 // 84316 // ModelPackageArn is a required field 84317 ModelPackageArn *string `min:"1" type:"string" required:"true"` 84318 } 84319 84320 // String returns the string representation. 84321 // 84322 // API parameter values that are decorated as "sensitive" in the API will not 84323 // be included in the string output. The member name will be present, but the 84324 // value will be replaced with "sensitive". 84325 func (s UpdateModelPackageOutput) String() string { 84326 return awsutil.Prettify(s) 84327 } 84328 84329 // GoString returns the string representation. 84330 // 84331 // API parameter values that are decorated as "sensitive" in the API will not 84332 // be included in the string output. The member name will be present, but the 84333 // value will be replaced with "sensitive". 84334 func (s UpdateModelPackageOutput) GoString() string { 84335 return s.String() 84336 } 84337 84338 // SetModelPackageArn sets the ModelPackageArn field's value. 84339 func (s *UpdateModelPackageOutput) SetModelPackageArn(v string) *UpdateModelPackageOutput { 84340 s.ModelPackageArn = &v 84341 return s 84342 } 84343 84344 type UpdateMonitoringScheduleInput struct { 84345 _ struct{} `type:"structure"` 84346 84347 // The configuration object that specifies the monitoring schedule and defines 84348 // the monitoring job. 84349 // 84350 // MonitoringScheduleConfig is a required field 84351 MonitoringScheduleConfig *MonitoringScheduleConfig `type:"structure" required:"true"` 84352 84353 // The name of the monitoring schedule. The name must be unique within an Amazon 84354 // Web Services Region within an Amazon Web Services account. 84355 // 84356 // MonitoringScheduleName is a required field 84357 MonitoringScheduleName *string `min:"1" type:"string" required:"true"` 84358 } 84359 84360 // String returns the string representation. 84361 // 84362 // API parameter values that are decorated as "sensitive" in the API will not 84363 // be included in the string output. The member name will be present, but the 84364 // value will be replaced with "sensitive". 84365 func (s UpdateMonitoringScheduleInput) String() string { 84366 return awsutil.Prettify(s) 84367 } 84368 84369 // GoString returns the string representation. 84370 // 84371 // API parameter values that are decorated as "sensitive" in the API will not 84372 // be included in the string output. The member name will be present, but the 84373 // value will be replaced with "sensitive". 84374 func (s UpdateMonitoringScheduleInput) GoString() string { 84375 return s.String() 84376 } 84377 84378 // Validate inspects the fields of the type to determine if they are valid. 84379 func (s *UpdateMonitoringScheduleInput) Validate() error { 84380 invalidParams := request.ErrInvalidParams{Context: "UpdateMonitoringScheduleInput"} 84381 if s.MonitoringScheduleConfig == nil { 84382 invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleConfig")) 84383 } 84384 if s.MonitoringScheduleName == nil { 84385 invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleName")) 84386 } 84387 if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 { 84388 invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1)) 84389 } 84390 if s.MonitoringScheduleConfig != nil { 84391 if err := s.MonitoringScheduleConfig.Validate(); err != nil { 84392 invalidParams.AddNested("MonitoringScheduleConfig", err.(request.ErrInvalidParams)) 84393 } 84394 } 84395 84396 if invalidParams.Len() > 0 { 84397 return invalidParams 84398 } 84399 return nil 84400 } 84401 84402 // SetMonitoringScheduleConfig sets the MonitoringScheduleConfig field's value. 84403 func (s *UpdateMonitoringScheduleInput) SetMonitoringScheduleConfig(v *MonitoringScheduleConfig) *UpdateMonitoringScheduleInput { 84404 s.MonitoringScheduleConfig = v 84405 return s 84406 } 84407 84408 // SetMonitoringScheduleName sets the MonitoringScheduleName field's value. 84409 func (s *UpdateMonitoringScheduleInput) SetMonitoringScheduleName(v string) *UpdateMonitoringScheduleInput { 84410 s.MonitoringScheduleName = &v 84411 return s 84412 } 84413 84414 type UpdateMonitoringScheduleOutput struct { 84415 _ struct{} `type:"structure"` 84416 84417 // The Amazon Resource Name (ARN) of the monitoring schedule. 84418 // 84419 // MonitoringScheduleArn is a required field 84420 MonitoringScheduleArn *string `type:"string" required:"true"` 84421 } 84422 84423 // String returns the string representation. 84424 // 84425 // API parameter values that are decorated as "sensitive" in the API will not 84426 // be included in the string output. The member name will be present, but the 84427 // value will be replaced with "sensitive". 84428 func (s UpdateMonitoringScheduleOutput) String() string { 84429 return awsutil.Prettify(s) 84430 } 84431 84432 // GoString returns the string representation. 84433 // 84434 // API parameter values that are decorated as "sensitive" in the API will not 84435 // be included in the string output. The member name will be present, but the 84436 // value will be replaced with "sensitive". 84437 func (s UpdateMonitoringScheduleOutput) GoString() string { 84438 return s.String() 84439 } 84440 84441 // SetMonitoringScheduleArn sets the MonitoringScheduleArn field's value. 84442 func (s *UpdateMonitoringScheduleOutput) SetMonitoringScheduleArn(v string) *UpdateMonitoringScheduleOutput { 84443 s.MonitoringScheduleArn = &v 84444 return s 84445 } 84446 84447 type UpdateNotebookInstanceInput struct { 84448 _ struct{} `type:"structure"` 84449 84450 // A list of the Elastic Inference (EI) instance types to associate with this 84451 // notebook instance. Currently only one EI instance type can be associated 84452 // with a notebook instance. For more information, see Using Elastic Inference 84453 // in Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html). 84454 AcceleratorTypes []*string `type:"list"` 84455 84456 // An array of up to three Git repositories to associate with the notebook instance. 84457 // These can be either the names of Git repositories stored as resources in 84458 // your account, or the URL of Git repositories in Amazon Web Services CodeCommit 84459 // (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or 84460 // in any other Git repository. These repositories are cloned at the same level 84461 // as the default repository of your notebook instance. For more information, 84462 // see Associating Git Repositories with Amazon SageMaker Notebook Instances 84463 // (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html). 84464 AdditionalCodeRepositories []*string `type:"list"` 84465 84466 // The Git repository to associate with the notebook instance as its default 84467 // code repository. This can be either the name of a Git repository stored as 84468 // a resource in your account, or the URL of a Git repository in Amazon Web 84469 // Services CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) 84470 // or in any other Git repository. When you open a notebook instance, it opens 84471 // in the directory that contains this repository. For more information, see 84472 // Associating Git Repositories with Amazon SageMaker Notebook Instances (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html). 84473 DefaultCodeRepository *string `min:"1" type:"string"` 84474 84475 // A list of the Elastic Inference (EI) instance types to remove from this notebook 84476 // instance. This operation is idempotent. If you specify an accelerator type 84477 // that is not associated with the notebook instance when you call this method, 84478 // it does not throw an error. 84479 DisassociateAcceleratorTypes *bool `type:"boolean"` 84480 84481 // A list of names or URLs of the default Git repositories to remove from this 84482 // notebook instance. This operation is idempotent. If you specify a Git repository 84483 // that is not associated with the notebook instance when you call this method, 84484 // it does not throw an error. 84485 DisassociateAdditionalCodeRepositories *bool `type:"boolean"` 84486 84487 // The name or URL of the default Git repository to remove from this notebook 84488 // instance. This operation is idempotent. If you specify a Git repository that 84489 // is not associated with the notebook instance when you call this method, it 84490 // does not throw an error. 84491 DisassociateDefaultCodeRepository *bool `type:"boolean"` 84492 84493 // Set to true to remove the notebook instance lifecycle configuration currently 84494 // associated with the notebook instance. This operation is idempotent. If you 84495 // specify a lifecycle configuration that is not associated with the notebook 84496 // instance when you call this method, it does not throw an error. 84497 DisassociateLifecycleConfig *bool `type:"boolean"` 84498 84499 // The Amazon ML compute instance type. 84500 InstanceType *string `type:"string" enum:"InstanceType"` 84501 84502 // The name of a lifecycle configuration to associate with the notebook instance. 84503 // For information about lifestyle configurations, see Step 2.1: (Optional) 84504 // Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html). 84505 LifecycleConfigName *string `type:"string"` 84506 84507 // The name of the notebook instance to update. 84508 // 84509 // NotebookInstanceName is a required field 84510 NotebookInstanceName *string `type:"string" required:"true"` 84511 84512 // The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can 84513 // assume to access the notebook instance. For more information, see Amazon 84514 // SageMaker Roles (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html). 84515 // 84516 // To be able to pass this role to Amazon SageMaker, the caller of this API 84517 // must have the iam:PassRole permission. 84518 RoleArn *string `min:"20" type:"string"` 84519 84520 // Whether root access is enabled or disabled for users of the notebook instance. 84521 // The default value is Enabled. 84522 // 84523 // If you set this to Disabled, users don't have root access on the notebook 84524 // instance, but lifecycle configuration scripts still run with root permissions. 84525 RootAccess *string `type:"string" enum:"RootAccess"` 84526 84527 // The size, in GB, of the ML storage volume to attach to the notebook instance. 84528 // The default value is 5 GB. ML storage volumes are encrypted, so Amazon SageMaker 84529 // can't determine the amount of available free space on the volume. Because 84530 // of this, you can increase the volume size when you update a notebook instance, 84531 // but you can't decrease the volume size. If you want to decrease the size 84532 // of the ML storage volume in use, create a new notebook instance with the 84533 // desired size. 84534 VolumeSizeInGB *int64 `min:"5" type:"integer"` 84535 } 84536 84537 // String returns the string representation. 84538 // 84539 // API parameter values that are decorated as "sensitive" in the API will not 84540 // be included in the string output. The member name will be present, but the 84541 // value will be replaced with "sensitive". 84542 func (s UpdateNotebookInstanceInput) String() string { 84543 return awsutil.Prettify(s) 84544 } 84545 84546 // GoString returns the string representation. 84547 // 84548 // API parameter values that are decorated as "sensitive" in the API will not 84549 // be included in the string output. The member name will be present, but the 84550 // value will be replaced with "sensitive". 84551 func (s UpdateNotebookInstanceInput) GoString() string { 84552 return s.String() 84553 } 84554 84555 // Validate inspects the fields of the type to determine if they are valid. 84556 func (s *UpdateNotebookInstanceInput) Validate() error { 84557 invalidParams := request.ErrInvalidParams{Context: "UpdateNotebookInstanceInput"} 84558 if s.DefaultCodeRepository != nil && len(*s.DefaultCodeRepository) < 1 { 84559 invalidParams.Add(request.NewErrParamMinLen("DefaultCodeRepository", 1)) 84560 } 84561 if s.NotebookInstanceName == nil { 84562 invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName")) 84563 } 84564 if s.RoleArn != nil && len(*s.RoleArn) < 20 { 84565 invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) 84566 } 84567 if s.VolumeSizeInGB != nil && *s.VolumeSizeInGB < 5 { 84568 invalidParams.Add(request.NewErrParamMinValue("VolumeSizeInGB", 5)) 84569 } 84570 84571 if invalidParams.Len() > 0 { 84572 return invalidParams 84573 } 84574 return nil 84575 } 84576 84577 // SetAcceleratorTypes sets the AcceleratorTypes field's value. 84578 func (s *UpdateNotebookInstanceInput) SetAcceleratorTypes(v []*string) *UpdateNotebookInstanceInput { 84579 s.AcceleratorTypes = v 84580 return s 84581 } 84582 84583 // SetAdditionalCodeRepositories sets the AdditionalCodeRepositories field's value. 84584 func (s *UpdateNotebookInstanceInput) SetAdditionalCodeRepositories(v []*string) *UpdateNotebookInstanceInput { 84585 s.AdditionalCodeRepositories = v 84586 return s 84587 } 84588 84589 // SetDefaultCodeRepository sets the DefaultCodeRepository field's value. 84590 func (s *UpdateNotebookInstanceInput) SetDefaultCodeRepository(v string) *UpdateNotebookInstanceInput { 84591 s.DefaultCodeRepository = &v 84592 return s 84593 } 84594 84595 // SetDisassociateAcceleratorTypes sets the DisassociateAcceleratorTypes field's value. 84596 func (s *UpdateNotebookInstanceInput) SetDisassociateAcceleratorTypes(v bool) *UpdateNotebookInstanceInput { 84597 s.DisassociateAcceleratorTypes = &v 84598 return s 84599 } 84600 84601 // SetDisassociateAdditionalCodeRepositories sets the DisassociateAdditionalCodeRepositories field's value. 84602 func (s *UpdateNotebookInstanceInput) SetDisassociateAdditionalCodeRepositories(v bool) *UpdateNotebookInstanceInput { 84603 s.DisassociateAdditionalCodeRepositories = &v 84604 return s 84605 } 84606 84607 // SetDisassociateDefaultCodeRepository sets the DisassociateDefaultCodeRepository field's value. 84608 func (s *UpdateNotebookInstanceInput) SetDisassociateDefaultCodeRepository(v bool) *UpdateNotebookInstanceInput { 84609 s.DisassociateDefaultCodeRepository = &v 84610 return s 84611 } 84612 84613 // SetDisassociateLifecycleConfig sets the DisassociateLifecycleConfig field's value. 84614 func (s *UpdateNotebookInstanceInput) SetDisassociateLifecycleConfig(v bool) *UpdateNotebookInstanceInput { 84615 s.DisassociateLifecycleConfig = &v 84616 return s 84617 } 84618 84619 // SetInstanceType sets the InstanceType field's value. 84620 func (s *UpdateNotebookInstanceInput) SetInstanceType(v string) *UpdateNotebookInstanceInput { 84621 s.InstanceType = &v 84622 return s 84623 } 84624 84625 // SetLifecycleConfigName sets the LifecycleConfigName field's value. 84626 func (s *UpdateNotebookInstanceInput) SetLifecycleConfigName(v string) *UpdateNotebookInstanceInput { 84627 s.LifecycleConfigName = &v 84628 return s 84629 } 84630 84631 // SetNotebookInstanceName sets the NotebookInstanceName field's value. 84632 func (s *UpdateNotebookInstanceInput) SetNotebookInstanceName(v string) *UpdateNotebookInstanceInput { 84633 s.NotebookInstanceName = &v 84634 return s 84635 } 84636 84637 // SetRoleArn sets the RoleArn field's value. 84638 func (s *UpdateNotebookInstanceInput) SetRoleArn(v string) *UpdateNotebookInstanceInput { 84639 s.RoleArn = &v 84640 return s 84641 } 84642 84643 // SetRootAccess sets the RootAccess field's value. 84644 func (s *UpdateNotebookInstanceInput) SetRootAccess(v string) *UpdateNotebookInstanceInput { 84645 s.RootAccess = &v 84646 return s 84647 } 84648 84649 // SetVolumeSizeInGB sets the VolumeSizeInGB field's value. 84650 func (s *UpdateNotebookInstanceInput) SetVolumeSizeInGB(v int64) *UpdateNotebookInstanceInput { 84651 s.VolumeSizeInGB = &v 84652 return s 84653 } 84654 84655 type UpdateNotebookInstanceLifecycleConfigInput struct { 84656 _ struct{} `type:"structure"` 84657 84658 // The name of the lifecycle configuration. 84659 // 84660 // NotebookInstanceLifecycleConfigName is a required field 84661 NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"` 84662 84663 // The shell script that runs only once, when you create a notebook instance. 84664 // The shell script must be a base64-encoded string. 84665 OnCreate []*NotebookInstanceLifecycleHook `type:"list"` 84666 84667 // The shell script that runs every time you start a notebook instance, including 84668 // when you create the notebook instance. The shell script must be a base64-encoded 84669 // string. 84670 OnStart []*NotebookInstanceLifecycleHook `type:"list"` 84671 } 84672 84673 // String returns the string representation. 84674 // 84675 // API parameter values that are decorated as "sensitive" in the API will not 84676 // be included in the string output. The member name will be present, but the 84677 // value will be replaced with "sensitive". 84678 func (s UpdateNotebookInstanceLifecycleConfigInput) String() string { 84679 return awsutil.Prettify(s) 84680 } 84681 84682 // GoString returns the string representation. 84683 // 84684 // API parameter values that are decorated as "sensitive" in the API will not 84685 // be included in the string output. The member name will be present, but the 84686 // value will be replaced with "sensitive". 84687 func (s UpdateNotebookInstanceLifecycleConfigInput) GoString() string { 84688 return s.String() 84689 } 84690 84691 // Validate inspects the fields of the type to determine if they are valid. 84692 func (s *UpdateNotebookInstanceLifecycleConfigInput) Validate() error { 84693 invalidParams := request.ErrInvalidParams{Context: "UpdateNotebookInstanceLifecycleConfigInput"} 84694 if s.NotebookInstanceLifecycleConfigName == nil { 84695 invalidParams.Add(request.NewErrParamRequired("NotebookInstanceLifecycleConfigName")) 84696 } 84697 if s.OnCreate != nil { 84698 for i, v := range s.OnCreate { 84699 if v == nil { 84700 continue 84701 } 84702 if err := v.Validate(); err != nil { 84703 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OnCreate", i), err.(request.ErrInvalidParams)) 84704 } 84705 } 84706 } 84707 if s.OnStart != nil { 84708 for i, v := range s.OnStart { 84709 if v == nil { 84710 continue 84711 } 84712 if err := v.Validate(); err != nil { 84713 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OnStart", i), err.(request.ErrInvalidParams)) 84714 } 84715 } 84716 } 84717 84718 if invalidParams.Len() > 0 { 84719 return invalidParams 84720 } 84721 return nil 84722 } 84723 84724 // SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value. 84725 func (s *UpdateNotebookInstanceLifecycleConfigInput) SetNotebookInstanceLifecycleConfigName(v string) *UpdateNotebookInstanceLifecycleConfigInput { 84726 s.NotebookInstanceLifecycleConfigName = &v 84727 return s 84728 } 84729 84730 // SetOnCreate sets the OnCreate field's value. 84731 func (s *UpdateNotebookInstanceLifecycleConfigInput) SetOnCreate(v []*NotebookInstanceLifecycleHook) *UpdateNotebookInstanceLifecycleConfigInput { 84732 s.OnCreate = v 84733 return s 84734 } 84735 84736 // SetOnStart sets the OnStart field's value. 84737 func (s *UpdateNotebookInstanceLifecycleConfigInput) SetOnStart(v []*NotebookInstanceLifecycleHook) *UpdateNotebookInstanceLifecycleConfigInput { 84738 s.OnStart = v 84739 return s 84740 } 84741 84742 type UpdateNotebookInstanceLifecycleConfigOutput struct { 84743 _ struct{} `type:"structure"` 84744 } 84745 84746 // String returns the string representation. 84747 // 84748 // API parameter values that are decorated as "sensitive" in the API will not 84749 // be included in the string output. The member name will be present, but the 84750 // value will be replaced with "sensitive". 84751 func (s UpdateNotebookInstanceLifecycleConfigOutput) String() string { 84752 return awsutil.Prettify(s) 84753 } 84754 84755 // GoString returns the string representation. 84756 // 84757 // API parameter values that are decorated as "sensitive" in the API will not 84758 // be included in the string output. The member name will be present, but the 84759 // value will be replaced with "sensitive". 84760 func (s UpdateNotebookInstanceLifecycleConfigOutput) GoString() string { 84761 return s.String() 84762 } 84763 84764 type UpdateNotebookInstanceOutput struct { 84765 _ struct{} `type:"structure"` 84766 } 84767 84768 // String returns the string representation. 84769 // 84770 // API parameter values that are decorated as "sensitive" in the API will not 84771 // be included in the string output. The member name will be present, but the 84772 // value will be replaced with "sensitive". 84773 func (s UpdateNotebookInstanceOutput) String() string { 84774 return awsutil.Prettify(s) 84775 } 84776 84777 // GoString returns the string representation. 84778 // 84779 // API parameter values that are decorated as "sensitive" in the API will not 84780 // be included in the string output. The member name will be present, but the 84781 // value will be replaced with "sensitive". 84782 func (s UpdateNotebookInstanceOutput) GoString() string { 84783 return s.String() 84784 } 84785 84786 type UpdatePipelineExecutionInput struct { 84787 _ struct{} `type:"structure"` 84788 84789 // The Amazon Resource Name (ARN) of the pipeline execution. 84790 // 84791 // PipelineExecutionArn is a required field 84792 PipelineExecutionArn *string `type:"string" required:"true"` 84793 84794 // The description of the pipeline execution. 84795 PipelineExecutionDescription *string `type:"string"` 84796 84797 // The display name of the pipeline execution. 84798 PipelineExecutionDisplayName *string `min:"1" type:"string"` 84799 } 84800 84801 // String returns the string representation. 84802 // 84803 // API parameter values that are decorated as "sensitive" in the API will not 84804 // be included in the string output. The member name will be present, but the 84805 // value will be replaced with "sensitive". 84806 func (s UpdatePipelineExecutionInput) String() string { 84807 return awsutil.Prettify(s) 84808 } 84809 84810 // GoString returns the string representation. 84811 // 84812 // API parameter values that are decorated as "sensitive" in the API will not 84813 // be included in the string output. The member name will be present, but the 84814 // value will be replaced with "sensitive". 84815 func (s UpdatePipelineExecutionInput) GoString() string { 84816 return s.String() 84817 } 84818 84819 // Validate inspects the fields of the type to determine if they are valid. 84820 func (s *UpdatePipelineExecutionInput) Validate() error { 84821 invalidParams := request.ErrInvalidParams{Context: "UpdatePipelineExecutionInput"} 84822 if s.PipelineExecutionArn == nil { 84823 invalidParams.Add(request.NewErrParamRequired("PipelineExecutionArn")) 84824 } 84825 if s.PipelineExecutionDisplayName != nil && len(*s.PipelineExecutionDisplayName) < 1 { 84826 invalidParams.Add(request.NewErrParamMinLen("PipelineExecutionDisplayName", 1)) 84827 } 84828 84829 if invalidParams.Len() > 0 { 84830 return invalidParams 84831 } 84832 return nil 84833 } 84834 84835 // SetPipelineExecutionArn sets the PipelineExecutionArn field's value. 84836 func (s *UpdatePipelineExecutionInput) SetPipelineExecutionArn(v string) *UpdatePipelineExecutionInput { 84837 s.PipelineExecutionArn = &v 84838 return s 84839 } 84840 84841 // SetPipelineExecutionDescription sets the PipelineExecutionDescription field's value. 84842 func (s *UpdatePipelineExecutionInput) SetPipelineExecutionDescription(v string) *UpdatePipelineExecutionInput { 84843 s.PipelineExecutionDescription = &v 84844 return s 84845 } 84846 84847 // SetPipelineExecutionDisplayName sets the PipelineExecutionDisplayName field's value. 84848 func (s *UpdatePipelineExecutionInput) SetPipelineExecutionDisplayName(v string) *UpdatePipelineExecutionInput { 84849 s.PipelineExecutionDisplayName = &v 84850 return s 84851 } 84852 84853 type UpdatePipelineExecutionOutput struct { 84854 _ struct{} `type:"structure"` 84855 84856 // The Amazon Resource Name (ARN) of the updated pipeline execution. 84857 PipelineExecutionArn *string `type:"string"` 84858 } 84859 84860 // String returns the string representation. 84861 // 84862 // API parameter values that are decorated as "sensitive" in the API will not 84863 // be included in the string output. The member name will be present, but the 84864 // value will be replaced with "sensitive". 84865 func (s UpdatePipelineExecutionOutput) String() string { 84866 return awsutil.Prettify(s) 84867 } 84868 84869 // GoString returns the string representation. 84870 // 84871 // API parameter values that are decorated as "sensitive" in the API will not 84872 // be included in the string output. The member name will be present, but the 84873 // value will be replaced with "sensitive". 84874 func (s UpdatePipelineExecutionOutput) GoString() string { 84875 return s.String() 84876 } 84877 84878 // SetPipelineExecutionArn sets the PipelineExecutionArn field's value. 84879 func (s *UpdatePipelineExecutionOutput) SetPipelineExecutionArn(v string) *UpdatePipelineExecutionOutput { 84880 s.PipelineExecutionArn = &v 84881 return s 84882 } 84883 84884 type UpdatePipelineInput struct { 84885 _ struct{} `type:"structure"` 84886 84887 // The JSON pipeline definition. 84888 PipelineDefinition *string `min:"1" type:"string"` 84889 84890 // The description of the pipeline. 84891 PipelineDescription *string `type:"string"` 84892 84893 // The display name of the pipeline. 84894 PipelineDisplayName *string `min:"1" type:"string"` 84895 84896 // The name of the pipeline to update. 84897 // 84898 // PipelineName is a required field 84899 PipelineName *string `min:"1" type:"string" required:"true"` 84900 84901 // The Amazon Resource Name (ARN) that the pipeline uses to execute. 84902 RoleArn *string `min:"20" type:"string"` 84903 } 84904 84905 // String returns the string representation. 84906 // 84907 // API parameter values that are decorated as "sensitive" in the API will not 84908 // be included in the string output. The member name will be present, but the 84909 // value will be replaced with "sensitive". 84910 func (s UpdatePipelineInput) String() string { 84911 return awsutil.Prettify(s) 84912 } 84913 84914 // GoString returns the string representation. 84915 // 84916 // API parameter values that are decorated as "sensitive" in the API will not 84917 // be included in the string output. The member name will be present, but the 84918 // value will be replaced with "sensitive". 84919 func (s UpdatePipelineInput) GoString() string { 84920 return s.String() 84921 } 84922 84923 // Validate inspects the fields of the type to determine if they are valid. 84924 func (s *UpdatePipelineInput) Validate() error { 84925 invalidParams := request.ErrInvalidParams{Context: "UpdatePipelineInput"} 84926 if s.PipelineDefinition != nil && len(*s.PipelineDefinition) < 1 { 84927 invalidParams.Add(request.NewErrParamMinLen("PipelineDefinition", 1)) 84928 } 84929 if s.PipelineDisplayName != nil && len(*s.PipelineDisplayName) < 1 { 84930 invalidParams.Add(request.NewErrParamMinLen("PipelineDisplayName", 1)) 84931 } 84932 if s.PipelineName == nil { 84933 invalidParams.Add(request.NewErrParamRequired("PipelineName")) 84934 } 84935 if s.PipelineName != nil && len(*s.PipelineName) < 1 { 84936 invalidParams.Add(request.NewErrParamMinLen("PipelineName", 1)) 84937 } 84938 if s.RoleArn != nil && len(*s.RoleArn) < 20 { 84939 invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) 84940 } 84941 84942 if invalidParams.Len() > 0 { 84943 return invalidParams 84944 } 84945 return nil 84946 } 84947 84948 // SetPipelineDefinition sets the PipelineDefinition field's value. 84949 func (s *UpdatePipelineInput) SetPipelineDefinition(v string) *UpdatePipelineInput { 84950 s.PipelineDefinition = &v 84951 return s 84952 } 84953 84954 // SetPipelineDescription sets the PipelineDescription field's value. 84955 func (s *UpdatePipelineInput) SetPipelineDescription(v string) *UpdatePipelineInput { 84956 s.PipelineDescription = &v 84957 return s 84958 } 84959 84960 // SetPipelineDisplayName sets the PipelineDisplayName field's value. 84961 func (s *UpdatePipelineInput) SetPipelineDisplayName(v string) *UpdatePipelineInput { 84962 s.PipelineDisplayName = &v 84963 return s 84964 } 84965 84966 // SetPipelineName sets the PipelineName field's value. 84967 func (s *UpdatePipelineInput) SetPipelineName(v string) *UpdatePipelineInput { 84968 s.PipelineName = &v 84969 return s 84970 } 84971 84972 // SetRoleArn sets the RoleArn field's value. 84973 func (s *UpdatePipelineInput) SetRoleArn(v string) *UpdatePipelineInput { 84974 s.RoleArn = &v 84975 return s 84976 } 84977 84978 type UpdatePipelineOutput struct { 84979 _ struct{} `type:"structure"` 84980 84981 // The Amazon Resource Name (ARN) of the updated pipeline. 84982 PipelineArn *string `type:"string"` 84983 } 84984 84985 // String returns the string representation. 84986 // 84987 // API parameter values that are decorated as "sensitive" in the API will not 84988 // be included in the string output. The member name will be present, but the 84989 // value will be replaced with "sensitive". 84990 func (s UpdatePipelineOutput) String() string { 84991 return awsutil.Prettify(s) 84992 } 84993 84994 // GoString returns the string representation. 84995 // 84996 // API parameter values that are decorated as "sensitive" in the API will not 84997 // be included in the string output. The member name will be present, but the 84998 // value will be replaced with "sensitive". 84999 func (s UpdatePipelineOutput) GoString() string { 85000 return s.String() 85001 } 85002 85003 // SetPipelineArn sets the PipelineArn field's value. 85004 func (s *UpdatePipelineOutput) SetPipelineArn(v string) *UpdatePipelineOutput { 85005 s.PipelineArn = &v 85006 return s 85007 } 85008 85009 type UpdateTrainingJobInput struct { 85010 _ struct{} `type:"structure"` 85011 85012 // Configuration information for Debugger system monitoring, framework profiling, 85013 // and storage paths. 85014 ProfilerConfig *ProfilerConfigForUpdate `type:"structure"` 85015 85016 // Configuration information for Debugger rules for profiling system and framework 85017 // metrics. 85018 ProfilerRuleConfigurations []*ProfilerRuleConfiguration `type:"list"` 85019 85020 // The name of a training job to update the Debugger profiling configuration. 85021 // 85022 // TrainingJobName is a required field 85023 TrainingJobName *string `min:"1" type:"string" required:"true"` 85024 } 85025 85026 // String returns the string representation. 85027 // 85028 // API parameter values that are decorated as "sensitive" in the API will not 85029 // be included in the string output. The member name will be present, but the 85030 // value will be replaced with "sensitive". 85031 func (s UpdateTrainingJobInput) String() string { 85032 return awsutil.Prettify(s) 85033 } 85034 85035 // GoString returns the string representation. 85036 // 85037 // API parameter values that are decorated as "sensitive" in the API will not 85038 // be included in the string output. The member name will be present, but the 85039 // value will be replaced with "sensitive". 85040 func (s UpdateTrainingJobInput) GoString() string { 85041 return s.String() 85042 } 85043 85044 // Validate inspects the fields of the type to determine if they are valid. 85045 func (s *UpdateTrainingJobInput) Validate() error { 85046 invalidParams := request.ErrInvalidParams{Context: "UpdateTrainingJobInput"} 85047 if s.TrainingJobName == nil { 85048 invalidParams.Add(request.NewErrParamRequired("TrainingJobName")) 85049 } 85050 if s.TrainingJobName != nil && len(*s.TrainingJobName) < 1 { 85051 invalidParams.Add(request.NewErrParamMinLen("TrainingJobName", 1)) 85052 } 85053 if s.ProfilerRuleConfigurations != nil { 85054 for i, v := range s.ProfilerRuleConfigurations { 85055 if v == nil { 85056 continue 85057 } 85058 if err := v.Validate(); err != nil { 85059 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ProfilerRuleConfigurations", i), err.(request.ErrInvalidParams)) 85060 } 85061 } 85062 } 85063 85064 if invalidParams.Len() > 0 { 85065 return invalidParams 85066 } 85067 return nil 85068 } 85069 85070 // SetProfilerConfig sets the ProfilerConfig field's value. 85071 func (s *UpdateTrainingJobInput) SetProfilerConfig(v *ProfilerConfigForUpdate) *UpdateTrainingJobInput { 85072 s.ProfilerConfig = v 85073 return s 85074 } 85075 85076 // SetProfilerRuleConfigurations sets the ProfilerRuleConfigurations field's value. 85077 func (s *UpdateTrainingJobInput) SetProfilerRuleConfigurations(v []*ProfilerRuleConfiguration) *UpdateTrainingJobInput { 85078 s.ProfilerRuleConfigurations = v 85079 return s 85080 } 85081 85082 // SetTrainingJobName sets the TrainingJobName field's value. 85083 func (s *UpdateTrainingJobInput) SetTrainingJobName(v string) *UpdateTrainingJobInput { 85084 s.TrainingJobName = &v 85085 return s 85086 } 85087 85088 type UpdateTrainingJobOutput struct { 85089 _ struct{} `type:"structure"` 85090 85091 // The Amazon Resource Name (ARN) of the training job. 85092 // 85093 // TrainingJobArn is a required field 85094 TrainingJobArn *string `type:"string" required:"true"` 85095 } 85096 85097 // String returns the string representation. 85098 // 85099 // API parameter values that are decorated as "sensitive" in the API will not 85100 // be included in the string output. The member name will be present, but the 85101 // value will be replaced with "sensitive". 85102 func (s UpdateTrainingJobOutput) String() string { 85103 return awsutil.Prettify(s) 85104 } 85105 85106 // GoString returns the string representation. 85107 // 85108 // API parameter values that are decorated as "sensitive" in the API will not 85109 // be included in the string output. The member name will be present, but the 85110 // value will be replaced with "sensitive". 85111 func (s UpdateTrainingJobOutput) GoString() string { 85112 return s.String() 85113 } 85114 85115 // SetTrainingJobArn sets the TrainingJobArn field's value. 85116 func (s *UpdateTrainingJobOutput) SetTrainingJobArn(v string) *UpdateTrainingJobOutput { 85117 s.TrainingJobArn = &v 85118 return s 85119 } 85120 85121 type UpdateTrialComponentInput struct { 85122 _ struct{} `type:"structure"` 85123 85124 // The name of the component as displayed. The name doesn't need to be unique. 85125 // If DisplayName isn't specified, TrialComponentName is displayed. 85126 DisplayName *string `min:"1" type:"string"` 85127 85128 // When the component ended. 85129 EndTime *time.Time `type:"timestamp"` 85130 85131 // Replaces all of the component's input artifacts with the specified artifacts. 85132 InputArtifacts map[string]*TrialComponentArtifact `type:"map"` 85133 85134 // The input artifacts to remove from the component. 85135 InputArtifactsToRemove []*string `type:"list"` 85136 85137 // Replaces all of the component's output artifacts with the specified artifacts. 85138 OutputArtifacts map[string]*TrialComponentArtifact `type:"map"` 85139 85140 // The output artifacts to remove from the component. 85141 OutputArtifactsToRemove []*string `type:"list"` 85142 85143 // Replaces all of the component's hyperparameters with the specified hyperparameters. 85144 Parameters map[string]*TrialComponentParameterValue `type:"map"` 85145 85146 // The hyperparameters to remove from the component. 85147 ParametersToRemove []*string `type:"list"` 85148 85149 // When the component started. 85150 StartTime *time.Time `type:"timestamp"` 85151 85152 // The new status of the component. 85153 Status *TrialComponentStatus `type:"structure"` 85154 85155 // The name of the component to update. 85156 // 85157 // TrialComponentName is a required field 85158 TrialComponentName *string `min:"1" type:"string" required:"true"` 85159 } 85160 85161 // String returns the string representation. 85162 // 85163 // API parameter values that are decorated as "sensitive" in the API will not 85164 // be included in the string output. The member name will be present, but the 85165 // value will be replaced with "sensitive". 85166 func (s UpdateTrialComponentInput) String() string { 85167 return awsutil.Prettify(s) 85168 } 85169 85170 // GoString returns the string representation. 85171 // 85172 // API parameter values that are decorated as "sensitive" in the API will not 85173 // be included in the string output. The member name will be present, but the 85174 // value will be replaced with "sensitive". 85175 func (s UpdateTrialComponentInput) GoString() string { 85176 return s.String() 85177 } 85178 85179 // Validate inspects the fields of the type to determine if they are valid. 85180 func (s *UpdateTrialComponentInput) Validate() error { 85181 invalidParams := request.ErrInvalidParams{Context: "UpdateTrialComponentInput"} 85182 if s.DisplayName != nil && len(*s.DisplayName) < 1 { 85183 invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1)) 85184 } 85185 if s.TrialComponentName == nil { 85186 invalidParams.Add(request.NewErrParamRequired("TrialComponentName")) 85187 } 85188 if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 { 85189 invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1)) 85190 } 85191 if s.InputArtifacts != nil { 85192 for i, v := range s.InputArtifacts { 85193 if v == nil { 85194 continue 85195 } 85196 if err := v.Validate(); err != nil { 85197 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputArtifacts", i), err.(request.ErrInvalidParams)) 85198 } 85199 } 85200 } 85201 if s.OutputArtifacts != nil { 85202 for i, v := range s.OutputArtifacts { 85203 if v == nil { 85204 continue 85205 } 85206 if err := v.Validate(); err != nil { 85207 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OutputArtifacts", i), err.(request.ErrInvalidParams)) 85208 } 85209 } 85210 } 85211 85212 if invalidParams.Len() > 0 { 85213 return invalidParams 85214 } 85215 return nil 85216 } 85217 85218 // SetDisplayName sets the DisplayName field's value. 85219 func (s *UpdateTrialComponentInput) SetDisplayName(v string) *UpdateTrialComponentInput { 85220 s.DisplayName = &v 85221 return s 85222 } 85223 85224 // SetEndTime sets the EndTime field's value. 85225 func (s *UpdateTrialComponentInput) SetEndTime(v time.Time) *UpdateTrialComponentInput { 85226 s.EndTime = &v 85227 return s 85228 } 85229 85230 // SetInputArtifacts sets the InputArtifacts field's value. 85231 func (s *UpdateTrialComponentInput) SetInputArtifacts(v map[string]*TrialComponentArtifact) *UpdateTrialComponentInput { 85232 s.InputArtifacts = v 85233 return s 85234 } 85235 85236 // SetInputArtifactsToRemove sets the InputArtifactsToRemove field's value. 85237 func (s *UpdateTrialComponentInput) SetInputArtifactsToRemove(v []*string) *UpdateTrialComponentInput { 85238 s.InputArtifactsToRemove = v 85239 return s 85240 } 85241 85242 // SetOutputArtifacts sets the OutputArtifacts field's value. 85243 func (s *UpdateTrialComponentInput) SetOutputArtifacts(v map[string]*TrialComponentArtifact) *UpdateTrialComponentInput { 85244 s.OutputArtifacts = v 85245 return s 85246 } 85247 85248 // SetOutputArtifactsToRemove sets the OutputArtifactsToRemove field's value. 85249 func (s *UpdateTrialComponentInput) SetOutputArtifactsToRemove(v []*string) *UpdateTrialComponentInput { 85250 s.OutputArtifactsToRemove = v 85251 return s 85252 } 85253 85254 // SetParameters sets the Parameters field's value. 85255 func (s *UpdateTrialComponentInput) SetParameters(v map[string]*TrialComponentParameterValue) *UpdateTrialComponentInput { 85256 s.Parameters = v 85257 return s 85258 } 85259 85260 // SetParametersToRemove sets the ParametersToRemove field's value. 85261 func (s *UpdateTrialComponentInput) SetParametersToRemove(v []*string) *UpdateTrialComponentInput { 85262 s.ParametersToRemove = v 85263 return s 85264 } 85265 85266 // SetStartTime sets the StartTime field's value. 85267 func (s *UpdateTrialComponentInput) SetStartTime(v time.Time) *UpdateTrialComponentInput { 85268 s.StartTime = &v 85269 return s 85270 } 85271 85272 // SetStatus sets the Status field's value. 85273 func (s *UpdateTrialComponentInput) SetStatus(v *TrialComponentStatus) *UpdateTrialComponentInput { 85274 s.Status = v 85275 return s 85276 } 85277 85278 // SetTrialComponentName sets the TrialComponentName field's value. 85279 func (s *UpdateTrialComponentInput) SetTrialComponentName(v string) *UpdateTrialComponentInput { 85280 s.TrialComponentName = &v 85281 return s 85282 } 85283 85284 type UpdateTrialComponentOutput struct { 85285 _ struct{} `type:"structure"` 85286 85287 // The Amazon Resource Name (ARN) of the trial component. 85288 TrialComponentArn *string `type:"string"` 85289 } 85290 85291 // String returns the string representation. 85292 // 85293 // API parameter values that are decorated as "sensitive" in the API will not 85294 // be included in the string output. The member name will be present, but the 85295 // value will be replaced with "sensitive". 85296 func (s UpdateTrialComponentOutput) String() string { 85297 return awsutil.Prettify(s) 85298 } 85299 85300 // GoString returns the string representation. 85301 // 85302 // API parameter values that are decorated as "sensitive" in the API will not 85303 // be included in the string output. The member name will be present, but the 85304 // value will be replaced with "sensitive". 85305 func (s UpdateTrialComponentOutput) GoString() string { 85306 return s.String() 85307 } 85308 85309 // SetTrialComponentArn sets the TrialComponentArn field's value. 85310 func (s *UpdateTrialComponentOutput) SetTrialComponentArn(v string) *UpdateTrialComponentOutput { 85311 s.TrialComponentArn = &v 85312 return s 85313 } 85314 85315 type UpdateTrialInput struct { 85316 _ struct{} `type:"structure"` 85317 85318 // The name of the trial as displayed. The name doesn't need to be unique. If 85319 // DisplayName isn't specified, TrialName is displayed. 85320 DisplayName *string `min:"1" type:"string"` 85321 85322 // The name of the trial to update. 85323 // 85324 // TrialName is a required field 85325 TrialName *string `min:"1" type:"string" required:"true"` 85326 } 85327 85328 // String returns the string representation. 85329 // 85330 // API parameter values that are decorated as "sensitive" in the API will not 85331 // be included in the string output. The member name will be present, but the 85332 // value will be replaced with "sensitive". 85333 func (s UpdateTrialInput) String() string { 85334 return awsutil.Prettify(s) 85335 } 85336 85337 // GoString returns the string representation. 85338 // 85339 // API parameter values that are decorated as "sensitive" in the API will not 85340 // be included in the string output. The member name will be present, but the 85341 // value will be replaced with "sensitive". 85342 func (s UpdateTrialInput) GoString() string { 85343 return s.String() 85344 } 85345 85346 // Validate inspects the fields of the type to determine if they are valid. 85347 func (s *UpdateTrialInput) Validate() error { 85348 invalidParams := request.ErrInvalidParams{Context: "UpdateTrialInput"} 85349 if s.DisplayName != nil && len(*s.DisplayName) < 1 { 85350 invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1)) 85351 } 85352 if s.TrialName == nil { 85353 invalidParams.Add(request.NewErrParamRequired("TrialName")) 85354 } 85355 if s.TrialName != nil && len(*s.TrialName) < 1 { 85356 invalidParams.Add(request.NewErrParamMinLen("TrialName", 1)) 85357 } 85358 85359 if invalidParams.Len() > 0 { 85360 return invalidParams 85361 } 85362 return nil 85363 } 85364 85365 // SetDisplayName sets the DisplayName field's value. 85366 func (s *UpdateTrialInput) SetDisplayName(v string) *UpdateTrialInput { 85367 s.DisplayName = &v 85368 return s 85369 } 85370 85371 // SetTrialName sets the TrialName field's value. 85372 func (s *UpdateTrialInput) SetTrialName(v string) *UpdateTrialInput { 85373 s.TrialName = &v 85374 return s 85375 } 85376 85377 type UpdateTrialOutput struct { 85378 _ struct{} `type:"structure"` 85379 85380 // The Amazon Resource Name (ARN) of the trial. 85381 TrialArn *string `type:"string"` 85382 } 85383 85384 // String returns the string representation. 85385 // 85386 // API parameter values that are decorated as "sensitive" in the API will not 85387 // be included in the string output. The member name will be present, but the 85388 // value will be replaced with "sensitive". 85389 func (s UpdateTrialOutput) String() string { 85390 return awsutil.Prettify(s) 85391 } 85392 85393 // GoString returns the string representation. 85394 // 85395 // API parameter values that are decorated as "sensitive" in the API will not 85396 // be included in the string output. The member name will be present, but the 85397 // value will be replaced with "sensitive". 85398 func (s UpdateTrialOutput) GoString() string { 85399 return s.String() 85400 } 85401 85402 // SetTrialArn sets the TrialArn field's value. 85403 func (s *UpdateTrialOutput) SetTrialArn(v string) *UpdateTrialOutput { 85404 s.TrialArn = &v 85405 return s 85406 } 85407 85408 type UpdateUserProfileInput struct { 85409 _ struct{} `type:"structure"` 85410 85411 // The domain ID. 85412 // 85413 // DomainId is a required field 85414 DomainId *string `type:"string" required:"true"` 85415 85416 // The user profile name. 85417 // 85418 // UserProfileName is a required field 85419 UserProfileName *string `type:"string" required:"true"` 85420 85421 // A collection of settings. 85422 UserSettings *UserSettings `type:"structure"` 85423 } 85424 85425 // String returns the string representation. 85426 // 85427 // API parameter values that are decorated as "sensitive" in the API will not 85428 // be included in the string output. The member name will be present, but the 85429 // value will be replaced with "sensitive". 85430 func (s UpdateUserProfileInput) String() string { 85431 return awsutil.Prettify(s) 85432 } 85433 85434 // GoString returns the string representation. 85435 // 85436 // API parameter values that are decorated as "sensitive" in the API will not 85437 // be included in the string output. The member name will be present, but the 85438 // value will be replaced with "sensitive". 85439 func (s UpdateUserProfileInput) GoString() string { 85440 return s.String() 85441 } 85442 85443 // Validate inspects the fields of the type to determine if they are valid. 85444 func (s *UpdateUserProfileInput) Validate() error { 85445 invalidParams := request.ErrInvalidParams{Context: "UpdateUserProfileInput"} 85446 if s.DomainId == nil { 85447 invalidParams.Add(request.NewErrParamRequired("DomainId")) 85448 } 85449 if s.UserProfileName == nil { 85450 invalidParams.Add(request.NewErrParamRequired("UserProfileName")) 85451 } 85452 if s.UserSettings != nil { 85453 if err := s.UserSettings.Validate(); err != nil { 85454 invalidParams.AddNested("UserSettings", err.(request.ErrInvalidParams)) 85455 } 85456 } 85457 85458 if invalidParams.Len() > 0 { 85459 return invalidParams 85460 } 85461 return nil 85462 } 85463 85464 // SetDomainId sets the DomainId field's value. 85465 func (s *UpdateUserProfileInput) SetDomainId(v string) *UpdateUserProfileInput { 85466 s.DomainId = &v 85467 return s 85468 } 85469 85470 // SetUserProfileName sets the UserProfileName field's value. 85471 func (s *UpdateUserProfileInput) SetUserProfileName(v string) *UpdateUserProfileInput { 85472 s.UserProfileName = &v 85473 return s 85474 } 85475 85476 // SetUserSettings sets the UserSettings field's value. 85477 func (s *UpdateUserProfileInput) SetUserSettings(v *UserSettings) *UpdateUserProfileInput { 85478 s.UserSettings = v 85479 return s 85480 } 85481 85482 type UpdateUserProfileOutput struct { 85483 _ struct{} `type:"structure"` 85484 85485 // The user profile Amazon Resource Name (ARN). 85486 UserProfileArn *string `type:"string"` 85487 } 85488 85489 // String returns the string representation. 85490 // 85491 // API parameter values that are decorated as "sensitive" in the API will not 85492 // be included in the string output. The member name will be present, but the 85493 // value will be replaced with "sensitive". 85494 func (s UpdateUserProfileOutput) String() string { 85495 return awsutil.Prettify(s) 85496 } 85497 85498 // GoString returns the string representation. 85499 // 85500 // API parameter values that are decorated as "sensitive" in the API will not 85501 // be included in the string output. The member name will be present, but the 85502 // value will be replaced with "sensitive". 85503 func (s UpdateUserProfileOutput) GoString() string { 85504 return s.String() 85505 } 85506 85507 // SetUserProfileArn sets the UserProfileArn field's value. 85508 func (s *UpdateUserProfileOutput) SetUserProfileArn(v string) *UpdateUserProfileOutput { 85509 s.UserProfileArn = &v 85510 return s 85511 } 85512 85513 type UpdateWorkforceInput struct { 85514 _ struct{} `type:"structure"` 85515 85516 // Use this parameter to update your OIDC Identity Provider (IdP) configuration 85517 // for a workforce made using your own IdP. 85518 OidcConfig *OidcConfig `type:"structure"` 85519 85520 // A list of one to ten worker IP address ranges (CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html)) 85521 // that can be used to access tasks assigned to this workforce. 85522 // 85523 // Maximum: Ten CIDR values 85524 SourceIpConfig *SourceIpConfig `type:"structure"` 85525 85526 // The name of the private workforce that you want to update. You can find your 85527 // workforce name by using the operation. 85528 // 85529 // WorkforceName is a required field 85530 WorkforceName *string `min:"1" type:"string" required:"true"` 85531 } 85532 85533 // String returns the string representation. 85534 // 85535 // API parameter values that are decorated as "sensitive" in the API will not 85536 // be included in the string output. The member name will be present, but the 85537 // value will be replaced with "sensitive". 85538 func (s UpdateWorkforceInput) String() string { 85539 return awsutil.Prettify(s) 85540 } 85541 85542 // GoString returns the string representation. 85543 // 85544 // API parameter values that are decorated as "sensitive" in the API will not 85545 // be included in the string output. The member name will be present, but the 85546 // value will be replaced with "sensitive". 85547 func (s UpdateWorkforceInput) GoString() string { 85548 return s.String() 85549 } 85550 85551 // Validate inspects the fields of the type to determine if they are valid. 85552 func (s *UpdateWorkforceInput) Validate() error { 85553 invalidParams := request.ErrInvalidParams{Context: "UpdateWorkforceInput"} 85554 if s.WorkforceName == nil { 85555 invalidParams.Add(request.NewErrParamRequired("WorkforceName")) 85556 } 85557 if s.WorkforceName != nil && len(*s.WorkforceName) < 1 { 85558 invalidParams.Add(request.NewErrParamMinLen("WorkforceName", 1)) 85559 } 85560 if s.OidcConfig != nil { 85561 if err := s.OidcConfig.Validate(); err != nil { 85562 invalidParams.AddNested("OidcConfig", err.(request.ErrInvalidParams)) 85563 } 85564 } 85565 if s.SourceIpConfig != nil { 85566 if err := s.SourceIpConfig.Validate(); err != nil { 85567 invalidParams.AddNested("SourceIpConfig", err.(request.ErrInvalidParams)) 85568 } 85569 } 85570 85571 if invalidParams.Len() > 0 { 85572 return invalidParams 85573 } 85574 return nil 85575 } 85576 85577 // SetOidcConfig sets the OidcConfig field's value. 85578 func (s *UpdateWorkforceInput) SetOidcConfig(v *OidcConfig) *UpdateWorkforceInput { 85579 s.OidcConfig = v 85580 return s 85581 } 85582 85583 // SetSourceIpConfig sets the SourceIpConfig field's value. 85584 func (s *UpdateWorkforceInput) SetSourceIpConfig(v *SourceIpConfig) *UpdateWorkforceInput { 85585 s.SourceIpConfig = v 85586 return s 85587 } 85588 85589 // SetWorkforceName sets the WorkforceName field's value. 85590 func (s *UpdateWorkforceInput) SetWorkforceName(v string) *UpdateWorkforceInput { 85591 s.WorkforceName = &v 85592 return s 85593 } 85594 85595 type UpdateWorkforceOutput struct { 85596 _ struct{} `type:"structure"` 85597 85598 // A single private workforce. You can create one private work force in each 85599 // Amazon Web Services Region. By default, any workforce-related API operation 85600 // used in a specific region will apply to the workforce created in that region. 85601 // To learn how to create a private workforce, see Create a Private Workforce 85602 // (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-create-private.html). 85603 // 85604 // Workforce is a required field 85605 Workforce *Workforce `type:"structure" required:"true"` 85606 } 85607 85608 // String returns the string representation. 85609 // 85610 // API parameter values that are decorated as "sensitive" in the API will not 85611 // be included in the string output. The member name will be present, but the 85612 // value will be replaced with "sensitive". 85613 func (s UpdateWorkforceOutput) String() string { 85614 return awsutil.Prettify(s) 85615 } 85616 85617 // GoString returns the string representation. 85618 // 85619 // API parameter values that are decorated as "sensitive" in the API will not 85620 // be included in the string output. The member name will be present, but the 85621 // value will be replaced with "sensitive". 85622 func (s UpdateWorkforceOutput) GoString() string { 85623 return s.String() 85624 } 85625 85626 // SetWorkforce sets the Workforce field's value. 85627 func (s *UpdateWorkforceOutput) SetWorkforce(v *Workforce) *UpdateWorkforceOutput { 85628 s.Workforce = v 85629 return s 85630 } 85631 85632 type UpdateWorkteamInput struct { 85633 _ struct{} `type:"structure"` 85634 85635 // An updated description for the work team. 85636 Description *string `min:"1" type:"string"` 85637 85638 // A list of MemberDefinition objects that contains objects that identify the 85639 // workers that make up the work team. 85640 // 85641 // Workforces can be created using Amazon Cognito or your own OIDC Identity 85642 // Provider (IdP). For private workforces created using Amazon Cognito use CognitoMemberDefinition. 85643 // For workforces created using your own OIDC identity provider (IdP) use OidcMemberDefinition. 85644 // You should not provide input for both of these parameters in a single request. 85645 // 85646 // For workforces created using Amazon Cognito, private work teams correspond 85647 // to Amazon Cognito user groups within the user pool used to create a workforce. 85648 // All of the CognitoMemberDefinition objects that make up the member definition 85649 // must have the same ClientId and UserPool values. To add a Amazon Cognito 85650 // user group to an existing worker pool, see Adding groups to a User Pool. 85651 // For more information about user pools, see Amazon Cognito User Pools (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html). 85652 // 85653 // For workforces created using your own OIDC IdP, specify the user groups that 85654 // you want to include in your private work team in OidcMemberDefinition by 85655 // listing those groups in Groups. Be aware that user groups that are already 85656 // in the work team must also be listed in Groups when you make this request 85657 // to remain on the work team. If you do not include these user groups, they 85658 // will no longer be associated with the work team you update. 85659 MemberDefinitions []*MemberDefinition `min:"1" type:"list"` 85660 85661 // Configures SNS topic notifications for available or expiring work items 85662 NotificationConfiguration *NotificationConfiguration `type:"structure"` 85663 85664 // The name of the work team to update. 85665 // 85666 // WorkteamName is a required field 85667 WorkteamName *string `min:"1" type:"string" required:"true"` 85668 } 85669 85670 // String returns the string representation. 85671 // 85672 // API parameter values that are decorated as "sensitive" in the API will not 85673 // be included in the string output. The member name will be present, but the 85674 // value will be replaced with "sensitive". 85675 func (s UpdateWorkteamInput) String() string { 85676 return awsutil.Prettify(s) 85677 } 85678 85679 // GoString returns the string representation. 85680 // 85681 // API parameter values that are decorated as "sensitive" in the API will not 85682 // be included in the string output. The member name will be present, but the 85683 // value will be replaced with "sensitive". 85684 func (s UpdateWorkteamInput) GoString() string { 85685 return s.String() 85686 } 85687 85688 // Validate inspects the fields of the type to determine if they are valid. 85689 func (s *UpdateWorkteamInput) Validate() error { 85690 invalidParams := request.ErrInvalidParams{Context: "UpdateWorkteamInput"} 85691 if s.Description != nil && len(*s.Description) < 1 { 85692 invalidParams.Add(request.NewErrParamMinLen("Description", 1)) 85693 } 85694 if s.MemberDefinitions != nil && len(s.MemberDefinitions) < 1 { 85695 invalidParams.Add(request.NewErrParamMinLen("MemberDefinitions", 1)) 85696 } 85697 if s.WorkteamName == nil { 85698 invalidParams.Add(request.NewErrParamRequired("WorkteamName")) 85699 } 85700 if s.WorkteamName != nil && len(*s.WorkteamName) < 1 { 85701 invalidParams.Add(request.NewErrParamMinLen("WorkteamName", 1)) 85702 } 85703 if s.MemberDefinitions != nil { 85704 for i, v := range s.MemberDefinitions { 85705 if v == nil { 85706 continue 85707 } 85708 if err := v.Validate(); err != nil { 85709 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MemberDefinitions", i), err.(request.ErrInvalidParams)) 85710 } 85711 } 85712 } 85713 85714 if invalidParams.Len() > 0 { 85715 return invalidParams 85716 } 85717 return nil 85718 } 85719 85720 // SetDescription sets the Description field's value. 85721 func (s *UpdateWorkteamInput) SetDescription(v string) *UpdateWorkteamInput { 85722 s.Description = &v 85723 return s 85724 } 85725 85726 // SetMemberDefinitions sets the MemberDefinitions field's value. 85727 func (s *UpdateWorkteamInput) SetMemberDefinitions(v []*MemberDefinition) *UpdateWorkteamInput { 85728 s.MemberDefinitions = v 85729 return s 85730 } 85731 85732 // SetNotificationConfiguration sets the NotificationConfiguration field's value. 85733 func (s *UpdateWorkteamInput) SetNotificationConfiguration(v *NotificationConfiguration) *UpdateWorkteamInput { 85734 s.NotificationConfiguration = v 85735 return s 85736 } 85737 85738 // SetWorkteamName sets the WorkteamName field's value. 85739 func (s *UpdateWorkteamInput) SetWorkteamName(v string) *UpdateWorkteamInput { 85740 s.WorkteamName = &v 85741 return s 85742 } 85743 85744 type UpdateWorkteamOutput struct { 85745 _ struct{} `type:"structure"` 85746 85747 // A Workteam object that describes the updated work team. 85748 // 85749 // Workteam is a required field 85750 Workteam *Workteam `type:"structure" required:"true"` 85751 } 85752 85753 // String returns the string representation. 85754 // 85755 // API parameter values that are decorated as "sensitive" in the API will not 85756 // be included in the string output. The member name will be present, but the 85757 // value will be replaced with "sensitive". 85758 func (s UpdateWorkteamOutput) String() string { 85759 return awsutil.Prettify(s) 85760 } 85761 85762 // GoString returns the string representation. 85763 // 85764 // API parameter values that are decorated as "sensitive" in the API will not 85765 // be included in the string output. The member name will be present, but the 85766 // value will be replaced with "sensitive". 85767 func (s UpdateWorkteamOutput) GoString() string { 85768 return s.String() 85769 } 85770 85771 // SetWorkteam sets the Workteam field's value. 85772 func (s *UpdateWorkteamOutput) SetWorkteam(v *Workteam) *UpdateWorkteamOutput { 85773 s.Workteam = v 85774 return s 85775 } 85776 85777 // Information about the user who created or modified an experiment, trial, 85778 // trial component, or project. 85779 type UserContext struct { 85780 _ struct{} `type:"structure"` 85781 85782 // The domain associated with the user. 85783 DomainId *string `type:"string"` 85784 85785 // The Amazon Resource Name (ARN) of the user's profile. 85786 UserProfileArn *string `type:"string"` 85787 85788 // The name of the user's profile. 85789 UserProfileName *string `type:"string"` 85790 } 85791 85792 // String returns the string representation. 85793 // 85794 // API parameter values that are decorated as "sensitive" in the API will not 85795 // be included in the string output. The member name will be present, but the 85796 // value will be replaced with "sensitive". 85797 func (s UserContext) String() string { 85798 return awsutil.Prettify(s) 85799 } 85800 85801 // GoString returns the string representation. 85802 // 85803 // API parameter values that are decorated as "sensitive" in the API will not 85804 // be included in the string output. The member name will be present, but the 85805 // value will be replaced with "sensitive". 85806 func (s UserContext) GoString() string { 85807 return s.String() 85808 } 85809 85810 // SetDomainId sets the DomainId field's value. 85811 func (s *UserContext) SetDomainId(v string) *UserContext { 85812 s.DomainId = &v 85813 return s 85814 } 85815 85816 // SetUserProfileArn sets the UserProfileArn field's value. 85817 func (s *UserContext) SetUserProfileArn(v string) *UserContext { 85818 s.UserProfileArn = &v 85819 return s 85820 } 85821 85822 // SetUserProfileName sets the UserProfileName field's value. 85823 func (s *UserContext) SetUserProfileName(v string) *UserContext { 85824 s.UserProfileName = &v 85825 return s 85826 } 85827 85828 // The user profile details. 85829 type UserProfileDetails struct { 85830 _ struct{} `type:"structure"` 85831 85832 // The creation time. 85833 CreationTime *time.Time `type:"timestamp"` 85834 85835 // The domain ID. 85836 DomainId *string `type:"string"` 85837 85838 // The last modified time. 85839 LastModifiedTime *time.Time `type:"timestamp"` 85840 85841 // The status. 85842 Status *string `type:"string" enum:"UserProfileStatus"` 85843 85844 // The user profile name. 85845 UserProfileName *string `type:"string"` 85846 } 85847 85848 // String returns the string representation. 85849 // 85850 // API parameter values that are decorated as "sensitive" in the API will not 85851 // be included in the string output. The member name will be present, but the 85852 // value will be replaced with "sensitive". 85853 func (s UserProfileDetails) String() string { 85854 return awsutil.Prettify(s) 85855 } 85856 85857 // GoString returns the string representation. 85858 // 85859 // API parameter values that are decorated as "sensitive" in the API will not 85860 // be included in the string output. The member name will be present, but the 85861 // value will be replaced with "sensitive". 85862 func (s UserProfileDetails) GoString() string { 85863 return s.String() 85864 } 85865 85866 // SetCreationTime sets the CreationTime field's value. 85867 func (s *UserProfileDetails) SetCreationTime(v time.Time) *UserProfileDetails { 85868 s.CreationTime = &v 85869 return s 85870 } 85871 85872 // SetDomainId sets the DomainId field's value. 85873 func (s *UserProfileDetails) SetDomainId(v string) *UserProfileDetails { 85874 s.DomainId = &v 85875 return s 85876 } 85877 85878 // SetLastModifiedTime sets the LastModifiedTime field's value. 85879 func (s *UserProfileDetails) SetLastModifiedTime(v time.Time) *UserProfileDetails { 85880 s.LastModifiedTime = &v 85881 return s 85882 } 85883 85884 // SetStatus sets the Status field's value. 85885 func (s *UserProfileDetails) SetStatus(v string) *UserProfileDetails { 85886 s.Status = &v 85887 return s 85888 } 85889 85890 // SetUserProfileName sets the UserProfileName field's value. 85891 func (s *UserProfileDetails) SetUserProfileName(v string) *UserProfileDetails { 85892 s.UserProfileName = &v 85893 return s 85894 } 85895 85896 // A collection of settings that apply to users of Amazon SageMaker Studio. 85897 // These settings are specified when the CreateUserProfile API is called, and 85898 // as DefaultUserSettings when the CreateDomain API is called. 85899 // 85900 // SecurityGroups is aggregated when specified in both calls. For all other 85901 // settings in UserSettings, the values specified in CreateUserProfile take 85902 // precedence over those specified in CreateDomain. 85903 type UserSettings struct { 85904 _ struct{} `type:"structure"` 85905 85906 // The execution role for the user. 85907 ExecutionRole *string `min:"20" type:"string"` 85908 85909 // The Jupyter server's app settings. 85910 JupyterServerAppSettings *JupyterServerAppSettings `type:"structure"` 85911 85912 // The kernel gateway app settings. 85913 KernelGatewayAppSettings *KernelGatewayAppSettings `type:"structure"` 85914 85915 // The security groups for the Amazon Virtual Private Cloud (VPC) that Studio 85916 // uses for communication. 85917 // 85918 // Optional when the CreateDomain.AppNetworkAccessType parameter is set to PublicInternetOnly. 85919 // 85920 // Required when the CreateDomain.AppNetworkAccessType parameter is set to VpcOnly. 85921 // 85922 // Amazon SageMaker adds a security group to allow NFS traffic from SageMaker 85923 // Studio. Therefore, the number of security groups that you can specify is 85924 // one less than the maximum number shown. 85925 SecurityGroups []*string `type:"list"` 85926 85927 // Specifies options for sharing SageMaker Studio notebooks. 85928 SharingSettings *SharingSettings `type:"structure"` 85929 85930 // The TensorBoard app settings. 85931 TensorBoardAppSettings *TensorBoardAppSettings `type:"structure"` 85932 } 85933 85934 // String returns the string representation. 85935 // 85936 // API parameter values that are decorated as "sensitive" in the API will not 85937 // be included in the string output. The member name will be present, but the 85938 // value will be replaced with "sensitive". 85939 func (s UserSettings) String() string { 85940 return awsutil.Prettify(s) 85941 } 85942 85943 // GoString returns the string representation. 85944 // 85945 // API parameter values that are decorated as "sensitive" in the API will not 85946 // be included in the string output. The member name will be present, but the 85947 // value will be replaced with "sensitive". 85948 func (s UserSettings) GoString() string { 85949 return s.String() 85950 } 85951 85952 // Validate inspects the fields of the type to determine if they are valid. 85953 func (s *UserSettings) Validate() error { 85954 invalidParams := request.ErrInvalidParams{Context: "UserSettings"} 85955 if s.ExecutionRole != nil && len(*s.ExecutionRole) < 20 { 85956 invalidParams.Add(request.NewErrParamMinLen("ExecutionRole", 20)) 85957 } 85958 if s.KernelGatewayAppSettings != nil { 85959 if err := s.KernelGatewayAppSettings.Validate(); err != nil { 85960 invalidParams.AddNested("KernelGatewayAppSettings", err.(request.ErrInvalidParams)) 85961 } 85962 } 85963 85964 if invalidParams.Len() > 0 { 85965 return invalidParams 85966 } 85967 return nil 85968 } 85969 85970 // SetExecutionRole sets the ExecutionRole field's value. 85971 func (s *UserSettings) SetExecutionRole(v string) *UserSettings { 85972 s.ExecutionRole = &v 85973 return s 85974 } 85975 85976 // SetJupyterServerAppSettings sets the JupyterServerAppSettings field's value. 85977 func (s *UserSettings) SetJupyterServerAppSettings(v *JupyterServerAppSettings) *UserSettings { 85978 s.JupyterServerAppSettings = v 85979 return s 85980 } 85981 85982 // SetKernelGatewayAppSettings sets the KernelGatewayAppSettings field's value. 85983 func (s *UserSettings) SetKernelGatewayAppSettings(v *KernelGatewayAppSettings) *UserSettings { 85984 s.KernelGatewayAppSettings = v 85985 return s 85986 } 85987 85988 // SetSecurityGroups sets the SecurityGroups field's value. 85989 func (s *UserSettings) SetSecurityGroups(v []*string) *UserSettings { 85990 s.SecurityGroups = v 85991 return s 85992 } 85993 85994 // SetSharingSettings sets the SharingSettings field's value. 85995 func (s *UserSettings) SetSharingSettings(v *SharingSettings) *UserSettings { 85996 s.SharingSettings = v 85997 return s 85998 } 85999 86000 // SetTensorBoardAppSettings sets the TensorBoardAppSettings field's value. 86001 func (s *UserSettings) SetTensorBoardAppSettings(v *TensorBoardAppSettings) *UserSettings { 86002 s.TensorBoardAppSettings = v 86003 return s 86004 } 86005 86006 // Specifies a production variant property type for an Endpoint. 86007 // 86008 // If you are updating an endpoint with the UpdateEndpointInput$RetainAllVariantProperties 86009 // option set to true, the VariantProperty objects listed in UpdateEndpointInput$ExcludeRetainedVariantProperties 86010 // override the existing variant properties of the endpoint. 86011 type VariantProperty struct { 86012 _ struct{} `type:"structure"` 86013 86014 // The type of variant property. The supported values are: 86015 // 86016 // * DesiredInstanceCount: Overrides the existing variant instance counts 86017 // using the ProductionVariant$InitialInstanceCount values in the CreateEndpointConfigInput$ProductionVariants. 86018 // 86019 // * DesiredWeight: Overrides the existing variant weights using the ProductionVariant$InitialVariantWeight 86020 // values in the CreateEndpointConfigInput$ProductionVariants. 86021 // 86022 // * DataCaptureConfig: (Not currently supported.) 86023 // 86024 // VariantPropertyType is a required field 86025 VariantPropertyType *string `type:"string" required:"true" enum:"VariantPropertyType"` 86026 } 86027 86028 // String returns the string representation. 86029 // 86030 // API parameter values that are decorated as "sensitive" in the API will not 86031 // be included in the string output. The member name will be present, but the 86032 // value will be replaced with "sensitive". 86033 func (s VariantProperty) String() string { 86034 return awsutil.Prettify(s) 86035 } 86036 86037 // GoString returns the string representation. 86038 // 86039 // API parameter values that are decorated as "sensitive" in the API will not 86040 // be included in the string output. The member name will be present, but the 86041 // value will be replaced with "sensitive". 86042 func (s VariantProperty) GoString() string { 86043 return s.String() 86044 } 86045 86046 // Validate inspects the fields of the type to determine if they are valid. 86047 func (s *VariantProperty) Validate() error { 86048 invalidParams := request.ErrInvalidParams{Context: "VariantProperty"} 86049 if s.VariantPropertyType == nil { 86050 invalidParams.Add(request.NewErrParamRequired("VariantPropertyType")) 86051 } 86052 86053 if invalidParams.Len() > 0 { 86054 return invalidParams 86055 } 86056 return nil 86057 } 86058 86059 // SetVariantPropertyType sets the VariantPropertyType field's value. 86060 func (s *VariantProperty) SetVariantPropertyType(v string) *VariantProperty { 86061 s.VariantPropertyType = &v 86062 return s 86063 } 86064 86065 // Specifies a VPC that your training jobs and hosted models have access to. 86066 // Control access to and from your training and model containers by configuring 86067 // the VPC. For more information, see Protect Endpoints by Using an Amazon Virtual 86068 // Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html) 86069 // and Protect Training Jobs by Using an Amazon Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html). 86070 type VpcConfig struct { 86071 _ struct{} `type:"structure"` 86072 86073 // The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security 86074 // groups for the VPC that is specified in the Subnets field. 86075 // 86076 // SecurityGroupIds is a required field 86077 SecurityGroupIds []*string `min:"1" type:"list" required:"true"` 86078 86079 // The ID of the subnets in the VPC to which you want to connect your training 86080 // job or model. For information about the availability of specific instance 86081 // types, see Supported Instance Types and Availability Zones (https://docs.aws.amazon.com/sagemaker/latest/dg/instance-types-az.html). 86082 // 86083 // Subnets is a required field 86084 Subnets []*string `min:"1" type:"list" required:"true"` 86085 } 86086 86087 // String returns the string representation. 86088 // 86089 // API parameter values that are decorated as "sensitive" in the API will not 86090 // be included in the string output. The member name will be present, but the 86091 // value will be replaced with "sensitive". 86092 func (s VpcConfig) String() string { 86093 return awsutil.Prettify(s) 86094 } 86095 86096 // GoString returns the string representation. 86097 // 86098 // API parameter values that are decorated as "sensitive" in the API will not 86099 // be included in the string output. The member name will be present, but the 86100 // value will be replaced with "sensitive". 86101 func (s VpcConfig) GoString() string { 86102 return s.String() 86103 } 86104 86105 // Validate inspects the fields of the type to determine if they are valid. 86106 func (s *VpcConfig) Validate() error { 86107 invalidParams := request.ErrInvalidParams{Context: "VpcConfig"} 86108 if s.SecurityGroupIds == nil { 86109 invalidParams.Add(request.NewErrParamRequired("SecurityGroupIds")) 86110 } 86111 if s.SecurityGroupIds != nil && len(s.SecurityGroupIds) < 1 { 86112 invalidParams.Add(request.NewErrParamMinLen("SecurityGroupIds", 1)) 86113 } 86114 if s.Subnets == nil { 86115 invalidParams.Add(request.NewErrParamRequired("Subnets")) 86116 } 86117 if s.Subnets != nil && len(s.Subnets) < 1 { 86118 invalidParams.Add(request.NewErrParamMinLen("Subnets", 1)) 86119 } 86120 86121 if invalidParams.Len() > 0 { 86122 return invalidParams 86123 } 86124 return nil 86125 } 86126 86127 // SetSecurityGroupIds sets the SecurityGroupIds field's value. 86128 func (s *VpcConfig) SetSecurityGroupIds(v []*string) *VpcConfig { 86129 s.SecurityGroupIds = v 86130 return s 86131 } 86132 86133 // SetSubnets sets the Subnets field's value. 86134 func (s *VpcConfig) SetSubnets(v []*string) *VpcConfig { 86135 s.Subnets = v 86136 return s 86137 } 86138 86139 // A single private workforce, which is automatically created when you create 86140 // your first private work team. You can create one private work force in each 86141 // Amazon Web Services Region. By default, any workforce-related API operation 86142 // used in a specific region will apply to the workforce created in that region. 86143 // To learn how to create a private workforce, see Create a Private Workforce 86144 // (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-create-private.html). 86145 type Workforce struct { 86146 _ struct{} `type:"structure"` 86147 86148 // The configuration of an Amazon Cognito workforce. A single Cognito workforce 86149 // is created using and corresponds to a single Amazon Cognito user pool (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html). 86150 CognitoConfig *CognitoConfig `type:"structure"` 86151 86152 // The date that the workforce is created. 86153 CreateDate *time.Time `type:"timestamp"` 86154 86155 // The most recent date that was used to successfully add one or more IP address 86156 // ranges (CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html)) 86157 // to a private workforce's allow list. 86158 LastUpdatedDate *time.Time `type:"timestamp"` 86159 86160 // The configuration of an OIDC Identity Provider (IdP) private workforce. 86161 OidcConfig *OidcConfigForResponse `type:"structure"` 86162 86163 // A list of one to ten IP address ranges (CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html)) 86164 // to be added to the workforce allow list. By default, a workforce isn't restricted 86165 // to specific IP addresses. 86166 SourceIpConfig *SourceIpConfig `type:"structure"` 86167 86168 // The subdomain for your OIDC Identity Provider. 86169 SubDomain *string `type:"string"` 86170 86171 // The Amazon Resource Name (ARN) of the private workforce. 86172 // 86173 // WorkforceArn is a required field 86174 WorkforceArn *string `type:"string" required:"true"` 86175 86176 // The name of the private workforce. 86177 // 86178 // WorkforceName is a required field 86179 WorkforceName *string `min:"1" type:"string" required:"true"` 86180 } 86181 86182 // String returns the string representation. 86183 // 86184 // API parameter values that are decorated as "sensitive" in the API will not 86185 // be included in the string output. The member name will be present, but the 86186 // value will be replaced with "sensitive". 86187 func (s Workforce) String() string { 86188 return awsutil.Prettify(s) 86189 } 86190 86191 // GoString returns the string representation. 86192 // 86193 // API parameter values that are decorated as "sensitive" in the API will not 86194 // be included in the string output. The member name will be present, but the 86195 // value will be replaced with "sensitive". 86196 func (s Workforce) GoString() string { 86197 return s.String() 86198 } 86199 86200 // SetCognitoConfig sets the CognitoConfig field's value. 86201 func (s *Workforce) SetCognitoConfig(v *CognitoConfig) *Workforce { 86202 s.CognitoConfig = v 86203 return s 86204 } 86205 86206 // SetCreateDate sets the CreateDate field's value. 86207 func (s *Workforce) SetCreateDate(v time.Time) *Workforce { 86208 s.CreateDate = &v 86209 return s 86210 } 86211 86212 // SetLastUpdatedDate sets the LastUpdatedDate field's value. 86213 func (s *Workforce) SetLastUpdatedDate(v time.Time) *Workforce { 86214 s.LastUpdatedDate = &v 86215 return s 86216 } 86217 86218 // SetOidcConfig sets the OidcConfig field's value. 86219 func (s *Workforce) SetOidcConfig(v *OidcConfigForResponse) *Workforce { 86220 s.OidcConfig = v 86221 return s 86222 } 86223 86224 // SetSourceIpConfig sets the SourceIpConfig field's value. 86225 func (s *Workforce) SetSourceIpConfig(v *SourceIpConfig) *Workforce { 86226 s.SourceIpConfig = v 86227 return s 86228 } 86229 86230 // SetSubDomain sets the SubDomain field's value. 86231 func (s *Workforce) SetSubDomain(v string) *Workforce { 86232 s.SubDomain = &v 86233 return s 86234 } 86235 86236 // SetWorkforceArn sets the WorkforceArn field's value. 86237 func (s *Workforce) SetWorkforceArn(v string) *Workforce { 86238 s.WorkforceArn = &v 86239 return s 86240 } 86241 86242 // SetWorkforceName sets the WorkforceName field's value. 86243 func (s *Workforce) SetWorkforceName(v string) *Workforce { 86244 s.WorkforceName = &v 86245 return s 86246 } 86247 86248 // Provides details about a labeling work team. 86249 type Workteam struct { 86250 _ struct{} `type:"structure"` 86251 86252 // The date and time that the work team was created (timestamp). 86253 CreateDate *time.Time `type:"timestamp"` 86254 86255 // A description of the work team. 86256 // 86257 // Description is a required field 86258 Description *string `min:"1" type:"string" required:"true"` 86259 86260 // The date and time that the work team was last updated (timestamp). 86261 LastUpdatedDate *time.Time `type:"timestamp"` 86262 86263 // A list of MemberDefinition objects that contains objects that identify the 86264 // workers that make up the work team. 86265 // 86266 // Workforces can be created using Amazon Cognito or your own OIDC Identity 86267 // Provider (IdP). For private workforces created using Amazon Cognito use CognitoMemberDefinition. 86268 // For workforces created using your own OIDC identity provider (IdP) use OidcMemberDefinition. 86269 // 86270 // MemberDefinitions is a required field 86271 MemberDefinitions []*MemberDefinition `min:"1" type:"list" required:"true"` 86272 86273 // Configures SNS notifications of available or expiring work items for work 86274 // teams. 86275 NotificationConfiguration *NotificationConfiguration `type:"structure"` 86276 86277 // The Amazon Marketplace identifier for a vendor's work team. 86278 ProductListingIds []*string `type:"list"` 86279 86280 // The URI of the labeling job's user interface. Workers open this URI to start 86281 // labeling your data objects. 86282 SubDomain *string `type:"string"` 86283 86284 // The Amazon Resource Name (ARN) of the workforce. 86285 WorkforceArn *string `type:"string"` 86286 86287 // The Amazon Resource Name (ARN) that identifies the work team. 86288 // 86289 // WorkteamArn is a required field 86290 WorkteamArn *string `type:"string" required:"true"` 86291 86292 // The name of the work team. 86293 // 86294 // WorkteamName is a required field 86295 WorkteamName *string `min:"1" type:"string" required:"true"` 86296 } 86297 86298 // String returns the string representation. 86299 // 86300 // API parameter values that are decorated as "sensitive" in the API will not 86301 // be included in the string output. The member name will be present, but the 86302 // value will be replaced with "sensitive". 86303 func (s Workteam) String() string { 86304 return awsutil.Prettify(s) 86305 } 86306 86307 // GoString returns the string representation. 86308 // 86309 // API parameter values that are decorated as "sensitive" in the API will not 86310 // be included in the string output. The member name will be present, but the 86311 // value will be replaced with "sensitive". 86312 func (s Workteam) GoString() string { 86313 return s.String() 86314 } 86315 86316 // SetCreateDate sets the CreateDate field's value. 86317 func (s *Workteam) SetCreateDate(v time.Time) *Workteam { 86318 s.CreateDate = &v 86319 return s 86320 } 86321 86322 // SetDescription sets the Description field's value. 86323 func (s *Workteam) SetDescription(v string) *Workteam { 86324 s.Description = &v 86325 return s 86326 } 86327 86328 // SetLastUpdatedDate sets the LastUpdatedDate field's value. 86329 func (s *Workteam) SetLastUpdatedDate(v time.Time) *Workteam { 86330 s.LastUpdatedDate = &v 86331 return s 86332 } 86333 86334 // SetMemberDefinitions sets the MemberDefinitions field's value. 86335 func (s *Workteam) SetMemberDefinitions(v []*MemberDefinition) *Workteam { 86336 s.MemberDefinitions = v 86337 return s 86338 } 86339 86340 // SetNotificationConfiguration sets the NotificationConfiguration field's value. 86341 func (s *Workteam) SetNotificationConfiguration(v *NotificationConfiguration) *Workteam { 86342 s.NotificationConfiguration = v 86343 return s 86344 } 86345 86346 // SetProductListingIds sets the ProductListingIds field's value. 86347 func (s *Workteam) SetProductListingIds(v []*string) *Workteam { 86348 s.ProductListingIds = v 86349 return s 86350 } 86351 86352 // SetSubDomain sets the SubDomain field's value. 86353 func (s *Workteam) SetSubDomain(v string) *Workteam { 86354 s.SubDomain = &v 86355 return s 86356 } 86357 86358 // SetWorkforceArn sets the WorkforceArn field's value. 86359 func (s *Workteam) SetWorkforceArn(v string) *Workteam { 86360 s.WorkforceArn = &v 86361 return s 86362 } 86363 86364 // SetWorkteamArn sets the WorkteamArn field's value. 86365 func (s *Workteam) SetWorkteamArn(v string) *Workteam { 86366 s.WorkteamArn = &v 86367 return s 86368 } 86369 86370 // SetWorkteamName sets the WorkteamName field's value. 86371 func (s *Workteam) SetWorkteamName(v string) *Workteam { 86372 s.WorkteamName = &v 86373 return s 86374 } 86375 86376 const ( 86377 // ActionStatusUnknown is a ActionStatus enum value 86378 ActionStatusUnknown = "Unknown" 86379 86380 // ActionStatusInProgress is a ActionStatus enum value 86381 ActionStatusInProgress = "InProgress" 86382 86383 // ActionStatusCompleted is a ActionStatus enum value 86384 ActionStatusCompleted = "Completed" 86385 86386 // ActionStatusFailed is a ActionStatus enum value 86387 ActionStatusFailed = "Failed" 86388 86389 // ActionStatusStopping is a ActionStatus enum value 86390 ActionStatusStopping = "Stopping" 86391 86392 // ActionStatusStopped is a ActionStatus enum value 86393 ActionStatusStopped = "Stopped" 86394 ) 86395 86396 // ActionStatus_Values returns all elements of the ActionStatus enum 86397 func ActionStatus_Values() []string { 86398 return []string{ 86399 ActionStatusUnknown, 86400 ActionStatusInProgress, 86401 ActionStatusCompleted, 86402 ActionStatusFailed, 86403 ActionStatusStopping, 86404 ActionStatusStopped, 86405 } 86406 } 86407 86408 const ( 86409 // AlgorithmSortByName is a AlgorithmSortBy enum value 86410 AlgorithmSortByName = "Name" 86411 86412 // AlgorithmSortByCreationTime is a AlgorithmSortBy enum value 86413 AlgorithmSortByCreationTime = "CreationTime" 86414 ) 86415 86416 // AlgorithmSortBy_Values returns all elements of the AlgorithmSortBy enum 86417 func AlgorithmSortBy_Values() []string { 86418 return []string{ 86419 AlgorithmSortByName, 86420 AlgorithmSortByCreationTime, 86421 } 86422 } 86423 86424 const ( 86425 // AlgorithmStatusPending is a AlgorithmStatus enum value 86426 AlgorithmStatusPending = "Pending" 86427 86428 // AlgorithmStatusInProgress is a AlgorithmStatus enum value 86429 AlgorithmStatusInProgress = "InProgress" 86430 86431 // AlgorithmStatusCompleted is a AlgorithmStatus enum value 86432 AlgorithmStatusCompleted = "Completed" 86433 86434 // AlgorithmStatusFailed is a AlgorithmStatus enum value 86435 AlgorithmStatusFailed = "Failed" 86436 86437 // AlgorithmStatusDeleting is a AlgorithmStatus enum value 86438 AlgorithmStatusDeleting = "Deleting" 86439 ) 86440 86441 // AlgorithmStatus_Values returns all elements of the AlgorithmStatus enum 86442 func AlgorithmStatus_Values() []string { 86443 return []string{ 86444 AlgorithmStatusPending, 86445 AlgorithmStatusInProgress, 86446 AlgorithmStatusCompleted, 86447 AlgorithmStatusFailed, 86448 AlgorithmStatusDeleting, 86449 } 86450 } 86451 86452 const ( 86453 // AppImageConfigSortKeyCreationTime is a AppImageConfigSortKey enum value 86454 AppImageConfigSortKeyCreationTime = "CreationTime" 86455 86456 // AppImageConfigSortKeyLastModifiedTime is a AppImageConfigSortKey enum value 86457 AppImageConfigSortKeyLastModifiedTime = "LastModifiedTime" 86458 86459 // AppImageConfigSortKeyName is a AppImageConfigSortKey enum value 86460 AppImageConfigSortKeyName = "Name" 86461 ) 86462 86463 // AppImageConfigSortKey_Values returns all elements of the AppImageConfigSortKey enum 86464 func AppImageConfigSortKey_Values() []string { 86465 return []string{ 86466 AppImageConfigSortKeyCreationTime, 86467 AppImageConfigSortKeyLastModifiedTime, 86468 AppImageConfigSortKeyName, 86469 } 86470 } 86471 86472 const ( 86473 // AppInstanceTypeSystem is a AppInstanceType enum value 86474 AppInstanceTypeSystem = "system" 86475 86476 // AppInstanceTypeMlT3Micro is a AppInstanceType enum value 86477 AppInstanceTypeMlT3Micro = "ml.t3.micro" 86478 86479 // AppInstanceTypeMlT3Small is a AppInstanceType enum value 86480 AppInstanceTypeMlT3Small = "ml.t3.small" 86481 86482 // AppInstanceTypeMlT3Medium is a AppInstanceType enum value 86483 AppInstanceTypeMlT3Medium = "ml.t3.medium" 86484 86485 // AppInstanceTypeMlT3Large is a AppInstanceType enum value 86486 AppInstanceTypeMlT3Large = "ml.t3.large" 86487 86488 // AppInstanceTypeMlT3Xlarge is a AppInstanceType enum value 86489 AppInstanceTypeMlT3Xlarge = "ml.t3.xlarge" 86490 86491 // AppInstanceTypeMlT32xlarge is a AppInstanceType enum value 86492 AppInstanceTypeMlT32xlarge = "ml.t3.2xlarge" 86493 86494 // AppInstanceTypeMlM5Large is a AppInstanceType enum value 86495 AppInstanceTypeMlM5Large = "ml.m5.large" 86496 86497 // AppInstanceTypeMlM5Xlarge is a AppInstanceType enum value 86498 AppInstanceTypeMlM5Xlarge = "ml.m5.xlarge" 86499 86500 // AppInstanceTypeMlM52xlarge is a AppInstanceType enum value 86501 AppInstanceTypeMlM52xlarge = "ml.m5.2xlarge" 86502 86503 // AppInstanceTypeMlM54xlarge is a AppInstanceType enum value 86504 AppInstanceTypeMlM54xlarge = "ml.m5.4xlarge" 86505 86506 // AppInstanceTypeMlM58xlarge is a AppInstanceType enum value 86507 AppInstanceTypeMlM58xlarge = "ml.m5.8xlarge" 86508 86509 // AppInstanceTypeMlM512xlarge is a AppInstanceType enum value 86510 AppInstanceTypeMlM512xlarge = "ml.m5.12xlarge" 86511 86512 // AppInstanceTypeMlM516xlarge is a AppInstanceType enum value 86513 AppInstanceTypeMlM516xlarge = "ml.m5.16xlarge" 86514 86515 // AppInstanceTypeMlM524xlarge is a AppInstanceType enum value 86516 AppInstanceTypeMlM524xlarge = "ml.m5.24xlarge" 86517 86518 // AppInstanceTypeMlM5dLarge is a AppInstanceType enum value 86519 AppInstanceTypeMlM5dLarge = "ml.m5d.large" 86520 86521 // AppInstanceTypeMlM5dXlarge is a AppInstanceType enum value 86522 AppInstanceTypeMlM5dXlarge = "ml.m5d.xlarge" 86523 86524 // AppInstanceTypeMlM5d2xlarge is a AppInstanceType enum value 86525 AppInstanceTypeMlM5d2xlarge = "ml.m5d.2xlarge" 86526 86527 // AppInstanceTypeMlM5d4xlarge is a AppInstanceType enum value 86528 AppInstanceTypeMlM5d4xlarge = "ml.m5d.4xlarge" 86529 86530 // AppInstanceTypeMlM5d8xlarge is a AppInstanceType enum value 86531 AppInstanceTypeMlM5d8xlarge = "ml.m5d.8xlarge" 86532 86533 // AppInstanceTypeMlM5d12xlarge is a AppInstanceType enum value 86534 AppInstanceTypeMlM5d12xlarge = "ml.m5d.12xlarge" 86535 86536 // AppInstanceTypeMlM5d16xlarge is a AppInstanceType enum value 86537 AppInstanceTypeMlM5d16xlarge = "ml.m5d.16xlarge" 86538 86539 // AppInstanceTypeMlM5d24xlarge is a AppInstanceType enum value 86540 AppInstanceTypeMlM5d24xlarge = "ml.m5d.24xlarge" 86541 86542 // AppInstanceTypeMlC5Large is a AppInstanceType enum value 86543 AppInstanceTypeMlC5Large = "ml.c5.large" 86544 86545 // AppInstanceTypeMlC5Xlarge is a AppInstanceType enum value 86546 AppInstanceTypeMlC5Xlarge = "ml.c5.xlarge" 86547 86548 // AppInstanceTypeMlC52xlarge is a AppInstanceType enum value 86549 AppInstanceTypeMlC52xlarge = "ml.c5.2xlarge" 86550 86551 // AppInstanceTypeMlC54xlarge is a AppInstanceType enum value 86552 AppInstanceTypeMlC54xlarge = "ml.c5.4xlarge" 86553 86554 // AppInstanceTypeMlC59xlarge is a AppInstanceType enum value 86555 AppInstanceTypeMlC59xlarge = "ml.c5.9xlarge" 86556 86557 // AppInstanceTypeMlC512xlarge is a AppInstanceType enum value 86558 AppInstanceTypeMlC512xlarge = "ml.c5.12xlarge" 86559 86560 // AppInstanceTypeMlC518xlarge is a AppInstanceType enum value 86561 AppInstanceTypeMlC518xlarge = "ml.c5.18xlarge" 86562 86563 // AppInstanceTypeMlC524xlarge is a AppInstanceType enum value 86564 AppInstanceTypeMlC524xlarge = "ml.c5.24xlarge" 86565 86566 // AppInstanceTypeMlP32xlarge is a AppInstanceType enum value 86567 AppInstanceTypeMlP32xlarge = "ml.p3.2xlarge" 86568 86569 // AppInstanceTypeMlP38xlarge is a AppInstanceType enum value 86570 AppInstanceTypeMlP38xlarge = "ml.p3.8xlarge" 86571 86572 // AppInstanceTypeMlP316xlarge is a AppInstanceType enum value 86573 AppInstanceTypeMlP316xlarge = "ml.p3.16xlarge" 86574 86575 // AppInstanceTypeMlP3dn24xlarge is a AppInstanceType enum value 86576 AppInstanceTypeMlP3dn24xlarge = "ml.p3dn.24xlarge" 86577 86578 // AppInstanceTypeMlG4dnXlarge is a AppInstanceType enum value 86579 AppInstanceTypeMlG4dnXlarge = "ml.g4dn.xlarge" 86580 86581 // AppInstanceTypeMlG4dn2xlarge is a AppInstanceType enum value 86582 AppInstanceTypeMlG4dn2xlarge = "ml.g4dn.2xlarge" 86583 86584 // AppInstanceTypeMlG4dn4xlarge is a AppInstanceType enum value 86585 AppInstanceTypeMlG4dn4xlarge = "ml.g4dn.4xlarge" 86586 86587 // AppInstanceTypeMlG4dn8xlarge is a AppInstanceType enum value 86588 AppInstanceTypeMlG4dn8xlarge = "ml.g4dn.8xlarge" 86589 86590 // AppInstanceTypeMlG4dn12xlarge is a AppInstanceType enum value 86591 AppInstanceTypeMlG4dn12xlarge = "ml.g4dn.12xlarge" 86592 86593 // AppInstanceTypeMlG4dn16xlarge is a AppInstanceType enum value 86594 AppInstanceTypeMlG4dn16xlarge = "ml.g4dn.16xlarge" 86595 86596 // AppInstanceTypeMlR5Large is a AppInstanceType enum value 86597 AppInstanceTypeMlR5Large = "ml.r5.large" 86598 86599 // AppInstanceTypeMlR5Xlarge is a AppInstanceType enum value 86600 AppInstanceTypeMlR5Xlarge = "ml.r5.xlarge" 86601 86602 // AppInstanceTypeMlR52xlarge is a AppInstanceType enum value 86603 AppInstanceTypeMlR52xlarge = "ml.r5.2xlarge" 86604 86605 // AppInstanceTypeMlR54xlarge is a AppInstanceType enum value 86606 AppInstanceTypeMlR54xlarge = "ml.r5.4xlarge" 86607 86608 // AppInstanceTypeMlR58xlarge is a AppInstanceType enum value 86609 AppInstanceTypeMlR58xlarge = "ml.r5.8xlarge" 86610 86611 // AppInstanceTypeMlR512xlarge is a AppInstanceType enum value 86612 AppInstanceTypeMlR512xlarge = "ml.r5.12xlarge" 86613 86614 // AppInstanceTypeMlR516xlarge is a AppInstanceType enum value 86615 AppInstanceTypeMlR516xlarge = "ml.r5.16xlarge" 86616 86617 // AppInstanceTypeMlR524xlarge is a AppInstanceType enum value 86618 AppInstanceTypeMlR524xlarge = "ml.r5.24xlarge" 86619 ) 86620 86621 // AppInstanceType_Values returns all elements of the AppInstanceType enum 86622 func AppInstanceType_Values() []string { 86623 return []string{ 86624 AppInstanceTypeSystem, 86625 AppInstanceTypeMlT3Micro, 86626 AppInstanceTypeMlT3Small, 86627 AppInstanceTypeMlT3Medium, 86628 AppInstanceTypeMlT3Large, 86629 AppInstanceTypeMlT3Xlarge, 86630 AppInstanceTypeMlT32xlarge, 86631 AppInstanceTypeMlM5Large, 86632 AppInstanceTypeMlM5Xlarge, 86633 AppInstanceTypeMlM52xlarge, 86634 AppInstanceTypeMlM54xlarge, 86635 AppInstanceTypeMlM58xlarge, 86636 AppInstanceTypeMlM512xlarge, 86637 AppInstanceTypeMlM516xlarge, 86638 AppInstanceTypeMlM524xlarge, 86639 AppInstanceTypeMlM5dLarge, 86640 AppInstanceTypeMlM5dXlarge, 86641 AppInstanceTypeMlM5d2xlarge, 86642 AppInstanceTypeMlM5d4xlarge, 86643 AppInstanceTypeMlM5d8xlarge, 86644 AppInstanceTypeMlM5d12xlarge, 86645 AppInstanceTypeMlM5d16xlarge, 86646 AppInstanceTypeMlM5d24xlarge, 86647 AppInstanceTypeMlC5Large, 86648 AppInstanceTypeMlC5Xlarge, 86649 AppInstanceTypeMlC52xlarge, 86650 AppInstanceTypeMlC54xlarge, 86651 AppInstanceTypeMlC59xlarge, 86652 AppInstanceTypeMlC512xlarge, 86653 AppInstanceTypeMlC518xlarge, 86654 AppInstanceTypeMlC524xlarge, 86655 AppInstanceTypeMlP32xlarge, 86656 AppInstanceTypeMlP38xlarge, 86657 AppInstanceTypeMlP316xlarge, 86658 AppInstanceTypeMlP3dn24xlarge, 86659 AppInstanceTypeMlG4dnXlarge, 86660 AppInstanceTypeMlG4dn2xlarge, 86661 AppInstanceTypeMlG4dn4xlarge, 86662 AppInstanceTypeMlG4dn8xlarge, 86663 AppInstanceTypeMlG4dn12xlarge, 86664 AppInstanceTypeMlG4dn16xlarge, 86665 AppInstanceTypeMlR5Large, 86666 AppInstanceTypeMlR5Xlarge, 86667 AppInstanceTypeMlR52xlarge, 86668 AppInstanceTypeMlR54xlarge, 86669 AppInstanceTypeMlR58xlarge, 86670 AppInstanceTypeMlR512xlarge, 86671 AppInstanceTypeMlR516xlarge, 86672 AppInstanceTypeMlR524xlarge, 86673 } 86674 } 86675 86676 const ( 86677 // AppNetworkAccessTypePublicInternetOnly is a AppNetworkAccessType enum value 86678 AppNetworkAccessTypePublicInternetOnly = "PublicInternetOnly" 86679 86680 // AppNetworkAccessTypeVpcOnly is a AppNetworkAccessType enum value 86681 AppNetworkAccessTypeVpcOnly = "VpcOnly" 86682 ) 86683 86684 // AppNetworkAccessType_Values returns all elements of the AppNetworkAccessType enum 86685 func AppNetworkAccessType_Values() []string { 86686 return []string{ 86687 AppNetworkAccessTypePublicInternetOnly, 86688 AppNetworkAccessTypeVpcOnly, 86689 } 86690 } 86691 86692 const ( 86693 // AppSortKeyCreationTime is a AppSortKey enum value 86694 AppSortKeyCreationTime = "CreationTime" 86695 ) 86696 86697 // AppSortKey_Values returns all elements of the AppSortKey enum 86698 func AppSortKey_Values() []string { 86699 return []string{ 86700 AppSortKeyCreationTime, 86701 } 86702 } 86703 86704 const ( 86705 // AppStatusDeleted is a AppStatus enum value 86706 AppStatusDeleted = "Deleted" 86707 86708 // AppStatusDeleting is a AppStatus enum value 86709 AppStatusDeleting = "Deleting" 86710 86711 // AppStatusFailed is a AppStatus enum value 86712 AppStatusFailed = "Failed" 86713 86714 // AppStatusInService is a AppStatus enum value 86715 AppStatusInService = "InService" 86716 86717 // AppStatusPending is a AppStatus enum value 86718 AppStatusPending = "Pending" 86719 ) 86720 86721 // AppStatus_Values returns all elements of the AppStatus enum 86722 func AppStatus_Values() []string { 86723 return []string{ 86724 AppStatusDeleted, 86725 AppStatusDeleting, 86726 AppStatusFailed, 86727 AppStatusInService, 86728 AppStatusPending, 86729 } 86730 } 86731 86732 const ( 86733 // AppTypeJupyterServer is a AppType enum value 86734 AppTypeJupyterServer = "JupyterServer" 86735 86736 // AppTypeKernelGateway is a AppType enum value 86737 AppTypeKernelGateway = "KernelGateway" 86738 86739 // AppTypeTensorBoard is a AppType enum value 86740 AppTypeTensorBoard = "TensorBoard" 86741 ) 86742 86743 // AppType_Values returns all elements of the AppType enum 86744 func AppType_Values() []string { 86745 return []string{ 86746 AppTypeJupyterServer, 86747 AppTypeKernelGateway, 86748 AppTypeTensorBoard, 86749 } 86750 } 86751 86752 const ( 86753 // ArtifactSourceIdTypeMd5hash is a ArtifactSourceIdType enum value 86754 ArtifactSourceIdTypeMd5hash = "MD5Hash" 86755 86756 // ArtifactSourceIdTypeS3etag is a ArtifactSourceIdType enum value 86757 ArtifactSourceIdTypeS3etag = "S3ETag" 86758 86759 // ArtifactSourceIdTypeS3version is a ArtifactSourceIdType enum value 86760 ArtifactSourceIdTypeS3version = "S3Version" 86761 86762 // ArtifactSourceIdTypeCustom is a ArtifactSourceIdType enum value 86763 ArtifactSourceIdTypeCustom = "Custom" 86764 ) 86765 86766 // ArtifactSourceIdType_Values returns all elements of the ArtifactSourceIdType enum 86767 func ArtifactSourceIdType_Values() []string { 86768 return []string{ 86769 ArtifactSourceIdTypeMd5hash, 86770 ArtifactSourceIdTypeS3etag, 86771 ArtifactSourceIdTypeS3version, 86772 ArtifactSourceIdTypeCustom, 86773 } 86774 } 86775 86776 const ( 86777 // AssemblyTypeNone is a AssemblyType enum value 86778 AssemblyTypeNone = "None" 86779 86780 // AssemblyTypeLine is a AssemblyType enum value 86781 AssemblyTypeLine = "Line" 86782 ) 86783 86784 // AssemblyType_Values returns all elements of the AssemblyType enum 86785 func AssemblyType_Values() []string { 86786 return []string{ 86787 AssemblyTypeNone, 86788 AssemblyTypeLine, 86789 } 86790 } 86791 86792 const ( 86793 // AssociationEdgeTypeContributedTo is a AssociationEdgeType enum value 86794 AssociationEdgeTypeContributedTo = "ContributedTo" 86795 86796 // AssociationEdgeTypeAssociatedWith is a AssociationEdgeType enum value 86797 AssociationEdgeTypeAssociatedWith = "AssociatedWith" 86798 86799 // AssociationEdgeTypeDerivedFrom is a AssociationEdgeType enum value 86800 AssociationEdgeTypeDerivedFrom = "DerivedFrom" 86801 86802 // AssociationEdgeTypeProduced is a AssociationEdgeType enum value 86803 AssociationEdgeTypeProduced = "Produced" 86804 ) 86805 86806 // AssociationEdgeType_Values returns all elements of the AssociationEdgeType enum 86807 func AssociationEdgeType_Values() []string { 86808 return []string{ 86809 AssociationEdgeTypeContributedTo, 86810 AssociationEdgeTypeAssociatedWith, 86811 AssociationEdgeTypeDerivedFrom, 86812 AssociationEdgeTypeProduced, 86813 } 86814 } 86815 86816 // The compression used for Athena query results. 86817 const ( 86818 // AthenaResultCompressionTypeGzip is a AthenaResultCompressionType enum value 86819 AthenaResultCompressionTypeGzip = "GZIP" 86820 86821 // AthenaResultCompressionTypeSnappy is a AthenaResultCompressionType enum value 86822 AthenaResultCompressionTypeSnappy = "SNAPPY" 86823 86824 // AthenaResultCompressionTypeZlib is a AthenaResultCompressionType enum value 86825 AthenaResultCompressionTypeZlib = "ZLIB" 86826 ) 86827 86828 // AthenaResultCompressionType_Values returns all elements of the AthenaResultCompressionType enum 86829 func AthenaResultCompressionType_Values() []string { 86830 return []string{ 86831 AthenaResultCompressionTypeGzip, 86832 AthenaResultCompressionTypeSnappy, 86833 AthenaResultCompressionTypeZlib, 86834 } 86835 } 86836 86837 // The data storage format for Athena query results. 86838 const ( 86839 // AthenaResultFormatParquet is a AthenaResultFormat enum value 86840 AthenaResultFormatParquet = "PARQUET" 86841 86842 // AthenaResultFormatOrc is a AthenaResultFormat enum value 86843 AthenaResultFormatOrc = "ORC" 86844 86845 // AthenaResultFormatAvro is a AthenaResultFormat enum value 86846 AthenaResultFormatAvro = "AVRO" 86847 86848 // AthenaResultFormatJson is a AthenaResultFormat enum value 86849 AthenaResultFormatJson = "JSON" 86850 86851 // AthenaResultFormatTextfile is a AthenaResultFormat enum value 86852 AthenaResultFormatTextfile = "TEXTFILE" 86853 ) 86854 86855 // AthenaResultFormat_Values returns all elements of the AthenaResultFormat enum 86856 func AthenaResultFormat_Values() []string { 86857 return []string{ 86858 AthenaResultFormatParquet, 86859 AthenaResultFormatOrc, 86860 AthenaResultFormatAvro, 86861 AthenaResultFormatJson, 86862 AthenaResultFormatTextfile, 86863 } 86864 } 86865 86866 const ( 86867 // AuthModeSso is a AuthMode enum value 86868 AuthModeSso = "SSO" 86869 86870 // AuthModeIam is a AuthMode enum value 86871 AuthModeIam = "IAM" 86872 ) 86873 86874 // AuthMode_Values returns all elements of the AuthMode enum 86875 func AuthMode_Values() []string { 86876 return []string{ 86877 AuthModeSso, 86878 AuthModeIam, 86879 } 86880 } 86881 86882 const ( 86883 // AutoMLJobObjectiveTypeMaximize is a AutoMLJobObjectiveType enum value 86884 AutoMLJobObjectiveTypeMaximize = "Maximize" 86885 86886 // AutoMLJobObjectiveTypeMinimize is a AutoMLJobObjectiveType enum value 86887 AutoMLJobObjectiveTypeMinimize = "Minimize" 86888 ) 86889 86890 // AutoMLJobObjectiveType_Values returns all elements of the AutoMLJobObjectiveType enum 86891 func AutoMLJobObjectiveType_Values() []string { 86892 return []string{ 86893 AutoMLJobObjectiveTypeMaximize, 86894 AutoMLJobObjectiveTypeMinimize, 86895 } 86896 } 86897 86898 const ( 86899 // AutoMLJobSecondaryStatusStarting is a AutoMLJobSecondaryStatus enum value 86900 AutoMLJobSecondaryStatusStarting = "Starting" 86901 86902 // AutoMLJobSecondaryStatusAnalyzingData is a AutoMLJobSecondaryStatus enum value 86903 AutoMLJobSecondaryStatusAnalyzingData = "AnalyzingData" 86904 86905 // AutoMLJobSecondaryStatusFeatureEngineering is a AutoMLJobSecondaryStatus enum value 86906 AutoMLJobSecondaryStatusFeatureEngineering = "FeatureEngineering" 86907 86908 // AutoMLJobSecondaryStatusModelTuning is a AutoMLJobSecondaryStatus enum value 86909 AutoMLJobSecondaryStatusModelTuning = "ModelTuning" 86910 86911 // AutoMLJobSecondaryStatusMaxCandidatesReached is a AutoMLJobSecondaryStatus enum value 86912 AutoMLJobSecondaryStatusMaxCandidatesReached = "MaxCandidatesReached" 86913 86914 // AutoMLJobSecondaryStatusFailed is a AutoMLJobSecondaryStatus enum value 86915 AutoMLJobSecondaryStatusFailed = "Failed" 86916 86917 // AutoMLJobSecondaryStatusStopped is a AutoMLJobSecondaryStatus enum value 86918 AutoMLJobSecondaryStatusStopped = "Stopped" 86919 86920 // AutoMLJobSecondaryStatusMaxAutoMljobRuntimeReached is a AutoMLJobSecondaryStatus enum value 86921 AutoMLJobSecondaryStatusMaxAutoMljobRuntimeReached = "MaxAutoMLJobRuntimeReached" 86922 86923 // AutoMLJobSecondaryStatusStopping is a AutoMLJobSecondaryStatus enum value 86924 AutoMLJobSecondaryStatusStopping = "Stopping" 86925 86926 // AutoMLJobSecondaryStatusCandidateDefinitionsGenerated is a AutoMLJobSecondaryStatus enum value 86927 AutoMLJobSecondaryStatusCandidateDefinitionsGenerated = "CandidateDefinitionsGenerated" 86928 86929 // AutoMLJobSecondaryStatusGeneratingExplainabilityReport is a AutoMLJobSecondaryStatus enum value 86930 AutoMLJobSecondaryStatusGeneratingExplainabilityReport = "GeneratingExplainabilityReport" 86931 86932 // AutoMLJobSecondaryStatusCompleted is a AutoMLJobSecondaryStatus enum value 86933 AutoMLJobSecondaryStatusCompleted = "Completed" 86934 86935 // AutoMLJobSecondaryStatusExplainabilityError is a AutoMLJobSecondaryStatus enum value 86936 AutoMLJobSecondaryStatusExplainabilityError = "ExplainabilityError" 86937 86938 // AutoMLJobSecondaryStatusDeployingModel is a AutoMLJobSecondaryStatus enum value 86939 AutoMLJobSecondaryStatusDeployingModel = "DeployingModel" 86940 86941 // AutoMLJobSecondaryStatusModelDeploymentError is a AutoMLJobSecondaryStatus enum value 86942 AutoMLJobSecondaryStatusModelDeploymentError = "ModelDeploymentError" 86943 ) 86944 86945 // AutoMLJobSecondaryStatus_Values returns all elements of the AutoMLJobSecondaryStatus enum 86946 func AutoMLJobSecondaryStatus_Values() []string { 86947 return []string{ 86948 AutoMLJobSecondaryStatusStarting, 86949 AutoMLJobSecondaryStatusAnalyzingData, 86950 AutoMLJobSecondaryStatusFeatureEngineering, 86951 AutoMLJobSecondaryStatusModelTuning, 86952 AutoMLJobSecondaryStatusMaxCandidatesReached, 86953 AutoMLJobSecondaryStatusFailed, 86954 AutoMLJobSecondaryStatusStopped, 86955 AutoMLJobSecondaryStatusMaxAutoMljobRuntimeReached, 86956 AutoMLJobSecondaryStatusStopping, 86957 AutoMLJobSecondaryStatusCandidateDefinitionsGenerated, 86958 AutoMLJobSecondaryStatusGeneratingExplainabilityReport, 86959 AutoMLJobSecondaryStatusCompleted, 86960 AutoMLJobSecondaryStatusExplainabilityError, 86961 AutoMLJobSecondaryStatusDeployingModel, 86962 AutoMLJobSecondaryStatusModelDeploymentError, 86963 } 86964 } 86965 86966 const ( 86967 // AutoMLJobStatusCompleted is a AutoMLJobStatus enum value 86968 AutoMLJobStatusCompleted = "Completed" 86969 86970 // AutoMLJobStatusInProgress is a AutoMLJobStatus enum value 86971 AutoMLJobStatusInProgress = "InProgress" 86972 86973 // AutoMLJobStatusFailed is a AutoMLJobStatus enum value 86974 AutoMLJobStatusFailed = "Failed" 86975 86976 // AutoMLJobStatusStopped is a AutoMLJobStatus enum value 86977 AutoMLJobStatusStopped = "Stopped" 86978 86979 // AutoMLJobStatusStopping is a AutoMLJobStatus enum value 86980 AutoMLJobStatusStopping = "Stopping" 86981 ) 86982 86983 // AutoMLJobStatus_Values returns all elements of the AutoMLJobStatus enum 86984 func AutoMLJobStatus_Values() []string { 86985 return []string{ 86986 AutoMLJobStatusCompleted, 86987 AutoMLJobStatusInProgress, 86988 AutoMLJobStatusFailed, 86989 AutoMLJobStatusStopped, 86990 AutoMLJobStatusStopping, 86991 } 86992 } 86993 86994 const ( 86995 // AutoMLMetricEnumAccuracy is a AutoMLMetricEnum enum value 86996 AutoMLMetricEnumAccuracy = "Accuracy" 86997 86998 // AutoMLMetricEnumMse is a AutoMLMetricEnum enum value 86999 AutoMLMetricEnumMse = "MSE" 87000 87001 // AutoMLMetricEnumF1 is a AutoMLMetricEnum enum value 87002 AutoMLMetricEnumF1 = "F1" 87003 87004 // AutoMLMetricEnumF1macro is a AutoMLMetricEnum enum value 87005 AutoMLMetricEnumF1macro = "F1macro" 87006 87007 // AutoMLMetricEnumAuc is a AutoMLMetricEnum enum value 87008 AutoMLMetricEnumAuc = "AUC" 87009 ) 87010 87011 // AutoMLMetricEnum_Values returns all elements of the AutoMLMetricEnum enum 87012 func AutoMLMetricEnum_Values() []string { 87013 return []string{ 87014 AutoMLMetricEnumAccuracy, 87015 AutoMLMetricEnumMse, 87016 AutoMLMetricEnumF1, 87017 AutoMLMetricEnumF1macro, 87018 AutoMLMetricEnumAuc, 87019 } 87020 } 87021 87022 const ( 87023 // AutoMLS3DataTypeManifestFile is a AutoMLS3DataType enum value 87024 AutoMLS3DataTypeManifestFile = "ManifestFile" 87025 87026 // AutoMLS3DataTypeS3prefix is a AutoMLS3DataType enum value 87027 AutoMLS3DataTypeS3prefix = "S3Prefix" 87028 ) 87029 87030 // AutoMLS3DataType_Values returns all elements of the AutoMLS3DataType enum 87031 func AutoMLS3DataType_Values() []string { 87032 return []string{ 87033 AutoMLS3DataTypeManifestFile, 87034 AutoMLS3DataTypeS3prefix, 87035 } 87036 } 87037 87038 const ( 87039 // AutoMLSortByName is a AutoMLSortBy enum value 87040 AutoMLSortByName = "Name" 87041 87042 // AutoMLSortByCreationTime is a AutoMLSortBy enum value 87043 AutoMLSortByCreationTime = "CreationTime" 87044 87045 // AutoMLSortByStatus is a AutoMLSortBy enum value 87046 AutoMLSortByStatus = "Status" 87047 ) 87048 87049 // AutoMLSortBy_Values returns all elements of the AutoMLSortBy enum 87050 func AutoMLSortBy_Values() []string { 87051 return []string{ 87052 AutoMLSortByName, 87053 AutoMLSortByCreationTime, 87054 AutoMLSortByStatus, 87055 } 87056 } 87057 87058 const ( 87059 // AutoMLSortOrderAscending is a AutoMLSortOrder enum value 87060 AutoMLSortOrderAscending = "Ascending" 87061 87062 // AutoMLSortOrderDescending is a AutoMLSortOrder enum value 87063 AutoMLSortOrderDescending = "Descending" 87064 ) 87065 87066 // AutoMLSortOrder_Values returns all elements of the AutoMLSortOrder enum 87067 func AutoMLSortOrder_Values() []string { 87068 return []string{ 87069 AutoMLSortOrderAscending, 87070 AutoMLSortOrderDescending, 87071 } 87072 } 87073 87074 const ( 87075 // AwsManagedHumanLoopRequestSourceAwsRekognitionDetectModerationLabelsImageV3 is a AwsManagedHumanLoopRequestSource enum value 87076 AwsManagedHumanLoopRequestSourceAwsRekognitionDetectModerationLabelsImageV3 = "AWS/Rekognition/DetectModerationLabels/Image/V3" 87077 87078 // AwsManagedHumanLoopRequestSourceAwsTextractAnalyzeDocumentFormsV1 is a AwsManagedHumanLoopRequestSource enum value 87079 AwsManagedHumanLoopRequestSourceAwsTextractAnalyzeDocumentFormsV1 = "AWS/Textract/AnalyzeDocument/Forms/V1" 87080 ) 87081 87082 // AwsManagedHumanLoopRequestSource_Values returns all elements of the AwsManagedHumanLoopRequestSource enum 87083 func AwsManagedHumanLoopRequestSource_Values() []string { 87084 return []string{ 87085 AwsManagedHumanLoopRequestSourceAwsRekognitionDetectModerationLabelsImageV3, 87086 AwsManagedHumanLoopRequestSourceAwsTextractAnalyzeDocumentFormsV1, 87087 } 87088 } 87089 87090 const ( 87091 // BatchStrategyMultiRecord is a BatchStrategy enum value 87092 BatchStrategyMultiRecord = "MultiRecord" 87093 87094 // BatchStrategySingleRecord is a BatchStrategy enum value 87095 BatchStrategySingleRecord = "SingleRecord" 87096 ) 87097 87098 // BatchStrategy_Values returns all elements of the BatchStrategy enum 87099 func BatchStrategy_Values() []string { 87100 return []string{ 87101 BatchStrategyMultiRecord, 87102 BatchStrategySingleRecord, 87103 } 87104 } 87105 87106 const ( 87107 // BooleanOperatorAnd is a BooleanOperator enum value 87108 BooleanOperatorAnd = "And" 87109 87110 // BooleanOperatorOr is a BooleanOperator enum value 87111 BooleanOperatorOr = "Or" 87112 ) 87113 87114 // BooleanOperator_Values returns all elements of the BooleanOperator enum 87115 func BooleanOperator_Values() []string { 87116 return []string{ 87117 BooleanOperatorAnd, 87118 BooleanOperatorOr, 87119 } 87120 } 87121 87122 const ( 87123 // CandidateSortByCreationTime is a CandidateSortBy enum value 87124 CandidateSortByCreationTime = "CreationTime" 87125 87126 // CandidateSortByStatus is a CandidateSortBy enum value 87127 CandidateSortByStatus = "Status" 87128 87129 // CandidateSortByFinalObjectiveMetricValue is a CandidateSortBy enum value 87130 CandidateSortByFinalObjectiveMetricValue = "FinalObjectiveMetricValue" 87131 ) 87132 87133 // CandidateSortBy_Values returns all elements of the CandidateSortBy enum 87134 func CandidateSortBy_Values() []string { 87135 return []string{ 87136 CandidateSortByCreationTime, 87137 CandidateSortByStatus, 87138 CandidateSortByFinalObjectiveMetricValue, 87139 } 87140 } 87141 87142 const ( 87143 // CandidateStatusCompleted is a CandidateStatus enum value 87144 CandidateStatusCompleted = "Completed" 87145 87146 // CandidateStatusInProgress is a CandidateStatus enum value 87147 CandidateStatusInProgress = "InProgress" 87148 87149 // CandidateStatusFailed is a CandidateStatus enum value 87150 CandidateStatusFailed = "Failed" 87151 87152 // CandidateStatusStopped is a CandidateStatus enum value 87153 CandidateStatusStopped = "Stopped" 87154 87155 // CandidateStatusStopping is a CandidateStatus enum value 87156 CandidateStatusStopping = "Stopping" 87157 ) 87158 87159 // CandidateStatus_Values returns all elements of the CandidateStatus enum 87160 func CandidateStatus_Values() []string { 87161 return []string{ 87162 CandidateStatusCompleted, 87163 CandidateStatusInProgress, 87164 CandidateStatusFailed, 87165 CandidateStatusStopped, 87166 CandidateStatusStopping, 87167 } 87168 } 87169 87170 const ( 87171 // CandidateStepTypeAwsSageMakerTrainingJob is a CandidateStepType enum value 87172 CandidateStepTypeAwsSageMakerTrainingJob = "AWS::SageMaker::TrainingJob" 87173 87174 // CandidateStepTypeAwsSageMakerTransformJob is a CandidateStepType enum value 87175 CandidateStepTypeAwsSageMakerTransformJob = "AWS::SageMaker::TransformJob" 87176 87177 // CandidateStepTypeAwsSageMakerProcessingJob is a CandidateStepType enum value 87178 CandidateStepTypeAwsSageMakerProcessingJob = "AWS::SageMaker::ProcessingJob" 87179 ) 87180 87181 // CandidateStepType_Values returns all elements of the CandidateStepType enum 87182 func CandidateStepType_Values() []string { 87183 return []string{ 87184 CandidateStepTypeAwsSageMakerTrainingJob, 87185 CandidateStepTypeAwsSageMakerTransformJob, 87186 CandidateStepTypeAwsSageMakerProcessingJob, 87187 } 87188 } 87189 87190 const ( 87191 // CapacitySizeTypeInstanceCount is a CapacitySizeType enum value 87192 CapacitySizeTypeInstanceCount = "INSTANCE_COUNT" 87193 87194 // CapacitySizeTypeCapacityPercent is a CapacitySizeType enum value 87195 CapacitySizeTypeCapacityPercent = "CAPACITY_PERCENT" 87196 ) 87197 87198 // CapacitySizeType_Values returns all elements of the CapacitySizeType enum 87199 func CapacitySizeType_Values() []string { 87200 return []string{ 87201 CapacitySizeTypeInstanceCount, 87202 CapacitySizeTypeCapacityPercent, 87203 } 87204 } 87205 87206 const ( 87207 // CaptureModeInput is a CaptureMode enum value 87208 CaptureModeInput = "Input" 87209 87210 // CaptureModeOutput is a CaptureMode enum value 87211 CaptureModeOutput = "Output" 87212 ) 87213 87214 // CaptureMode_Values returns all elements of the CaptureMode enum 87215 func CaptureMode_Values() []string { 87216 return []string{ 87217 CaptureModeInput, 87218 CaptureModeOutput, 87219 } 87220 } 87221 87222 const ( 87223 // CaptureStatusStarted is a CaptureStatus enum value 87224 CaptureStatusStarted = "Started" 87225 87226 // CaptureStatusStopped is a CaptureStatus enum value 87227 CaptureStatusStopped = "Stopped" 87228 ) 87229 87230 // CaptureStatus_Values returns all elements of the CaptureStatus enum 87231 func CaptureStatus_Values() []string { 87232 return []string{ 87233 CaptureStatusStarted, 87234 CaptureStatusStopped, 87235 } 87236 } 87237 87238 const ( 87239 // CodeRepositorySortByName is a CodeRepositorySortBy enum value 87240 CodeRepositorySortByName = "Name" 87241 87242 // CodeRepositorySortByCreationTime is a CodeRepositorySortBy enum value 87243 CodeRepositorySortByCreationTime = "CreationTime" 87244 87245 // CodeRepositorySortByLastModifiedTime is a CodeRepositorySortBy enum value 87246 CodeRepositorySortByLastModifiedTime = "LastModifiedTime" 87247 ) 87248 87249 // CodeRepositorySortBy_Values returns all elements of the CodeRepositorySortBy enum 87250 func CodeRepositorySortBy_Values() []string { 87251 return []string{ 87252 CodeRepositorySortByName, 87253 CodeRepositorySortByCreationTime, 87254 CodeRepositorySortByLastModifiedTime, 87255 } 87256 } 87257 87258 const ( 87259 // CodeRepositorySortOrderAscending is a CodeRepositorySortOrder enum value 87260 CodeRepositorySortOrderAscending = "Ascending" 87261 87262 // CodeRepositorySortOrderDescending is a CodeRepositorySortOrder enum value 87263 CodeRepositorySortOrderDescending = "Descending" 87264 ) 87265 87266 // CodeRepositorySortOrder_Values returns all elements of the CodeRepositorySortOrder enum 87267 func CodeRepositorySortOrder_Values() []string { 87268 return []string{ 87269 CodeRepositorySortOrderAscending, 87270 CodeRepositorySortOrderDescending, 87271 } 87272 } 87273 87274 const ( 87275 // CompilationJobStatusInprogress is a CompilationJobStatus enum value 87276 CompilationJobStatusInprogress = "INPROGRESS" 87277 87278 // CompilationJobStatusCompleted is a CompilationJobStatus enum value 87279 CompilationJobStatusCompleted = "COMPLETED" 87280 87281 // CompilationJobStatusFailed is a CompilationJobStatus enum value 87282 CompilationJobStatusFailed = "FAILED" 87283 87284 // CompilationJobStatusStarting is a CompilationJobStatus enum value 87285 CompilationJobStatusStarting = "STARTING" 87286 87287 // CompilationJobStatusStopping is a CompilationJobStatus enum value 87288 CompilationJobStatusStopping = "STOPPING" 87289 87290 // CompilationJobStatusStopped is a CompilationJobStatus enum value 87291 CompilationJobStatusStopped = "STOPPED" 87292 ) 87293 87294 // CompilationJobStatus_Values returns all elements of the CompilationJobStatus enum 87295 func CompilationJobStatus_Values() []string { 87296 return []string{ 87297 CompilationJobStatusInprogress, 87298 CompilationJobStatusCompleted, 87299 CompilationJobStatusFailed, 87300 CompilationJobStatusStarting, 87301 CompilationJobStatusStopping, 87302 CompilationJobStatusStopped, 87303 } 87304 } 87305 87306 const ( 87307 // CompressionTypeNone is a CompressionType enum value 87308 CompressionTypeNone = "None" 87309 87310 // CompressionTypeGzip is a CompressionType enum value 87311 CompressionTypeGzip = "Gzip" 87312 ) 87313 87314 // CompressionType_Values returns all elements of the CompressionType enum 87315 func CompressionType_Values() []string { 87316 return []string{ 87317 CompressionTypeNone, 87318 CompressionTypeGzip, 87319 } 87320 } 87321 87322 const ( 87323 // ConditionOutcomeTrue is a ConditionOutcome enum value 87324 ConditionOutcomeTrue = "True" 87325 87326 // ConditionOutcomeFalse is a ConditionOutcome enum value 87327 ConditionOutcomeFalse = "False" 87328 ) 87329 87330 // ConditionOutcome_Values returns all elements of the ConditionOutcome enum 87331 func ConditionOutcome_Values() []string { 87332 return []string{ 87333 ConditionOutcomeTrue, 87334 ConditionOutcomeFalse, 87335 } 87336 } 87337 87338 const ( 87339 // ContainerModeSingleModel is a ContainerMode enum value 87340 ContainerModeSingleModel = "SingleModel" 87341 87342 // ContainerModeMultiModel is a ContainerMode enum value 87343 ContainerModeMultiModel = "MultiModel" 87344 ) 87345 87346 // ContainerMode_Values returns all elements of the ContainerMode enum 87347 func ContainerMode_Values() []string { 87348 return []string{ 87349 ContainerModeSingleModel, 87350 ContainerModeMultiModel, 87351 } 87352 } 87353 87354 const ( 87355 // ContentClassifierFreeOfPersonallyIdentifiableInformation is a ContentClassifier enum value 87356 ContentClassifierFreeOfPersonallyIdentifiableInformation = "FreeOfPersonallyIdentifiableInformation" 87357 87358 // ContentClassifierFreeOfAdultContent is a ContentClassifier enum value 87359 ContentClassifierFreeOfAdultContent = "FreeOfAdultContent" 87360 ) 87361 87362 // ContentClassifier_Values returns all elements of the ContentClassifier enum 87363 func ContentClassifier_Values() []string { 87364 return []string{ 87365 ContentClassifierFreeOfPersonallyIdentifiableInformation, 87366 ContentClassifierFreeOfAdultContent, 87367 } 87368 } 87369 87370 const ( 87371 // DataDistributionTypeFullyReplicated is a DataDistributionType enum value 87372 DataDistributionTypeFullyReplicated = "FullyReplicated" 87373 87374 // DataDistributionTypeShardedByS3key is a DataDistributionType enum value 87375 DataDistributionTypeShardedByS3key = "ShardedByS3Key" 87376 ) 87377 87378 // DataDistributionType_Values returns all elements of the DataDistributionType enum 87379 func DataDistributionType_Values() []string { 87380 return []string{ 87381 DataDistributionTypeFullyReplicated, 87382 DataDistributionTypeShardedByS3key, 87383 } 87384 } 87385 87386 const ( 87387 // DetailedAlgorithmStatusNotStarted is a DetailedAlgorithmStatus enum value 87388 DetailedAlgorithmStatusNotStarted = "NotStarted" 87389 87390 // DetailedAlgorithmStatusInProgress is a DetailedAlgorithmStatus enum value 87391 DetailedAlgorithmStatusInProgress = "InProgress" 87392 87393 // DetailedAlgorithmStatusCompleted is a DetailedAlgorithmStatus enum value 87394 DetailedAlgorithmStatusCompleted = "Completed" 87395 87396 // DetailedAlgorithmStatusFailed is a DetailedAlgorithmStatus enum value 87397 DetailedAlgorithmStatusFailed = "Failed" 87398 ) 87399 87400 // DetailedAlgorithmStatus_Values returns all elements of the DetailedAlgorithmStatus enum 87401 func DetailedAlgorithmStatus_Values() []string { 87402 return []string{ 87403 DetailedAlgorithmStatusNotStarted, 87404 DetailedAlgorithmStatusInProgress, 87405 DetailedAlgorithmStatusCompleted, 87406 DetailedAlgorithmStatusFailed, 87407 } 87408 } 87409 87410 const ( 87411 // DetailedModelPackageStatusNotStarted is a DetailedModelPackageStatus enum value 87412 DetailedModelPackageStatusNotStarted = "NotStarted" 87413 87414 // DetailedModelPackageStatusInProgress is a DetailedModelPackageStatus enum value 87415 DetailedModelPackageStatusInProgress = "InProgress" 87416 87417 // DetailedModelPackageStatusCompleted is a DetailedModelPackageStatus enum value 87418 DetailedModelPackageStatusCompleted = "Completed" 87419 87420 // DetailedModelPackageStatusFailed is a DetailedModelPackageStatus enum value 87421 DetailedModelPackageStatusFailed = "Failed" 87422 ) 87423 87424 // DetailedModelPackageStatus_Values returns all elements of the DetailedModelPackageStatus enum 87425 func DetailedModelPackageStatus_Values() []string { 87426 return []string{ 87427 DetailedModelPackageStatusNotStarted, 87428 DetailedModelPackageStatusInProgress, 87429 DetailedModelPackageStatusCompleted, 87430 DetailedModelPackageStatusFailed, 87431 } 87432 } 87433 87434 const ( 87435 // DirectInternetAccessEnabled is a DirectInternetAccess enum value 87436 DirectInternetAccessEnabled = "Enabled" 87437 87438 // DirectInternetAccessDisabled is a DirectInternetAccess enum value 87439 DirectInternetAccessDisabled = "Disabled" 87440 ) 87441 87442 // DirectInternetAccess_Values returns all elements of the DirectInternetAccess enum 87443 func DirectInternetAccess_Values() []string { 87444 return []string{ 87445 DirectInternetAccessEnabled, 87446 DirectInternetAccessDisabled, 87447 } 87448 } 87449 87450 const ( 87451 // DomainStatusDeleting is a DomainStatus enum value 87452 DomainStatusDeleting = "Deleting" 87453 87454 // DomainStatusFailed is a DomainStatus enum value 87455 DomainStatusFailed = "Failed" 87456 87457 // DomainStatusInService is a DomainStatus enum value 87458 DomainStatusInService = "InService" 87459 87460 // DomainStatusPending is a DomainStatus enum value 87461 DomainStatusPending = "Pending" 87462 87463 // DomainStatusUpdating is a DomainStatus enum value 87464 DomainStatusUpdating = "Updating" 87465 87466 // DomainStatusUpdateFailed is a DomainStatus enum value 87467 DomainStatusUpdateFailed = "Update_Failed" 87468 87469 // DomainStatusDeleteFailed is a DomainStatus enum value 87470 DomainStatusDeleteFailed = "Delete_Failed" 87471 ) 87472 87473 // DomainStatus_Values returns all elements of the DomainStatus enum 87474 func DomainStatus_Values() []string { 87475 return []string{ 87476 DomainStatusDeleting, 87477 DomainStatusFailed, 87478 DomainStatusInService, 87479 DomainStatusPending, 87480 DomainStatusUpdating, 87481 DomainStatusUpdateFailed, 87482 DomainStatusDeleteFailed, 87483 } 87484 } 87485 87486 const ( 87487 // EdgePackagingJobStatusStarting is a EdgePackagingJobStatus enum value 87488 EdgePackagingJobStatusStarting = "STARTING" 87489 87490 // EdgePackagingJobStatusInprogress is a EdgePackagingJobStatus enum value 87491 EdgePackagingJobStatusInprogress = "INPROGRESS" 87492 87493 // EdgePackagingJobStatusCompleted is a EdgePackagingJobStatus enum value 87494 EdgePackagingJobStatusCompleted = "COMPLETED" 87495 87496 // EdgePackagingJobStatusFailed is a EdgePackagingJobStatus enum value 87497 EdgePackagingJobStatusFailed = "FAILED" 87498 87499 // EdgePackagingJobStatusStopping is a EdgePackagingJobStatus enum value 87500 EdgePackagingJobStatusStopping = "STOPPING" 87501 87502 // EdgePackagingJobStatusStopped is a EdgePackagingJobStatus enum value 87503 EdgePackagingJobStatusStopped = "STOPPED" 87504 ) 87505 87506 // EdgePackagingJobStatus_Values returns all elements of the EdgePackagingJobStatus enum 87507 func EdgePackagingJobStatus_Values() []string { 87508 return []string{ 87509 EdgePackagingJobStatusStarting, 87510 EdgePackagingJobStatusInprogress, 87511 EdgePackagingJobStatusCompleted, 87512 EdgePackagingJobStatusFailed, 87513 EdgePackagingJobStatusStopping, 87514 EdgePackagingJobStatusStopped, 87515 } 87516 } 87517 87518 const ( 87519 // EdgePresetDeploymentStatusCompleted is a EdgePresetDeploymentStatus enum value 87520 EdgePresetDeploymentStatusCompleted = "COMPLETED" 87521 87522 // EdgePresetDeploymentStatusFailed is a EdgePresetDeploymentStatus enum value 87523 EdgePresetDeploymentStatusFailed = "FAILED" 87524 ) 87525 87526 // EdgePresetDeploymentStatus_Values returns all elements of the EdgePresetDeploymentStatus enum 87527 func EdgePresetDeploymentStatus_Values() []string { 87528 return []string{ 87529 EdgePresetDeploymentStatusCompleted, 87530 EdgePresetDeploymentStatusFailed, 87531 } 87532 } 87533 87534 const ( 87535 // EdgePresetDeploymentTypeGreengrassV2component is a EdgePresetDeploymentType enum value 87536 EdgePresetDeploymentTypeGreengrassV2component = "GreengrassV2Component" 87537 ) 87538 87539 // EdgePresetDeploymentType_Values returns all elements of the EdgePresetDeploymentType enum 87540 func EdgePresetDeploymentType_Values() []string { 87541 return []string{ 87542 EdgePresetDeploymentTypeGreengrassV2component, 87543 } 87544 } 87545 87546 const ( 87547 // EndpointConfigSortKeyName is a EndpointConfigSortKey enum value 87548 EndpointConfigSortKeyName = "Name" 87549 87550 // EndpointConfigSortKeyCreationTime is a EndpointConfigSortKey enum value 87551 EndpointConfigSortKeyCreationTime = "CreationTime" 87552 ) 87553 87554 // EndpointConfigSortKey_Values returns all elements of the EndpointConfigSortKey enum 87555 func EndpointConfigSortKey_Values() []string { 87556 return []string{ 87557 EndpointConfigSortKeyName, 87558 EndpointConfigSortKeyCreationTime, 87559 } 87560 } 87561 87562 const ( 87563 // EndpointSortKeyName is a EndpointSortKey enum value 87564 EndpointSortKeyName = "Name" 87565 87566 // EndpointSortKeyCreationTime is a EndpointSortKey enum value 87567 EndpointSortKeyCreationTime = "CreationTime" 87568 87569 // EndpointSortKeyStatus is a EndpointSortKey enum value 87570 EndpointSortKeyStatus = "Status" 87571 ) 87572 87573 // EndpointSortKey_Values returns all elements of the EndpointSortKey enum 87574 func EndpointSortKey_Values() []string { 87575 return []string{ 87576 EndpointSortKeyName, 87577 EndpointSortKeyCreationTime, 87578 EndpointSortKeyStatus, 87579 } 87580 } 87581 87582 const ( 87583 // EndpointStatusOutOfService is a EndpointStatus enum value 87584 EndpointStatusOutOfService = "OutOfService" 87585 87586 // EndpointStatusCreating is a EndpointStatus enum value 87587 EndpointStatusCreating = "Creating" 87588 87589 // EndpointStatusUpdating is a EndpointStatus enum value 87590 EndpointStatusUpdating = "Updating" 87591 87592 // EndpointStatusSystemUpdating is a EndpointStatus enum value 87593 EndpointStatusSystemUpdating = "SystemUpdating" 87594 87595 // EndpointStatusRollingBack is a EndpointStatus enum value 87596 EndpointStatusRollingBack = "RollingBack" 87597 87598 // EndpointStatusInService is a EndpointStatus enum value 87599 EndpointStatusInService = "InService" 87600 87601 // EndpointStatusDeleting is a EndpointStatus enum value 87602 EndpointStatusDeleting = "Deleting" 87603 87604 // EndpointStatusFailed is a EndpointStatus enum value 87605 EndpointStatusFailed = "Failed" 87606 ) 87607 87608 // EndpointStatus_Values returns all elements of the EndpointStatus enum 87609 func EndpointStatus_Values() []string { 87610 return []string{ 87611 EndpointStatusOutOfService, 87612 EndpointStatusCreating, 87613 EndpointStatusUpdating, 87614 EndpointStatusSystemUpdating, 87615 EndpointStatusRollingBack, 87616 EndpointStatusInService, 87617 EndpointStatusDeleting, 87618 EndpointStatusFailed, 87619 } 87620 } 87621 87622 const ( 87623 // ExecutionStatusPending is a ExecutionStatus enum value 87624 ExecutionStatusPending = "Pending" 87625 87626 // ExecutionStatusCompleted is a ExecutionStatus enum value 87627 ExecutionStatusCompleted = "Completed" 87628 87629 // ExecutionStatusCompletedWithViolations is a ExecutionStatus enum value 87630 ExecutionStatusCompletedWithViolations = "CompletedWithViolations" 87631 87632 // ExecutionStatusInProgress is a ExecutionStatus enum value 87633 ExecutionStatusInProgress = "InProgress" 87634 87635 // ExecutionStatusFailed is a ExecutionStatus enum value 87636 ExecutionStatusFailed = "Failed" 87637 87638 // ExecutionStatusStopping is a ExecutionStatus enum value 87639 ExecutionStatusStopping = "Stopping" 87640 87641 // ExecutionStatusStopped is a ExecutionStatus enum value 87642 ExecutionStatusStopped = "Stopped" 87643 ) 87644 87645 // ExecutionStatus_Values returns all elements of the ExecutionStatus enum 87646 func ExecutionStatus_Values() []string { 87647 return []string{ 87648 ExecutionStatusPending, 87649 ExecutionStatusCompleted, 87650 ExecutionStatusCompletedWithViolations, 87651 ExecutionStatusInProgress, 87652 ExecutionStatusFailed, 87653 ExecutionStatusStopping, 87654 ExecutionStatusStopped, 87655 } 87656 } 87657 87658 const ( 87659 // FeatureGroupSortByName is a FeatureGroupSortBy enum value 87660 FeatureGroupSortByName = "Name" 87661 87662 // FeatureGroupSortByFeatureGroupStatus is a FeatureGroupSortBy enum value 87663 FeatureGroupSortByFeatureGroupStatus = "FeatureGroupStatus" 87664 87665 // FeatureGroupSortByOfflineStoreStatus is a FeatureGroupSortBy enum value 87666 FeatureGroupSortByOfflineStoreStatus = "OfflineStoreStatus" 87667 87668 // FeatureGroupSortByCreationTime is a FeatureGroupSortBy enum value 87669 FeatureGroupSortByCreationTime = "CreationTime" 87670 ) 87671 87672 // FeatureGroupSortBy_Values returns all elements of the FeatureGroupSortBy enum 87673 func FeatureGroupSortBy_Values() []string { 87674 return []string{ 87675 FeatureGroupSortByName, 87676 FeatureGroupSortByFeatureGroupStatus, 87677 FeatureGroupSortByOfflineStoreStatus, 87678 FeatureGroupSortByCreationTime, 87679 } 87680 } 87681 87682 const ( 87683 // FeatureGroupSortOrderAscending is a FeatureGroupSortOrder enum value 87684 FeatureGroupSortOrderAscending = "Ascending" 87685 87686 // FeatureGroupSortOrderDescending is a FeatureGroupSortOrder enum value 87687 FeatureGroupSortOrderDescending = "Descending" 87688 ) 87689 87690 // FeatureGroupSortOrder_Values returns all elements of the FeatureGroupSortOrder enum 87691 func FeatureGroupSortOrder_Values() []string { 87692 return []string{ 87693 FeatureGroupSortOrderAscending, 87694 FeatureGroupSortOrderDescending, 87695 } 87696 } 87697 87698 const ( 87699 // FeatureGroupStatusCreating is a FeatureGroupStatus enum value 87700 FeatureGroupStatusCreating = "Creating" 87701 87702 // FeatureGroupStatusCreated is a FeatureGroupStatus enum value 87703 FeatureGroupStatusCreated = "Created" 87704 87705 // FeatureGroupStatusCreateFailed is a FeatureGroupStatus enum value 87706 FeatureGroupStatusCreateFailed = "CreateFailed" 87707 87708 // FeatureGroupStatusDeleting is a FeatureGroupStatus enum value 87709 FeatureGroupStatusDeleting = "Deleting" 87710 87711 // FeatureGroupStatusDeleteFailed is a FeatureGroupStatus enum value 87712 FeatureGroupStatusDeleteFailed = "DeleteFailed" 87713 ) 87714 87715 // FeatureGroupStatus_Values returns all elements of the FeatureGroupStatus enum 87716 func FeatureGroupStatus_Values() []string { 87717 return []string{ 87718 FeatureGroupStatusCreating, 87719 FeatureGroupStatusCreated, 87720 FeatureGroupStatusCreateFailed, 87721 FeatureGroupStatusDeleting, 87722 FeatureGroupStatusDeleteFailed, 87723 } 87724 } 87725 87726 const ( 87727 // FeatureTypeIntegral is a FeatureType enum value 87728 FeatureTypeIntegral = "Integral" 87729 87730 // FeatureTypeFractional is a FeatureType enum value 87731 FeatureTypeFractional = "Fractional" 87732 87733 // FeatureTypeString is a FeatureType enum value 87734 FeatureTypeString = "String" 87735 ) 87736 87737 // FeatureType_Values returns all elements of the FeatureType enum 87738 func FeatureType_Values() []string { 87739 return []string{ 87740 FeatureTypeIntegral, 87741 FeatureTypeFractional, 87742 FeatureTypeString, 87743 } 87744 } 87745 87746 const ( 87747 // FileSystemAccessModeRw is a FileSystemAccessMode enum value 87748 FileSystemAccessModeRw = "rw" 87749 87750 // FileSystemAccessModeRo is a FileSystemAccessMode enum value 87751 FileSystemAccessModeRo = "ro" 87752 ) 87753 87754 // FileSystemAccessMode_Values returns all elements of the FileSystemAccessMode enum 87755 func FileSystemAccessMode_Values() []string { 87756 return []string{ 87757 FileSystemAccessModeRw, 87758 FileSystemAccessModeRo, 87759 } 87760 } 87761 87762 const ( 87763 // FileSystemTypeEfs is a FileSystemType enum value 87764 FileSystemTypeEfs = "EFS" 87765 87766 // FileSystemTypeFsxLustre is a FileSystemType enum value 87767 FileSystemTypeFsxLustre = "FSxLustre" 87768 ) 87769 87770 // FileSystemType_Values returns all elements of the FileSystemType enum 87771 func FileSystemType_Values() []string { 87772 return []string{ 87773 FileSystemTypeEfs, 87774 FileSystemTypeFsxLustre, 87775 } 87776 } 87777 87778 const ( 87779 // FlowDefinitionStatusInitializing is a FlowDefinitionStatus enum value 87780 FlowDefinitionStatusInitializing = "Initializing" 87781 87782 // FlowDefinitionStatusActive is a FlowDefinitionStatus enum value 87783 FlowDefinitionStatusActive = "Active" 87784 87785 // FlowDefinitionStatusFailed is a FlowDefinitionStatus enum value 87786 FlowDefinitionStatusFailed = "Failed" 87787 87788 // FlowDefinitionStatusDeleting is a FlowDefinitionStatus enum value 87789 FlowDefinitionStatusDeleting = "Deleting" 87790 ) 87791 87792 // FlowDefinitionStatus_Values returns all elements of the FlowDefinitionStatus enum 87793 func FlowDefinitionStatus_Values() []string { 87794 return []string{ 87795 FlowDefinitionStatusInitializing, 87796 FlowDefinitionStatusActive, 87797 FlowDefinitionStatusFailed, 87798 FlowDefinitionStatusDeleting, 87799 } 87800 } 87801 87802 const ( 87803 // FrameworkTensorflow is a Framework enum value 87804 FrameworkTensorflow = "TENSORFLOW" 87805 87806 // FrameworkKeras is a Framework enum value 87807 FrameworkKeras = "KERAS" 87808 87809 // FrameworkMxnet is a Framework enum value 87810 FrameworkMxnet = "MXNET" 87811 87812 // FrameworkOnnx is a Framework enum value 87813 FrameworkOnnx = "ONNX" 87814 87815 // FrameworkPytorch is a Framework enum value 87816 FrameworkPytorch = "PYTORCH" 87817 87818 // FrameworkXgboost is a Framework enum value 87819 FrameworkXgboost = "XGBOOST" 87820 87821 // FrameworkTflite is a Framework enum value 87822 FrameworkTflite = "TFLITE" 87823 87824 // FrameworkDarknet is a Framework enum value 87825 FrameworkDarknet = "DARKNET" 87826 87827 // FrameworkSklearn is a Framework enum value 87828 FrameworkSklearn = "SKLEARN" 87829 ) 87830 87831 // Framework_Values returns all elements of the Framework enum 87832 func Framework_Values() []string { 87833 return []string{ 87834 FrameworkTensorflow, 87835 FrameworkKeras, 87836 FrameworkMxnet, 87837 FrameworkOnnx, 87838 FrameworkPytorch, 87839 FrameworkXgboost, 87840 FrameworkTflite, 87841 FrameworkDarknet, 87842 FrameworkSklearn, 87843 } 87844 } 87845 87846 const ( 87847 // HumanTaskUiStatusActive is a HumanTaskUiStatus enum value 87848 HumanTaskUiStatusActive = "Active" 87849 87850 // HumanTaskUiStatusDeleting is a HumanTaskUiStatus enum value 87851 HumanTaskUiStatusDeleting = "Deleting" 87852 ) 87853 87854 // HumanTaskUiStatus_Values returns all elements of the HumanTaskUiStatus enum 87855 func HumanTaskUiStatus_Values() []string { 87856 return []string{ 87857 HumanTaskUiStatusActive, 87858 HumanTaskUiStatusDeleting, 87859 } 87860 } 87861 87862 const ( 87863 // HyperParameterScalingTypeAuto is a HyperParameterScalingType enum value 87864 HyperParameterScalingTypeAuto = "Auto" 87865 87866 // HyperParameterScalingTypeLinear is a HyperParameterScalingType enum value 87867 HyperParameterScalingTypeLinear = "Linear" 87868 87869 // HyperParameterScalingTypeLogarithmic is a HyperParameterScalingType enum value 87870 HyperParameterScalingTypeLogarithmic = "Logarithmic" 87871 87872 // HyperParameterScalingTypeReverseLogarithmic is a HyperParameterScalingType enum value 87873 HyperParameterScalingTypeReverseLogarithmic = "ReverseLogarithmic" 87874 ) 87875 87876 // HyperParameterScalingType_Values returns all elements of the HyperParameterScalingType enum 87877 func HyperParameterScalingType_Values() []string { 87878 return []string{ 87879 HyperParameterScalingTypeAuto, 87880 HyperParameterScalingTypeLinear, 87881 HyperParameterScalingTypeLogarithmic, 87882 HyperParameterScalingTypeReverseLogarithmic, 87883 } 87884 } 87885 87886 const ( 87887 // HyperParameterTuningJobObjectiveTypeMaximize is a HyperParameterTuningJobObjectiveType enum value 87888 HyperParameterTuningJobObjectiveTypeMaximize = "Maximize" 87889 87890 // HyperParameterTuningJobObjectiveTypeMinimize is a HyperParameterTuningJobObjectiveType enum value 87891 HyperParameterTuningJobObjectiveTypeMinimize = "Minimize" 87892 ) 87893 87894 // HyperParameterTuningJobObjectiveType_Values returns all elements of the HyperParameterTuningJobObjectiveType enum 87895 func HyperParameterTuningJobObjectiveType_Values() []string { 87896 return []string{ 87897 HyperParameterTuningJobObjectiveTypeMaximize, 87898 HyperParameterTuningJobObjectiveTypeMinimize, 87899 } 87900 } 87901 87902 const ( 87903 // HyperParameterTuningJobSortByOptionsName is a HyperParameterTuningJobSortByOptions enum value 87904 HyperParameterTuningJobSortByOptionsName = "Name" 87905 87906 // HyperParameterTuningJobSortByOptionsStatus is a HyperParameterTuningJobSortByOptions enum value 87907 HyperParameterTuningJobSortByOptionsStatus = "Status" 87908 87909 // HyperParameterTuningJobSortByOptionsCreationTime is a HyperParameterTuningJobSortByOptions enum value 87910 HyperParameterTuningJobSortByOptionsCreationTime = "CreationTime" 87911 ) 87912 87913 // HyperParameterTuningJobSortByOptions_Values returns all elements of the HyperParameterTuningJobSortByOptions enum 87914 func HyperParameterTuningJobSortByOptions_Values() []string { 87915 return []string{ 87916 HyperParameterTuningJobSortByOptionsName, 87917 HyperParameterTuningJobSortByOptionsStatus, 87918 HyperParameterTuningJobSortByOptionsCreationTime, 87919 } 87920 } 87921 87922 const ( 87923 // HyperParameterTuningJobStatusCompleted is a HyperParameterTuningJobStatus enum value 87924 HyperParameterTuningJobStatusCompleted = "Completed" 87925 87926 // HyperParameterTuningJobStatusInProgress is a HyperParameterTuningJobStatus enum value 87927 HyperParameterTuningJobStatusInProgress = "InProgress" 87928 87929 // HyperParameterTuningJobStatusFailed is a HyperParameterTuningJobStatus enum value 87930 HyperParameterTuningJobStatusFailed = "Failed" 87931 87932 // HyperParameterTuningJobStatusStopped is a HyperParameterTuningJobStatus enum value 87933 HyperParameterTuningJobStatusStopped = "Stopped" 87934 87935 // HyperParameterTuningJobStatusStopping is a HyperParameterTuningJobStatus enum value 87936 HyperParameterTuningJobStatusStopping = "Stopping" 87937 ) 87938 87939 // HyperParameterTuningJobStatus_Values returns all elements of the HyperParameterTuningJobStatus enum 87940 func HyperParameterTuningJobStatus_Values() []string { 87941 return []string{ 87942 HyperParameterTuningJobStatusCompleted, 87943 HyperParameterTuningJobStatusInProgress, 87944 HyperParameterTuningJobStatusFailed, 87945 HyperParameterTuningJobStatusStopped, 87946 HyperParameterTuningJobStatusStopping, 87947 } 87948 } 87949 87950 // The strategy hyperparameter tuning uses to find the best combination of hyperparameters 87951 // for your model. Currently, the only supported value is Bayesian. 87952 const ( 87953 // HyperParameterTuningJobStrategyTypeBayesian is a HyperParameterTuningJobStrategyType enum value 87954 HyperParameterTuningJobStrategyTypeBayesian = "Bayesian" 87955 87956 // HyperParameterTuningJobStrategyTypeRandom is a HyperParameterTuningJobStrategyType enum value 87957 HyperParameterTuningJobStrategyTypeRandom = "Random" 87958 ) 87959 87960 // HyperParameterTuningJobStrategyType_Values returns all elements of the HyperParameterTuningJobStrategyType enum 87961 func HyperParameterTuningJobStrategyType_Values() []string { 87962 return []string{ 87963 HyperParameterTuningJobStrategyTypeBayesian, 87964 HyperParameterTuningJobStrategyTypeRandom, 87965 } 87966 } 87967 87968 const ( 87969 // HyperParameterTuningJobWarmStartTypeIdenticalDataAndAlgorithm is a HyperParameterTuningJobWarmStartType enum value 87970 HyperParameterTuningJobWarmStartTypeIdenticalDataAndAlgorithm = "IdenticalDataAndAlgorithm" 87971 87972 // HyperParameterTuningJobWarmStartTypeTransferLearning is a HyperParameterTuningJobWarmStartType enum value 87973 HyperParameterTuningJobWarmStartTypeTransferLearning = "TransferLearning" 87974 ) 87975 87976 // HyperParameterTuningJobWarmStartType_Values returns all elements of the HyperParameterTuningJobWarmStartType enum 87977 func HyperParameterTuningJobWarmStartType_Values() []string { 87978 return []string{ 87979 HyperParameterTuningJobWarmStartTypeIdenticalDataAndAlgorithm, 87980 HyperParameterTuningJobWarmStartTypeTransferLearning, 87981 } 87982 } 87983 87984 const ( 87985 // ImageSortByCreationTime is a ImageSortBy enum value 87986 ImageSortByCreationTime = "CREATION_TIME" 87987 87988 // ImageSortByLastModifiedTime is a ImageSortBy enum value 87989 ImageSortByLastModifiedTime = "LAST_MODIFIED_TIME" 87990 87991 // ImageSortByImageName is a ImageSortBy enum value 87992 ImageSortByImageName = "IMAGE_NAME" 87993 ) 87994 87995 // ImageSortBy_Values returns all elements of the ImageSortBy enum 87996 func ImageSortBy_Values() []string { 87997 return []string{ 87998 ImageSortByCreationTime, 87999 ImageSortByLastModifiedTime, 88000 ImageSortByImageName, 88001 } 88002 } 88003 88004 const ( 88005 // ImageSortOrderAscending is a ImageSortOrder enum value 88006 ImageSortOrderAscending = "ASCENDING" 88007 88008 // ImageSortOrderDescending is a ImageSortOrder enum value 88009 ImageSortOrderDescending = "DESCENDING" 88010 ) 88011 88012 // ImageSortOrder_Values returns all elements of the ImageSortOrder enum 88013 func ImageSortOrder_Values() []string { 88014 return []string{ 88015 ImageSortOrderAscending, 88016 ImageSortOrderDescending, 88017 } 88018 } 88019 88020 const ( 88021 // ImageStatusCreating is a ImageStatus enum value 88022 ImageStatusCreating = "CREATING" 88023 88024 // ImageStatusCreated is a ImageStatus enum value 88025 ImageStatusCreated = "CREATED" 88026 88027 // ImageStatusCreateFailed is a ImageStatus enum value 88028 ImageStatusCreateFailed = "CREATE_FAILED" 88029 88030 // ImageStatusUpdating is a ImageStatus enum value 88031 ImageStatusUpdating = "UPDATING" 88032 88033 // ImageStatusUpdateFailed is a ImageStatus enum value 88034 ImageStatusUpdateFailed = "UPDATE_FAILED" 88035 88036 // ImageStatusDeleting is a ImageStatus enum value 88037 ImageStatusDeleting = "DELETING" 88038 88039 // ImageStatusDeleteFailed is a ImageStatus enum value 88040 ImageStatusDeleteFailed = "DELETE_FAILED" 88041 ) 88042 88043 // ImageStatus_Values returns all elements of the ImageStatus enum 88044 func ImageStatus_Values() []string { 88045 return []string{ 88046 ImageStatusCreating, 88047 ImageStatusCreated, 88048 ImageStatusCreateFailed, 88049 ImageStatusUpdating, 88050 ImageStatusUpdateFailed, 88051 ImageStatusDeleting, 88052 ImageStatusDeleteFailed, 88053 } 88054 } 88055 88056 const ( 88057 // ImageVersionSortByCreationTime is a ImageVersionSortBy enum value 88058 ImageVersionSortByCreationTime = "CREATION_TIME" 88059 88060 // ImageVersionSortByLastModifiedTime is a ImageVersionSortBy enum value 88061 ImageVersionSortByLastModifiedTime = "LAST_MODIFIED_TIME" 88062 88063 // ImageVersionSortByVersion is a ImageVersionSortBy enum value 88064 ImageVersionSortByVersion = "VERSION" 88065 ) 88066 88067 // ImageVersionSortBy_Values returns all elements of the ImageVersionSortBy enum 88068 func ImageVersionSortBy_Values() []string { 88069 return []string{ 88070 ImageVersionSortByCreationTime, 88071 ImageVersionSortByLastModifiedTime, 88072 ImageVersionSortByVersion, 88073 } 88074 } 88075 88076 const ( 88077 // ImageVersionSortOrderAscending is a ImageVersionSortOrder enum value 88078 ImageVersionSortOrderAscending = "ASCENDING" 88079 88080 // ImageVersionSortOrderDescending is a ImageVersionSortOrder enum value 88081 ImageVersionSortOrderDescending = "DESCENDING" 88082 ) 88083 88084 // ImageVersionSortOrder_Values returns all elements of the ImageVersionSortOrder enum 88085 func ImageVersionSortOrder_Values() []string { 88086 return []string{ 88087 ImageVersionSortOrderAscending, 88088 ImageVersionSortOrderDescending, 88089 } 88090 } 88091 88092 const ( 88093 // ImageVersionStatusCreating is a ImageVersionStatus enum value 88094 ImageVersionStatusCreating = "CREATING" 88095 88096 // ImageVersionStatusCreated is a ImageVersionStatus enum value 88097 ImageVersionStatusCreated = "CREATED" 88098 88099 // ImageVersionStatusCreateFailed is a ImageVersionStatus enum value 88100 ImageVersionStatusCreateFailed = "CREATE_FAILED" 88101 88102 // ImageVersionStatusDeleting is a ImageVersionStatus enum value 88103 ImageVersionStatusDeleting = "DELETING" 88104 88105 // ImageVersionStatusDeleteFailed is a ImageVersionStatus enum value 88106 ImageVersionStatusDeleteFailed = "DELETE_FAILED" 88107 ) 88108 88109 // ImageVersionStatus_Values returns all elements of the ImageVersionStatus enum 88110 func ImageVersionStatus_Values() []string { 88111 return []string{ 88112 ImageVersionStatusCreating, 88113 ImageVersionStatusCreated, 88114 ImageVersionStatusCreateFailed, 88115 ImageVersionStatusDeleting, 88116 ImageVersionStatusDeleteFailed, 88117 } 88118 } 88119 88120 const ( 88121 // InferenceExecutionModeSerial is a InferenceExecutionMode enum value 88122 InferenceExecutionModeSerial = "Serial" 88123 88124 // InferenceExecutionModeDirect is a InferenceExecutionMode enum value 88125 InferenceExecutionModeDirect = "Direct" 88126 ) 88127 88128 // InferenceExecutionMode_Values returns all elements of the InferenceExecutionMode enum 88129 func InferenceExecutionMode_Values() []string { 88130 return []string{ 88131 InferenceExecutionModeSerial, 88132 InferenceExecutionModeDirect, 88133 } 88134 } 88135 88136 const ( 88137 // InputModePipe is a InputMode enum value 88138 InputModePipe = "Pipe" 88139 88140 // InputModeFile is a InputMode enum value 88141 InputModeFile = "File" 88142 ) 88143 88144 // InputMode_Values returns all elements of the InputMode enum 88145 func InputMode_Values() []string { 88146 return []string{ 88147 InputModePipe, 88148 InputModeFile, 88149 } 88150 } 88151 88152 const ( 88153 // InstanceTypeMlT2Medium is a InstanceType enum value 88154 InstanceTypeMlT2Medium = "ml.t2.medium" 88155 88156 // InstanceTypeMlT2Large is a InstanceType enum value 88157 InstanceTypeMlT2Large = "ml.t2.large" 88158 88159 // InstanceTypeMlT2Xlarge is a InstanceType enum value 88160 InstanceTypeMlT2Xlarge = "ml.t2.xlarge" 88161 88162 // InstanceTypeMlT22xlarge is a InstanceType enum value 88163 InstanceTypeMlT22xlarge = "ml.t2.2xlarge" 88164 88165 // InstanceTypeMlT3Medium is a InstanceType enum value 88166 InstanceTypeMlT3Medium = "ml.t3.medium" 88167 88168 // InstanceTypeMlT3Large is a InstanceType enum value 88169 InstanceTypeMlT3Large = "ml.t3.large" 88170 88171 // InstanceTypeMlT3Xlarge is a InstanceType enum value 88172 InstanceTypeMlT3Xlarge = "ml.t3.xlarge" 88173 88174 // InstanceTypeMlT32xlarge is a InstanceType enum value 88175 InstanceTypeMlT32xlarge = "ml.t3.2xlarge" 88176 88177 // InstanceTypeMlM4Xlarge is a InstanceType enum value 88178 InstanceTypeMlM4Xlarge = "ml.m4.xlarge" 88179 88180 // InstanceTypeMlM42xlarge is a InstanceType enum value 88181 InstanceTypeMlM42xlarge = "ml.m4.2xlarge" 88182 88183 // InstanceTypeMlM44xlarge is a InstanceType enum value 88184 InstanceTypeMlM44xlarge = "ml.m4.4xlarge" 88185 88186 // InstanceTypeMlM410xlarge is a InstanceType enum value 88187 InstanceTypeMlM410xlarge = "ml.m4.10xlarge" 88188 88189 // InstanceTypeMlM416xlarge is a InstanceType enum value 88190 InstanceTypeMlM416xlarge = "ml.m4.16xlarge" 88191 88192 // InstanceTypeMlM5Xlarge is a InstanceType enum value 88193 InstanceTypeMlM5Xlarge = "ml.m5.xlarge" 88194 88195 // InstanceTypeMlM52xlarge is a InstanceType enum value 88196 InstanceTypeMlM52xlarge = "ml.m5.2xlarge" 88197 88198 // InstanceTypeMlM54xlarge is a InstanceType enum value 88199 InstanceTypeMlM54xlarge = "ml.m5.4xlarge" 88200 88201 // InstanceTypeMlM512xlarge is a InstanceType enum value 88202 InstanceTypeMlM512xlarge = "ml.m5.12xlarge" 88203 88204 // InstanceTypeMlM524xlarge is a InstanceType enum value 88205 InstanceTypeMlM524xlarge = "ml.m5.24xlarge" 88206 88207 // InstanceTypeMlM5dLarge is a InstanceType enum value 88208 InstanceTypeMlM5dLarge = "ml.m5d.large" 88209 88210 // InstanceTypeMlM5dXlarge is a InstanceType enum value 88211 InstanceTypeMlM5dXlarge = "ml.m5d.xlarge" 88212 88213 // InstanceTypeMlM5d2xlarge is a InstanceType enum value 88214 InstanceTypeMlM5d2xlarge = "ml.m5d.2xlarge" 88215 88216 // InstanceTypeMlM5d4xlarge is a InstanceType enum value 88217 InstanceTypeMlM5d4xlarge = "ml.m5d.4xlarge" 88218 88219 // InstanceTypeMlM5d8xlarge is a InstanceType enum value 88220 InstanceTypeMlM5d8xlarge = "ml.m5d.8xlarge" 88221 88222 // InstanceTypeMlM5d12xlarge is a InstanceType enum value 88223 InstanceTypeMlM5d12xlarge = "ml.m5d.12xlarge" 88224 88225 // InstanceTypeMlM5d16xlarge is a InstanceType enum value 88226 InstanceTypeMlM5d16xlarge = "ml.m5d.16xlarge" 88227 88228 // InstanceTypeMlM5d24xlarge is a InstanceType enum value 88229 InstanceTypeMlM5d24xlarge = "ml.m5d.24xlarge" 88230 88231 // InstanceTypeMlC4Xlarge is a InstanceType enum value 88232 InstanceTypeMlC4Xlarge = "ml.c4.xlarge" 88233 88234 // InstanceTypeMlC42xlarge is a InstanceType enum value 88235 InstanceTypeMlC42xlarge = "ml.c4.2xlarge" 88236 88237 // InstanceTypeMlC44xlarge is a InstanceType enum value 88238 InstanceTypeMlC44xlarge = "ml.c4.4xlarge" 88239 88240 // InstanceTypeMlC48xlarge is a InstanceType enum value 88241 InstanceTypeMlC48xlarge = "ml.c4.8xlarge" 88242 88243 // InstanceTypeMlC5Xlarge is a InstanceType enum value 88244 InstanceTypeMlC5Xlarge = "ml.c5.xlarge" 88245 88246 // InstanceTypeMlC52xlarge is a InstanceType enum value 88247 InstanceTypeMlC52xlarge = "ml.c5.2xlarge" 88248 88249 // InstanceTypeMlC54xlarge is a InstanceType enum value 88250 InstanceTypeMlC54xlarge = "ml.c5.4xlarge" 88251 88252 // InstanceTypeMlC59xlarge is a InstanceType enum value 88253 InstanceTypeMlC59xlarge = "ml.c5.9xlarge" 88254 88255 // InstanceTypeMlC518xlarge is a InstanceType enum value 88256 InstanceTypeMlC518xlarge = "ml.c5.18xlarge" 88257 88258 // InstanceTypeMlC5dXlarge is a InstanceType enum value 88259 InstanceTypeMlC5dXlarge = "ml.c5d.xlarge" 88260 88261 // InstanceTypeMlC5d2xlarge is a InstanceType enum value 88262 InstanceTypeMlC5d2xlarge = "ml.c5d.2xlarge" 88263 88264 // InstanceTypeMlC5d4xlarge is a InstanceType enum value 88265 InstanceTypeMlC5d4xlarge = "ml.c5d.4xlarge" 88266 88267 // InstanceTypeMlC5d9xlarge is a InstanceType enum value 88268 InstanceTypeMlC5d9xlarge = "ml.c5d.9xlarge" 88269 88270 // InstanceTypeMlC5d18xlarge is a InstanceType enum value 88271 InstanceTypeMlC5d18xlarge = "ml.c5d.18xlarge" 88272 88273 // InstanceTypeMlP2Xlarge is a InstanceType enum value 88274 InstanceTypeMlP2Xlarge = "ml.p2.xlarge" 88275 88276 // InstanceTypeMlP28xlarge is a InstanceType enum value 88277 InstanceTypeMlP28xlarge = "ml.p2.8xlarge" 88278 88279 // InstanceTypeMlP216xlarge is a InstanceType enum value 88280 InstanceTypeMlP216xlarge = "ml.p2.16xlarge" 88281 88282 // InstanceTypeMlP32xlarge is a InstanceType enum value 88283 InstanceTypeMlP32xlarge = "ml.p3.2xlarge" 88284 88285 // InstanceTypeMlP38xlarge is a InstanceType enum value 88286 InstanceTypeMlP38xlarge = "ml.p3.8xlarge" 88287 88288 // InstanceTypeMlP316xlarge is a InstanceType enum value 88289 InstanceTypeMlP316xlarge = "ml.p3.16xlarge" 88290 88291 // InstanceTypeMlP3dn24xlarge is a InstanceType enum value 88292 InstanceTypeMlP3dn24xlarge = "ml.p3dn.24xlarge" 88293 88294 // InstanceTypeMlG4dnXlarge is a InstanceType enum value 88295 InstanceTypeMlG4dnXlarge = "ml.g4dn.xlarge" 88296 88297 // InstanceTypeMlG4dn2xlarge is a InstanceType enum value 88298 InstanceTypeMlG4dn2xlarge = "ml.g4dn.2xlarge" 88299 88300 // InstanceTypeMlG4dn4xlarge is a InstanceType enum value 88301 InstanceTypeMlG4dn4xlarge = "ml.g4dn.4xlarge" 88302 88303 // InstanceTypeMlG4dn8xlarge is a InstanceType enum value 88304 InstanceTypeMlG4dn8xlarge = "ml.g4dn.8xlarge" 88305 88306 // InstanceTypeMlG4dn12xlarge is a InstanceType enum value 88307 InstanceTypeMlG4dn12xlarge = "ml.g4dn.12xlarge" 88308 88309 // InstanceTypeMlG4dn16xlarge is a InstanceType enum value 88310 InstanceTypeMlG4dn16xlarge = "ml.g4dn.16xlarge" 88311 88312 // InstanceTypeMlR5Large is a InstanceType enum value 88313 InstanceTypeMlR5Large = "ml.r5.large" 88314 88315 // InstanceTypeMlR5Xlarge is a InstanceType enum value 88316 InstanceTypeMlR5Xlarge = "ml.r5.xlarge" 88317 88318 // InstanceTypeMlR52xlarge is a InstanceType enum value 88319 InstanceTypeMlR52xlarge = "ml.r5.2xlarge" 88320 88321 // InstanceTypeMlR54xlarge is a InstanceType enum value 88322 InstanceTypeMlR54xlarge = "ml.r5.4xlarge" 88323 88324 // InstanceTypeMlR58xlarge is a InstanceType enum value 88325 InstanceTypeMlR58xlarge = "ml.r5.8xlarge" 88326 88327 // InstanceTypeMlR512xlarge is a InstanceType enum value 88328 InstanceTypeMlR512xlarge = "ml.r5.12xlarge" 88329 88330 // InstanceTypeMlR516xlarge is a InstanceType enum value 88331 InstanceTypeMlR516xlarge = "ml.r5.16xlarge" 88332 88333 // InstanceTypeMlR524xlarge is a InstanceType enum value 88334 InstanceTypeMlR524xlarge = "ml.r5.24xlarge" 88335 ) 88336 88337 // InstanceType_Values returns all elements of the InstanceType enum 88338 func InstanceType_Values() []string { 88339 return []string{ 88340 InstanceTypeMlT2Medium, 88341 InstanceTypeMlT2Large, 88342 InstanceTypeMlT2Xlarge, 88343 InstanceTypeMlT22xlarge, 88344 InstanceTypeMlT3Medium, 88345 InstanceTypeMlT3Large, 88346 InstanceTypeMlT3Xlarge, 88347 InstanceTypeMlT32xlarge, 88348 InstanceTypeMlM4Xlarge, 88349 InstanceTypeMlM42xlarge, 88350 InstanceTypeMlM44xlarge, 88351 InstanceTypeMlM410xlarge, 88352 InstanceTypeMlM416xlarge, 88353 InstanceTypeMlM5Xlarge, 88354 InstanceTypeMlM52xlarge, 88355 InstanceTypeMlM54xlarge, 88356 InstanceTypeMlM512xlarge, 88357 InstanceTypeMlM524xlarge, 88358 InstanceTypeMlM5dLarge, 88359 InstanceTypeMlM5dXlarge, 88360 InstanceTypeMlM5d2xlarge, 88361 InstanceTypeMlM5d4xlarge, 88362 InstanceTypeMlM5d8xlarge, 88363 InstanceTypeMlM5d12xlarge, 88364 InstanceTypeMlM5d16xlarge, 88365 InstanceTypeMlM5d24xlarge, 88366 InstanceTypeMlC4Xlarge, 88367 InstanceTypeMlC42xlarge, 88368 InstanceTypeMlC44xlarge, 88369 InstanceTypeMlC48xlarge, 88370 InstanceTypeMlC5Xlarge, 88371 InstanceTypeMlC52xlarge, 88372 InstanceTypeMlC54xlarge, 88373 InstanceTypeMlC59xlarge, 88374 InstanceTypeMlC518xlarge, 88375 InstanceTypeMlC5dXlarge, 88376 InstanceTypeMlC5d2xlarge, 88377 InstanceTypeMlC5d4xlarge, 88378 InstanceTypeMlC5d9xlarge, 88379 InstanceTypeMlC5d18xlarge, 88380 InstanceTypeMlP2Xlarge, 88381 InstanceTypeMlP28xlarge, 88382 InstanceTypeMlP216xlarge, 88383 InstanceTypeMlP32xlarge, 88384 InstanceTypeMlP38xlarge, 88385 InstanceTypeMlP316xlarge, 88386 InstanceTypeMlP3dn24xlarge, 88387 InstanceTypeMlG4dnXlarge, 88388 InstanceTypeMlG4dn2xlarge, 88389 InstanceTypeMlG4dn4xlarge, 88390 InstanceTypeMlG4dn8xlarge, 88391 InstanceTypeMlG4dn12xlarge, 88392 InstanceTypeMlG4dn16xlarge, 88393 InstanceTypeMlR5Large, 88394 InstanceTypeMlR5Xlarge, 88395 InstanceTypeMlR52xlarge, 88396 InstanceTypeMlR54xlarge, 88397 InstanceTypeMlR58xlarge, 88398 InstanceTypeMlR512xlarge, 88399 InstanceTypeMlR516xlarge, 88400 InstanceTypeMlR524xlarge, 88401 } 88402 } 88403 88404 const ( 88405 // JoinSourceInput is a JoinSource enum value 88406 JoinSourceInput = "Input" 88407 88408 // JoinSourceNone is a JoinSource enum value 88409 JoinSourceNone = "None" 88410 ) 88411 88412 // JoinSource_Values returns all elements of the JoinSource enum 88413 func JoinSource_Values() []string { 88414 return []string{ 88415 JoinSourceInput, 88416 JoinSourceNone, 88417 } 88418 } 88419 88420 const ( 88421 // LabelingJobStatusInitializing is a LabelingJobStatus enum value 88422 LabelingJobStatusInitializing = "Initializing" 88423 88424 // LabelingJobStatusInProgress is a LabelingJobStatus enum value 88425 LabelingJobStatusInProgress = "InProgress" 88426 88427 // LabelingJobStatusCompleted is a LabelingJobStatus enum value 88428 LabelingJobStatusCompleted = "Completed" 88429 88430 // LabelingJobStatusFailed is a LabelingJobStatus enum value 88431 LabelingJobStatusFailed = "Failed" 88432 88433 // LabelingJobStatusStopping is a LabelingJobStatus enum value 88434 LabelingJobStatusStopping = "Stopping" 88435 88436 // LabelingJobStatusStopped is a LabelingJobStatus enum value 88437 LabelingJobStatusStopped = "Stopped" 88438 ) 88439 88440 // LabelingJobStatus_Values returns all elements of the LabelingJobStatus enum 88441 func LabelingJobStatus_Values() []string { 88442 return []string{ 88443 LabelingJobStatusInitializing, 88444 LabelingJobStatusInProgress, 88445 LabelingJobStatusCompleted, 88446 LabelingJobStatusFailed, 88447 LabelingJobStatusStopping, 88448 LabelingJobStatusStopped, 88449 } 88450 } 88451 88452 const ( 88453 // ListCompilationJobsSortByName is a ListCompilationJobsSortBy enum value 88454 ListCompilationJobsSortByName = "Name" 88455 88456 // ListCompilationJobsSortByCreationTime is a ListCompilationJobsSortBy enum value 88457 ListCompilationJobsSortByCreationTime = "CreationTime" 88458 88459 // ListCompilationJobsSortByStatus is a ListCompilationJobsSortBy enum value 88460 ListCompilationJobsSortByStatus = "Status" 88461 ) 88462 88463 // ListCompilationJobsSortBy_Values returns all elements of the ListCompilationJobsSortBy enum 88464 func ListCompilationJobsSortBy_Values() []string { 88465 return []string{ 88466 ListCompilationJobsSortByName, 88467 ListCompilationJobsSortByCreationTime, 88468 ListCompilationJobsSortByStatus, 88469 } 88470 } 88471 88472 const ( 88473 // ListDeviceFleetsSortByName is a ListDeviceFleetsSortBy enum value 88474 ListDeviceFleetsSortByName = "NAME" 88475 88476 // ListDeviceFleetsSortByCreationTime is a ListDeviceFleetsSortBy enum value 88477 ListDeviceFleetsSortByCreationTime = "CREATION_TIME" 88478 88479 // ListDeviceFleetsSortByLastModifiedTime is a ListDeviceFleetsSortBy enum value 88480 ListDeviceFleetsSortByLastModifiedTime = "LAST_MODIFIED_TIME" 88481 ) 88482 88483 // ListDeviceFleetsSortBy_Values returns all elements of the ListDeviceFleetsSortBy enum 88484 func ListDeviceFleetsSortBy_Values() []string { 88485 return []string{ 88486 ListDeviceFleetsSortByName, 88487 ListDeviceFleetsSortByCreationTime, 88488 ListDeviceFleetsSortByLastModifiedTime, 88489 } 88490 } 88491 88492 const ( 88493 // ListEdgePackagingJobsSortByName is a ListEdgePackagingJobsSortBy enum value 88494 ListEdgePackagingJobsSortByName = "NAME" 88495 88496 // ListEdgePackagingJobsSortByModelName is a ListEdgePackagingJobsSortBy enum value 88497 ListEdgePackagingJobsSortByModelName = "MODEL_NAME" 88498 88499 // ListEdgePackagingJobsSortByCreationTime is a ListEdgePackagingJobsSortBy enum value 88500 ListEdgePackagingJobsSortByCreationTime = "CREATION_TIME" 88501 88502 // ListEdgePackagingJobsSortByLastModifiedTime is a ListEdgePackagingJobsSortBy enum value 88503 ListEdgePackagingJobsSortByLastModifiedTime = "LAST_MODIFIED_TIME" 88504 88505 // ListEdgePackagingJobsSortByStatus is a ListEdgePackagingJobsSortBy enum value 88506 ListEdgePackagingJobsSortByStatus = "STATUS" 88507 ) 88508 88509 // ListEdgePackagingJobsSortBy_Values returns all elements of the ListEdgePackagingJobsSortBy enum 88510 func ListEdgePackagingJobsSortBy_Values() []string { 88511 return []string{ 88512 ListEdgePackagingJobsSortByName, 88513 ListEdgePackagingJobsSortByModelName, 88514 ListEdgePackagingJobsSortByCreationTime, 88515 ListEdgePackagingJobsSortByLastModifiedTime, 88516 ListEdgePackagingJobsSortByStatus, 88517 } 88518 } 88519 88520 const ( 88521 // ListLabelingJobsForWorkteamSortByOptionsCreationTime is a ListLabelingJobsForWorkteamSortByOptions enum value 88522 ListLabelingJobsForWorkteamSortByOptionsCreationTime = "CreationTime" 88523 ) 88524 88525 // ListLabelingJobsForWorkteamSortByOptions_Values returns all elements of the ListLabelingJobsForWorkteamSortByOptions enum 88526 func ListLabelingJobsForWorkteamSortByOptions_Values() []string { 88527 return []string{ 88528 ListLabelingJobsForWorkteamSortByOptionsCreationTime, 88529 } 88530 } 88531 88532 const ( 88533 // ListWorkforcesSortByOptionsName is a ListWorkforcesSortByOptions enum value 88534 ListWorkforcesSortByOptionsName = "Name" 88535 88536 // ListWorkforcesSortByOptionsCreateDate is a ListWorkforcesSortByOptions enum value 88537 ListWorkforcesSortByOptionsCreateDate = "CreateDate" 88538 ) 88539 88540 // ListWorkforcesSortByOptions_Values returns all elements of the ListWorkforcesSortByOptions enum 88541 func ListWorkforcesSortByOptions_Values() []string { 88542 return []string{ 88543 ListWorkforcesSortByOptionsName, 88544 ListWorkforcesSortByOptionsCreateDate, 88545 } 88546 } 88547 88548 const ( 88549 // ListWorkteamsSortByOptionsName is a ListWorkteamsSortByOptions enum value 88550 ListWorkteamsSortByOptionsName = "Name" 88551 88552 // ListWorkteamsSortByOptionsCreateDate is a ListWorkteamsSortByOptions enum value 88553 ListWorkteamsSortByOptionsCreateDate = "CreateDate" 88554 ) 88555 88556 // ListWorkteamsSortByOptions_Values returns all elements of the ListWorkteamsSortByOptions enum 88557 func ListWorkteamsSortByOptions_Values() []string { 88558 return []string{ 88559 ListWorkteamsSortByOptionsName, 88560 ListWorkteamsSortByOptionsCreateDate, 88561 } 88562 } 88563 88564 const ( 88565 // MetricSetSourceTrain is a MetricSetSource enum value 88566 MetricSetSourceTrain = "Train" 88567 88568 // MetricSetSourceValidation is a MetricSetSource enum value 88569 MetricSetSourceValidation = "Validation" 88570 88571 // MetricSetSourceTest is a MetricSetSource enum value 88572 MetricSetSourceTest = "Test" 88573 ) 88574 88575 // MetricSetSource_Values returns all elements of the MetricSetSource enum 88576 func MetricSetSource_Values() []string { 88577 return []string{ 88578 MetricSetSourceTrain, 88579 MetricSetSourceValidation, 88580 MetricSetSourceTest, 88581 } 88582 } 88583 88584 const ( 88585 // ModelApprovalStatusApproved is a ModelApprovalStatus enum value 88586 ModelApprovalStatusApproved = "Approved" 88587 88588 // ModelApprovalStatusRejected is a ModelApprovalStatus enum value 88589 ModelApprovalStatusRejected = "Rejected" 88590 88591 // ModelApprovalStatusPendingManualApproval is a ModelApprovalStatus enum value 88592 ModelApprovalStatusPendingManualApproval = "PendingManualApproval" 88593 ) 88594 88595 // ModelApprovalStatus_Values returns all elements of the ModelApprovalStatus enum 88596 func ModelApprovalStatus_Values() []string { 88597 return []string{ 88598 ModelApprovalStatusApproved, 88599 ModelApprovalStatusRejected, 88600 ModelApprovalStatusPendingManualApproval, 88601 } 88602 } 88603 88604 const ( 88605 // ModelCacheSettingEnabled is a ModelCacheSetting enum value 88606 ModelCacheSettingEnabled = "Enabled" 88607 88608 // ModelCacheSettingDisabled is a ModelCacheSetting enum value 88609 ModelCacheSettingDisabled = "Disabled" 88610 ) 88611 88612 // ModelCacheSetting_Values returns all elements of the ModelCacheSetting enum 88613 func ModelCacheSetting_Values() []string { 88614 return []string{ 88615 ModelCacheSettingEnabled, 88616 ModelCacheSettingDisabled, 88617 } 88618 } 88619 88620 const ( 88621 // ModelPackageGroupSortByName is a ModelPackageGroupSortBy enum value 88622 ModelPackageGroupSortByName = "Name" 88623 88624 // ModelPackageGroupSortByCreationTime is a ModelPackageGroupSortBy enum value 88625 ModelPackageGroupSortByCreationTime = "CreationTime" 88626 ) 88627 88628 // ModelPackageGroupSortBy_Values returns all elements of the ModelPackageGroupSortBy enum 88629 func ModelPackageGroupSortBy_Values() []string { 88630 return []string{ 88631 ModelPackageGroupSortByName, 88632 ModelPackageGroupSortByCreationTime, 88633 } 88634 } 88635 88636 const ( 88637 // ModelPackageGroupStatusPending is a ModelPackageGroupStatus enum value 88638 ModelPackageGroupStatusPending = "Pending" 88639 88640 // ModelPackageGroupStatusInProgress is a ModelPackageGroupStatus enum value 88641 ModelPackageGroupStatusInProgress = "InProgress" 88642 88643 // ModelPackageGroupStatusCompleted is a ModelPackageGroupStatus enum value 88644 ModelPackageGroupStatusCompleted = "Completed" 88645 88646 // ModelPackageGroupStatusFailed is a ModelPackageGroupStatus enum value 88647 ModelPackageGroupStatusFailed = "Failed" 88648 88649 // ModelPackageGroupStatusDeleting is a ModelPackageGroupStatus enum value 88650 ModelPackageGroupStatusDeleting = "Deleting" 88651 88652 // ModelPackageGroupStatusDeleteFailed is a ModelPackageGroupStatus enum value 88653 ModelPackageGroupStatusDeleteFailed = "DeleteFailed" 88654 ) 88655 88656 // ModelPackageGroupStatus_Values returns all elements of the ModelPackageGroupStatus enum 88657 func ModelPackageGroupStatus_Values() []string { 88658 return []string{ 88659 ModelPackageGroupStatusPending, 88660 ModelPackageGroupStatusInProgress, 88661 ModelPackageGroupStatusCompleted, 88662 ModelPackageGroupStatusFailed, 88663 ModelPackageGroupStatusDeleting, 88664 ModelPackageGroupStatusDeleteFailed, 88665 } 88666 } 88667 88668 const ( 88669 // ModelPackageSortByName is a ModelPackageSortBy enum value 88670 ModelPackageSortByName = "Name" 88671 88672 // ModelPackageSortByCreationTime is a ModelPackageSortBy enum value 88673 ModelPackageSortByCreationTime = "CreationTime" 88674 ) 88675 88676 // ModelPackageSortBy_Values returns all elements of the ModelPackageSortBy enum 88677 func ModelPackageSortBy_Values() []string { 88678 return []string{ 88679 ModelPackageSortByName, 88680 ModelPackageSortByCreationTime, 88681 } 88682 } 88683 88684 const ( 88685 // ModelPackageStatusPending is a ModelPackageStatus enum value 88686 ModelPackageStatusPending = "Pending" 88687 88688 // ModelPackageStatusInProgress is a ModelPackageStatus enum value 88689 ModelPackageStatusInProgress = "InProgress" 88690 88691 // ModelPackageStatusCompleted is a ModelPackageStatus enum value 88692 ModelPackageStatusCompleted = "Completed" 88693 88694 // ModelPackageStatusFailed is a ModelPackageStatus enum value 88695 ModelPackageStatusFailed = "Failed" 88696 88697 // ModelPackageStatusDeleting is a ModelPackageStatus enum value 88698 ModelPackageStatusDeleting = "Deleting" 88699 ) 88700 88701 // ModelPackageStatus_Values returns all elements of the ModelPackageStatus enum 88702 func ModelPackageStatus_Values() []string { 88703 return []string{ 88704 ModelPackageStatusPending, 88705 ModelPackageStatusInProgress, 88706 ModelPackageStatusCompleted, 88707 ModelPackageStatusFailed, 88708 ModelPackageStatusDeleting, 88709 } 88710 } 88711 88712 const ( 88713 // ModelPackageTypeVersioned is a ModelPackageType enum value 88714 ModelPackageTypeVersioned = "Versioned" 88715 88716 // ModelPackageTypeUnversioned is a ModelPackageType enum value 88717 ModelPackageTypeUnversioned = "Unversioned" 88718 88719 // ModelPackageTypeBoth is a ModelPackageType enum value 88720 ModelPackageTypeBoth = "Both" 88721 ) 88722 88723 // ModelPackageType_Values returns all elements of the ModelPackageType enum 88724 func ModelPackageType_Values() []string { 88725 return []string{ 88726 ModelPackageTypeVersioned, 88727 ModelPackageTypeUnversioned, 88728 ModelPackageTypeBoth, 88729 } 88730 } 88731 88732 const ( 88733 // ModelSortKeyName is a ModelSortKey enum value 88734 ModelSortKeyName = "Name" 88735 88736 // ModelSortKeyCreationTime is a ModelSortKey enum value 88737 ModelSortKeyCreationTime = "CreationTime" 88738 ) 88739 88740 // ModelSortKey_Values returns all elements of the ModelSortKey enum 88741 func ModelSortKey_Values() []string { 88742 return []string{ 88743 ModelSortKeyName, 88744 ModelSortKeyCreationTime, 88745 } 88746 } 88747 88748 const ( 88749 // MonitoringExecutionSortKeyCreationTime is a MonitoringExecutionSortKey enum value 88750 MonitoringExecutionSortKeyCreationTime = "CreationTime" 88751 88752 // MonitoringExecutionSortKeyScheduledTime is a MonitoringExecutionSortKey enum value 88753 MonitoringExecutionSortKeyScheduledTime = "ScheduledTime" 88754 88755 // MonitoringExecutionSortKeyStatus is a MonitoringExecutionSortKey enum value 88756 MonitoringExecutionSortKeyStatus = "Status" 88757 ) 88758 88759 // MonitoringExecutionSortKey_Values returns all elements of the MonitoringExecutionSortKey enum 88760 func MonitoringExecutionSortKey_Values() []string { 88761 return []string{ 88762 MonitoringExecutionSortKeyCreationTime, 88763 MonitoringExecutionSortKeyScheduledTime, 88764 MonitoringExecutionSortKeyStatus, 88765 } 88766 } 88767 88768 const ( 88769 // MonitoringJobDefinitionSortKeyName is a MonitoringJobDefinitionSortKey enum value 88770 MonitoringJobDefinitionSortKeyName = "Name" 88771 88772 // MonitoringJobDefinitionSortKeyCreationTime is a MonitoringJobDefinitionSortKey enum value 88773 MonitoringJobDefinitionSortKeyCreationTime = "CreationTime" 88774 ) 88775 88776 // MonitoringJobDefinitionSortKey_Values returns all elements of the MonitoringJobDefinitionSortKey enum 88777 func MonitoringJobDefinitionSortKey_Values() []string { 88778 return []string{ 88779 MonitoringJobDefinitionSortKeyName, 88780 MonitoringJobDefinitionSortKeyCreationTime, 88781 } 88782 } 88783 88784 const ( 88785 // MonitoringProblemTypeBinaryClassification is a MonitoringProblemType enum value 88786 MonitoringProblemTypeBinaryClassification = "BinaryClassification" 88787 88788 // MonitoringProblemTypeMulticlassClassification is a MonitoringProblemType enum value 88789 MonitoringProblemTypeMulticlassClassification = "MulticlassClassification" 88790 88791 // MonitoringProblemTypeRegression is a MonitoringProblemType enum value 88792 MonitoringProblemTypeRegression = "Regression" 88793 ) 88794 88795 // MonitoringProblemType_Values returns all elements of the MonitoringProblemType enum 88796 func MonitoringProblemType_Values() []string { 88797 return []string{ 88798 MonitoringProblemTypeBinaryClassification, 88799 MonitoringProblemTypeMulticlassClassification, 88800 MonitoringProblemTypeRegression, 88801 } 88802 } 88803 88804 const ( 88805 // MonitoringScheduleSortKeyName is a MonitoringScheduleSortKey enum value 88806 MonitoringScheduleSortKeyName = "Name" 88807 88808 // MonitoringScheduleSortKeyCreationTime is a MonitoringScheduleSortKey enum value 88809 MonitoringScheduleSortKeyCreationTime = "CreationTime" 88810 88811 // MonitoringScheduleSortKeyStatus is a MonitoringScheduleSortKey enum value 88812 MonitoringScheduleSortKeyStatus = "Status" 88813 ) 88814 88815 // MonitoringScheduleSortKey_Values returns all elements of the MonitoringScheduleSortKey enum 88816 func MonitoringScheduleSortKey_Values() []string { 88817 return []string{ 88818 MonitoringScheduleSortKeyName, 88819 MonitoringScheduleSortKeyCreationTime, 88820 MonitoringScheduleSortKeyStatus, 88821 } 88822 } 88823 88824 const ( 88825 // MonitoringTypeDataQuality is a MonitoringType enum value 88826 MonitoringTypeDataQuality = "DataQuality" 88827 88828 // MonitoringTypeModelQuality is a MonitoringType enum value 88829 MonitoringTypeModelQuality = "ModelQuality" 88830 88831 // MonitoringTypeModelBias is a MonitoringType enum value 88832 MonitoringTypeModelBias = "ModelBias" 88833 88834 // MonitoringTypeModelExplainability is a MonitoringType enum value 88835 MonitoringTypeModelExplainability = "ModelExplainability" 88836 ) 88837 88838 // MonitoringType_Values returns all elements of the MonitoringType enum 88839 func MonitoringType_Values() []string { 88840 return []string{ 88841 MonitoringTypeDataQuality, 88842 MonitoringTypeModelQuality, 88843 MonitoringTypeModelBias, 88844 MonitoringTypeModelExplainability, 88845 } 88846 } 88847 88848 const ( 88849 // NotebookInstanceAcceleratorTypeMlEia1Medium is a NotebookInstanceAcceleratorType enum value 88850 NotebookInstanceAcceleratorTypeMlEia1Medium = "ml.eia1.medium" 88851 88852 // NotebookInstanceAcceleratorTypeMlEia1Large is a NotebookInstanceAcceleratorType enum value 88853 NotebookInstanceAcceleratorTypeMlEia1Large = "ml.eia1.large" 88854 88855 // NotebookInstanceAcceleratorTypeMlEia1Xlarge is a NotebookInstanceAcceleratorType enum value 88856 NotebookInstanceAcceleratorTypeMlEia1Xlarge = "ml.eia1.xlarge" 88857 88858 // NotebookInstanceAcceleratorTypeMlEia2Medium is a NotebookInstanceAcceleratorType enum value 88859 NotebookInstanceAcceleratorTypeMlEia2Medium = "ml.eia2.medium" 88860 88861 // NotebookInstanceAcceleratorTypeMlEia2Large is a NotebookInstanceAcceleratorType enum value 88862 NotebookInstanceAcceleratorTypeMlEia2Large = "ml.eia2.large" 88863 88864 // NotebookInstanceAcceleratorTypeMlEia2Xlarge is a NotebookInstanceAcceleratorType enum value 88865 NotebookInstanceAcceleratorTypeMlEia2Xlarge = "ml.eia2.xlarge" 88866 ) 88867 88868 // NotebookInstanceAcceleratorType_Values returns all elements of the NotebookInstanceAcceleratorType enum 88869 func NotebookInstanceAcceleratorType_Values() []string { 88870 return []string{ 88871 NotebookInstanceAcceleratorTypeMlEia1Medium, 88872 NotebookInstanceAcceleratorTypeMlEia1Large, 88873 NotebookInstanceAcceleratorTypeMlEia1Xlarge, 88874 NotebookInstanceAcceleratorTypeMlEia2Medium, 88875 NotebookInstanceAcceleratorTypeMlEia2Large, 88876 NotebookInstanceAcceleratorTypeMlEia2Xlarge, 88877 } 88878 } 88879 88880 const ( 88881 // NotebookInstanceLifecycleConfigSortKeyName is a NotebookInstanceLifecycleConfigSortKey enum value 88882 NotebookInstanceLifecycleConfigSortKeyName = "Name" 88883 88884 // NotebookInstanceLifecycleConfigSortKeyCreationTime is a NotebookInstanceLifecycleConfigSortKey enum value 88885 NotebookInstanceLifecycleConfigSortKeyCreationTime = "CreationTime" 88886 88887 // NotebookInstanceLifecycleConfigSortKeyLastModifiedTime is a NotebookInstanceLifecycleConfigSortKey enum value 88888 NotebookInstanceLifecycleConfigSortKeyLastModifiedTime = "LastModifiedTime" 88889 ) 88890 88891 // NotebookInstanceLifecycleConfigSortKey_Values returns all elements of the NotebookInstanceLifecycleConfigSortKey enum 88892 func NotebookInstanceLifecycleConfigSortKey_Values() []string { 88893 return []string{ 88894 NotebookInstanceLifecycleConfigSortKeyName, 88895 NotebookInstanceLifecycleConfigSortKeyCreationTime, 88896 NotebookInstanceLifecycleConfigSortKeyLastModifiedTime, 88897 } 88898 } 88899 88900 const ( 88901 // NotebookInstanceLifecycleConfigSortOrderAscending is a NotebookInstanceLifecycleConfigSortOrder enum value 88902 NotebookInstanceLifecycleConfigSortOrderAscending = "Ascending" 88903 88904 // NotebookInstanceLifecycleConfigSortOrderDescending is a NotebookInstanceLifecycleConfigSortOrder enum value 88905 NotebookInstanceLifecycleConfigSortOrderDescending = "Descending" 88906 ) 88907 88908 // NotebookInstanceLifecycleConfigSortOrder_Values returns all elements of the NotebookInstanceLifecycleConfigSortOrder enum 88909 func NotebookInstanceLifecycleConfigSortOrder_Values() []string { 88910 return []string{ 88911 NotebookInstanceLifecycleConfigSortOrderAscending, 88912 NotebookInstanceLifecycleConfigSortOrderDescending, 88913 } 88914 } 88915 88916 const ( 88917 // NotebookInstanceSortKeyName is a NotebookInstanceSortKey enum value 88918 NotebookInstanceSortKeyName = "Name" 88919 88920 // NotebookInstanceSortKeyCreationTime is a NotebookInstanceSortKey enum value 88921 NotebookInstanceSortKeyCreationTime = "CreationTime" 88922 88923 // NotebookInstanceSortKeyStatus is a NotebookInstanceSortKey enum value 88924 NotebookInstanceSortKeyStatus = "Status" 88925 ) 88926 88927 // NotebookInstanceSortKey_Values returns all elements of the NotebookInstanceSortKey enum 88928 func NotebookInstanceSortKey_Values() []string { 88929 return []string{ 88930 NotebookInstanceSortKeyName, 88931 NotebookInstanceSortKeyCreationTime, 88932 NotebookInstanceSortKeyStatus, 88933 } 88934 } 88935 88936 const ( 88937 // NotebookInstanceSortOrderAscending is a NotebookInstanceSortOrder enum value 88938 NotebookInstanceSortOrderAscending = "Ascending" 88939 88940 // NotebookInstanceSortOrderDescending is a NotebookInstanceSortOrder enum value 88941 NotebookInstanceSortOrderDescending = "Descending" 88942 ) 88943 88944 // NotebookInstanceSortOrder_Values returns all elements of the NotebookInstanceSortOrder enum 88945 func NotebookInstanceSortOrder_Values() []string { 88946 return []string{ 88947 NotebookInstanceSortOrderAscending, 88948 NotebookInstanceSortOrderDescending, 88949 } 88950 } 88951 88952 const ( 88953 // NotebookInstanceStatusPending is a NotebookInstanceStatus enum value 88954 NotebookInstanceStatusPending = "Pending" 88955 88956 // NotebookInstanceStatusInService is a NotebookInstanceStatus enum value 88957 NotebookInstanceStatusInService = "InService" 88958 88959 // NotebookInstanceStatusStopping is a NotebookInstanceStatus enum value 88960 NotebookInstanceStatusStopping = "Stopping" 88961 88962 // NotebookInstanceStatusStopped is a NotebookInstanceStatus enum value 88963 NotebookInstanceStatusStopped = "Stopped" 88964 88965 // NotebookInstanceStatusFailed is a NotebookInstanceStatus enum value 88966 NotebookInstanceStatusFailed = "Failed" 88967 88968 // NotebookInstanceStatusDeleting is a NotebookInstanceStatus enum value 88969 NotebookInstanceStatusDeleting = "Deleting" 88970 88971 // NotebookInstanceStatusUpdating is a NotebookInstanceStatus enum value 88972 NotebookInstanceStatusUpdating = "Updating" 88973 ) 88974 88975 // NotebookInstanceStatus_Values returns all elements of the NotebookInstanceStatus enum 88976 func NotebookInstanceStatus_Values() []string { 88977 return []string{ 88978 NotebookInstanceStatusPending, 88979 NotebookInstanceStatusInService, 88980 NotebookInstanceStatusStopping, 88981 NotebookInstanceStatusStopped, 88982 NotebookInstanceStatusFailed, 88983 NotebookInstanceStatusDeleting, 88984 NotebookInstanceStatusUpdating, 88985 } 88986 } 88987 88988 const ( 88989 // NotebookOutputOptionAllowed is a NotebookOutputOption enum value 88990 NotebookOutputOptionAllowed = "Allowed" 88991 88992 // NotebookOutputOptionDisabled is a NotebookOutputOption enum value 88993 NotebookOutputOptionDisabled = "Disabled" 88994 ) 88995 88996 // NotebookOutputOption_Values returns all elements of the NotebookOutputOption enum 88997 func NotebookOutputOption_Values() []string { 88998 return []string{ 88999 NotebookOutputOptionAllowed, 89000 NotebookOutputOptionDisabled, 89001 } 89002 } 89003 89004 const ( 89005 // ObjectiveStatusSucceeded is a ObjectiveStatus enum value 89006 ObjectiveStatusSucceeded = "Succeeded" 89007 89008 // ObjectiveStatusPending is a ObjectiveStatus enum value 89009 ObjectiveStatusPending = "Pending" 89010 89011 // ObjectiveStatusFailed is a ObjectiveStatus enum value 89012 ObjectiveStatusFailed = "Failed" 89013 ) 89014 89015 // ObjectiveStatus_Values returns all elements of the ObjectiveStatus enum 89016 func ObjectiveStatus_Values() []string { 89017 return []string{ 89018 ObjectiveStatusSucceeded, 89019 ObjectiveStatusPending, 89020 ObjectiveStatusFailed, 89021 } 89022 } 89023 89024 const ( 89025 // OfflineStoreStatusValueActive is a OfflineStoreStatusValue enum value 89026 OfflineStoreStatusValueActive = "Active" 89027 89028 // OfflineStoreStatusValueBlocked is a OfflineStoreStatusValue enum value 89029 OfflineStoreStatusValueBlocked = "Blocked" 89030 89031 // OfflineStoreStatusValueDisabled is a OfflineStoreStatusValue enum value 89032 OfflineStoreStatusValueDisabled = "Disabled" 89033 ) 89034 89035 // OfflineStoreStatusValue_Values returns all elements of the OfflineStoreStatusValue enum 89036 func OfflineStoreStatusValue_Values() []string { 89037 return []string{ 89038 OfflineStoreStatusValueActive, 89039 OfflineStoreStatusValueBlocked, 89040 OfflineStoreStatusValueDisabled, 89041 } 89042 } 89043 89044 const ( 89045 // OperatorEquals is a Operator enum value 89046 OperatorEquals = "Equals" 89047 89048 // OperatorNotEquals is a Operator enum value 89049 OperatorNotEquals = "NotEquals" 89050 89051 // OperatorGreaterThan is a Operator enum value 89052 OperatorGreaterThan = "GreaterThan" 89053 89054 // OperatorGreaterThanOrEqualTo is a Operator enum value 89055 OperatorGreaterThanOrEqualTo = "GreaterThanOrEqualTo" 89056 89057 // OperatorLessThan is a Operator enum value 89058 OperatorLessThan = "LessThan" 89059 89060 // OperatorLessThanOrEqualTo is a Operator enum value 89061 OperatorLessThanOrEqualTo = "LessThanOrEqualTo" 89062 89063 // OperatorContains is a Operator enum value 89064 OperatorContains = "Contains" 89065 89066 // OperatorExists is a Operator enum value 89067 OperatorExists = "Exists" 89068 89069 // OperatorNotExists is a Operator enum value 89070 OperatorNotExists = "NotExists" 89071 89072 // OperatorIn is a Operator enum value 89073 OperatorIn = "In" 89074 ) 89075 89076 // Operator_Values returns all elements of the Operator enum 89077 func Operator_Values() []string { 89078 return []string{ 89079 OperatorEquals, 89080 OperatorNotEquals, 89081 OperatorGreaterThan, 89082 OperatorGreaterThanOrEqualTo, 89083 OperatorLessThan, 89084 OperatorLessThanOrEqualTo, 89085 OperatorContains, 89086 OperatorExists, 89087 OperatorNotExists, 89088 OperatorIn, 89089 } 89090 } 89091 89092 const ( 89093 // OrderKeyAscending is a OrderKey enum value 89094 OrderKeyAscending = "Ascending" 89095 89096 // OrderKeyDescending is a OrderKey enum value 89097 OrderKeyDescending = "Descending" 89098 ) 89099 89100 // OrderKey_Values returns all elements of the OrderKey enum 89101 func OrderKey_Values() []string { 89102 return []string{ 89103 OrderKeyAscending, 89104 OrderKeyDescending, 89105 } 89106 } 89107 89108 const ( 89109 // ParameterTypeInteger is a ParameterType enum value 89110 ParameterTypeInteger = "Integer" 89111 89112 // ParameterTypeContinuous is a ParameterType enum value 89113 ParameterTypeContinuous = "Continuous" 89114 89115 // ParameterTypeCategorical is a ParameterType enum value 89116 ParameterTypeCategorical = "Categorical" 89117 89118 // ParameterTypeFreeText is a ParameterType enum value 89119 ParameterTypeFreeText = "FreeText" 89120 ) 89121 89122 // ParameterType_Values returns all elements of the ParameterType enum 89123 func ParameterType_Values() []string { 89124 return []string{ 89125 ParameterTypeInteger, 89126 ParameterTypeContinuous, 89127 ParameterTypeCategorical, 89128 ParameterTypeFreeText, 89129 } 89130 } 89131 89132 const ( 89133 // PipelineExecutionStatusExecuting is a PipelineExecutionStatus enum value 89134 PipelineExecutionStatusExecuting = "Executing" 89135 89136 // PipelineExecutionStatusStopping is a PipelineExecutionStatus enum value 89137 PipelineExecutionStatusStopping = "Stopping" 89138 89139 // PipelineExecutionStatusStopped is a PipelineExecutionStatus enum value 89140 PipelineExecutionStatusStopped = "Stopped" 89141 89142 // PipelineExecutionStatusFailed is a PipelineExecutionStatus enum value 89143 PipelineExecutionStatusFailed = "Failed" 89144 89145 // PipelineExecutionStatusSucceeded is a PipelineExecutionStatus enum value 89146 PipelineExecutionStatusSucceeded = "Succeeded" 89147 ) 89148 89149 // PipelineExecutionStatus_Values returns all elements of the PipelineExecutionStatus enum 89150 func PipelineExecutionStatus_Values() []string { 89151 return []string{ 89152 PipelineExecutionStatusExecuting, 89153 PipelineExecutionStatusStopping, 89154 PipelineExecutionStatusStopped, 89155 PipelineExecutionStatusFailed, 89156 PipelineExecutionStatusSucceeded, 89157 } 89158 } 89159 89160 const ( 89161 // PipelineStatusActive is a PipelineStatus enum value 89162 PipelineStatusActive = "Active" 89163 ) 89164 89165 // PipelineStatus_Values returns all elements of the PipelineStatus enum 89166 func PipelineStatus_Values() []string { 89167 return []string{ 89168 PipelineStatusActive, 89169 } 89170 } 89171 89172 const ( 89173 // ProblemTypeBinaryClassification is a ProblemType enum value 89174 ProblemTypeBinaryClassification = "BinaryClassification" 89175 89176 // ProblemTypeMulticlassClassification is a ProblemType enum value 89177 ProblemTypeMulticlassClassification = "MulticlassClassification" 89178 89179 // ProblemTypeRegression is a ProblemType enum value 89180 ProblemTypeRegression = "Regression" 89181 ) 89182 89183 // ProblemType_Values returns all elements of the ProblemType enum 89184 func ProblemType_Values() []string { 89185 return []string{ 89186 ProblemTypeBinaryClassification, 89187 ProblemTypeMulticlassClassification, 89188 ProblemTypeRegression, 89189 } 89190 } 89191 89192 const ( 89193 // ProcessingInstanceTypeMlT3Medium is a ProcessingInstanceType enum value 89194 ProcessingInstanceTypeMlT3Medium = "ml.t3.medium" 89195 89196 // ProcessingInstanceTypeMlT3Large is a ProcessingInstanceType enum value 89197 ProcessingInstanceTypeMlT3Large = "ml.t3.large" 89198 89199 // ProcessingInstanceTypeMlT3Xlarge is a ProcessingInstanceType enum value 89200 ProcessingInstanceTypeMlT3Xlarge = "ml.t3.xlarge" 89201 89202 // ProcessingInstanceTypeMlT32xlarge is a ProcessingInstanceType enum value 89203 ProcessingInstanceTypeMlT32xlarge = "ml.t3.2xlarge" 89204 89205 // ProcessingInstanceTypeMlM4Xlarge is a ProcessingInstanceType enum value 89206 ProcessingInstanceTypeMlM4Xlarge = "ml.m4.xlarge" 89207 89208 // ProcessingInstanceTypeMlM42xlarge is a ProcessingInstanceType enum value 89209 ProcessingInstanceTypeMlM42xlarge = "ml.m4.2xlarge" 89210 89211 // ProcessingInstanceTypeMlM44xlarge is a ProcessingInstanceType enum value 89212 ProcessingInstanceTypeMlM44xlarge = "ml.m4.4xlarge" 89213 89214 // ProcessingInstanceTypeMlM410xlarge is a ProcessingInstanceType enum value 89215 ProcessingInstanceTypeMlM410xlarge = "ml.m4.10xlarge" 89216 89217 // ProcessingInstanceTypeMlM416xlarge is a ProcessingInstanceType enum value 89218 ProcessingInstanceTypeMlM416xlarge = "ml.m4.16xlarge" 89219 89220 // ProcessingInstanceTypeMlC4Xlarge is a ProcessingInstanceType enum value 89221 ProcessingInstanceTypeMlC4Xlarge = "ml.c4.xlarge" 89222 89223 // ProcessingInstanceTypeMlC42xlarge is a ProcessingInstanceType enum value 89224 ProcessingInstanceTypeMlC42xlarge = "ml.c4.2xlarge" 89225 89226 // ProcessingInstanceTypeMlC44xlarge is a ProcessingInstanceType enum value 89227 ProcessingInstanceTypeMlC44xlarge = "ml.c4.4xlarge" 89228 89229 // ProcessingInstanceTypeMlC48xlarge is a ProcessingInstanceType enum value 89230 ProcessingInstanceTypeMlC48xlarge = "ml.c4.8xlarge" 89231 89232 // ProcessingInstanceTypeMlP2Xlarge is a ProcessingInstanceType enum value 89233 ProcessingInstanceTypeMlP2Xlarge = "ml.p2.xlarge" 89234 89235 // ProcessingInstanceTypeMlP28xlarge is a ProcessingInstanceType enum value 89236 ProcessingInstanceTypeMlP28xlarge = "ml.p2.8xlarge" 89237 89238 // ProcessingInstanceTypeMlP216xlarge is a ProcessingInstanceType enum value 89239 ProcessingInstanceTypeMlP216xlarge = "ml.p2.16xlarge" 89240 89241 // ProcessingInstanceTypeMlP32xlarge is a ProcessingInstanceType enum value 89242 ProcessingInstanceTypeMlP32xlarge = "ml.p3.2xlarge" 89243 89244 // ProcessingInstanceTypeMlP38xlarge is a ProcessingInstanceType enum value 89245 ProcessingInstanceTypeMlP38xlarge = "ml.p3.8xlarge" 89246 89247 // ProcessingInstanceTypeMlP316xlarge is a ProcessingInstanceType enum value 89248 ProcessingInstanceTypeMlP316xlarge = "ml.p3.16xlarge" 89249 89250 // ProcessingInstanceTypeMlC5Xlarge is a ProcessingInstanceType enum value 89251 ProcessingInstanceTypeMlC5Xlarge = "ml.c5.xlarge" 89252 89253 // ProcessingInstanceTypeMlC52xlarge is a ProcessingInstanceType enum value 89254 ProcessingInstanceTypeMlC52xlarge = "ml.c5.2xlarge" 89255 89256 // ProcessingInstanceTypeMlC54xlarge is a ProcessingInstanceType enum value 89257 ProcessingInstanceTypeMlC54xlarge = "ml.c5.4xlarge" 89258 89259 // ProcessingInstanceTypeMlC59xlarge is a ProcessingInstanceType enum value 89260 ProcessingInstanceTypeMlC59xlarge = "ml.c5.9xlarge" 89261 89262 // ProcessingInstanceTypeMlC518xlarge is a ProcessingInstanceType enum value 89263 ProcessingInstanceTypeMlC518xlarge = "ml.c5.18xlarge" 89264 89265 // ProcessingInstanceTypeMlM5Large is a ProcessingInstanceType enum value 89266 ProcessingInstanceTypeMlM5Large = "ml.m5.large" 89267 89268 // ProcessingInstanceTypeMlM5Xlarge is a ProcessingInstanceType enum value 89269 ProcessingInstanceTypeMlM5Xlarge = "ml.m5.xlarge" 89270 89271 // ProcessingInstanceTypeMlM52xlarge is a ProcessingInstanceType enum value 89272 ProcessingInstanceTypeMlM52xlarge = "ml.m5.2xlarge" 89273 89274 // ProcessingInstanceTypeMlM54xlarge is a ProcessingInstanceType enum value 89275 ProcessingInstanceTypeMlM54xlarge = "ml.m5.4xlarge" 89276 89277 // ProcessingInstanceTypeMlM512xlarge is a ProcessingInstanceType enum value 89278 ProcessingInstanceTypeMlM512xlarge = "ml.m5.12xlarge" 89279 89280 // ProcessingInstanceTypeMlM524xlarge is a ProcessingInstanceType enum value 89281 ProcessingInstanceTypeMlM524xlarge = "ml.m5.24xlarge" 89282 89283 // ProcessingInstanceTypeMlR5Large is a ProcessingInstanceType enum value 89284 ProcessingInstanceTypeMlR5Large = "ml.r5.large" 89285 89286 // ProcessingInstanceTypeMlR5Xlarge is a ProcessingInstanceType enum value 89287 ProcessingInstanceTypeMlR5Xlarge = "ml.r5.xlarge" 89288 89289 // ProcessingInstanceTypeMlR52xlarge is a ProcessingInstanceType enum value 89290 ProcessingInstanceTypeMlR52xlarge = "ml.r5.2xlarge" 89291 89292 // ProcessingInstanceTypeMlR54xlarge is a ProcessingInstanceType enum value 89293 ProcessingInstanceTypeMlR54xlarge = "ml.r5.4xlarge" 89294 89295 // ProcessingInstanceTypeMlR58xlarge is a ProcessingInstanceType enum value 89296 ProcessingInstanceTypeMlR58xlarge = "ml.r5.8xlarge" 89297 89298 // ProcessingInstanceTypeMlR512xlarge is a ProcessingInstanceType enum value 89299 ProcessingInstanceTypeMlR512xlarge = "ml.r5.12xlarge" 89300 89301 // ProcessingInstanceTypeMlR516xlarge is a ProcessingInstanceType enum value 89302 ProcessingInstanceTypeMlR516xlarge = "ml.r5.16xlarge" 89303 89304 // ProcessingInstanceTypeMlR524xlarge is a ProcessingInstanceType enum value 89305 ProcessingInstanceTypeMlR524xlarge = "ml.r5.24xlarge" 89306 89307 // ProcessingInstanceTypeMlG4dnXlarge is a ProcessingInstanceType enum value 89308 ProcessingInstanceTypeMlG4dnXlarge = "ml.g4dn.xlarge" 89309 89310 // ProcessingInstanceTypeMlG4dn2xlarge is a ProcessingInstanceType enum value 89311 ProcessingInstanceTypeMlG4dn2xlarge = "ml.g4dn.2xlarge" 89312 89313 // ProcessingInstanceTypeMlG4dn4xlarge is a ProcessingInstanceType enum value 89314 ProcessingInstanceTypeMlG4dn4xlarge = "ml.g4dn.4xlarge" 89315 89316 // ProcessingInstanceTypeMlG4dn8xlarge is a ProcessingInstanceType enum value 89317 ProcessingInstanceTypeMlG4dn8xlarge = "ml.g4dn.8xlarge" 89318 89319 // ProcessingInstanceTypeMlG4dn12xlarge is a ProcessingInstanceType enum value 89320 ProcessingInstanceTypeMlG4dn12xlarge = "ml.g4dn.12xlarge" 89321 89322 // ProcessingInstanceTypeMlG4dn16xlarge is a ProcessingInstanceType enum value 89323 ProcessingInstanceTypeMlG4dn16xlarge = "ml.g4dn.16xlarge" 89324 ) 89325 89326 // ProcessingInstanceType_Values returns all elements of the ProcessingInstanceType enum 89327 func ProcessingInstanceType_Values() []string { 89328 return []string{ 89329 ProcessingInstanceTypeMlT3Medium, 89330 ProcessingInstanceTypeMlT3Large, 89331 ProcessingInstanceTypeMlT3Xlarge, 89332 ProcessingInstanceTypeMlT32xlarge, 89333 ProcessingInstanceTypeMlM4Xlarge, 89334 ProcessingInstanceTypeMlM42xlarge, 89335 ProcessingInstanceTypeMlM44xlarge, 89336 ProcessingInstanceTypeMlM410xlarge, 89337 ProcessingInstanceTypeMlM416xlarge, 89338 ProcessingInstanceTypeMlC4Xlarge, 89339 ProcessingInstanceTypeMlC42xlarge, 89340 ProcessingInstanceTypeMlC44xlarge, 89341 ProcessingInstanceTypeMlC48xlarge, 89342 ProcessingInstanceTypeMlP2Xlarge, 89343 ProcessingInstanceTypeMlP28xlarge, 89344 ProcessingInstanceTypeMlP216xlarge, 89345 ProcessingInstanceTypeMlP32xlarge, 89346 ProcessingInstanceTypeMlP38xlarge, 89347 ProcessingInstanceTypeMlP316xlarge, 89348 ProcessingInstanceTypeMlC5Xlarge, 89349 ProcessingInstanceTypeMlC52xlarge, 89350 ProcessingInstanceTypeMlC54xlarge, 89351 ProcessingInstanceTypeMlC59xlarge, 89352 ProcessingInstanceTypeMlC518xlarge, 89353 ProcessingInstanceTypeMlM5Large, 89354 ProcessingInstanceTypeMlM5Xlarge, 89355 ProcessingInstanceTypeMlM52xlarge, 89356 ProcessingInstanceTypeMlM54xlarge, 89357 ProcessingInstanceTypeMlM512xlarge, 89358 ProcessingInstanceTypeMlM524xlarge, 89359 ProcessingInstanceTypeMlR5Large, 89360 ProcessingInstanceTypeMlR5Xlarge, 89361 ProcessingInstanceTypeMlR52xlarge, 89362 ProcessingInstanceTypeMlR54xlarge, 89363 ProcessingInstanceTypeMlR58xlarge, 89364 ProcessingInstanceTypeMlR512xlarge, 89365 ProcessingInstanceTypeMlR516xlarge, 89366 ProcessingInstanceTypeMlR524xlarge, 89367 ProcessingInstanceTypeMlG4dnXlarge, 89368 ProcessingInstanceTypeMlG4dn2xlarge, 89369 ProcessingInstanceTypeMlG4dn4xlarge, 89370 ProcessingInstanceTypeMlG4dn8xlarge, 89371 ProcessingInstanceTypeMlG4dn12xlarge, 89372 ProcessingInstanceTypeMlG4dn16xlarge, 89373 } 89374 } 89375 89376 const ( 89377 // ProcessingJobStatusInProgress is a ProcessingJobStatus enum value 89378 ProcessingJobStatusInProgress = "InProgress" 89379 89380 // ProcessingJobStatusCompleted is a ProcessingJobStatus enum value 89381 ProcessingJobStatusCompleted = "Completed" 89382 89383 // ProcessingJobStatusFailed is a ProcessingJobStatus enum value 89384 ProcessingJobStatusFailed = "Failed" 89385 89386 // ProcessingJobStatusStopping is a ProcessingJobStatus enum value 89387 ProcessingJobStatusStopping = "Stopping" 89388 89389 // ProcessingJobStatusStopped is a ProcessingJobStatus enum value 89390 ProcessingJobStatusStopped = "Stopped" 89391 ) 89392 89393 // ProcessingJobStatus_Values returns all elements of the ProcessingJobStatus enum 89394 func ProcessingJobStatus_Values() []string { 89395 return []string{ 89396 ProcessingJobStatusInProgress, 89397 ProcessingJobStatusCompleted, 89398 ProcessingJobStatusFailed, 89399 ProcessingJobStatusStopping, 89400 ProcessingJobStatusStopped, 89401 } 89402 } 89403 89404 const ( 89405 // ProcessingS3CompressionTypeNone is a ProcessingS3CompressionType enum value 89406 ProcessingS3CompressionTypeNone = "None" 89407 89408 // ProcessingS3CompressionTypeGzip is a ProcessingS3CompressionType enum value 89409 ProcessingS3CompressionTypeGzip = "Gzip" 89410 ) 89411 89412 // ProcessingS3CompressionType_Values returns all elements of the ProcessingS3CompressionType enum 89413 func ProcessingS3CompressionType_Values() []string { 89414 return []string{ 89415 ProcessingS3CompressionTypeNone, 89416 ProcessingS3CompressionTypeGzip, 89417 } 89418 } 89419 89420 const ( 89421 // ProcessingS3DataDistributionTypeFullyReplicated is a ProcessingS3DataDistributionType enum value 89422 ProcessingS3DataDistributionTypeFullyReplicated = "FullyReplicated" 89423 89424 // ProcessingS3DataDistributionTypeShardedByS3key is a ProcessingS3DataDistributionType enum value 89425 ProcessingS3DataDistributionTypeShardedByS3key = "ShardedByS3Key" 89426 ) 89427 89428 // ProcessingS3DataDistributionType_Values returns all elements of the ProcessingS3DataDistributionType enum 89429 func ProcessingS3DataDistributionType_Values() []string { 89430 return []string{ 89431 ProcessingS3DataDistributionTypeFullyReplicated, 89432 ProcessingS3DataDistributionTypeShardedByS3key, 89433 } 89434 } 89435 89436 const ( 89437 // ProcessingS3DataTypeManifestFile is a ProcessingS3DataType enum value 89438 ProcessingS3DataTypeManifestFile = "ManifestFile" 89439 89440 // ProcessingS3DataTypeS3prefix is a ProcessingS3DataType enum value 89441 ProcessingS3DataTypeS3prefix = "S3Prefix" 89442 ) 89443 89444 // ProcessingS3DataType_Values returns all elements of the ProcessingS3DataType enum 89445 func ProcessingS3DataType_Values() []string { 89446 return []string{ 89447 ProcessingS3DataTypeManifestFile, 89448 ProcessingS3DataTypeS3prefix, 89449 } 89450 } 89451 89452 const ( 89453 // ProcessingS3InputModePipe is a ProcessingS3InputMode enum value 89454 ProcessingS3InputModePipe = "Pipe" 89455 89456 // ProcessingS3InputModeFile is a ProcessingS3InputMode enum value 89457 ProcessingS3InputModeFile = "File" 89458 ) 89459 89460 // ProcessingS3InputMode_Values returns all elements of the ProcessingS3InputMode enum 89461 func ProcessingS3InputMode_Values() []string { 89462 return []string{ 89463 ProcessingS3InputModePipe, 89464 ProcessingS3InputModeFile, 89465 } 89466 } 89467 89468 const ( 89469 // ProcessingS3UploadModeContinuous is a ProcessingS3UploadMode enum value 89470 ProcessingS3UploadModeContinuous = "Continuous" 89471 89472 // ProcessingS3UploadModeEndOfJob is a ProcessingS3UploadMode enum value 89473 ProcessingS3UploadModeEndOfJob = "EndOfJob" 89474 ) 89475 89476 // ProcessingS3UploadMode_Values returns all elements of the ProcessingS3UploadMode enum 89477 func ProcessingS3UploadMode_Values() []string { 89478 return []string{ 89479 ProcessingS3UploadModeContinuous, 89480 ProcessingS3UploadModeEndOfJob, 89481 } 89482 } 89483 89484 const ( 89485 // ProductionVariantAcceleratorTypeMlEia1Medium is a ProductionVariantAcceleratorType enum value 89486 ProductionVariantAcceleratorTypeMlEia1Medium = "ml.eia1.medium" 89487 89488 // ProductionVariantAcceleratorTypeMlEia1Large is a ProductionVariantAcceleratorType enum value 89489 ProductionVariantAcceleratorTypeMlEia1Large = "ml.eia1.large" 89490 89491 // ProductionVariantAcceleratorTypeMlEia1Xlarge is a ProductionVariantAcceleratorType enum value 89492 ProductionVariantAcceleratorTypeMlEia1Xlarge = "ml.eia1.xlarge" 89493 89494 // ProductionVariantAcceleratorTypeMlEia2Medium is a ProductionVariantAcceleratorType enum value 89495 ProductionVariantAcceleratorTypeMlEia2Medium = "ml.eia2.medium" 89496 89497 // ProductionVariantAcceleratorTypeMlEia2Large is a ProductionVariantAcceleratorType enum value 89498 ProductionVariantAcceleratorTypeMlEia2Large = "ml.eia2.large" 89499 89500 // ProductionVariantAcceleratorTypeMlEia2Xlarge is a ProductionVariantAcceleratorType enum value 89501 ProductionVariantAcceleratorTypeMlEia2Xlarge = "ml.eia2.xlarge" 89502 ) 89503 89504 // ProductionVariantAcceleratorType_Values returns all elements of the ProductionVariantAcceleratorType enum 89505 func ProductionVariantAcceleratorType_Values() []string { 89506 return []string{ 89507 ProductionVariantAcceleratorTypeMlEia1Medium, 89508 ProductionVariantAcceleratorTypeMlEia1Large, 89509 ProductionVariantAcceleratorTypeMlEia1Xlarge, 89510 ProductionVariantAcceleratorTypeMlEia2Medium, 89511 ProductionVariantAcceleratorTypeMlEia2Large, 89512 ProductionVariantAcceleratorTypeMlEia2Xlarge, 89513 } 89514 } 89515 89516 const ( 89517 // ProductionVariantInstanceTypeMlT2Medium is a ProductionVariantInstanceType enum value 89518 ProductionVariantInstanceTypeMlT2Medium = "ml.t2.medium" 89519 89520 // ProductionVariantInstanceTypeMlT2Large is a ProductionVariantInstanceType enum value 89521 ProductionVariantInstanceTypeMlT2Large = "ml.t2.large" 89522 89523 // ProductionVariantInstanceTypeMlT2Xlarge is a ProductionVariantInstanceType enum value 89524 ProductionVariantInstanceTypeMlT2Xlarge = "ml.t2.xlarge" 89525 89526 // ProductionVariantInstanceTypeMlT22xlarge is a ProductionVariantInstanceType enum value 89527 ProductionVariantInstanceTypeMlT22xlarge = "ml.t2.2xlarge" 89528 89529 // ProductionVariantInstanceTypeMlM4Xlarge is a ProductionVariantInstanceType enum value 89530 ProductionVariantInstanceTypeMlM4Xlarge = "ml.m4.xlarge" 89531 89532 // ProductionVariantInstanceTypeMlM42xlarge is a ProductionVariantInstanceType enum value 89533 ProductionVariantInstanceTypeMlM42xlarge = "ml.m4.2xlarge" 89534 89535 // ProductionVariantInstanceTypeMlM44xlarge is a ProductionVariantInstanceType enum value 89536 ProductionVariantInstanceTypeMlM44xlarge = "ml.m4.4xlarge" 89537 89538 // ProductionVariantInstanceTypeMlM410xlarge is a ProductionVariantInstanceType enum value 89539 ProductionVariantInstanceTypeMlM410xlarge = "ml.m4.10xlarge" 89540 89541 // ProductionVariantInstanceTypeMlM416xlarge is a ProductionVariantInstanceType enum value 89542 ProductionVariantInstanceTypeMlM416xlarge = "ml.m4.16xlarge" 89543 89544 // ProductionVariantInstanceTypeMlM5Large is a ProductionVariantInstanceType enum value 89545 ProductionVariantInstanceTypeMlM5Large = "ml.m5.large" 89546 89547 // ProductionVariantInstanceTypeMlM5Xlarge is a ProductionVariantInstanceType enum value 89548 ProductionVariantInstanceTypeMlM5Xlarge = "ml.m5.xlarge" 89549 89550 // ProductionVariantInstanceTypeMlM52xlarge is a ProductionVariantInstanceType enum value 89551 ProductionVariantInstanceTypeMlM52xlarge = "ml.m5.2xlarge" 89552 89553 // ProductionVariantInstanceTypeMlM54xlarge is a ProductionVariantInstanceType enum value 89554 ProductionVariantInstanceTypeMlM54xlarge = "ml.m5.4xlarge" 89555 89556 // ProductionVariantInstanceTypeMlM512xlarge is a ProductionVariantInstanceType enum value 89557 ProductionVariantInstanceTypeMlM512xlarge = "ml.m5.12xlarge" 89558 89559 // ProductionVariantInstanceTypeMlM524xlarge is a ProductionVariantInstanceType enum value 89560 ProductionVariantInstanceTypeMlM524xlarge = "ml.m5.24xlarge" 89561 89562 // ProductionVariantInstanceTypeMlM5dLarge is a ProductionVariantInstanceType enum value 89563 ProductionVariantInstanceTypeMlM5dLarge = "ml.m5d.large" 89564 89565 // ProductionVariantInstanceTypeMlM5dXlarge is a ProductionVariantInstanceType enum value 89566 ProductionVariantInstanceTypeMlM5dXlarge = "ml.m5d.xlarge" 89567 89568 // ProductionVariantInstanceTypeMlM5d2xlarge is a ProductionVariantInstanceType enum value 89569 ProductionVariantInstanceTypeMlM5d2xlarge = "ml.m5d.2xlarge" 89570 89571 // ProductionVariantInstanceTypeMlM5d4xlarge is a ProductionVariantInstanceType enum value 89572 ProductionVariantInstanceTypeMlM5d4xlarge = "ml.m5d.4xlarge" 89573 89574 // ProductionVariantInstanceTypeMlM5d12xlarge is a ProductionVariantInstanceType enum value 89575 ProductionVariantInstanceTypeMlM5d12xlarge = "ml.m5d.12xlarge" 89576 89577 // ProductionVariantInstanceTypeMlM5d24xlarge is a ProductionVariantInstanceType enum value 89578 ProductionVariantInstanceTypeMlM5d24xlarge = "ml.m5d.24xlarge" 89579 89580 // ProductionVariantInstanceTypeMlC4Large is a ProductionVariantInstanceType enum value 89581 ProductionVariantInstanceTypeMlC4Large = "ml.c4.large" 89582 89583 // ProductionVariantInstanceTypeMlC4Xlarge is a ProductionVariantInstanceType enum value 89584 ProductionVariantInstanceTypeMlC4Xlarge = "ml.c4.xlarge" 89585 89586 // ProductionVariantInstanceTypeMlC42xlarge is a ProductionVariantInstanceType enum value 89587 ProductionVariantInstanceTypeMlC42xlarge = "ml.c4.2xlarge" 89588 89589 // ProductionVariantInstanceTypeMlC44xlarge is a ProductionVariantInstanceType enum value 89590 ProductionVariantInstanceTypeMlC44xlarge = "ml.c4.4xlarge" 89591 89592 // ProductionVariantInstanceTypeMlC48xlarge is a ProductionVariantInstanceType enum value 89593 ProductionVariantInstanceTypeMlC48xlarge = "ml.c4.8xlarge" 89594 89595 // ProductionVariantInstanceTypeMlP2Xlarge is a ProductionVariantInstanceType enum value 89596 ProductionVariantInstanceTypeMlP2Xlarge = "ml.p2.xlarge" 89597 89598 // ProductionVariantInstanceTypeMlP28xlarge is a ProductionVariantInstanceType enum value 89599 ProductionVariantInstanceTypeMlP28xlarge = "ml.p2.8xlarge" 89600 89601 // ProductionVariantInstanceTypeMlP216xlarge is a ProductionVariantInstanceType enum value 89602 ProductionVariantInstanceTypeMlP216xlarge = "ml.p2.16xlarge" 89603 89604 // ProductionVariantInstanceTypeMlP32xlarge is a ProductionVariantInstanceType enum value 89605 ProductionVariantInstanceTypeMlP32xlarge = "ml.p3.2xlarge" 89606 89607 // ProductionVariantInstanceTypeMlP38xlarge is a ProductionVariantInstanceType enum value 89608 ProductionVariantInstanceTypeMlP38xlarge = "ml.p3.8xlarge" 89609 89610 // ProductionVariantInstanceTypeMlP316xlarge is a ProductionVariantInstanceType enum value 89611 ProductionVariantInstanceTypeMlP316xlarge = "ml.p3.16xlarge" 89612 89613 // ProductionVariantInstanceTypeMlC5Large is a ProductionVariantInstanceType enum value 89614 ProductionVariantInstanceTypeMlC5Large = "ml.c5.large" 89615 89616 // ProductionVariantInstanceTypeMlC5Xlarge is a ProductionVariantInstanceType enum value 89617 ProductionVariantInstanceTypeMlC5Xlarge = "ml.c5.xlarge" 89618 89619 // ProductionVariantInstanceTypeMlC52xlarge is a ProductionVariantInstanceType enum value 89620 ProductionVariantInstanceTypeMlC52xlarge = "ml.c5.2xlarge" 89621 89622 // ProductionVariantInstanceTypeMlC54xlarge is a ProductionVariantInstanceType enum value 89623 ProductionVariantInstanceTypeMlC54xlarge = "ml.c5.4xlarge" 89624 89625 // ProductionVariantInstanceTypeMlC59xlarge is a ProductionVariantInstanceType enum value 89626 ProductionVariantInstanceTypeMlC59xlarge = "ml.c5.9xlarge" 89627 89628 // ProductionVariantInstanceTypeMlC518xlarge is a ProductionVariantInstanceType enum value 89629 ProductionVariantInstanceTypeMlC518xlarge = "ml.c5.18xlarge" 89630 89631 // ProductionVariantInstanceTypeMlC5dLarge is a ProductionVariantInstanceType enum value 89632 ProductionVariantInstanceTypeMlC5dLarge = "ml.c5d.large" 89633 89634 // ProductionVariantInstanceTypeMlC5dXlarge is a ProductionVariantInstanceType enum value 89635 ProductionVariantInstanceTypeMlC5dXlarge = "ml.c5d.xlarge" 89636 89637 // ProductionVariantInstanceTypeMlC5d2xlarge is a ProductionVariantInstanceType enum value 89638 ProductionVariantInstanceTypeMlC5d2xlarge = "ml.c5d.2xlarge" 89639 89640 // ProductionVariantInstanceTypeMlC5d4xlarge is a ProductionVariantInstanceType enum value 89641 ProductionVariantInstanceTypeMlC5d4xlarge = "ml.c5d.4xlarge" 89642 89643 // ProductionVariantInstanceTypeMlC5d9xlarge is a ProductionVariantInstanceType enum value 89644 ProductionVariantInstanceTypeMlC5d9xlarge = "ml.c5d.9xlarge" 89645 89646 // ProductionVariantInstanceTypeMlC5d18xlarge is a ProductionVariantInstanceType enum value 89647 ProductionVariantInstanceTypeMlC5d18xlarge = "ml.c5d.18xlarge" 89648 89649 // ProductionVariantInstanceTypeMlG4dnXlarge is a ProductionVariantInstanceType enum value 89650 ProductionVariantInstanceTypeMlG4dnXlarge = "ml.g4dn.xlarge" 89651 89652 // ProductionVariantInstanceTypeMlG4dn2xlarge is a ProductionVariantInstanceType enum value 89653 ProductionVariantInstanceTypeMlG4dn2xlarge = "ml.g4dn.2xlarge" 89654 89655 // ProductionVariantInstanceTypeMlG4dn4xlarge is a ProductionVariantInstanceType enum value 89656 ProductionVariantInstanceTypeMlG4dn4xlarge = "ml.g4dn.4xlarge" 89657 89658 // ProductionVariantInstanceTypeMlG4dn8xlarge is a ProductionVariantInstanceType enum value 89659 ProductionVariantInstanceTypeMlG4dn8xlarge = "ml.g4dn.8xlarge" 89660 89661 // ProductionVariantInstanceTypeMlG4dn12xlarge is a ProductionVariantInstanceType enum value 89662 ProductionVariantInstanceTypeMlG4dn12xlarge = "ml.g4dn.12xlarge" 89663 89664 // ProductionVariantInstanceTypeMlG4dn16xlarge is a ProductionVariantInstanceType enum value 89665 ProductionVariantInstanceTypeMlG4dn16xlarge = "ml.g4dn.16xlarge" 89666 89667 // ProductionVariantInstanceTypeMlR5Large is a ProductionVariantInstanceType enum value 89668 ProductionVariantInstanceTypeMlR5Large = "ml.r5.large" 89669 89670 // ProductionVariantInstanceTypeMlR5Xlarge is a ProductionVariantInstanceType enum value 89671 ProductionVariantInstanceTypeMlR5Xlarge = "ml.r5.xlarge" 89672 89673 // ProductionVariantInstanceTypeMlR52xlarge is a ProductionVariantInstanceType enum value 89674 ProductionVariantInstanceTypeMlR52xlarge = "ml.r5.2xlarge" 89675 89676 // ProductionVariantInstanceTypeMlR54xlarge is a ProductionVariantInstanceType enum value 89677 ProductionVariantInstanceTypeMlR54xlarge = "ml.r5.4xlarge" 89678 89679 // ProductionVariantInstanceTypeMlR512xlarge is a ProductionVariantInstanceType enum value 89680 ProductionVariantInstanceTypeMlR512xlarge = "ml.r5.12xlarge" 89681 89682 // ProductionVariantInstanceTypeMlR524xlarge is a ProductionVariantInstanceType enum value 89683 ProductionVariantInstanceTypeMlR524xlarge = "ml.r5.24xlarge" 89684 89685 // ProductionVariantInstanceTypeMlR5dLarge is a ProductionVariantInstanceType enum value 89686 ProductionVariantInstanceTypeMlR5dLarge = "ml.r5d.large" 89687 89688 // ProductionVariantInstanceTypeMlR5dXlarge is a ProductionVariantInstanceType enum value 89689 ProductionVariantInstanceTypeMlR5dXlarge = "ml.r5d.xlarge" 89690 89691 // ProductionVariantInstanceTypeMlR5d2xlarge is a ProductionVariantInstanceType enum value 89692 ProductionVariantInstanceTypeMlR5d2xlarge = "ml.r5d.2xlarge" 89693 89694 // ProductionVariantInstanceTypeMlR5d4xlarge is a ProductionVariantInstanceType enum value 89695 ProductionVariantInstanceTypeMlR5d4xlarge = "ml.r5d.4xlarge" 89696 89697 // ProductionVariantInstanceTypeMlR5d12xlarge is a ProductionVariantInstanceType enum value 89698 ProductionVariantInstanceTypeMlR5d12xlarge = "ml.r5d.12xlarge" 89699 89700 // ProductionVariantInstanceTypeMlR5d24xlarge is a ProductionVariantInstanceType enum value 89701 ProductionVariantInstanceTypeMlR5d24xlarge = "ml.r5d.24xlarge" 89702 89703 // ProductionVariantInstanceTypeMlInf1Xlarge is a ProductionVariantInstanceType enum value 89704 ProductionVariantInstanceTypeMlInf1Xlarge = "ml.inf1.xlarge" 89705 89706 // ProductionVariantInstanceTypeMlInf12xlarge is a ProductionVariantInstanceType enum value 89707 ProductionVariantInstanceTypeMlInf12xlarge = "ml.inf1.2xlarge" 89708 89709 // ProductionVariantInstanceTypeMlInf16xlarge is a ProductionVariantInstanceType enum value 89710 ProductionVariantInstanceTypeMlInf16xlarge = "ml.inf1.6xlarge" 89711 89712 // ProductionVariantInstanceTypeMlInf124xlarge is a ProductionVariantInstanceType enum value 89713 ProductionVariantInstanceTypeMlInf124xlarge = "ml.inf1.24xlarge" 89714 ) 89715 89716 // ProductionVariantInstanceType_Values returns all elements of the ProductionVariantInstanceType enum 89717 func ProductionVariantInstanceType_Values() []string { 89718 return []string{ 89719 ProductionVariantInstanceTypeMlT2Medium, 89720 ProductionVariantInstanceTypeMlT2Large, 89721 ProductionVariantInstanceTypeMlT2Xlarge, 89722 ProductionVariantInstanceTypeMlT22xlarge, 89723 ProductionVariantInstanceTypeMlM4Xlarge, 89724 ProductionVariantInstanceTypeMlM42xlarge, 89725 ProductionVariantInstanceTypeMlM44xlarge, 89726 ProductionVariantInstanceTypeMlM410xlarge, 89727 ProductionVariantInstanceTypeMlM416xlarge, 89728 ProductionVariantInstanceTypeMlM5Large, 89729 ProductionVariantInstanceTypeMlM5Xlarge, 89730 ProductionVariantInstanceTypeMlM52xlarge, 89731 ProductionVariantInstanceTypeMlM54xlarge, 89732 ProductionVariantInstanceTypeMlM512xlarge, 89733 ProductionVariantInstanceTypeMlM524xlarge, 89734 ProductionVariantInstanceTypeMlM5dLarge, 89735 ProductionVariantInstanceTypeMlM5dXlarge, 89736 ProductionVariantInstanceTypeMlM5d2xlarge, 89737 ProductionVariantInstanceTypeMlM5d4xlarge, 89738 ProductionVariantInstanceTypeMlM5d12xlarge, 89739 ProductionVariantInstanceTypeMlM5d24xlarge, 89740 ProductionVariantInstanceTypeMlC4Large, 89741 ProductionVariantInstanceTypeMlC4Xlarge, 89742 ProductionVariantInstanceTypeMlC42xlarge, 89743 ProductionVariantInstanceTypeMlC44xlarge, 89744 ProductionVariantInstanceTypeMlC48xlarge, 89745 ProductionVariantInstanceTypeMlP2Xlarge, 89746 ProductionVariantInstanceTypeMlP28xlarge, 89747 ProductionVariantInstanceTypeMlP216xlarge, 89748 ProductionVariantInstanceTypeMlP32xlarge, 89749 ProductionVariantInstanceTypeMlP38xlarge, 89750 ProductionVariantInstanceTypeMlP316xlarge, 89751 ProductionVariantInstanceTypeMlC5Large, 89752 ProductionVariantInstanceTypeMlC5Xlarge, 89753 ProductionVariantInstanceTypeMlC52xlarge, 89754 ProductionVariantInstanceTypeMlC54xlarge, 89755 ProductionVariantInstanceTypeMlC59xlarge, 89756 ProductionVariantInstanceTypeMlC518xlarge, 89757 ProductionVariantInstanceTypeMlC5dLarge, 89758 ProductionVariantInstanceTypeMlC5dXlarge, 89759 ProductionVariantInstanceTypeMlC5d2xlarge, 89760 ProductionVariantInstanceTypeMlC5d4xlarge, 89761 ProductionVariantInstanceTypeMlC5d9xlarge, 89762 ProductionVariantInstanceTypeMlC5d18xlarge, 89763 ProductionVariantInstanceTypeMlG4dnXlarge, 89764 ProductionVariantInstanceTypeMlG4dn2xlarge, 89765 ProductionVariantInstanceTypeMlG4dn4xlarge, 89766 ProductionVariantInstanceTypeMlG4dn8xlarge, 89767 ProductionVariantInstanceTypeMlG4dn12xlarge, 89768 ProductionVariantInstanceTypeMlG4dn16xlarge, 89769 ProductionVariantInstanceTypeMlR5Large, 89770 ProductionVariantInstanceTypeMlR5Xlarge, 89771 ProductionVariantInstanceTypeMlR52xlarge, 89772 ProductionVariantInstanceTypeMlR54xlarge, 89773 ProductionVariantInstanceTypeMlR512xlarge, 89774 ProductionVariantInstanceTypeMlR524xlarge, 89775 ProductionVariantInstanceTypeMlR5dLarge, 89776 ProductionVariantInstanceTypeMlR5dXlarge, 89777 ProductionVariantInstanceTypeMlR5d2xlarge, 89778 ProductionVariantInstanceTypeMlR5d4xlarge, 89779 ProductionVariantInstanceTypeMlR5d12xlarge, 89780 ProductionVariantInstanceTypeMlR5d24xlarge, 89781 ProductionVariantInstanceTypeMlInf1Xlarge, 89782 ProductionVariantInstanceTypeMlInf12xlarge, 89783 ProductionVariantInstanceTypeMlInf16xlarge, 89784 ProductionVariantInstanceTypeMlInf124xlarge, 89785 } 89786 } 89787 89788 const ( 89789 // ProfilingStatusEnabled is a ProfilingStatus enum value 89790 ProfilingStatusEnabled = "Enabled" 89791 89792 // ProfilingStatusDisabled is a ProfilingStatus enum value 89793 ProfilingStatusDisabled = "Disabled" 89794 ) 89795 89796 // ProfilingStatus_Values returns all elements of the ProfilingStatus enum 89797 func ProfilingStatus_Values() []string { 89798 return []string{ 89799 ProfilingStatusEnabled, 89800 ProfilingStatusDisabled, 89801 } 89802 } 89803 89804 const ( 89805 // ProjectSortByName is a ProjectSortBy enum value 89806 ProjectSortByName = "Name" 89807 89808 // ProjectSortByCreationTime is a ProjectSortBy enum value 89809 ProjectSortByCreationTime = "CreationTime" 89810 ) 89811 89812 // ProjectSortBy_Values returns all elements of the ProjectSortBy enum 89813 func ProjectSortBy_Values() []string { 89814 return []string{ 89815 ProjectSortByName, 89816 ProjectSortByCreationTime, 89817 } 89818 } 89819 89820 const ( 89821 // ProjectSortOrderAscending is a ProjectSortOrder enum value 89822 ProjectSortOrderAscending = "Ascending" 89823 89824 // ProjectSortOrderDescending is a ProjectSortOrder enum value 89825 ProjectSortOrderDescending = "Descending" 89826 ) 89827 89828 // ProjectSortOrder_Values returns all elements of the ProjectSortOrder enum 89829 func ProjectSortOrder_Values() []string { 89830 return []string{ 89831 ProjectSortOrderAscending, 89832 ProjectSortOrderDescending, 89833 } 89834 } 89835 89836 const ( 89837 // ProjectStatusPending is a ProjectStatus enum value 89838 ProjectStatusPending = "Pending" 89839 89840 // ProjectStatusCreateInProgress is a ProjectStatus enum value 89841 ProjectStatusCreateInProgress = "CreateInProgress" 89842 89843 // ProjectStatusCreateCompleted is a ProjectStatus enum value 89844 ProjectStatusCreateCompleted = "CreateCompleted" 89845 89846 // ProjectStatusCreateFailed is a ProjectStatus enum value 89847 ProjectStatusCreateFailed = "CreateFailed" 89848 89849 // ProjectStatusDeleteInProgress is a ProjectStatus enum value 89850 ProjectStatusDeleteInProgress = "DeleteInProgress" 89851 89852 // ProjectStatusDeleteFailed is a ProjectStatus enum value 89853 ProjectStatusDeleteFailed = "DeleteFailed" 89854 89855 // ProjectStatusDeleteCompleted is a ProjectStatus enum value 89856 ProjectStatusDeleteCompleted = "DeleteCompleted" 89857 ) 89858 89859 // ProjectStatus_Values returns all elements of the ProjectStatus enum 89860 func ProjectStatus_Values() []string { 89861 return []string{ 89862 ProjectStatusPending, 89863 ProjectStatusCreateInProgress, 89864 ProjectStatusCreateCompleted, 89865 ProjectStatusCreateFailed, 89866 ProjectStatusDeleteInProgress, 89867 ProjectStatusDeleteFailed, 89868 ProjectStatusDeleteCompleted, 89869 } 89870 } 89871 89872 const ( 89873 // RecordWrapperNone is a RecordWrapper enum value 89874 RecordWrapperNone = "None" 89875 89876 // RecordWrapperRecordIo is a RecordWrapper enum value 89877 RecordWrapperRecordIo = "RecordIO" 89878 ) 89879 89880 // RecordWrapper_Values returns all elements of the RecordWrapper enum 89881 func RecordWrapper_Values() []string { 89882 return []string{ 89883 RecordWrapperNone, 89884 RecordWrapperRecordIo, 89885 } 89886 } 89887 89888 // The compression used for Redshift query results. 89889 const ( 89890 // RedshiftResultCompressionTypeNone is a RedshiftResultCompressionType enum value 89891 RedshiftResultCompressionTypeNone = "None" 89892 89893 // RedshiftResultCompressionTypeGzip is a RedshiftResultCompressionType enum value 89894 RedshiftResultCompressionTypeGzip = "GZIP" 89895 89896 // RedshiftResultCompressionTypeBzip2 is a RedshiftResultCompressionType enum value 89897 RedshiftResultCompressionTypeBzip2 = "BZIP2" 89898 89899 // RedshiftResultCompressionTypeZstd is a RedshiftResultCompressionType enum value 89900 RedshiftResultCompressionTypeZstd = "ZSTD" 89901 89902 // RedshiftResultCompressionTypeSnappy is a RedshiftResultCompressionType enum value 89903 RedshiftResultCompressionTypeSnappy = "SNAPPY" 89904 ) 89905 89906 // RedshiftResultCompressionType_Values returns all elements of the RedshiftResultCompressionType enum 89907 func RedshiftResultCompressionType_Values() []string { 89908 return []string{ 89909 RedshiftResultCompressionTypeNone, 89910 RedshiftResultCompressionTypeGzip, 89911 RedshiftResultCompressionTypeBzip2, 89912 RedshiftResultCompressionTypeZstd, 89913 RedshiftResultCompressionTypeSnappy, 89914 } 89915 } 89916 89917 // The data storage format for Redshift query results. 89918 const ( 89919 // RedshiftResultFormatParquet is a RedshiftResultFormat enum value 89920 RedshiftResultFormatParquet = "PARQUET" 89921 89922 // RedshiftResultFormatCsv is a RedshiftResultFormat enum value 89923 RedshiftResultFormatCsv = "CSV" 89924 ) 89925 89926 // RedshiftResultFormat_Values returns all elements of the RedshiftResultFormat enum 89927 func RedshiftResultFormat_Values() []string { 89928 return []string{ 89929 RedshiftResultFormatParquet, 89930 RedshiftResultFormatCsv, 89931 } 89932 } 89933 89934 const ( 89935 // RepositoryAccessModePlatform is a RepositoryAccessMode enum value 89936 RepositoryAccessModePlatform = "Platform" 89937 89938 // RepositoryAccessModeVpc is a RepositoryAccessMode enum value 89939 RepositoryAccessModeVpc = "Vpc" 89940 ) 89941 89942 // RepositoryAccessMode_Values returns all elements of the RepositoryAccessMode enum 89943 func RepositoryAccessMode_Values() []string { 89944 return []string{ 89945 RepositoryAccessModePlatform, 89946 RepositoryAccessModeVpc, 89947 } 89948 } 89949 89950 const ( 89951 // ResourceTypeTrainingJob is a ResourceType enum value 89952 ResourceTypeTrainingJob = "TrainingJob" 89953 89954 // ResourceTypeExperiment is a ResourceType enum value 89955 ResourceTypeExperiment = "Experiment" 89956 89957 // ResourceTypeExperimentTrial is a ResourceType enum value 89958 ResourceTypeExperimentTrial = "ExperimentTrial" 89959 89960 // ResourceTypeExperimentTrialComponent is a ResourceType enum value 89961 ResourceTypeExperimentTrialComponent = "ExperimentTrialComponent" 89962 89963 // ResourceTypeEndpoint is a ResourceType enum value 89964 ResourceTypeEndpoint = "Endpoint" 89965 89966 // ResourceTypeModelPackage is a ResourceType enum value 89967 ResourceTypeModelPackage = "ModelPackage" 89968 89969 // ResourceTypeModelPackageGroup is a ResourceType enum value 89970 ResourceTypeModelPackageGroup = "ModelPackageGroup" 89971 89972 // ResourceTypePipeline is a ResourceType enum value 89973 ResourceTypePipeline = "Pipeline" 89974 89975 // ResourceTypePipelineExecution is a ResourceType enum value 89976 ResourceTypePipelineExecution = "PipelineExecution" 89977 89978 // ResourceTypeFeatureGroup is a ResourceType enum value 89979 ResourceTypeFeatureGroup = "FeatureGroup" 89980 89981 // ResourceTypeProject is a ResourceType enum value 89982 ResourceTypeProject = "Project" 89983 ) 89984 89985 // ResourceType_Values returns all elements of the ResourceType enum 89986 func ResourceType_Values() []string { 89987 return []string{ 89988 ResourceTypeTrainingJob, 89989 ResourceTypeExperiment, 89990 ResourceTypeExperimentTrial, 89991 ResourceTypeExperimentTrialComponent, 89992 ResourceTypeEndpoint, 89993 ResourceTypeModelPackage, 89994 ResourceTypeModelPackageGroup, 89995 ResourceTypePipeline, 89996 ResourceTypePipelineExecution, 89997 ResourceTypeFeatureGroup, 89998 ResourceTypeProject, 89999 } 90000 } 90001 90002 const ( 90003 // RetentionTypeRetain is a RetentionType enum value 90004 RetentionTypeRetain = "Retain" 90005 90006 // RetentionTypeDelete is a RetentionType enum value 90007 RetentionTypeDelete = "Delete" 90008 ) 90009 90010 // RetentionType_Values returns all elements of the RetentionType enum 90011 func RetentionType_Values() []string { 90012 return []string{ 90013 RetentionTypeRetain, 90014 RetentionTypeDelete, 90015 } 90016 } 90017 90018 const ( 90019 // RootAccessEnabled is a RootAccess enum value 90020 RootAccessEnabled = "Enabled" 90021 90022 // RootAccessDisabled is a RootAccess enum value 90023 RootAccessDisabled = "Disabled" 90024 ) 90025 90026 // RootAccess_Values returns all elements of the RootAccess enum 90027 func RootAccess_Values() []string { 90028 return []string{ 90029 RootAccessEnabled, 90030 RootAccessDisabled, 90031 } 90032 } 90033 90034 const ( 90035 // RuleEvaluationStatusInProgress is a RuleEvaluationStatus enum value 90036 RuleEvaluationStatusInProgress = "InProgress" 90037 90038 // RuleEvaluationStatusNoIssuesFound is a RuleEvaluationStatus enum value 90039 RuleEvaluationStatusNoIssuesFound = "NoIssuesFound" 90040 90041 // RuleEvaluationStatusIssuesFound is a RuleEvaluationStatus enum value 90042 RuleEvaluationStatusIssuesFound = "IssuesFound" 90043 90044 // RuleEvaluationStatusError is a RuleEvaluationStatus enum value 90045 RuleEvaluationStatusError = "Error" 90046 90047 // RuleEvaluationStatusStopping is a RuleEvaluationStatus enum value 90048 RuleEvaluationStatusStopping = "Stopping" 90049 90050 // RuleEvaluationStatusStopped is a RuleEvaluationStatus enum value 90051 RuleEvaluationStatusStopped = "Stopped" 90052 ) 90053 90054 // RuleEvaluationStatus_Values returns all elements of the RuleEvaluationStatus enum 90055 func RuleEvaluationStatus_Values() []string { 90056 return []string{ 90057 RuleEvaluationStatusInProgress, 90058 RuleEvaluationStatusNoIssuesFound, 90059 RuleEvaluationStatusIssuesFound, 90060 RuleEvaluationStatusError, 90061 RuleEvaluationStatusStopping, 90062 RuleEvaluationStatusStopped, 90063 } 90064 } 90065 90066 const ( 90067 // S3DataDistributionFullyReplicated is a S3DataDistribution enum value 90068 S3DataDistributionFullyReplicated = "FullyReplicated" 90069 90070 // S3DataDistributionShardedByS3key is a S3DataDistribution enum value 90071 S3DataDistributionShardedByS3key = "ShardedByS3Key" 90072 ) 90073 90074 // S3DataDistribution_Values returns all elements of the S3DataDistribution enum 90075 func S3DataDistribution_Values() []string { 90076 return []string{ 90077 S3DataDistributionFullyReplicated, 90078 S3DataDistributionShardedByS3key, 90079 } 90080 } 90081 90082 const ( 90083 // S3DataTypeManifestFile is a S3DataType enum value 90084 S3DataTypeManifestFile = "ManifestFile" 90085 90086 // S3DataTypeS3prefix is a S3DataType enum value 90087 S3DataTypeS3prefix = "S3Prefix" 90088 90089 // S3DataTypeAugmentedManifestFile is a S3DataType enum value 90090 S3DataTypeAugmentedManifestFile = "AugmentedManifestFile" 90091 ) 90092 90093 // S3DataType_Values returns all elements of the S3DataType enum 90094 func S3DataType_Values() []string { 90095 return []string{ 90096 S3DataTypeManifestFile, 90097 S3DataTypeS3prefix, 90098 S3DataTypeAugmentedManifestFile, 90099 } 90100 } 90101 90102 const ( 90103 // SagemakerServicecatalogStatusEnabled is a SagemakerServicecatalogStatus enum value 90104 SagemakerServicecatalogStatusEnabled = "Enabled" 90105 90106 // SagemakerServicecatalogStatusDisabled is a SagemakerServicecatalogStatus enum value 90107 SagemakerServicecatalogStatusDisabled = "Disabled" 90108 ) 90109 90110 // SagemakerServicecatalogStatus_Values returns all elements of the SagemakerServicecatalogStatus enum 90111 func SagemakerServicecatalogStatus_Values() []string { 90112 return []string{ 90113 SagemakerServicecatalogStatusEnabled, 90114 SagemakerServicecatalogStatusDisabled, 90115 } 90116 } 90117 90118 const ( 90119 // ScheduleStatusPending is a ScheduleStatus enum value 90120 ScheduleStatusPending = "Pending" 90121 90122 // ScheduleStatusFailed is a ScheduleStatus enum value 90123 ScheduleStatusFailed = "Failed" 90124 90125 // ScheduleStatusScheduled is a ScheduleStatus enum value 90126 ScheduleStatusScheduled = "Scheduled" 90127 90128 // ScheduleStatusStopped is a ScheduleStatus enum value 90129 ScheduleStatusStopped = "Stopped" 90130 ) 90131 90132 // ScheduleStatus_Values returns all elements of the ScheduleStatus enum 90133 func ScheduleStatus_Values() []string { 90134 return []string{ 90135 ScheduleStatusPending, 90136 ScheduleStatusFailed, 90137 ScheduleStatusScheduled, 90138 ScheduleStatusStopped, 90139 } 90140 } 90141 90142 const ( 90143 // SearchSortOrderAscending is a SearchSortOrder enum value 90144 SearchSortOrderAscending = "Ascending" 90145 90146 // SearchSortOrderDescending is a SearchSortOrder enum value 90147 SearchSortOrderDescending = "Descending" 90148 ) 90149 90150 // SearchSortOrder_Values returns all elements of the SearchSortOrder enum 90151 func SearchSortOrder_Values() []string { 90152 return []string{ 90153 SearchSortOrderAscending, 90154 SearchSortOrderDescending, 90155 } 90156 } 90157 90158 const ( 90159 // SecondaryStatusStarting is a SecondaryStatus enum value 90160 SecondaryStatusStarting = "Starting" 90161 90162 // SecondaryStatusLaunchingMlinstances is a SecondaryStatus enum value 90163 SecondaryStatusLaunchingMlinstances = "LaunchingMLInstances" 90164 90165 // SecondaryStatusPreparingTrainingStack is a SecondaryStatus enum value 90166 SecondaryStatusPreparingTrainingStack = "PreparingTrainingStack" 90167 90168 // SecondaryStatusDownloading is a SecondaryStatus enum value 90169 SecondaryStatusDownloading = "Downloading" 90170 90171 // SecondaryStatusDownloadingTrainingImage is a SecondaryStatus enum value 90172 SecondaryStatusDownloadingTrainingImage = "DownloadingTrainingImage" 90173 90174 // SecondaryStatusTraining is a SecondaryStatus enum value 90175 SecondaryStatusTraining = "Training" 90176 90177 // SecondaryStatusUploading is a SecondaryStatus enum value 90178 SecondaryStatusUploading = "Uploading" 90179 90180 // SecondaryStatusStopping is a SecondaryStatus enum value 90181 SecondaryStatusStopping = "Stopping" 90182 90183 // SecondaryStatusStopped is a SecondaryStatus enum value 90184 SecondaryStatusStopped = "Stopped" 90185 90186 // SecondaryStatusMaxRuntimeExceeded is a SecondaryStatus enum value 90187 SecondaryStatusMaxRuntimeExceeded = "MaxRuntimeExceeded" 90188 90189 // SecondaryStatusCompleted is a SecondaryStatus enum value 90190 SecondaryStatusCompleted = "Completed" 90191 90192 // SecondaryStatusFailed is a SecondaryStatus enum value 90193 SecondaryStatusFailed = "Failed" 90194 90195 // SecondaryStatusInterrupted is a SecondaryStatus enum value 90196 SecondaryStatusInterrupted = "Interrupted" 90197 90198 // SecondaryStatusMaxWaitTimeExceeded is a SecondaryStatus enum value 90199 SecondaryStatusMaxWaitTimeExceeded = "MaxWaitTimeExceeded" 90200 90201 // SecondaryStatusUpdating is a SecondaryStatus enum value 90202 SecondaryStatusUpdating = "Updating" 90203 90204 // SecondaryStatusRestarting is a SecondaryStatus enum value 90205 SecondaryStatusRestarting = "Restarting" 90206 ) 90207 90208 // SecondaryStatus_Values returns all elements of the SecondaryStatus enum 90209 func SecondaryStatus_Values() []string { 90210 return []string{ 90211 SecondaryStatusStarting, 90212 SecondaryStatusLaunchingMlinstances, 90213 SecondaryStatusPreparingTrainingStack, 90214 SecondaryStatusDownloading, 90215 SecondaryStatusDownloadingTrainingImage, 90216 SecondaryStatusTraining, 90217 SecondaryStatusUploading, 90218 SecondaryStatusStopping, 90219 SecondaryStatusStopped, 90220 SecondaryStatusMaxRuntimeExceeded, 90221 SecondaryStatusCompleted, 90222 SecondaryStatusFailed, 90223 SecondaryStatusInterrupted, 90224 SecondaryStatusMaxWaitTimeExceeded, 90225 SecondaryStatusUpdating, 90226 SecondaryStatusRestarting, 90227 } 90228 } 90229 90230 const ( 90231 // SortActionsByName is a SortActionsBy enum value 90232 SortActionsByName = "Name" 90233 90234 // SortActionsByCreationTime is a SortActionsBy enum value 90235 SortActionsByCreationTime = "CreationTime" 90236 ) 90237 90238 // SortActionsBy_Values returns all elements of the SortActionsBy enum 90239 func SortActionsBy_Values() []string { 90240 return []string{ 90241 SortActionsByName, 90242 SortActionsByCreationTime, 90243 } 90244 } 90245 90246 const ( 90247 // SortArtifactsByCreationTime is a SortArtifactsBy enum value 90248 SortArtifactsByCreationTime = "CreationTime" 90249 ) 90250 90251 // SortArtifactsBy_Values returns all elements of the SortArtifactsBy enum 90252 func SortArtifactsBy_Values() []string { 90253 return []string{ 90254 SortArtifactsByCreationTime, 90255 } 90256 } 90257 90258 const ( 90259 // SortAssociationsBySourceArn is a SortAssociationsBy enum value 90260 SortAssociationsBySourceArn = "SourceArn" 90261 90262 // SortAssociationsByDestinationArn is a SortAssociationsBy enum value 90263 SortAssociationsByDestinationArn = "DestinationArn" 90264 90265 // SortAssociationsBySourceType is a SortAssociationsBy enum value 90266 SortAssociationsBySourceType = "SourceType" 90267 90268 // SortAssociationsByDestinationType is a SortAssociationsBy enum value 90269 SortAssociationsByDestinationType = "DestinationType" 90270 90271 // SortAssociationsByCreationTime is a SortAssociationsBy enum value 90272 SortAssociationsByCreationTime = "CreationTime" 90273 ) 90274 90275 // SortAssociationsBy_Values returns all elements of the SortAssociationsBy enum 90276 func SortAssociationsBy_Values() []string { 90277 return []string{ 90278 SortAssociationsBySourceArn, 90279 SortAssociationsByDestinationArn, 90280 SortAssociationsBySourceType, 90281 SortAssociationsByDestinationType, 90282 SortAssociationsByCreationTime, 90283 } 90284 } 90285 90286 const ( 90287 // SortByName is a SortBy enum value 90288 SortByName = "Name" 90289 90290 // SortByCreationTime is a SortBy enum value 90291 SortByCreationTime = "CreationTime" 90292 90293 // SortByStatus is a SortBy enum value 90294 SortByStatus = "Status" 90295 ) 90296 90297 // SortBy_Values returns all elements of the SortBy enum 90298 func SortBy_Values() []string { 90299 return []string{ 90300 SortByName, 90301 SortByCreationTime, 90302 SortByStatus, 90303 } 90304 } 90305 90306 const ( 90307 // SortContextsByName is a SortContextsBy enum value 90308 SortContextsByName = "Name" 90309 90310 // SortContextsByCreationTime is a SortContextsBy enum value 90311 SortContextsByCreationTime = "CreationTime" 90312 ) 90313 90314 // SortContextsBy_Values returns all elements of the SortContextsBy enum 90315 func SortContextsBy_Values() []string { 90316 return []string{ 90317 SortContextsByName, 90318 SortContextsByCreationTime, 90319 } 90320 } 90321 90322 const ( 90323 // SortExperimentsByName is a SortExperimentsBy enum value 90324 SortExperimentsByName = "Name" 90325 90326 // SortExperimentsByCreationTime is a SortExperimentsBy enum value 90327 SortExperimentsByCreationTime = "CreationTime" 90328 ) 90329 90330 // SortExperimentsBy_Values returns all elements of the SortExperimentsBy enum 90331 func SortExperimentsBy_Values() []string { 90332 return []string{ 90333 SortExperimentsByName, 90334 SortExperimentsByCreationTime, 90335 } 90336 } 90337 90338 const ( 90339 // SortOrderAscending is a SortOrder enum value 90340 SortOrderAscending = "Ascending" 90341 90342 // SortOrderDescending is a SortOrder enum value 90343 SortOrderDescending = "Descending" 90344 ) 90345 90346 // SortOrder_Values returns all elements of the SortOrder enum 90347 func SortOrder_Values() []string { 90348 return []string{ 90349 SortOrderAscending, 90350 SortOrderDescending, 90351 } 90352 } 90353 90354 const ( 90355 // SortPipelineExecutionsByCreationTime is a SortPipelineExecutionsBy enum value 90356 SortPipelineExecutionsByCreationTime = "CreationTime" 90357 90358 // SortPipelineExecutionsByPipelineExecutionArn is a SortPipelineExecutionsBy enum value 90359 SortPipelineExecutionsByPipelineExecutionArn = "PipelineExecutionArn" 90360 ) 90361 90362 // SortPipelineExecutionsBy_Values returns all elements of the SortPipelineExecutionsBy enum 90363 func SortPipelineExecutionsBy_Values() []string { 90364 return []string{ 90365 SortPipelineExecutionsByCreationTime, 90366 SortPipelineExecutionsByPipelineExecutionArn, 90367 } 90368 } 90369 90370 const ( 90371 // SortPipelinesByName is a SortPipelinesBy enum value 90372 SortPipelinesByName = "Name" 90373 90374 // SortPipelinesByCreationTime is a SortPipelinesBy enum value 90375 SortPipelinesByCreationTime = "CreationTime" 90376 ) 90377 90378 // SortPipelinesBy_Values returns all elements of the SortPipelinesBy enum 90379 func SortPipelinesBy_Values() []string { 90380 return []string{ 90381 SortPipelinesByName, 90382 SortPipelinesByCreationTime, 90383 } 90384 } 90385 90386 const ( 90387 // SortTrialComponentsByName is a SortTrialComponentsBy enum value 90388 SortTrialComponentsByName = "Name" 90389 90390 // SortTrialComponentsByCreationTime is a SortTrialComponentsBy enum value 90391 SortTrialComponentsByCreationTime = "CreationTime" 90392 ) 90393 90394 // SortTrialComponentsBy_Values returns all elements of the SortTrialComponentsBy enum 90395 func SortTrialComponentsBy_Values() []string { 90396 return []string{ 90397 SortTrialComponentsByName, 90398 SortTrialComponentsByCreationTime, 90399 } 90400 } 90401 90402 const ( 90403 // SortTrialsByName is a SortTrialsBy enum value 90404 SortTrialsByName = "Name" 90405 90406 // SortTrialsByCreationTime is a SortTrialsBy enum value 90407 SortTrialsByCreationTime = "CreationTime" 90408 ) 90409 90410 // SortTrialsBy_Values returns all elements of the SortTrialsBy enum 90411 func SortTrialsBy_Values() []string { 90412 return []string{ 90413 SortTrialsByName, 90414 SortTrialsByCreationTime, 90415 } 90416 } 90417 90418 const ( 90419 // SplitTypeNone is a SplitType enum value 90420 SplitTypeNone = "None" 90421 90422 // SplitTypeLine is a SplitType enum value 90423 SplitTypeLine = "Line" 90424 90425 // SplitTypeRecordIo is a SplitType enum value 90426 SplitTypeRecordIo = "RecordIO" 90427 90428 // SplitTypeTfrecord is a SplitType enum value 90429 SplitTypeTfrecord = "TFRecord" 90430 ) 90431 90432 // SplitType_Values returns all elements of the SplitType enum 90433 func SplitType_Values() []string { 90434 return []string{ 90435 SplitTypeNone, 90436 SplitTypeLine, 90437 SplitTypeRecordIo, 90438 SplitTypeTfrecord, 90439 } 90440 } 90441 90442 const ( 90443 // StepStatusStarting is a StepStatus enum value 90444 StepStatusStarting = "Starting" 90445 90446 // StepStatusExecuting is a StepStatus enum value 90447 StepStatusExecuting = "Executing" 90448 90449 // StepStatusStopping is a StepStatus enum value 90450 StepStatusStopping = "Stopping" 90451 90452 // StepStatusStopped is a StepStatus enum value 90453 StepStatusStopped = "Stopped" 90454 90455 // StepStatusFailed is a StepStatus enum value 90456 StepStatusFailed = "Failed" 90457 90458 // StepStatusSucceeded is a StepStatus enum value 90459 StepStatusSucceeded = "Succeeded" 90460 ) 90461 90462 // StepStatus_Values returns all elements of the StepStatus enum 90463 func StepStatus_Values() []string { 90464 return []string{ 90465 StepStatusStarting, 90466 StepStatusExecuting, 90467 StepStatusStopping, 90468 StepStatusStopped, 90469 StepStatusFailed, 90470 StepStatusSucceeded, 90471 } 90472 } 90473 90474 const ( 90475 // StudioLifecycleConfigAppTypeJupyterServer is a StudioLifecycleConfigAppType enum value 90476 StudioLifecycleConfigAppTypeJupyterServer = "JupyterServer" 90477 90478 // StudioLifecycleConfigAppTypeKernelGateway is a StudioLifecycleConfigAppType enum value 90479 StudioLifecycleConfigAppTypeKernelGateway = "KernelGateway" 90480 ) 90481 90482 // StudioLifecycleConfigAppType_Values returns all elements of the StudioLifecycleConfigAppType enum 90483 func StudioLifecycleConfigAppType_Values() []string { 90484 return []string{ 90485 StudioLifecycleConfigAppTypeJupyterServer, 90486 StudioLifecycleConfigAppTypeKernelGateway, 90487 } 90488 } 90489 90490 const ( 90491 // StudioLifecycleConfigSortKeyCreationTime is a StudioLifecycleConfigSortKey enum value 90492 StudioLifecycleConfigSortKeyCreationTime = "CreationTime" 90493 90494 // StudioLifecycleConfigSortKeyLastModifiedTime is a StudioLifecycleConfigSortKey enum value 90495 StudioLifecycleConfigSortKeyLastModifiedTime = "LastModifiedTime" 90496 90497 // StudioLifecycleConfigSortKeyName is a StudioLifecycleConfigSortKey enum value 90498 StudioLifecycleConfigSortKeyName = "Name" 90499 ) 90500 90501 // StudioLifecycleConfigSortKey_Values returns all elements of the StudioLifecycleConfigSortKey enum 90502 func StudioLifecycleConfigSortKey_Values() []string { 90503 return []string{ 90504 StudioLifecycleConfigSortKeyCreationTime, 90505 StudioLifecycleConfigSortKeyLastModifiedTime, 90506 StudioLifecycleConfigSortKeyName, 90507 } 90508 } 90509 90510 const ( 90511 // TargetDeviceLambda is a TargetDevice enum value 90512 TargetDeviceLambda = "lambda" 90513 90514 // TargetDeviceMlM4 is a TargetDevice enum value 90515 TargetDeviceMlM4 = "ml_m4" 90516 90517 // TargetDeviceMlM5 is a TargetDevice enum value 90518 TargetDeviceMlM5 = "ml_m5" 90519 90520 // TargetDeviceMlC4 is a TargetDevice enum value 90521 TargetDeviceMlC4 = "ml_c4" 90522 90523 // TargetDeviceMlC5 is a TargetDevice enum value 90524 TargetDeviceMlC5 = "ml_c5" 90525 90526 // TargetDeviceMlP2 is a TargetDevice enum value 90527 TargetDeviceMlP2 = "ml_p2" 90528 90529 // TargetDeviceMlP3 is a TargetDevice enum value 90530 TargetDeviceMlP3 = "ml_p3" 90531 90532 // TargetDeviceMlG4dn is a TargetDevice enum value 90533 TargetDeviceMlG4dn = "ml_g4dn" 90534 90535 // TargetDeviceMlInf1 is a TargetDevice enum value 90536 TargetDeviceMlInf1 = "ml_inf1" 90537 90538 // TargetDeviceMlEia2 is a TargetDevice enum value 90539 TargetDeviceMlEia2 = "ml_eia2" 90540 90541 // TargetDeviceJetsonTx1 is a TargetDevice enum value 90542 TargetDeviceJetsonTx1 = "jetson_tx1" 90543 90544 // TargetDeviceJetsonTx2 is a TargetDevice enum value 90545 TargetDeviceJetsonTx2 = "jetson_tx2" 90546 90547 // TargetDeviceJetsonNano is a TargetDevice enum value 90548 TargetDeviceJetsonNano = "jetson_nano" 90549 90550 // TargetDeviceJetsonXavier is a TargetDevice enum value 90551 TargetDeviceJetsonXavier = "jetson_xavier" 90552 90553 // TargetDeviceRasp3b is a TargetDevice enum value 90554 TargetDeviceRasp3b = "rasp3b" 90555 90556 // TargetDeviceImx8qm is a TargetDevice enum value 90557 TargetDeviceImx8qm = "imx8qm" 90558 90559 // TargetDeviceDeeplens is a TargetDevice enum value 90560 TargetDeviceDeeplens = "deeplens" 90561 90562 // TargetDeviceRk3399 is a TargetDevice enum value 90563 TargetDeviceRk3399 = "rk3399" 90564 90565 // TargetDeviceRk3288 is a TargetDevice enum value 90566 TargetDeviceRk3288 = "rk3288" 90567 90568 // TargetDeviceAisage is a TargetDevice enum value 90569 TargetDeviceAisage = "aisage" 90570 90571 // TargetDeviceSbeC is a TargetDevice enum value 90572 TargetDeviceSbeC = "sbe_c" 90573 90574 // TargetDeviceQcs605 is a TargetDevice enum value 90575 TargetDeviceQcs605 = "qcs605" 90576 90577 // TargetDeviceQcs603 is a TargetDevice enum value 90578 TargetDeviceQcs603 = "qcs603" 90579 90580 // TargetDeviceSitaraAm57x is a TargetDevice enum value 90581 TargetDeviceSitaraAm57x = "sitara_am57x" 90582 90583 // TargetDeviceAmbaCv22 is a TargetDevice enum value 90584 TargetDeviceAmbaCv22 = "amba_cv22" 90585 90586 // TargetDeviceAmbaCv25 is a TargetDevice enum value 90587 TargetDeviceAmbaCv25 = "amba_cv25" 90588 90589 // TargetDeviceX86Win32 is a TargetDevice enum value 90590 TargetDeviceX86Win32 = "x86_win32" 90591 90592 // TargetDeviceX86Win64 is a TargetDevice enum value 90593 TargetDeviceX86Win64 = "x86_win64" 90594 90595 // TargetDeviceCoreml is a TargetDevice enum value 90596 TargetDeviceCoreml = "coreml" 90597 90598 // TargetDeviceJacintoTda4vm is a TargetDevice enum value 90599 TargetDeviceJacintoTda4vm = "jacinto_tda4vm" 90600 90601 // TargetDeviceImx8mplus is a TargetDevice enum value 90602 TargetDeviceImx8mplus = "imx8mplus" 90603 ) 90604 90605 // TargetDevice_Values returns all elements of the TargetDevice enum 90606 func TargetDevice_Values() []string { 90607 return []string{ 90608 TargetDeviceLambda, 90609 TargetDeviceMlM4, 90610 TargetDeviceMlM5, 90611 TargetDeviceMlC4, 90612 TargetDeviceMlC5, 90613 TargetDeviceMlP2, 90614 TargetDeviceMlP3, 90615 TargetDeviceMlG4dn, 90616 TargetDeviceMlInf1, 90617 TargetDeviceMlEia2, 90618 TargetDeviceJetsonTx1, 90619 TargetDeviceJetsonTx2, 90620 TargetDeviceJetsonNano, 90621 TargetDeviceJetsonXavier, 90622 TargetDeviceRasp3b, 90623 TargetDeviceImx8qm, 90624 TargetDeviceDeeplens, 90625 TargetDeviceRk3399, 90626 TargetDeviceRk3288, 90627 TargetDeviceAisage, 90628 TargetDeviceSbeC, 90629 TargetDeviceQcs605, 90630 TargetDeviceQcs603, 90631 TargetDeviceSitaraAm57x, 90632 TargetDeviceAmbaCv22, 90633 TargetDeviceAmbaCv25, 90634 TargetDeviceX86Win32, 90635 TargetDeviceX86Win64, 90636 TargetDeviceCoreml, 90637 TargetDeviceJacintoTda4vm, 90638 TargetDeviceImx8mplus, 90639 } 90640 } 90641 90642 const ( 90643 // TargetPlatformAcceleratorIntelGraphics is a TargetPlatformAccelerator enum value 90644 TargetPlatformAcceleratorIntelGraphics = "INTEL_GRAPHICS" 90645 90646 // TargetPlatformAcceleratorMali is a TargetPlatformAccelerator enum value 90647 TargetPlatformAcceleratorMali = "MALI" 90648 90649 // TargetPlatformAcceleratorNvidia is a TargetPlatformAccelerator enum value 90650 TargetPlatformAcceleratorNvidia = "NVIDIA" 90651 ) 90652 90653 // TargetPlatformAccelerator_Values returns all elements of the TargetPlatformAccelerator enum 90654 func TargetPlatformAccelerator_Values() []string { 90655 return []string{ 90656 TargetPlatformAcceleratorIntelGraphics, 90657 TargetPlatformAcceleratorMali, 90658 TargetPlatformAcceleratorNvidia, 90659 } 90660 } 90661 90662 const ( 90663 // TargetPlatformArchX8664 is a TargetPlatformArch enum value 90664 TargetPlatformArchX8664 = "X86_64" 90665 90666 // TargetPlatformArchX86 is a TargetPlatformArch enum value 90667 TargetPlatformArchX86 = "X86" 90668 90669 // TargetPlatformArchArm64 is a TargetPlatformArch enum value 90670 TargetPlatformArchArm64 = "ARM64" 90671 90672 // TargetPlatformArchArmEabi is a TargetPlatformArch enum value 90673 TargetPlatformArchArmEabi = "ARM_EABI" 90674 90675 // TargetPlatformArchArmEabihf is a TargetPlatformArch enum value 90676 TargetPlatformArchArmEabihf = "ARM_EABIHF" 90677 ) 90678 90679 // TargetPlatformArch_Values returns all elements of the TargetPlatformArch enum 90680 func TargetPlatformArch_Values() []string { 90681 return []string{ 90682 TargetPlatformArchX8664, 90683 TargetPlatformArchX86, 90684 TargetPlatformArchArm64, 90685 TargetPlatformArchArmEabi, 90686 TargetPlatformArchArmEabihf, 90687 } 90688 } 90689 90690 const ( 90691 // TargetPlatformOsAndroid is a TargetPlatformOs enum value 90692 TargetPlatformOsAndroid = "ANDROID" 90693 90694 // TargetPlatformOsLinux is a TargetPlatformOs enum value 90695 TargetPlatformOsLinux = "LINUX" 90696 ) 90697 90698 // TargetPlatformOs_Values returns all elements of the TargetPlatformOs enum 90699 func TargetPlatformOs_Values() []string { 90700 return []string{ 90701 TargetPlatformOsAndroid, 90702 TargetPlatformOsLinux, 90703 } 90704 } 90705 90706 const ( 90707 // TrafficRoutingConfigTypeAllAtOnce is a TrafficRoutingConfigType enum value 90708 TrafficRoutingConfigTypeAllAtOnce = "ALL_AT_ONCE" 90709 90710 // TrafficRoutingConfigTypeCanary is a TrafficRoutingConfigType enum value 90711 TrafficRoutingConfigTypeCanary = "CANARY" 90712 ) 90713 90714 // TrafficRoutingConfigType_Values returns all elements of the TrafficRoutingConfigType enum 90715 func TrafficRoutingConfigType_Values() []string { 90716 return []string{ 90717 TrafficRoutingConfigTypeAllAtOnce, 90718 TrafficRoutingConfigTypeCanary, 90719 } 90720 } 90721 90722 // The training input mode that the algorithm supports. For more information 90723 // about input modes, see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html). 90724 // 90725 // Pipe mode 90726 // 90727 // If an algorithm supports Pipe mode, Amazon SageMaker streams data directly 90728 // from Amazon S3 to the container. 90729 // 90730 // File mode 90731 // 90732 // If an algorithm supports File mode, SageMaker downloads the training data 90733 // from S3 to the provisioned ML storage volume, and mounts the directory to 90734 // the Docker volume for the training container. 90735 // 90736 // You must provision the ML storage volume with sufficient capacity to accommodate 90737 // the data downloaded from S3. In addition to the training data, the ML storage 90738 // volume also stores the output model. The algorithm container uses the ML 90739 // storage volume to also store intermediate information, if any. 90740 // 90741 // For distributed algorithms, training data is distributed uniformly. Your 90742 // training duration is predictable if the input data objects sizes are approximately 90743 // the same. SageMaker does not split the files any further for model training. 90744 // If the object sizes are skewed, training won't be optimal as the data distribution 90745 // is also skewed when one host in a training cluster is overloaded, thus becoming 90746 // a bottleneck in training. 90747 // 90748 // FastFile mode 90749 // 90750 // If an algorithm supports FastFile mode, SageMaker streams data directly from 90751 // S3 to the container with no code changes, and provides file system access 90752 // to the data. Users can author their training script to interact with these 90753 // files as if they were stored on disk. 90754 // 90755 // FastFile mode works best when the data is read sequentially. Augmented manifest 90756 // files aren't supported. The startup time is lower when there are fewer files 90757 // in the S3 bucket provided. 90758 const ( 90759 // TrainingInputModePipe is a TrainingInputMode enum value 90760 TrainingInputModePipe = "Pipe" 90761 90762 // TrainingInputModeFile is a TrainingInputMode enum value 90763 TrainingInputModeFile = "File" 90764 90765 // TrainingInputModeFastFile is a TrainingInputMode enum value 90766 TrainingInputModeFastFile = "FastFile" 90767 ) 90768 90769 // TrainingInputMode_Values returns all elements of the TrainingInputMode enum 90770 func TrainingInputMode_Values() []string { 90771 return []string{ 90772 TrainingInputModePipe, 90773 TrainingInputModeFile, 90774 TrainingInputModeFastFile, 90775 } 90776 } 90777 90778 const ( 90779 // TrainingInstanceTypeMlM4Xlarge is a TrainingInstanceType enum value 90780 TrainingInstanceTypeMlM4Xlarge = "ml.m4.xlarge" 90781 90782 // TrainingInstanceTypeMlM42xlarge is a TrainingInstanceType enum value 90783 TrainingInstanceTypeMlM42xlarge = "ml.m4.2xlarge" 90784 90785 // TrainingInstanceTypeMlM44xlarge is a TrainingInstanceType enum value 90786 TrainingInstanceTypeMlM44xlarge = "ml.m4.4xlarge" 90787 90788 // TrainingInstanceTypeMlM410xlarge is a TrainingInstanceType enum value 90789 TrainingInstanceTypeMlM410xlarge = "ml.m4.10xlarge" 90790 90791 // TrainingInstanceTypeMlM416xlarge is a TrainingInstanceType enum value 90792 TrainingInstanceTypeMlM416xlarge = "ml.m4.16xlarge" 90793 90794 // TrainingInstanceTypeMlG4dnXlarge is a TrainingInstanceType enum value 90795 TrainingInstanceTypeMlG4dnXlarge = "ml.g4dn.xlarge" 90796 90797 // TrainingInstanceTypeMlG4dn2xlarge is a TrainingInstanceType enum value 90798 TrainingInstanceTypeMlG4dn2xlarge = "ml.g4dn.2xlarge" 90799 90800 // TrainingInstanceTypeMlG4dn4xlarge is a TrainingInstanceType enum value 90801 TrainingInstanceTypeMlG4dn4xlarge = "ml.g4dn.4xlarge" 90802 90803 // TrainingInstanceTypeMlG4dn8xlarge is a TrainingInstanceType enum value 90804 TrainingInstanceTypeMlG4dn8xlarge = "ml.g4dn.8xlarge" 90805 90806 // TrainingInstanceTypeMlG4dn12xlarge is a TrainingInstanceType enum value 90807 TrainingInstanceTypeMlG4dn12xlarge = "ml.g4dn.12xlarge" 90808 90809 // TrainingInstanceTypeMlG4dn16xlarge is a TrainingInstanceType enum value 90810 TrainingInstanceTypeMlG4dn16xlarge = "ml.g4dn.16xlarge" 90811 90812 // TrainingInstanceTypeMlM5Large is a TrainingInstanceType enum value 90813 TrainingInstanceTypeMlM5Large = "ml.m5.large" 90814 90815 // TrainingInstanceTypeMlM5Xlarge is a TrainingInstanceType enum value 90816 TrainingInstanceTypeMlM5Xlarge = "ml.m5.xlarge" 90817 90818 // TrainingInstanceTypeMlM52xlarge is a TrainingInstanceType enum value 90819 TrainingInstanceTypeMlM52xlarge = "ml.m5.2xlarge" 90820 90821 // TrainingInstanceTypeMlM54xlarge is a TrainingInstanceType enum value 90822 TrainingInstanceTypeMlM54xlarge = "ml.m5.4xlarge" 90823 90824 // TrainingInstanceTypeMlM512xlarge is a TrainingInstanceType enum value 90825 TrainingInstanceTypeMlM512xlarge = "ml.m5.12xlarge" 90826 90827 // TrainingInstanceTypeMlM524xlarge is a TrainingInstanceType enum value 90828 TrainingInstanceTypeMlM524xlarge = "ml.m5.24xlarge" 90829 90830 // TrainingInstanceTypeMlC4Xlarge is a TrainingInstanceType enum value 90831 TrainingInstanceTypeMlC4Xlarge = "ml.c4.xlarge" 90832 90833 // TrainingInstanceTypeMlC42xlarge is a TrainingInstanceType enum value 90834 TrainingInstanceTypeMlC42xlarge = "ml.c4.2xlarge" 90835 90836 // TrainingInstanceTypeMlC44xlarge is a TrainingInstanceType enum value 90837 TrainingInstanceTypeMlC44xlarge = "ml.c4.4xlarge" 90838 90839 // TrainingInstanceTypeMlC48xlarge is a TrainingInstanceType enum value 90840 TrainingInstanceTypeMlC48xlarge = "ml.c4.8xlarge" 90841 90842 // TrainingInstanceTypeMlP2Xlarge is a TrainingInstanceType enum value 90843 TrainingInstanceTypeMlP2Xlarge = "ml.p2.xlarge" 90844 90845 // TrainingInstanceTypeMlP28xlarge is a TrainingInstanceType enum value 90846 TrainingInstanceTypeMlP28xlarge = "ml.p2.8xlarge" 90847 90848 // TrainingInstanceTypeMlP216xlarge is a TrainingInstanceType enum value 90849 TrainingInstanceTypeMlP216xlarge = "ml.p2.16xlarge" 90850 90851 // TrainingInstanceTypeMlP32xlarge is a TrainingInstanceType enum value 90852 TrainingInstanceTypeMlP32xlarge = "ml.p3.2xlarge" 90853 90854 // TrainingInstanceTypeMlP38xlarge is a TrainingInstanceType enum value 90855 TrainingInstanceTypeMlP38xlarge = "ml.p3.8xlarge" 90856 90857 // TrainingInstanceTypeMlP316xlarge is a TrainingInstanceType enum value 90858 TrainingInstanceTypeMlP316xlarge = "ml.p3.16xlarge" 90859 90860 // TrainingInstanceTypeMlP3dn24xlarge is a TrainingInstanceType enum value 90861 TrainingInstanceTypeMlP3dn24xlarge = "ml.p3dn.24xlarge" 90862 90863 // TrainingInstanceTypeMlP4d24xlarge is a TrainingInstanceType enum value 90864 TrainingInstanceTypeMlP4d24xlarge = "ml.p4d.24xlarge" 90865 90866 // TrainingInstanceTypeMlC5Xlarge is a TrainingInstanceType enum value 90867 TrainingInstanceTypeMlC5Xlarge = "ml.c5.xlarge" 90868 90869 // TrainingInstanceTypeMlC52xlarge is a TrainingInstanceType enum value 90870 TrainingInstanceTypeMlC52xlarge = "ml.c5.2xlarge" 90871 90872 // TrainingInstanceTypeMlC54xlarge is a TrainingInstanceType enum value 90873 TrainingInstanceTypeMlC54xlarge = "ml.c5.4xlarge" 90874 90875 // TrainingInstanceTypeMlC59xlarge is a TrainingInstanceType enum value 90876 TrainingInstanceTypeMlC59xlarge = "ml.c5.9xlarge" 90877 90878 // TrainingInstanceTypeMlC518xlarge is a TrainingInstanceType enum value 90879 TrainingInstanceTypeMlC518xlarge = "ml.c5.18xlarge" 90880 90881 // TrainingInstanceTypeMlC5nXlarge is a TrainingInstanceType enum value 90882 TrainingInstanceTypeMlC5nXlarge = "ml.c5n.xlarge" 90883 90884 // TrainingInstanceTypeMlC5n2xlarge is a TrainingInstanceType enum value 90885 TrainingInstanceTypeMlC5n2xlarge = "ml.c5n.2xlarge" 90886 90887 // TrainingInstanceTypeMlC5n4xlarge is a TrainingInstanceType enum value 90888 TrainingInstanceTypeMlC5n4xlarge = "ml.c5n.4xlarge" 90889 90890 // TrainingInstanceTypeMlC5n9xlarge is a TrainingInstanceType enum value 90891 TrainingInstanceTypeMlC5n9xlarge = "ml.c5n.9xlarge" 90892 90893 // TrainingInstanceTypeMlC5n18xlarge is a TrainingInstanceType enum value 90894 TrainingInstanceTypeMlC5n18xlarge = "ml.c5n.18xlarge" 90895 ) 90896 90897 // TrainingInstanceType_Values returns all elements of the TrainingInstanceType enum 90898 func TrainingInstanceType_Values() []string { 90899 return []string{ 90900 TrainingInstanceTypeMlM4Xlarge, 90901 TrainingInstanceTypeMlM42xlarge, 90902 TrainingInstanceTypeMlM44xlarge, 90903 TrainingInstanceTypeMlM410xlarge, 90904 TrainingInstanceTypeMlM416xlarge, 90905 TrainingInstanceTypeMlG4dnXlarge, 90906 TrainingInstanceTypeMlG4dn2xlarge, 90907 TrainingInstanceTypeMlG4dn4xlarge, 90908 TrainingInstanceTypeMlG4dn8xlarge, 90909 TrainingInstanceTypeMlG4dn12xlarge, 90910 TrainingInstanceTypeMlG4dn16xlarge, 90911 TrainingInstanceTypeMlM5Large, 90912 TrainingInstanceTypeMlM5Xlarge, 90913 TrainingInstanceTypeMlM52xlarge, 90914 TrainingInstanceTypeMlM54xlarge, 90915 TrainingInstanceTypeMlM512xlarge, 90916 TrainingInstanceTypeMlM524xlarge, 90917 TrainingInstanceTypeMlC4Xlarge, 90918 TrainingInstanceTypeMlC42xlarge, 90919 TrainingInstanceTypeMlC44xlarge, 90920 TrainingInstanceTypeMlC48xlarge, 90921 TrainingInstanceTypeMlP2Xlarge, 90922 TrainingInstanceTypeMlP28xlarge, 90923 TrainingInstanceTypeMlP216xlarge, 90924 TrainingInstanceTypeMlP32xlarge, 90925 TrainingInstanceTypeMlP38xlarge, 90926 TrainingInstanceTypeMlP316xlarge, 90927 TrainingInstanceTypeMlP3dn24xlarge, 90928 TrainingInstanceTypeMlP4d24xlarge, 90929 TrainingInstanceTypeMlC5Xlarge, 90930 TrainingInstanceTypeMlC52xlarge, 90931 TrainingInstanceTypeMlC54xlarge, 90932 TrainingInstanceTypeMlC59xlarge, 90933 TrainingInstanceTypeMlC518xlarge, 90934 TrainingInstanceTypeMlC5nXlarge, 90935 TrainingInstanceTypeMlC5n2xlarge, 90936 TrainingInstanceTypeMlC5n4xlarge, 90937 TrainingInstanceTypeMlC5n9xlarge, 90938 TrainingInstanceTypeMlC5n18xlarge, 90939 } 90940 } 90941 90942 const ( 90943 // TrainingJobEarlyStoppingTypeOff is a TrainingJobEarlyStoppingType enum value 90944 TrainingJobEarlyStoppingTypeOff = "Off" 90945 90946 // TrainingJobEarlyStoppingTypeAuto is a TrainingJobEarlyStoppingType enum value 90947 TrainingJobEarlyStoppingTypeAuto = "Auto" 90948 ) 90949 90950 // TrainingJobEarlyStoppingType_Values returns all elements of the TrainingJobEarlyStoppingType enum 90951 func TrainingJobEarlyStoppingType_Values() []string { 90952 return []string{ 90953 TrainingJobEarlyStoppingTypeOff, 90954 TrainingJobEarlyStoppingTypeAuto, 90955 } 90956 } 90957 90958 const ( 90959 // TrainingJobSortByOptionsName is a TrainingJobSortByOptions enum value 90960 TrainingJobSortByOptionsName = "Name" 90961 90962 // TrainingJobSortByOptionsCreationTime is a TrainingJobSortByOptions enum value 90963 TrainingJobSortByOptionsCreationTime = "CreationTime" 90964 90965 // TrainingJobSortByOptionsStatus is a TrainingJobSortByOptions enum value 90966 TrainingJobSortByOptionsStatus = "Status" 90967 90968 // TrainingJobSortByOptionsFinalObjectiveMetricValue is a TrainingJobSortByOptions enum value 90969 TrainingJobSortByOptionsFinalObjectiveMetricValue = "FinalObjectiveMetricValue" 90970 ) 90971 90972 // TrainingJobSortByOptions_Values returns all elements of the TrainingJobSortByOptions enum 90973 func TrainingJobSortByOptions_Values() []string { 90974 return []string{ 90975 TrainingJobSortByOptionsName, 90976 TrainingJobSortByOptionsCreationTime, 90977 TrainingJobSortByOptionsStatus, 90978 TrainingJobSortByOptionsFinalObjectiveMetricValue, 90979 } 90980 } 90981 90982 const ( 90983 // TrainingJobStatusInProgress is a TrainingJobStatus enum value 90984 TrainingJobStatusInProgress = "InProgress" 90985 90986 // TrainingJobStatusCompleted is a TrainingJobStatus enum value 90987 TrainingJobStatusCompleted = "Completed" 90988 90989 // TrainingJobStatusFailed is a TrainingJobStatus enum value 90990 TrainingJobStatusFailed = "Failed" 90991 90992 // TrainingJobStatusStopping is a TrainingJobStatus enum value 90993 TrainingJobStatusStopping = "Stopping" 90994 90995 // TrainingJobStatusStopped is a TrainingJobStatus enum value 90996 TrainingJobStatusStopped = "Stopped" 90997 ) 90998 90999 // TrainingJobStatus_Values returns all elements of the TrainingJobStatus enum 91000 func TrainingJobStatus_Values() []string { 91001 return []string{ 91002 TrainingJobStatusInProgress, 91003 TrainingJobStatusCompleted, 91004 TrainingJobStatusFailed, 91005 TrainingJobStatusStopping, 91006 TrainingJobStatusStopped, 91007 } 91008 } 91009 91010 const ( 91011 // TransformInstanceTypeMlM4Xlarge is a TransformInstanceType enum value 91012 TransformInstanceTypeMlM4Xlarge = "ml.m4.xlarge" 91013 91014 // TransformInstanceTypeMlM42xlarge is a TransformInstanceType enum value 91015 TransformInstanceTypeMlM42xlarge = "ml.m4.2xlarge" 91016 91017 // TransformInstanceTypeMlM44xlarge is a TransformInstanceType enum value 91018 TransformInstanceTypeMlM44xlarge = "ml.m4.4xlarge" 91019 91020 // TransformInstanceTypeMlM410xlarge is a TransformInstanceType enum value 91021 TransformInstanceTypeMlM410xlarge = "ml.m4.10xlarge" 91022 91023 // TransformInstanceTypeMlM416xlarge is a TransformInstanceType enum value 91024 TransformInstanceTypeMlM416xlarge = "ml.m4.16xlarge" 91025 91026 // TransformInstanceTypeMlC4Xlarge is a TransformInstanceType enum value 91027 TransformInstanceTypeMlC4Xlarge = "ml.c4.xlarge" 91028 91029 // TransformInstanceTypeMlC42xlarge is a TransformInstanceType enum value 91030 TransformInstanceTypeMlC42xlarge = "ml.c4.2xlarge" 91031 91032 // TransformInstanceTypeMlC44xlarge is a TransformInstanceType enum value 91033 TransformInstanceTypeMlC44xlarge = "ml.c4.4xlarge" 91034 91035 // TransformInstanceTypeMlC48xlarge is a TransformInstanceType enum value 91036 TransformInstanceTypeMlC48xlarge = "ml.c4.8xlarge" 91037 91038 // TransformInstanceTypeMlP2Xlarge is a TransformInstanceType enum value 91039 TransformInstanceTypeMlP2Xlarge = "ml.p2.xlarge" 91040 91041 // TransformInstanceTypeMlP28xlarge is a TransformInstanceType enum value 91042 TransformInstanceTypeMlP28xlarge = "ml.p2.8xlarge" 91043 91044 // TransformInstanceTypeMlP216xlarge is a TransformInstanceType enum value 91045 TransformInstanceTypeMlP216xlarge = "ml.p2.16xlarge" 91046 91047 // TransformInstanceTypeMlP32xlarge is a TransformInstanceType enum value 91048 TransformInstanceTypeMlP32xlarge = "ml.p3.2xlarge" 91049 91050 // TransformInstanceTypeMlP38xlarge is a TransformInstanceType enum value 91051 TransformInstanceTypeMlP38xlarge = "ml.p3.8xlarge" 91052 91053 // TransformInstanceTypeMlP316xlarge is a TransformInstanceType enum value 91054 TransformInstanceTypeMlP316xlarge = "ml.p3.16xlarge" 91055 91056 // TransformInstanceTypeMlC5Xlarge is a TransformInstanceType enum value 91057 TransformInstanceTypeMlC5Xlarge = "ml.c5.xlarge" 91058 91059 // TransformInstanceTypeMlC52xlarge is a TransformInstanceType enum value 91060 TransformInstanceTypeMlC52xlarge = "ml.c5.2xlarge" 91061 91062 // TransformInstanceTypeMlC54xlarge is a TransformInstanceType enum value 91063 TransformInstanceTypeMlC54xlarge = "ml.c5.4xlarge" 91064 91065 // TransformInstanceTypeMlC59xlarge is a TransformInstanceType enum value 91066 TransformInstanceTypeMlC59xlarge = "ml.c5.9xlarge" 91067 91068 // TransformInstanceTypeMlC518xlarge is a TransformInstanceType enum value 91069 TransformInstanceTypeMlC518xlarge = "ml.c5.18xlarge" 91070 91071 // TransformInstanceTypeMlM5Large is a TransformInstanceType enum value 91072 TransformInstanceTypeMlM5Large = "ml.m5.large" 91073 91074 // TransformInstanceTypeMlM5Xlarge is a TransformInstanceType enum value 91075 TransformInstanceTypeMlM5Xlarge = "ml.m5.xlarge" 91076 91077 // TransformInstanceTypeMlM52xlarge is a TransformInstanceType enum value 91078 TransformInstanceTypeMlM52xlarge = "ml.m5.2xlarge" 91079 91080 // TransformInstanceTypeMlM54xlarge is a TransformInstanceType enum value 91081 TransformInstanceTypeMlM54xlarge = "ml.m5.4xlarge" 91082 91083 // TransformInstanceTypeMlM512xlarge is a TransformInstanceType enum value 91084 TransformInstanceTypeMlM512xlarge = "ml.m5.12xlarge" 91085 91086 // TransformInstanceTypeMlM524xlarge is a TransformInstanceType enum value 91087 TransformInstanceTypeMlM524xlarge = "ml.m5.24xlarge" 91088 91089 // TransformInstanceTypeMlG4dnXlarge is a TransformInstanceType enum value 91090 TransformInstanceTypeMlG4dnXlarge = "ml.g4dn.xlarge" 91091 91092 // TransformInstanceTypeMlG4dn2xlarge is a TransformInstanceType enum value 91093 TransformInstanceTypeMlG4dn2xlarge = "ml.g4dn.2xlarge" 91094 91095 // TransformInstanceTypeMlG4dn4xlarge is a TransformInstanceType enum value 91096 TransformInstanceTypeMlG4dn4xlarge = "ml.g4dn.4xlarge" 91097 91098 // TransformInstanceTypeMlG4dn8xlarge is a TransformInstanceType enum value 91099 TransformInstanceTypeMlG4dn8xlarge = "ml.g4dn.8xlarge" 91100 91101 // TransformInstanceTypeMlG4dn12xlarge is a TransformInstanceType enum value 91102 TransformInstanceTypeMlG4dn12xlarge = "ml.g4dn.12xlarge" 91103 91104 // TransformInstanceTypeMlG4dn16xlarge is a TransformInstanceType enum value 91105 TransformInstanceTypeMlG4dn16xlarge = "ml.g4dn.16xlarge" 91106 ) 91107 91108 // TransformInstanceType_Values returns all elements of the TransformInstanceType enum 91109 func TransformInstanceType_Values() []string { 91110 return []string{ 91111 TransformInstanceTypeMlM4Xlarge, 91112 TransformInstanceTypeMlM42xlarge, 91113 TransformInstanceTypeMlM44xlarge, 91114 TransformInstanceTypeMlM410xlarge, 91115 TransformInstanceTypeMlM416xlarge, 91116 TransformInstanceTypeMlC4Xlarge, 91117 TransformInstanceTypeMlC42xlarge, 91118 TransformInstanceTypeMlC44xlarge, 91119 TransformInstanceTypeMlC48xlarge, 91120 TransformInstanceTypeMlP2Xlarge, 91121 TransformInstanceTypeMlP28xlarge, 91122 TransformInstanceTypeMlP216xlarge, 91123 TransformInstanceTypeMlP32xlarge, 91124 TransformInstanceTypeMlP38xlarge, 91125 TransformInstanceTypeMlP316xlarge, 91126 TransformInstanceTypeMlC5Xlarge, 91127 TransformInstanceTypeMlC52xlarge, 91128 TransformInstanceTypeMlC54xlarge, 91129 TransformInstanceTypeMlC59xlarge, 91130 TransformInstanceTypeMlC518xlarge, 91131 TransformInstanceTypeMlM5Large, 91132 TransformInstanceTypeMlM5Xlarge, 91133 TransformInstanceTypeMlM52xlarge, 91134 TransformInstanceTypeMlM54xlarge, 91135 TransformInstanceTypeMlM512xlarge, 91136 TransformInstanceTypeMlM524xlarge, 91137 TransformInstanceTypeMlG4dnXlarge, 91138 TransformInstanceTypeMlG4dn2xlarge, 91139 TransformInstanceTypeMlG4dn4xlarge, 91140 TransformInstanceTypeMlG4dn8xlarge, 91141 TransformInstanceTypeMlG4dn12xlarge, 91142 TransformInstanceTypeMlG4dn16xlarge, 91143 } 91144 } 91145 91146 const ( 91147 // TransformJobStatusInProgress is a TransformJobStatus enum value 91148 TransformJobStatusInProgress = "InProgress" 91149 91150 // TransformJobStatusCompleted is a TransformJobStatus enum value 91151 TransformJobStatusCompleted = "Completed" 91152 91153 // TransformJobStatusFailed is a TransformJobStatus enum value 91154 TransformJobStatusFailed = "Failed" 91155 91156 // TransformJobStatusStopping is a TransformJobStatus enum value 91157 TransformJobStatusStopping = "Stopping" 91158 91159 // TransformJobStatusStopped is a TransformJobStatus enum value 91160 TransformJobStatusStopped = "Stopped" 91161 ) 91162 91163 // TransformJobStatus_Values returns all elements of the TransformJobStatus enum 91164 func TransformJobStatus_Values() []string { 91165 return []string{ 91166 TransformJobStatusInProgress, 91167 TransformJobStatusCompleted, 91168 TransformJobStatusFailed, 91169 TransformJobStatusStopping, 91170 TransformJobStatusStopped, 91171 } 91172 } 91173 91174 const ( 91175 // TrialComponentPrimaryStatusInProgress is a TrialComponentPrimaryStatus enum value 91176 TrialComponentPrimaryStatusInProgress = "InProgress" 91177 91178 // TrialComponentPrimaryStatusCompleted is a TrialComponentPrimaryStatus enum value 91179 TrialComponentPrimaryStatusCompleted = "Completed" 91180 91181 // TrialComponentPrimaryStatusFailed is a TrialComponentPrimaryStatus enum value 91182 TrialComponentPrimaryStatusFailed = "Failed" 91183 91184 // TrialComponentPrimaryStatusStopping is a TrialComponentPrimaryStatus enum value 91185 TrialComponentPrimaryStatusStopping = "Stopping" 91186 91187 // TrialComponentPrimaryStatusStopped is a TrialComponentPrimaryStatus enum value 91188 TrialComponentPrimaryStatusStopped = "Stopped" 91189 ) 91190 91191 // TrialComponentPrimaryStatus_Values returns all elements of the TrialComponentPrimaryStatus enum 91192 func TrialComponentPrimaryStatus_Values() []string { 91193 return []string{ 91194 TrialComponentPrimaryStatusInProgress, 91195 TrialComponentPrimaryStatusCompleted, 91196 TrialComponentPrimaryStatusFailed, 91197 TrialComponentPrimaryStatusStopping, 91198 TrialComponentPrimaryStatusStopped, 91199 } 91200 } 91201 91202 const ( 91203 // UserProfileSortKeyCreationTime is a UserProfileSortKey enum value 91204 UserProfileSortKeyCreationTime = "CreationTime" 91205 91206 // UserProfileSortKeyLastModifiedTime is a UserProfileSortKey enum value 91207 UserProfileSortKeyLastModifiedTime = "LastModifiedTime" 91208 ) 91209 91210 // UserProfileSortKey_Values returns all elements of the UserProfileSortKey enum 91211 func UserProfileSortKey_Values() []string { 91212 return []string{ 91213 UserProfileSortKeyCreationTime, 91214 UserProfileSortKeyLastModifiedTime, 91215 } 91216 } 91217 91218 const ( 91219 // UserProfileStatusDeleting is a UserProfileStatus enum value 91220 UserProfileStatusDeleting = "Deleting" 91221 91222 // UserProfileStatusFailed is a UserProfileStatus enum value 91223 UserProfileStatusFailed = "Failed" 91224 91225 // UserProfileStatusInService is a UserProfileStatus enum value 91226 UserProfileStatusInService = "InService" 91227 91228 // UserProfileStatusPending is a UserProfileStatus enum value 91229 UserProfileStatusPending = "Pending" 91230 91231 // UserProfileStatusUpdating is a UserProfileStatus enum value 91232 UserProfileStatusUpdating = "Updating" 91233 91234 // UserProfileStatusUpdateFailed is a UserProfileStatus enum value 91235 UserProfileStatusUpdateFailed = "Update_Failed" 91236 91237 // UserProfileStatusDeleteFailed is a UserProfileStatus enum value 91238 UserProfileStatusDeleteFailed = "Delete_Failed" 91239 ) 91240 91241 // UserProfileStatus_Values returns all elements of the UserProfileStatus enum 91242 func UserProfileStatus_Values() []string { 91243 return []string{ 91244 UserProfileStatusDeleting, 91245 UserProfileStatusFailed, 91246 UserProfileStatusInService, 91247 UserProfileStatusPending, 91248 UserProfileStatusUpdating, 91249 UserProfileStatusUpdateFailed, 91250 UserProfileStatusDeleteFailed, 91251 } 91252 } 91253 91254 const ( 91255 // VariantPropertyTypeDesiredInstanceCount is a VariantPropertyType enum value 91256 VariantPropertyTypeDesiredInstanceCount = "DesiredInstanceCount" 91257 91258 // VariantPropertyTypeDesiredWeight is a VariantPropertyType enum value 91259 VariantPropertyTypeDesiredWeight = "DesiredWeight" 91260 91261 // VariantPropertyTypeDataCaptureConfig is a VariantPropertyType enum value 91262 VariantPropertyTypeDataCaptureConfig = "DataCaptureConfig" 91263 ) 91264 91265 // VariantPropertyType_Values returns all elements of the VariantPropertyType enum 91266 func VariantPropertyType_Values() []string { 91267 return []string{ 91268 VariantPropertyTypeDesiredInstanceCount, 91269 VariantPropertyTypeDesiredWeight, 91270 VariantPropertyTypeDataCaptureConfig, 91271 } 91272 }