aws-sdk-sagemaker 1.24.0 → 1.25.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 56a4664979aea0cde45aaabf085a96ca236cb4a6
4
- data.tar.gz: 4a69d888be1a3ee5ada1f8e720d5159f3eb492dc
3
+ metadata.gz: e6bd27c06ea614ecab05a8b39bdf2ce38d277951
4
+ data.tar.gz: f7e3ab41ebe10b663a8ac94051540f3661c81e00
5
5
  SHA512:
6
- metadata.gz: b5cb17d3f6a31628591b38b0525944ec71a4989328528de51a01d9ec9536320a5f81bf540bf59722b8b729ff64ef56ee362ffc37eb3633dd94e30c9f0db55f95
7
- data.tar.gz: aa90c5e12bc1c4aa4b020b3f33d5e0aeec1f85a7168c1fd4956782efacc1fb256ed6c94a414526d0b212729a563f94ef8438ae5dee3cfb39875d96546e30d057
6
+ metadata.gz: d19a392d3650f8d7b79a3dd432917e3e5efc200ec7f7faaff9219eabffcb02cf61275ac2a14f1a9633ee26d0f63d70524f90f01d164d874b7ab65fe309703214
7
+ data.tar.gz: 85dca3867606306e7b011eb51e0d25d16c58f4817649059feab0ec5dfbaf3345358a8588b0dcc33e09289852b29256cd64772e677e5444040dc9f07499eb0b83
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-sagemaker/customizations'
43
43
  # @service
44
44
  module Aws::SageMaker
45
45
 
46
- GEM_VERSION = '1.24.0'
46
+ GEM_VERSION = '1.25.0'
47
47
 
48
48
  end
@@ -279,6 +279,386 @@ module Aws::SageMaker
279
279
  req.send_request(options)
280
280
  end
281
281
 
282
+ # Create a machine learning algorithm that you can use in Amazon
283
+ # SageMaker and list in the AWS Marketplace.
284
+ #
285
+ # @option params [required, String] :algorithm_name
286
+ # The name of the algorithm. The name must have 1 to 63 characters.
287
+ # Valid characters are a-z, A-Z, 0-9, and - (hyphen).
288
+ #
289
+ # @option params [String] :algorithm_description
290
+ # A description of the algorithm.
291
+ #
292
+ # @option params [required, Types::TrainingSpecification] :training_specification
293
+ # Specifies details about training jobs run by this algorithm, including
294
+ # the following:
295
+ #
296
+ # * The Amazon ECR path of the container and the version digest of the
297
+ # algorithm.
298
+ #
299
+ # * The hyperparameters that the algorithm supports.
300
+ #
301
+ # * The instance types that the algorithm supports for training.
302
+ #
303
+ # * Whether the algorithm supports distributed training.
304
+ #
305
+ # * The metrics that the algorithm emits to Amazon CloudWatch.
306
+ #
307
+ # * Which metrics that the algorithm emits can be used as the objective
308
+ # metric for hyperparameter tuning jobs.
309
+ #
310
+ # * The input channels that the algorithm supports for training data.
311
+ # For example, an algorithm might support `train`, `validation`, and
312
+ # `test` channels.
313
+ #
314
+ # @option params [Types::InferenceSpecification] :inference_specification
315
+ # Specifies details about inference jobs that the algorithm runs,
316
+ # including the following:
317
+ #
318
+ # * The Amazon ECR paths of containers that contain the inference code
319
+ # and model artifacts.
320
+ #
321
+ # * The instance types that the algorithm supports for transform jobs
322
+ # and real-time endpoints used for inference.
323
+ #
324
+ # * The input and output content formats that the algorithm supports for
325
+ # inference.
326
+ #
327
+ # @option params [Types::AlgorithmValidationSpecification] :validation_specification
328
+ # Specifies configurations for one or more training jobs and that Amazon
329
+ # SageMaker runs to test the algorithm's training code and, optionally,
330
+ # one or more batch transform jobs that Amazon SageMaker runs to test
331
+ # the algorithm's inference code.
332
+ #
333
+ # @option params [Boolean] :certify_for_marketplace
334
+ # Whether to certify the algorithm so that it can be listed in AWS
335
+ # Marektplace.
336
+ #
337
+ # @return [Types::CreateAlgorithmOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
338
+ #
339
+ # * {Types::CreateAlgorithmOutput#algorithm_arn #algorithm_arn} => String
340
+ #
341
+ # @example Request syntax with placeholder values
342
+ #
343
+ # resp = client.create_algorithm({
344
+ # algorithm_name: "EntityName", # required
345
+ # algorithm_description: "EntityDescription",
346
+ # training_specification: { # required
347
+ # training_image: "Image", # required
348
+ # training_image_digest: "ImageDigest",
349
+ # supported_hyper_parameters: [
350
+ # {
351
+ # name: "ParameterName", # required
352
+ # description: "EntityDescription",
353
+ # type: "Integer", # required, accepts Integer, Continuous, Categorical, FreeText
354
+ # range: {
355
+ # integer_parameter_range_specification: {
356
+ # min_value: "ParameterValue", # required
357
+ # max_value: "ParameterValue", # required
358
+ # },
359
+ # continuous_parameter_range_specification: {
360
+ # min_value: "ParameterValue", # required
361
+ # max_value: "ParameterValue", # required
362
+ # },
363
+ # categorical_parameter_range_specification: {
364
+ # values: ["ParameterValue"], # required
365
+ # },
366
+ # },
367
+ # is_tunable: false,
368
+ # is_required: false,
369
+ # default_value: "ParameterValue",
370
+ # },
371
+ # ],
372
+ # supported_training_instance_types: ["ml.m4.xlarge"], # required, accepts ml.m4.xlarge, ml.m4.2xlarge, ml.m4.4xlarge, ml.m4.10xlarge, ml.m4.16xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.12xlarge, ml.m5.24xlarge, ml.c4.xlarge, ml.c4.2xlarge, ml.c4.4xlarge, ml.c4.8xlarge, ml.p2.xlarge, ml.p2.8xlarge, ml.p2.16xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.18xlarge
373
+ # supports_distributed_training: false,
374
+ # metric_definitions: [
375
+ # {
376
+ # name: "MetricName", # required
377
+ # regex: "MetricRegex", # required
378
+ # },
379
+ # ],
380
+ # training_channels: [ # required
381
+ # {
382
+ # name: "ChannelName", # required
383
+ # description: "EntityDescription",
384
+ # is_required: false,
385
+ # supported_content_types: ["ContentType"], # required
386
+ # supported_compression_types: ["None"], # accepts None, Gzip
387
+ # supported_input_modes: ["Pipe"], # required, accepts Pipe, File
388
+ # },
389
+ # ],
390
+ # supported_tuning_job_objective_metrics: [
391
+ # {
392
+ # type: "Maximize", # required, accepts Maximize, Minimize
393
+ # metric_name: "MetricName", # required
394
+ # },
395
+ # ],
396
+ # },
397
+ # inference_specification: {
398
+ # containers: [ # required
399
+ # {
400
+ # container_hostname: "ContainerHostname",
401
+ # image: "Image", # required
402
+ # image_digest: "ImageDigest",
403
+ # model_data_url: "Url",
404
+ # product_id: "ProductId",
405
+ # },
406
+ # ],
407
+ # supported_transform_instance_types: ["ml.m4.xlarge"], # required, accepts ml.m4.xlarge, ml.m4.2xlarge, ml.m4.4xlarge, ml.m4.10xlarge, ml.m4.16xlarge, ml.c4.xlarge, ml.c4.2xlarge, ml.c4.4xlarge, ml.c4.8xlarge, ml.p2.xlarge, ml.p2.8xlarge, ml.p2.16xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.18xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.12xlarge, ml.m5.24xlarge
408
+ # supported_realtime_inference_instance_types: ["ml.t2.medium"], # required, accepts ml.t2.medium, ml.t2.large, ml.t2.xlarge, ml.t2.2xlarge, ml.m4.xlarge, ml.m4.2xlarge, ml.m4.4xlarge, ml.m4.10xlarge, ml.m4.16xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.12xlarge, ml.m5.24xlarge, ml.c4.large, ml.c4.xlarge, ml.c4.2xlarge, ml.c4.4xlarge, ml.c4.8xlarge, ml.p2.xlarge, ml.p2.8xlarge, ml.p2.16xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.18xlarge
409
+ # supported_content_types: ["ContentType"], # required
410
+ # supported_response_mime_types: ["ResponseMIMEType"], # required
411
+ # },
412
+ # validation_specification: {
413
+ # validation_role: "RoleArn", # required
414
+ # validation_profiles: [ # required
415
+ # {
416
+ # profile_name: "EntityName", # required
417
+ # training_job_definition: { # required
418
+ # training_input_mode: "Pipe", # required, accepts Pipe, File
419
+ # hyper_parameters: {
420
+ # "ParameterKey" => "ParameterValue",
421
+ # },
422
+ # input_data_config: [ # required
423
+ # {
424
+ # channel_name: "ChannelName", # required
425
+ # data_source: { # required
426
+ # s3_data_source: { # required
427
+ # s3_data_type: "ManifestFile", # required, accepts ManifestFile, S3Prefix, AugmentedManifestFile
428
+ # s3_uri: "S3Uri", # required
429
+ # s3_data_distribution_type: "FullyReplicated", # accepts FullyReplicated, ShardedByS3Key
430
+ # attribute_names: ["AttributeName"],
431
+ # },
432
+ # },
433
+ # content_type: "ContentType",
434
+ # compression_type: "None", # accepts None, Gzip
435
+ # record_wrapper_type: "None", # accepts None, RecordIO
436
+ # input_mode: "Pipe", # accepts Pipe, File
437
+ # shuffle_config: {
438
+ # seed: 1, # required
439
+ # },
440
+ # },
441
+ # ],
442
+ # output_data_config: { # required
443
+ # kms_key_id: "KmsKeyId",
444
+ # s3_output_path: "S3Uri", # required
445
+ # },
446
+ # resource_config: { # required
447
+ # instance_type: "ml.m4.xlarge", # required, accepts ml.m4.xlarge, ml.m4.2xlarge, ml.m4.4xlarge, ml.m4.10xlarge, ml.m4.16xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.12xlarge, ml.m5.24xlarge, ml.c4.xlarge, ml.c4.2xlarge, ml.c4.4xlarge, ml.c4.8xlarge, ml.p2.xlarge, ml.p2.8xlarge, ml.p2.16xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.18xlarge
448
+ # instance_count: 1, # required
449
+ # volume_size_in_gb: 1, # required
450
+ # volume_kms_key_id: "KmsKeyId",
451
+ # },
452
+ # stopping_condition: { # required
453
+ # max_runtime_in_seconds: 1,
454
+ # },
455
+ # },
456
+ # transform_job_definition: {
457
+ # max_concurrent_transforms: 1,
458
+ # max_payload_in_mb: 1,
459
+ # batch_strategy: "MultiRecord", # accepts MultiRecord, SingleRecord
460
+ # environment: {
461
+ # "TransformEnvironmentKey" => "TransformEnvironmentValue",
462
+ # },
463
+ # transform_input: { # required
464
+ # data_source: { # required
465
+ # s3_data_source: { # required
466
+ # s3_data_type: "ManifestFile", # required, accepts ManifestFile, S3Prefix, AugmentedManifestFile
467
+ # s3_uri: "S3Uri", # required
468
+ # },
469
+ # },
470
+ # content_type: "ContentType",
471
+ # compression_type: "None", # accepts None, Gzip
472
+ # split_type: "None", # accepts None, Line, RecordIO
473
+ # },
474
+ # transform_output: { # required
475
+ # s3_output_path: "S3Uri", # required
476
+ # accept: "Accept",
477
+ # assemble_with: "None", # accepts None, Line
478
+ # kms_key_id: "KmsKeyId",
479
+ # },
480
+ # transform_resources: { # required
481
+ # instance_type: "ml.m4.xlarge", # required, accepts ml.m4.xlarge, ml.m4.2xlarge, ml.m4.4xlarge, ml.m4.10xlarge, ml.m4.16xlarge, ml.c4.xlarge, ml.c4.2xlarge, ml.c4.4xlarge, ml.c4.8xlarge, ml.p2.xlarge, ml.p2.8xlarge, ml.p2.16xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.18xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.12xlarge, ml.m5.24xlarge
482
+ # instance_count: 1, # required
483
+ # volume_kms_key_id: "KmsKeyId",
484
+ # },
485
+ # },
486
+ # },
487
+ # ],
488
+ # },
489
+ # certify_for_marketplace: false,
490
+ # })
491
+ #
492
+ # @example Response structure
493
+ #
494
+ # resp.algorithm_arn #=> String
495
+ #
496
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAlgorithm AWS API Documentation
497
+ #
498
+ # @overload create_algorithm(params = {})
499
+ # @param [Hash] params ({})
500
+ def create_algorithm(params = {}, options = {})
501
+ req = build_request(:create_algorithm, params)
502
+ req.send_request(options)
503
+ end
504
+
505
+ # Create a git repository as a resource in your Amazon SageMaker
506
+ # account. You can associate the repository with notebook instances so
507
+ # that you can use git source control for the notebooks you create. The
508
+ # git repository is a resource in your Amazon SageMaker account, so it
509
+ # can be associated with more than one notebook instance, and it
510
+ # persists independently from the lifecycle of any notebook instances it
511
+ # is associated with.
512
+ #
513
+ # The repository can be hosted either in [AWS CodeCommit][1] or in any
514
+ # other git repository.
515
+ #
516
+ #
517
+ #
518
+ # [1]: http://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html
519
+ #
520
+ # @option params [required, String] :code_repository_name
521
+ # The name of the git repository. The name must have 1 to 63 characters.
522
+ # Valid characters are a-z, A-Z, 0-9, and - (hyphen).
523
+ #
524
+ # @option params [required, Types::GitConfig] :git_config
525
+ # Specifies details about the repository, including the URL where the
526
+ # repository is located, the default branch, and credentials to use to
527
+ # access the repository.
528
+ #
529
+ # @return [Types::CreateCodeRepositoryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
530
+ #
531
+ # * {Types::CreateCodeRepositoryOutput#code_repository_arn #code_repository_arn} => String
532
+ #
533
+ # @example Request syntax with placeholder values
534
+ #
535
+ # resp = client.create_code_repository({
536
+ # code_repository_name: "EntityName", # required
537
+ # git_config: { # required
538
+ # repository_url: "Url", # required
539
+ # branch: "Branch",
540
+ # secret_arn: "SecretArn",
541
+ # },
542
+ # })
543
+ #
544
+ # @example Response structure
545
+ #
546
+ # resp.code_repository_arn #=> String
547
+ #
548
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateCodeRepository AWS API Documentation
549
+ #
550
+ # @overload create_code_repository(params = {})
551
+ # @param [Hash] params ({})
552
+ def create_code_repository(params = {}, options = {})
553
+ req = build_request(:create_code_repository, params)
554
+ req.send_request(options)
555
+ end
556
+
557
+ # Starts a model compilation job. After the model has been compiled,
558
+ # Amazon SageMaker saves the resulting model artifacts to an Amazon
559
+ # Simple Storage Service (Amazon S3) bucket that you specify.
560
+ #
561
+ # If you choose to host your model using Amazon SageMaker hosting
562
+ # services, you can use the resulting model artifacts as part of the
563
+ # model. You can also use the artifacts with AWS IoT Greengrass. In that
564
+ # case, deploy them as an ML resource.
565
+ #
566
+ # In the request body, you provide the following:
567
+ #
568
+ # * A name for the compilation job
569
+ #
570
+ # * Information about the input model artifacts
571
+ #
572
+ # * The output location for the compiled model and the device (target)
573
+ # that the model runs on
574
+ #
575
+ # * `The Amazon Resource Name (ARN) of the IAM role that Amazon
576
+ # SageMaker assumes to perform the model compilation job`
577
+ #
578
+ # You can also provide a `Tag` to track the model compilation job's
579
+ # resource use and costs. The response body contains the
580
+ # `CompilationJobArn` for the compiled job.
581
+ #
582
+ # To stop a model compilation job, use StopCompilationJob. To get
583
+ # information about a particular model compilation job, use
584
+ # DescribeCompilationJob. To get information about multiple model
585
+ # compilation jobs, use ListCompilationJobs.
586
+ #
587
+ # @option params [required, String] :compilation_job_name
588
+ # A name for the model compilation job. The name must be unique within
589
+ # the AWS Region and within your AWS account.
590
+ #
591
+ # @option params [required, String] :role_arn
592
+ # The Amazon Resource Name (ARN) of an IIAMAM role that enables Amazon
593
+ # SageMaker to perform tasks on your behalf.
594
+ #
595
+ # During model compilation, Amazon SageMaker needs your permission to:
596
+ #
597
+ # * Read input data from an S3 bucket
598
+ #
599
+ # * Write model artifacts to an S3 bucket
600
+ #
601
+ # * Write logs to Amazon CloudWatch Logs
602
+ #
603
+ # * Publish metrics to Amazon CloudWatch
604
+ #
605
+ # You grant permissions for all of these tasks to an IAM role. To pass
606
+ # this role to Amazon SageMaker, the caller of this API must have the
607
+ # `iam:PassRole` permission. For more information, see [Amazon SageMaker
608
+ # Roles.][1]
609
+ #
610
+ #
611
+ #
612
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html
613
+ #
614
+ # @option params [required, Types::InputConfig] :input_config
615
+ # Provides information about the location of input model artifacts, the
616
+ # name and shape of the expected data inputs, and the framework in which
617
+ # the model was trained.
618
+ #
619
+ # @option params [required, Types::OutputConfig] :output_config
620
+ # Provides information about the output location for the compiled model
621
+ # and the target device the model runs on.
622
+ #
623
+ # @option params [required, Types::StoppingCondition] :stopping_condition
624
+ # The duration allowed for model compilation.
625
+ #
626
+ # @return [Types::CreateCompilationJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
627
+ #
628
+ # * {Types::CreateCompilationJobResponse#compilation_job_arn #compilation_job_arn} => String
629
+ #
630
+ # @example Request syntax with placeholder values
631
+ #
632
+ # resp = client.create_compilation_job({
633
+ # compilation_job_name: "EntityName", # required
634
+ # role_arn: "RoleArn", # required
635
+ # input_config: { # required
636
+ # s3_uri: "S3Uri", # required
637
+ # data_input_config: "DataInputConfig", # required
638
+ # framework: "TENSORFLOW", # required, accepts TENSORFLOW, MXNET, ONNX, PYTORCH, XGBOOST
639
+ # },
640
+ # output_config: { # required
641
+ # s3_output_location: "S3Uri", # required
642
+ # target_device: "ml_m4", # required, accepts ml_m4, ml_m5, ml_c4, ml_c5, ml_p2, ml_p3, jetson_tx1, jetson_tx2, rasp3b, deeplens
643
+ # },
644
+ # stopping_condition: { # required
645
+ # max_runtime_in_seconds: 1,
646
+ # },
647
+ # })
648
+ #
649
+ # @example Response structure
650
+ #
651
+ # resp.compilation_job_arn #=> String
652
+ #
653
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateCompilationJob AWS API Documentation
654
+ #
655
+ # @overload create_compilation_job(params = {})
656
+ # @param [Hash] params ({})
657
+ def create_compilation_job(params = {}, options = {})
658
+ req = build_request(:create_compilation_job, params)
659
+ req.send_request(options)
660
+ end
661
+
282
662
  # Creates an endpoint using the endpoint configuration specified in the
283
663
  # request. Amazon SageMaker uses the endpoint to provision resources and
284
664
  # deploy models. You create the endpoint configuration with the
@@ -440,6 +820,7 @@ module Aws::SageMaker
440
820
  # initial_instance_count: 1, # required
441
821
  # instance_type: "ml.t2.medium", # required, accepts ml.t2.medium, ml.t2.large, ml.t2.xlarge, ml.t2.2xlarge, ml.m4.xlarge, ml.m4.2xlarge, ml.m4.4xlarge, ml.m4.10xlarge, ml.m4.16xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.12xlarge, ml.m5.24xlarge, ml.c4.large, ml.c4.xlarge, ml.c4.2xlarge, ml.c4.4xlarge, ml.c4.8xlarge, ml.p2.xlarge, ml.p2.8xlarge, ml.p2.16xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.18xlarge
442
822
  # initial_variant_weight: 1.0,
823
+ # accelerator_type: "ml.eia1.medium", # accepts ml.eia1.medium, ml.eia1.large, ml.eia1.xlarge
443
824
  # },
444
825
  # ],
445
826
  # tags: [
@@ -572,6 +953,7 @@ module Aws::SageMaker
572
953
  # algorithm_specification: { # required
573
954
  # training_image: "AlgorithmImage",
574
955
  # training_input_mode: "Pipe", # required, accepts Pipe, File
956
+ # algorithm_name: "ArnOrName",
575
957
  # metric_definitions: [
576
958
  # {
577
959
  # name: "MetricName", # required
@@ -585,15 +967,19 @@ module Aws::SageMaker
585
967
  # channel_name: "ChannelName", # required
586
968
  # data_source: { # required
587
969
  # s3_data_source: { # required
588
- # s3_data_type: "ManifestFile", # required, accepts ManifestFile, S3Prefix
970
+ # s3_data_type: "ManifestFile", # required, accepts ManifestFile, S3Prefix, AugmentedManifestFile
589
971
  # s3_uri: "S3Uri", # required
590
972
  # s3_data_distribution_type: "FullyReplicated", # accepts FullyReplicated, ShardedByS3Key
973
+ # attribute_names: ["AttributeName"],
591
974
  # },
592
975
  # },
593
976
  # content_type: "ContentType",
594
977
  # compression_type: "None", # accepts None, Gzip
595
978
  # record_wrapper_type: "None", # accepts None, RecordIO
596
979
  # input_mode: "Pipe", # accepts Pipe, File
