@aws-sdk/client-sagemaker 3.112.0 → 3.117.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.
Files changed (32) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/commands/DescribeLabelingJobCommand.js +1 -2
  3. package/dist-cjs/commands/ListStudioLifecycleConfigsCommand.js +2 -1
  4. package/dist-cjs/commands/ListSubscribedWorkteamsCommand.js +1 -2
  5. package/dist-cjs/models/models_1.js +10 -10
  6. package/dist-cjs/models/models_2.js +26 -24
  7. package/dist-cjs/models/models_3.js +21 -3
  8. package/dist-cjs/protocols/Aws_json1_1.js +86 -0
  9. package/dist-es/commands/DescribeLabelingJobCommand.js +1 -2
  10. package/dist-es/commands/ListStudioLifecycleConfigsCommand.js +2 -1
  11. package/dist-es/commands/ListSubscribedWorkteamsCommand.js +1 -2
  12. package/dist-es/models/models_1.js +4 -4
  13. package/dist-es/models/models_2.js +16 -12
  14. package/dist-es/models/models_3.js +12 -0
  15. package/dist-es/protocols/Aws_json1_1.js +103 -22
  16. package/dist-types/SageMaker.d.ts +7 -2
  17. package/dist-types/commands/CreateModelCommand.d.ts +1 -2
  18. package/dist-types/commands/DescribeLabelingJobCommand.d.ts +1 -2
  19. package/dist-types/commands/ListStudioLifecycleConfigsCommand.d.ts +2 -1
  20. package/dist-types/commands/ListSubscribedWorkteamsCommand.d.ts +1 -2
  21. package/dist-types/commands/UpdateWorkforceCommand.d.ts +6 -0
  22. package/dist-types/models/models_0.d.ts +28 -5
  23. package/dist-types/models/models_1.d.ts +36 -14
  24. package/dist-types/models/models_2.d.ts +58 -70
  25. package/dist-types/models/models_3.d.ts +75 -1
  26. package/dist-types/ts3.4/commands/DescribeLabelingJobCommand.d.ts +1 -2
  27. package/dist-types/ts3.4/commands/ListStudioLifecycleConfigsCommand.d.ts +2 -1
  28. package/dist-types/ts3.4/commands/ListSubscribedWorkteamsCommand.d.ts +1 -2
  29. package/dist-types/ts3.4/models/models_1.d.ts +17 -8
  30. package/dist-types/ts3.4/models/models_2.d.ts +36 -39
  31. package/dist-types/ts3.4/models/models_3.d.ts +42 -1
  32. package/package.json +1 -1
@@ -15024,29 +15024,34 @@ export var deserializeAws_json1_1UpdateWorkforceCommand = function (output, cont
15024
15024
  });
15025
15025
  }); };
15026
15026
  var deserializeAws_json1_1UpdateWorkforceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
15027
- var parsedOutput, _a, response, errorCode, parsedBody;
15028
- var _b;
15029
- return __generator(this, function (_c) {
15030
- switch (_c.label) {
15027
+ var parsedOutput, _a, response, errorCode, _b, parsedBody;
15028
+ var _c;
15029
+ return __generator(this, function (_d) {
15030
+ switch (_d.label) {
15031
15031
  case 0:
15032
15032
  _a = [__assign({}, output)];
15033
- _b = {};
15033
+ _c = {};
15034
15034
  return [4, parseBody(output.body, context)];
15035
15035
  case 1:
15036
- parsedOutput = __assign.apply(void 0, _a.concat([(_b.body = _c.sent(), _b)]));
15036
+ parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
15037
15037
  errorCode = "UnknownError";
15038
15038
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
15039
- switch (errorCode) {
15040
- default:
15041
- parsedBody = parsedOutput.body;
15042
- response = new __BaseException({
15043
- name: parsedBody.code || parsedBody.Code || errorCode,
15044
- $fault: "client",
15045
- $metadata: deserializeMetadata(output),
15046
- });
15047
- throw __decorateServiceException(response, parsedBody);
15039
+ _b = errorCode;
15040
+ switch (_b) {
15041
+ case "ConflictException": return [3, 2];
15042
+ case "com.amazonaws.sagemaker#ConflictException": return [3, 2];
15048
15043
  }
15049
- return [2];
15044
+ return [3, 4];
15045
+ case 2: return [4, deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context)];
15046
+ case 3: throw _d.sent();
15047
+ case 4:
15048
+ parsedBody = parsedOutput.body;
15049
+ response = new __BaseException({
15050
+ name: parsedBody.code || parsedBody.Code || errorCode,
15051
+ $fault: "client",
15052
+ $metadata: deserializeMetadata(output),
15053
+ });
15054
+ throw __decorateServiceException(response, parsedBody);
15050
15055
  }
15051
15056
  });
15052
15057
  }); };
@@ -16264,14 +16269,17 @@ var serializeAws_json1_1CreateUserProfileRequest = function (input, context) {
16264
16269
  input.UserSettings !== null && { UserSettings: serializeAws_json1_1UserSettings(input.UserSettings, context) }));
