@aws-sdk/client-sagemaker 3.281.0 → 3.283.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.
@@ -27488,6 +27488,9 @@ const deserializeAws_json1_1RecommendationJobInferenceBenchmark = (output, conte
27488
27488
  EndpointConfiguration: output.EndpointConfiguration != null
27489
27489
  ? deserializeAws_json1_1EndpointOutputConfiguration(output.EndpointConfiguration, context)
27490
27490
  : undefined,
27491
+ EndpointMetrics: output.EndpointMetrics != null
27492
+ ? deserializeAws_json1_1InferenceMetrics(output.EndpointMetrics, context)
27493
+ : undefined,
27491
27494
  FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
27492
27495
  Metrics: output.Metrics != null ? deserializeAws_json1_1RecommendationMetrics(output.Metrics, context) : undefined,
27493
27496
  ModelConfiguration: output.ModelConfiguration != null
@@ -26874,6 +26874,9 @@ const deserializeAws_json1_1RecommendationJobInferenceBenchmark = (output, conte
26874
26874
  EndpointConfiguration: output.EndpointConfiguration != null
26875
26875
  ? deserializeAws_json1_1EndpointOutputConfiguration(output.EndpointConfiguration, context)
26876
26876
  : undefined,
26877
+ EndpointMetrics: output.EndpointMetrics != null
26878
+ ? deserializeAws_json1_1InferenceMetrics(output.EndpointMetrics, context)
26879
+ : undefined,
26877
26880
  FailureReason: __expectString(output.FailureReason),
26878
26881
  Metrics: output.Metrics != null ? deserializeAws_json1_1RecommendationMetrics(output.Metrics, context) : undefined,
26879
26882
  ModelConfiguration: output.ModelConfiguration != null
@@ -939,7 +939,7 @@ export declare class SageMaker extends SageMakerClient {
939
939
  createModelQualityJobDefinition(args: CreateModelQualityJobDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateModelQualityJobDefinitionCommandOutput) => void): void;
940
940
  /**
941
941
  * <p>Creates a schedule that regularly starts Amazon SageMaker Processing Jobs to monitor the data
942
- * captured for an Amazon SageMaker Endoint.</p>
942
+ * captured for an Amazon SageMaker Endpoint.</p>
943
943
  */
944
944
  createMonitoringSchedule(args: CreateMonitoringScheduleCommandInput, options?: __HttpHandlerOptions): Promise<CreateMonitoringScheduleCommandOutput>;
945
945
  createMonitoringSchedule(args: CreateMonitoringScheduleCommandInput, cb: (err: any, data?: CreateMonitoringScheduleCommandOutput) => void): void;
@@ -2074,7 +2074,7 @@ export declare class SageMaker extends SageMakerClient {
2074
2074
  getSagemakerServicecatalogPortfolioStatus(args: GetSagemakerServicecatalogPortfolioStatusCommandInput, cb: (err: any, data?: GetSagemakerServicecatalogPortfolioStatusCommandOutput) => void): void;
2075
2075
  getSagemakerServicecatalogPortfolioStatus(args: GetSagemakerServicecatalogPortfolioStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSagemakerServicecatalogPortfolioStatusCommandOutput) => void): void;
2076
2076
  /**
2077
- * <p>An auto-complete API for the search functionality in the Amazon SageMaker console. It returns
2077
+ * <p>An auto-complete API for the search functionality in the SageMaker console. It returns
2078
2078
  * suggestions of possible matches for the property name to use in <code>Search</code>
2079
2079
  * queries. Provides suggestions for <code>HyperParameters</code>, <code>Tags</code>, and
2080
2080
  * <code>Metrics</code>.</p>
@@ -2626,11 +2626,16 @@ export declare class SageMaker extends SageMakerClient {
2626
2626
  retryPipelineExecution(args: RetryPipelineExecutionCommandInput, cb: (err: any, data?: RetryPipelineExecutionCommandOutput) => void): void;
2627
2627
  retryPipelineExecution(args: RetryPipelineExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RetryPipelineExecutionCommandOutput) => void): void;
2628
2628
  /**
2629
- * <p>Finds Amazon SageMaker resources that match a search query. Matching resources are returned
2629
+ * <p>Finds SageMaker resources that match a search query. Matching resources are returned
2630
2630
  * as a list of <code>SearchRecord</code> objects in the response. You can sort the search
2631
2631
  * results by any resource property in a ascending or descending order.</p>
2632
2632
  * <p>You can query against the following value types: numeric, text, Boolean, and
2633
2633
  * timestamp.</p>
2634
+ * <note>
2635
+ * <p>The Search API may provide access to otherwise restricted data. See <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/api-permissions-reference.html">Amazon SageMaker
2636
+ * API Permissions: Actions, Permissions, and Resources Reference</a> for more
2637
+ * information.</p>
2638
+ * </note>
2634
2639
  */
2635
2640
  search(args: SearchCommandInput, options?: __HttpHandlerOptions): Promise<SearchCommandOutput>;
2636
2641
  search(args: SearchCommandInput, cb: (err: any, data?: SearchCommandOutput) => void): void;
@@ -15,7 +15,7 @@ export interface CreateMonitoringScheduleCommandOutput extends CreateMonitoringS
15
15
  }
16
16
  /**
17
17
  * <p>Creates a schedule that regularly starts Amazon SageMaker Processing Jobs to monitor the data
18
- * captured for an Amazon SageMaker Endoint.</p>
18
+ * captured for an Amazon SageMaker Endpoint.</p>
19
19
  * @example
20
20
  * Use a bare-bones client and the command you need to make an API call.
21
21
  * ```javascript
@@ -14,7 +14,7 @@ export interface GetSearchSuggestionsCommandInput extends GetSearchSuggestionsRe
14
14
  export interface GetSearchSuggestionsCommandOutput extends GetSearchSuggestionsResponse, __MetadataBearer {
15
15
  }
16
16
  /**
17
- * <p>An auto-complete API for the search functionality in the Amazon SageMaker console. It returns
17
+ * <p>An auto-complete API for the search functionality in the SageMaker console. It returns
18
18
  * suggestions of possible matches for the property name to use in <code>Search</code>
19
19
  * queries. Provides suggestions for <code>HyperParameters</code>, <code>Tags</code>, and
20
20
  * <code>Metrics</code>.</p>
@@ -15,11 +15,16 @@ export interface SearchCommandInput extends SearchRequest {
15
15
  export interface SearchCommandOutput extends SearchResponse, __MetadataBearer {
16
16
  }
17
17
  /**
18
- * <p>Finds Amazon SageMaker resources that match a search query. Matching resources are returned
18
+ * <p>Finds SageMaker resources that match a search query. Matching resources are returned
19
19
  * as a list of <code>SearchRecord</code> objects in the response. You can sort the search
20
20
  * results by any resource property in a ascending or descending order.</p>
21
21
  * <p>You can query against the following value types: numeric, text, Boolean, and
22
22
  * timestamp.</p>
23
+ * <note>
24
+ * <p>The Search API may provide access to otherwise restricted data. See <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/api-permissions-reference.html">Amazon SageMaker
25
+ * API Permissions: Actions, Permissions, and Resources Reference</a> for more
26
+ * information.</p>
27
+ * </note>
23
28
  * @example
24
29
  * Use a bare-bones client and the command you need to make an API call.
25
30
  * ```javascript
@@ -1376,7 +1376,7 @@ export interface ResourceLimits {
1376
1376
  */
1377
1377
  MaxParallelTrainingJobs: number | undefined;
1378
1378
  /**
1379
- * <p>The maximum time in seconds that a training job launched by a hyperparameter tuning job can run.</p>
1379
+ * <p>The maximum time in seconds that a hyperparameter tuning job can run.</p>
1380
1380
  */
1381
1381
  MaxRuntimeInSeconds?: number;
1382
1382
  }