980
+ # shuffle_config: {
981
+ # seed: 1, # required
982
+ # },
597
983
  # },
598
984
  # ],
599
985
  # vpc_config: {
@@ -613,6 +999,7 @@ module Aws::SageMaker
613
999
  # stopping_condition: { # required
614
1000
  # max_runtime_in_seconds: 1,
615
1001
  # },
1002
+ # enable_network_isolation: false,
616
1003
  # },
617
1004
  # warm_start_config: {
618
1005
  # parent_hyper_parameter_tuning_jobs: [ # required
@@ -643,6 +1030,172 @@ module Aws::SageMaker
643
1030
  req.send_request(options)
644
1031
  end
645
1032
 
1033
+ # Creates a job that uses human workers to label the data objects in
1034
+ # your input dataset. You can use the labeled data to train machine
1035
+ # learning models
1036
+ #
1037
+ # You can select your workforce from one of three providers:
1038
+ #
1039
+ # * A private workforce that you create. It can include employees,
1040
+ # contractors, and outside experts. Use a private workforce when the
1041
+ # data is highly confidential or a specific set of skills is required.
1042
+ #
1043
+ # * One or more vendors that you select from the Amazon Marketplace.
1044
+ # Vendors provide expertise in specific areas. Vendors are selected by
1045
+ # AWS and meet a minimum standard of data security requirements.
1046
+ #
1047
+ # * The Amazon Mechanical Turk workforce. This is the largest workforce,
1048
+ # but it should only be used for public data or data that has been
1049
+ # stripped of any personally identifiable information.
1050
+ #
1051
+ # You can also use *automated data labeling* to reduce the number of
1052
+ # data objects that need to be labeled by a human. Automated data
1053
+ # labeling uses *active learning* to determine if a data object can be
1054
+ # labeled by machine or if it needs to be sent to a human worker.
1055
+ #
1056
+ # The data objects to be labeled are contained in an Amazon S3 bucket.
1057
+ # You create a *manifest file* that describes the location of each
1058
+ # object. For more information, see [Using Input and Output Data][1].
1059
+ #
1060
+ # The output can be used as the manifest file for another labeling job
1061
+ # or as training data for your machine learning models.
1062
+ #
1063
+ #
1064
+ #
1065
+ # [1]: http://docs.aws.amazon.com/sagemaker/latest/dg/sms-data.html
1066
+ #
1067
+ # @option params [required, String] :labeling_job_name
1068
+ # The name of the labeling job. This name is used to identify the job in
1069
+ # a list of labeling jobs.
1070
+ #
1071
+ # @option params [required, String] :label_attribute_name
1072
+ # The attribute name to use for the label in the output manifest file.
1073
+ # This is the key for the key/value pair formed with the label that a
1074
+ # worker assigns to the object. The name can't end with "-metadata"
1075
+ # or "-ref".
1076
+ #
1077
+ # @option params [required, Types::LabelingJobInputConfig] :input_config
1078
+ # Input data for the labeling job, such as the Amazon S3 location of the
1079
+ # data objects and the location of the manifest file that describes the
1080
+ # data objects.
1081
+ #
1082
+ # @option params [required, Types::LabelingJobOutputConfig] :output_config
1083
+ # The location of the output data and the AWS Key Management Service key
1084
+ # ID for the key used to encrypt the output data, if any.
1085
+ #
1086
+ # @option params [required, String] :role_arn
1087
+ # The Amazon Resource Number (ARN) that Amazon SageMaker assumes to
1088
+ # perform tasks on your behalf during data labeling. You must grant this
1089
+ # role the necessary permissions so that Amazon SageMaker can
1090
+ # successfully complete data labeling.
1091
+ #
1092
+ # @option params [String] :label_category_config_s3_uri
1093
+ # The S3 URL of the file that defines the categories used to label the
1094
+ # data objects.
1095
+ #
1096
+ # @option params [Types::LabelingJobStoppingConditions] :stopping_conditions
1097
+ # A set of conditions for stopping the labeling job. If any of the
1098
+ # conditions are met, the job is automatically stopped. You can use
1099
+ # these conditions to control the cost of data labeling.
1100
+ #
1101
+ # @option params [Types::LabelingJobAlgorithmsConfig] :labeling_job_algorithms_config
1102
+ # Configures the information required to perform automated data
1103
+ # labeling.
1104
+ #
1105
+ # @option params [required, Types::HumanTaskConfig] :human_task_config
1106
+ # Configures the information required for human workers to complete a
1107
+ # labeling task.
1108
+ #
1109
+ # @option params [Array<Types::Tag>] :tags
1110
+ # An array of key/value pairs. For more information, see [Using Cost
1111
+ # Allocation Tags][1] in the *AWS Billing and Cost Management User
1112
+ # Guide*.
1113
+ #
1114
+ #
1115
+ #
1116
+ # [1]: http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what
1117
+ #
1118
+ # @return [Types::CreateLabelingJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1119
+ #
1120
+ # * {Types::CreateLabelingJobResponse#labeling_job_arn #labeling_job_arn} => String
1121
+ #
1122
+ # @example Request syntax with placeholder values
1123
+ #
1124
+ # resp = client.create_labeling_job({
1125
+ # labeling_job_name: "LabelingJobName", # required
1126
+ # label_attribute_name: "LabelAttributeName", # required
1127
+ # input_config: { # required
1128
+ # data_source: { # required
1129
+ # s3_data_source: { # required
1130
+ # manifest_s3_uri: "S3Uri", # required
1131
+ # },
1132
+ # },
1133
+ # data_attributes: {
1134
+ # content_classifiers: ["FreeOfPersonallyIdentifiableInformation"], # accepts FreeOfPersonallyIdentifiableInformation, FreeOfAdultContent
1135
+ # },
1136
+ # },
1137
+ # output_config: { # required
1138
+ # s3_output_path: "S3Uri", # required
1139
+ # kms_key_id: "KmsKeyId",
1140
+ # },
1141
+ # role_arn: "RoleArn", # required
1142
+ # label_category_config_s3_uri: "S3Uri",
1143
+ # stopping_conditions: {
1144
+ # max_human_labeled_object_count: 1,
1145
+ # max_percentage_of_input_dataset_labeled: 1,
1146
+ # },
1147
+ # labeling_job_algorithms_config: {
1148
+ # labeling_job_algorithm_specification_arn: "LabelingJobAlgorithmSpecificationArn", # required
1149
+ # initial_active_learning_model_arn: "ModelArn",
1150
+ # labeling_job_resource_config: {
1151
+ # volume_kms_key_id: "KmsKeyId",
1152
+ # },
1153
+ # },
1154
+ # human_task_config: { # required
1155
+ # workteam_arn: "WorkteamArn", # required
1156
+ # ui_config: { # required
1157
+ # ui_template_s3_uri: "S3Uri", # required
1158
+ # },
1159
+ # pre_human_task_lambda_arn: "LambdaFunctionArn", # required
1160
+ # task_keywords: ["TaskKeyword"],
1161
+ # task_title: "TaskTitle", # required
1162
+ # task_description: "TaskDescription", # required
1163
+ # number_of_human_workers_per_data_object: 1, # required
1164
+ # task_time_limit_in_seconds: 1, # required
1165
+ # task_availability_lifetime_in_seconds: 1,
1166
+ # max_concurrent_task_count: 1,
1167
+ # annotation_consolidation_config: { # required
1168
+ # annotation_consolidation_lambda_arn: "LambdaFunctionArn", # required
1169
+ # },
1170
+ # public_workforce_task_price: {
1171
+ # amount_in_usd: {
1172
+ # dollars: 1,
1173
+ # cents: 1,
1174
+ # tenth_fractions_of_a_cent: 1,
1175
+ # },
1176
+ # },
1177
+ # },
1178
+ # tags: [
1179
+ # {
1180
+ # key: "TagKey", # required
1181
+ # value: "TagValue", # required
1182
+ # },
1183
+ # ],
1184
+ # })
1185
+ #
1186
+ # @example Response structure
1187
+ #
1188
+ # resp.labeling_job_arn #=> String
1189
+ #
1190
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateLabelingJob AWS API Documentation
1191
+ #
1192
+ # @overload create_labeling_job(params = {})
1193
+ # @param [Hash] params ({})
1194
+ def create_labeling_job(params = {}, options = {})
1195
+ req = build_request(:create_labeling_job, params)
1196
+ req.send_request(options)
1197
+ end
1198
+
646
1199
  # Creates a model in Amazon SageMaker. In the request, you name the
647
1200
  # model and describe a primary container. For the primary container, you
648
1201
  # specify the docker image containing inference code, artifacts (from
@@ -675,11 +1228,14 @@ module Aws::SageMaker
675
1228
  # @option params [required, String] :model_name
676
1229
  # The name of the new model.
677
1230
  #
678
- # @option params [required, Types::ContainerDefinition] :primary_container
1231
+ # @option params [Types::ContainerDefinition] :primary_container
679
1232
  # The location of the primary docker image containing inference code,
680
1233
  # associated artifacts, and custom environment map that the inference
681
1234
  # code uses when the model is deployed for predictions.
682
1235
  #
1236
+ # @option params [Array<Types::ContainerDefinition>] :containers
1237
+ # Specifies the containers in the inference pipeline.
1238
+ #
683
1239
  # @option params [required, String] :execution_role_arn
684
1240
  # The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker
685
1241
  # can assume to access model artifacts and docker image for deployment
@@ -718,6 +1274,15 @@ module Aws::SageMaker
718
1274
  # [1]: http://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html
719
1275
  # [2]: http://docs.aws.amazon.com/sagemaker/latest/dg/batch-vpc.html
720
1276
  #
1277
+ # @option params [Boolean] :enable_network_isolation
1278
+ # Isolates the model container. No inbound or outbound network calls can
1279
+ # be made to or from the model container.
1280
+ #
1281
+ # <note markdown="1"> The Semantic Segmentation built-in algorithm does not support network
1282
+ # isolation.
1283
+ #
1284
+ # </note>
1285
+ #
721
1286
  # @return [Types::CreateModelOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
722
1287
  #
723
1288
  # * {Types::CreateModelOutput#model_arn #model_arn} => String
@@ -726,14 +1291,26 @@ module Aws::SageMaker
726
1291
  #
727
1292
  # resp = client.create_model({
728
1293
  # model_name: "ModelName", # required
729
- # primary_container: { # required
1294
+ # primary_container: {
730
1295
  # container_hostname: "ContainerHostname",
731
- # image: "Image", # required
1296
+ # image: "Image",
732
1297
  # model_data_url: "Url",
733
1298
  # environment: {
734
1299
  # "EnvironmentKey" => "EnvironmentValue",
735
1300
  # },
1301
+ # model_package_name: "ArnOrName",
736
1302
  # },
1303
+ # containers: [
1304
+ # {
1305
+ # container_hostname: "ContainerHostname",
1306
+ # image: "Image",
1307
+ # model_data_url: "Url",
1308
+ # environment: {
1309
+ # "EnvironmentKey" => "EnvironmentValue",
1310
+ # },
1311
+ # model_package_name: "ArnOrName",
1312
+ # },
1313
+ # ],
737
1314
  # execution_role_arn: "RoleArn", # required
738
1315
  # tags: [
739
1316
  # {
@@ -745,6 +1322,7 @@ module Aws::SageMaker
745
1322
  # security_group_ids: ["SecurityGroupId"], # required
746
1323
  # subnets: ["SubnetId"], # required
747
1324
  # },
1325
+ # enable_network_isolation: false,
748
1326
  # })
749
1327
  #
750
1328
  # @example Response structure
@@ -760,57 +1338,178 @@ module Aws::SageMaker
760
1338
  req.send_request(options)
761
1339
  end
762
1340
 
763
- # Creates an Amazon SageMaker notebook instance. A notebook instance is
764
- # a machine learning (ML) compute instance running on a Jupyter
765
- # notebook.
766
- #
767
- # In a `CreateNotebookInstance` request, specify the type of ML compute
768
- # instance that you want to run. Amazon SageMaker launches the instance,
769
- # installs common libraries that you can use to explore datasets for
770
- # model training, and attaches an ML storage volume to the notebook
771
- # instance.
1341
+ # Creates a model package that you can use to create Amazon SageMaker
1342
+ # models or list on AWS Marketplace. Buyers can subscribe to model
1343
+ # packages listed on AWS Marketplace to create models in Amazon
1344
+ # SageMaker.
772
1345
  #
773
- # Amazon SageMaker also provides a set of example notebooks. Each
774
- # notebook demonstrates how to use Amazon SageMaker with a specific
775
- # algorithm or with a machine learning framework.
1346
+ # @option params [required, String] :model_package_name
1347
+ # The name of the model package. The name must have 1 to 63 characters.
1348
+ # Valid characters are a-z, A-Z, 0-9, and - (hyphen).
776
1349
  #
777
- # After receiving the request, Amazon SageMaker does the following:
1350
+ # @option params [String] :model_package_description
1351
+ # A description of the model package.
778
1352
  #
779
- # 1. Creates a network interface in the Amazon SageMaker VPC.
1353
+ # @option params [Types::InferenceSpecification] :inference_specification
1354
+ # Specifies details about inference jobs that can be run with models
1355
+ # based on this model package, including the following:
780
1356
  #
781
- # 2. (Option) If you specified `SubnetId`, Amazon SageMaker creates a
782
- # network interface in your own VPC, which is inferred from the
783
- # subnet ID that you provide in the input. When creating this
784
- # network interface, Amazon SageMaker attaches the security group
785
- # that you specified in the request to the network interface that it
786
- # creates in your VPC.
1357
+ # * The Amazon ECR paths of containers that contain the inference code
1358
+ # and model artifacts.
787
1359
  #
788
- # 3. Launches an EC2 instance of the type specified in the request in
789
- # the Amazon SageMaker VPC. If you specified `SubnetId` of your VPC,
790
- # Amazon SageMaker specifies both network interfaces when launching
791
- # this instance. This enables inbound traffic from your own VPC to
792
- # the notebook instance, assuming that the security groups allow it.
1360
+ # * The instance types that the model package supports for transform
1361
+ # jobs and real-time endpoints used for inference.
793
1362
  #
794
- # After creating the notebook instance, Amazon SageMaker returns its
795
- # Amazon Resource Name (ARN).
1363
+ # * The input and output content formats that the model package supports
1364
+ # for inference.
796
1365
  #
797
- # After Amazon SageMaker creates the notebook instance, you can connect
798
- # to the Jupyter server and work in Jupyter notebooks. For example, you
799
- # can write code to explore a dataset that you can use for model
800
- # training, train a model, host models by creating Amazon SageMaker
801
- # endpoints, and validate hosted models.
1366
+ # @option params [Types::ModelPackageValidationSpecification] :validation_specification
1367
+ # Specifies configurations for one or more transform jobs that Amazon
1368
+ # SageMaker runs to test the model package.
802
1369
  #
803
- # For more information, see [How It Works][1].
1370
+ # @option params [Types::SourceAlgorithmSpecification] :source_algorithm_specification
1371
+ # Details about the algorithm that was used to create the model package.
804
1372
  #
1373
+ # @option params [Boolean] :certify_for_marketplace
1374
+ # Whether to certify the model package for listing on AWS Marketplace.
805
1375
  #
1376
+ # @return [Types::CreateModelPackageOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
806
1377
  #
807
- # [1]: http://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html
1378
+ # * {Types::CreateModelPackageOutput#model_package_arn #model_package_arn} => String
808
1379
  #
809
- # @option params [required, String] :notebook_instance_name
810
- # The name of the new notebook instance.
1380
+ # @example Request syntax with placeholder values
811
1381
  #
812
- # @option params [required, String] :instance_type
813
- # The type of ML compute instance to launch for the notebook instance.
1382
+ # resp = client.create_model_package({
1383
+ # model_package_name: "EntityName", # required
1384
+ # model_package_description: "EntityDescription",
1385
+ # inference_specification: {
1386
+ # containers: [ # required
1387
+ # {
1388
+ # container_hostname: "ContainerHostname",
1389
+ # image: "Image", # required
1390
+ # image_digest: "ImageDigest",
1391
+ # model_data_url: "Url",
1392
+ # product_id: "ProductId",
1393
+ # },
1394
+ # ],
1395
+ # supported_transform_instance_types: ["ml.m4.xlarge"], # required, accepts ml.m4.xlarge, ml.m4.2xlarge, ml.m4.4xlarge, ml.m4.10xlarge, ml.m4.16xlarge, ml.c4.xlarge, ml.c4.2xlarge, ml.c4.4xlarge, ml.c4.8xlarge, ml.p2.xlarge, ml.p2.8xlarge, ml.p2.16xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.18xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.12xlarge, ml.m5.24xlarge
1396
+ # supported_realtime_inference_instance_types: ["ml.t2.medium"], # required, accepts ml.t2.medium, ml.t2.large, ml.t2.xlarge, ml.t2.2xlarge, ml.m4.xlarge, ml.m4.2xlarge, ml.m4.4xlarge, ml.m4.10xlarge, ml.m4.16xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.12xlarge, ml.m5.24xlarge, ml.c4.large, ml.c4.xlarge, ml.c4.2xlarge, ml.c4.4xlarge, ml.c4.8xlarge, ml.p2.xlarge, ml.p2.8xlarge, ml.p2.16xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.18xlarge
1397
+ # supported_content_types: ["ContentType"], # required
1398
+ # supported_response_mime_types: ["ResponseMIMEType"], # required
1399
+ # },
1400
+ # validation_specification: {
1401
+ # validation_role: "RoleArn", # required
1402
+ # validation_profiles: [ # required
1403
+ # {
1404
+ # profile_name: "EntityName", # required
1405
+ # transform_job_definition: { # required
1406
+ # max_concurrent_transforms: 1,
1407
+ # max_payload_in_mb: 1,
1408
+ # batch_strategy: "MultiRecord", # accepts MultiRecord, SingleRecord
1409
+ # environment: {
1410
+ # "TransformEnvironmentKey" => "TransformEnvironmentValue",
1411
+ # },
1412
+ # transform_input: { # required
1413
+ # data_source: { # required
1414
+ # s3_data_source: { # required
1415
+ # s3_data_type: "ManifestFile", # required, accepts ManifestFile, S3Prefix, AugmentedManifestFile
1416
+ # s3_uri: "S3Uri", # required
1417
+ # },
1418
+ # },
1419
+ # content_type: "ContentType",
1420
+ # compression_type: "None", # accepts None, Gzip
1421
+ # split_type: "None", # accepts None, Line, RecordIO
1422
+ # },
1423
+ # transform_output: { # required
1424
+ # s3_output_path: "S3Uri", # required
1425
+ # accept: "Accept",
1426
+ # assemble_with: "None", # accepts None, Line
1427
+ # kms_key_id: "KmsKeyId",
1428
+ # },
1429
+ # transform_resources: { # required
1430
+ # instance_type: "ml.m4.xlarge", # required, accepts ml.m4.xlarge, ml.m4.2xlarge, ml.m4.4xlarge, ml.m4.10xlarge, ml.m4.16xlarge, ml.c4.xlarge, ml.c4.2xlarge, ml.c4.4xlarge, ml.c4.8xlarge, ml.p2.xlarge, ml.p2.8xlarge, ml.p2.16xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.18xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.12xlarge, ml.m5.24xlarge
1431
+ # instance_count: 1, # required
1432
+ # volume_kms_key_id: "KmsKeyId",
1433
+ # },
1434
+ # },
1435
+ # },
1436
+ # ],
1437
+ # },
1438
+ # source_algorithm_specification: {
1439
+ # source_algorithms: [ # required
1440
+ # {
1441
+ # model_data_url: "Url",
1442
+ # algorithm_name: "ArnOrName", # required
1443
+ # },
1444
+ # ],
1445
+ # },
1446
+ # certify_for_marketplace: false,
1447
+ # })
1448
+ #
1449
+ # @example Response structure
1450
+ #
1451
+ # resp.model_package_arn #=> String
1452
+ #
1453
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelPackage AWS API Documentation
1454
+ #
1455
+ # @overload create_model_package(params = {})
1456
+ # @param [Hash] params ({})
1457
+ def create_model_package(params = {}, options = {})
1458
+ req = build_request(:create_model_package, params)
1459
+ req.send_request(options)
1460
+ end
1461
+
1462
+ # Creates an Amazon SageMaker notebook instance. A notebook instance is
1463
+ # a machine learning (ML) compute instance running on a Jupyter
1464
+ # notebook.
1465
+ #
1466
+ # In a `CreateNotebookInstance` request, specify the type of ML compute
1467
+ # instance that you want to run. Amazon SageMaker launches the instance,
1468
+ # installs common libraries that you can use to explore datasets for
1469
+ # model training, and attaches an ML storage volume to the notebook
1470
+ # instance.
1471
+ #
1472
+ # Amazon SageMaker also provides a set of example notebooks. Each
1473
+ # notebook demonstrates how to use Amazon SageMaker with a specific
1474
+ # algorithm or with a machine learning framework.
1475
+ #
1476
+ # After receiving the request, Amazon SageMaker does the following:
1477
+ #
1478
+ # 1. Creates a network interface in the Amazon SageMaker VPC.
1479
+ #
1480
+ # 2. (Option) If you specified `SubnetId`, Amazon SageMaker creates a
1481
+ # network interface in your own VPC, which is inferred from the
1482
+ # subnet ID that you provide in the input. When creating this
1483
+ # network interface, Amazon SageMaker attaches the security group
1484
+ # that you specified in the request to the network interface that it
1485
+ # creates in your VPC.
1486
+ #
1487
+ # 3. Launches an EC2 instance of the type specified in the request in
1488
+ # the Amazon SageMaker VPC. If you specified `SubnetId` of your VPC,
1489
+ # Amazon SageMaker specifies both network interfaces when launching
1490
+ # this instance. This enables inbound traffic from your own VPC to
1491
+ # the notebook instance, assuming that the security groups allow it.
1492
+ #
1493
+ # After creating the notebook instance, Amazon SageMaker returns its
1494
+ # Amazon Resource Name (ARN).
1495
+ #
1496
+ # After Amazon SageMaker creates the notebook instance, you can connect
1497
+ # to the Jupyter server and work in Jupyter notebooks. For example, you
1498
+ # can write code to explore a dataset that you can use for model
1499
+ # training, train a model, host models by creating Amazon SageMaker
1500
+ # endpoints, and validate hosted models.
1501
+ #
1502
+ # For more information, see [How It Works][1].
1503
+ #
1504
+ #
1505
+ #
1506
+ # [1]: http://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html
1507
+ #
1508
+ # @option params [required, String] :notebook_instance_name
1509
+ # The name of the new notebook instance.
1510
+ #
1511
+ # @option params [required, String] :instance_type
1512
+ # The type of ML compute instance to launch for the notebook instance.
814
1513
  #