16265
16270
  };
16266
16271
  var serializeAws_json1_1CreateWorkforceRequest = function (input, context) {
16267
- return __assign(__assign(__assign(__assign(__assign({}, (input.CognitoConfig !== undefined &&
16272
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CognitoConfig !== undefined &&
16268
16273
  input.CognitoConfig !== null && {
16269
16274
  CognitoConfig: serializeAws_json1_1CognitoConfig(input.CognitoConfig, context),
16270
16275
  })), (input.OidcConfig !== undefined &&
16271
16276
  input.OidcConfig !== null && { OidcConfig: serializeAws_json1_1OidcConfig(input.OidcConfig, context) })), (input.SourceIpConfig !== undefined &&
16272
16277
  input.SourceIpConfig !== null && {
16273
16278
  SourceIpConfig: serializeAws_json1_1SourceIpConfig(input.SourceIpConfig, context),
16274
- })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.WorkforceName !== undefined && input.WorkforceName !== null && { WorkforceName: input.WorkforceName }));
16279
+ })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.WorkforceName !== undefined && input.WorkforceName !== null && { WorkforceName: input.WorkforceName })), (input.WorkforceVpcConfig !== undefined &&
16280
+ input.WorkforceVpcConfig !== null && {
16281
+ WorkforceVpcConfig: serializeAws_json1_1WorkforceVpcConfigRequest(input.WorkforceVpcConfig, context),
16282
+ }));
16275
16283
  };
16276
16284
  var serializeAws_json1_1CreateWorkteamRequest = function (input, context) {
16277
16285
  return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.MemberDefinitions !== undefined &&
@@ -17374,8 +17382,9 @@ var serializeAws_json1_1LabelingJobOutputConfig = function (input, context) {
17374
17382
  return __assign(__assign(__assign({}, (input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId })), (input.S3OutputPath !== undefined && input.S3OutputPath !== null && { S3OutputPath: input.S3OutputPath })), (input.SnsTopicArn !== undefined && input.SnsTopicArn !== null && { SnsTopicArn: input.SnsTopicArn }));
17375
17383
  };
17376
17384
  var serializeAws_json1_1LabelingJobResourceConfig = function (input, context) {
17377
- return __assign({}, (input.VolumeKmsKeyId !== undefined &&
17378
- input.VolumeKmsKeyId !== null && { VolumeKmsKeyId: input.VolumeKmsKeyId }));
17385
+ return __assign(__assign({}, (input.VolumeKmsKeyId !== undefined &&
17386
+ input.VolumeKmsKeyId !== null && { VolumeKmsKeyId: input.VolumeKmsKeyId })), (input.VpcConfig !== undefined &&
17387
+ input.VpcConfig !== null && { VpcConfig: serializeAws_json1_1VpcConfig(input.VpcConfig, context) }));
17379
17388
  };
17380
17389
  var serializeAws_json1_1LabelingJobS3DataSource = function (input, context) {
17381
17390
  return __assign({}, (input.ManifestS3Uri !== undefined && input.ManifestS3Uri !== null && { ManifestS3Uri: input.ManifestS3Uri }));
@@ -19548,11 +19557,14 @@ var serializeAws_json1_1UpdateUserProfileRequest = function (input, context) {
19548
19557
  input.UserSettings !== null && { UserSettings: serializeAws_json1_1UserSettings(input.UserSettings, context) }));
19549
19558
  };
19550
19559
  var serializeAws_json1_1UpdateWorkforceRequest = function (input, context) {
19551
- return __assign(__assign(__assign({}, (input.OidcConfig !== undefined &&
19560
+ return __assign(__assign(__assign(__assign({}, (input.OidcConfig !== undefined &&
19552
19561
  input.OidcConfig !== null && { OidcConfig: serializeAws_json1_1OidcConfig(input.OidcConfig, context) })), (input.SourceIpConfig !== undefined &&
19553
19562
  input.SourceIpConfig !== null && {
19554
19563
  SourceIpConfig: serializeAws_json1_1SourceIpConfig(input.SourceIpConfig, context),
19555
- })), (input.WorkforceName !== undefined && input.WorkforceName !== null && { WorkforceName: input.WorkforceName }));
19564
+ })), (input.WorkforceName !== undefined && input.WorkforceName !== null && { WorkforceName: input.WorkforceName })), (input.WorkforceVpcConfig !== undefined &&
19565
+ input.WorkforceVpcConfig !== null && {
19566
+ WorkforceVpcConfig: serializeAws_json1_1WorkforceVpcConfigRequest(input.WorkforceVpcConfig, context),
19567
+ }));
19556
19568
  };
