aws-sdk-sagemaker 1.64.0 → 1.69.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-sagemaker.rb +3 -2
- data/lib/aws-sdk-sagemaker/client.rb +236 -85
- data/lib/aws-sdk-sagemaker/client_api.rb +16 -0
- data/lib/aws-sdk-sagemaker/types.rb +379 -86
- 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: 9c650d0d2e8d26fbeac0436d2df360c92fefb30b609f5f596824dc6df6f44987
|
4
|
+
data.tar.gz: d913e7998418e98f82e0afbe72791515a12facc00998b93e0c8066455644e704
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1d08317e47a3cfba20208a04a4509045173b092e5a3ef91456a70f06349f8af7e8f56760e855c0915cc65fa69ad0f529f1b27316d2fc900cacb64e875b11a35
|
7
|
+
data.tar.gz: 053b1e63e6d178fcbf4f72b732d3f7813b7c2a021016073f0ca1044310e7d93d84bf22479944ae1200ffc13c17a7d6712e40e76dd1ec7a47a5097c36f8853c64
|
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.69.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
|
@@ -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,12 +743,12 @@ 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
|
736
750
|
# Similar to InputDataConfig supported by Tuning. Format(s) supported:
|
737
|
-
# CSV. Minimum of
|
751
|
+
# CSV. Minimum of 500 rows.
|
738
752
|
#
|
739
753
|
# @option params [required, Types::AutoMLOutputDataConfig] :output_data_config
|
740
754
|
# Similar to OutputDataConfig supported by Tuning. Format(s) supported:
|
@@ -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: {
|
@@ -997,26 +1012,65 @@ module Aws::SageMaker
|
|
997
1012
|
req.send_request(options)
|
998
1013
|
end
|
999
1014
|
|
1000
|
-
# Creates a `Domain` used by SageMaker Studio. A domain consists
|
1001
|
-
# associated
|
1002
|
-
# security, application, policy, and
|
1003
|
-
# configurations. An AWS account is
|
1004
|
-
# Users within a domain can share
|
1005
|
-
# with each other.
|
1015
|
+
# Creates a `Domain` used by Amazon SageMaker Studio. A domain consists
|
1016
|
+
# of an associated Amazon Elastic File System (EFS) volume, a list of
|
1017
|
+
# authorized users, and a variety of security, application, policy, and
|
1018
|
+
# Amazon Virtual Private Cloud (VPC) configurations. An AWS account is
|
1019
|
+
# limited to one domain per region. Users within a domain can share
|
1020
|
+
# notebook files and other artifacts with each other.
|
1021
|
+
#
|
1022
|
+
# When a domain is created, an EFS volume is created for use by all of
|
1023
|
+
# the users within the domain. Each user receives a private home
|
1024
|
+
# directory within the EFS volume for notebooks, Git repositories, and
|
1025
|
+
# data files.
|
1026
|
+
#
|
1027
|
+
# **VPC configuration**
|
1028
|
+
#
|
1029
|
+
# All SageMaker Studio traffic between the domain and the EFS volume is
|
1030
|
+
# through the specified VPC and subnets. For other Studio traffic, you
|
1031
|
+
# specify the `AppNetworkAccessType` parameter. `AppNetworkAccessType`
|
1032
|
+
# corresponds to the VPC mode that's chosen when you onboard to Studio.
|
1033
|
+
# The following options are available:
|
1034
|
+
#
|
1035
|
+
# * `PublicInternetOnly` - Non-EFS traffic goes through a VPC managed by
|
1036
|
+
# Amazon SageMaker, which allows internet access. This is the default
|
1037
|
+
# value.
|
1038
|
+
#
|
1039
|
+
# * `VpcOnly` - All Studio traffic is through the specified VPC and
|
1040
|
+
# subnets. Internet access is disabled by default. To allow internet
|
1041
|
+
# access, you must specify a NAT gateway.
|
1042
|
+
#
|
1043
|
+
# When internet access is disabled, you won't be able to train or
|
1044
|
+
# host models unless your VPC has an interface endpoint (PrivateLink)
|
1045
|
+
# or a NAT gateway and your security groups allow outbound
|
1046
|
+
# connections.
|
1006
1047
|
#
|
1007
|
-
#
|
1008
|
-
# is also created for use by all of the users within the domain. Each
|
1009
|
-
# user receives a private home directory within the EFS for notebooks,
|
1010
|
-
# Git repositories, and data files.
|
1048
|
+
# <b> <code>VpcOnly</code> mode</b>
|
1011
1049
|
#
|
1012
|
-
#
|
1013
|
-
# through the specified subnet IDs. All other traffic goes over the
|
1014
|
-
# Internet through an Amazon SageMaker system VPC. The EFS traffic uses
|
1015
|
-
# the NFS/TCP protocol over port 2049.
|
1050
|
+
# When you specify `VpcOnly`, you must specify the following:
|
1016
1051
|
#
|
1017
|
-
#
|
1018
|
-
#
|
1019
|
-
#
|
1052
|
+
# * Security group inbound and outbound rules to allow NFS traffic over
|
1053
|
+
# TCP on port 2049 between the domain and the EFS volume
|
1054
|
+
#
|
1055
|
+
# * Security group inbound and outbound rules to allow traffic between
|
1056
|
+
# the JupyterServer app and the KernelGateway apps
|
1057
|
+
#
|
1058
|
+
# * Interface endpoints to access the SageMaker API and SageMaker
|
1059
|
+
# runtime
|
1060
|
+
#
|
1061
|
+
# For more information, see:
|
1062
|
+
#
|
1063
|
+
# * [Security groups for your VPC][1]
|
1064
|
+
#
|
1065
|
+
# * [VPC with public and private subnets (NAT)][2]
|
1066
|
+
#
|
1067
|
+
# * [Connect to SageMaker through a VPC interface endpoint][3]
|
1068
|
+
#
|
1069
|
+
#
|
1070
|
+
#
|
1071
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html
|
1072
|
+
# [2]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Scenario2.html
|
1073
|
+
# [3]: https://docs.aws.amazon.com/sagemaker/latest/dg/interface-vpc-endpoint.html
|
1020
1074
|
#
|
1021
1075
|
# @option params [required, String] :domain_name
|
1022
1076
|
# A name for the domain.
|
@@ -1028,11 +1082,11 @@ module Aws::SageMaker
|
|
1028
1082
|
# The default user settings.
|
1029
1083
|
#
|
1030
1084
|
# @option params [required, Array<String>] :subnet_ids
|
1031
|
-
# The VPC subnets
|
1085
|
+
# The VPC subnets that Studio uses for communication.
|
1032
1086
|
#
|
1033
1087
|
# @option params [required, String] :vpc_id
|
1034
|
-
# The ID of the Amazon Virtual Private Cloud (VPC)
|
1035
|
-
# communication
|
1088
|
+
# The ID of the Amazon Virtual Private Cloud (VPC) that Studio uses for
|
1089
|
+
# communication.
|
1036
1090
|
#
|
1037
1091
|
# @option params [Array<Types::Tag>] :tags
|
1038
1092
|
# Tags to associated with the Domain. Each tag consists of a key and an
|
@@ -1043,6 +1097,16 @@ module Aws::SageMaker
|
|
1043
1097
|
# The AWS Key Management Service (KMS) encryption key ID. Encryption
|
1044
1098
|
# with a customer master key (CMK) is not supported.
|
1045
1099
|
#
|
1100
|
+
# @option params [String] :app_network_access_type
|
1101
|
+
# Specifies the VPC used for non-EFS traffic. The default value is
|
1102
|
+
# `PublicInternetOnly`.
|
1103
|
+
#
|
1104
|
+
# * `PublicInternetOnly` - Non-EFS traffic is through a VPC managed by
|
1105
|
+
# Amazon SageMaker, which allows direct internet access
|
1106
|
+
#
|
1107
|
+
# * `VpcOnly` - All Studio traffic is through the specified VPC and
|
1108
|
+
# subnets
|
1109
|
+
#
|
1046
1110
|
# @return [Types::CreateDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1047
1111
|
#
|
1048
1112
|
# * {Types::CreateDomainResponse#domain_arn #domain_arn} => String
|
@@ -1089,6 +1153,7 @@ module Aws::SageMaker
|
|
1089
1153
|
# },
|
1090
1154
|
# ],
|
1091
1155
|
# home_efs_file_system_kms_key_id: "KmsKeyId",
|
1156
|
+
# app_network_access_type: "PublicInternetOnly", # accepts PublicInternetOnly, VpcOnly
|
1092
1157
|
# })
|
1093
1158
|
#
|
1094
1159
|
# @example Response structure
|
@@ -2078,6 +2143,9 @@ module Aws::SageMaker
|
|
2078
2143
|
# s3_data_source: {
|
2079
2144
|
# manifest_s3_uri: "S3Uri", # required
|
2080
2145
|
# },
|
2146
|
+
# sns_data_source: {
|
2147
|
+
# sns_topic_arn: "SnsTopicArn", # required
|
2148
|
+
# },
|
2081
2149
|
# },
|
2082
2150
|
# data_attributes: {
|
2083
2151
|
# content_classifiers: ["FreeOfPersonallyIdentifiableInformation"], # accepts FreeOfPersonallyIdentifiableInformation, FreeOfAdultContent
|
@@ -2086,6 +2154,7 @@ module Aws::SageMaker
|
|
2086
2154
|
# output_config: { # required
|
2087
2155
|
# s3_output_path: "S3Uri", # required
|
2088
2156
|
# kms_key_id: "KmsKeyId",
|
2157
|
+
# sns_topic_arn: "SnsTopicArn",
|
2089
2158
|
# },
|
2090
2159
|
# role_arn: "RoleArn", # required
|
2091
2160
|
# label_category_config_s3_uri: "S3Uri",
|
@@ -2247,6 +2316,9 @@ module Aws::SageMaker
|
|
2247
2316
|
# primary_container: {
|
2248
2317
|
# container_hostname: "ContainerHostname",
|
2249
2318
|
# image: "ContainerImage",
|
2319
|
+
# image_config: {
|
2320
|
+
# repository_access_mode: "Platform", # required, accepts Platform, Vpc
|
2321
|
+
# },
|
2250
2322
|
# mode: "SingleModel", # accepts SingleModel, MultiModel
|
2251
2323
|
# model_data_url: "Url",
|
2252
2324
|
# environment: {
|
@@ -2258,6 +2330,9 @@ module Aws::SageMaker
|
|
2258
2330
|
# {
|
2259
2331
|
# container_hostname: "ContainerHostname",
|
2260
2332
|
# image: "ContainerImage",
|
2333
|
+
# image_config: {
|
2334
|
+
# repository_access_mode: "Platform", # required, accepts Platform, Vpc
|
2335
|
+
# },
|
2261
2336
|
# mode: "SingleModel", # accepts SingleModel, MultiModel
|
2262
2337
|
# model_data_url: "Url",
|
2263
2338
|
# environment: {
|
@@ -2821,6 +2896,12 @@ module Aws::SageMaker
|
|
2821
2896
|
# This operation can only be called when the authentication mode equals
|
2822
2897
|
# IAM.
|
2823
2898
|
#
|
2899
|
+
# <note markdown="1"> The URL that you get from a call to `CreatePresignedDomainUrl` is
|
2900
|
+
# valid only for 5 minutes. If you try to use the URL after the 5-minute
|
2901
|
+
# limit expires, you are directed to the AWS console sign-in page.
|
2902
|
+
#
|
2903
|
+
# </note>
|
2904
|
+
#
|
2824
2905
|
# @option params [required, String] :domain_id
|
2825
2906
|
# The domain ID.
|
2826
2907
|
#
|
@@ -3902,11 +3983,12 @@ module Aws::SageMaker
|
|
3902
3983
|
|
3903
3984
|
# Use this operation to create a workforce. This operation will return
|
3904
3985
|
# an error if a workforce already exists in the AWS Region that you
|
3905
|
-
# specify. You can only create one workforce in each AWS Region
|
3986
|
+
# specify. You can only create one workforce in each AWS Region per AWS
|
3987
|
+
# account.
|
3906
3988
|
#
|
3907
|
-
# If you want to create a new workforce in an AWS Region where
|
3989
|
+
# If you want to create a new workforce in an AWS Region where a
|
3908
3990
|
# workforce already exists, use the API operation to delete the existing
|
3909
|
-
# workforce and then use
|
3991
|
+
# workforce and then use `CreateWorkforce` to create a new workforce.
|
3910
3992
|
#
|
3911
3993
|
# To create a private workforce using Amazon Cognito, you must specify a
|
3912
3994
|
# Cognito user pool in `CognitoConfig`. You can also create an Amazon
|
@@ -3914,9 +3996,10 @@ module Aws::SageMaker
|
|
3914
3996
|
# information, see [ Create a Private Workforce (Amazon Cognito)][1].
|
3915
3997
|
#
|
3916
3998
|
# To create a private workforce using your own OIDC Identity Provider
|
3917
|
-
# (IdP), specify your IdP configuration in `OidcConfig`.
|
3918
|
-
#
|
3919
|
-
#
|
3999
|
+
# (IdP), specify your IdP configuration in `OidcConfig`. Your OIDC IdP
|
4000
|
+
# must support *groups* because groups are used by Ground Truth and
|
4001
|
+
# Amazon A2I to create work teams. For more information, see [ Create a
|
4002
|
+
# Private Workforce (OIDC IdP)][2].
|
3920
4003
|
#
|
3921
4004
|
#
|
3922
4005
|
#
|
@@ -3936,12 +4019,15 @@ module Aws::SageMaker
|
|
3936
4019
|
#
|
3937
4020
|
# @option params [Types::OidcConfig] :oidc_config
|
3938
4021
|
# Use this parameter to configure a private workforce using your own
|
3939
|
-
# OIDC Identity Provider.
|
3940
|
-
#
|
4022
|
+
# OIDC Identity Provider.
|
4023
|
+
#
|
4024
|
+
# Do not use `CognitoConfig` if you specify values for `OidcConfig`.
|
3941
4025
|
#
|
3942
4026
|
# @option params [Types::SourceIpConfig] :source_ip_config
|
3943
4027
|
# A list of IP address ranges ([CIDRs][1]). Used to create an allow list
|
3944
|
-
# of IP addresses for a private workforce.
|
4028
|
+
# of IP addresses for a private workforce. Workers will only be able to
|
4029
|
+
# login to their worker portal from an IP address within this range. By
|
4030
|
+
# default, a workforce isn't restricted to specific IP addresses.
|
3945
4031
|
#
|
3946
4032
|
#
|
3947
4033
|
#
|
@@ -4015,11 +4101,25 @@ module Aws::SageMaker
|
|
4015
4101
|
#
|
4016
4102
|
# @option params [required, Array<Types::MemberDefinition>] :member_definitions
|
4017
4103
|
# A list of `MemberDefinition` objects that contains objects that
|
4018
|
-
# identify the
|
4019
|
-
#
|
4104
|
+
# identify the workers that make up the work team.
|
4105
|
+
#
|
4106
|
+
# Workforces can be created using Amazon Cognito or your own OIDC
|
4107
|
+
# Identity Provider (IdP). For private workforces created using Amazon
|
4108
|
+
# Cognito use `CognitoMemberDefinition`. For workforces created using
|
4109
|
+
# your own OIDC identity provider (IdP) use `OidcMemberDefinition`. Do
|
4110
|
+
# not provide input for both of these parameters in a single request.
|
4020
4111
|
#
|
4021
|
-
#
|
4022
|
-
#
|
4112
|
+
# For workforces created using Amazon Cognito, private work teams
|
4113
|
+
# correspond to Amazon Cognito *user groups* within the user pool used
|
4114
|
+
# to create a workforce. All of the `CognitoMemberDefinition` objects
|
4115
|
+
# that make up the member definition must have the same `ClientId` and
|
4116
|
+
# `UserPool` values. To add a Amazon Cognito user group to an existing
|
4117
|
+
# worker pool, see [Adding groups to a User Pool](). For more
|
4118
|
+
# information about user pools, see [Amazon Cognito User Pools][1].
|
4119
|
+
#
|
4120
|
+
# For workforces created using your own OIDC IdP, specify the user
|
4121
|
+
# groups that you want to include in your private work team in
|
4122
|
+
# `OidcMemberDefinition` by listing those groups in `Groups`.
|
4023
4123
|
#
|
4024
4124
|
#
|
4025
4125
|
#
|
@@ -4594,10 +4694,15 @@ module Aws::SageMaker
|
|
4594
4694
|
|
4595
4695
|
# Use this operation to delete a workforce.
|
4596
4696
|
#
|
4597
|
-
# If you want to create a new workforce in an AWS Region where
|
4697
|
+
# If you want to create a new workforce in an AWS Region where a
|
4598
4698
|
# workforce already exists, use this operation to delete the existing
|
4599
4699
|
# workforce and then use to create a new workforce.
|
4600
4700
|
#
|
4701
|
+
# If a private workforce contains one or more work teams, you must use
|
4702
|
+
# the operation to delete all work teams before you delete the
|
4703
|
+
# workforce. If you try to delete a workforce that contains one or more
|
4704
|
+
# work teams, you will recieve a `ResourceInUse` error.
|
4705
|
+
#
|
4601
4706
|
# @option params [required, String] :workforce_name
|
4602
4707
|
# The name of the workforce.
|
4603
4708
|
#
|
@@ -4899,7 +5004,7 @@ module Aws::SageMaker
|
|
4899
5004
|
# resp.output_data_config.kms_key_id #=> String
|
4900
5005
|
# resp.output_data_config.s3_output_path #=> String
|
4901
5006
|
# resp.role_arn #=> String
|
4902
|
-
# resp.auto_ml_job_objective.metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro"
|
5007
|
+
# resp.auto_ml_job_objective.metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC"
|
4903
5008
|
# resp.problem_type #=> String, one of "BinaryClassification", "MulticlassClassification", "Regression"
|
4904
5009
|
# resp.auto_ml_job_config.completion_criteria.max_candidates #=> Integer
|
4905
5010
|
# resp.auto_ml_job_config.completion_criteria.max_runtime_per_training_job_in_seconds #=> Integer
|
@@ -4916,7 +5021,7 @@ module Aws::SageMaker
|
|
4916
5021
|
# resp.failure_reason #=> String
|
4917
5022
|
# resp.best_candidate.candidate_name #=> String
|
4918
5023
|
# resp.best_candidate.final_auto_ml_job_objective_metric.type #=> String, one of "Maximize", "Minimize"
|
4919
|
-
# resp.best_candidate.final_auto_ml_job_objective_metric.metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro"
|
5024
|
+
# resp.best_candidate.final_auto_ml_job_objective_metric.metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC"
|
4920
5025
|
# resp.best_candidate.final_auto_ml_job_objective_metric.value #=> Float
|
4921
5026
|
# resp.best_candidate.objective_status #=> String, one of "Succeeded", "Pending", "Failed"
|
4922
5027
|
# resp.best_candidate.candidate_steps #=> Array
|
@@ -4938,7 +5043,7 @@ module Aws::SageMaker
|
|
4938
5043
|
# resp.generate_candidate_definitions_only #=> Boolean
|
4939
5044
|
# resp.auto_ml_job_artifacts.candidate_definition_notebook_location #=> String
|
4940
5045
|
# resp.auto_ml_job_artifacts.data_exploration_notebook_location #=> String
|
4941
|
-
# resp.resolved_attributes.auto_ml_job_objective.metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro"
|
5046
|
+
# resp.resolved_attributes.auto_ml_job_objective.metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC"
|
4942
5047
|
# resp.resolved_attributes.problem_type #=> String, one of "BinaryClassification", "MulticlassClassification", "Regression"
|
4943
5048
|
# resp.resolved_attributes.completion_criteria.max_candidates #=> Integer
|
4944
5049
|
# resp.resolved_attributes.completion_criteria.max_runtime_per_training_job_in_seconds #=> Integer
|
@@ -5077,6 +5182,7 @@ module Aws::SageMaker
|
|
5077
5182
|
# * {Types::DescribeDomainResponse#subnet_ids #subnet_ids} => Array<String>
|
5078
5183
|
# * {Types::DescribeDomainResponse#url #url} => String
|
5079
5184
|
# * {Types::DescribeDomainResponse#vpc_id #vpc_id} => String
|
5185
|
+
# * {Types::DescribeDomainResponse#app_network_access_type #app_network_access_type} => String
|
5080
5186
|
#
|
5081
5187
|
# @example Request syntax with placeholder values
|
5082
5188
|
#
|
@@ -5113,6 +5219,7 @@ module Aws::SageMaker
|
|
5113
5219
|
# resp.subnet_ids[0] #=> String
|
5114
5220
|
# resp.url #=> String
|
5115
5221
|
# resp.vpc_id #=> String
|
5222
|
+
# resp.app_network_access_type #=> String, one of "PublicInternetOnly", "VpcOnly"
|
5116
5223
|
#
|
5117
5224
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDomain AWS API Documentation
|
5118
5225
|
#
|
@@ -5663,10 +5770,12 @@ module Aws::SageMaker
|
|
5663
5770
|
# resp.labeling_job_arn #=> String
|
5664
5771
|
# resp.label_attribute_name #=> String
|
5665
5772
|
# resp.input_config.data_source.s3_data_source.manifest_s3_uri #=> String
|
5773
|
+
# resp.input_config.data_source.sns_data_source.sns_topic_arn #=> String
|
5666
5774
|
# resp.input_config.data_attributes.content_classifiers #=> Array
|
5667
5775
|
# resp.input_config.data_attributes.content_classifiers[0] #=> String, one of "FreeOfPersonallyIdentifiableInformation", "FreeOfAdultContent"
|
5668
5776
|
# resp.output_config.s3_output_path #=> String
|
5669
5777
|
# resp.output_config.kms_key_id #=> String
|
5778
|
+
# resp.output_config.sns_topic_arn #=> String
|
5670
5779
|
# resp.role_arn #=> String
|
5671
5780
|
# resp.label_category_config_s3_uri #=> String
|
5672
5781
|
# resp.stopping_conditions.max_human_labeled_object_count #=> Integer
|
@@ -5732,6 +5841,7 @@ module Aws::SageMaker
|
|
5732
5841
|
# resp.model_name #=> String
|
5733
5842
|
# resp.primary_container.container_hostname #=> String
|
5734
5843
|
# resp.primary_container.image #=> String
|
5844
|
+
# resp.primary_container.image_config.repository_access_mode #=> String, one of "Platform", "Vpc"
|
5735
5845
|
# resp.primary_container.mode #=> String, one of "SingleModel", "MultiModel"
|
5736
5846
|
# resp.primary_container.model_data_url #=> String
|
5737
5847
|
# resp.primary_container.environment #=> Hash
|
@@ -5740,6 +5850,7 @@ module Aws::SageMaker
|
|
5740
5850
|
# resp.containers #=> Array
|
5741
5851
|
# resp.containers[0].container_hostname #=> String
|
5742
5852
|
# resp.containers[0].image #=> String
|
5853
|
+
# resp.containers[0].image_config.repository_access_mode #=> String, one of "Platform", "Vpc"
|
5743
5854
|
# resp.containers[0].mode #=> String, one of "SingleModel", "MultiModel"
|
5744
5855
|
# resp.containers[0].model_data_url #=> String
|
5745
5856
|
# resp.containers[0].environment #=> Hash
|
@@ -6972,8 +7083,8 @@ module Aws::SageMaker
|
|
6972
7083
|
# Request a list of jobs up to a specified limit.
|
6973
7084
|
#
|
6974
7085
|
# @option params [String] :next_token
|
6975
|
-
# If the previous response was truncated, you
|
6976
|
-
#
|
7086
|
+
# If the previous response was truncated, you receive this token. Use it
|
7087
|
+
# in your next request to receive the next set of results.
|
6977
7088
|
#
|
6978
7089
|
# @return [Types::ListAutoMLJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6979
7090
|
#
|
@@ -7040,8 +7151,8 @@ module Aws::SageMaker
|
|
7040
7151
|
# List the job's Candidates up to a specified limit.
|
7041
7152
|
#
|
7042
7153
|
# @option params [String] :next_token
|
7043
|
-
# If the previous response was truncated, you
|
7044
|
-
#
|
7154
|
+
# If the previous response was truncated, you receive this token. Use it
|
7155
|
+
# in your next request to receive the next set of results.
|
7045
7156
|
#
|
7046
7157
|
# @return [Types::ListCandidatesForAutoMLJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7047
7158
|
#
|
@@ -7067,7 +7178,7 @@ module Aws::SageMaker
|
|
7067
7178
|
# resp.candidates #=> Array
|
7068
7179
|
# resp.candidates[0].candidate_name #=> String
|
7069
7180
|
# resp.candidates[0].final_auto_ml_job_objective_metric.type #=> String, one of "Maximize", "Minimize"
|
7070
|
-
# resp.candidates[0].final_auto_ml_job_objective_metric.metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro"
|
7181
|
+
# resp.candidates[0].final_auto_ml_job_objective_metric.metric_name #=> String, one of "Accuracy", "MSE", "F1", "F1macro", "AUC"
|
7071
7182
|
# resp.candidates[0].final_auto_ml_job_objective_metric.value #=> Float
|
7072
7183
|
# resp.candidates[0].objective_status #=> String, one of "Succeeded", "Pending", "Failed"
|
7073
7184
|
# resp.candidates[0].candidate_steps #=> Array
|
@@ -7812,6 +7923,7 @@ module Aws::SageMaker
|
|
7812
7923
|
# resp.labeling_job_summary_list[0].labeling_job_output.output_dataset_s3_uri #=> String
|
7813
7924
|
# resp.labeling_job_summary_list[0].labeling_job_output.final_active_learning_model_arn #=> String
|
7814
7925
|
# resp.labeling_job_summary_list[0].input_config.data_source.s3_data_source.manifest_s3_uri #=> String
|
7926
|
+
# resp.labeling_job_summary_list[0].input_config.data_source.sns_data_source.sns_topic_arn #=> String
|
7815
7927
|
# resp.labeling_job_summary_list[0].input_config.data_attributes.content_classifiers #=> Array
|
7816
7928
|
# resp.labeling_job_summary_list[0].input_config.data_attributes.content_classifiers[0] #=> String, one of "FreeOfPersonallyIdentifiableInformation", "FreeOfAdultContent"
|
7817
7929
|
# resp.next_token #=> String
|
@@ -9125,9 +9237,9 @@ module Aws::SageMaker
|
|
9125
9237
|
req.send_request(options)
|
9126
9238
|
end
|
9127
9239
|
|
9128
|
-
# Gets a list of work teams that you have defined in a region.
|
9129
|
-
# may be empty if no work team satisfies the filter specified
|
9130
|
-
# `NameContains` parameter.
|
9240
|
+
# Gets a list of private work teams that you have defined in a region.
|
9241
|
+
# The list may be empty if no work team satisfies the filter specified
|
9242
|
+
# in the `NameContains` parameter.
|
9131
9243
|
#
|
9132
9244
|
# @option params [String] :sort_by
|
9133
9245
|
# The field to sort results by. The default is `CreationTime`.
|
@@ -10731,27 +10843,39 @@ module Aws::SageMaker
|
|
10731
10843
|
req.send_request(options)
|
10732
10844
|
end
|
10733
10845
|
|
10734
|
-
#
|
10735
|
-
#
|
10736
|
-
#
|
10846
|
+
# Use this operation to update your workforce. You can use this
|
10847
|
+
# operation to require that workers use specific IP addresses to work on
|
10848
|
+
# tasks and to update your OpenID Connect (OIDC) Identity Provider (IdP)
|
10849
|
+
# workforce configuration.
|
10737
10850
|
#
|
10738
|
-
#
|
10739
|
-
#
|
10740
|
-
#
|
10741
|
-
#
|
10742
|
-
#
|
10743
|
-
#
|
10851
|
+
# Use `SourceIpConfig` to restrict worker access to tasks to a specific
|
10852
|
+
# range of IP addresses. You specify allowed IP addresses by creating a
|
10853
|
+
# list of up to ten [CIDRs][1]. By default, a workforce isn't
|
10854
|
+
# restricted to specific IP addresses. If you specify a range of IP
|
10855
|
+
# addresses, workers who attempt to access tasks using any IP address
|
10856
|
+
# outside the specified range are denied and get a `Not Found` error
|
10857
|
+
# message on the worker portal.
|
10744
10858
|
#
|
10745
|
-
#
|
10859
|
+
# Use `OidcConfig` to update the configuration of a workforce created
|
10860
|
+
# using your own OIDC IdP.
|
10861
|
+
#
|
10862
|
+
# You can only update your OIDC IdP configuration when there are no work
|
10863
|
+
# teams associated with your workforce. You can delete work teams using
|
10864
|
+
# the operation.
|
10865
|
+
#
|
10866
|
+
# After restricting access to a range of IP addresses or updating your
|
10867
|
+
# OIDC IdP configuration with this operation, you can view details about
|
10868
|
+
# your update workforce using the operation.
|
10869
|
+
#
|
10870
|
+
# This operation only applies to private workforces.
|
10746
10871
|
#
|
10747
10872
|
#
|
10748
10873
|
#
|
10749
10874
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html
|
10750
10875
|
#
|
10751
10876
|
# @option params [required, String] :workforce_name
|
10752
|
-
# The name of the private workforce
|
10753
|
-
#
|
10754
|
-
# created and cannot be modified.
|
10877
|
+
# The name of the private workforce that you want to update. You can
|
10878
|
+
# find your workforce name by using the operation.
|
10755
10879
|
#
|
10756
10880
|
# @option params [Types::SourceIpConfig] :source_ip_config
|
10757
10881
|
# A list of one to ten worker IP address ranges ([CIDRs][1]) that can be
|
@@ -10825,8 +10949,35 @@ module Aws::SageMaker
|
|
10825
10949
|
# The name of the work team to update.
|
10826
10950
|
#
|
10827
10951
|
# @option params [Array<Types::MemberDefinition>] :member_definitions
|
10828
|
-
# A list of `MemberDefinition` objects that
|
10829
|
-
# team
|
10952
|
+
# A list of `MemberDefinition` objects that contains objects that
|
10953
|
+
# identify the workers that make up the work team.
|
10954
|
+
#
|
10955
|
+
# Workforces can be created using Amazon Cognito or your own OIDC
|
10956
|
+
# Identity Provider (IdP). For private workforces created using Amazon
|
10957
|
+
# Cognito use `CognitoMemberDefinition`. For workforces created using
|
10958
|
+
# your own OIDC identity provider (IdP) use `OidcMemberDefinition`. You
|
10959
|
+
# should not provide input for both of these parameters in a single
|
10960
|
+
# request.
|
10961
|
+
#
|
10962
|
+
# For workforces created using Amazon Cognito, private work teams
|
10963
|
+
# correspond to Amazon Cognito *user groups* within the user pool used
|
10964
|
+
# to create a workforce. All of the `CognitoMemberDefinition` objects
|
10965
|
+
# that make up the member definition must have the same `ClientId` and
|
10966
|
+
# `UserPool` values. To add a Amazon Cognito user group to an existing
|
10967
|
+
# worker pool, see [Adding groups to a User Pool](). For more
|
10968
|
+
# information about user pools, see [Amazon Cognito User Pools][1].
|
10969
|
+
#
|
10970
|
+
# For workforces created using your own OIDC IdP, specify the user
|
10971
|
+
# groups that you want to include in your private work team in
|
10972
|
+
# `OidcMemberDefinition` by listing those groups in `Groups`. Be aware
|
10973
|
+
# that user groups that are already in the work team must also be listed
|
10974
|
+
# in `Groups` when you make this request to remain on the work team. If
|
10975
|
+
# you do not include these user groups, they will no longer be
|
10976
|
+
# associated with the work team you update.
|
10977
|
+
#
|
10978
|
+
#
|
10979
|
+
#
|
10980
|
+
# [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html
|
10830
10981
|
#
|
10831
10982
|
# @option params [String] :description
|
10832
10983
|
# An updated description for the work team.
|
@@ -10902,7 +11053,7 @@ module Aws::SageMaker
|
|
10902
11053
|
params: params,
|
10903
11054
|
config: config)
|
10904
11055
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
10905
|
-
context[:gem_version] = '1.
|
11056
|
+
context[:gem_version] = '1.69.0'
|
10906
11057
|
Seahorse::Client::Request.new(handlers, context)
|
10907
11058
|
end
|
10908
11059
|
|