815
1514
  # @option params [String] :subnet_id
816
1515
  # The ID of the subnet in a VPC to which you would like to have a
@@ -841,13 +1540,7 @@ module Aws::SageMaker
841
1540
  # @option params [String] :kms_key_id
842
1541
  # If you provide a AWS KMS key ID, Amazon SageMaker uses it to encrypt
843
1542
  # data at rest on the ML storage volume that is attached to your
844
- # notebook instance. The KMS key you provide must be enabled. For
845
- # information, see [Enabling and Disabling Keys][1] in the *AWS Key
846
- # Management Service Developer Guide*.
847
- #
848
- #
849
- #
850
- # [1]: http://docs.aws.amazon.com/kms/latest/developerguide/enabling-keys.html
1543
+ # notebook instance.
851
1544
  #
852
1545
  # @option params [Array<Types::Tag>] :tags
853
1546
  # A list of tags to associate with the notebook instance. You can add
@@ -881,6 +1574,44 @@ module Aws::SageMaker
881
1574
  # The size, in GB, of the ML storage volume to attach to the notebook
882
1575
  # instance. The default value is 5 GB.
883
1576
  #
1577
+ # @option params [Array<String>] :accelerator_types
1578
+ # A list of Elastic Inference (EI) instance types to associate with this
1579
+ # notebook instance. Currently, only one instance type can be associated
1580
+ # with a notebook intance. For more information, see [Using Elastic
1581
+ # Inference in Amazon SageMaker][1].
1582
+ #
1583
+ #
1584
+ #
1585
+ # [1]: http://docs.aws.amazon.com/sagemaker/latest/dg/ei.html
1586
+ #
1587
+ # @option params [String] :default_code_repository
1588
+ # A git repository to associate with the notebook instance as its
1589
+ # default code repository. This can be either the name of a git
1590
+ # repository stored as a resource in your account, or the URL of a git
1591
+ # repository in [AWS CodeCommit][1] or in any other git repository. When
1592
+ # you open a notebook instance, it opens in the directory that contains
1593
+ # this repository. For more information, see [Associating Git
1594
+ # Repositories with Amazon SageMaker Notebook Instances][2].
1595
+ #
1596
+ #
1597
+ #
1598
+ # [1]: http://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html
1599
+ # [2]: http://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html
1600
+ #
1601
+ # @option params [Array<String>] :additional_code_repositories
1602
+ # An array of up to 3 git repositories to associate with the notebook
1603
+ # instance. These can be either the names of git repositories stored as
1604
+ # resources in your account, or the URL of git repositories in [AWS
1605
+ # CodeCommit][1] or in any other git repository. These repositories are
1606
+ # cloned at the same level as the default repository of your notebook
1607
+ # instance. For more information, see [Associating Git Repositories with
1608
+ # Amazon SageMaker Notebook Instances][2].
1609
+ #
1610
+ #
1611
+ #
1612
+ # [1]: http://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html
1613
+ # [2]: http://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html
1614
+ #
884
1615
  # @return [Types::CreateNotebookInstanceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
885
1616
  #
886
1617
  # * {Types::CreateNotebookInstanceOutput#notebook_instance_arn #notebook_instance_arn} => String
@@ -903,6 +1634,9 @@ module Aws::SageMaker
903
1634
  # lifecycle_config_name: "NotebookInstanceLifecycleConfigName",
904
1635
  # direct_internet_access: "Enabled", # accepts Enabled, Disabled
905
1636
  # volume_size_in_gb: 1,
1637
+ # accelerator_types: ["ml.eia1.medium"], # accepts ml.eia1.medium, ml.eia1.large, ml.eia1.xlarge
1638
+ # default_code_repository: "CodeRepositoryNameOrUrl",
1639
+ # additional_code_repositories: ["CodeRepositoryNameOrUrl"],
906
1640
  # })
907
1641
  #
908
1642
  # @example Response structure
@@ -1005,7 +1739,7 @@ module Aws::SageMaker
1005
1739
  #
1006
1740
  #
1007
1741
  #
1008
- # [1]: http://docs.aws.amazon.com/sagemaker/latest/dg/howitworks-access-ws.html#nbi-ip-filter
1742
+ # [1]: http://docs.aws.amazon.com/https:/docs.aws.amazon.com/sagemaker/latest/dg/howitworks-access-ws.html#nbi-ip-filter
1009
1743
  #
1010
1744
  # @option params [required, String] :notebook_instance_name
1011
1745
  # The name of the notebook instance.
@@ -1115,7 +1849,7 @@ module Aws::SageMaker
1115
1849
  #
1116
1850
  # @option params [required, String] :role_arn
1117
1851
  # The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker
1118
- # can assume to perform tasks on your behalf.
1852
+ # assumes to perform tasks on your behalf.
1119
1853
  #
1120
1854
  # During model training, Amazon SageMaker needs your permission to read
1121
1855
  # input data from an S3 bucket, download a Docker image that contains
@@ -1197,6 +1931,19 @@ module Aws::SageMaker
1197
1931
  #
1198
1932
  # [1]: http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what
1199
1933
  #
1934
+ # @option params [Boolean] :enable_network_isolation
1935
+ # Isolates the training container. No inbound or outbound network calls
1936
+ # can be made, except for calls between peers within a training cluster
1937
+ # for distributed training. If network isolation is used for training
1938
+ # jobs that are configured to use a VPC, Amazon SageMaker downloads and
1939
+ # uploads customer data and model artifacts through the specifed VPC,
1940
+ # but the training container does not have network access.
1941
+ #
1942
+ # <note markdown="1"> The Semantic Segmentation built-in algorithm does not support network
1943
+ # isolation.
1944
+ #
1945
+ # </note>
1946
+ #
1200
1947
  # @return [Types::CreateTrainingJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1201
1948
  #
1202
1949
  # * {Types::CreateTrainingJobResponse#training_job_arn #training_job_arn} => String
@@ -1210,6 +1957,7 @@ module Aws::SageMaker
1210
1957
  # },
1211
1958
  # algorithm_specification: { # required
1212
1959
  # training_image: "AlgorithmImage",
1960
+ # algorithm_name: "ArnOrName",
1213
1961
  # training_input_mode: "Pipe", # required, accepts Pipe, File
1214
1962
  # metric_definitions: [
1215
1963
  # {
@@ -1224,15 +1972,19 @@ module Aws::SageMaker
1224
1972
  # channel_name: "ChannelName", # required
1225
1973
  # data_source: { # required
1226
1974
  # s3_data_source: { # required
1227
- # s3_data_type: "ManifestFile", # required, accepts ManifestFile, S3Prefix
1975
+ # s3_data_type: "ManifestFile", # required, accepts ManifestFile, S3Prefix, AugmentedManifestFile
1228
1976
  # s3_uri: "S3Uri", # required
1229
1977
  # s3_data_distribution_type: "FullyReplicated", # accepts FullyReplicated, ShardedByS3Key
1978
+ # attribute_names: ["AttributeName"],
1230
1979
  # },
1231
1980
  # },
1232
1981
  # content_type: "ContentType",
1233
1982
  # compression_type: "None", # accepts None, Gzip
1234
1983
  # record_wrapper_type: "None", # accepts None, RecordIO
1235
1984
  # input_mode: "Pipe", # accepts Pipe, File
1985
+ # shuffle_config: {
1986
+ # seed: 1, # required
1987
+ # },
1236
1988
  # },
1237
1989
  # ],
1238
1990
  # output_data_config: { # required
@@ -1258,6 +2010,7 @@ module Aws::SageMaker
1258
2010
  # value: "TagValue", # required
1259
2011
  # },
1260
2012
  # ],
2013
+ # enable_network_isolation: false,
1261
2014
  # })
1262
2015
  #
1263
2016
  # @example Response structure
@@ -1328,10 +2081,14 @@ module Aws::SageMaker
1328
2081
  # greater or equal to the size of a single record. You can approximate
1329
2082
  # the size of a record by dividing the size of your dataset by the
1330
2083
  # number of records. Then multiply this value by the number of records
1331
- # you want in a mini-batch. It is recommended to enter a value slightly
1332
- # larger than this to ensure the records fit within the maximum payload
1333
- # size. The default value is `6` MB. For an unlimited payload size, set
1334
- # the value to `0`.
2084
+ # you want in a mini-batch. We recommend to enter a slightly larger
2085
+ # value than this to ensure the records fit within the maximum payload
2086
+ # size. The default value is `6` MB.
2087
+ #
2088
+ # For cases where the payload might be arbitrarily large and is
2089
+ # transmitted using HTTP chunked encoding, set the value to `0`. This
2090
+ # feature only works in supported algorithms. Currently, Amazon
2091
+ # SageMaker built-in algorithms do not support this feature.
1335
2092
  #
1336
2093
  # @option params [String] :batch_strategy
1337
2094
  # Determines the number of records included in a single mini-batch.
@@ -1386,7 +2143,7 @@ module Aws::SageMaker
1386
2143
  # transform_input: { # required
1387
2144
  # data_source: { # required
1388
2145
  # s3_data_source: { # required
1389
- # s3_data_type: "ManifestFile", # required, accepts ManifestFile, S3Prefix
2146
+ # s3_data_type: "ManifestFile", # required, accepts ManifestFile, S3Prefix, AugmentedManifestFile
1390
2147
  # s3_uri: "S3Uri", # required
1391
2148
  # },
1392
2149
  # },
@@ -1426,6 +2183,115 @@ module Aws::SageMaker
1426
2183
  req.send_request(options)
1427
2184
  end
1428
2185
 
2186
+ # Creates a new work team for labeling your data. A work team is defined
2187
+ # by one or more Amazon Cognito user pools. You must first create the
2188
+ # user pools before you can create a work team.
2189
+ #
2190
+ # You cannot create more than 25 work teams in an account and region.
2191
+ #
2192
+ # @option params [required, String] :workteam_name
2193
+ # The name of the work team. Use this name to identify the work team.
2194
+ #
2195
+ # @option params [required, Array<Types::MemberDefinition>] :member_definitions
2196
+ # A list of `MemberDefinition` objects that contains objects that
2197
+ # identify the Amazon Cognito user pool that makes up the work team. For
2198
+ # more information, see [Amazon Cognito User Pools][1].
2199
+ #
2200
+ # All of the `CognitoMemberDefinition` objects that make up the member
2201
+ # definition must have the same `ClientId` and `UserPool` values.
2202
+ #
2203
+ #
2204
+ #
2205
+ # [1]: http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html
2206
+ #
2207
+ # @option params [required, String] :description
2208
+ # A description of the work team.
2209
+ #
2210
+ # @option params [Array<Types::Tag>] :tags
2211
+ #
2212
+ # @return [Types::CreateWorkteamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2213
+ #
2214
+ # * {Types::CreateWorkteamResponse#workteam_arn #workteam_arn} => String
2215
+ #
2216
+ # @example Request syntax with placeholder values
2217
+ #
2218
+ # resp = client.create_workteam({
2219
+ # workteam_name: "WorkteamName", # required
2220
+ # member_definitions: [ # required
2221
+ # {
2222
+ # cognito_member_definition: {
2223
+ # user_pool: "CognitoUserPool", # required
2224
+ # user_group: "CognitoUserGroup", # required
2225
+ # client_id: "CognitoClientId", # required
2226
+ # },
2227
+ # },
2228
+ # ],
2229
+ # description: "String200", # required
2230
+ # tags: [
2231
+ # {
2232
+ # key: "TagKey", # required
2233
+ # value: "TagValue", # required
2234
+ # },
2235
+ # ],
2236
+ # })
2237
+ #
2238
+ # @example Response structure
2239
+ #
2240
+ # resp.workteam_arn #=> String
2241
+ #
2242
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateWorkteam AWS API Documentation
2243
+ #
2244
+ # @overload create_workteam(params = {})
2245
+ # @param [Hash] params ({})
2246
+ def create_workteam(params = {}, options = {})
2247
+ req = build_request(:create_workteam, params)
2248
+ req.send_request(options)
2249
+ end
2250
+
2251
+ # Removes the specified algorithm from your account.
2252
+ #
2253
+ # @option params [required, String] :algorithm_name
2254
+ # The name of the algorithm to delete.
2255
+ #
2256
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2257
+ #
2258
+ # @example Request syntax with placeholder values
2259
+ #
2260
+ # resp = client.delete_algorithm({
2261
+ # algorithm_name: "EntityName", # required
2262
+ # })
2263
+ #
2264
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAlgorithm AWS API Documentation
2265
+ #
2266
+ # @overload delete_algorithm(params = {})
2267
+ # @param [Hash] params ({})
2268
+ def delete_algorithm(params = {}, options = {})
2269
+ req = build_request(:delete_algorithm, params)
2270
+ req.send_request(options)
2271
+ end
2272
+
2273
+ # Deletes the specified git repository from your account.
2274
+ #
2275
+ # @option params [required, String] :code_repository_name
2276
+ # The name of the git repository to delete.
2277
+ #
2278
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2279
+ #
2280
+ # @example Request syntax with placeholder values
2281
+ #
2282
+ # resp = client.delete_code_repository({
2283
+ # code_repository_name: "EntityName", # required
2284
+ # })
2285
+ #
2286
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteCodeRepository AWS API Documentation
2287
+ #
2288
+ # @overload delete_code_repository(params = {})
2289
+ # @param [Hash] params ({})
2290
+ def delete_code_repository(params = {}, options = {})
2291
+ req = build_request(:delete_code_repository, params)
2292
+ req.send_request(options)
2293
+ end
2294
+
1429
2295
  # Deletes an endpoint. Amazon SageMaker frees up all of the resources
1430
2296
  # that were deployed when the endpoint was created.
1431
2297
  #
@@ -1510,6 +2376,33 @@ module Aws::SageMaker
1510
2376
  req.send_request(options)
1511
2377
  end
1512
2378
 
2379
+ # Deletes a model package.
2380
+ #
2381
+ # A model package is used to create Amazon SageMaker models or list on
2382
+ # AWS Marketplace. Buyers can subscribe to model packages listed on AWS
2383
+ # Marketplace to create models in Amazon SageMaker.
2384
+ #
2385
+ # @option params [required, String] :model_package_name
2386
+ # The name of the model package. The name must have 1 to 63 characters.
2387
+ # Valid characters are a-z, A-Z, 0-9, and - (hyphen).
2388
+ #
2389
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2390
+ #
2391
+ # @example Request syntax with placeholder values
2392
+ #
2393
+ # resp = client.delete_model_package({
2394
+ # model_package_name: "EntityName", # required
2395
+ # })
2396
+ #
2397
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelPackage AWS API Documentation
2398
+ #
2399
+ # @overload delete_model_package(params = {})
2400
+ # @param [Hash] params ({})
2401
+ def delete_model_package(params = {}, options = {})
2402
+ req = build_request(:delete_model_package, params)
2403
+ req.send_request(options)
2404
+ end
2405
+
1513
2406
  # Deletes an Amazon SageMaker notebook instance. Before you can delete a
1514
2407
  # notebook instance, you must call the `StopNotebookInstance` API.
1515
2408
  #
@@ -1595,6 +2488,274 @@ module Aws::SageMaker
1595
2488
  req.send_request(options)
1596
2489
  end
1597
2490
 