19557
19569
  var serializeAws_json1_1UpdateWorkteamRequest = function (input, context) {
19558
19570
  return __assign(__assign(__assign(__assign({}, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.MemberDefinitions !== undefined &&
@@ -19622,6 +19634,33 @@ var serializeAws_json1_1VpcSecurityGroupIds = function (input, context) {
19622
19634
  return entry;
19623
19635
  });
19624
19636
  };
19637
+ var serializeAws_json1_1WorkforceSecurityGroupIds = function (input, context) {
19638
+ return input
19639
+ .filter(function (e) { return e != null; })
19640
+ .map(function (entry) {
19641
+ if (entry === null) {
19642
+ return null;
19643
+ }
19644
+ return entry;
19645
+ });
19646
+ };
19647
+ var serializeAws_json1_1WorkforceSubnets = function (input, context) {
19648
+ return input
19649
+ .filter(function (e) { return e != null; })
19650
+ .map(function (entry) {
19651
+ if (entry === null) {
19652
+ return null;
19653
+ }
19654
+ return entry;
19655
+ });
19656
+ };
19657
+ var serializeAws_json1_1WorkforceVpcConfigRequest = function (input, context) {
19658
+ return __assign(__assign(__assign({}, (input.SecurityGroupIds !== undefined &&
19659
+ input.SecurityGroupIds !== null && {
19660
+ SecurityGroupIds: serializeAws_json1_1WorkforceSecurityGroupIds(input.SecurityGroupIds, context),
19661
+ })), (input.Subnets !== undefined &&
19662
+ input.Subnets !== null && { Subnets: serializeAws_json1_1WorkforceSubnets(input.Subnets, context) })), (input.VpcId !== undefined && input.VpcId !== null && { VpcId: input.VpcId }));
19663
+ };
19625
19664
  var deserializeAws_json1_1ActionSource = function (output, context) {
19626
19665
  return {
19627
19666
  SourceId: __expectString(output.SourceId),
@@ -24061,6 +24100,9 @@ var deserializeAws_json1_1LabelingJobOutputConfig = function (output, context) {
24061
24100
  var deserializeAws_json1_1LabelingJobResourceConfig = function (output, context) {
24062
24101
  return {
24063
24102
  VolumeKmsKeyId: __expectString(output.VolumeKmsKeyId),
24103
+ VpcConfig: output.VpcConfig !== undefined && output.VpcConfig !== null
24104
+ ? deserializeAws_json1_1VpcConfig(output.VpcConfig, context)
24105
+ : undefined,
24064
24106
  };
24065
24107
  };
24066
24108
  var deserializeAws_json1_1LabelingJobS3DataSource = function (output, context) {
@@ -27892,6 +27934,7 @@ var deserializeAws_json1_1Workforce = function (output, context) {
27892
27934
  CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
27893
27935
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateDate)))
27894
27936
  : undefined,
27937
+ FailureReason: __expectString(output.FailureReason),
27895
27938
  LastUpdatedDate: output.LastUpdatedDate !== undefined && output.LastUpdatedDate !== null
27896
27939
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedDate)))
27897
27940
  : undefined,
@@ -27901,9 +27944,13 @@ var deserializeAws_json1_1Workforce = function (output, context) {
27901
27944
  SourceIpConfig: output.SourceIpConfig !== undefined && output.SourceIpConfig !== null
27902
27945
  ? deserializeAws_json1_1SourceIpConfig(output.SourceIpConfig, context)
27903
27946
  : undefined,
27947
+ Status: __expectString(output.Status),
27904
27948
  SubDomain: __expectString(output.SubDomain),
27905
27949
  WorkforceArn: __expectString(output.WorkforceArn),
27906
27950
  WorkforceName: __expectString(output.WorkforceName),
27951
+ WorkforceVpcConfig: output.WorkforceVpcConfig !== undefined && output.WorkforceVpcConfig !== null
27952
+ ? deserializeAws_json1_1WorkforceVpcConfigResponse(output.WorkforceVpcConfig, context)
27953
+ : undefined,
27907
27954
  };
27908
27955
  };
27909
27956
  var deserializeAws_json1_1Workforces = function (output, context) {
@@ -27917,6 +27964,40 @@ var deserializeAws_json1_1Workforces = function (output, context) {
27917
27964
  });
27918
27965
  return retVal;
27919
27966
  };
