@aws-sdk/client-sagemaker 3.554.0 → 3.558.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.
package/dist-cjs/index.js CHANGED
@@ -1724,11 +1724,8 @@ var AutotuneMode = {
1724
1724
  ENABLED: "Enabled"
1725
1725
  };
1726
1726
  var AwsManagedHumanLoopRequestSource = {
1727
- BEDROCK_MODEL_EVALUATION: "AWS/Bedrock/ModelEvaluation",
1728
- HANDSHAKE_VERIFY_IDENTITY: "AWS/Handshake/VerifyIdentity",
1729
1727
  REKOGNITION_DETECT_MODERATION_LABELS_IMAGE_V3: "AWS/Rekognition/DetectModerationLabels/Image/V3",
1730
- TEXTRACT_ANALYZE_DOCUMENT_FORMS_V1: "AWS/Textract/AnalyzeDocument/Forms/V1",
1731
- TEXTRACT_ANALYZE_EXPENSE: "AWS/Textract/AnalyzeExpense"
1728
+ TEXTRACT_ANALYZE_DOCUMENT_FORMS_V1: "AWS/Textract/AnalyzeDocument/Forms/V1"
1732
1729
  };
1733
1730
  var ModelApprovalStatus = {
1734
1731
  APPROVED: "Approved",
@@ -810,11 +810,8 @@ export const AutotuneMode = {
810
810
  ENABLED: "Enabled",
811
811
  };
812
812
  export const AwsManagedHumanLoopRequestSource = {
813
- BEDROCK_MODEL_EVALUATION: "AWS/Bedrock/ModelEvaluation",
814
- HANDSHAKE_VERIFY_IDENTITY: "AWS/Handshake/VerifyIdentity",
815
813
  REKOGNITION_DETECT_MODERATION_LABELS_IMAGE_V3: "AWS/Rekognition/DetectModerationLabels/Image/V3",
816
814
  TEXTRACT_ANALYZE_DOCUMENT_FORMS_V1: "AWS/Textract/AnalyzeDocument/Forms/V1",
817
- TEXTRACT_ANALYZE_EXPENSE: "AWS/Textract/AnalyzeExpense",
818
815
  };
819
816
  export const ModelApprovalStatus = {
820
817
  APPROVED: "Approved",
@@ -36,7 +36,7 @@ declare const CreateFlowDefinitionCommand_base: {
36
36
  * const input = { // CreateFlowDefinitionRequest
37
37
  * FlowDefinitionName: "STRING_VALUE", // required
38
38
  * HumanLoopRequestSource: { // HumanLoopRequestSource
39
- * AwsManagedHumanLoopRequestSource: "AWS/Rekognition/DetectModerationLabels/Image/V3" || "AWS/Textract/AnalyzeDocument/Forms/V1" || "AWS/Textract/AnalyzeExpense" || "AWS/Handshake/VerifyIdentity" || "AWS/Bedrock/ModelEvaluation", // required
39
+ * AwsManagedHumanLoopRequestSource: "AWS/Rekognition/DetectModerationLabels/Image/V3" || "AWS/Textract/AnalyzeDocument/Forms/V1", // required
40
40
  * },
41
41
  * HumanLoopActivationConfig: { // HumanLoopActivationConfig
42
42
  * HumanLoopActivationConditionsConfig: { // HumanLoopActivationConditionsConfig
@@ -44,7 +44,7 @@ declare const DescribeFlowDefinitionCommand_base: {
44
44
  * // FlowDefinitionStatus: "Initializing" || "Active" || "Failed" || "Deleting", // required
45
45
  * // CreationTime: new Date("TIMESTAMP"), // required
46
46
  * // HumanLoopRequestSource: { // HumanLoopRequestSource
47
- * // AwsManagedHumanLoopRequestSource: "AWS/Rekognition/DetectModerationLabels/Image/V3" || "AWS/Textract/AnalyzeDocument/Forms/V1" || "AWS/Textract/AnalyzeExpense" || "AWS/Handshake/VerifyIdentity" || "AWS/Bedrock/ModelEvaluation", // required
47
+ * // AwsManagedHumanLoopRequestSource: "AWS/Rekognition/DetectModerationLabels/Image/V3" || "AWS/Textract/AnalyzeDocument/Forms/V1", // required
48
48
  * // },
49
49
  * // HumanLoopActivationConfig: { // HumanLoopActivationConfig
50
50
  * // HumanLoopActivationConditionsConfig: { // HumanLoopActivationConditionsConfig
@@ -6680,11 +6680,8 @@ export interface Autotune {
6680
6680
  * @enum
6681
6681
  */
6682
6682
  export declare const AwsManagedHumanLoopRequestSource: {
6683
- readonly BEDROCK_MODEL_EVALUATION: "AWS/Bedrock/ModelEvaluation";
6684
- readonly HANDSHAKE_VERIFY_IDENTITY: "AWS/Handshake/VerifyIdentity";
6685
6683
  readonly REKOGNITION_DETECT_MODERATION_LABELS_IMAGE_V3: "AWS/Rekognition/DetectModerationLabels/Image/V3";
6686
6684
  readonly TEXTRACT_ANALYZE_DOCUMENT_FORMS_V1: "AWS/Textract/AnalyzeDocument/Forms/V1";
6687
- readonly TEXTRACT_ANALYZE_EXPENSE: "AWS/Textract/AnalyzeExpense";
6688
6685
  };
6689
6686
  /**
6690
6687
  * @public
@@ -8121,18 +8118,25 @@ export declare const ClusterInstanceType: {
8121
8118
  */
8122
8119
  export type ClusterInstanceType = (typeof ClusterInstanceType)[keyof typeof ClusterInstanceType];
8123
8120
  /**
8124
- * <p>The LifeCycle configuration for a SageMaker HyperPod cluster.</p>
8121
+ * <p>The lifecycle configuration for a SageMaker HyperPod cluster.</p>
8125
8122
  * @public
8126
8123
  */
8127
8124
  export interface ClusterLifeCycleConfig {
8128
8125
  /**
8129
- * <p>An Amazon S3 bucket path where your LifeCycle scripts are stored.</p>
8126
+ * <p>An Amazon S3 bucket path where your lifecycle scripts are stored.</p>
8127
+ * <important>
8128
+ * <p>Make sure that the S3 bucket path starts with <code>s3://sagemaker-</code>. The
8129
+ * <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-hyperpod-prerequisites.html#sagemaker-hyperpod-prerequisites-iam-role-for-hyperpod">IAM role for SageMaker HyperPod</a> has the managed <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/security-iam-awsmanpol-cluster.html">
8130
+ * <code>AmazonSageMakerClusterInstanceRolePolicy</code>
8131
+ * </a> attached, which
8132
+ * allows access to S3 buckets with the specific prefix <code>sagemaker-</code>.</p>
8133
+ * </important>
8130
8134
  * @public
8131
8135
  */
8132
8136
  SourceS3Uri: string | undefined;
8133
8137
  /**
8134
- * <p>The directory of the LifeCycle script under <code>SourceS3Uri</code>. This LifeCycle
8135
- * script runs during cluster creation.</p>
8138
+ * <p>The file name of the entrypoint script of lifecycle scripts under
8139
+ * <code>SourceS3Uri</code>. This entrypoint script runs during cluster creation.</p>
8136
8140
  * @public
8137
8141
  */
8138
8142
  OnCreate: string | undefined;
@@ -2473,7 +2473,7 @@ export interface FeatureDefinition {
2473
2473
  * <p>The name:</p>
2474
2474
  * <ul>
2475
2475
  * <li>
2476
- * <p>Must start and end with an alphanumeric character.</p>
2476
+ * <p>Must start with an alphanumeric character.</p>
2477
2477
  * </li>
2478
2478
  * <li>
2479
2479
  * <p>Can only include alphanumeric characters, underscores, and hyphens. Spaces are not
@@ -2858,7 +2858,7 @@ export interface CreateFeatureGroupRequest {
2858
2858
  * <p>The name:</p>
2859
2859
  * <ul>
2860
2860
  * <li>
2861
- * <p>Must start and end with an alphanumeric character.</p>
2861
+ * <p>Must start with an alphanumeric character.</p>
2862
2862
  * </li>
2863
2863
  * <li>
2864
2864
  * <p>Can only include alphanumeric characters, underscores, and hyphens. Spaces are not
@@ -2879,7 +2879,7 @@ export interface CreateFeatureGroupRequest {
2879
2879
  * <p>This name:</p>
2880
2880
  * <ul>
2881
2881
  * <li>
2882
- * <p>Must start and end with an alphanumeric character.</p>
2882
+ * <p>Must start with an alphanumeric character.</p>
2883
2883
  * </li>
2884
2884
  * <li>
2885
2885
  * <p>Can only contains alphanumeric characters, hyphens, underscores. Spaces are not
@@ -1525,11 +1525,8 @@ export interface Autotune {
1525
1525
  Mode: AutotuneMode | undefined;
1526
1526
  }
1527
1527
  export declare const AwsManagedHumanLoopRequestSource: {
1528
- readonly BEDROCK_MODEL_EVALUATION: "AWS/Bedrock/ModelEvaluation";
1529
- readonly HANDSHAKE_VERIFY_IDENTITY: "AWS/Handshake/VerifyIdentity";
1530
1528
  readonly REKOGNITION_DETECT_MODERATION_LABELS_IMAGE_V3: "AWS/Rekognition/DetectModerationLabels/Image/V3";
1531
1529
  readonly TEXTRACT_ANALYZE_DOCUMENT_FORMS_V1: "AWS/Textract/AnalyzeDocument/Forms/V1";
1532
- readonly TEXTRACT_ANALYZE_EXPENSE: "AWS/Textract/AnalyzeExpense";
1533
1530
  };
1534
1531
  export type AwsManagedHumanLoopRequestSource =
1535
1532
  (typeof AwsManagedHumanLoopRequestSource)[keyof typeof AwsManagedHumanLoopRequestSource];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sagemaker",
3
3
  "description": "AWS SDK for JavaScript Sagemaker Client for Node.js, Browser and React Native",
4
- "version": "3.554.0",
4
+ "version": "3.558.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sagemaker",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.554.0",
24
- "@aws-sdk/core": "3.554.0",
25
- "@aws-sdk/credential-provider-node": "3.554.0",
23
+ "@aws-sdk/client-sts": "3.556.0",
24
+ "@aws-sdk/core": "3.556.0",
25
+ "@aws-sdk/credential-provider-node": "3.556.0",
26
26
  "@aws-sdk/middleware-host-header": "3.535.0",
27
27
  "@aws-sdk/middleware-logger": "3.535.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.535.0",