2491
+ # Deletes an existing work team. This operation can't be undone.
2492
+ #
2493
+ # @option params [required, String] :workteam_name
2494
+ # The name of the work team to delete.
2495
+ #
2496
+ # @return [Types::DeleteWorkteamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2497
+ #
2498
+ # * {Types::DeleteWorkteamResponse#success #success} => Boolean
2499
+ #
2500
+ # @example Request syntax with placeholder values
2501
+ #
2502
+ # resp = client.delete_workteam({
2503
+ # workteam_name: "WorkteamName", # required
2504
+ # })
2505
+ #
2506
+ # @example Response structure
2507
+ #
2508
+ # resp.success #=> Boolean
2509
+ #
2510
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteWorkteam AWS API Documentation
2511
+ #
2512
+ # @overload delete_workteam(params = {})
2513
+ # @param [Hash] params ({})
2514
+ def delete_workteam(params = {}, options = {})
2515
+ req = build_request(:delete_workteam, params)
2516
+ req.send_request(options)
2517
+ end
2518
+
2519
+ # Returns a description of the specified algorithm that is in your
2520
+ # account.
2521
+ #
2522
+ # @option params [required, String] :algorithm_name
2523
+ # The name of the algorithm to describe.
2524
+ #
2525
+ # @return [Types::DescribeAlgorithmOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2526
+ #
2527
+ # * {Types::DescribeAlgorithmOutput#algorithm_name #algorithm_name} => String
2528
+ # * {Types::DescribeAlgorithmOutput#algorithm_arn #algorithm_arn} => String
2529
+ # * {Types::DescribeAlgorithmOutput#algorithm_description #algorithm_description} => String
2530
+ # * {Types::DescribeAlgorithmOutput#creation_time #creation_time} => Time
2531
+ # * {Types::DescribeAlgorithmOutput#training_specification #training_specification} => Types::TrainingSpecification
2532
+ # * {Types::DescribeAlgorithmOutput#inference_specification #inference_specification} => Types::InferenceSpecification
2533
+ # * {Types::DescribeAlgorithmOutput#validation_specification #validation_specification} => Types::AlgorithmValidationSpecification
2534
+ # * {Types::DescribeAlgorithmOutput#algorithm_status #algorithm_status} => String
2535
+ # * {Types::DescribeAlgorithmOutput#algorithm_status_details #algorithm_status_details} => Types::AlgorithmStatusDetails
2536
+ # * {Types::DescribeAlgorithmOutput#product_id #product_id} => String
2537
+ # * {Types::DescribeAlgorithmOutput#certify_for_marketplace #certify_for_marketplace} => Boolean
2538
+ #
2539
+ # @example Request syntax with placeholder values
2540
+ #
2541
+ # resp = client.describe_algorithm({
2542
+ # algorithm_name: "ArnOrName", # required
2543
+ # })
2544
+ #
2545
+ # @example Response structure
2546
+ #
2547
+ # resp.algorithm_name #=> String
2548
+ # resp.algorithm_arn #=> String
2549
+ # resp.algorithm_description #=> String
2550
+ # resp.creation_time #=> Time
2551
+ # resp.training_specification.training_image #=> String
2552
+ # resp.training_specification.training_image_digest #=> String
2553
+ # resp.training_specification.supported_hyper_parameters #=> Array
2554
+ # resp.training_specification.supported_hyper_parameters[0].name #=> String
2555
+ # resp.training_specification.supported_hyper_parameters[0].description #=> String
2556
+ # resp.training_specification.supported_hyper_parameters[0].type #=> String, one of "Integer", "Continuous", "Categorical", "FreeText"
2557
+ # resp.training_specification.supported_hyper_parameters[0].range.integer_parameter_range_specification.min_value #=> String
2558
+ # resp.training_specification.supported_hyper_parameters[0].range.integer_parameter_range_specification.max_value #=> String
2559
+ # resp.training_specification.supported_hyper_parameters[0].range.continuous_parameter_range_specification.min_value #=> String
2560
+ # resp.training_specification.supported_hyper_parameters[0].range.continuous_parameter_range_specification.max_value #=> String
2561
+ # resp.training_specification.supported_hyper_parameters[0].range.categorical_parameter_range_specification.values #=> Array
2562
+ # resp.training_specification.supported_hyper_parameters[0].range.categorical_parameter_range_specification.values[0] #=> String
2563
+ # resp.training_specification.supported_hyper_parameters[0].is_tunable #=> Boolean
2564
+ # resp.training_specification.supported_hyper_parameters[0].is_required #=> Boolean
2565
+ # resp.training_specification.supported_hyper_parameters[0].default_value #=> String
2566
+ # resp.training_specification.supported_training_instance_types #=> Array
2567
+ # resp.training_specification.supported_training_instance_types[0] #=> String, one of "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge"
2568
+ # resp.training_specification.supports_distributed_training #=> Boolean
2569
+ # resp.training_specification.metric_definitions #=> Array
2570
+ # resp.training_specification.metric_definitions[0].name #=> String
2571
+ # resp.training_specification.metric_definitions[0].regex #=> String
2572
+ # resp.training_specification.training_channels #=> Array
2573
+ # resp.training_specification.training_channels[0].name #=> String
2574
+ # resp.training_specification.training_channels[0].description #=> String
2575
+ # resp.training_specification.training_channels[0].is_required #=> Boolean
2576
+ # resp.training_specification.training_channels[0].supported_content_types #=> Array
2577
+ # resp.training_specification.training_channels[0].supported_content_types[0] #=> String
2578
+ # resp.training_specification.training_channels[0].supported_compression_types #=> Array
2579
+ # resp.training_specification.training_channels[0].supported_compression_types[0] #=> String, one of "None", "Gzip"
2580
+ # resp.training_specification.training_channels[0].supported_input_modes #=> Array
2581
+ # resp.training_specification.training_channels[0].supported_input_modes[0] #=> String, one of "Pipe", "File"
2582
+ # resp.training_specification.supported_tuning_job_objective_metrics #=> Array
2583
+ # resp.training_specification.supported_tuning_job_objective_metrics[0].type #=> String, one of "Maximize", "Minimize"
2584
+ # resp.training_specification.supported_tuning_job_objective_metrics[0].metric_name #=> String
2585
+ # resp.inference_specification.containers #=> Array
2586
+ # resp.inference_specification.containers[0].container_hostname #=> String
2587
+ # resp.inference_specification.containers[0].image #=> String
2588
+ # resp.inference_specification.containers[0].image_digest #=> String
2589
+ # resp.inference_specification.containers[0].model_data_url #=> String
2590
+ # resp.inference_specification.containers[0].product_id #=> String
2591
+ # resp.inference_specification.supported_transform_instance_types #=> Array
2592
+ # resp.inference_specification.supported_transform_instance_types[0] #=> String, one of "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge"
2593
+ # resp.inference_specification.supported_realtime_inference_instance_types #=> Array
2594
+ # resp.inference_specification.supported_realtime_inference_instance_types[0] #=> String, one of "ml.t2.medium", "ml.t2.large", "ml.t2.xlarge", "ml.t2.2xlarge", "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.c4.large", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge"
2595
+ # resp.inference_specification.supported_content_types #=> Array
2596
+ # resp.inference_specification.supported_content_types[0] #=> String
2597
+ # resp.inference_specification.supported_response_mime_types #=> Array
2598
+ # resp.inference_specification.supported_response_mime_types[0] #=> String
2599
+ # resp.validation_specification.validation_role #=> String
2600
+ # resp.validation_specification.validation_profiles #=> Array
2601
+ # resp.validation_specification.validation_profiles[0].profile_name #=> String
2602
+ # resp.validation_specification.validation_profiles[0].training_job_definition.training_input_mode #=> String, one of "Pipe", "File"
2603
+ # resp.validation_specification.validation_profiles[0].training_job_definition.hyper_parameters #=> Hash
2604
+ # resp.validation_specification.validation_profiles[0].training_job_definition.hyper_parameters["ParameterKey"] #=> String
2605
+ # resp.validation_specification.validation_profiles[0].training_job_definition.input_data_config #=> Array
2606
+ # resp.validation_specification.validation_profiles[0].training_job_definition.input_data_config[0].channel_name #=> String
2607
+ # resp.validation_specification.validation_profiles[0].training_job_definition.input_data_config[0].data_source.s3_data_source.s3_data_type #=> String, one of "ManifestFile", "S3Prefix", "AugmentedManifestFile"
2608
+ # resp.validation_specification.validation_profiles[0].training_job_definition.input_data_config[0].data_source.s3_data_source.s3_uri #=> String
2609
+ # resp.validation_specification.validation_profiles[0].training_job_definition.input_data_config[0].data_source.s3_data_source.s3_data_distribution_type #=> String, one of "FullyReplicated", "ShardedByS3Key"
2610
+ # resp.validation_specification.validation_profiles[0].training_job_definition.input_data_config[0].data_source.s3_data_source.attribute_names #=> Array
2611
+ # resp.validation_specification.validation_profiles[0].training_job_definition.input_data_config[0].data_source.s3_data_source.attribute_names[0] #=> String
2612
+ # resp.validation_specification.validation_profiles[0].training_job_definition.input_data_config[0].content_type #=> String
2613
+ # resp.validation_specification.validation_profiles[0].training_job_definition.input_data_config[0].compression_type #=> String, one of "None", "Gzip"
2614
+ # resp.validation_specification.validation_profiles[0].training_job_definition.input_data_config[0].record_wrapper_type #=> String, one of "None", "RecordIO"
2615
+ # resp.validation_specification.validation_profiles[0].training_job_definition.input_data_config[0].input_mode #=> String, one of "Pipe", "File"
2616
+ # resp.validation_specification.validation_profiles[0].training_job_definition.input_data_config[0].shuffle_config.seed #=> Integer
2617
+ # resp.validation_specification.validation_profiles[0].training_job_definition.output_data_config.kms_key_id #=> String
2618
+ # resp.validation_specification.validation_profiles[0].training_job_definition.output_data_config.s3_output_path #=> String
2619
+ # resp.validation_specification.validation_profiles[0].training_job_definition.resource_config.instance_type #=> String, one of "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge"
2620
+ # resp.validation_specification.validation_profiles[0].training_job_definition.resource_config.instance_count #=> Integer
2621
+ # resp.validation_specification.validation_profiles[0].training_job_definition.resource_config.volume_size_in_gb #=> Integer
2622
+ # resp.validation_specification.validation_profiles[0].training_job_definition.resource_config.volume_kms_key_id #=> String
2623
+ # resp.validation_specification.validation_profiles[0].training_job_definition.stopping_condition.max_runtime_in_seconds #=> Integer
2624
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.max_concurrent_transforms #=> Integer
2625
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.max_payload_in_mb #=> Integer
2626
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.batch_strategy #=> String, one of "MultiRecord", "SingleRecord"
2627
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.environment #=> Hash
2628
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.environment["TransformEnvironmentKey"] #=> String
2629
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.transform_input.data_source.s3_data_source.s3_data_type #=> String, one of "ManifestFile", "S3Prefix", "AugmentedManifestFile"
2630
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.transform_input.data_source.s3_data_source.s3_uri #=> String
2631
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.transform_input.content_type #=> String
2632
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.transform_input.compression_type #=> String, one of "None", "Gzip"
2633
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.transform_input.split_type #=> String, one of "None", "Line", "RecordIO"
2634
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.transform_output.s3_output_path #=> String
2635
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.transform_output.accept #=> String
2636
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.transform_output.assemble_with #=> String, one of "None", "Line"
2637
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.transform_output.kms_key_id #=> String
2638
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.transform_resources.instance_type #=> String, one of "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge"
2639
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.transform_resources.instance_count #=> Integer
2640
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.transform_resources.volume_kms_key_id #=> String
2641
+ # resp.algorithm_status #=> String, one of "Pending", "InProgress", "Completed", "Failed", "Deleting"
2642
+ # resp.algorithm_status_details.validation_statuses #=> Array
2643
+ # resp.algorithm_status_details.validation_statuses[0].name #=> String
2644
+ # resp.algorithm_status_details.validation_statuses[0].status #=> String, one of "NotStarted", "InProgress", "Completed", "Failed"
2645
+ # resp.algorithm_status_details.validation_statuses[0].failure_reason #=> String
2646
+ # resp.algorithm_status_details.image_scan_statuses #=> Array
2647
+ # resp.algorithm_status_details.image_scan_statuses[0].name #=> String
2648
+ # resp.algorithm_status_details.image_scan_statuses[0].status #=> String, one of "NotStarted", "InProgress", "Completed", "Failed"
2649
+ # resp.algorithm_status_details.image_scan_statuses[0].failure_reason #=> String
2650
+ # resp.product_id #=> String
2651
+ # resp.certify_for_marketplace #=> Boolean
2652
+ #
2653
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAlgorithm AWS API Documentation
2654
+ #
2655
+ # @overload describe_algorithm(params = {})
2656
+ # @param [Hash] params ({})
2657
+ def describe_algorithm(params = {}, options = {})
2658
+ req = build_request(:describe_algorithm, params)
2659
+ req.send_request(options)
2660
+ end
2661
+
2662
+ # Gets details about the specified git repository.
2663
+ #
2664
+ # @option params [required, String] :code_repository_name
2665
+ # The name of the git repository to describe.
2666
+ #
2667
+ # @return [Types::DescribeCodeRepositoryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2668
+ #
2669
+ # * {Types::DescribeCodeRepositoryOutput#code_repository_name #code_repository_name} => String
2670
+ # * {Types::DescribeCodeRepositoryOutput#code_repository_arn #code_repository_arn} => String
2671
+ # * {Types::DescribeCodeRepositoryOutput#creation_time #creation_time} => Time
2672
+ # * {Types::DescribeCodeRepositoryOutput#last_modified_time #last_modified_time} => Time
2673
+ # * {Types::DescribeCodeRepositoryOutput#git_config #git_config} => Types::GitConfig
2674
+ #
2675
+ # @example Request syntax with placeholder values
2676
+ #
2677
+ # resp = client.describe_code_repository({
2678
+ # code_repository_name: "EntityName", # required
2679
+ # })
2680
+ #
2681
+ # @example Response structure
2682
+ #
2683
+ # resp.code_repository_name #=> String
2684
+ # resp.code_repository_arn #=> String
2685
+ # resp.creation_time #=> Time
2686
+ # resp.last_modified_time #=> Time
2687
+ # resp.git_config.repository_url #=> String
2688
+ # resp.git_config.branch #=> String
2689
+ # resp.git_config.secret_arn #=> String
2690
+ #
2691
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCodeRepository AWS API Documentation
2692
+ #
2693
+ # @overload describe_code_repository(params = {})
2694
+ # @param [Hash] params ({})
2695
+ def describe_code_repository(params = {}, options = {})
2696
+ req = build_request(:describe_code_repository, params)
2697
+ req.send_request(options)
2698
+ end
2699
+
2700
+ # Returns information about a model compilation job.
2701
+ #
2702
+ # To create a model compilation job, use CreateCompilationJob. To get
2703
+ # information about multiple model compilation jobs, use
2704
+ # ListCompilationJobs.
2705
+ #
2706
+ # @option params [required, String] :compilation_job_name
2707
+ # The name of the model compilation job that you want information about.
2708
+ #
2709
+ # @return [Types::DescribeCompilationJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2710
+ #
2711
+ # * {Types::DescribeCompilationJobResponse#compilation_job_name #compilation_job_name} => String
2712
+ # * {Types::DescribeCompilationJobResponse#compilation_job_arn #compilation_job_arn} => String
2713
+ # * {Types::DescribeCompilationJobResponse#compilation_job_status #compilation_job_status} => String
2714
+ # * {Types::DescribeCompilationJobResponse#compilation_start_time #compilation_start_time} => Time
2715
+ # * {Types::DescribeCompilationJobResponse#compilation_end_time #compilation_end_time} => Time
2716
+ # * {Types::DescribeCompilationJobResponse#stopping_condition #stopping_condition} => Types::StoppingCondition
2717
+ # * {Types::DescribeCompilationJobResponse#creation_time #creation_time} => Time
2718
+ # * {Types::DescribeCompilationJobResponse#last_modified_time #last_modified_time} => Time
2719
+ # * {Types::DescribeCompilationJobResponse#failure_reason #failure_reason} => String
2720
+ # * {Types::DescribeCompilationJobResponse#model_artifacts #model_artifacts} => Types::ModelArtifacts
2721
+ # * {Types::DescribeCompilationJobResponse#role_arn #role_arn} => String
2722
+ # * {Types::DescribeCompilationJobResponse#input_config #input_config} => Types::InputConfig
2723
+ # * {Types::DescribeCompilationJobResponse#output_config #output_config} => Types::OutputConfig
2724
+ #
2725
+ # @example Request syntax with placeholder values
2726
+ #
2727
+ # resp = client.describe_compilation_job({
2728
+ # compilation_job_name: "EntityName", # required
2729
+ # })
2730
+ #
2731
+ # @example Response structure
2732
+ #
2733
+ # resp.compilation_job_name #=> String
2734
+ # resp.compilation_job_arn #=> String
2735
+ # resp.compilation_job_status #=> String, one of "INPROGRESS", "COMPLETED", "FAILED", "STARTING", "STOPPING", "STOPPED"
2736
+ # resp.compilation_start_time #=> Time
2737
+ # resp.compilation_end_time #=> Time
2738
+ # resp.stopping_condition.max_runtime_in_seconds #=> Integer
2739
+ # resp.creation_time #=> Time
2740
+ # resp.last_modified_time #=> Time
2741
+ # resp.failure_reason #=> String
2742
+ # resp.model_artifacts.s3_model_artifacts #=> String
2743
+ # resp.role_arn #=> String
2744
+ # resp.input_config.s3_uri #=> String
2745
+ # resp.input_config.data_input_config #=> String
2746
+ # resp.input_config.framework #=> String, one of "TENSORFLOW", "MXNET", "ONNX", "PYTORCH", "XGBOOST"
2747
+ # resp.output_config.s3_output_location #=> String
2748
+ # resp.output_config.target_device #=> String, one of "ml_m4", "ml_m5", "ml_c4", "ml_c5", "ml_p2", "ml_p3", "jetson_tx1", "jetson_tx2", "rasp3b", "deeplens"
2749
+ #
2750
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCompilationJob AWS API Documentation
2751
+ #
2752
+ # @overload describe_compilation_job(params = {})
2753
+ # @param [Hash] params ({})
2754
+ def describe_compilation_job(params = {}, options = {})
2755
+ req = build_request(:describe_compilation_job, params)
2756
+ req.send_request(options)
2757
+ end
2758
+
1598
2759
  # Returns the description of an endpoint.
1599
2760
  #
1600
2761
  # @option params [required, String] :endpoint_name
@@ -1676,6 +2837,7 @@ module Aws::SageMaker
1676
2837
  # resp.production_variants[0].initial_instance_count #=> Integer
1677
2838
  # resp.production_variants[0].instance_type #=> String, one of "ml.t2.medium", "ml.t2.large", "ml.t2.xlarge", "ml.t2.2xlarge", "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.c4.large", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge"
1678
2839
  # resp.production_variants[0].initial_variant_weight #=> Float
2840
+ # resp.production_variants[0].accelerator_type #=> String, one of "ml.eia1.medium", "ml.eia1.large", "ml.eia1.xlarge"
1679
2841
  # resp.kms_key_id #=> String
1680
2842
  # resp.creation_time #=> Time
1681
2843
  #
@@ -1741,19 +2903,23 @@ module Aws::SageMaker
1741
2903
  # resp.training_job_definition.static_hyper_parameters["ParameterKey"] #=> String
1742
2904
  # resp.training_job_definition.algorithm_specification.training_image #=> String
1743
2905
  # resp.training_job_definition.algorithm_specification.training_input_mode #=> String, one of "Pipe", "File"
2906
+ # resp.training_job_definition.algorithm_specification.algorithm_name #=> String
1744
2907
  # resp.training_job_definition.algorithm_specification.metric_definitions #=> Array
1745
2908
  # resp.training_job_definition.algorithm_specification.metric_definitions[0].name #=> String
1746
2909
  # resp.training_job_definition.algorithm_specification.metric_definitions[0].regex #=> String
1747
2910
  # resp.training_job_definition.role_arn #=> String
1748
2911
  # resp.training_job_definition.input_data_config #=> Array
1749
2912
  # resp.training_job_definition.input_data_config[0].channel_name #=> String
1750
- # resp.training_job_definition.input_data_config[0].data_source.s3_data_source.s3_data_type #=> String, one of "ManifestFile", "S3Prefix"
2913
+ # resp.training_job_definition.input_data_config[0].data_source.s3_data_source.s3_data_type #=> String, one of "ManifestFile", "S3Prefix", "AugmentedManifestFile"
1751
2914
  # resp.training_job_definition.input_data_config[0].data_source.s3_data_source.s3_uri #=> String
1752
2915
  # resp.training_job_definition.input_data_config[0].data_source.s3_data_source.s3_data_distribution_type #=> String, one of "FullyReplicated", "ShardedByS3Key"
2916
+ # resp.training_job_definition.input_data_config[0].data_source.s3_data_source.attribute_names #=> Array
2917
+ # resp.training_job_definition.input_data_config[0].data_source.s3_data_source.attribute_names[0] #=> String
1753
2918
  # resp.training_job_definition.input_data_config[0].content_type #=> String
1754
2919
  # resp.training_job_definition.input_data_config[0].compression_type #=> String, one of "None", "Gzip"
1755
2920
  # resp.training_job_definition.input_data_config[0].record_wrapper_type #=> String, one of "None", "RecordIO"
1756
2921
  # resp.training_job_definition.input_data_config[0].input_mode #=> String, one of "Pipe", "File"
2922
+ # resp.training_job_definition.input_data_config[0].shuffle_config.seed #=> Integer
1757
2923
  # resp.training_job_definition.vpc_config.security_group_ids #=> Array
1758
2924
  # resp.training_job_definition.vpc_config.security_group_ids[0] #=> String
1759
2925
  # resp.training_job_definition.vpc_config.subnets #=> Array
@@ -1765,6 +2931,7 @@ module Aws::SageMaker
1765
2931
  # resp.training_job_definition.resource_config.volume_size_in_gb #=> Integer
1766
2932
  # resp.training_job_definition.resource_config.volume_kms_key_id #=> String
1767
2933
  # resp.training_job_definition.stopping_condition.max_runtime_in_seconds #=> Integer
2934
+ # resp.training_job_definition.enable_network_isolation #=> Boolean
1768
2935
  # resp.hyper_parameter_tuning_job_status #=> String, one of "Completed", "InProgress", "Failed", "Stopped", "Stopping"
1769
2936
  # resp.creation_time #=> Time
1770
2937
  # resp.hyper_parameter_tuning_end_time #=> Time
@@ -1819,19 +2986,110 @@ module Aws::SageMaker
1819
2986
  req.send_request(options)
1820
2987
  end
1821
2988
 
1822
- # Describes a model that you created using the `CreateModel` API.
2989
+ # Gets information about a labeling job.
2990
+ #
2991
+ # @option params [required, String] :labeling_job_name
2992
+ # The name of the labeling job to return information for.
2993
+ #
2994
+ # @return [Types::DescribeLabelingJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2995
+ #
2996
+ # * {Types::DescribeLabelingJobResponse#labeling_job_status #labeling_job_status} => String
2997
+ # * {Types::DescribeLabelingJobResponse#label_counters #label_counters} => Types::LabelCounters
2998
+ # * {Types::DescribeLabelingJobResponse#failure_reason #failure_reason} => String
2999
+ # * {Types::DescribeLabelingJobResponse#creation_time #creation_time} => Time
3000
+ # * {Types::DescribeLabelingJobResponse#last_modified_time #last_modified_time} => Time
3001
+ # * {Types::DescribeLabelingJobResponse#job_reference_code #job_reference_code} => String
3002
+ # * {Types::DescribeLabelingJobResponse#labeling_job_name #labeling_job_name} => String
3003
+ # * {Types::DescribeLabelingJobResponse#labeling_job_arn #labeling_job_arn} => String
3004
+ # * {Types::DescribeLabelingJobResponse#label_attribute_name #label_attribute_name} => String
3005
+ # * {Types::DescribeLabelingJobResponse#input_config #input_config} => Types::LabelingJobInputConfig
3006
+ # * {Types::DescribeLabelingJobResponse#output_config #output_config} => Types::LabelingJobOutputConfig
3007
+ # * {Types::DescribeLabelingJobResponse#role_arn #role_arn} => String
3008
+ # * {Types::DescribeLabelingJobResponse#label_category_config_s3_uri #label_category_config_s3_uri} => String
3009
+ # * {Types::DescribeLabelingJobResponse#stopping_conditions #stopping_conditions} => Types::LabelingJobStoppingConditions
3010
+ # * {Types::DescribeLabelingJobResponse#labeling_job_algorithms_config #labeling_job_algorithms_config} => Types::LabelingJobAlgorithmsConfig
3011
+ # * {Types::DescribeLabelingJobResponse#human_task_config #human_task_config} => Types::HumanTaskConfig
3012
+ # * {Types::DescribeLabelingJobResponse#tags #tags} => Array&lt;Types::Tag&gt;
3013
+ # * {Types::DescribeLabelingJobResponse#labeling_job_output #labeling_job_output} => Types::LabelingJobOutput
1823
3014
  #
1824
- # @option params [required, String] :model_name
1825
- # The name of the model.
3015
+ # @example Request syntax with placeholder values
1826
3016
  #
1827
- # @return [Types::DescribeModelOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3017
+ # resp = client.describe_labeling_job({
3018
+ # labeling_job_name: "LabelingJobName", # required
3019
+ # })
1828
3020
  #