27967
+ var deserializeAws_json1_1WorkforceSecurityGroupIds = function (output, context) {
27968
+ var retVal = (output || [])
27969
+ .filter(function (e) { return e != null; })
27970
+ .map(function (entry) {
27971
+ if (entry === null) {
27972
+ return null;
27973
+ }
27974
+ return __expectString(entry);
27975
+ });
27976
+ return retVal;
27977
+ };
27978
+ var deserializeAws_json1_1WorkforceSubnets = function (output, context) {
27979
+ var retVal = (output || [])
27980
+ .filter(function (e) { return e != null; })
27981
+ .map(function (entry) {
27982
+ if (entry === null) {
27983
+ return null;
27984
+ }
27985
+ return __expectString(entry);
27986
+ });
27987
+ return retVal;
27988
+ };
27989
+ var deserializeAws_json1_1WorkforceVpcConfigResponse = function (output, context) {
27990
+ return {
27991
+ SecurityGroupIds: output.SecurityGroupIds !== undefined && output.SecurityGroupIds !== null
27992
+ ? deserializeAws_json1_1WorkforceSecurityGroupIds(output.SecurityGroupIds, context)
27993
+ : undefined,
27994
+ Subnets: output.Subnets !== undefined && output.Subnets !== null
27995
+ ? deserializeAws_json1_1WorkforceSubnets(output.Subnets, context)
27996
+ : undefined,
27997
+ VpcEndpointId: __expectString(output.VpcEndpointId),
27998
+ VpcId: __expectString(output.VpcId),
27999
+ };
28000
+ };
27920
28001
  var deserializeAws_json1_1Workteam = function (output, context) {
27921
28002
  return {
27922
28003
  CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
@@ -762,8 +762,7 @@ export declare class SageMaker extends SageMakerClient {
762
762
  * <code>CreateEndpoint</code> API. SageMaker then deploys all of the containers that you
763
763
  * defined for the model in the hosting environment. </p>
764
764
  * <p>For an example that calls this method when deploying a model to SageMaker hosting services,
765
- * see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/ex1-deploy-model.html#ex1-deploy-model-boto">Deploy the
766
- * Model to Amazon SageMaker Hosting Services (Amazon Web Services SDK for Python (Boto
765
+ * see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/realtime-endpoints-deployment.html#realtime-endpoints-deployment-create-model">Create a Model (Amazon Web Services SDK for Python (Boto
767
766
  * 3)).</a>
768
767
  * </p>
769
768
  * <p>To run a batch transform using your model, you start a job with the
@@ -2650,6 +2649,8 @@ export declare class SageMaker extends SageMakerClient {
2650
2649
  * <p>Use this operation to update your workforce. You can use this operation to
2651
2650
  * require that workers use specific IP addresses to work on tasks
2652
2651
  * and to update your OpenID Connect (OIDC) Identity Provider (IdP) workforce configuration.</p>
2652
+ * <p>The worker portal is now supported in VPC and public internet.</p>
2653
+ *
2653
2654
  *
2654
2655
  * <p> Use <code>SourceIpConfig</code> to restrict worker access to tasks to a specific range of IP addresses.
2655
2656
  * You specify allowed IP addresses by creating a list of up to ten <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html">CIDRs</a>.
@@ -2657,6 +2658,10 @@ export declare class SageMaker extends SageMakerClient {
2657
2658
  * range of IP addresses, workers who attempt to access tasks using any IP address outside
2658
2659
  * the specified range are denied and get a <code>Not Found</code> error message on
2659
2660
  * the worker portal.</p>
2661
+ * <p>To restrict access to all the workers in public internet, add the <code>SourceIpConfig</code> CIDR value as "0.0.0.0/0".</p>
2662
+ * <important>
2663
+ * <p>Amazon SageMaker does not support Source Ip restriction for worker portals in VPC.</p>
2664
+ * </important>
2660
2665
  * <p>Use <code>OidcConfig</code> to update the configuration of a workforce created using
2661
2666
  * your own OIDC IdP. </p>
2662
2667
  * <important>
@@ -18,8 +18,7 @@ export interface CreateModelCommandOutput extends CreateModelOutput, __MetadataB
18
18
  * <code>CreateEndpoint</code> API. SageMaker then deploys all of the containers that you
19
19
  * defined for the model in the hosting environment. </p>
20
20
  * <p>For an example that calls this method when deploying a model to SageMaker hosting services,
21
- * see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/ex1-deploy-model.html#ex1-deploy-model-boto">Deploy the
22
- * Model to Amazon SageMaker Hosting Services (Amazon Web Services SDK for Python (Boto
21
+ * see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/realtime-endpoints-deployment.html#realtime-endpoints-deployment-create-model">Create a Model (Amazon Web Services SDK for Python (Boto
23
22
  * 3)).</a>
24
23
  * </p>
25
24
  * <p>To run a batch transform using your model, you start a job with the
@@ -1,7 +1,6 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { DescribeLabelingJobRequest } from "../models/models_1";
4
- import { DescribeLabelingJobResponse } from "../models/models_2";
3
+ import { DescribeLabelingJobRequest, DescribeLabelingJobResponse } from "../models/models_2";
5
4
  import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
6
5
  export interface DescribeLabelingJobCommandInput extends DescribeLabelingJobRequest {
7
6
  }
@@ -1,6 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { ListStudioLifecycleConfigsRequest, ListStudioLifecycleConfigsResponse } from "../models/models_2";
3
+ import { ListStudioLifecycleConfigsRequest } from "../models/models_2";
4
+ import { ListStudioLifecycleConfigsResponse } from "../models/models_3";
4
5
  import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
5
6
  export interface ListStudioLifecycleConfigsCommandInput extends ListStudioLifecycleConfigsRequest {
6
7
  }
@@ -1,7 +1,6 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { ListSubscribedWorkteamsRequest } from "../models/models_2";
4
- import { ListSubscribedWorkteamsResponse } from "../models/models_3";
3
+ import { ListSubscribedWorkteamsRequest, ListSubscribedWorkteamsResponse } from "../models/models_3";
5
4
  import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
6
5
  export interface ListSubscribedWorkteamsCommandInput extends ListSubscribedWorkteamsRequest {
7
6
  }
@@ -10,6 +10,8 @@ export interface UpdateWorkforceCommandOutput extends UpdateWorkforceResponse, _
10
10
  * <p>Use this operation to update your workforce. You can use this operation to
11
11
  * require that workers use specific IP addresses to work on tasks
12
12
  * and to update your OpenID Connect (OIDC) Identity Provider (IdP) workforce configuration.</p>
13
+ * <p>The worker portal is now supported in VPC and public internet.</p>
14
+ *
13
15
  *
14
16
  * <p> Use <code>SourceIpConfig</code> to restrict worker access to tasks to a specific range of IP addresses.
15
17
  * You specify allowed IP addresses by creating a list of up to ten <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html">CIDRs</a>.
@@ -17,6 +19,10 @@ export interface UpdateWorkforceCommandOutput extends UpdateWorkforceResponse, _
17
19
  * range of IP addresses, workers who attempt to access tasks using any IP address outside
18
20
  * the specified range are denied and get a <code>Not Found</code> error message on
19
21
  * the worker portal.</p>
22
+ * <p>To restrict access to all the workers in public internet, add the <code>SourceIpConfig</code> CIDR value as "0.0.0.0/0".</p>
23
+ * <important>
24
+ * <p>Amazon SageMaker does not support Source Ip restriction for worker portals in VPC.</p>
25
+ * </important>
20
26
  * <p>Use <code>OidcConfig</code> to update the configuration of a workforce created using
21
27
  * your own OIDC IdP. </p>
22
28
  * <important>
@@ -4093,6 +4093,23 @@ export declare enum AutoMLS3DataType {
4093
4093
  export interface AutoMLS3DataSource {
4094
4094
  /**
4095
4095
  * <p>The data type.</p>
4096
+ * <p>A ManifestFile should have the format shown below:</p>
4097
+ * <p>
4098
+ * <code>[ {"prefix": "s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER/DOC-EXAMPLE-PREFIX/"}, </code>
4099
+ * </p>
4100
+ * <p>
4101
+ * <code>"DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-1",</code>
4102
+ * </p>
4103
+ * <p>
4104
+ * <code>"DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-2",</code>
4105
+ * </p>
4106
+ * <p>
4107
+ * <code>... "DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-N" ]</code>
4108
+ * </p>
4109
+ * <p>An S3Prefix should have the following format: </p>
4110
+ * <p>
4111
+ * <code>s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER-OR-FILE</code>
4112
+ * </p>
4096
4113
  */
4097
4114
  S3DataType: AutoMLS3DataType | string | undefined;
4098
4115
  /**
@@ -4112,9 +4129,6 @@ export declare namespace AutoMLS3DataSource {
4112
4129
  export interface AutoMLDataSource {
4113
4130
  /**
4114
4131
  * <p>The Amazon S3 location of the input data.</p>
4115
- * <note>
4116
- * <p>The input data must be in CSV format and contain at least 500 rows.</p>
4117
- * </note>
4118
4132
  */
4119
4133
  S3DataSource: AutoMLS3DataSource | undefined;
4120
4134
  }
@@ -4171,7 +4185,7 @@ export declare namespace AutoMLChannel {
4171
4185
  const filterSensitiveLog: (obj: AutoMLChannel) => any;
4172
4186
  }
4173
4187
  /**
4174
- * <p>This structure specifies how to split the data into train and test datasets. The
4188
+ * <p>This structure specifies how to split the data into train and validation datasets. The
4175
4189
  * validation and training datasets must contain the same headers. The validation dataset must
4176
4190
  * be less than 2 GB in size.</p>
4177
4191
  */
@@ -6118,7 +6132,11 @@ export interface ResourceSpec {
6118
6132
  /**
6119
6133
  * <p>The instance type that the image version runs on.</p>
6120
6134
  * <note>
6121
- * <p>JupyterServer Apps only support the <code>system</code> value. KernelGateway Apps do not support the <code>system</code> value, but support all other values for available instance types.</p>
6135
+ * <p>
6136
+ * <b>JupyterServer apps</b> only support the <code>system</code> value.</p>
6137
+ * <p>For <b>KernelGateway apps</b>, the <code>system</code>
6138
+ * value is translated to <code>ml.t3.medium</code>. KernelGateway apps also support all other values for available
6139
+ * instance types.</p>
6122
6140
  * </note>
6123
6141
  */
6124
6142
  InstanceType?: AppInstanceType | string;
@@ -6158,6 +6176,11 @@ export interface CreateAppRequest {
6158
6176
  Tags?: Tag[];
6159
6177
  /**
6160
6178
  * <p>The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.</p>
6179
+ * <note>
6180
+ * <p>The value of <code>InstanceType</code> passed as part of the <code>ResourceSpec</code> in the <code>CreateApp</code> call overrides the value passed as part of the <code>ResourceSpec</code> configured for
6181
+ * the user profile or the domain. If <code>InstanceType</code> is not specified in any of those three <code>ResourceSpec</code> values for a
6182
+ * <code>KernelGateway</code> app, the <code>CreateApp</code> call fails with a request validation error.</p>
6183
+ * </note>
6161
6184
  */
6162
6185
  ResourceSpec?: ResourceSpec;
6163
6186
  }
@@ -2256,6 +2256,13 @@ export interface LabelingJobResourceConfig {
2256
2256
  * </ul>
2257
2257
  */
2258
2258
  VolumeKmsKeyId?: string;
2259
+ /**
2260
+ * <p>Specifies a VPC that your training jobs and hosted models have access to. Control
2261
+ * access to and from your training and model containers by configuring the VPC. For more
2262
+ * information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html">Protect Endpoints by Using an Amazon Virtual Private Cloud</a> and <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html">Protect Training Jobs
2263
+ * by Using an Amazon Virtual Private Cloud</a>. </p>
2264
+ */
2265
+ VpcConfig?: VpcConfig;
2259
2266
  }
2260
2267
  export declare namespace LabelingJobResourceConfig {
2261
2268
  /**
@@ -2693,7 +2700,7 @@ export interface ModelBiasAppSpecification {
2693
2700
  ImageUri: string | undefined;
2694
2701
  /**
2695
2702
  * <p>JSON formatted S3 file that defines bias parameters. For more information on this JSON
2696
- * configuration file, see <a href="https://docs.aws.amazon.com/sagemaker/latest/json-bias-parameter-config.html">Configure bias
2703
+ * configuration file, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/clarify-config-json-monitor-bias-parameters.html">Configure bias
2697
2704
  * parameters</a>.</p>
2698
2705
  */
2699
2706
  ConfigUri: string | undefined;
@@ -2834,7 +2841,7 @@ export interface ModelExplainabilityAppSpecification {
2834
2841
  ImageUri: string | undefined;
2835
2842
  /**
2836
2843
  * <p>JSON formatted S3 file that defines explainability parameters. For more information on
2837
- * this JSON configuration file, see <a href="https://docs.aws.amazon.com/sagemaker/latest/json-model-explainability-parameter-config.html">Configure model
2844
+ * this JSON configuration file, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/clarify-config-json-monitor-model-explainability-parameters.html">Configure model
2838
2845
  * explainability parameters</a>.</p>
2839
2846
  */
2840
2847
  ConfigUri: string | undefined;
@@ -5887,6 +5894,29 @@ export declare namespace SourceIpConfig {
5887
5894
  */
5888
5895
  const filterSensitiveLog: (obj: SourceIpConfig) => any;
5889
5896
  }
5897
+ /**
5898
+ * <p>The VPC object you use to create or update a workforce.</p>
5899
+ */
5900
+ export interface WorkforceVpcConfigRequest {
5901
+ /**
5902
+ * <p>The ID of the VPC that the workforce uses for communication.</p>
5903
+ */
5904
+ VpcId?: string;
5905
+ /**
5906
+ * <p>The VPC security group IDs, in the form sg-xxxxxxxx. The security groups must be for the same VPC as specified in the subnet.</p>
5907
+ */
5908
+ SecurityGroupIds?: string[];
5909
+ /**
5910
+ * <p>The ID of the subnets in the VPC that you want to connect.</p>
5911
+ */
5912
+ Subnets?: string[];
5913
+ }
5914
+ export declare namespace WorkforceVpcConfigRequest {
5915
+ /**
5916
+ * @internal
5917
+ */
5918
+ const filterSensitiveLog: (obj: WorkforceVpcConfigRequest) => any;
5919
+ }
5890
5920
  export interface CreateWorkforceRequest {
5891
5921
  /**
5892
5922
  * <p>Use this parameter to configure an Amazon Cognito private workforce.
@@ -5920,6 +5950,10 @@ export interface CreateWorkforceRequest {
5920
5950
  * both of which you define.</p>
5921
5951
  */
5922
5952
  Tags?: Tag[];
5953
+ /**
5954
+ * <p>Use this parameter to configure a workforce using VPC.</p>
5955
+ */
5956
+ WorkforceVpcConfig?: WorkforceVpcConfigRequest;
5923
5957
  }
5924
5958
  export declare namespace CreateWorkforceRequest {
5925
5959
  /**
@@ -9435,15 +9469,3 @@ export declare namespace DescribeInferenceRecommendationsJobResponse {
9435
9469
  */
9436
9470
  const filterSensitiveLog: (obj: DescribeInferenceRecommendationsJobResponse) => any;
9437
9471
  }
9438
- export interface DescribeLabelingJobRequest {
9439
- /**
9440
- * <p>The name of the labeling job to return information for.</p>
9441
- */
9442
- LabelingJobName: string | undefined;
9443
- }
9444
- export declare namespace DescribeLabelingJobRequest {
9445
- /**
9446
- * @internal
9447
- */
9448
- const filterSensitiveLog: (obj: DescribeLabelingJobRequest) => any;
9449
- }
@@ -1,5 +1,17 @@
1
1
  import { ActionSummary, AdditionalInferenceSpecificationDefinition, AgentVersion, AlgorithmSortBy, AlgorithmSpecification, AlgorithmSummary, AppDetails, AppImageConfigDetails, AppImageConfigSortKey, AppSortKey, AppSpecification, ArtifactSummary, AssociationEdgeType, AssociationSummary, AutoMLCandidate, AutoMLJobStatus, AutoMLJobSummary, AutoMLSortBy, AutoMLSortOrder, BatchStrategy, CacheHitResult, CallbackStepMetadata, CandidateSortBy, CandidateStatus, Channel, CheckpointConfig, ClarifyCheckStepMetadata, CodeRepositorySortBy, CodeRepositorySortOrder, CodeRepositorySummary, CognitoConfig, CompilationJobStatus, CompilationJobSummary, ConditionStepMetadata, ContainerDefinition, ContextSummary, EdgeOutputConfig, FeatureDefinition, HyperParameterTuningJobStrategyType, InferenceSpecification, MetadataProperties, ModelApprovalStatus, ModelPackageStatus, MonitoringNetworkConfig, MonitoringOutputConfig, MonitoringResources, MonitoringStoppingCondition, OfflineStoreConfig, OnlineStoreConfig, OutputDataConfig, OutputParameter, ResourceConfig, ResourceLimits, ResourceSpec, RetryStrategy, StoppingCondition, Tag, TransformInput, TransformOutput, TransformResources, UserContext, UserSettings, VpcConfig } from "./models_0";
2
2
  import { _InstanceType, DataCaptureConfigSummary, DataProcessing, DebugHookConfig, DebugRuleConfiguration, DebugRuleEvaluationStatus, DirectInternetAccess, DomainStatus, DriftCheckBaselines, EdgePackagingJobStatus, EndpointStatus, ExperimentConfig, ExperimentSource, FeatureGroupStatus, FlowDefinitionStatus, HumanTaskConfig, HyperParameterTuningJobStatus, ImageStatus, ImageVersionStatus, InferenceExecutionConfig, InstanceMetadataServiceConfiguration, LabelingJobAlgorithmsConfig, LabelingJobInputConfig, LabelingJobOutputConfig, LabelingJobStoppingConditions, MemberDefinition, ModelArtifacts, ModelBiasAppSpecification, ModelBiasBaselineConfig, ModelBiasJobInput, ModelClientConfig, ModelExplainabilityAppSpecification, ModelExplainabilityBaselineConfig, ModelExplainabilityJobInput, ModelMetrics, ModelPackageValidationSpecification, ModelQualityAppSpecification, ModelQualityBaselineConfig, ModelQualityJobInput, MonitoringScheduleConfig, MonitoringType, NetworkConfig, NotebookInstanceAcceleratorType, NotebookInstanceLifecycleHook, NotificationConfiguration, ObjectiveStatusCounters, OfflineStoreStatus, OfflineStoreStatusValue, ParallelismConfiguration, ProcessingInput, ProcessingOutputConfig, ProcessingResources, ProcessingStoppingCondition, ProductionVariantSummary, ProfilerConfig, ProfilerRuleConfiguration, RecommendationJobStatus, RecommendationJobType, RootAccess, RuleEvaluationStatus, ServiceCatalogProvisioningDetails, SourceAlgorithmSpecification, SourceIpConfig, StudioLifecycleConfigAppType, TensorBoardOutputConfig, TrainingJobStatus, TrainingJobStatusCounters, TrialComponentArtifact, TrialComponentParameterValue, TrialComponentStatus } from "./models_1";
3
+ export interface DescribeLabelingJobRequest {
4
+ /**
5
+ * <p>The name of the labeling job to return information for.</p>
6
+ */
7
+ LabelingJobName: string | undefined;
8
+ }
9
+ export declare namespace DescribeLabelingJobRequest {
10
+ /**
11
+ * @internal
12
+ */
13
+ const filterSensitiveLog: (obj: DescribeLabelingJobRequest) => any;
14
+ }
3
15
  /**
4
16
  * <p>Provides a breakdown of the number of objects labeled.</p>
5
17
  */
@@ -2835,6 +2847,40 @@ export declare namespace OidcConfigForResponse {
2835
2847
  */
2836
2848
  const filterSensitiveLog: (obj: OidcConfigForResponse) => any;
2837
2849
  }
2850
+ export declare enum WorkforceStatus {
2851
+ ACTIVE = "Active",
2852
+ DELETING = "Deleting",
2853
+ FAILED = "Failed",
2854
+ INITIALIZING = "Initializing",
2855
+ UPDATING = "Updating"
2856
+ }
2857
+ /**
2858
+ * <p>A VpcConfig object that specifies the VPC that you want your workforce to connect to.</p>
2859
+ */
2860
+ export interface WorkforceVpcConfigResponse {
2861
+ /**
2862
+ * <p>The ID of the VPC that the workforce uses for communication.</p>
2863
+ */
2864
+ VpcId: string | undefined;
2865
+ /**
2866
+ * <p>The VPC security group IDs, in the form sg-xxxxxxxx. The security groups must be for the same VPC as specified in the subnet.</p>
2867
+ */
2868
+ SecurityGroupIds: string[] | undefined;
2869
+ /**
2870
+ * <p>The ID of the subnets in the VPC that you want to connect.</p>
2871
+ */
2872
+ Subnets: string[] | undefined;
2873
+ /**
2874
+ * <p>The IDs for the VPC service endpoints of your VPC workforce when it is created and updated.</p>
2875
+ */
2876
+ VpcEndpointId?: string;
2877
+ }
2878
+ export declare namespace WorkforceVpcConfigResponse {
2879
+ /**
2880
+ * @internal
2881
+ */
2882
+ const filterSensitiveLog: (obj: WorkforceVpcConfigResponse) => any;
2883
+ }
2838
2884
  /**
2839
2885
  * <p>A single private workforce, which is automatically created when you create your first
2840
2886
  * private work team. You can create one private work force in each Amazon Web Services Region. By default,
@@ -2880,6 +2926,18 @@ export interface Workforce {
2880
2926
  * <p>The date that the workforce is created.</p>
2881
2927
  */
2882
2928
  CreateDate?: Date;
2929
+ /**
2930
+ * <p>The configuration of a VPC workforce.</p>
2931
+ */
2932
+ WorkforceVpcConfig?: WorkforceVpcConfigResponse;
2933
+ /**
2934
+ * <p>The status of your workforce.</p>
2935
+ */
2936
+ Status?: WorkforceStatus | string;
2937
+ /**
2938
+ * <p>The reason your workforce failed.</p>
2939
+ */
2940
+ FailureReason?: string;
2883
2941
  }
2884
2942
  export declare namespace Workforce {
2885
2943
  /**
@@ -8716,73 +8774,3 @@ export declare namespace ListStudioLifecycleConfigsRequest {
8716
8774
  */
8717
8775
  const filterSensitiveLog: (obj: ListStudioLifecycleConfigsRequest) => any;
8718
8776
  }
8719
- /**
8720
- * <p>Details of the Studio Lifecycle Configuration.</p>
8721
- */
8722
- export interface StudioLifecycleConfigDetails {
8723
- /**
8724
- * <p> The Amazon Resource Name (ARN) of the Lifecycle Configuration.</p>
8725
- */
8726
- StudioLifecycleConfigArn?: string;
8727
- /**
8728
- * <p>The name of the Studio Lifecycle Configuration.</p>
8729
- */
8730
- StudioLifecycleConfigName?: string;
8731
- /**
8732
- * <p>The creation time of the Studio Lifecycle Configuration.</p>
8733
- */
8734
- CreationTime?: Date;
8735
- /**
8736
- * <p>This value is equivalent to CreationTime because Studio Lifecycle Configurations are immutable.</p>
8737
- */
8738
- LastModifiedTime?: Date;
8739
- /**
8740
- * <p>The App type to which the Lifecycle Configuration is attached.</p>
8741
- */
8742
- StudioLifecycleConfigAppType?: StudioLifecycleConfigAppType | string;
8743
- }
8744
- export declare namespace StudioLifecycleConfigDetails {
8745
- /**
8746
- * @internal
8747
- */
8748
- const filterSensitiveLog: (obj: StudioLifecycleConfigDetails) => any;
8749
- }
8750
- export interface ListStudioLifecycleConfigsResponse {
8751
- /**
8752
- * <p>A token for getting the next set of actions, if there are any.</p>
8753
- */
8754
- NextToken?: string;
8755
- /**
8756
- * <p>A list of Lifecycle Configurations and their properties.</p>
8757
- */
8758
- StudioLifecycleConfigs?: StudioLifecycleConfigDetails[];
8759
- }
8760
- export declare namespace ListStudioLifecycleConfigsResponse {
8761
- /**
8762
- * @internal
8763
- */
8764
- const filterSensitiveLog: (obj: ListStudioLifecycleConfigsResponse) => any;
8765
- }
8766
- export interface ListSubscribedWorkteamsRequest {
8767
- /**
8768
- * <p>A string in the work team name. This filter returns only work teams whose name
8769
- * contains the specified string.</p>
8770
- */
8771
- NameContains?: string;
8772
- /**
8773
- * <p>If the result of the previous <code>ListSubscribedWorkteams</code> request was
8774
- * truncated, the response includes a <code>NextToken</code>. To retrieve the next set of
8775
- * labeling jobs, use the token in the next request.</p>
8776
- */
8777
- NextToken?: string;
8778
- /**
8779
- * <p>The maximum number of work teams to return in each page of the response.</p>
8780
- */
8781
- MaxResults?: number;
8782
- }
8783
- export declare namespace ListSubscribedWorkteamsRequest {
8784
- /**
8785
- * @internal
8786
- */
8787
- const filterSensitiveLog: (obj: ListSubscribedWorkteamsRequest) => any;
8788
- }