aws-sdk-sagemaker 1.127.0 → 1.128.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sagemaker/client.rb +69 -4
- data/lib/aws-sdk-sagemaker/client_api.rb +32 -0
- data/lib/aws-sdk-sagemaker/types.rb +167 -16
- data/lib/aws-sdk-sagemaker.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21601ab21b6efd78619931ec237bd508195eaffc5ed04d963814c3ae2908f538
|
4
|
+
data.tar.gz: c0337001e4c42e2abffbcee13eb73960ac93110b1eea474f32e6345e5d1df575
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1454d065a44acd8e1fa69f9694164699334590ec509da93bb892149d05f7bf5e87ea7219065429f216dbcb23c2f8f858a8073f572be55986640dcc46f1bc118d
|
7
|
+
data.tar.gz: fa9857672686feb5b69d936005b78df2239db65197d87ad130b5782b8d85feb70483840e54eb7a4ad3ee0b7c8fd19452939fd1845bcb4975c791f3fada8ff66f
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.128.0 (2022-06-23)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - SageMaker Ground Truth now supports Virtual Private Cloud. Customers can launch labeling jobs and access to their private workforce in VPC mode.
|
8
|
+
|
4
9
|
1.127.0 (2022-05-31)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.128.0
|
@@ -959,6 +959,15 @@ module Aws::SageMaker
|
|
959
959
|
# The instance type and the Amazon Resource Name (ARN) of the SageMaker
|
960
960
|
# image created on the instance.
|
961
961
|
#
|
962
|
+
# <note markdown="1"> The value of `InstanceType` passed as part of the `ResourceSpec` in
|
963
|
+
# the `CreateApp` call overrides the value passed as part of the
|
964
|
+
# `ResourceSpec` configured for the user profile or the domain. If
|
965
|
+
# `InstanceType` is not specified in any of those three `ResourceSpec`
|
966
|
+
# values for a `KernelGateway` app, the `CreateApp` call fails with a
|
967
|
+
# request validation error.
|
968
|
+
#
|
969
|
+
# </note>
|
970
|
+
#
|
962
971
|
# @return [Types::CreateAppResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
963
972
|
#
|
964
973
|
# * {Types::CreateAppResponse#app_arn #app_arn} => String
|
@@ -3638,6 +3647,10 @@ module Aws::SageMaker
|
|
3638
3647
|
# initial_active_learning_model_arn: "ModelArn",
|
3639
3648
|
# labeling_job_resource_config: {
|
3640
3649
|
# volume_kms_key_id: "KmsKeyId",
|
3650
|
+
# vpc_config: {
|
3651
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
3652
|
+
# subnets: ["SubnetId"], # required
|
3653
|
+
# },
|
3641
3654
|
# },
|
3642
3655
|
# },
|
3643
3656
|
# human_task_config: { # required
|
@@ -3701,8 +3714,8 @@ module Aws::SageMaker
|
|
3701
3714
|
# that you defined for the model in the hosting environment.
|
3702
3715
|
#
|
3703
3716
|
# For an example that calls this method when deploying a model to
|
3704
|
-
# SageMaker hosting services, see [
|
3705
|
-
#
|
3717
|
+
# SageMaker hosting services, see [Create a Model (Amazon Web Services
|
3718
|
+
# SDK for Python (Boto 3)).][1]
|
3706
3719
|
#
|
3707
3720
|
# To run a batch transform using your model, you start a job with the
|
3708
3721
|
# `CreateTransformJob` API. SageMaker uses your model and your dataset
|
@@ -3717,7 +3730,7 @@ module Aws::SageMaker
|
|
3717
3730
|
#
|
3718
3731
|
#
|
3719
3732
|
#
|
3720
|
-
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/
|
3733
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/realtime-endpoints-deployment.html#realtime-endpoints-deployment-create-model
|
3721
3734
|
#
|
3722
3735
|
# @option params [required, String] :model_name
|
3723
3736
|
# The name of the new model.
|
@@ -6634,6 +6647,9 @@ module Aws::SageMaker
|
|
6634
6647
|
# categorize and organize our workforce. Each tag consists of a key and
|
6635
6648
|
# a value, both of which you define.
|
6636
6649
|
#
|
6650
|
+
# @option params [Types::WorkforceVpcConfigRequest] :workforce_vpc_config
|
6651
|
+
# Use this parameter to configure a workforce using VPC.
|
6652
|
+
#
|
6637
6653
|
# @return [Types::CreateWorkforceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6638
6654
|
#
|
6639
6655
|
# * {Types::CreateWorkforceResponse#workforce_arn #workforce_arn} => String
|
@@ -6665,6 +6681,11 @@ module Aws::SageMaker
|
|
6665
6681
|
# value: "TagValue", # required
|
6666
6682
|
# },
|
6667
6683
|
# ],
|
6684
|
+
# workforce_vpc_config: {
|
6685
|
+
# vpc_id: "WorkforceVpcId",
|
6686
|
+
# security_group_ids: ["WorkforceSecurityGroupId"],
|
6687
|
+
# subnets: ["WorkforceSubnetId"],
|
6688
|
+
# },
|
6668
6689
|
# })
|
6669
6690
|
#
|
6670
6691
|
# @example Response structure
|
@@ -9760,6 +9781,10 @@ module Aws::SageMaker
|
|
9760
9781
|
# resp.labeling_job_algorithms_config.labeling_job_algorithm_specification_arn #=> String
|
9761
9782
|
# resp.labeling_job_algorithms_config.initial_active_learning_model_arn #=> String
|
9762
9783
|
# resp.labeling_job_algorithms_config.labeling_job_resource_config.volume_kms_key_id #=> String
|
9784
|
+
# resp.labeling_job_algorithms_config.labeling_job_resource_config.vpc_config.security_group_ids #=> Array
|
9785
|
+
# resp.labeling_job_algorithms_config.labeling_job_resource_config.vpc_config.security_group_ids[0] #=> String
|
9786
|
+
# resp.labeling_job_algorithms_config.labeling_job_resource_config.vpc_config.subnets #=> Array
|
9787
|
+
# resp.labeling_job_algorithms_config.labeling_job_resource_config.vpc_config.subnets[0] #=> String
|
9763
9788
|
# resp.human_task_config.workteam_arn #=> String
|
9764
9789
|
# resp.human_task_config.ui_config.ui_template_s3_uri #=> String
|
9765
9790
|
# resp.human_task_config.ui_config.human_task_ui_arn #=> String
|
@@ -11565,6 +11590,14 @@ module Aws::SageMaker
|
|
11565
11590
|
# resp.workforce.oidc_config.logout_endpoint #=> String
|
11566
11591
|
# resp.workforce.oidc_config.jwks_uri #=> String
|
11567
11592
|
# resp.workforce.create_date #=> Time
|
11593
|
+
# resp.workforce.workforce_vpc_config.vpc_id #=> String
|
11594
|
+
# resp.workforce.workforce_vpc_config.security_group_ids #=> Array
|
11595
|
+
# resp.workforce.workforce_vpc_config.security_group_ids[0] #=> String
|
11596
|
+
# resp.workforce.workforce_vpc_config.subnets #=> Array
|
11597
|
+
# resp.workforce.workforce_vpc_config.subnets[0] #=> String
|
11598
|
+
# resp.workforce.workforce_vpc_config.vpc_endpoint_id #=> String
|
11599
|
+
# resp.workforce.status #=> String, one of "Initializing", "Updating", "Deleting", "Failed", "Active"
|
11600
|
+
# resp.workforce.failure_reason #=> String
|
11568
11601
|
#
|
11569
11602
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeWorkforce AWS API Documentation
|
11570
11603
|
#
|
@@ -16092,6 +16125,14 @@ module Aws::SageMaker
|
|
16092
16125
|
# resp.workforces[0].oidc_config.logout_endpoint #=> String
|
16093
16126
|
# resp.workforces[0].oidc_config.jwks_uri #=> String
|
16094
16127
|
# resp.workforces[0].create_date #=> Time
|
16128
|
+
# resp.workforces[0].workforce_vpc_config.vpc_id #=> String
|
16129
|
+
# resp.workforces[0].workforce_vpc_config.security_group_ids #=> Array
|
16130
|
+
# resp.workforces[0].workforce_vpc_config.security_group_ids[0] #=> String
|
16131
|
+
# resp.workforces[0].workforce_vpc_config.subnets #=> Array
|
16132
|
+
# resp.workforces[0].workforce_vpc_config.subnets[0] #=> String
|
16133
|
+
# resp.workforces[0].workforce_vpc_config.vpc_endpoint_id #=> String
|
16134
|
+
# resp.workforces[0].status #=> String, one of "Initializing", "Updating", "Deleting", "Failed", "Active"
|
16135
|
+
# resp.workforces[0].failure_reason #=> String
|
16095
16136
|
# resp.next_token #=> String
|
16096
16137
|
#
|
16097
16138
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListWorkforces AWS API Documentation
|
@@ -19357,6 +19398,8 @@ module Aws::SageMaker
|
|
19357
19398
|
# tasks and to update your OpenID Connect (OIDC) Identity Provider (IdP)
|
19358
19399
|
# workforce configuration.
|
19359
19400
|
#
|
19401
|
+
# The worker portal is now supported in VPC and public internet.
|
19402
|
+
#
|
19360
19403
|
# Use `SourceIpConfig` to restrict worker access to tasks to a specific
|
19361
19404
|
# range of IP addresses. You specify allowed IP addresses by creating a
|
19362
19405
|
# list of up to ten [CIDRs][1]. By default, a workforce isn't
|
@@ -19365,6 +19408,12 @@ module Aws::SageMaker
|
|
19365
19408
|
# outside the specified range are denied and get a `Not Found` error
|
19366
19409
|
# message on the worker portal.
|
19367
19410
|
#
|
19411
|
+
# To restrict access to all the workers in public internet, add the
|
19412
|
+
# `SourceIpConfig` CIDR value as "0.0.0.0/0".
|
19413
|
+
#
|
19414
|
+
# Amazon SageMaker does not support Source Ip restriction for worker
|
19415
|
+
# portals in VPC.
|
19416
|
+
#
|
19368
19417
|
# Use `OidcConfig` to update the configuration of a workforce created
|
19369
19418
|
# using your own OIDC IdP.
|
19370
19419
|
#
|
@@ -19400,6 +19449,9 @@ module Aws::SageMaker
|
|
19400
19449
|
# Use this parameter to update your OIDC Identity Provider (IdP)
|
19401
19450
|
# configuration for a workforce made using your own IdP.
|
19402
19451
|
#
|
19452
|
+
# @option params [Types::WorkforceVpcConfigRequest] :workforce_vpc_config
|
19453
|
+
# Use this parameter to update your VPC configuration for a workforce.
|
19454
|
+
#
|
19403
19455
|
# @return [Types::UpdateWorkforceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
19404
19456
|
#
|
19405
19457
|
# * {Types::UpdateWorkforceResponse#workforce #workforce} => Types::Workforce
|
@@ -19421,6 +19473,11 @@ module Aws::SageMaker
|
|
19421
19473
|
# logout_endpoint: "OidcEndpoint", # required
|
19422
19474
|
# jwks_uri: "OidcEndpoint", # required
|
19423
19475
|
# },
|
19476
|
+
# workforce_vpc_config: {
|
19477
|
+
# vpc_id: "WorkforceVpcId",
|
19478
|
+
# security_group_ids: ["WorkforceSecurityGroupId"],
|
19479
|
+
# subnets: ["WorkforceSubnetId"],
|
19480
|
+
# },
|
19424
19481
|
# })
|
19425
19482
|
#
|
19426
19483
|
# @example Response structure
|
@@ -19441,6 +19498,14 @@ module Aws::SageMaker
|
|
19441
19498
|
# resp.workforce.oidc_config.logout_endpoint #=> String
|
19442
19499
|
# resp.workforce.oidc_config.jwks_uri #=> String
|
19443
19500
|
# resp.workforce.create_date #=> Time
|
19501
|
+
# resp.workforce.workforce_vpc_config.vpc_id #=> String
|
19502
|
+
# resp.workforce.workforce_vpc_config.security_group_ids #=> Array
|
19503
|
+
# resp.workforce.workforce_vpc_config.security_group_ids[0] #=> String
|
19504
|
+
# resp.workforce.workforce_vpc_config.subnets #=> Array
|
19505
|
+
# resp.workforce.workforce_vpc_config.subnets[0] #=> String
|
19506
|
+
# resp.workforce.workforce_vpc_config.vpc_endpoint_id #=> String
|
19507
|
+
# resp.workforce.status #=> String, one of "Initializing", "Updating", "Deleting", "Failed", "Active"
|
19508
|
+
# resp.workforce.failure_reason #=> String
|
19444
19509
|
#
|
19445
19510
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateWorkforce AWS API Documentation
|
19446
19511
|
#
|
@@ -19562,7 +19627,7 @@ module Aws::SageMaker
|
|
19562
19627
|
params: params,
|
19563
19628
|
config: config)
|
19564
19629
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
19565
|
-
context[:gem_version] = '1.
|
19630
|
+
context[:gem_version] = '1.128.0'
|
19566
19631
|
Seahorse::Client::Request.new(handlers, context)
|
19567
19632
|
end
|
19568
19633
|
|
@@ -1619,7 +1619,17 @@ module Aws::SageMaker
|
|
1619
1619
|
WaitIntervalInSeconds = Shapes::IntegerShape.new(name: 'WaitIntervalInSeconds')
|
1620
1620
|
Workforce = Shapes::StructureShape.new(name: 'Workforce')
|
1621
1621
|
WorkforceArn = Shapes::StringShape.new(name: 'WorkforceArn')
|
1622
|
+
WorkforceFailureReason = Shapes::StringShape.new(name: 'WorkforceFailureReason')
|
1622
1623
|
WorkforceName = Shapes::StringShape.new(name: 'WorkforceName')
|
1624
|
+
WorkforceSecurityGroupId = Shapes::StringShape.new(name: 'WorkforceSecurityGroupId')
|
1625
|
+
WorkforceSecurityGroupIds = Shapes::ListShape.new(name: 'WorkforceSecurityGroupIds')
|
1626
|
+
WorkforceStatus = Shapes::StringShape.new(name: 'WorkforceStatus')
|
1627
|
+
WorkforceSubnetId = Shapes::StringShape.new(name: 'WorkforceSubnetId')
|
1628
|
+
WorkforceSubnets = Shapes::ListShape.new(name: 'WorkforceSubnets')
|
1629
|
+
WorkforceVpcConfigRequest = Shapes::StructureShape.new(name: 'WorkforceVpcConfigRequest')
|
1630
|
+
WorkforceVpcConfigResponse = Shapes::StructureShape.new(name: 'WorkforceVpcConfigResponse')
|
1631
|
+
WorkforceVpcEndpointId = Shapes::StringShape.new(name: 'WorkforceVpcEndpointId')
|
1632
|
+
WorkforceVpcId = Shapes::StringShape.new(name: 'WorkforceVpcId')
|
1623
1633
|
Workforces = Shapes::ListShape.new(name: 'Workforces')
|
1624
1634
|
Workteam = Shapes::StructureShape.new(name: 'Workteam')
|
1625
1635
|
WorkteamArn = Shapes::StringShape.new(name: 'WorkteamArn')
|
@@ -2677,6 +2687,7 @@ module Aws::SageMaker
|
|
2677
2687
|
CreateWorkforceRequest.add_member(:source_ip_config, Shapes::ShapeRef.new(shape: SourceIpConfig, location_name: "SourceIpConfig"))
|
2678
2688
|
CreateWorkforceRequest.add_member(:workforce_name, Shapes::ShapeRef.new(shape: WorkforceName, required: true, location_name: "WorkforceName"))
|
2679
2689
|
CreateWorkforceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
2690
|
+
CreateWorkforceRequest.add_member(:workforce_vpc_config, Shapes::ShapeRef.new(shape: WorkforceVpcConfigRequest, location_name: "WorkforceVpcConfig"))
|
2680
2691
|
CreateWorkforceRequest.struct_class = Types::CreateWorkforceRequest
|
2681
2692
|
|
2682
2693
|
CreateWorkforceResponse.add_member(:workforce_arn, Shapes::ShapeRef.new(shape: WorkforceArn, required: true, location_name: "WorkforceArn"))
|
@@ -4473,6 +4484,7 @@ module Aws::SageMaker
|
|
4473
4484
|
LabelingJobOutputConfig.struct_class = Types::LabelingJobOutputConfig
|
4474
4485
|
|
4475
4486
|
LabelingJobResourceConfig.add_member(:volume_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "VolumeKmsKeyId"))
|
4487
|
+
LabelingJobResourceConfig.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
4476
4488
|
LabelingJobResourceConfig.struct_class = Types::LabelingJobResourceConfig
|
4477
4489
|
|
4478
4490
|
LabelingJobS3DataSource.add_member(:manifest_s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "ManifestS3Uri"))
|
@@ -7078,6 +7090,7 @@ module Aws::SageMaker
|
|
7078
7090
|
UpdateWorkforceRequest.add_member(:workforce_name, Shapes::ShapeRef.new(shape: WorkforceName, required: true, location_name: "WorkforceName"))
|
7079
7091
|
UpdateWorkforceRequest.add_member(:source_ip_config, Shapes::ShapeRef.new(shape: SourceIpConfig, location_name: "SourceIpConfig"))
|
7080
7092
|
UpdateWorkforceRequest.add_member(:oidc_config, Shapes::ShapeRef.new(shape: OidcConfig, location_name: "OidcConfig"))
|
7093
|
+
UpdateWorkforceRequest.add_member(:workforce_vpc_config, Shapes::ShapeRef.new(shape: WorkforceVpcConfigRequest, location_name: "WorkforceVpcConfig"))
|
7081
7094
|
UpdateWorkforceRequest.struct_class = Types::UpdateWorkforceRequest
|
7082
7095
|
|
7083
7096
|
UpdateWorkforceResponse.add_member(:workforce, Shapes::ShapeRef.new(shape: Workforce, required: true, location_name: "Workforce"))
|
@@ -7142,8 +7155,26 @@ module Aws::SageMaker
|
|
7142
7155
|
Workforce.add_member(:cognito_config, Shapes::ShapeRef.new(shape: CognitoConfig, location_name: "CognitoConfig"))
|
7143
7156
|
Workforce.add_member(:oidc_config, Shapes::ShapeRef.new(shape: OidcConfigForResponse, location_name: "OidcConfig"))
|
7144
7157
|
Workforce.add_member(:create_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreateDate"))
|
7158
|
+
Workforce.add_member(:workforce_vpc_config, Shapes::ShapeRef.new(shape: WorkforceVpcConfigResponse, location_name: "WorkforceVpcConfig"))
|
7159
|
+
Workforce.add_member(:status, Shapes::ShapeRef.new(shape: WorkforceStatus, location_name: "Status"))
|
7160
|
+
Workforce.add_member(:failure_reason, Shapes::ShapeRef.new(shape: WorkforceFailureReason, location_name: "FailureReason"))
|
7145
7161
|
Workforce.struct_class = Types::Workforce
|
7146
7162
|
|
7163
|
+
WorkforceSecurityGroupIds.member = Shapes::ShapeRef.new(shape: WorkforceSecurityGroupId)
|
7164
|
+
|
7165
|
+
WorkforceSubnets.member = Shapes::ShapeRef.new(shape: WorkforceSubnetId)
|
7166
|
+
|
7167
|
+
WorkforceVpcConfigRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: WorkforceVpcId, location_name: "VpcId"))
|
7168
|
+
WorkforceVpcConfigRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: WorkforceSecurityGroupIds, location_name: "SecurityGroupIds"))
|
7169
|
+
WorkforceVpcConfigRequest.add_member(:subnets, Shapes::ShapeRef.new(shape: WorkforceSubnets, location_name: "Subnets"))
|
7170
|
+
WorkforceVpcConfigRequest.struct_class = Types::WorkforceVpcConfigRequest
|
7171
|
+
|
7172
|
+
WorkforceVpcConfigResponse.add_member(:vpc_id, Shapes::ShapeRef.new(shape: WorkforceVpcId, required: true, location_name: "VpcId"))
|
7173
|
+
WorkforceVpcConfigResponse.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: WorkforceSecurityGroupIds, required: true, location_name: "SecurityGroupIds"))
|
7174
|
+
WorkforceVpcConfigResponse.add_member(:subnets, Shapes::ShapeRef.new(shape: WorkforceSubnets, required: true, location_name: "Subnets"))
|
7175
|
+
WorkforceVpcConfigResponse.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: WorkforceVpcEndpointId, location_name: "VpcEndpointId"))
|
7176
|
+
WorkforceVpcConfigResponse.struct_class = Types::WorkforceVpcConfigResponse
|
7177
|
+
|
7147
7178
|
Workforces.member = Shapes::ShapeRef.new(shape: Workforce)
|
7148
7179
|
|
7149
7180
|
Workteam.add_member(:workteam_name, Shapes::ShapeRef.new(shape: WorkteamName, required: true, location_name: "WorkteamName"))
|
@@ -9750,6 +9781,7 @@ module Aws::SageMaker
|
|
9750
9781
|
o.http_request_uri = "/"
|
9751
9782
|
o.input = Shapes::ShapeRef.new(shape: UpdateWorkforceRequest)
|
9752
9783
|
o.output = Shapes::ShapeRef.new(shape: UpdateWorkforceResponse)
|
9784
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
9753
9785
|
end)
|
9754
9786
|
|
9755
9787
|
api.add_operation(:update_workteam, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2198,10 +2198,6 @@ module Aws::SageMaker
|
|
2198
2198
|
#
|
2199
2199
|
# @!attribute [rw] s3_data_source
|
2200
2200
|
# The Amazon S3 location of the input data.
|
2201
|
-
#
|
2202
|
-
# <note markdown="1"> The input data must be in CSV format and contain at least 500 rows.
|
2203
|
-
#
|
2204
|
-
# </note>
|
2205
2201
|
# @return [Types::AutoMLS3DataSource]
|
2206
2202
|
#
|
2207
2203
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AutoMLDataSource AWS API Documentation
|
@@ -2212,9 +2208,10 @@ module Aws::SageMaker
|
|
2212
2208
|
include Aws::Structure
|
2213
2209
|
end
|
2214
2210
|
|
2215
|
-
# This structure specifies how to split the data into train and
|
2216
|
-
# datasets. The validation and training datasets must contain
|
2217
|
-
# headers. The validation dataset must be less than 2 GB in
|
2211
|
+
# This structure specifies how to split the data into train and
|
2212
|
+
# validation datasets. The validation and training datasets must contain
|
2213
|
+
# the same headers. The validation dataset must be less than 2 GB in
|
2214
|
+
# size.
|
2218
2215
|
#
|
2219
2216
|
# @note When making an API call, you may pass AutoMLDataSplitConfig
|
2220
2217
|
# data as a hash:
|
@@ -2563,6 +2560,22 @@ module Aws::SageMaker
|
|
2563
2560
|
#
|
2564
2561
|
# @!attribute [rw] s3_data_type
|
2565
2562
|
# The data type.
|
2563
|
+
#
|
2564
|
+
# A ManifestFile should have the format shown below:
|
2565
|
+
#
|
2566
|
+
# `[ \{"prefix":
|
2567
|
+
# "s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER/DOC-EXAMPLE-PREFIX/"\},
|
2568
|
+
# `
|
2569
|
+
#
|
2570
|
+
# `"DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-1",`
|
2571
|
+
#
|
2572
|
+
# `"DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-2",`
|
2573
|
+
#
|
2574
|
+
# `... "DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-N" ]`
|
2575
|
+
#
|
2576
|
+
# An S3Prefix should have the following format:
|
2577
|
+
#
|
2578
|
+
# `s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER-OR-FILE`
|
2566
2579
|
# @return [String]
|
2567
2580
|
#
|
2568
2581
|
# @!attribute [rw] s3_uri
|
@@ -4382,6 +4395,15 @@ module Aws::SageMaker
|
|
4382
4395
|
# @!attribute [rw] resource_spec
|
4383
4396
|
# The instance type and the Amazon Resource Name (ARN) of the
|
4384
4397
|
# SageMaker image created on the instance.
|
4398
|
+
#
|
4399
|
+
# <note markdown="1"> The value of `InstanceType` passed as part of the `ResourceSpec` in
|
4400
|
+
# the `CreateApp` call overrides the value passed as part of the
|
4401
|
+
# `ResourceSpec` configured for the user profile or the domain. If
|
4402
|
+
# `InstanceType` is not specified in any of those three `ResourceSpec`
|
4403
|
+
# values for a `KernelGateway` app, the `CreateApp` call fails with a
|
4404
|
+
# request validation error.
|
4405
|
+
#
|
4406
|
+
# </note>
|
4385
4407
|
# @return [Types::ResourceSpec]
|
4386
4408
|
#
|
4387
4409
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAppRequest AWS API Documentation
|
@@ -6731,6 +6753,10 @@ module Aws::SageMaker
|
|
6731
6753
|
# initial_active_learning_model_arn: "ModelArn",
|
6732
6754
|
# labeling_job_resource_config: {
|
6733
6755
|
# volume_kms_key_id: "KmsKeyId",
|
6756
|
+
# vpc_config: {
|
6757
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
6758
|
+
# subnets: ["SubnetId"], # required
|
6759
|
+
# },
|
6734
6760
|
# },
|
6735
6761
|
# },
|
6736
6762
|
# human_task_config: { # required
|
@@ -9965,6 +9991,11 @@ module Aws::SageMaker
|
|
9965
9991
|
# value: "TagValue", # required
|
9966
9992
|
# },
|
9967
9993
|
# ],
|
9994
|
+
# workforce_vpc_config: {
|
9995
|
+
# vpc_id: "WorkforceVpcId",
|
9996
|
+
# security_group_ids: ["WorkforceSecurityGroupId"],
|
9997
|
+
# subnets: ["WorkforceSubnetId"],
|
9998
|
+
# },
|
9968
9999
|
# }
|
9969
10000
|
#
|
9970
10001
|
# @!attribute [rw] cognito_config
|
@@ -10008,6 +10039,10 @@ module Aws::SageMaker
|
|
10008
10039
|
# and a value, both of which you define.
|
10009
10040
|
# @return [Array<Types::Tag>]
|
10010
10041
|
#
|
10042
|
+
# @!attribute [rw] workforce_vpc_config
|
10043
|
+
# Use this parameter to configure a workforce using VPC.
|
10044
|
+
# @return [Types::WorkforceVpcConfigRequest]
|
10045
|
+
#
|
10011
10046
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateWorkforceRequest AWS API Documentation
|
10012
10047
|
#
|
10013
10048
|
class CreateWorkforceRequest < Struct.new(
|
@@ -10015,7 +10050,8 @@ module Aws::SageMaker
|
|
10015
10050
|
:oidc_config,
|
10016
10051
|
:source_ip_config,
|
10017
10052
|
:workforce_name,
|
10018
|
-
:tags
|
10053
|
+
:tags,
|
10054
|
+
:workforce_vpc_config)
|
10019
10055
|
SENSITIVE = []
|
10020
10056
|
include Aws::Structure
|
10021
10057
|
end
|
@@ -22002,6 +22038,10 @@ module Aws::SageMaker
|
|
22002
22038
|
# initial_active_learning_model_arn: "ModelArn",
|
22003
22039
|
# labeling_job_resource_config: {
|
22004
22040
|
# volume_kms_key_id: "KmsKeyId",
|
22041
|
+
# vpc_config: {
|
22042
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
22043
|
+
# subnets: ["SubnetId"], # required
|
22044
|
+
# },
|
22005
22045
|
# },
|
22006
22046
|
# }
|
22007
22047
|
#
|
@@ -22293,6 +22333,10 @@ module Aws::SageMaker
|
|
22293
22333
|
#
|
22294
22334
|
# {
|
22295
22335
|
# volume_kms_key_id: "KmsKeyId",
|
22336
|
+
# vpc_config: {
|
22337
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
22338
|
+
# subnets: ["SubnetId"], # required
|
22339
|
+
# },
|
22296
22340
|
# }
|
22297
22341
|
#
|
22298
22342
|
# @!attribute [rw] volume_kms_key_id
|
@@ -22324,10 +22368,24 @@ module Aws::SageMaker
|
|
22324
22368
|
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/sms-security.html
|
22325
22369
|
# @return [String]
|
22326
22370
|
#
|
22371
|
+
# @!attribute [rw] vpc_config
|
22372
|
+
# Specifies a VPC that your training jobs and hosted models have
|
22373
|
+
# access to. Control access to and from your training and model
|
22374
|
+
# containers by configuring the VPC. For more information, see
|
22375
|
+
# [Protect Endpoints by Using an Amazon Virtual Private Cloud][1] and
|
22376
|
+
# [Protect Training Jobs by Using an Amazon Virtual Private Cloud][2].
|
22377
|
+
#
|
22378
|
+
#
|
22379
|
+
#
|
22380
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html
|
22381
|
+
# [2]: https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html
|
22382
|
+
# @return [Types::VpcConfig]
|
22383
|
+
#
|
22327
22384
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/LabelingJobResourceConfig AWS API Documentation
|
22328
22385
|
#
|
22329
22386
|
class LabelingJobResourceConfig < Struct.new(
|
22330
|
-
:volume_kms_key_id
|
22387
|
+
:volume_kms_key_id,
|
22388
|
+
:vpc_config)
|
22331
22389
|
SENSITIVE = []
|
22332
22390
|
include Aws::Structure
|
22333
22391
|
end
|
@@ -27688,7 +27746,7 @@ module Aws::SageMaker
|
|
27688
27746
|
#
|
27689
27747
|
#
|
27690
27748
|
#
|
27691
|
-
# [1]: https://docs.aws.amazon.com/sagemaker/latest/json-bias-
|
27749
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/clarify-config-json-monitor-bias-parameters.html
|
27692
27750
|
# @return [String]
|
27693
27751
|
#
|
27694
27752
|
# @!attribute [rw] environment
|
@@ -27961,7 +28019,7 @@ module Aws::SageMaker
|
|
27961
28019
|
#
|
27962
28020
|
#
|
27963
28021
|
#
|
27964
|
-
# [1]: https://docs.aws.amazon.com/sagemaker/latest/json-model-explainability-
|
28022
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/clarify-config-json-monitor-model-explainability-parameters.html
|
27965
28023
|
# @return [String]
|
27966
28024
|
#
|
27967
28025
|
# @!attribute [rw] environment
|
@@ -34668,9 +34726,11 @@ module Aws::SageMaker
|
|
34668
34726
|
# @!attribute [rw] instance_type
|
34669
34727
|
# The instance type that the image version runs on.
|
34670
34728
|
#
|
34671
|
-
# <note markdown="1"> JupyterServer
|
34672
|
-
#
|
34673
|
-
#
|
34729
|
+
# <note markdown="1"> **JupyterServer apps** only support the `system` value.
|
34730
|
+
#
|
34731
|
+
# For **KernelGateway apps**, the `system` value is translated to
|
34732
|
+
# `ml.t3.medium`. KernelGateway apps also support all other values for
|
34733
|
+
# available instance types.
|
34674
34734
|
#
|
34675
34735
|
# </note>
|
34676
34736
|
# @return [String]
|
@@ -40442,6 +40502,11 @@ module Aws::SageMaker
|
|
40442
40502
|
# logout_endpoint: "OidcEndpoint", # required
|
40443
40503
|
# jwks_uri: "OidcEndpoint", # required
|
40444
40504
|
# },
|
40505
|
+
# workforce_vpc_config: {
|
40506
|
+
# vpc_id: "WorkforceVpcId",
|
40507
|
+
# security_group_ids: ["WorkforceSecurityGroupId"],
|
40508
|
+
# subnets: ["WorkforceSubnetId"],
|
40509
|
+
# },
|
40445
40510
|
# }
|
40446
40511
|
#
|
40447
40512
|
# @!attribute [rw] workforce_name
|
@@ -40465,12 +40530,17 @@ module Aws::SageMaker
|
|
40465
40530
|
# configuration for a workforce made using your own IdP.
|
40466
40531
|
# @return [Types::OidcConfig]
|
40467
40532
|
#
|
40533
|
+
# @!attribute [rw] workforce_vpc_config
|
40534
|
+
# Use this parameter to update your VPC configuration for a workforce.
|
40535
|
+
# @return [Types::WorkforceVpcConfigRequest]
|
40536
|
+
#
|
40468
40537
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateWorkforceRequest AWS API Documentation
|
40469
40538
|
#
|
40470
40539
|
class UpdateWorkforceRequest < Struct.new(
|
40471
40540
|
:workforce_name,
|
40472
40541
|
:source_ip_config,
|
40473
|
-
:oidc_config
|
40542
|
+
:oidc_config,
|
40543
|
+
:workforce_vpc_config)
|
40474
40544
|
SENSITIVE = []
|
40475
40545
|
include Aws::Structure
|
40476
40546
|
end
|
@@ -40947,6 +41017,18 @@ module Aws::SageMaker
|
|
40947
41017
|
# The date that the workforce is created.
|
40948
41018
|
# @return [Time]
|
40949
41019
|
#
|
41020
|
+
# @!attribute [rw] workforce_vpc_config
|
41021
|
+
# The configuration of a VPC workforce.
|
41022
|
+
# @return [Types::WorkforceVpcConfigResponse]
|
41023
|
+
#
|
41024
|
+
# @!attribute [rw] status
|
41025
|
+
# The status of your workforce.
|
41026
|
+
# @return [String]
|
41027
|
+
#
|
41028
|
+
# @!attribute [rw] failure_reason
|
41029
|
+
# The reason your workforce failed.
|
41030
|
+
# @return [String]
|
41031
|
+
#
|
40950
41032
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Workforce AWS API Documentation
|
40951
41033
|
#
|
40952
41034
|
class Workforce < Struct.new(
|
@@ -40957,7 +41039,76 @@ module Aws::SageMaker
|
|
40957
41039
|
:sub_domain,
|
40958
41040
|
:cognito_config,
|
40959
41041
|
:oidc_config,
|
40960
|
-
:create_date
|
41042
|
+
:create_date,
|
41043
|
+
:workforce_vpc_config,
|
41044
|
+
:status,
|
41045
|
+
:failure_reason)
|
41046
|
+
SENSITIVE = []
|
41047
|
+
include Aws::Structure
|
41048
|
+
end
|
41049
|
+
|
41050
|
+
# The VPC object you use to create or update a workforce.
|
41051
|
+
#
|
41052
|
+
# @note When making an API call, you may pass WorkforceVpcConfigRequest
|
41053
|
+
# data as a hash:
|
41054
|
+
#
|
41055
|
+
# {
|
41056
|
+
# vpc_id: "WorkforceVpcId",
|
41057
|
+
# security_group_ids: ["WorkforceSecurityGroupId"],
|
41058
|
+
# subnets: ["WorkforceSubnetId"],
|
41059
|
+
# }
|
41060
|
+
#
|
41061
|
+
# @!attribute [rw] vpc_id
|
41062
|
+
# The ID of the VPC that the workforce uses for communication.
|
41063
|
+
# @return [String]
|
41064
|
+
#
|
41065
|
+
# @!attribute [rw] security_group_ids
|
41066
|
+
# The VPC security group IDs, in the form sg-xxxxxxxx. The security
|
41067
|
+
# groups must be for the same VPC as specified in the subnet.
|
41068
|
+
# @return [Array<String>]
|
41069
|
+
#
|
41070
|
+
# @!attribute [rw] subnets
|
41071
|
+
# The ID of the subnets in the VPC that you want to connect.
|
41072
|
+
# @return [Array<String>]
|
41073
|
+
#
|
41074
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/WorkforceVpcConfigRequest AWS API Documentation
|
41075
|
+
#
|
41076
|
+
class WorkforceVpcConfigRequest < Struct.new(
|
41077
|
+
:vpc_id,
|
41078
|
+
:security_group_ids,
|
41079
|
+
:subnets)
|
41080
|
+
SENSITIVE = []
|
41081
|
+
include Aws::Structure
|
41082
|
+
end
|
41083
|
+
|
41084
|
+
# A VpcConfig object that specifies the VPC that you want your workforce
|
41085
|
+
# to connect to.
|
41086
|
+
#
|
41087
|
+
# @!attribute [rw] vpc_id
|
41088
|
+
# The ID of the VPC that the workforce uses for communication.
|
41089
|
+
# @return [String]
|
41090
|
+
#
|
41091
|
+
# @!attribute [rw] security_group_ids
|
41092
|
+
# The VPC security group IDs, in the form sg-xxxxxxxx. The security
|
41093
|
+
# groups must be for the same VPC as specified in the subnet.
|
41094
|
+
# @return [Array<String>]
|
41095
|
+
#
|
41096
|
+
# @!attribute [rw] subnets
|
41097
|
+
# The ID of the subnets in the VPC that you want to connect.
|
41098
|
+
# @return [Array<String>]
|
41099
|
+
#
|
41100
|
+
# @!attribute [rw] vpc_endpoint_id
|
41101
|
+
# The IDs for the VPC service endpoints of your VPC workforce when it
|
41102
|
+
# is created and updated.
|
41103
|
+
# @return [String]
|
41104
|
+
#
|
41105
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/WorkforceVpcConfigResponse AWS API Documentation
|
41106
|
+
#
|
41107
|
+
class WorkforceVpcConfigResponse < Struct.new(
|
41108
|
+
:vpc_id,
|
41109
|
+
:security_group_ids,
|
41110
|
+
:subnets,
|
41111
|
+
:vpc_endpoint_id)
|
40961
41112
|
SENSITIVE = []
|
40962
41113
|
include Aws::Structure
|
40963
41114
|
end
|
data/lib/aws-sdk-sagemaker.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-sagemaker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.128.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|