1829
- # * {Types::DescribeModelOutput#model_name #model_name} => String
1830
- # * {Types::DescribeModelOutput#primary_container #primary_container} => Types::ContainerDefinition
1831
- # * {Types::DescribeModelOutput#execution_role_arn #execution_role_arn} => String
1832
- # * {Types::DescribeModelOutput#vpc_config #vpc_config} => Types::VpcConfig
1833
- # * {Types::DescribeModelOutput#creation_time #creation_time} => Time
1834
- # * {Types::DescribeModelOutput#model_arn #model_arn} => String
3021
+ # @example Response structure
3022
+ #
3023
+ # resp.labeling_job_status #=> String, one of "InProgress", "Completed", "Failed", "Stopping", "Stopped"
3024
+ # resp.label_counters.total_labeled #=> Integer
3025
+ # resp.label_counters.human_labeled #=> Integer
3026
+ # resp.label_counters.machine_labeled #=> Integer
3027
+ # resp.label_counters.failed_non_retryable_error #=> Integer
3028
+ # resp.label_counters.unlabeled #=> Integer
3029
+ # resp.failure_reason #=> String
3030
+ # resp.creation_time #=> Time
3031
+ # resp.last_modified_time #=> Time
3032
+ # resp.job_reference_code #=> String
3033
+ # resp.labeling_job_name #=> String
3034
+ # resp.labeling_job_arn #=> String
3035
+ # resp.label_attribute_name #=> String
3036
+ # resp.input_config.data_source.s3_data_source.manifest_s3_uri #=> String
3037
+ # resp.input_config.data_attributes.content_classifiers #=> Array
3038
+ # resp.input_config.data_attributes.content_classifiers[0] #=> String, one of "FreeOfPersonallyIdentifiableInformation", "FreeOfAdultContent"
3039
+ # resp.output_config.s3_output_path #=> String
3040
+ # resp.output_config.kms_key_id #=> String
3041
+ # resp.role_arn #=> String
3042
+ # resp.label_category_config_s3_uri #=> String
3043
+ # resp.stopping_conditions.max_human_labeled_object_count #=> Integer
3044
+ # resp.stopping_conditions.max_percentage_of_input_dataset_labeled #=> Integer
3045
+ # resp.labeling_job_algorithms_config.labeling_job_algorithm_specification_arn #=> String
3046
+ # resp.labeling_job_algorithms_config.initial_active_learning_model_arn #=> String
3047
+ # resp.labeling_job_algorithms_config.labeling_job_resource_config.volume_kms_key_id #=> String
3048
+ # resp.human_task_config.workteam_arn #=> String
3049
+ # resp.human_task_config.ui_config.ui_template_s3_uri #=> String
3050
+ # resp.human_task_config.pre_human_task_lambda_arn #=> String
3051
+ # resp.human_task_config.task_keywords #=> Array
3052
+ # resp.human_task_config.task_keywords[0] #=> String
3053
+ # resp.human_task_config.task_title #=> String
3054
+ # resp.human_task_config.task_description #=> String
3055
+ # resp.human_task_config.number_of_human_workers_per_data_object #=> Integer
3056
+ # resp.human_task_config.task_time_limit_in_seconds #=> Integer
3057
+ # resp.human_task_config.task_availability_lifetime_in_seconds #=> Integer
3058
+ # resp.human_task_config.max_concurrent_task_count #=> Integer
3059
+ # resp.human_task_config.annotation_consolidation_config.annotation_consolidation_lambda_arn #=> String
3060
+ # resp.human_task_config.public_workforce_task_price.amount_in_usd.dollars #=> Integer
3061
+ # resp.human_task_config.public_workforce_task_price.amount_in_usd.cents #=> Integer
3062
+ # resp.human_task_config.public_workforce_task_price.amount_in_usd.tenth_fractions_of_a_cent #=> Integer
3063
+ # resp.tags #=> Array
3064
+ # resp.tags[0].key #=> String
3065
+ # resp.tags[0].value #=> String
3066
+ # resp.labeling_job_output.output_dataset_s3_uri #=> String
3067
+ # resp.labeling_job_output.final_active_learning_model_arn #=> String
3068
+ #
3069
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeLabelingJob AWS API Documentation
3070
+ #
3071
+ # @overload describe_labeling_job(params = {})
3072
+ # @param [Hash] params ({})
3073
+ def describe_labeling_job(params = {}, options = {})
3074
+ req = build_request(:describe_labeling_job, params)
3075
+ req.send_request(options)
3076
+ end
3077
+
3078
+ # Describes a model that you created using the `CreateModel` API.
3079
+ #
3080
+ # @option params [required, String] :model_name
3081
+ # The name of the model.
3082
+ #
3083
+ # @return [Types::DescribeModelOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3084
+ #
3085
+ # * {Types::DescribeModelOutput#model_name #model_name} => String
3086
+ # * {Types::DescribeModelOutput#primary_container #primary_container} => Types::ContainerDefinition
3087
+ # * {Types::DescribeModelOutput#containers #containers} => Array&lt;Types::ContainerDefinition&gt;
3088
+ # * {Types::DescribeModelOutput#execution_role_arn #execution_role_arn} => String
3089
+ # * {Types::DescribeModelOutput#vpc_config #vpc_config} => Types::VpcConfig
3090
+ # * {Types::DescribeModelOutput#creation_time #creation_time} => Time
3091
+ # * {Types::DescribeModelOutput#model_arn #model_arn} => String
3092
+ # * {Types::DescribeModelOutput#enable_network_isolation #enable_network_isolation} => Boolean
1835
3093
  #
1836
3094
  # @example Request syntax with placeholder values
1837
3095
  #
@@ -1847,6 +3105,14 @@ module Aws::SageMaker
1847
3105
  # resp.primary_container.model_data_url #=> String
1848
3106
  # resp.primary_container.environment #=> Hash
1849
3107
  # resp.primary_container.environment["EnvironmentKey"] #=> String
3108
+ # resp.primary_container.model_package_name #=> String
3109
+ # resp.containers #=> Array
3110
+ # resp.containers[0].container_hostname #=> String
3111
+ # resp.containers[0].image #=> String
3112
+ # resp.containers[0].model_data_url #=> String
3113
+ # resp.containers[0].environment #=> Hash
3114
+ # resp.containers[0].environment["EnvironmentKey"] #=> String
3115
+ # resp.containers[0].model_package_name #=> String
1850
3116
  # resp.execution_role_arn #=> String
1851
3117
  # resp.vpc_config.security_group_ids #=> Array
1852
3118
  # resp.vpc_config.security_group_ids[0] #=> String
@@ -1854,6 +3120,7 @@ module Aws::SageMaker
1854
3120
  # resp.vpc_config.subnets[0] #=> String
1855
3121
  # resp.creation_time #=> Time
1856
3122
  # resp.model_arn #=> String
3123
+ # resp.enable_network_isolation #=> Boolean
1857
3124
  #
1858
3125
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModel AWS API Documentation
1859
3126
  #
@@ -1864,6 +3131,97 @@ module Aws::SageMaker
1864
3131
  req.send_request(options)
1865
3132
  end
1866
3133
 
3134
+ # Returns a description of the specified model package, which is used to
3135
+ # create Amazon SageMaker models or list on AWS Marketplace.
3136
+ #
3137
+ # Buyers can subscribe to model packages listed on AWS Marketplace to
3138
+ # create models in Amazon SageMaker.
3139
+ #
3140
+ # @option params [required, String] :model_package_name
3141
+ # The name of the model package to describe.
3142
+ #
3143
+ # @return [Types::DescribeModelPackageOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3144
+ #
3145
+ # * {Types::DescribeModelPackageOutput#model_package_name #model_package_name} => String
3146
+ # * {Types::DescribeModelPackageOutput#model_package_arn #model_package_arn} => String
3147
+ # * {Types::DescribeModelPackageOutput#model_package_description #model_package_description} => String
3148
+ # * {Types::DescribeModelPackageOutput#creation_time #creation_time} => Time
3149
+ # * {Types::DescribeModelPackageOutput#inference_specification #inference_specification} => Types::InferenceSpecification
3150
+ # * {Types::DescribeModelPackageOutput#source_algorithm_specification #source_algorithm_specification} => Types::SourceAlgorithmSpecification
3151
+ # * {Types::DescribeModelPackageOutput#validation_specification #validation_specification} => Types::ModelPackageValidationSpecification
3152
+ # * {Types::DescribeModelPackageOutput#model_package_status #model_package_status} => String
3153
+ # * {Types::DescribeModelPackageOutput#model_package_status_details #model_package_status_details} => Types::ModelPackageStatusDetails
3154
+ # * {Types::DescribeModelPackageOutput#certify_for_marketplace #certify_for_marketplace} => Boolean
3155
+ #
3156
+ # @example Request syntax with placeholder values
3157
+ #
3158
+ # resp = client.describe_model_package({
3159
+ # model_package_name: "ArnOrName", # required
3160
+ # })
3161
+ #
3162
+ # @example Response structure
3163
+ #
3164
+ # resp.model_package_name #=> String
3165
+ # resp.model_package_arn #=> String
3166
+ # resp.model_package_description #=> String
3167
+ # resp.creation_time #=> Time
3168
+ # resp.inference_specification.containers #=> Array
3169
+ # resp.inference_specification.containers[0].container_hostname #=> String
3170
+ # resp.inference_specification.containers[0].image #=> String
3171
+ # resp.inference_specification.containers[0].image_digest #=> String
3172
+ # resp.inference_specification.containers[0].model_data_url #=> String
3173
+ # resp.inference_specification.containers[0].product_id #=> String
3174
+ # resp.inference_specification.supported_transform_instance_types #=> Array
3175
+ # resp.inference_specification.supported_transform_instance_types[0] #=> String, one of "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge"
3176
+ # resp.inference_specification.supported_realtime_inference_instance_types #=> Array
3177
+ # resp.inference_specification.supported_realtime_inference_instance_types[0] #=> String, one of "ml.t2.medium", "ml.t2.large", "ml.t2.xlarge", "ml.t2.2xlarge", "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.c4.large", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge"
3178
+ # resp.inference_specification.supported_content_types #=> Array
3179
+ # resp.inference_specification.supported_content_types[0] #=> String
3180
+ # resp.inference_specification.supported_response_mime_types #=> Array
3181
+ # resp.inference_specification.supported_response_mime_types[0] #=> String
3182
+ # resp.source_algorithm_specification.source_algorithms #=> Array
3183
+ # resp.source_algorithm_specification.source_algorithms[0].model_data_url #=> String
3184
+ # resp.source_algorithm_specification.source_algorithms[0].algorithm_name #=> String
3185
+ # resp.validation_specification.validation_role #=> String
3186
+ # resp.validation_specification.validation_profiles #=> Array
3187
+ # resp.validation_specification.validation_profiles[0].profile_name #=> String
3188
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.max_concurrent_transforms #=> Integer
3189
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.max_payload_in_mb #=> Integer
3190
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.batch_strategy #=> String, one of "MultiRecord", "SingleRecord"
3191
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.environment #=> Hash
3192
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.environment["TransformEnvironmentKey"] #=> String
3193
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.transform_input.data_source.s3_data_source.s3_data_type #=> String, one of "ManifestFile", "S3Prefix", "AugmentedManifestFile"
3194
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.transform_input.data_source.s3_data_source.s3_uri #=> String
3195
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.transform_input.content_type #=> String
3196
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.transform_input.compression_type #=> String, one of "None", "Gzip"
3197
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.transform_input.split_type #=> String, one of "None", "Line", "RecordIO"
3198
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.transform_output.s3_output_path #=> String
3199
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.transform_output.accept #=> String
3200
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.transform_output.assemble_with #=> String, one of "None", "Line"
3201
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.transform_output.kms_key_id #=> String
3202
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.transform_resources.instance_type #=> String, one of "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge"
3203
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.transform_resources.instance_count #=> Integer
3204
+ # resp.validation_specification.validation_profiles[0].transform_job_definition.transform_resources.volume_kms_key_id #=> String
3205
+ # resp.model_package_status #=> String, one of "Pending", "InProgress", "Completed", "Failed", "Deleting"
3206
+ # resp.model_package_status_details.validation_statuses #=> Array
3207
+ # resp.model_package_status_details.validation_statuses[0].name #=> String
3208
+ # resp.model_package_status_details.validation_statuses[0].status #=> String, one of "NotStarted", "InProgress", "Completed", "Failed"
3209
+ # resp.model_package_status_details.validation_statuses[0].failure_reason #=> String
3210
+ # resp.model_package_status_details.image_scan_statuses #=> Array
3211
+ # resp.model_package_status_details.image_scan_statuses[0].name #=> String
3212
+ # resp.model_package_status_details.image_scan_statuses[0].status #=> String, one of "NotStarted", "InProgress", "Completed", "Failed"
3213
+ # resp.model_package_status_details.image_scan_statuses[0].failure_reason #=> String
3214
+ # resp.certify_for_marketplace #=> Boolean
3215
+ #
3216
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelPackage AWS API Documentation
3217
+ #
3218
+ # @overload describe_model_package(params = {})
3219
+ # @param [Hash] params ({})
3220
+ def describe_model_package(params = {}, options = {})
3221
+ req = build_request(:describe_model_package, params)
3222
+ req.send_request(options)
3223
+ end
3224
+
1867
3225
  # Returns information about a notebook instance.
1868
3226
  #
1869
3227
  # @option params [required, String] :notebook_instance_name
@@ -1887,6 +3245,9 @@ module Aws::SageMaker
1887
3245
  # * {Types::DescribeNotebookInstanceOutput#notebook_instance_lifecycle_config_name #notebook_instance_lifecycle_config_name} => String
1888
3246
  # * {Types::DescribeNotebookInstanceOutput#direct_internet_access #direct_internet_access} => String
1889
3247
  # * {Types::DescribeNotebookInstanceOutput#volume_size_in_gb #volume_size_in_gb} => Integer
3248
+ # * {Types::DescribeNotebookInstanceOutput#accelerator_types #accelerator_types} => Array&lt;String&gt;
3249
+ # * {Types::DescribeNotebookInstanceOutput#default_code_repository #default_code_repository} => String
3250
+ # * {Types::DescribeNotebookInstanceOutput#additional_code_repositories #additional_code_repositories} => Array&lt;String&gt;
1890
3251
  #
1891
3252
  # @example Request syntax with placeholder values
1892
3253
  #
@@ -1913,6 +3274,11 @@ module Aws::SageMaker
1913
3274
  # resp.notebook_instance_lifecycle_config_name #=> String
1914
3275
  # resp.direct_internet_access #=> String, one of "Enabled", "Disabled"
1915
3276
  # resp.volume_size_in_gb #=> Integer
3277
+ # resp.accelerator_types #=> Array
3278
+ # resp.accelerator_types[0] #=> String, one of "ml.eia1.medium", "ml.eia1.large", "ml.eia1.xlarge"
3279
+ # resp.default_code_repository #=> String
3280
+ # resp.additional_code_repositories #=> Array
3281
+ # resp.additional_code_repositories[0] #=> String
1916
3282
  #
1917
3283
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstance AWS API Documentation
1918
3284
  #
@@ -1970,6 +3336,40 @@ module Aws::SageMaker
1970
3336
  req.send_request(options)
1971
3337
  end
1972
3338
 
3339
+ # Gets information about a work team provided by a vendor. It returns
3340
+ # details about the subscription with a vendor in the AWS Marketplace.
3341
+ #
3342
+ # @option params [required, String] :workteam_arn
3343
+ # The Amazon Resource Name (ARN) of the subscribed work team to
3344
+ # describe.
3345
+ #
3346
+ # @return [Types::DescribeSubscribedWorkteamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3347
+ #
3348
+ # * {Types::DescribeSubscribedWorkteamResponse#subscribed_workteam #subscribed_workteam} => Types::SubscribedWorkteam
3349
+ #
3350
+ # @example Request syntax with placeholder values
3351
+ #
3352
+ # resp = client.describe_subscribed_workteam({
3353
+ # workteam_arn: "WorkteamArn", # required
3354
+ # })
3355
+ #
3356
+ # @example Response structure
3357
+ #
3358
+ # resp.subscribed_workteam.workteam_arn #=> String
3359
+ # resp.subscribed_workteam.marketplace_title #=> String
3360
+ # resp.subscribed_workteam.seller_name #=> String
3361
+ # resp.subscribed_workteam.marketplace_description #=> String
3362
+ # resp.subscribed_workteam.listing_id #=> String
3363
+ #
3364
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeSubscribedWorkteam AWS API Documentation
3365
+ #
3366
+ # @overload describe_subscribed_workteam(params = {})
3367
+ # @param [Hash] params ({})
3368
+ def describe_subscribed_workteam(params = {}, options = {})
3369
+ req = build_request(:describe_subscribed_workteam, params)
3370
+ req.send_request(options)
3371
+ end
3372
+
1973
3373
  # Returns information about a training job.
1974
3374
  #
1975
3375
  # @option params [required, String] :training_job_name
@@ -1980,6 +3380,7 @@ module Aws::SageMaker
1980
3380
  # * {Types::DescribeTrainingJobResponse#training_job_name #training_job_name} => String
1981
3381
  # * {Types::DescribeTrainingJobResponse#training_job_arn #training_job_arn} => String
1982
3382
  # * {Types::DescribeTrainingJobResponse#tuning_job_arn #tuning_job_arn} => String
3383
+ # * {Types::DescribeTrainingJobResponse#labeling_job_arn #labeling_job_arn} => String
1983
3384
  # * {Types::DescribeTrainingJobResponse#model_artifacts #model_artifacts} => Types::ModelArtifacts
1984
3385
  # * {Types::DescribeTrainingJobResponse#training_job_status #training_job_status} => String
1985
3386
  # * {Types::DescribeTrainingJobResponse#secondary_status #secondary_status} => String
@@ -1998,6 +3399,7 @@ module Aws::SageMaker
1998
3399
  # * {Types::DescribeTrainingJobResponse#last_modified_time #last_modified_time} => Time
1999
3400
  # * {Types::DescribeTrainingJobResponse#secondary_status_transitions #secondary_status_transitions} => Array&lt;Types::SecondaryStatusTransition&gt;
2000
3401
  # * {Types::DescribeTrainingJobResponse#final_metric_data_list #final_metric_data_list} => Array&lt;Types::MetricData&gt;
3402
+ # * {Types::DescribeTrainingJobResponse#enable_network_isolation #enable_network_isolation} => Boolean
2001
3403
  #
2002
3404
  # @example Request syntax with placeholder values
2003
3405
  #
@@ -2010,6 +3412,7 @@ module Aws::SageMaker
2010
3412
  # resp.training_job_name #=> String
2011
3413
  # resp.training_job_arn #=> String
2012
3414
  # resp.tuning_job_arn #=> String
3415
+ # resp.labeling_job_arn #=> String
2013
3416
  # resp.model_artifacts.s3_model_artifacts #=> String
2014
3417
  # resp.training_job_status #=> String, one of "InProgress", "Completed", "Failed", "Stopping", "Stopped"
2015
3418
  # resp.secondary_status #=> String, one of "Starting", "LaunchingMLInstances", "PreparingTrainingStack", "Downloading", "DownloadingTrainingImage", "Training", "Uploading", "Stopping", "Stopped", "MaxRuntimeExceeded", "Completed", "Failed"
@@ -2017,6 +3420,7 @@ module Aws::SageMaker
2017
3420
  # resp.hyper_parameters #=> Hash
2018
3421
  # resp.hyper_parameters["ParameterKey"] #=> String
2019
3422
  # resp.algorithm_specification.training_image #=> String
3423
+ # resp.algorithm_specification.algorithm_name #=> String
2020
3424
  # resp.algorithm_specification.training_input_mode #=> String, one of "Pipe", "File"
2021
3425
  # resp.algorithm_specification.metric_definitions #=> Array
2022
3426
  # resp.algorithm_specification.metric_definitions[0].name #=> String
@@ -2024,13 +3428,16 @@ module Aws::SageMaker
2024
3428
  # resp.role_arn #=> String
2025
3429
  # resp.input_data_config #=> Array
2026
3430
  # resp.input_data_config[0].channel_name #=> String
2027
- # resp.input_data_config[0].data_source.s3_data_source.s3_data_type #=> String, one of "ManifestFile", "S3Prefix"
3431
+ # resp.input_data_config[0].data_source.s3_data_source.s3_data_type #=> String, one of "ManifestFile", "S3Prefix", "AugmentedManifestFile"
2028
3432
  # resp.input_data_config[0].data_source.s3_data_source.s3_uri #=> String
2029
3433
  # resp.input_data_config[0].data_source.s3_data_source.s3_data_distribution_type #=> String, one of "FullyReplicated", "ShardedByS3Key"
3434
+ # resp.input_data_config[0].data_source.s3_data_source.attribute_names #=> Array
3435
+ # resp.input_data_config[0].data_source.s3_data_source.attribute_names[0] #=> String
2030
3436
  # resp.input_data_config[0].content_type #=> String
2031
3437
  # resp.input_data_config[0].compression_type #=> String, one of "None", "Gzip"
2032
3438
  # resp.input_data_config[0].record_wrapper_type #=> String, one of "None", "RecordIO"
2033
3439
  # resp.input_data_config[0].input_mode #=> String, one of "Pipe", "File"
3440
+ # resp.input_data_config[0].shuffle_config.seed #=> Integer
2034
3441
  # resp.output_data_config.kms_key_id #=> String
2035
3442
  # resp.output_data_config.s3_output_path #=> String
2036
3443
  # resp.resource_config.instance_type #=> String, one of "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge"
@@ -2055,6 +3462,7 @@ module Aws::SageMaker
2055
3462
  # resp.final_metric_data_list[0].metric_name #=> String
2056
3463
  # resp.final_metric_data_list[0].value #=> Float
2057
3464
  # resp.final_metric_data_list[0].timestamp #=> Time
3465
+ # resp.enable_network_isolation #=> Boolean
2058
3466
  #
2059
3467
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrainingJob AWS API Documentation
2060
3468
  #
@@ -2087,6 +3495,7 @@ module Aws::SageMaker
2087
3495
  # * {Types::DescribeTransformJobResponse#creation_time #creation_time} => Time
2088
3496
  # * {Types::DescribeTransformJobResponse#transform_start_time #transform_start_time} => Time
2089
3497
  # * {Types::DescribeTransformJobResponse#transform_end_time #transform_end_time} => Time
3498
+ # * {Types::DescribeTransformJobResponse#labeling_job_arn #labeling_job_arn} => String
2090
3499
  #
2091
3500
  # @example Request syntax with placeholder values
2092
3501
  #
@@ -2106,7 +3515,7 @@ module Aws::SageMaker
2106
3515
  # resp.batch_strategy #=> String, one of "MultiRecord", "SingleRecord"
2107
3516
  # resp.environment #=> Hash
2108
3517
  # resp.environment["TransformEnvironmentKey"] #=> String
2109
- # resp.transform_input.data_source.s3_data_source.s3_data_type #=> String, one of "ManifestFile", "S3Prefix"
3518
+ # resp.transform_input.data_source.s3_data_source.s3_data_type #=> String, one of "ManifestFile", "S3Prefix", "AugmentedManifestFile"
2110
3519
  # resp.transform_input.data_source.s3_data_source.s3_uri #=> String
2111
3520
  # resp.transform_input.content_type #=> String
2112
3521
  # resp.transform_input.compression_type #=> String, one of "None", "Gzip"
@@ -2121,6 +3530,7 @@ module Aws::SageMaker
2121
3530
  # resp.creation_time #=> Time
2122
3531
  # resp.transform_start_time #=> Time
2123
3532
  # resp.transform_end_time #=> Time
3533
+ # resp.labeling_job_arn #=> String
2124
3534
  #
2125
3535
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTransformJob AWS API Documentation
2126
3536
  #
@@ -2131,6 +3541,305 @@ module Aws::SageMaker
2131
3541
  req.send_request(options)