@@ -5647,8 +5647,10 @@ export interface CreateModelPackageInput {
5647
5647
  */
5648
5648
  Task?: string;
5649
5649
  /**
5650
- * <p>The Amazon Simple Storage Service (Amazon S3) path where the sample payload are stored. This path must point
5651
- * to a single gzip compressed tar archive (.tar.gz suffix).</p>
5650
+ * <p>The Amazon Simple Storage Service (Amazon S3) path where the sample payload is stored. This path must point
5651
+ * to a single gzip compressed tar archive (.tar.gz suffix). This archive can hold multiple files
5652
+ * that are all equally used in the load test. Each file in the archive must satisfy the size constraints of the
5653
+ * <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_runtime_InvokeEndpoint.html#API_runtime_InvokeEndpoint_RequestSyntax">InvokeEndpoint</a> call.</p>
5652
5654
  */
5653
5655
  SamplePayloadUrl?: string;
5654
5656
  /**
@@ -6891,7 +6891,7 @@ export declare enum Operator {
6891
6891
  * <p>A conditional statement for a search expression that includes a resource property, a
6892
6892
  * Boolean operator, and a value. Resources that match the statement are returned in the
6893
6893
  * results from the <a>Search</a> API.</p>
6894
- * <p>If you specify a <code>Value</code>, but not an <code>Operator</code>, Amazon SageMaker uses the
6894
+ * <p>If you specify a <code>Value</code>, but not an <code>Operator</code>, SageMaker uses the
6895
6895
  * equals operator.</p>
6896
6896
  * <p>In search, there are several property types:</p>
6897
6897
  * <dl>
@@ -7229,7 +7229,7 @@ export interface SuggestionQuery {
7229
7229
  }
7230
7230
  export interface GetSearchSuggestionsRequest {
7231
7231
  /**
7232
- * <p>The name of the Amazon SageMaker resource to search for.</p>
7232
+ * <p>The name of the SageMaker resource to search for.</p>
7233
7233
  */
7234
7234
  Resource: ResourceType | string | undefined;
7235
7235
  /**
@@ -7243,7 +7243,7 @@ export interface GetSearchSuggestionsRequest {
7243
7243
  */
7244
7244
  export interface PropertyNameSuggestion {
7245
7245
  /**
7246
- * <p>A suggested property name based on what you entered in the search textbox in the Amazon SageMaker
7246
+ * <p>A suggested property name based on what you entered in the search textbox in the SageMaker
7247
7247
  * console.</p>
7248
7248
  */
7249
7249
  PropertyName?: string;
@@ -7807,13 +7807,17 @@ export interface RecommendationJobInferenceBenchmark {
7807
7807
  * <p>The reason why a benchmark failed.</p>
7808
7808
  */
7809
7809
  FailureReason?: string;
7810
+ /**
7811
+ * <p>The metrics for an existing endpoint compared in an Inference Recommender job.</p>
7812
+ */
7813
+ EndpointMetrics?: InferenceMetrics;
7810
7814
  }
7811
7815
  export declare enum RecommendationStepType {
7812
7816
  BENCHMARK = "BENCHMARK"
7813
7817
  }
7814
7818
  /**
7815
7819
  * <p>A returned array object for the <code>Steps</code> response field in the
7816
- * <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_InferenceRecommendationsJobStep.html">ListInferenceRecommendationsJobSteps</a> API command.</p>
7820
+ * <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ListInferenceRecommendationsJobSteps.html">ListInferenceRecommendationsJobSteps</a> API command.</p>
7817
7821
  */
7818
7822
  export interface InferenceRecommendationsJobStep {
7819
7823
  /**
@@ -801,7 +801,7 @@ export interface UpdateTrialComponentRequest {
801
801
  */
802
802
  EndTime?: Date;
803
803
  /**
804
- * <p>Replaces all of the component's hyperparameters with the specified hyperparameters.</p>
804
+ * <p>Replaces all of the component's hyperparameters with the specified hyperparameters or add new hyperparameters. Existing hyperparameters are replaced if the trial component is updated with an identical hyperparameter key.</p>
805
805
  */
806
806
  Parameters?: Record<string, TrialComponentParameterValue>;
807
807
  /**
@@ -809,7 +809,7 @@ export interface UpdateTrialComponentRequest {
809
809
  */
810
810
  ParametersToRemove?: string[];
811
811
  /**
812
- * <p>Replaces all of the component's input artifacts with the specified artifacts.</p>
812
+ * <p>Replaces all of the component's input artifacts with the specified artifacts or adds new input artifacts. Existing input artifacts are replaced if the trial component is updated with an identical input artifact key.</p>
813
813
  */
814
814
  InputArtifacts?: Record<string, TrialComponentArtifact>;
815
815
  /**
@@ -817,7 +817,7 @@ export interface UpdateTrialComponentRequest {
817
817
  */
818
818
  InputArtifactsToRemove?: string[];
819
819
  /**
820
- * <p>Replaces all of the component's output artifacts with the specified artifacts.</p>
820
+ * <p>Replaces all of the component's output artifacts with the specified artifacts or adds new output artifacts. Existing output artifacts are replaced if the trial component is updated with an identical output artifact key.</p>
821
821
  */
822
822
  OutputArtifacts?: Record<string, TrialComponentArtifact>;
823
823
  /**
@@ -975,7 +975,7 @@ export interface SearchExpression {
975
975
  }
976
976
  export interface SearchRequest {
977
977
  /**
978
- * <p>The name of the Amazon SageMaker resource to search for.</p>
978
+ * <p>The name of the SageMaker resource to search for.</p>
979
979
  */
980
980
  Resource: ResourceType | string | undefined;
981
981
  /**
@@ -2303,6 +2303,7 @@ export interface RecommendationJobInferenceBenchmark {
2303
2303
  EndpointConfiguration?: EndpointOutputConfiguration;
2304
2304
  ModelConfiguration: ModelConfiguration | undefined;
2305
2305
  FailureReason?: string;
2306
+ EndpointMetrics?: InferenceMetrics;
2306
2307
  }
2307
2308
  export declare enum RecommendationStepType {
2308
2309
  BENCHMARK = "BENCHMARK",
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.281.0",
4
+ "version": "3.283.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,25 +20,25 @@
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.281.0",
24
- "@aws-sdk/config-resolver": "3.272.0",
25
- "@aws-sdk/credential-provider-node": "3.281.0",
26
- "@aws-sdk/fetch-http-handler": "3.272.0",
23
+ "@aws-sdk/client-sts": "3.282.0",
24
+ "@aws-sdk/config-resolver": "3.282.0",
25
+ "@aws-sdk/credential-provider-node": "3.282.0",
26
+ "@aws-sdk/fetch-http-handler": "3.282.0",
27
27
  "@aws-sdk/hash-node": "3.272.0",
28
28
  "@aws-sdk/invalid-dependency": "3.272.0",
29
- "@aws-sdk/middleware-content-length": "3.272.0",
30
- "@aws-sdk/middleware-endpoint": "3.272.0",
31
- "@aws-sdk/middleware-host-header": "3.278.0",
29
+ "@aws-sdk/middleware-content-length": "3.282.0",
30
+ "@aws-sdk/middleware-endpoint": "3.282.0",
31
+ "@aws-sdk/middleware-host-header": "3.282.0",
32
32
  "@aws-sdk/middleware-logger": "3.272.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.272.0",
34
- "@aws-sdk/middleware-retry": "3.272.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.282.0",
34
+ "@aws-sdk/middleware-retry": "3.282.0",
35
35
  "@aws-sdk/middleware-serde": "3.272.0",
36
- "@aws-sdk/middleware-signing": "3.272.0",
36
+ "@aws-sdk/middleware-signing": "3.282.0",
37
37
  "@aws-sdk/middleware-stack": "3.272.0",
38
- "@aws-sdk/middleware-user-agent": "3.272.0",
38
+ "@aws-sdk/middleware-user-agent": "3.282.0",
39
39
  "@aws-sdk/node-config-provider": "3.272.0",
40
- "@aws-sdk/node-http-handler": "3.272.0",
41
- "@aws-sdk/protocol-http": "3.272.0",
40
+ "@aws-sdk/node-http-handler": "3.282.0",
41
+ "@aws-sdk/protocol-http": "3.282.0",
42
42
  "@aws-sdk/smithy-client": "3.279.0",
43
43
  "@aws-sdk/types": "3.272.0",
44
44
  "@aws-sdk/url-parser": "3.272.0",
@@ -46,11 +46,11 @@
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
48
  "@aws-sdk/util-defaults-mode-browser": "3.279.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.279.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.282.0",
50
50
  "@aws-sdk/util-endpoints": "3.272.0",
51
51
  "@aws-sdk/util-retry": "3.272.0",
52
- "@aws-sdk/util-user-agent-browser": "3.272.0",
53
- "@aws-sdk/util-user-agent-node": "3.272.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.282.0",
53
+ "@aws-sdk/util-user-agent-node": "3.282.0",
54
54
  "@aws-sdk/util-utf8": "3.254.0",
55
55
  "@aws-sdk/util-waiter": "3.272.0",
56
56
  "tslib": "^2.3.1",