aws-sdk-sagemaker 1.63.0 → 1.68.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-sagemaker.rb +3 -2
- data/lib/aws-sdk-sagemaker/client.rb +506 -91
- data/lib/aws-sdk-sagemaker/client_api.rb +179 -14
- data/lib/aws-sdk-sagemaker/types.rb +1613 -147
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 301dd9d2890c0147b59ef379732b6dee7d2e00fb16768ff6d1dabff08e595d87
|
4
|
+
data.tar.gz: '093a3125e6c061ef21c5c0e8717d9b0add464b2aaa3dc8398147068136270b31'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1103e221a1594f90225d144d47ad3c9e39f0119f6fd7fc7555793680ec2afc3ff614e27ad3554943aec4692f37eeed96159f2228a9a922ae368871d99680660d
|
7
|
+
data.tar.gz: bcc191c9eeda1bc7e060699c9b92013ed7d9cbe416084b5c27ba78d5be2f83d80a9101d93954c0a01d009611cf171c1abb630506168fbd9c81594ae3d21ae01a
|
data/lib/aws-sdk-sagemaker.rb
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -45,9 +46,9 @@ require_relative 'aws-sdk-sagemaker/customizations'
|
|
45
46
|
#
|
46
47
|
# See {Errors} for more information.
|
47
48
|
#
|
48
|
-
#
|
49
|
+
# @!group service
|
49
50
|
module Aws::SageMaker
|
50
51
|
|
51
|
-
GEM_VERSION = '1.
|
52
|
+
GEM_VERSION = '1.68.0'
|
52
53
|
|
53
54
|
end
|
@@ -85,13 +85,28 @@ module Aws::SageMaker
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::SageMaker
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -486,7 +501,7 @@ module Aws::SageMaker
|
|
486
501
|
# algorithm_name: "EntityName", # required
|
487
502
|
# algorithm_description: "EntityDescription",
|
488
503
|
# training_specification: { # required
|
489
|
-
# training_image: "
|
504
|
+
# training_image: "ContainerImage", # required
|
490
505
|
# training_image_digest: "ImageDigest",
|
491
506
|
# supported_hyper_parameters: [
|
492
507
|
# {
|
@@ -540,7 +555,7 @@ module Aws::SageMaker
|
|
540
555
|
# containers: [ # required
|
541
556
|
# {
|
542
557
|
# container_hostname: "ContainerHostname",
|
543
|
-
# image: "
|
558
|
+
# image: "ContainerImage", # required
|
544
559
|
# image_digest: "ImageDigest",
|
545
560
|
# model_data_url: "Url",
|
546
561
|
# product_id: "ProductId",
|
@@ -695,7 +710,7 @@ module Aws::SageMaker
|
|
695
710
|
# },
|
696
711
|
# ],
|
697
712
|
# resource_spec: {
|
698
|
-
# sage_maker_image_arn: "
|
713
|
+
# sage_maker_image_arn: "ImageArn",
|
699
714
|
# instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge
|
700
715
|
# },
|
701
716
|
# })
|
@@ -713,15 +728,14 @@ module Aws::SageMaker
|
|
713
728
|
req.send_request(options)
|
714
729
|
end
|
715
730
|
|
716
|
-
# Creates an
|
731
|
+
# Creates an Autopilot job.
|
717
732
|
#
|
718
|
-
#
|
719
|
-
#
|
720
|
-
#
|
721
|
-
# Services][1].
|
733
|
+
# Find the best performing model after you run an Autopilot job by
|
734
|
+
# calling . Deploy that model by following the steps described in [Step
|
735
|
+
# 6.1: Deploy the Model to Amazon SageMaker Hosting Services][1].
|
722
736
|
#
|
723
|
-
# For information about how to use
|
724
|
-
#
|
737
|
+
# For information about how to use Autopilot, see [ Automate Model
|
738
|
+
# Development with Amazon SageMaker Autopilot][2].
|
725
739
|
#
|
726
740
|
#
|
727
741
|
#
|
@@ -729,7 +743,7 @@ module Aws::SageMaker
|
|
729
743
|
# [2]: https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-automate-model-development.html
|
730
744
|
#
|
731
745
|
# @option params [required, String] :auto_ml_job_name
|
732
|
-
# Identifies an
|
746
|
+
# Identifies an Autopilot job. Must be unique to your account and is
|
733
747
|
# case-insensitive.
|
734
748
|
#
|
735
749
|
# @option params [required, Array<Types::AutoMLChannel>] :input_data_config
|
@@ -746,20 +760,21 @@ module Aws::SageMaker
|
|
746
760
|
# MulticlassClassification, and Regression.
|
747
761
|
#
|
748
762
|
# @option params [Types::AutoMLJobObjective] :auto_ml_job_objective
|
749
|
-
# Defines the job
|
750
|
-
#
|
751
|
-
#
|
763
|
+
# Defines the objective of a an AutoML job. You provide a
|
764
|
+
# AutoMLJobObjective$MetricName and Autopilot infers whether to minimize
|
765
|
+
# or maximize it. If a metric is not specified, the most commonly used
|
766
|
+
# ObjectiveMetric for problem type is automaically selected.
|
752
767
|
#
|
753
768
|
# @option params [Types::AutoMLJobConfig] :auto_ml_job_config
|
754
769
|
# Contains CompletionCriteria and SecurityConfig.
|
755
770
|
#
|
756
771
|
# @option params [required, String] :role_arn
|
757
|
-
# The ARN of the role that
|
772
|
+
# The ARN of the role that is used to access the data.
|
758
773
|
#
|
759
774
|
# @option params [Boolean] :generate_candidate_definitions_only
|
760
|
-
#
|
761
|
-
#
|
762
|
-
#
|
775
|
+
# Generates possible candidates without training a model. A candidate is
|
776
|
+
# a combination of data preprocessors, algorithms, and algorithm
|
777
|
+
# parameter settings.
|
763
778
|
#
|
764
779
|
# @option params [Array<Types::Tag>] :tags
|
765
780
|
# Each tag consists of a key and an optional value. Tag keys must be
|
@@ -791,7 +806,7 @@ module Aws::SageMaker
|
|
791
806
|
# },
|
792
807
|
# problem_type: "BinaryClassification", # accepts BinaryClassification, MulticlassClassification, Regression
|
793
808
|
# auto_ml_job_objective: {
|
794
|
-
# metric_name: "Accuracy", # required, accepts Accuracy, MSE, F1, F1macro
|
809
|
+
# metric_name: "Accuracy", # required, accepts Accuracy, MSE, F1, F1macro, AUC
|
795
810
|
# },
|
796
811
|
# auto_ml_job_config: {
|
797
812
|
# completion_criteria: {
|
@@ -901,8 +916,8 @@ module Aws::SageMaker
|
|
901
916
|
# * The output location for the compiled model and the device (target)
|
902
917
|
# that the model runs on
|
903
918
|
#
|
904
|
-
# *
|
905
|
-
#
|
919
|
+
# * The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker
|
920
|
+
# assumes to perform the model compilation job.
|
906
921
|
#
|
907
922
|
# You can also provide a `Tag` to track the model compilation job's
|
908
923
|
# resource use and costs. The response body contains the
|
@@ -970,7 +985,13 @@ module Aws::SageMaker
|
|
970
985
|
# },
|
971
986
|
# output_config: { # required
|
972
987
|
# s3_output_location: "S3Uri", # required
|
973
|
-
# target_device: "lambda", #
|
988
|
+
# target_device: "lambda", # accepts lambda, ml_m4, ml_m5, ml_c4, ml_c5, ml_p2, ml_p3, ml_g4dn, ml_inf1, jetson_tx1, jetson_tx2, jetson_nano, jetson_xavier, rasp3b, imx8qm, deeplens, rk3399, rk3288, aisage, sbe_c, qcs605, qcs603, sitara_am57x, amba_cv22, x86_win32, x86_win64
|
989
|
+
# target_platform: {
|
990
|
+
# os: "ANDROID", # required, accepts ANDROID, LINUX
|
991
|
+
# arch: "X86_64", # required, accepts X86_64, X86, ARM64, ARM_EABI, ARM_EABIHF
|
992
|
+
# accelerator: "INTEL_GRAPHICS", # accepts INTEL_GRAPHICS, MALI, NVIDIA
|
993
|
+
# },
|
994
|
+
# compiler_options: "CompilerOptions",
|
974
995
|
# },
|
975
996
|
# stopping_condition: { # required
|
976
997
|
# max_runtime_in_seconds: 1,
|
@@ -1057,19 +1078,19 @@ module Aws::SageMaker
|
|
1057
1078
|
# },
|
1058
1079
|
# jupyter_server_app_settings: {
|
1059
1080
|
# default_resource_spec: {
|
1060
|
-
# sage_maker_image_arn: "
|
1081
|
+
# sage_maker_image_arn: "ImageArn",
|
1061
1082
|
# instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge
|
1062
1083
|
# },
|
1063
1084
|
# },
|
1064
1085
|
# kernel_gateway_app_settings: {
|
1065
1086
|
# default_resource_spec: {
|
1066
|
-
# sage_maker_image_arn: "
|
1087
|
+
# sage_maker_image_arn: "ImageArn",
|
1067
1088
|
# instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge
|
1068
1089
|
# },
|
1069
1090
|
# },
|
1070
1091
|
# tensor_board_app_settings: {
|
1071
1092
|
# default_resource_spec: {
|
1072
|
-
# sage_maker_image_arn: "
|
1093
|
+
# sage_maker_image_arn: "ImageArn",
|
1073
1094
|
# instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge
|
1074
1095
|
# },
|
1075
1096
|
# },
|
@@ -1372,10 +1393,10 @@ module Aws::SageMaker
|
|
1372
1393
|
req.send_request(options)
|
1373
1394
|
end
|
1374
1395
|
|
1375
|
-
# Creates an
|
1376
|
-
#
|
1377
|
-
#
|
1378
|
-
#
|
1396
|
+
# Creates an SageMaker *experiment*. An experiment is a collection of
|
1397
|
+
# *trials* that are observed, compared and evaluated as a group. A trial
|
1398
|
+
# is a set of steps, called *trial components*, that produce a machine
|
1399
|
+
# learning model.
|
1379
1400
|
#
|
1380
1401
|
# The goal of an experiment is to determine the components that produce
|
1381
1402
|
# the best model. Multiple trials are performed, each one isolating and
|
@@ -2069,9 +2090,12 @@ module Aws::SageMaker
|
|
2069
2090
|
# label_attribute_name: "LabelAttributeName", # required
|
2070
2091
|
# input_config: { # required
|
2071
2092
|
# data_source: { # required
|
2072
|
-
# s3_data_source: {
|
2093
|
+
# s3_data_source: {
|
2073
2094
|
# manifest_s3_uri: "S3Uri", # required
|
2074
2095
|
# },
|
2096
|
+
# sns_data_source: {
|
2097
|
+
# sns_topic_arn: "SnsTopicArn", # required
|
2098
|
+
# },
|
2075
2099
|
# },
|
2076
2100
|
# data_attributes: {
|
2077
2101
|
# content_classifiers: ["FreeOfPersonallyIdentifiableInformation"], # accepts FreeOfPersonallyIdentifiableInformation, FreeOfAdultContent
|
@@ -2080,6 +2104,7 @@ module Aws::SageMaker
|
|
2080
2104
|
# output_config: { # required
|
2081
2105
|
# s3_output_path: "S3Uri", # required
|
2082
2106
|
# kms_key_id: "KmsKeyId",
|
2107
|
+
# sns_topic_arn: "SnsTopicArn",
|
2083
2108
|
# },
|
2084
2109
|
# role_arn: "RoleArn", # required
|
2085
2110
|
# label_category_config_s3_uri: "S3Uri",
|
@@ -2240,7 +2265,10 @@ module Aws::SageMaker
|
|
2240
2265
|
# model_name: "ModelName", # required
|
2241
2266
|
# primary_container: {
|
2242
2267
|
# container_hostname: "ContainerHostname",
|
2243
|
-
# image: "
|
2268
|
+
# image: "ContainerImage",
|
2269
|
+
# image_config: {
|
2270
|
+
# repository_access_mode: "Platform", # required, accepts Platform, Vpc
|
2271
|
+
# },
|
2244
2272
|
# mode: "SingleModel", # accepts SingleModel, MultiModel
|
2245
2273
|
# model_data_url: "Url",
|
2246
2274
|
# environment: {
|
@@ -2251,7 +2279,10 @@ module Aws::SageMaker
|
|
2251
2279
|
# containers: [
|
2252
2280
|
# {
|
2253
2281
|
# container_hostname: "ContainerHostname",
|
2254
|
-
# image: "
|
2282
|
+
# image: "ContainerImage",
|
2283
|
+
# image_config: {
|
2284
|
+
# repository_access_mode: "Platform", # required, accepts Platform, Vpc
|
2285
|
+
# },
|
2255
2286
|
# mode: "SingleModel", # accepts SingleModel, MultiModel
|
2256
2287
|
# model_data_url: "Url",
|
2257
2288
|
# environment: {
|
@@ -2341,7 +2372,7 @@ module Aws::SageMaker
|
|
2341
2372
|
# containers: [ # required
|
2342
2373
|
# {
|
2343
2374
|
# container_hostname: "ContainerHostname",
|
2344
|
-
# image: "
|
2375
|
+
# image: "ContainerImage", # required
|
2345
2376
|
# image_digest: "ImageDigest",
|
2346
2377
|
# model_data_url: "Url",
|
2347
2378
|
# product_id: "ProductId",
|
@@ -2956,7 +2987,14 @@ module Aws::SageMaker
|
|
2956
2987
|
# [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL
|
2957
2988
|
#
|
2958
2989
|
# @option params [Types::ExperimentConfig] :experiment_config
|
2959
|
-
#
|
2990
|
+
# Associates a SageMaker job as a trial component with an experiment and
|
2991
|
+
# trial. Specified when you call the following APIs:
|
2992
|
+
#
|
2993
|
+
# * CreateProcessingJob
|
2994
|
+
#
|
2995
|
+
# * CreateTrainingJob
|
2996
|
+
#
|
2997
|
+
# * CreateTransformJob
|
2960
2998
|
#
|
2961
2999
|
# @return [Types::CreateProcessingJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2962
3000
|
#
|
@@ -3263,7 +3301,14 @@ module Aws::SageMaker
|
|
3263
3301
|
# Configuration of storage locations for TensorBoard output.
|
3264
3302
|
#
|
3265
3303
|
# @option params [Types::ExperimentConfig] :experiment_config
|
3266
|
-
#
|
3304
|
+
# Associates a SageMaker job as a trial component with an experiment and
|
3305
|
+
# trial. Specified when you call the following APIs:
|
3306
|
+
#
|
3307
|
+
# * CreateProcessingJob
|
3308
|
+
#
|
3309
|
+
# * CreateTrainingJob
|
3310
|
+
#
|
3311
|
+
# * CreateTransformJob
|
3267
3312
|
#
|
3268
3313
|
# @return [Types::CreateTrainingJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3269
3314
|
#
|
@@ -3527,7 +3572,14 @@ module Aws::SageMaker
|
|
3527
3572
|
# [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what
|
3528
3573
|
#
|
3529
3574
|
# @option params [Types::ExperimentConfig] :experiment_config
|
3530
|
-
#
|
3575
|
+
# Associates a SageMaker job as a trial component with an experiment and
|
3576
|
+
# trial. Specified when you call the following APIs:
|
3577
|
+
#
|
3578
|
+
# * CreateProcessingJob
|
3579
|
+
#
|
3580
|
+
# * CreateTrainingJob
|
3581
|
+
#
|
3582
|
+
# * CreateTransformJob
|
3531
3583
|
#
|
3532
3584
|
# @return [Types::CreateTransformJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3533
3585
|
#
|
@@ -3841,19 +3893,19 @@ module Aws::SageMaker
|
|
3841
3893
|
# },
|
3842
3894
|
# jupyter_server_app_settings: {
|
3843
3895
|
# default_resource_spec: {
|
3844
|
-
# sage_maker_image_arn: "
|
3896
|
+
# sage_maker_image_arn: "ImageArn",
|
3845
3897
|
# instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge
|
3846
3898
|
# },
|
3847
3899
|
# },
|
3848
3900
|
# kernel_gateway_app_settings: {
|
3849
3901
|
# default_resource_spec: {
|
3850
|
-
# sage_maker_image_arn: "
|
3902
|
+
# sage_maker_image_arn: "ImageArn",
|
3851
3903
|
# instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge
|
3852
3904
|
# },
|
3853
3905
|
# },
|
3854
3906
|
# tensor_board_app_settings: {
|
3855
3907
|
# default_resource_spec: {
|
3856
|
-
# sage_maker_image_arn: "
|
3908
|
+
# sage_maker_image_arn: "ImageArn",
|
3857
3909
|
# instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge
|
3858
3910
|
# },
|
3859
3911
|
# },
|
@@ -3873,6 +3925,112 @@ module Aws::SageMaker
|
|
3873
3925
|
req.send_request(options)
|
3874
3926
|
end
|
3875
3927
|
|
3928
|
+
# Use this operation to create a workforce. This operation will return
|
3929
|
+
# an error if a workforce already exists in the AWS Region that you
|
3930
|
+
# specify. You can only create one workforce in each AWS Region per AWS
|
3931
|
+
# account.
|
3932
|
+
#
|
3933
|
+
# If you want to create a new workforce in an AWS Region where a
|
3934
|
+
# workforce already exists, use the API operation to delete the existing
|
3935
|
+
# workforce and then use `CreateWorkforce` to create a new workforce.
|
3936
|
+
#
|
3937
|
+
# To create a private workforce using Amazon Cognito, you must specify a
|
3938
|
+
# Cognito user pool in `CognitoConfig`. You can also create an Amazon
|
3939
|
+
# Cognito workforce using the Amazon SageMaker console. For more
|
3940
|
+
# information, see [ Create a Private Workforce (Amazon Cognito)][1].
|
3941
|
+
#
|
3942
|
+
# To create a private workforce using your own OIDC Identity Provider
|
3943
|
+
# (IdP), specify your IdP configuration in `OidcConfig`. Your OIDC IdP
|
3944
|
+
# must support *groups* because groups are used by Ground Truth and
|
3945
|
+
# Amazon A2I to create work teams. For more information, see [ Create a
|
3946
|
+
# Private Workforce (OIDC IdP)][2].
|
3947
|
+
#
|
3948
|
+
#
|
3949
|
+
#
|
3950
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-create-private.html
|
3951
|
+
# [2]: https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-create-private-oidc.html
|
3952
|
+
#
|
3953
|
+
# @option params [Types::CognitoConfig] :cognito_config
|
3954
|
+
# Use this parameter to configure an Amazon Cognito private workforce. A
|
3955
|
+
# single Cognito workforce is created using and corresponds to a single
|
3956
|
+
# [ Amazon Cognito user pool][1].
|
3957
|
+
#
|
3958
|
+
# Do not use `OidcConfig` if you specify values for `CognitoConfig`.
|
3959
|
+
#
|
3960
|
+
#
|
3961
|
+
#
|
3962
|
+
# [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html
|
3963
|
+
#
|
3964
|
+
# @option params [Types::OidcConfig] :oidc_config
|
3965
|
+
# Use this parameter to configure a private workforce using your own
|
3966
|
+
# OIDC Identity Provider.
|
3967
|
+
#
|
3968
|
+
# Do not use `CognitoConfig` if you specify values for `OidcConfig`.
|
3969
|
+
#
|
3970
|
+
# @option params [Types::SourceIpConfig] :source_ip_config
|
3971
|
+
# A list of IP address ranges ([CIDRs][1]). Used to create an allow list
|
3972
|
+
# of IP addresses for a private workforce. Workers will only be able to
|
3973
|
+
# login to their worker portal from an IP address within this range. By
|
3974
|
+
# default, a workforce isn't restricted to specific IP addresses.
|
3975
|
+
#
|
3976
|
+
#
|
3977
|
+
#
|
3978
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html
|
3979
|
+
#
|
3980
|
+
# @option params [required, String] :workforce_name
|
3981
|
+
# The name of the private workforce.
|
3982
|
+
#
|
3983
|
+
# @option params [Array<Types::Tag>] :tags
|
3984
|
+
# An array of key-value pairs that contain metadata to help you
|
3985
|
+
# categorize and organize our workforce. Each tag consists of a key and
|
3986
|
+
# a value, both of which you define.
|
3987
|
+
#
|
3988
|
+
# @return [Types::CreateWorkforceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3989
|
+
#
|
3990
|
+
# * {Types::CreateWorkforceResponse#workforce_arn #workforce_arn} => String
|
3991
|
+
#
|
3992
|
+
# @example Request syntax with placeholder values
|
3993
|
+
#
|
3994
|
+
# resp = client.create_workforce({
|
3995
|
+
# cognito_config: {
|
3996
|
+
# user_pool: "CognitoUserPool", # required
|
3997
|
+
# client_id: "ClientId", # required
|
3998
|
+
# },
|
3999
|
+
# oidc_config: {
|
4000
|
+
# client_id: "ClientId", # required
|
4001
|
+
# client_secret: "ClientSecret", # required
|
4002
|
+
# issuer: "OidcEndpoint", # required
|
4003
|
+
# authorization_endpoint: "OidcEndpoint", # required
|
4004
|
+
# token_endpoint: "OidcEndpoint", # required
|
4005
|
+
# user_info_endpoint: "OidcEndpoint", # required
|
4006
|
+
# logout_endpoint: "OidcEndpoint", # required
|
4007
|
+
# jwks_uri: "OidcEndpoint", # required
|
4008
|
+
# },
|
4009
|
+
# source_ip_config: {
|
4010
|
+
# cidrs: ["Cidr"], # required
|
4011
|
+
# },
|
4012
|
+
# workforce_name: "WorkforceName", # required
|
4013
|
+
# tags: [
|
4014
|
+
# {
|
4015
|
+
# key: "TagKey", # required
|
4016
|
+
# value: "TagValue", # required
|
4017
|
+
# },
|
4018
|
+
# ],
|
4019
|
+
# })
|
4020
|
+
#
|
4021
|
+
# @example Response structure
|
4022
|
+
#
|
4023
|
+
# resp.workforce_arn #=> String
|
4024
|
+
#
|
4025
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateWorkforce AWS API Documentation
|
4026
|
+
#
|
4027
|
+
# @overload create_workforce(params = {})
|
4028
|
+
# @param [Hash] params ({})
|
4029
|
+
def create_workforce(params = {}, options = {})
|
4030
|
+
req = build_request(:create_workforce, params)
|
4031
|
+
req.send_request(options)
|
4032
|
+
end
|
4033
|
+
|
3876
4034
|
# Creates a new work team for labeling your data. A work team is defined
|
3877
4035
|
# by one or more Amazon Cognito user pools. You must first create the
|
3878
4036
|
# user pools before you can create a work team.
|
@@ -3882,13 +4040,30 @@ module Aws::SageMaker
|
|
3882
4040
|
# @option params [required, String] :workteam_name
|
3883
4041
|
# The name of the work team. Use this name to identify the work team.
|
3884
4042
|
#
|
4043
|
+
# @option params [String] :workforce_name
|
4044
|
+
# The name of the workforce.
|
4045
|
+
#
|
3885
4046
|
# @option params [required, Array<Types::MemberDefinition>] :member_definitions
|
3886
4047
|
# A list of `MemberDefinition` objects that contains objects that
|
3887
|
-
# identify the
|
3888
|
-
# more information, see [Amazon Cognito User Pools][1].
|
4048
|
+
# identify the workers that make up the work team.
|
3889
4049
|
#
|
3890
|
-
#
|
3891
|
-
#
|
4050
|
+
# Workforces can be created using Amazon Cognito or your own OIDC
|
4051
|
+
# Identity Provider (IdP). For private workforces created using Amazon
|
4052
|
+
# Cognito use `CognitoMemberDefinition`. For workforces created using
|
4053
|
+
# your own OIDC identity provider (IdP) use `OidcMemberDefinition`. Do
|
4054
|
+
# not provide input for both of these parameters in a single request.
|
4055
|
+
#
|
4056
|
+
# For workforces created using Amazon Cognito, private work teams
|
4057
|
+
# correspond to Amazon Cognito *user groups* within the user pool used
|
4058
|
+
# to create a workforce. All of the `CognitoMemberDefinition` objects
|
4059
|
+
# that make up the member definition must have the same `ClientId` and
|
4060
|
+
# `UserPool` values. To add a Amazon Cognito user group to an existing
|
4061
|
+
# worker pool, see [Adding groups to a User Pool](). For more
|
4062
|
+
# information about user pools, see [Amazon Cognito User Pools][1].
|
4063
|
+
#
|
4064
|
+
# For workforces created using your own OIDC IdP, specify the user
|
4065
|
+
# groups that you want to include in your private work team in
|
4066
|
+
# `OidcMemberDefinition` by listing those groups in `Groups`.
|
3892
4067
|
#
|
3893
4068
|
#
|
3894
4069
|
#
|
@@ -3920,12 +4095,16 @@ module Aws::SageMaker
|
|
3920
4095
|
#
|
3921
4096
|
# resp = client.create_workteam({
|
3922
4097
|
# workteam_name: "WorkteamName", # required
|
4098
|
+
# workforce_name: "WorkforceName",
|
3923
4099
|
# member_definitions: [ # required
|
3924
4100
|
# {
|
3925
4101
|
# cognito_member_definition: {
|
3926
4102
|
# user_pool: "CognitoUserPool", # required
|
3927
4103
|
# user_group: "CognitoUserGroup", # required
|
3928
|
-
# client_id: "
|
4104
|
+
# client_id: "ClientId", # required
|
4105
|
+
# },
|
4106
|
+
# oidc_member_definition: {
|
4107
|
+
# groups: ["Group"], # required
|
3929
4108
|
# },
|
3930
4109
|
# },
|
3931
4110
|
# ],
|
@@ -4179,7 +4358,8 @@ module Aws::SageMaker
|
|
4179
4358
|
req.send_request(options)
|
4180
4359
|
end
|
4181
4360
|
|
4182
|
-
# Use this operation to delete a
|
4361
|
+
# Use this operation to delete a human task user interface (worker task
|
4362
|
+
# template).
|
4183
4363
|
#
|
4184
4364
|
# To see a list of human task user interfaces (work task templates) in
|
4185
4365
|
# your account, use . When you delete a worker task template, it no
|
@@ -4456,6 +4636,37 @@ module Aws::SageMaker
|
|
4456
4636
|
req.send_request(options)
|
4457
4637
|
end
|
4458
4638
|
|
4639
|
+
# Use this operation to delete a workforce.
|
4640
|
+
#
|
4641
|
+
# If you want to create a new workforce in an AWS Region where a
|
4642
|
+
# workforce already exists, use this operation to delete the existing
|
4643
|
+
# workforce and then use to create a new workforce.
|
4644
|
+
#
|
4645
|
+
# If a private workforce contains one or more work teams, you must use
|
4646
|
+
# the operation to delete all work teams before you delete the
|
4647
|
+
# workforce. If you try to delete a workforce that contains one or more
|
4648
|
+
# work teams, you will recieve a `ResourceInUse` error.
|
4649
|
+
#
|
4650
|
+
# @option params [required, String] :workforce_name
|
4651
|
+
# The name of the workforce.
|
4652
|
+
#
|
4653
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4654
|
+
#
|
4655
|
+
# @example Request syntax with placeholder values
|
4656
|
+
#
|
4657
|
+
# resp = client.delete_workforce({
|
4658
|
+
# workforce_name: "WorkforceName", # required
|
4659
|
+
# })
|
4660
|
+
#
|
4661
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteWorkforce AWS API Documentation
|
4662
|
+
#
|
4663
|
+
# @overload delete_workforce(params = {})
|
4664
|
+
# @param [Hash] params ({})
|
4665
|
+
def delete_workforce(params = {}, options = {})
|
4666
|
+
req = build_request(:delete_workforce, params)
|
4667
|
+
req.send_request(options)
|
4668
|
+
end
|
4669
|
+
|
4459
4670
|
# Deletes an existing work team. This operation can't be undone.
|
4460
4671
|
#
|
4461
4672
|
# @option params [required, String] :workteam_name
|
@@ -4737,7 +4948,7 @@ module Aws::SageMaker
|
|
4737
4948
|
# resp.output_data_config.kms_key_id #=> String
|
4738
4949
|
# resp.output_data_config.s3_output_path #=> String
|
4739
4950
|
# resp.role_arn #=> String
|
4740
|
-
# resp.auto_ml_job_objective.metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro"
|
4951
|
+
# resp.auto_ml_job_objective.metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC"
|
4741
4952
|
# resp.problem_type #=> String, one of "BinaryClassification", "MulticlassClassification", "Regression"
|
4742
4953
|
# resp.auto_ml_job_config.completion_criteria.max_candidates #=> Integer
|
4743
4954
|
# resp.auto_ml_job_config.completion_criteria.max_runtime_per_training_job_in_seconds #=> Integer
|
@@ -4754,7 +4965,7 @@ module Aws::SageMaker
|
|
4754
4965
|
# resp.failure_reason #=> String
|
4755
4966
|
# resp.best_candidate.candidate_name #=> String
|
4756
4967
|
# resp.best_candidate.final_auto_ml_job_objective_metric.type #=> String, one of "Maximize", "Minimize"
|
4757
|
-
# resp.best_candidate.final_auto_ml_job_objective_metric.metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro"
|
4968
|
+
# resp.best_candidate.final_auto_ml_job_objective_metric.metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC"
|
4758
4969
|
# resp.best_candidate.final_auto_ml_job_objective_metric.value #=> Float
|
4759
4970
|
# resp.best_candidate.objective_status #=> String, one of "Succeeded", "Pending", "Failed"
|
4760
4971
|
# resp.best_candidate.candidate_steps #=> Array
|
@@ -4776,7 +4987,7 @@ module Aws::SageMaker
|
|
4776
4987
|
# resp.generate_candidate_definitions_only #=> Boolean
|
4777
4988
|
# resp.auto_ml_job_artifacts.candidate_definition_notebook_location #=> String
|
4778
4989
|
# resp.auto_ml_job_artifacts.data_exploration_notebook_location #=> String
|
4779
|
-
# resp.resolved_attributes.auto_ml_job_objective.metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro"
|
4990
|
+
# resp.resolved_attributes.auto_ml_job_objective.metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC"
|
4780
4991
|
# resp.resolved_attributes.problem_type #=> String, one of "BinaryClassification", "MulticlassClassification", "Regression"
|
4781
4992
|
# resp.resolved_attributes.completion_criteria.max_candidates #=> Integer
|
4782
4993
|
# resp.resolved_attributes.completion_criteria.max_runtime_per_training_job_in_seconds #=> Integer
|
@@ -4878,7 +5089,11 @@ module Aws::SageMaker
|
|
4878
5089
|
# resp.input_config.data_input_config #=> String
|
4879
5090
|
# resp.input_config.framework #=> String, one of "TENSORFLOW", "KERAS", "MXNET", "ONNX", "PYTORCH", "XGBOOST", "TFLITE"
|
4880
5091
|
# resp.output_config.s3_output_location #=> String
|
4881
|
-
# resp.output_config.target_device #=> String, one of "lambda", "ml_m4", "ml_m5", "ml_c4", "ml_c5", "ml_p2", "ml_p3", "ml_inf1", "jetson_tx1", "jetson_tx2", "jetson_nano", "jetson_xavier", "rasp3b", "imx8qm", "deeplens", "rk3399", "rk3288", "aisage", "sbe_c", "qcs605", "qcs603", "sitara_am57x", "amba_cv22"
|
5092
|
+
# resp.output_config.target_device #=> String, one of "lambda", "ml_m4", "ml_m5", "ml_c4", "ml_c5", "ml_p2", "ml_p3", "ml_g4dn", "ml_inf1", "jetson_tx1", "jetson_tx2", "jetson_nano", "jetson_xavier", "rasp3b", "imx8qm", "deeplens", "rk3399", "rk3288", "aisage", "sbe_c", "qcs605", "qcs603", "sitara_am57x", "amba_cv22", "x86_win32", "x86_win64"
|
5093
|
+
# resp.output_config.target_platform.os #=> String, one of "ANDROID", "LINUX"
|
5094
|
+
# resp.output_config.target_platform.arch #=> String, one of "X86_64", "X86", "ARM64", "ARM_EABI", "ARM_EABIHF"
|
5095
|
+
# resp.output_config.target_platform.accelerator #=> String, one of "INTEL_GRAPHICS", "MALI", "NVIDIA"
|
5096
|
+
# resp.output_config.compiler_options #=> String
|
4882
5097
|
#
|
4883
5098
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCompilationJob AWS API Documentation
|
4884
5099
|
#
|
@@ -5483,7 +5698,7 @@ module Aws::SageMaker
|
|
5483
5698
|
#
|
5484
5699
|
# @example Response structure
|
5485
5700
|
#
|
5486
|
-
# resp.labeling_job_status #=> String, one of "InProgress", "Completed", "Failed", "Stopping", "Stopped"
|
5701
|
+
# resp.labeling_job_status #=> String, one of "Initializing", "InProgress", "Completed", "Failed", "Stopping", "Stopped"
|
5487
5702
|
# resp.label_counters.total_labeled #=> Integer
|
5488
5703
|
# resp.label_counters.human_labeled #=> Integer
|
5489
5704
|
# resp.label_counters.machine_labeled #=> Integer
|
@@ -5497,10 +5712,12 @@ module Aws::SageMaker
|
|
5497
5712
|
# resp.labeling_job_arn #=> String
|
5498
5713
|
# resp.label_attribute_name #=> String
|
5499
5714
|
# resp.input_config.data_source.s3_data_source.manifest_s3_uri #=> String
|
5715
|
+
# resp.input_config.data_source.sns_data_source.sns_topic_arn #=> String
|
5500
5716
|
# resp.input_config.data_attributes.content_classifiers #=> Array
|
5501
5717
|
# resp.input_config.data_attributes.content_classifiers[0] #=> String, one of "FreeOfPersonallyIdentifiableInformation", "FreeOfAdultContent"
|
5502
5718
|
# resp.output_config.s3_output_path #=> String
|
5503
5719
|
# resp.output_config.kms_key_id #=> String
|
5720
|
+
# resp.output_config.sns_topic_arn #=> String
|
5504
5721
|
# resp.role_arn #=> String
|
5505
5722
|
# resp.label_category_config_s3_uri #=> String
|
5506
5723
|
# resp.stopping_conditions.max_human_labeled_object_count #=> Integer
|
@@ -5566,6 +5783,7 @@ module Aws::SageMaker
|
|
5566
5783
|
# resp.model_name #=> String
|
5567
5784
|
# resp.primary_container.container_hostname #=> String
|
5568
5785
|
# resp.primary_container.image #=> String
|
5786
|
+
# resp.primary_container.image_config.repository_access_mode #=> String, one of "Platform", "Vpc"
|
5569
5787
|
# resp.primary_container.mode #=> String, one of "SingleModel", "MultiModel"
|
5570
5788
|
# resp.primary_container.model_data_url #=> String
|
5571
5789
|
# resp.primary_container.environment #=> Hash
|
@@ -5574,6 +5792,7 @@ module Aws::SageMaker
|
|
5574
5792
|
# resp.containers #=> Array
|
5575
5793
|
# resp.containers[0].container_hostname #=> String
|
5576
5794
|
# resp.containers[0].image #=> String
|
5795
|
+
# resp.containers[0].image_config.repository_access_mode #=> String, one of "Platform", "Vpc"
|
5577
5796
|
# resp.containers[0].mode #=> String, one of "SingleModel", "MultiModel"
|
5578
5797
|
# resp.containers[0].model_data_url #=> String
|
5579
5798
|
# resp.containers[0].environment #=> Hash
|
@@ -6499,6 +6718,17 @@ module Aws::SageMaker
|
|
6499
6718
|
# resp.workforce.last_updated_date #=> Time
|
6500
6719
|
# resp.workforce.source_ip_config.cidrs #=> Array
|
6501
6720
|
# resp.workforce.source_ip_config.cidrs[0] #=> String
|
6721
|
+
# resp.workforce.sub_domain #=> String
|
6722
|
+
# resp.workforce.cognito_config.user_pool #=> String
|
6723
|
+
# resp.workforce.cognito_config.client_id #=> String
|
6724
|
+
# resp.workforce.oidc_config.client_id #=> String
|
6725
|
+
# resp.workforce.oidc_config.issuer #=> String
|
6726
|
+
# resp.workforce.oidc_config.authorization_endpoint #=> String
|
6727
|
+
# resp.workforce.oidc_config.token_endpoint #=> String
|
6728
|
+
# resp.workforce.oidc_config.user_info_endpoint #=> String
|
6729
|
+
# resp.workforce.oidc_config.logout_endpoint #=> String
|
6730
|
+
# resp.workforce.oidc_config.jwks_uri #=> String
|
6731
|
+
# resp.workforce.create_date #=> Time
|
6502
6732
|
#
|
6503
6733
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeWorkforce AWS API Documentation
|
6504
6734
|
#
|
@@ -6533,7 +6763,10 @@ module Aws::SageMaker
|
|
6533
6763
|
# resp.workteam.member_definitions[0].cognito_member_definition.user_pool #=> String
|
6534
6764
|
# resp.workteam.member_definitions[0].cognito_member_definition.user_group #=> String
|
6535
6765
|
# resp.workteam.member_definitions[0].cognito_member_definition.client_id #=> String
|
6766
|
+
# resp.workteam.member_definitions[0].oidc_member_definition.groups #=> Array
|
6767
|
+
# resp.workteam.member_definitions[0].oidc_member_definition.groups[0] #=> String
|
6536
6768
|
# resp.workteam.workteam_arn #=> String
|
6769
|
+
# resp.workteam.workforce_arn #=> String
|
6537
6770
|
# resp.workteam.product_listing_ids #=> Array
|
6538
6771
|
# resp.workteam.product_listing_ids[0] #=> String
|
6539
6772
|
# resp.workteam.description #=> String
|
@@ -6792,8 +7025,8 @@ module Aws::SageMaker
|
|
6792
7025
|
# Request a list of jobs up to a specified limit.
|
6793
7026
|
#
|
6794
7027
|
# @option params [String] :next_token
|
6795
|
-
# If the previous response was truncated, you
|
6796
|
-
#
|
7028
|
+
# If the previous response was truncated, you receive this token. Use it
|
7029
|
+
# in your next request to receive the next set of results.
|
6797
7030
|
#
|
6798
7031
|
# @return [Types::ListAutoMLJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6799
7032
|
#
|
@@ -6860,8 +7093,8 @@ module Aws::SageMaker
|
|
6860
7093
|
# List the job's Candidates up to a specified limit.
|
6861
7094
|
#
|
6862
7095
|
# @option params [String] :next_token
|
6863
|
-
# If the previous response was truncated, you
|
6864
|
-
#
|
7096
|
+
# If the previous response was truncated, you receive this token. Use it
|
7097
|
+
# in your next request to receive the next set of results.
|
6865
7098
|
#
|
6866
7099
|
# @return [Types::ListCandidatesForAutoMLJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6867
7100
|
#
|
@@ -6887,7 +7120,7 @@ module Aws::SageMaker
|
|
6887
7120
|
# resp.candidates #=> Array
|
6888
7121
|
# resp.candidates[0].candidate_name #=> String
|
6889
7122
|
# resp.candidates[0].final_auto_ml_job_objective_metric.type #=> String, one of "Maximize", "Minimize"
|
6890
|
-
# resp.candidates[0].final_auto_ml_job_objective_metric.metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro"
|
7123
|
+
# resp.candidates[0].final_auto_ml_job_objective_metric.metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC"
|
6891
7124
|
# resp.candidates[0].final_auto_ml_job_objective_metric.value #=> Float
|
6892
7125
|
# resp.candidates[0].objective_status #=> String, one of "Succeeded", "Pending", "Failed"
|
6893
7126
|
# resp.candidates[0].candidate_steps #=> Array
|
@@ -7068,7 +7301,10 @@ module Aws::SageMaker
|
|
7068
7301
|
# resp.compilation_job_summaries[0].creation_time #=> Time
|
7069
7302
|
# resp.compilation_job_summaries[0].compilation_start_time #=> Time
|
7070
7303
|
# resp.compilation_job_summaries[0].compilation_end_time #=> Time
|
7071
|
-
# resp.compilation_job_summaries[0].compilation_target_device #=> String, one of "lambda", "ml_m4", "ml_m5", "ml_c4", "ml_c5", "ml_p2", "ml_p3", "ml_inf1", "jetson_tx1", "jetson_tx2", "jetson_nano", "jetson_xavier", "rasp3b", "imx8qm", "deeplens", "rk3399", "rk3288", "aisage", "sbe_c", "qcs605", "qcs603", "sitara_am57x", "amba_cv22"
|
7304
|
+
# resp.compilation_job_summaries[0].compilation_target_device #=> String, one of "lambda", "ml_m4", "ml_m5", "ml_c4", "ml_c5", "ml_p2", "ml_p3", "ml_g4dn", "ml_inf1", "jetson_tx1", "jetson_tx2", "jetson_nano", "jetson_xavier", "rasp3b", "imx8qm", "deeplens", "rk3399", "rk3288", "aisage", "sbe_c", "qcs605", "qcs603", "sitara_am57x", "amba_cv22", "x86_win32", "x86_win64"
|
7305
|
+
# resp.compilation_job_summaries[0].compilation_target_platform_os #=> String, one of "ANDROID", "LINUX"
|
7306
|
+
# resp.compilation_job_summaries[0].compilation_target_platform_arch #=> String, one of "X86_64", "X86", "ARM64", "ARM_EABI", "ARM_EABIHF"
|
7307
|
+
# resp.compilation_job_summaries[0].compilation_target_platform_accelerator #=> String, one of "INTEL_GRAPHICS", "MALI", "NVIDIA"
|
7072
7308
|
# resp.compilation_job_summaries[0].last_modified_time #=> Time
|
7073
7309
|
# resp.compilation_job_summaries[0].compilation_job_status #=> String, one of "INPROGRESS", "COMPLETED", "FAILED", "STARTING", "STOPPING", "STOPPED"
|
7074
7310
|
# resp.next_token #=> String
|
@@ -7606,7 +7842,7 @@ module Aws::SageMaker
|
|
7606
7842
|
# name_contains: "NameContains",
|
7607
7843
|
# sort_by: "Name", # accepts Name, CreationTime, Status
|
7608
7844
|
# sort_order: "Ascending", # accepts Ascending, Descending
|
7609
|
-
# status_equals: "
|
7845
|
+
# status_equals: "Initializing", # accepts Initializing, InProgress, Completed, Failed, Stopping, Stopped
|
7610
7846
|
# })
|
7611
7847
|
#
|
7612
7848
|
# @example Response structure
|
@@ -7616,7 +7852,7 @@ module Aws::SageMaker
|
|
7616
7852
|
# resp.labeling_job_summary_list[0].labeling_job_arn #=> String
|
7617
7853
|
# resp.labeling_job_summary_list[0].creation_time #=> Time
|
7618
7854
|
# resp.labeling_job_summary_list[0].last_modified_time #=> Time
|
7619
|
-
# resp.labeling_job_summary_list[0].labeling_job_status #=> String, one of "InProgress", "Completed", "Failed", "Stopping", "Stopped"
|
7855
|
+
# resp.labeling_job_summary_list[0].labeling_job_status #=> String, one of "Initializing", "InProgress", "Completed", "Failed", "Stopping", "Stopped"
|
7620
7856
|
# resp.labeling_job_summary_list[0].label_counters.total_labeled #=> Integer
|
7621
7857
|
# resp.labeling_job_summary_list[0].label_counters.human_labeled #=> Integer
|
7622
7858
|
# resp.labeling_job_summary_list[0].label_counters.machine_labeled #=> Integer
|
@@ -7629,6 +7865,7 @@ module Aws::SageMaker
|
|
7629
7865
|
# resp.labeling_job_summary_list[0].labeling_job_output.output_dataset_s3_uri #=> String
|
7630
7866
|
# resp.labeling_job_summary_list[0].labeling_job_output.final_active_learning_model_arn #=> String
|
7631
7867
|
# resp.labeling_job_summary_list[0].input_config.data_source.s3_data_source.manifest_s3_uri #=> String
|
7868
|
+
# resp.labeling_job_summary_list[0].input_config.data_source.sns_data_source.sns_topic_arn #=> String
|
7632
7869
|
# resp.labeling_job_summary_list[0].input_config.data_attributes.content_classifiers #=> Array
|
7633
7870
|
# resp.labeling_job_summary_list[0].input_config.data_attributes.content_classifiers[0] #=> String, one of "FreeOfPersonallyIdentifiableInformation", "FreeOfAdultContent"
|
7634
7871
|
# resp.next_token #=> String
|
@@ -8875,9 +9112,76 @@ module Aws::SageMaker
|
|
8875
9112
|
req.send_request(options)
|
8876
9113
|
end
|
8877
9114
|
|
8878
|
-
#
|
8879
|
-
#
|
8880
|
-
#
|
9115
|
+
# Use this operation to list all private and vendor workforces in an AWS
|
9116
|
+
# Region. Note that you can only have one private workforce per AWS
|
9117
|
+
# Region.
|
9118
|
+
#
|
9119
|
+
# @option params [String] :sort_by
|
9120
|
+
# Sort workforces using the workforce name or creation date.
|
9121
|
+
#
|
9122
|
+
# @option params [String] :sort_order
|
9123
|
+
# Sort workforces in ascending or descending order.
|
9124
|
+
#
|
9125
|
+
# @option params [String] :name_contains
|
9126
|
+
# A filter you can use to search for workforces using part of the
|
9127
|
+
# workforce name.
|
9128
|
+
#
|
9129
|
+
# @option params [String] :next_token
|
9130
|
+
# A token to resume pagination.
|
9131
|
+
#
|
9132
|
+
# @option params [Integer] :max_results
|
9133
|
+
# The maximum number of workforces returned in the response.
|
9134
|
+
#
|
9135
|
+
# @return [Types::ListWorkforcesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
9136
|
+
#
|
9137
|
+
# * {Types::ListWorkforcesResponse#workforces #workforces} => Array<Types::Workforce>
|
9138
|
+
# * {Types::ListWorkforcesResponse#next_token #next_token} => String
|
9139
|
+
#
|
9140
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
9141
|
+
#
|
9142
|
+
# @example Request syntax with placeholder values
|
9143
|
+
#
|
9144
|
+
# resp = client.list_workforces({
|
9145
|
+
# sort_by: "Name", # accepts Name, CreateDate
|
9146
|
+
# sort_order: "Ascending", # accepts Ascending, Descending
|
9147
|
+
# name_contains: "WorkforceName",
|
9148
|
+
# next_token: "NextToken",
|
9149
|
+
# max_results: 1,
|
9150
|
+
# })
|
9151
|
+
#
|
9152
|
+
# @example Response structure
|
9153
|
+
#
|
9154
|
+
# resp.workforces #=> Array
|
9155
|
+
# resp.workforces[0].workforce_name #=> String
|
9156
|
+
# resp.workforces[0].workforce_arn #=> String
|
9157
|
+
# resp.workforces[0].last_updated_date #=> Time
|
9158
|
+
# resp.workforces[0].source_ip_config.cidrs #=> Array
|
9159
|
+
# resp.workforces[0].source_ip_config.cidrs[0] #=> String
|
9160
|
+
# resp.workforces[0].sub_domain #=> String
|
9161
|
+
# resp.workforces[0].cognito_config.user_pool #=> String
|
9162
|
+
# resp.workforces[0].cognito_config.client_id #=> String
|
9163
|
+
# resp.workforces[0].oidc_config.client_id #=> String
|
9164
|
+
# resp.workforces[0].oidc_config.issuer #=> String
|
9165
|
+
# resp.workforces[0].oidc_config.authorization_endpoint #=> String
|
9166
|
+
# resp.workforces[0].oidc_config.token_endpoint #=> String
|
9167
|
+
# resp.workforces[0].oidc_config.user_info_endpoint #=> String
|
9168
|
+
# resp.workforces[0].oidc_config.logout_endpoint #=> String
|
9169
|
+
# resp.workforces[0].oidc_config.jwks_uri #=> String
|
9170
|
+
# resp.workforces[0].create_date #=> Time
|
9171
|
+
# resp.next_token #=> String
|
9172
|
+
#
|
9173
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListWorkforces AWS API Documentation
|
9174
|
+
#
|
9175
|
+
# @overload list_workforces(params = {})
|
9176
|
+
# @param [Hash] params ({})
|
9177
|
+
def list_workforces(params = {}, options = {})
|
9178
|
+
req = build_request(:list_workforces, params)
|
9179
|
+
req.send_request(options)
|
9180
|
+
end
|
9181
|
+
|
9182
|
+
# Gets a list of private work teams that you have defined in a region.
|
9183
|
+
# The list may be empty if no work team satisfies the filter specified
|
9184
|
+
# in the `NameContains` parameter.
|
8881
9185
|
#
|
8882
9186
|
# @option params [String] :sort_by
|
8883
9187
|
# The field to sort results by. The default is `CreationTime`.
|
@@ -8923,7 +9227,10 @@ module Aws::SageMaker
|
|
8923
9227
|
# resp.workteams[0].member_definitions[0].cognito_member_definition.user_pool #=> String
|
8924
9228
|
# resp.workteams[0].member_definitions[0].cognito_member_definition.user_group #=> String
|
8925
9229
|
# resp.workteams[0].member_definitions[0].cognito_member_definition.client_id #=> String
|
9230
|
+
# resp.workteams[0].member_definitions[0].oidc_member_definition.groups #=> Array
|
9231
|
+
# resp.workteams[0].member_definitions[0].oidc_member_definition.groups[0] #=> String
|
8926
9232
|
# resp.workteams[0].workteam_arn #=> String
|
9233
|
+
# resp.workteams[0].workforce_arn #=> String
|
8927
9234
|
# resp.workteams[0].product_listing_ids #=> Array
|
8928
9235
|
# resp.workteams[0].product_listing_ids[0] #=> String
|
8929
9236
|
# resp.workteams[0].description #=> String
|
@@ -9405,6 +9712,44 @@ module Aws::SageMaker
|
|
9405
9712
|
# resp.results[0].trial_component.source_detail.processing_job.tags #=> Array
|
9406
9713
|
# resp.results[0].trial_component.source_detail.processing_job.tags[0].key #=> String
|
9407
9714
|
# resp.results[0].trial_component.source_detail.processing_job.tags[0].value #=> String
|
9715
|
+
# resp.results[0].trial_component.source_detail.transform_job.transform_job_name #=> String
|
9716
|
+
# resp.results[0].trial_component.source_detail.transform_job.transform_job_arn #=> String
|
9717
|
+
# resp.results[0].trial_component.source_detail.transform_job.transform_job_status #=> String, one of "InProgress", "Completed", "Failed", "Stopping", "Stopped"
|
9718
|
+
# resp.results[0].trial_component.source_detail.transform_job.failure_reason #=> String
|
9719
|
+
# resp.results[0].trial_component.source_detail.transform_job.model_name #=> String
|
9720
|
+
# resp.results[0].trial_component.source_detail.transform_job.max_concurrent_transforms #=> Integer
|
9721
|
+
# resp.results[0].trial_component.source_detail.transform_job.model_client_config.invocations_timeout_in_seconds #=> Integer
|
9722
|
+
# resp.results[0].trial_component.source_detail.transform_job.model_client_config.invocations_max_retries #=> Integer
|
9723
|
+
# resp.results[0].trial_component.source_detail.transform_job.max_payload_in_mb #=> Integer
|
9724
|
+
# resp.results[0].trial_component.source_detail.transform_job.batch_strategy #=> String, one of "MultiRecord", "SingleRecord"
|
9725
|
+
# resp.results[0].trial_component.source_detail.transform_job.environment #=> Hash
|
9726
|
+
# resp.results[0].trial_component.source_detail.transform_job.environment["TransformEnvironmentKey"] #=> String
|
9727
|
+
# resp.results[0].trial_component.source_detail.transform_job.transform_input.data_source.s3_data_source.s3_data_type #=> String, one of "ManifestFile", "S3Prefix", "AugmentedManifestFile"
|
9728
|
+
# resp.results[0].trial_component.source_detail.transform_job.transform_input.data_source.s3_data_source.s3_uri #=> String
|
9729
|
+
# resp.results[0].trial_component.source_detail.transform_job.transform_input.content_type #=> String
|
9730
|
+
# resp.results[0].trial_component.source_detail.transform_job.transform_input.compression_type #=> String, one of "None", "Gzip"
|
9731
|
+
# resp.results[0].trial_component.source_detail.transform_job.transform_input.split_type #=> String, one of "None", "Line", "RecordIO", "TFRecord"
|
9732
|
+
# resp.results[0].trial_component.source_detail.transform_job.transform_output.s3_output_path #=> String
|
9733
|
+
# resp.results[0].trial_component.source_detail.transform_job.transform_output.accept #=> String
|
9734
|
+
# resp.results[0].trial_component.source_detail.transform_job.transform_output.assemble_with #=> String, one of "None", "Line"
|
9735
|
+
# resp.results[0].trial_component.source_detail.transform_job.transform_output.kms_key_id #=> String
|
9736
|
+
# resp.results[0].trial_component.source_detail.transform_job.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"
|
9737
|
+
# resp.results[0].trial_component.source_detail.transform_job.transform_resources.instance_count #=> Integer
|
9738
|
+
# resp.results[0].trial_component.source_detail.transform_job.transform_resources.volume_kms_key_id #=> String
|
9739
|
+
# resp.results[0].trial_component.source_detail.transform_job.creation_time #=> Time
|
9740
|
+
# resp.results[0].trial_component.source_detail.transform_job.transform_start_time #=> Time
|
9741
|
+
# resp.results[0].trial_component.source_detail.transform_job.transform_end_time #=> Time
|
9742
|
+
# resp.results[0].trial_component.source_detail.transform_job.labeling_job_arn #=> String
|
9743
|
+
# resp.results[0].trial_component.source_detail.transform_job.auto_ml_job_arn #=> String
|
9744
|
+
# resp.results[0].trial_component.source_detail.transform_job.data_processing.input_filter #=> String
|
9745
|
+
# resp.results[0].trial_component.source_detail.transform_job.data_processing.output_filter #=> String
|
9746
|
+
# resp.results[0].trial_component.source_detail.transform_job.data_processing.join_source #=> String, one of "Input", "None"
|
9747
|
+
# resp.results[0].trial_component.source_detail.transform_job.experiment_config.experiment_name #=> String
|
9748
|
+
# resp.results[0].trial_component.source_detail.transform_job.experiment_config.trial_name #=> String
|
9749
|
+
# resp.results[0].trial_component.source_detail.transform_job.experiment_config.trial_component_display_name #=> String
|
9750
|
+
# resp.results[0].trial_component.source_detail.transform_job.tags #=> Array
|
9751
|
+
# resp.results[0].trial_component.source_detail.transform_job.tags[0].key #=> String
|
9752
|
+
# resp.results[0].trial_component.source_detail.transform_job.tags[0].value #=> String
|
9408
9753
|
# resp.results[0].trial_component.tags #=> Array
|
9409
9754
|
# resp.results[0].trial_component.tags[0].key #=> String
|
9410
9755
|
# resp.results[0].trial_component.tags[0].value #=> String
|
@@ -9779,19 +10124,19 @@ module Aws::SageMaker
|
|
9779
10124
|
# },
|
9780
10125
|
# jupyter_server_app_settings: {
|
9781
10126
|
# default_resource_spec: {
|
9782
|
-
# sage_maker_image_arn: "
|
10127
|
+
# sage_maker_image_arn: "ImageArn",
|
9783
10128
|
# instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge
|
9784
10129
|
# },
|
9785
10130
|
# },
|
9786
10131
|
# kernel_gateway_app_settings: {
|
9787
10132
|
# default_resource_spec: {
|
9788
|
-
# sage_maker_image_arn: "
|
10133
|
+
# sage_maker_image_arn: "ImageArn",
|
9789
10134
|
# instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge
|
9790
10135
|
# },
|
9791
10136
|
# },
|
9792
10137
|
# tensor_board_app_settings: {
|
9793
10138
|
# default_resource_spec: {
|
9794
|
-
# sage_maker_image_arn: "
|
10139
|
+
# sage_maker_image_arn: "ImageArn",
|
9795
10140
|
# instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge
|
9796
10141
|
# },
|
9797
10142
|
# },
|
@@ -10408,19 +10753,19 @@ module Aws::SageMaker
|
|
10408
10753
|
# },
|
10409
10754
|
# jupyter_server_app_settings: {
|
10410
10755
|
# default_resource_spec: {
|
10411
|
-
# sage_maker_image_arn: "
|
10756
|
+
# sage_maker_image_arn: "ImageArn",
|
10412
10757
|
# instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge
|
10413
10758
|
# },
|
10414
10759
|
# },
|
10415
10760
|
# kernel_gateway_app_settings: {
|
10416
10761
|
# default_resource_spec: {
|
10417
|
-
# sage_maker_image_arn: "
|
10762
|
+
# sage_maker_image_arn: "ImageArn",
|
10418
10763
|
# instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge
|
10419
10764
|
# },
|
10420
10765
|
# },
|
10421
10766
|
# tensor_board_app_settings: {
|
10422
10767
|
# default_resource_spec: {
|
10423
|
-
# sage_maker_image_arn: "
|
10768
|
+
# sage_maker_image_arn: "ImageArn",
|
10424
10769
|
# instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge
|
10425
10770
|
# },
|
10426
10771
|
# },
|
@@ -10440,27 +10785,39 @@ module Aws::SageMaker
|
|
10440
10785
|
req.send_request(options)
|
10441
10786
|
end
|
10442
10787
|
|
10443
|
-
#
|
10444
|
-
#
|
10445
|
-
#
|
10788
|
+
# Use this operation to update your workforce. You can use this
|
10789
|
+
# operation to require that workers use specific IP addresses to work on
|
10790
|
+
# tasks and to update your OpenID Connect (OIDC) Identity Provider (IdP)
|
10791
|
+
# workforce configuration.
|
10446
10792
|
#
|
10447
|
-
#
|
10448
|
-
#
|
10449
|
-
#
|
10450
|
-
#
|
10451
|
-
#
|
10452
|
-
#
|
10793
|
+
# Use `SourceIpConfig` to restrict worker access to tasks to a specific
|
10794
|
+
# range of IP addresses. You specify allowed IP addresses by creating a
|
10795
|
+
# list of up to ten [CIDRs][1]. By default, a workforce isn't
|
10796
|
+
# restricted to specific IP addresses. If you specify a range of IP
|
10797
|
+
# addresses, workers who attempt to access tasks using any IP address
|
10798
|
+
# outside the specified range are denied and get a `Not Found` error
|
10799
|
+
# message on the worker portal.
|
10453
10800
|
#
|
10454
|
-
#
|
10801
|
+
# Use `OidcConfig` to update the configuration of a workforce created
|
10802
|
+
# using your own OIDC IdP.
|
10803
|
+
#
|
10804
|
+
# You can only update your OIDC IdP configuration when there are no work
|
10805
|
+
# teams associated with your workforce. You can delete work teams using
|
10806
|
+
# the operation.
|
10807
|
+
#
|
10808
|
+
# After restricting access to a range of IP addresses or updating your
|
10809
|
+
# OIDC IdP configuration with this operation, you can view details about
|
10810
|
+
# your update workforce using the operation.
|
10811
|
+
#
|
10812
|
+
# This operation only applies to private workforces.
|
10455
10813
|
#
|
10456
10814
|
#
|
10457
10815
|
#
|
10458
10816
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html
|
10459
10817
|
#
|
10460
10818
|
# @option params [required, String] :workforce_name
|
10461
|
-
# The name of the private workforce
|
10462
|
-
#
|
10463
|
-
# created and cannot be modified.
|
10819
|
+
# The name of the private workforce that you want to update. You can
|
10820
|
+
# find your workforce name by using the operation.
|
10464
10821
|
#
|
10465
10822
|
# @option params [Types::SourceIpConfig] :source_ip_config
|
10466
10823
|
# A list of one to ten worker IP address ranges ([CIDRs][1]) that can be
|
@@ -10472,6 +10829,10 @@ module Aws::SageMaker
|
|
10472
10829
|
#
|
10473
10830
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html
|
10474
10831
|
#
|
10832
|
+
# @option params [Types::OidcConfig] :oidc_config
|
10833
|
+
# Use this parameter to update your OIDC Identity Provider (IdP)
|
10834
|
+
# configuration for a workforce made using your own IdP.
|
10835
|
+
#
|
10475
10836
|
# @return [Types::UpdateWorkforceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10476
10837
|
#
|
10477
10838
|
# * {Types::UpdateWorkforceResponse#workforce #workforce} => Types::Workforce
|
@@ -10483,6 +10844,16 @@ module Aws::SageMaker
|
|
10483
10844
|
# source_ip_config: {
|
10484
10845
|
# cidrs: ["Cidr"], # required
|
10485
10846
|
# },
|
10847
|
+
# oidc_config: {
|
10848
|
+
# client_id: "ClientId", # required
|
10849
|
+
# client_secret: "ClientSecret", # required
|
10850
|
+
# issuer: "OidcEndpoint", # required
|
10851
|
+
# authorization_endpoint: "OidcEndpoint", # required
|
10852
|
+
# token_endpoint: "OidcEndpoint", # required
|
10853
|
+
# user_info_endpoint: "OidcEndpoint", # required
|
10854
|
+
# logout_endpoint: "OidcEndpoint", # required
|
10855
|
+
# jwks_uri: "OidcEndpoint", # required
|
10856
|
+
# },
|
10486
10857
|
# })
|
10487
10858
|
#
|
10488
10859
|
# @example Response structure
|
@@ -10492,6 +10863,17 @@ module Aws::SageMaker
|
|
10492
10863
|
# resp.workforce.last_updated_date #=> Time
|
10493
10864
|
# resp.workforce.source_ip_config.cidrs #=> Array
|
10494
10865
|
# resp.workforce.source_ip_config.cidrs[0] #=> String
|
10866
|
+
# resp.workforce.sub_domain #=> String
|
10867
|
+
# resp.workforce.cognito_config.user_pool #=> String
|
10868
|
+
# resp.workforce.cognito_config.client_id #=> String
|
10869
|
+
# resp.workforce.oidc_config.client_id #=> String
|
10870
|
+
# resp.workforce.oidc_config.issuer #=> String
|
10871
|
+
# resp.workforce.oidc_config.authorization_endpoint #=> String
|
10872
|
+
# resp.workforce.oidc_config.token_endpoint #=> String
|
10873
|
+
# resp.workforce.oidc_config.user_info_endpoint #=> String
|
10874
|
+
# resp.workforce.oidc_config.logout_endpoint #=> String
|
10875
|
+
# resp.workforce.oidc_config.jwks_uri #=> String
|
10876
|
+
# resp.workforce.create_date #=> Time
|
10495
10877
|
#
|
10496
10878
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateWorkforce AWS API Documentation
|
10497
10879
|
#
|
@@ -10509,8 +10891,35 @@ module Aws::SageMaker
|
|
10509
10891
|
# The name of the work team to update.
|
10510
10892
|
#
|
10511
10893
|
# @option params [Array<Types::MemberDefinition>] :member_definitions
|
10512
|
-
# A list of `MemberDefinition` objects that
|
10513
|
-
# team
|
10894
|
+
# A list of `MemberDefinition` objects that contains objects that
|
10895
|
+
# identify the workers that make up the work team.
|
10896
|
+
#
|
10897
|
+
# Workforces can be created using Amazon Cognito or your own OIDC
|
10898
|
+
# Identity Provider (IdP). For private workforces created using Amazon
|
10899
|
+
# Cognito use `CognitoMemberDefinition`. For workforces created using
|
10900
|
+
# your own OIDC identity provider (IdP) use `OidcMemberDefinition`. You
|
10901
|
+
# should not provide input for both of these parameters in a single
|
10902
|
+
# request.
|
10903
|
+
#
|
10904
|
+
# For workforces created using Amazon Cognito, private work teams
|
10905
|
+
# correspond to Amazon Cognito *user groups* within the user pool used
|
10906
|
+
# to create a workforce. All of the `CognitoMemberDefinition` objects
|
10907
|
+
# that make up the member definition must have the same `ClientId` and
|
10908
|
+
# `UserPool` values. To add a Amazon Cognito user group to an existing
|
10909
|
+
# worker pool, see [Adding groups to a User Pool](). For more
|
10910
|
+
# information about user pools, see [Amazon Cognito User Pools][1].
|
10911
|
+
#
|
10912
|
+
# For workforces created using your own OIDC IdP, specify the user
|
10913
|
+
# groups that you want to include in your private work team in
|
10914
|
+
# `OidcMemberDefinition` by listing those groups in `Groups`. Be aware
|
10915
|
+
# that user groups that are already in the work team must also be listed
|
10916
|
+
# in `Groups` when you make this request to remain on the work team. If
|
10917
|
+
# you do not include these user groups, they will no longer be
|
10918
|
+
# associated with the work team you update.
|
10919
|
+
#
|
10920
|
+
#
|
10921
|
+
#
|
10922
|
+
# [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html
|
10514
10923
|
#
|
10515
10924
|
# @option params [String] :description
|
10516
10925
|
# An updated description for the work team.
|
@@ -10532,7 +10941,10 @@ module Aws::SageMaker
|
|
10532
10941
|
# cognito_member_definition: {
|
10533
10942
|
# user_pool: "CognitoUserPool", # required
|
10534
10943
|
# user_group: "CognitoUserGroup", # required
|
10535
|
-
# client_id: "
|
10944
|
+
# client_id: "ClientId", # required
|
10945
|
+
# },
|
10946
|
+
# oidc_member_definition: {
|
10947
|
+
# groups: ["Group"], # required
|
10536
10948
|
# },
|
10537
10949
|
# },
|
10538
10950
|
# ],
|
@@ -10549,7 +10961,10 @@ module Aws::SageMaker
|
|
10549
10961
|
# resp.workteam.member_definitions[0].cognito_member_definition.user_pool #=> String
|
10550
10962
|
# resp.workteam.member_definitions[0].cognito_member_definition.user_group #=> String
|
10551
10963
|
# resp.workteam.member_definitions[0].cognito_member_definition.client_id #=> String
|
10964
|
+
# resp.workteam.member_definitions[0].oidc_member_definition.groups #=> Array
|
10965
|
+
# resp.workteam.member_definitions[0].oidc_member_definition.groups[0] #=> String
|
10552
10966
|
# resp.workteam.workteam_arn #=> String
|
10967
|
+
# resp.workteam.workforce_arn #=> String
|
10553
10968
|
# resp.workteam.product_listing_ids #=> Array
|
10554
10969
|
# resp.workteam.product_listing_ids[0] #=> String
|
10555
10970
|
# resp.workteam.description #=> String
|
@@ -10580,7 +10995,7 @@ module Aws::SageMaker
|
|
10580
10995
|
params: params,
|
10581
10996
|
config: config)
|
10582
10997
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
10583
|
-
context[:gem_version] = '1.
|
10998
|
+
context[:gem_version] = '1.68.0'
|
10584
10999
|
Seahorse::Client::Request.new(handlers, context)
|
10585
11000
|
end
|
10586
11001
|
|