2132
3542
  end
2133
3543
 
3544
+ # Gets information about a specific work team. You can see information
3545
+ # such as the create date, the last updated date, membership
3546
+ # information, and the work team's Amazon Resource Name (ARN).
3547
+ #
3548
+ # @option params [required, String] :workteam_name
3549
+ # The name of the work team to return a description of.
3550
+ #
3551
+ # @return [Types::DescribeWorkteamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3552
+ #
3553
+ # * {Types::DescribeWorkteamResponse#workteam #workteam} => Types::Workteam
3554
+ #
3555
+ # @example Request syntax with placeholder values
3556
+ #
3557
+ # resp = client.describe_workteam({
3558
+ # workteam_name: "WorkteamName", # required
3559
+ # })
3560
+ #
3561
+ # @example Response structure
3562
+ #
3563
+ # resp.workteam.workteam_name #=> String
3564
+ # resp.workteam.member_definitions #=> Array
3565
+ # resp.workteam.member_definitions[0].cognito_member_definition.user_pool #=> String
3566
+ # resp.workteam.member_definitions[0].cognito_member_definition.user_group #=> String
3567
+ # resp.workteam.member_definitions[0].cognito_member_definition.client_id #=> String
3568
+ # resp.workteam.workteam_arn #=> String
3569
+ # resp.workteam.product_listing_ids #=> Array
3570
+ # resp.workteam.product_listing_ids[0] #=> String
3571
+ # resp.workteam.description #=> String
3572
+ # resp.workteam.sub_domain #=> String
3573
+ # resp.workteam.create_date #=> Time
3574
+ # resp.workteam.last_updated_date #=> Time
3575
+ #
3576
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeWorkteam AWS API Documentation
3577
+ #
3578
+ # @overload describe_workteam(params = {})
3579
+ # @param [Hash] params ({})
3580
+ def describe_workteam(params = {}, options = {})
3581
+ req = build_request(:describe_workteam, params)
3582
+ req.send_request(options)
3583
+ end
3584
+
3585
+ # Returns suggestions for the property name to use in `Search` queries.
3586
+ # Provides suggestions for `HyperParameters`, `Tags`, and `Metrics`.
3587
+ #
3588
+ # @option params [required, String] :resource
3589
+ # The name of the Amazon SageMaker resource to Search for. The only
3590
+ # valid `Resource` value is `TrainingJob`.
3591
+ #
3592
+ # @option params [Types::SuggestionQuery] :suggestion_query
3593
+ # Limits the property names that are included in the response.
3594
+ #
3595
+ # @return [Types::GetSearchSuggestionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3596
+ #
3597
+ # * {Types::GetSearchSuggestionsResponse#property_name_suggestions #property_name_suggestions} => Array&lt;Types::PropertyNameSuggestion&gt;
3598
+ #
3599
+ # @example Request syntax with placeholder values
3600
+ #
3601
+ # resp = client.get_search_suggestions({
3602
+ # resource: "TrainingJob", # required, accepts TrainingJob
3603
+ # suggestion_query: {
3604
+ # property_name_query: {
3605
+ # property_name_hint: "PropertyNameHint", # required
3606
+ # },
3607
+ # },
3608
+ # })
3609
+ #
3610
+ # @example Response structure
3611
+ #
3612
+ # resp.property_name_suggestions #=> Array
3613
+ # resp.property_name_suggestions[0].property_name #=> String
3614
+ #
3615
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetSearchSuggestions AWS API Documentation
3616
+ #
3617
+ # @overload get_search_suggestions(params = {})
3618
+ # @param [Hash] params ({})
3619
+ def get_search_suggestions(params = {}, options = {})
3620
+ req = build_request(:get_search_suggestions, params)
3621
+ req.send_request(options)
3622
+ end
3623
+
3624
+ # Lists the machine learning algorithms that have been created.
3625
+ #
3626
+ # @option params [Time,DateTime,Date,Integer,String] :creation_time_after
3627
+ # A filter that returns only algorithms created after the specified time
3628
+ # (timestamp).
3629
+ #
3630
+ # @option params [Time,DateTime,Date,Integer,String] :creation_time_before
3631
+ # A filter that returns only algorithms created before the specified
3632
+ # time (timestamp).
3633
+ #
3634
+ # @option params [Integer] :max_results
3635
+ # The maximum number of algorithms to return in the response.
3636
+ #
3637
+ # @option params [String] :name_contains
3638
+ # A string in the algorithm name. This filter returns only algorithms
3639
+ # whose name contains the specified string.
3640
+ #
3641
+ # @option params [String] :next_token
3642
+ # If the response to a previous `ListAlgorithms` request was truncated,
3643
+ # the response includes a `NextToken`. To retrieve the next set of
3644
+ # algorithms, use the token in the next request.
3645
+ #
3646
+ # @option params [String] :sort_by
3647
+ # The parameter by which to sort the results. The default is
3648
+ # `CreationTime`.
3649
+ #
3650
+ # @option params [String] :sort_order
3651
+ # The sort order for the results. The default is `Ascending`.
3652
+ #
3653
+ # @return [Types::ListAlgorithmsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3654
+ #
3655
+ # * {Types::ListAlgorithmsOutput#algorithm_summary_list #algorithm_summary_list} => Array&lt;Types::AlgorithmSummary&gt;
3656
+ # * {Types::ListAlgorithmsOutput#next_token #next_token} => String
3657
+ #
3658
+ # @example Request syntax with placeholder values
3659
+ #
3660
+ # resp = client.list_algorithms({
3661
+ # creation_time_after: Time.now,
3662
+ # creation_time_before: Time.now,
3663
+ # max_results: 1,
3664
+ # name_contains: "NameContains",
3665
+ # next_token: "NextToken",
3666
+ # sort_by: "Name", # accepts Name, CreationTime
3667
+ # sort_order: "Ascending", # accepts Ascending, Descending
3668
+ # })
3669
+ #
3670
+ # @example Response structure
3671
+ #
3672
+ # resp.algorithm_summary_list #=> Array
3673
+ # resp.algorithm_summary_list[0].algorithm_name #=> String
3674
+ # resp.algorithm_summary_list[0].algorithm_arn #=> String
3675
+ # resp.algorithm_summary_list[0].algorithm_description #=> String
3676
+ # resp.algorithm_summary_list[0].creation_time #=> Time
3677
+ # resp.algorithm_summary_list[0].algorithm_status #=> String, one of "Pending", "InProgress", "Completed", "Failed", "Deleting"
3678
+ # resp.next_token #=> String
3679
+ #
3680
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAlgorithms AWS API Documentation
3681
+ #
3682
+ # @overload list_algorithms(params = {})
3683
+ # @param [Hash] params ({})
3684
+ def list_algorithms(params = {}, options = {})
3685
+ req = build_request(:list_algorithms, params)
3686
+ req.send_request(options)
3687
+ end
3688
+
3689
+ # Gets a list of the git repositories in your account.
3690
+ #
3691
+ # @option params [Time,DateTime,Date,Integer,String] :creation_time_after
3692
+ # A filter that returns only git repositories that were created after
3693
+ # the specified time.
3694
+ #
3695
+ # @option params [Time,DateTime,Date,Integer,String] :creation_time_before
3696
+ # A filter that returns only git repositories that were created before
3697
+ # the specified time.
3698
+ #
3699
+ # @option params [Time,DateTime,Date,Integer,String] :last_modified_time_after
3700
+ # A filter that returns only git repositories that were last modified
3701
+ # after the specified time.
3702
+ #
3703
+ # @option params [Time,DateTime,Date,Integer,String] :last_modified_time_before
3704
+ # A filter that returns only git repositories that were last modified
3705
+ # before the specified time.
3706
+ #
3707
+ # @option params [Integer] :max_results
3708
+ # The maximum number of git repositories to return in the response.
3709
+ #
3710
+ # @option params [String] :name_contains
3711
+ # A string in the git repositories name. This filter returns only
3712
+ # repositories whose name contains the specified string.
3713
+ #
3714
+ # @option params [String] :next_token
3715
+ # If the result of a `ListCodeRepositoriesOutput` request was truncated,
3716
+ # the response includes a `NextToken`. To get the next set of git
3717
+ # repositories, use the token in the next request.
3718
+ #
3719
+ # @option params [String] :sort_by
3720
+ # The field to sort results by. The default is `Name`.
3721
+ #
3722
+ # @option params [String] :sort_order
3723
+ # The sort order for results. The default is `Ascending`.
3724
+ #
3725
+ # @return [Types::ListCodeRepositoriesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3726
+ #
3727
+ # * {Types::ListCodeRepositoriesOutput#code_repository_summary_list #code_repository_summary_list} => Array&lt;Types::CodeRepositorySummary&gt;
3728
+ # * {Types::ListCodeRepositoriesOutput#next_token #next_token} => String
3729
+ #
3730
+ # @example Request syntax with placeholder values
3731
+ #
3732
+ # resp = client.list_code_repositories({
3733
+ # creation_time_after: Time.now,
3734
+ # creation_time_before: Time.now,
3735
+ # last_modified_time_after: Time.now,
3736
+ # last_modified_time_before: Time.now,
3737
+ # max_results: 1,
3738
+ # name_contains: "CodeRepositoryNameContains",
3739
+ # next_token: "NextToken",
3740
+ # sort_by: "Name", # accepts Name, CreationTime, LastModifiedTime
3741
+ # sort_order: "Ascending", # accepts Ascending, Descending
3742
+ # })
3743
+ #
3744
+ # @example Response structure
3745
+ #
3746
+ # resp.code_repository_summary_list #=> Array
3747
+ # resp.code_repository_summary_list[0].code_repository_name #=> String
3748
+ # resp.code_repository_summary_list[0].code_repository_arn #=> String
3749
+ # resp.code_repository_summary_list[0].creation_time #=> Time
3750
+ # resp.code_repository_summary_list[0].last_modified_time #=> Time
3751
+ # resp.code_repository_summary_list[0].git_config.repository_url #=> String
3752
+ # resp.code_repository_summary_list[0].git_config.branch #=> String
3753
+ # resp.code_repository_summary_list[0].git_config.secret_arn #=> String
3754
+ # resp.next_token #=> String
3755
+ #
3756
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCodeRepositories AWS API Documentation
3757
+ #
3758
+ # @overload list_code_repositories(params = {})
3759
+ # @param [Hash] params ({})
3760
+ def list_code_repositories(params = {}, options = {})
3761
+ req = build_request(:list_code_repositories, params)
3762
+ req.send_request(options)
3763
+ end
3764
+
3765
+ # Lists model compilation jobs that satisfy various filters.
3766
+ #
3767
+ # To create a model compilation job, use CreateCompilationJob. To get
3768
+ # information about a particular model compilation job you have created,
3769
+ # use DescribeCompilationJob.
3770
+ #
3771
+ # @option params [String] :next_token
3772
+ # If the result of the previous `ListCompilationJobs` request was
3773
+ # truncated, the response includes a `NextToken`. To retrieve the next
3774
+ # set of model compilation jobs, use the token in the next request.
3775
+ #
3776
+ # @option params [Integer] :max_results
3777
+ # The maximum number of model compilation jobs to return in the
3778
+ # response.
3779
+ #
3780
+ # @option params [Time,DateTime,Date,Integer,String] :creation_time_after
3781
+ # A filter that returns the model compilation jobs that were created
3782
+ # after a specified time.
3783
+ #
3784
+ # @option params [Time,DateTime,Date,Integer,String] :creation_time_before
3785
+ # A filter that returns the model compilation jobs that were created
3786
+ # before a specified time.
3787
+ #
3788
+ # @option params [Time,DateTime,Date,Integer,String] :last_modified_time_after
3789
+ # A filter that returns the model compilation jobs that were modified
3790
+ # after a specified time.
3791
+ #
3792
+ # @option params [Time,DateTime,Date,Integer,String] :last_modified_time_before
3793
+ # A filter that returns the model compilation jobs that were modified
3794
+ # before a specified time.
3795
+ #
3796
+ # @option params [String] :name_contains
3797
+ # A filter that returns the model compilation jobs whose name contains a
3798
+ # specified string.
3799
+ #
3800
+ # @option params [String] :status_equals
3801
+ # A filter that retrieves model compilation jobs with a specific
3802
+ # DescribeCompilationJobResponse$CompilationJobStatus status.
3803
+ #
3804
+ # @return [Types::ListCompilationJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3805
+ #
3806
+ # * {Types::ListCompilationJobsResponse#compilation_job_summaries #compilation_job_summaries} => Array&lt;Types::CompilationJobSummary&gt;
3807
+ # * {Types::ListCompilationJobsResponse#next_token #next_token} => String
3808
+ #
3809
+ # @example Request syntax with placeholder values
3810
+ #
3811
+ # resp = client.list_compilation_jobs({
3812
+ # next_token: "NextToken",
3813
+ # max_results: 1,
3814
+ # creation_time_after: Time.now,
3815
+ # creation_time_before: Time.now,
3816
+ # last_modified_time_after: Time.now,
3817
+ # last_modified_time_before: Time.now,
3818
+ # name_contains: "NameContains",
3819
+ # status_equals: "INPROGRESS", # accepts INPROGRESS, COMPLETED, FAILED, STARTING, STOPPING, STOPPED
3820
+ # })
3821
+ #
3822
+ # @example Response structure
3823
+ #
3824
+ # resp.compilation_job_summaries #=> Array
3825
+ # resp.compilation_job_summaries[0].compilation_job_name #=> String
3826
+ # resp.compilation_job_summaries[0].compilation_job_arn #=> String
3827
+ # resp.compilation_job_summaries[0].creation_time #=> Time
3828
+ # resp.compilation_job_summaries[0].compilation_end_time #=> Time
3829
+ # resp.compilation_job_summaries[0].compilation_target_device #=> String, one of "ml_m4", "ml_m5", "ml_c4", "ml_c5", "ml_p2", "ml_p3", "jetson_tx1", "jetson_tx2", "rasp3b", "deeplens"
3830
+ # resp.compilation_job_summaries[0].last_modified_time #=> Time
3831
+ # resp.compilation_job_summaries[0].compilation_job_status #=> String, one of "INPROGRESS", "COMPLETED", "FAILED", "STARTING", "STOPPING", "STOPPED"
3832
+ # resp.next_token #=> String
3833
+ #
3834
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCompilationJobs AWS API Documentation
3835
+ #
3836
+ # @overload list_compilation_jobs(params = {})
3837
+ # @param [Hash] params ({})
3838
+ def list_compilation_jobs(params = {}, options = {})
3839
+ req = build_request(:list_compilation_jobs, params)
3840
+ req.send_request(options)
3841
+ end
3842
+
2134
3843
  # Lists endpoint configurations.
2135
3844
  #
2136
3845
  # @option params [String] :sort_by
@@ -2304,61 +4013,291 @@ module Aws::SageMaker
2304
4013
  # A filter that returns only tuning jobs that were modified after the
2305
4014
  # specified time.
2306
4015
  #
2307
- # @option params [Time,DateTime,Date,Integer,String] :last_modified_time_before
2308
- # A filter that returns only tuning jobs that were modified before the
2309
- # specified time.
4016
+ # @option params [Time,DateTime,Date,Integer,String] :last_modified_time_before
4017
+ # A filter that returns only tuning jobs that were modified before the
4018
+ # specified time.
4019
+ #
4020
+ # @option params [String] :status_equals
4021
+ # A filter that returns only tuning jobs with the specified status.
4022
+ #
4023
+ # @return [Types::ListHyperParameterTuningJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4024
+ #
4025
+ # * {Types::ListHyperParameterTuningJobsResponse#hyper_parameter_tuning_job_summaries #hyper_parameter_tuning_job_summaries} => Array&lt;Types::HyperParameterTuningJobSummary&gt;
4026
+ # * {Types::ListHyperParameterTuningJobsResponse#next_token #next_token} => String
4027
+ #
4028
+ # @example Request syntax with placeholder values
4029
+ #
4030
+ # resp = client.list_hyper_parameter_tuning_jobs({
4031
+ # next_token: "NextToken",
4032
+ # max_results: 1,
4033
+ # sort_by: "Name", # accepts Name, Status, CreationTime
4034
+ # sort_order: "Ascending", # accepts Ascending, Descending
4035
+ # name_contains: "NameContains",
4036
+ # creation_time_after: Time.now,
4037
+ # creation_time_before: Time.now,
4038
+ # last_modified_time_after: Time.now,
4039
+ # last_modified_time_before: Time.now,
4040
+ # status_equals: "Completed", # accepts Completed, InProgress, Failed, Stopped, Stopping
4041
+ # })
4042
+ #
4043
+ # @example Response structure
4044
+ #
4045
+ # resp.hyper_parameter_tuning_job_summaries #=> Array
4046
+ # resp.hyper_parameter_tuning_job_summaries[0].hyper_parameter_tuning_job_name #=> String
4047
+ # resp.hyper_parameter_tuning_job_summaries[0].hyper_parameter_tuning_job_arn #=> String
4048
+ # resp.hyper_parameter_tuning_job_summaries[0].hyper_parameter_tuning_job_status #=> String, one of "Completed", "InProgress", "Failed", "Stopped", "Stopping"
4049
+ # resp.hyper_parameter_tuning_job_summaries[0].strategy #=> String, one of "Bayesian"
4050
+ # resp.hyper_parameter_tuning_job_summaries[0].creation_time #=> Time
4051
+ # resp.hyper_parameter_tuning_job_summaries[0].hyper_parameter_tuning_end_time #=> Time
4052
+ # resp.hyper_parameter_tuning_job_summaries[0].last_modified_time #=> Time
4053
+ # resp.hyper_parameter_tuning_job_summaries[0].training_job_status_counters.completed #=> Integer
4054
+ # resp.hyper_parameter_tuning_job_summaries[0].training_job_status_counters.in_progress #=> Integer
4055
+ # resp.hyper_parameter_tuning_job_summaries[0].training_job_status_counters.retryable_error #=> Integer
4056
+ # resp.hyper_parameter_tuning_job_summaries[0].training_job_status_counters.non_retryable_error #=> Integer
4057
+ # resp.hyper_parameter_tuning_job_summaries[0].training_job_status_counters.stopped #=> Integer
4058
+ # resp.hyper_parameter_tuning_job_summaries[0].objective_status_counters.succeeded #=> Integer
4059
+ # resp.hyper_parameter_tuning_job_summaries[0].objective_status_counters.pending #=> Integer
4060
+ # resp.hyper_parameter_tuning_job_summaries[0].objective_status_counters.failed #=> Integer
4061
+ # resp.hyper_parameter_tuning_job_summaries[0].resource_limits.max_number_of_training_jobs #=> Integer
4062
+ # resp.hyper_parameter_tuning_job_summaries[0].resource_limits.max_parallel_training_jobs #=> Integer
4063
+ # resp.next_token #=> String
4064
+ #
4065
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListHyperParameterTuningJobs AWS API Documentation
4066
+ #
4067
+ # @overload list_hyper_parameter_tuning_jobs(params = {})
4068
+ # @param [Hash] params ({})
4069
+ def list_hyper_parameter_tuning_jobs(params = {}, options = {})
4070
+ req = build_request(:list_hyper_parameter_tuning_jobs, params)
4071
+ req.send_request(options)
4072
+ end
4073
+
4074
+ # Gets a list of labeling jobs.
4075
+ #
4076
+ # @option params [Time,DateTime,Date,Integer,String] :creation_time_after
4077
+ # A filter that returns only labeling jobs created after the specified
4078
+ # time (timestamp).
4079
+ #
4080
+ # @option params [Time,DateTime,Date,Integer,String] :creation_time_before
4081
+ # A filter that returns only labeling jobs created before the specified
4082
+ # time (timestamp).
4083
+ #
4084
+ # @option params [Time,DateTime,Date,Integer,String] :last_modified_time_after
4085
+ # A filter that returns only labeling jobs modified after the specified
4086
+ # time (timestamp).
4087
+ #
4088
+ # @option params [Time,DateTime,Date,Integer,String] :last_modified_time_before
4089
+ # A filter that returns only labeling jobs modified before the specified
4090
+ # time (timestamp).
4091
+ #
4092
+ # @option params [Integer] :max_results
4093
+ # The maximum number of labeling jobs to return in each page of the
4094
+ # response.
4095
+ #
4096
+ # @option params [String] :next_token
4097
+ # If the result of the previous `ListLabelingJobs` request was
4098
+ # truncated, the response includes a `NextToken`. To retrieve the next
4099
+ # set of labeling jobs, use the token in the next request.
4100
+ #
4101
+ # @option params [String] :name_contains
4102
+ # A string in the labeling job name. This filter returns only labeling
4103
+ # jobs whose name contains the specified string.
4104
+ #
4105
+ # @option params [String] :sort_by
4106
+ # The field to sort results by. The default is `CreationTime`.
4107
+ #
4108
+ # @option params [String] :sort_order
4109
+ # The sort order for results. The default is `Ascending`.
4110
+ #
4111
+ # @option params [String] :status_equals
4112
+ # A filter that retrieves only labeling jobs with a specific status.
4113
+ #
4114
+ # @return [Types::ListLabelingJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4115
+ #
4116
+ # * {Types::ListLabelingJobsResponse#labeling_job_summary_list #labeling_job_summary_list} => Array&lt;Types::LabelingJobSummary&gt;
4117
+ # * {Types::ListLabelingJobsResponse#next_token #next_token} => String
4118
+ #
4119
+ # @example Request syntax with placeholder values
4120
+ #
4121
+ # resp = client.list_labeling_jobs({
4122
+ # creation_time_after: Time.now,
4123
+ # creation_time_before: Time.now,
4124
+ # last_modified_time_after: Time.now,
4125
+ # last_modified_time_before: Time.now,
4126
+ # max_results: 1,
4127
+ # next_token: "NextToken",
4128
+ # name_contains: "NameContains",
4129
+ # sort_by: "Name", # accepts Name, CreationTime, Status
4130
+ # sort_order: "Ascending", # accepts Ascending, Descending
4131
+ # status_equals: "InProgress", # accepts InProgress, Completed, Failed, Stopping, Stopped
4132
+ # })
4133
+ #
4134
+ # @example Response structure
4135
+ #
4136
+ # resp.labeling_job_summary_list #=> Array
4137
+ # resp.labeling_job_summary_list[0].labeling_job_name #=> String
4138
+ # resp.labeling_job_summary_list[0].labeling_job_arn #=> String
4139
+ # resp.labeling_job_summary_list[0].creation_time #=> Time
4140
+ # resp.labeling_job_summary_list[0].last_modified_time #=> Time
4141
+ # resp.labeling_job_summary_list[0].labeling_job_status #=> String, one of "InProgress", "Completed", "Failed", "Stopping", "Stopped"
4142
+ # resp.labeling_job_summary_list[0].label_counters.total_labeled #=> Integer
4143
+ # resp.labeling_job_summary_list[0].label_counters.human_labeled #=> Integer
4144
+ # resp.labeling_job_summary_list[0].label_counters.machine_labeled #=> Integer
4145
+ # resp.labeling_job_summary_list[0].label_counters.failed_non_retryable_error #=> Integer
4146
+ # resp.labeling_job_summary_list[0].label_counters.unlabeled #=> Integer
4147
+ # resp.labeling_job_summary_list[0].workteam_arn #=> String
4148
+ # resp.labeling_job_summary_list[0].pre_human_task_lambda_arn #=> String
4149
+ # resp.labeling_job_summary_list[0].annotation_consolidation_lambda_arn #=> String
4150
+ # resp.labeling_job_summary_list[0].failure_reason #=> String
4151
+ # resp.labeling_job_summary_list[0].labeling_job_output.output_dataset_s3_uri #=> String
4152
+ # resp.labeling_job_summary_list[0].labeling_job_output.final_active_learning_model_arn #=> String
4153
+ # resp.labeling_job_summary_list[0].input_config.data_source.s3_data_source.manifest_s3_uri #=> String
4154
+ # resp.labeling_job_summary_list[0].input_config.data_attributes.content_classifiers #=> Array
4155
+ # resp.labeling_job_summary_list[0].input_config.data_attributes.content_classifiers[0] #=> String, one of "FreeOfPersonallyIdentifiableInformation", "FreeOfAdultContent"
4156
+ # resp.next_token #=> String
4157
+ #
4158
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLabelingJobs AWS API Documentation
4159
+ #
4160
+ # @overload list_labeling_jobs(params = {})
4161
+ # @param [Hash] params ({})
4162
+ def list_labeling_jobs(params = {}, options = {})
4163
+ req = build_request(:list_labeling_jobs, params)
4164
+ req.send_request(options)
4165
+ end
4166
+
4167
+ # Gets a list of labeling jobs assigned to a specified work team.
4168
+ #
4169
+ # @option params [required, String] :workteam_arn
4170
+ # The Amazon Resource Name (ARN) of the work team for which you want to
4171
+ # see labeling jobs for.
4172
+ #
4173
+ # @option params [Integer] :max_results
4174
+ # The maximum number of labeling jobs to return in each page of the
4175
+ # response.
4176
+ #
4177
+ # @option params [String] :next_token
4178
+ # If the result of the previous `ListLabelingJobsForWorkteam` request
4179
+ # was truncated, the response includes a `NextToken`. To retrieve the
4180
+ # next set of labeling jobs, use the token in the next request.
4181
+ #
4182
+ # @option params [Time,DateTime,Date,Integer,String] :creation_time_after
4183
+ # A filter that returns only labeling jobs created after the specified
4184
+ # time (timestamp).
4185
+ #
4186
+ # @option params [Time,DateTime,Date,Integer,String] :creation_time_before
4187
+ # A filter that returns only labeling jobs created before the specified
4188
+ # time (timestamp).
4189
+ #
4190
+ # @option params [String] :job_reference_code_contains
4191
+ # A filter the limits jobs to only the ones whose job reference code
4192
+ # contains the specified string.
4193
+ #
4194
+ # @option params [String] :sort_by
4195
+ # The field to sort results by. The default is `CreationTime`.
4196
+ #
4197
+ # @option params [String] :sort_order
4198
+ # The sort order for results. The default is `Ascending`.
4199
+ #
4200
+ # @return [Types::ListLabelingJobsForWorkteamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4201
+ #
4202
+ # * {Types::ListLabelingJobsForWorkteamResponse#labeling_job_summary_list #labeling_job_summary_list} => Array&lt;Types::LabelingJobForWorkteamSummary&gt;
4203
+ # * {Types::ListLabelingJobsForWorkteamResponse#next_token #next_token} => String
4204
+ #
4205
+ # @example Request syntax with placeholder values
4206
+ #
4207
+ # resp = client.list_labeling_jobs_for_workteam({
4208
+ # workteam_arn: "WorkteamArn", # required
4209
+ # max_results: 1,
4210
+ # next_token: "NextToken",
4211
+ # creation_time_after: Time.now,
4212
+ # creation_time_before: Time.now,
4213
+ # job_reference_code_contains: "JobReferenceCodeContains",
4214
+ # sort_by: "CreationTime", # accepts CreationTime
4215
+ # sort_order: "Ascending", # accepts Ascending, Descending
4216
+ # })
4217
+ #
4218
+ # @example Response structure
4219
+ #
4220
+ # resp.labeling_job_summary_list #=> Array
4221
+ # resp.labeling_job_summary_list[0].labeling_job_name #=> String
4222
+ # resp.labeling_job_summary_list[0].job_reference_code #=> String
4223
+ # resp.labeling_job_summary_list[0].work_requester_account_id #=> String
4224
+ # resp.labeling_job_summary_list[0].creation_time #=> Time
4225
+ # resp.labeling_job_summary_list[0].label_counters.human_labeled #=> Integer
4226
+ # resp.labeling_job_summary_list[0].label_counters.pending_human #=> Integer
4227
+ # resp.labeling_job_summary_list[0].label_counters.total #=> Integer
4228
+ # resp.next_token #=> String
4229
+ #
4230
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLabelingJobsForWorkteam AWS API Documentation
4231
+ #
4232
+ # @overload list_labeling_jobs_for_workteam(params = {})
4233
+ # @param [Hash] params ({})
4234
+ def list_labeling_jobs_for_workteam(params = {}, options = {})
4235
+ req = build_request(:list_labeling_jobs_for_workteam, params)
4236
+ req.send_request(options)
4237
+ end
4238
+
4239
+ # Lists the model packages that have been created.
4240
+ #
4241
+ # @option params [Time,DateTime,Date,Integer,String] :creation_time_after
4242
+ # A filter that returns only model packages created after the specified
4243
+ # time (timestamp).
4244
+ #
4245
+ # @option params [Time,DateTime,Date,Integer,String] :creation_time_before
4246
+ # A filter that returns only model packages created before the specified
4247
+ # time (timestamp).
4248
+ #
4249
+ # @option params [Integer] :max_results
4250
+ # The maximum number of model packages to return in the response.
4251
+ #
4252
+ # @option params [String] :name_contains
4253
+ # A string in the model package name. This filter returns only model
4254
+ # packages whose name contains the specified string.
4255
+ #
4256
+ # @option params [String] :next_token
4257
+ # If the response to a previous `ListModelPackages` request was
4258
+ # truncated, the response includes a `NextToken`. To retrieve the next
4259
+ # set of model packages, use the token in the next request.
4260
+ #
4261
+ # @option params [String] :sort_by
4262
+ # The parameter by which to sort the results. The default is
4263
+ # `CreationTime`.
2310
4264
  #
2311
- # @option params [String] :status_equals
2312
- # A filter that returns only tuning jobs with the specified status.
4265
+ # @option params [String] :sort_order
4266
+ # The sort order for the results. The default is `Ascending`.
2313
4267
  #
2314
- # @return [Types::ListHyperParameterTuningJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4268
+ # @return [Types::ListModelPackagesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2315
4269
  #
2316
- # * {Types::ListHyperParameterTuningJobsResponse#hyper_parameter_tuning_job_summaries #hyper_parameter_tuning_job_summaries} => Array&lt;Types::HyperParameterTuningJobSummary&gt;
2317
- # * {Types::ListHyperParameterTuningJobsResponse#next_token #next_token} => String
4270
+ # * {Types::ListModelPackagesOutput#model_package_summary_list #model_package_summary_list} => Array&lt;Types::ModelPackageSummary&gt;
4271
+ # * {Types::ListModelPackagesOutput#next_token #next_token} => String
2318
4272
  #
2319
4273
  # @example Request syntax with placeholder values
2320
4274
  #
2321
- # resp = client.list_hyper_parameter_tuning_jobs({
2322
- # next_token: "NextToken",
2323
- # max_results: 1,
2324
- # sort_by: "Name", # accepts Name, Status, CreationTime
2325
- # sort_order: "Ascending", # accepts Ascending, Descending
2326
- # name_contains: "NameContains",
4275
+ # resp = client.list_model_packages({
2327
4276
  # creation_time_after: Time.now,
2328
4277
  # creation_time_before: Time.now,
2329
- # last_modified_time_after: Time.now,
2330
- # last_modified_time_before: Time.now,
2331
- # status_equals: "Completed", # accepts Completed, InProgress, Failed, Stopped, Stopping
4278
+ # max_results: 1,
4279
+ # name_contains: "NameContains",
4280
+ # next_token: "NextToken",
4281
+ # sort_by: "Name", # accepts Name, CreationTime
4282
+ # sort_order: "Ascending", # accepts Ascending, Descending
2332
4283
  # })
2333
4284
  #
2334
4285
  # @example Response structure
2335
4286
  #
2336
- # resp.hyper_parameter_tuning_job_summaries #=> Array
2337
- # resp.hyper_parameter_tuning_job_summaries[0].hyper_parameter_tuning_job_name #=> String
2338
- # resp.hyper_parameter_tuning_job_summaries[0].hyper_parameter_tuning_job_arn #=> String
2339
- # resp.hyper_parameter_tuning_job_summaries[0].hyper_parameter_tuning_job_status #=> String, one of "Completed", "InProgress", "Failed", "Stopped", "Stopping"
2340
- # resp.hyper_parameter_tuning_job_summaries[0].strategy #=> String, one of "Bayesian"
2341
- # resp.hyper_parameter_tuning_job_summaries[0].creation_time #=> Time
2342
- # resp.hyper_parameter_tuning_job_summaries[0].hyper_parameter_tuning_end_time #=> Time
2343
- # resp.hyper_parameter_tuning_job_summaries[0].last_modified_time #=> Time
2344
- # resp.hyper_parameter_tuning_job_summaries[0].training_job_status_counters.completed #=> Integer
2345
- # resp.hyper_parameter_tuning_job_summaries[0].training_job_status_counters.in_progress #=> Integer
2346
- # resp.hyper_parameter_tuning_job_summaries[0].training_job_status_counters.retryable_error #=> Integer
2347
- # resp.hyper_parameter_tuning_job_summaries[0].training_job_status_counters.non_retryable_error #=> Integer
2348
- # resp.hyper_parameter_tuning_job_summaries[0].training_job_status_counters.stopped #=> Integer
2349
- # resp.hyper_parameter_tuning_job_summaries[0].objective_status_counters.succeeded #=> Integer
2350
- # resp.hyper_parameter_tuning_job_summaries[0].objective_status_counters.pending #=> Integer
2351
- # resp.hyper_parameter_tuning_job_summaries[0].objective_status_counters.failed #=> Integer
2352
- # resp.hyper_parameter_tuning_job_summaries[0].resource_limits.max_number_of_training_jobs #=> Integer
2353
- # resp.hyper_parameter_tuning_job_summaries[0].resource_limits.max_parallel_training_jobs #=> Integer
4287
+ # resp.model_package_summary_list #=> Array
4288
+ # resp.model_package_summary_list[0].model_package_name #=> String
4289
+ # resp.model_package_summary_list[0].model_package_arn #=> String
4290
+ # resp.model_package_summary_list[0].model_package_description #=> String
4291
+ # resp.model_package_summary_list[0].creation_time #=> Time
4292
+ # resp.model_package_summary_list[0].model_package_status #=> String, one of "Pending", "InProgress", "Completed", "Failed", "Deleting"
2354
4293
  # resp.next_token #=> String
2355
4294
  #
2356
- # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListHyperParameterTuningJobs AWS API Documentation
4295
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelPackages AWS API Documentation
2357
4296
  #
2358
- # @overload list_hyper_parameter_tuning_jobs(params = {})
4297
+ # @overload list_model_packages(params = {})
2359
4298
  # @param [Hash] params ({})
2360
- def list_hyper_parameter_tuning_jobs(params = {}, options = {})
2361
- req = build_request(:list_hyper_parameter_tuning_jobs, params)
4299
+ def list_model_packages(params = {}, options = {})
4300
+ req = build_request(:list_model_packages, params)
2362
4301
  req.send_request(options)
2363
4302
  end
2364
4303
 
@@ -2557,6 +4496,16 @@ module Aws::SageMaker
2557
4496
  # notebook instances associated with a lifecycle configuration with a
2558
4497
  # name that contains the specified string.
2559
4498
  #
4499
+ # @option params [String] :default_code_repository_contains
4500
+ # A string in the name or URL of a git repository associated with this
4501
+ # notebook instance. This filter returns only notebook instances
4502
+ # associated with a git repository with a name that contains the
4503
+ # specified string.
4504
+ #
4505
+ # @option params [String] :additional_code_repository_equals
4506
+ # A filter that returns only notebook instances with associated with the
4507
+ # specified git respository.
4508
+ #
2560
4509
  # @return [Types::ListNotebookInstancesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2561
4510
  #
2562
4511
  # * {Types::ListNotebookInstancesOutput#next_token #next_token} => String
@@ -2576,6 +4525,8 @@ module Aws::SageMaker
2576
4525
  # last_modified_time_after: Time.now,
2577
4526
  # status_equals: "Pending", # accepts Pending, InService, Stopping, Stopped, Failed, Deleting, Updating
2578
4527
  # notebook_instance_lifecycle_config_name_contains: "NotebookInstanceLifecycleConfigName",
4528
+ # default_code_repository_contains: "CodeRepositoryContains",
4529
+ # additional_code_repository_equals: "CodeRepositoryNameOrUrl",
2579
4530
  # })
2580
4531
  #
2581
4532
  # @example Response structure
@@ -2590,6 +4541,9 @@ module Aws::SageMaker
2590
4541
  # resp.notebook_instances[0].creation_time #=> Time
2591
4542
  # resp.notebook_instances[0].last_modified_time #=> Time
2592
4543
  # resp.notebook_instances[0].notebook_instance_lifecycle_config_name #=> String
4544
+ # resp.notebook_instances[0].default_code_repository #=> String
4545
+ # resp.notebook_instances[0].additional_code_repositories #=> Array
4546
+ # resp.notebook_instances[0].additional_code_repositories[0] #=> String
2593
4547
  #
2594
4548
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstances AWS API Documentation
2595
4549
  #
@@ -2600,6 +4554,55 @@ module Aws::SageMaker
2600
4554
  req.send_request(options)
2601
4555
  end
2602
4556
 
4557
+ # Gets a list of the work teams that you are subscribed to in the AWS
4558
+ # Marketplace. The list may be empty if no work team satisfies the
4559
+ # filter specified in the `NameContains` parameter.
4560
+ #
4561
+ # @option params [String] :name_contains
4562
+ # A string in the work team name. This filter returns only work teams
4563
+ # whose name contains the specified string.
4564
+ #
4565
+ # @option params [String] :next_token
4566
+ # If the result of the previous `ListSubscribedWorkteams` request was
4567
+ # truncated, the response includes a `NextToken`. To retrieve the next
4568
+ # set of labeling jobs, use the token in the next request.
4569
+ #
4570
+ # @option params [Integer] :max_results
4571
+ # The maximum number of work teams to return in each page of the
4572
+ # response.
4573
+ #
4574
+ # @return [Types::ListSubscribedWorkteamsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4575
+ #
4576
+ # * {Types::ListSubscribedWorkteamsResponse#subscribed_workteams #subscribed_workteams} => Array&lt;Types::SubscribedWorkteam&gt;
4577
+ # * {Types::ListSubscribedWorkteamsResponse#next_token #next_token} => String
4578
+ #
4579
+ # @example Request syntax with placeholder values
4580
+ #
4581
+ # resp = client.list_subscribed_workteams({
4582
+ # name_contains: "WorkteamName",
4583
+ # next_token: "NextToken",
4584
+ # max_results: 1,
4585
+ # })
4586
+ #
4587
+ # @example Response structure
4588
+ #
4589
+ # resp.subscribed_workteams #=> Array
4590
+ # resp.subscribed_workteams[0].workteam_arn #=> String
4591
+ # resp.subscribed_workteams[0].marketplace_title #=> String
4592
+ # resp.subscribed_workteams[0].seller_name #=> String
4593
+ # resp.subscribed_workteams[0].marketplace_description #=> String
4594
+ # resp.subscribed_workteams[0].listing_id #=> String
4595
+ # resp.next_token #=> String
4596
+ #
4597
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListSubscribedWorkteams AWS API Documentation
4598
+ #
4599
+ # @overload list_subscribed_workteams(params = {})
4600
+ # @param [Hash] params ({})
4601
+ def list_subscribed_workteams(params = {}, options = {})
4602
+ req = build_request(:list_subscribed_workteams, params)
4603
+ req.send_request(options)
4604
+ end
4605
+
2603
4606
  # Returns the tags for the specified Amazon SageMaker resource.
2604
4607
  #
2605
4608
  # @option params [required, String] :resource_arn
@@ -2875,6 +4878,262 @@ module Aws::SageMaker
2875
4878
  req.send_request(options)
2876
4879
  end
2877
4880
 
4881
+ # Gets a list of work teams that you have defined in a region. The list
4882
+ # may be empty if no work team satisfies the filter specified in the
4883
+ # `NameContains` parameter.
4884
+ #
4885
+ # @option params [String] :sort_by
4886
+ # The field to sort results by. The default is `CreationTime`.
4887
+ #
4888
+ # @option params [String] :sort_order
4889
+ # The sort order for results. The default is `Ascending`.
4890
+ #
4891
+ # @option params [String] :name_contains
4892
+ # A string in the work team's name. This filter returns only work teams
4893
+ # whose name contains the specified string.
4894
+ #
4895
+ # @option params [String] :next_token
4896
+ # If the result of the previous `ListWorkteams` request was truncated,
4897
+ # the response includes a `NextToken`. To retrieve the next set of
4898
+ # labeling jobs, use the token in the next request.
4899
+ #
4900
+ # @option params [Integer] :max_results
4901
+ # The maximum number of work teams to return in each page of the
4902
+ # response.
4903
+ #
4904
+ # @return [Types::ListWorkteamsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4905
+ #
4906
+ # * {Types::ListWorkteamsResponse#workteams #workteams} => Array&lt;Types::Workteam&gt;
4907
+ # * {Types::ListWorkteamsResponse#next_token #next_token} => String
4908
+ #
4909
+ # @example Request syntax with placeholder values
4910
+ #
4911
+ # resp = client.list_workteams({
4912
+ # sort_by: "Name", # accepts Name, CreateDate
4913
+ # sort_order: "Ascending", # accepts Ascending, Descending
4914
+ # name_contains: "WorkteamName",
4915
+ # next_token: "NextToken",
4916
+ # max_results: 1,
4917
+ # })
4918
+ #
4919
+ # @example Response structure
4920
+ #
4921
+ # resp.workteams #=> Array
4922
+ # resp.workteams[0].workteam_name #=> String
4923
+ # resp.workteams[0].member_definitions #=> Array
4924
+ # resp.workteams[0].member_definitions[0].cognito_member_definition.user_pool #=> String
4925
+ # resp.workteams[0].member_definitions[0].cognito_member_definition.user_group #=> String
4926
+ # resp.workteams[0].member_definitions[0].cognito_member_definition.client_id #=> String
4927
+ # resp.workteams[0].workteam_arn #=> String
4928
+ # resp.workteams[0].product_listing_ids #=> Array
4929
+ # resp.workteams[0].product_listing_ids[0] #=> String
4930
+ # resp.workteams[0].description #=> String
4931
+ # resp.workteams[0].sub_domain #=> String
4932
+ # resp.workteams[0].create_date #=> Time
4933
+ # resp.workteams[0].last_updated_date #=> Time
4934
+ # resp.next_token #=> String
4935
+ #
4936
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListWorkteams AWS API Documentation
4937
+ #
4938
+ # @overload list_workteams(params = {})
4939
+ # @param [Hash] params ({})
4940
+ def list_workteams(params = {}, options = {})
4941
+ req = build_request(:list_workteams, params)
4942
+ req.send_request(options)
4943
+ end
4944
+
4945
+ # Renders the UI template so that you can preview the worker's
4946
+ # experience.
4947
+ #
4948
+ # @option params [required, Types::UiTemplate] :ui_template
4949
+ # A `Tempate`object containing the worker UI template to render.
4950
+ #
4951
+ # @option params [required, Types::RenderableTask] :task
4952
+ # A `RenderableTask` object containing a representative task to render.
4953
+ #
4954
+ # @option params [required, String] :role_arn
4955
+ # The Amazon Resource Name (ARN) that has access to the S3 objects that
4956
+ # are used by the template.
4957
+ #
4958
+ # @return [Types::RenderUiTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4959
+ #
4960
+ # * {Types::RenderUiTemplateResponse#rendered_content #rendered_content} => String
4961
+ # * {Types::RenderUiTemplateResponse#errors #errors} => Array&lt;Types::RenderingError&gt;
4962
+ #
4963
+ # @example Request syntax with placeholder values
4964
+ #
4965
+ # resp = client.render_ui_template({
4966
+ # ui_template: { # required
4967
+ # content: "TemplateContent", # required
4968
+ # },
4969
+ # task: { # required
4970
+ # input: "TaskInput", # required
4971
+ # },
4972
+ # role_arn: "RoleArn", # required
4973
+ # })
4974
+ #
4975
+ # @example Response structure
4976
+ #
4977
+ # resp.rendered_content #=> String
4978
+ # resp.errors #=> Array
4979
+ # resp.errors[0].code #=> String
4980
+ # resp.errors[0].message #=> String
4981
+ #
4982
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RenderUiTemplate AWS API Documentation
4983
+ #
4984
+ # @overload render_ui_template(params = {})
4985
+ # @param [Hash] params ({})
4986
+ def render_ui_template(params = {}, options = {})
4987
+ req = build_request(:render_ui_template, params)
4988
+ req.send_request(options)
4989
+ end
4990
+
4991
+ # Finds Amazon SageMaker resources that match a search query. Matching
4992
+ # resource objects are returned as a list of `SearchResult` objects in
4993
+ # the response. The search results can be sorted by any resrouce
4994
+ # property in a ascending or descending order.
4995
+ #
4996
+ # You can query against the following value types: numerical, text,
4997
+ # Booleans, and timestamps.
4998
+ #
4999
+ # @option params [required, String] :resource
5000
+ # The name of the Amazon SageMaker resource to search for. Currently,
5001
+ # the only valid `Resource` value is `TrainingJob`.
5002
+ #
5003
+ # @option params [Types::SearchExpression] :search_expression
5004
+ # A Boolean conditional statement. Resource objects must satisfy this
5005
+ # condition to be included in search results.
5006
+ #
5007
+ # @option params [String] :sort_by
5008
+ # The name of the resource property used to sort the `SearchResults`.
5009
+ #
5010
+ # @option params [String] :sort_order
5011
+ # How `SearchResults` are ordered. Valid values are `Ascending` or
5012
+ # `Descending`.
5013
+ #
5014
+ # @option params [String] :next_token
5015
+ # If more than `MaxResults` resource objects match the specified
5016
+ # `SearchExpression`, the `SearchResponse` includes a `NextToken`. The
5017
+ # `NextToken` can be passed to the next `SearchRequest` to continue
5018
+ # retrieving results for the specified `SearchExpression` and `Sort`
5019
+ # parameters.
5020
+ #
5021
+ # @option params [Integer] :max_results
5022
+ # The maximum number of results to return in a `SearchResponse`.
5023
+ #
5024
+ # @return [Types::SearchResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5025
+ #
5026
+ # * {Types::SearchResponse#results #results} => Array&lt;Types::SearchRecord&gt;
5027
+ # * {Types::SearchResponse#next_token #next_token} => String
5028
+ #
5029
+ # @example Request syntax with placeholder values
5030
+ #
5031
+ # resp = client.search({
5032
+ # resource: "TrainingJob", # required, accepts TrainingJob
5033
+ # search_expression: {
5034
+ # filters: [
5035
+ # {
5036
+ # name: "ResourcePropertyName", # required
5037
+ # operator: "Equals", # accepts Equals, NotEquals, GreaterThan, GreaterThanOrEqualTo, LessThan, LessThanOrEqualTo, Contains
5038
+ # value: "FilterValue",
5039
+ # },
5040
+ # ],
5041
+ # nested_filters: [
5042
+ # {
5043
+ # nested_property_name: "ResourcePropertyName", # required
5044
+ # filters: [ # required
5045
+ # {
5046
+ # name: "ResourcePropertyName", # required
5047
+ # operator: "Equals", # accepts Equals, NotEquals, GreaterThan, GreaterThanOrEqualTo, LessThan, LessThanOrEqualTo, Contains
5048
+ # value: "FilterValue",
5049
+ # },
5050
+ # ],
5051
+ # },
5052
+ # ],
5053
+ # sub_expressions: [
5054
+ # {
5055
+ # # recursive SearchExpression
5056
+ # },
5057
+ # ],
5058
+ # operator: "And", # accepts And, Or
5059
+ # },
5060
+ # sort_by: "ResourcePropertyName",
5061
+ # sort_order: "Ascending", # accepts Ascending, Descending
5062
+ # next_token: "NextToken",
5063
+ # max_results: 1,
5064
+ # })
5065
+ #
5066
+ # @example Response structure
5067
+ #
5068
+ # resp.results #=> Array
5069
+ # resp.results[0].training_job.training_job_name #=> String
5070
+ # resp.results[0].training_job.training_job_arn #=> String
5071
+ # resp.results[0].training_job.tuning_job_arn #=> String
5072
+ # resp.results[0].training_job.labeling_job_arn #=> String
5073
+ # resp.results[0].training_job.model_artifacts.s3_model_artifacts #=> String
5074
+ # resp.results[0].training_job.training_job_status #=> String, one of "InProgress", "Completed", "Failed", "Stopping", "Stopped"
5075
+ # resp.results[0].training_job.secondary_status #=> String, one of "Starting", "LaunchingMLInstances", "PreparingTrainingStack", "Downloading", "DownloadingTrainingImage", "Training", "Uploading", "Stopping", "Stopped", "MaxRuntimeExceeded", "Completed", "Failed"
5076
+ # resp.results[0].training_job.failure_reason #=> String
5077
+ # resp.results[0].training_job.hyper_parameters #=> Hash
5078
+ # resp.results[0].training_job.hyper_parameters["ParameterKey"] #=> String
5079
+ # resp.results[0].training_job.algorithm_specification.training_image #=> String
5080
+ # resp.results[0].training_job.algorithm_specification.algorithm_name #=> String
5081
+ # resp.results[0].training_job.algorithm_specification.training_input_mode #=> String, one of "Pipe", "File"
5082
+ # resp.results[0].training_job.algorithm_specification.metric_definitions #=> Array
5083
+ # resp.results[0].training_job.algorithm_specification.metric_definitions[0].name #=> String
5084
+ # resp.results[0].training_job.algorithm_specification.metric_definitions[0].regex #=> String
5085
+ # resp.results[0].training_job.role_arn #=> String
5086
+ # resp.results[0].training_job.input_data_config #=> Array
5087
+ # resp.results[0].training_job.input_data_config[0].channel_name #=> String
5088
+ # resp.results[0].training_job.input_data_config[0].data_source.s3_data_source.s3_data_type #=> String, one of "ManifestFile", "S3Prefix", "AugmentedManifestFile"
5089
+ # resp.results[0].training_job.input_data_config[0].data_source.s3_data_source.s3_uri #=> String
5090
+ # resp.results[0].training_job.input_data_config[0].data_source.s3_data_source.s3_data_distribution_type #=> String, one of "FullyReplicated", "ShardedByS3Key"
5091
+ # resp.results[0].training_job.input_data_config[0].data_source.s3_data_source.attribute_names #=> Array
5092
+ # resp.results[0].training_job.input_data_config[0].data_source.s3_data_source.attribute_names[0] #=> String
5093
+ # resp.results[0].training_job.input_data_config[0].content_type #=> String
5094
+ # resp.results[0].training_job.input_data_config[0].compression_type #=> String, one of "None", "Gzip"
5095
+ # resp.results[0].training_job.input_data_config[0].record_wrapper_type #=> String, one of "None", "RecordIO"
5096
+ # resp.results[0].training_job.input_data_config[0].input_mode #=> String, one of "Pipe", "File"
5097
+ # resp.results[0].training_job.input_data_config[0].shuffle_config.seed #=> Integer
5098
+ # resp.results[0].training_job.output_data_config.kms_key_id #=> String
5099
+ # resp.results[0].training_job.output_data_config.s3_output_path #=> String
5100
+ # resp.results[0].training_job.resource_config.instance_type #=> String, one of "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge"
5101
+ # resp.results[0].training_job.resource_config.instance_count #=> Integer
5102
+ # resp.results[0].training_job.resource_config.volume_size_in_gb #=> Integer
5103
+ # resp.results[0].training_job.resource_config.volume_kms_key_id #=> String
5104
+ # resp.results[0].training_job.vpc_config.security_group_ids #=> Array
5105
+ # resp.results[0].training_job.vpc_config.security_group_ids[0] #=> String
5106
+ # resp.results[0].training_job.vpc_config.subnets #=> Array
5107
+ # resp.results[0].training_job.vpc_config.subnets[0] #=> String
5108
+ # resp.results[0].training_job.stopping_condition.max_runtime_in_seconds #=> Integer
5109
+ # resp.results[0].training_job.creation_time #=> Time
5110
+ # resp.results[0].training_job.training_start_time #=> Time
5111
+ # resp.results[0].training_job.training_end_time #=> Time
5112
+ # resp.results[0].training_job.last_modified_time #=> Time
5113
+ # resp.results[0].training_job.secondary_status_transitions #=> Array
5114
+ # resp.results[0].training_job.secondary_status_transitions[0].status #=> String, one of "Starting", "LaunchingMLInstances", "PreparingTrainingStack", "Downloading", "DownloadingTrainingImage", "Training", "Uploading", "Stopping", "Stopped", "MaxRuntimeExceeded", "Completed", "Failed"
5115
+ # resp.results[0].training_job.secondary_status_transitions[0].start_time #=> Time
5116
+ # resp.results[0].training_job.secondary_status_transitions[0].end_time #=> Time
5117
+ # resp.results[0].training_job.secondary_status_transitions[0].status_message #=> String
5118
+ # resp.results[0].training_job.final_metric_data_list #=> Array
5119
+ # resp.results[0].training_job.final_metric_data_list[0].metric_name #=> String
5120
+ # resp.results[0].training_job.final_metric_data_list[0].value #=> Float
5121
+ # resp.results[0].training_job.final_metric_data_list[0].timestamp #=> Time
5122
+ # resp.results[0].training_job.enable_network_isolation #=> Boolean
5123
+ # resp.results[0].training_job.tags #=> Array
5124
+ # resp.results[0].training_job.tags[0].key #=> String
5125
+ # resp.results[0].training_job.tags[0].value #=> String
5126
+ # resp.next_token #=> String
5127
+ #
5128
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Search AWS API Documentation
5129
+ #
5130
+ # @overload search(params = {})
5131
+ # @param [Hash] params ({})
5132
+ def search(params = {}, options = {})
5133
+ req = build_request(:search, params)
5134
+ req.send_request(options)
5135
+ end
5136
+
2878
5137
  # Launches an ML compute instance with the latest version of the
2879
5138
  # libraries and attaches your ML storage volume. After configuring the
2880
5139
  # notebook instance, Amazon SageMaker sets the notebook instance status
@@ -2901,6 +5160,37 @@ module Aws::SageMaker
2901
5160
  req.send_request(options)
2902
5161
  end
2903
5162
 
5163
+ # Stops a model compilation job.
5164
+ #
5165
+ # To stop a job, Amazon SageMaker sends the algorithm the SIGTERM
5166
+ # signal. This gracefully shuts the job down. If the job hasn’t stopped,
5167
+ # it sends the SIGKILL signal.
5168
+ #
5169
+ # When it receives a `StopCompilationJob` request, Amazon SageMaker
5170
+ # changes the CompilationJobSummary$CompilationJobStatus of the job to
5171
+ # `Stopping`. After Amazon SageMaker stops the job, it sets the
5172
+ # CompilationJobSummary$CompilationJobStatus to `Stopped`.
5173
+ #
5174
+ # @option params [required, String] :compilation_job_name
5175
+ # The name of the model compilation job to stop.
5176
+ #
5177
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
5178
+ #
5179
+ # @example Request syntax with placeholder values
5180
+ #
5181
+ # resp = client.stop_compilation_job({
5182
+ # compilation_job_name: "EntityName", # required
5183
+ # })
5184
+ #
5185
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopCompilationJob AWS API Documentation
5186
+ #
5187
+ # @overload stop_compilation_job(params = {})
5188
+ # @param [Hash] params ({})
5189
+ def stop_compilation_job(params = {}, options = {})
5190
+ req = build_request(:stop_compilation_job, params)
5191
+ req.send_request(options)
5192
+ end
5193
+
2904
5194
  # Stops a running hyperparameter tuning job and all running training
2905
5195
  # jobs that the tuning job launched.
2906
5196
  #
@@ -2930,6 +5220,30 @@ module Aws::SageMaker
2930
5220
  req.send_request(options)
2931
5221
  end
2932
5222
 
5223
+ # Stops a running labeling job. A job that is stopped cannot be
5224
+ # restarted. Any results obtained before the job is stopped are placed
5225
+ # in the Amazon S3 output bucket.
5226
+ #
5227
+ # @option params [required, String] :labeling_job_name
5228
+ # The name of the labeling job to stop.
5229
+ #
5230
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
5231
+ #
5232
+ # @example Request syntax with placeholder values
5233
+ #
5234
+ # resp = client.stop_labeling_job({
5235
+ # labeling_job_name: "LabelingJobName", # required
5236
+ # })
5237
+ #
5238
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopLabelingJob AWS API Documentation
5239
+ #
5240
+ # @overload stop_labeling_job(params = {})
5241
+ # @param [Hash] params ({})
5242
+ def stop_labeling_job(params = {}, options = {})
5243
+ req = build_request(:stop_labeling_job, params)
5244
+ req.send_request(options)
5245
+ end
5246
+
2933
5247
  # Terminates the ML compute instance. Before terminating the instance,
2934
5248
  # Amazon SageMaker disconnects the ML storage volume from it. Amazon
2935
5249
  # SageMaker preserves the ML storage volume.
@@ -3022,6 +5336,46 @@ module Aws::SageMaker
3022
5336
  req.send_request(options)
3023
5337
  end
3024
5338
 
5339
+ # Updates the specified git repository with the specified values.
5340
+ #
5341
+ # @option params [required, String] :code_repository_name
5342
+ # The name of the git repository to update.
5343
+ #
5344
+ # @option params [Types::GitConfigForUpdate] :git_config
5345
+ # The configuration of the git repository, including the URL and the
5346
+ # Amazon Resource Name (ARN) of the AWS Secrets Manager secret that
5347
+ # contains the credentials used to access the repository. The secret
5348
+ # must have a staging label of `AWSCURRENT` and must be in the following
5349
+ # format:
5350
+ #
5351
+ # `\{"username": UserName, "password": Password\}`
5352
+ #
5353
+ # @return [Types::UpdateCodeRepositoryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5354
+ #
5355
+ # * {Types::UpdateCodeRepositoryOutput#code_repository_arn #code_repository_arn} => String
5356
+ #
5357
+ # @example Request syntax with placeholder values
5358
+ #
5359
+ # resp = client.update_code_repository({
5360
+ # code_repository_name: "EntityName", # required
5361
+ # git_config: {
5362
+ # secret_arn: "SecretArn",
5363
+ # },
5364
+ # })
5365
+ #
5366
+ # @example Response structure
5367
+ #
5368
+ # resp.code_repository_arn #=> String
5369
+ #
5370
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateCodeRepository AWS API Documentation
5371
+ #
5372
+ # @overload update_code_repository(params = {})
5373
+ # @param [Hash] params ({})
5374
+ def update_code_repository(params = {}, options = {})
5375
+ req = build_request(:update_code_repository, params)
5376
+ req.send_request(options)
5377
+ end
5378
+
3025
5379
  # Deploys the new `EndpointConfig` specified in the request, switches to
3026
5380
  # using newly created endpoint, and then deletes resources provisioned
3027
5381
  # for the endpoint using the previous `EndpointConfig` (there is no
@@ -3160,6 +5514,56 @@ module Aws::SageMaker
3160
5514
  # The size, in GB, of the ML storage volume to attach to the notebook
3161
5515
  # instance. The default value is 5 GB.
3162
5516
  #
5517
+ # @option params [String] :default_code_repository
5518
+ # The git repository to associate with the notebook instance as its
5519
+ # default code repository. This can be either the name of a git
5520
+ # repository stored as a resource in your account, or the URL of a git
5521
+ # repository in [AWS CodeCommit][1] or in any other git repository. When
5522
+ # you open a notebook instance, it opens in the directory that contains
5523
+ # this repository. For more information, see [Associating Git
5524
+ # Repositories with Amazon SageMaker Notebook Instances][2].
5525
+ #
5526
+ #
5527
+ #
5528
+ # [1]: http://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html
5529
+ # [2]: http://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html
5530
+ #
5531
+ # @option params [Array<String>] :additional_code_repositories
5532
+ # An array of up to 3 git repositories to associate with the notebook
5533
+ # instance. These can be either the names of git repositories stored as
5534
+ # resources in your account, or the URL of git repositories in [AWS
5535
+ # CodeCommit][1] or in any other git repository.. These repositories are
5536
+ # cloned at the same level as the default repository of your notebook
5537
+ # instance. For more information, see [Associating Git Repositories with
5538
+ # Amazon SageMaker Notebook Instances][2].
5539
+ #
5540
+ #
5541
+ #
5542
+ # [1]: http://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html
5543
+ # [2]: http://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html
5544
+ #
5545
+ # @option params [Array<String>] :accelerator_types
5546
+ # A list of the Elastic Inference (EI) instance types to associate with
5547
+ # this notebook instance. Currently only one EI instance type can be
5548
+ # associated with a notebook instance. For more information, see [Using
5549
+ # Elastic Inference in Amazon SageMaker][1].
5550
+ #
5551
+ #
5552
+ #
5553
+ # [1]: http://docs.aws.amazon.com/sagemaker/latest/dg/ei.html
5554
+ #
5555
+ # @option params [Boolean] :disassociate_accelerator_types
5556
+ # A list of the Elastic Inference (EI) instance types to remove from
5557
+ # this notebook instance.
5558
+ #
5559
+ # @option params [Boolean] :disassociate_default_code_repository
5560
+ # The name or URL of the default git repository to remove from this
5561
+ # notebook instance.
5562
+ #
5563
+ # @option params [Boolean] :disassociate_additional_code_repositories
5564
+ # A list of names or URLs of the default git repositories to remove from
5565
+ # this notebook instance.
5566
+ #
3163
5567
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3164
5568
  #
3165
5569
  # @example Request syntax with placeholder values
@@ -3171,6 +5575,12 @@ module Aws::SageMaker
3171
5575
  # lifecycle_config_name: "NotebookInstanceLifecycleConfigName",
3172
5576
  # disassociate_lifecycle_config: false,
3173
5577
  # volume_size_in_gb: 1,
5578
+ # default_code_repository: "CodeRepositoryNameOrUrl",
5579
+ # additional_code_repositories: ["CodeRepositoryNameOrUrl"],
5580
+ # accelerator_types: ["ml.eia1.medium"], # accepts ml.eia1.medium, ml.eia1.large, ml.eia1.xlarge
5581
+ # disassociate_accelerator_types: false,
5582
+ # disassociate_default_code_repository: false,
5583
+ # disassociate_additional_code_repositories: false,
3174
5584
  # })
3175
5585
  #
3176
5586
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstance AWS API Documentation
@@ -3223,6 +5633,63 @@ module Aws::SageMaker
3223
5633
  req.send_request(options)
3224
5634
  end
3225
5635
 
5636
+ # Updates an existing work team with new member definitions or
5637
+ # description.
5638
+ #
5639
+ # @option params [required, String] :workteam_name
5640
+ # The name of the work team to update.
5641
+ #
5642
+ # @option params [Array<Types::MemberDefinition>] :member_definitions
5643
+ # A list of `MemberDefinition` objects that contain the updated work
5644
+ # team members.
5645
+ #
5646
+ # @option params [String] :description
5647
+ # An updated description for the work team.
5648
+ #
5649
+ # @return [Types::UpdateWorkteamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5650
+ #
5651
+ # * {Types::UpdateWorkteamResponse#workteam #workteam} => Types::Workteam
5652
+ #
5653
+ # @example Request syntax with placeholder values
5654
+ #
5655
+ # resp = client.update_workteam({
5656
+ # workteam_name: "WorkteamName", # required
5657
+ # member_definitions: [
5658
+ # {
5659
+ # cognito_member_definition: {
5660
+ # user_pool: "CognitoUserPool", # required
5661
+ # user_group: "CognitoUserGroup", # required
5662
+ # client_id: "CognitoClientId", # required
5663
+ # },
5664
+ # },
5665
+ # ],
5666
+ # description: "String200",
5667
+ # })
5668
+ #
5669
+ # @example Response structure
5670
+ #
5671
+ # resp.workteam.workteam_name #=> String
5672
+ # resp.workteam.member_definitions #=> Array
5673
+ # resp.workteam.member_definitions[0].cognito_member_definition.user_pool #=> String
5674
+ # resp.workteam.member_definitions[0].cognito_member_definition.user_group #=> String
5675
+ # resp.workteam.member_definitions[0].cognito_member_definition.client_id #=> String
5676
+ # resp.workteam.workteam_arn #=> String
5677
+ # resp.workteam.product_listing_ids #=> Array
5678
+ # resp.workteam.product_listing_ids[0] #=> String
5679
+ # resp.workteam.description #=> String
5680
+ # resp.workteam.sub_domain #=> String
5681
+ # resp.workteam.create_date #=> Time
5682
+ # resp.workteam.last_updated_date #=> Time
5683
+ #
5684
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateWorkteam AWS API Documentation
5685
+ #
5686
+ # @overload update_workteam(params = {})
5687
+ # @param [Hash] params ({})
5688
+ def update_workteam(params = {}, options = {})
5689
+ req = build_request(:update_workteam, params)
5690
+ req.send_request(options)
5691
+ end
5692
+
3226
5693
  # @!endgroup
3227
5694
 
3228
5695
  # @param params ({})
@@ -3236,7 +5703,7 @@ module Aws::SageMaker
3236
5703
  params: params,
3237
5704
  config: config)
3238
5705
  context[:gem_name] = 'aws-sdk-sagemaker'
3239
- context[:gem_version] = '1.24.0'
5706
+ context[:gem_version] = '1.25.0'
3240
5707
  Seahorse::Client::Request.new(handlers, context)
3241
5708
  end
3242
5709