Skip to content

Commit c5ed6cc

Browse files
author
awstools
committed
feat(client-sagemaker): This release introduces Skip Model Validation for Model Packages
1 parent 61d5e22 commit c5ed6cc

14 files changed

+366
-292
lines changed

clients/client-sagemaker/src/commands/CreateDataQualityJobDefinitionCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ export interface CreateDataQualityJobDefinitionCommandOutput
4242
/**
4343
* @public
4444
* <p>Creates a definition for a job that monitors data quality and drift. For information
45-
* about model monitor, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor.html">Amazon SageMaker Model Monitor</a>.</p>
45+
* about model monitor, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor.html">Amazon SageMaker Model
46+
* Monitor</a>.</p>
4647
* @example
4748
* Use a bare-bones client and the command you need to make an API call.
4849
* ```javascript

clients/client-sagemaker/src/commands/CreateModelPackageCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ export interface CreateModelPackageCommandOutput extends CreateModelPackageOutpu
266266
* ],
267267
* },
268268
* ],
269+
* SkipModelValidation: "All" || "None",
269270
* };
270271
* const command = new CreateModelPackageCommand(input);
271272
* const response = await client.send(command);

clients/client-sagemaker/src/commands/CreateModelQualityJobDefinitionCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ export interface CreateModelQualityJobDefinitionCommandOutput
4242
/**
4343
* @public
4444
* <p>Creates a definition for a job that monitors model quality and drift. For information
45-
* about model monitor, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor.html">Amazon SageMaker Model Monitor</a>.</p>
45+
* about model monitor, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor.html">Amazon SageMaker Model
46+
* Monitor</a>.</p>
4647
* @example
4748
* Use a bare-bones client and the command you need to make an API call.
4849
* ```javascript

clients/client-sagemaker/src/commands/CreateMonitoringScheduleCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ export interface CreateMonitoringScheduleCommandOutput extends CreateMonitoringS
3636

3737
/**
3838
* @public
39-
* <p>Creates a schedule that regularly starts Amazon SageMaker Processing Jobs to monitor the data
40-
* captured for an Amazon SageMaker Endpoint.</p>
39+
* <p>Creates a schedule that regularly starts Amazon SageMaker Processing Jobs to
40+
* monitor the data captured for an Amazon SageMaker Endpoint.</p>
4141
* @example
4242
* Use a bare-bones client and the command you need to make an API call.
4343
* ```javascript

clients/client-sagemaker/src/commands/DeleteEndpointConfigCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
SerdeContext as __SerdeContext,
1414
} from "@smithy/types";
1515

16-
import { DeleteEndpointConfigInput } from "../models/models_1";
16+
import { DeleteEndpointConfigInput } from "../models/models_2";
1717
import { de_DeleteEndpointConfigCommand, se_DeleteEndpointConfigCommand } from "../protocols/Aws_json1_1";
1818
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
1919

clients/client-sagemaker/src/commands/DescribeModelPackageCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ export interface DescribeModelPackageCommandOutput extends DescribeModelPackageO
290290
* // ],
291291
* // },
292292
* // ],
293+
* // SkipModelValidation: "All" || "None",
293294
* // };
294295
*
295296
* ```

clients/client-sagemaker/src/commands/SearchCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1276,6 +1276,7 @@ export interface SearchCommandOutput extends SearchResponse, __MetadataBearer {}
12761276
* // Constraints: "<MetricsSource>",
12771277
* // },
12781278
* // },
1279+
* // SkipModelValidation: "All" || "None",
12791280
* // },
12801281
* // ModelPackageGroup: { // ModelPackageGroup
12811282
* // ModelPackageGroupName: "STRING_VALUE",

clients/client-sagemaker/src/models/models_0.ts

Lines changed: 37 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -6739,8 +6739,7 @@ export interface MonitoringCsvDatasetFormat {
67396739
export interface MonitoringJsonDatasetFormat {
67406740
/**
67416741
* @public
6742-
* <p>Indicates if the file should be read as a json object per line.
6743-
* </p>
6742+
* <p>Indicates if the file should be read as a JSON object per line. </p>
67446743
*/
67456744
Line?: boolean;
67466745
}
@@ -7336,19 +7335,21 @@ export interface CanvasAppSettings {
73367335

73377336
/**
73387337
* @public
7339-
* <p>Configuration specifying how to treat different headers. If no headers are specified SageMaker
7340-
* will by default base64 encode when capturing the data.</p>
7338+
* <p>Configuration specifying how to treat different headers. If no headers are specified
7339+
* Amazon SageMaker will by default base64 encode when capturing the data.</p>
73417340
*/
73427341
export interface CaptureContentTypeHeader {
73437342
/**
73447343
* @public
7345-
* <p>The list of all content type headers that SageMaker will treat as CSV and capture accordingly.</p>
7344+
* <p>The list of all content type headers that Amazon SageMaker will treat as CSV and
7345+
* capture accordingly.</p>
73467346
*/
73477347
CsvContentTypes?: string[];
73487348

73497349
/**
73507350
* @public
7351-
* <p>The list of all content type headers that SageMaker will treat as JSON and capture accordingly.</p>
7351+
* <p>The list of all content type headers that SageMaker will treat as JSON and
7352+
* capture accordingly.</p>
73527353
*/
73537354
JsonContentTypes?: string[];
73547355
}
@@ -10835,16 +10836,15 @@ export interface DataQualityAppSpecification {
1083510836
/**
1083610837
* @public
1083710838
* <p>An Amazon S3 URI to a script that is called per row prior to running analysis. It can
10838-
* base64 decode the payload and convert it into a flatted json so that the built-in container
10839-
* can use the converted data. Applicable only for the built-in (first party)
10840-
* containers.</p>
10839+
* base64 decode the payload and convert it into a flattened JSON so that the built-in container can use
10840+
* the converted data. Applicable only for the built-in (first party) containers.</p>
1084110841
*/
1084210842
RecordPreprocessorSourceUri?: string;
1084310843

1084410844
/**
1084510845
* @public
10846-
* <p>An Amazon S3 URI to a script that is called after analysis has been performed.
10847-
* Applicable only for the built-in (first party) containers.</p>
10846+
* <p>An Amazon S3 URI to a script that is called after analysis has been performed. Applicable
10847+
* only for the built-in (first party) containers.</p>
1084810848
*/
1084910849
PostAnalyticsProcessorSourceUri?: string;
1085010850

@@ -10881,9 +10881,9 @@ export interface MonitoringStatisticsResource {
1088110881

1088210882
/**
1088310883
* @public
10884-
* <p>Configuration for monitoring constraints and monitoring statistics. These baseline
10885-
* resources are compared against the results of the current job from the series of jobs
10886-
* scheduled to collect data periodically.</p>
10884+
* <p>Configuration for monitoring constraints and monitoring statistics. These baseline resources are
10885+
* compared against the results of the current job from the series of jobs scheduled to collect data
10886+
* periodically.</p>
1088710887
*/
1088810888
export interface DataQualityBaselineConfig {
1088910889
/**
@@ -10934,8 +10934,8 @@ export interface EndpointInput {
1093410934

1093510935
/**
1093610936
* @public
10937-
* <p>Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key.
10938-
* Defaults to <code>FullyReplicated</code>
10937+
* <p>Whether input data distributed in Amazon S3 is fully replicated or sharded by an
10938+
* Amazon S3 key. Defaults to <code>FullyReplicated</code>
1093910939
* </p>
1094010940
*/
1094110941
S3DataDistributionType?: ProcessingS3DataDistributionType | string;
@@ -11022,15 +11022,16 @@ export type ProcessingS3UploadMode = (typeof ProcessingS3UploadMode)[keyof typeo
1102211022
export interface MonitoringS3Output {
1102311023
/**
1102411024
* @public
11025-
* <p>A URI that identifies the Amazon S3 storage location where Amazon SageMaker saves the results of a
11026-
* monitoring job.</p>
11025+
* <p>A URI that identifies the Amazon S3 storage location where Amazon SageMaker
11026+
* saves the results of a monitoring job.</p>
1102711027
*/
1102811028
S3Uri: string | undefined;
1102911029

1103011030
/**
1103111031
* @public
11032-
* <p>The local path to the Amazon S3 storage location where Amazon SageMaker saves the results of a
11033-
* monitoring job. LocalPath is an absolute path for the output data.</p>
11032+
* <p>The local path to the Amazon S3 storage location where Amazon SageMaker
11033+
* saves the results of a monitoring job. LocalPath is an absolute path for the output
11034+
* data.</p>
1103411035
*/
1103511036
LocalPath: string | undefined;
1103611037

@@ -11049,7 +11050,8 @@ export interface MonitoringS3Output {
1104911050
export interface MonitoringOutput {
1105011051
/**
1105111052
* @public
11052-
* <p>The Amazon S3 storage location where the results of a monitoring job are saved.</p>
11053+
* <p>The Amazon S3 storage location where the results of a monitoring job are
11054+
* saved.</p>
1105311055
*/
1105411056
S3Output: MonitoringS3Output | undefined;
1105511057
}
@@ -11068,8 +11070,8 @@ export interface MonitoringOutputConfig {
1106811070

1106911071
/**
1107011072
* @public
11071-
* <p>The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt the model
11072-
* artifacts at rest using Amazon S3 server-side encryption.</p>
11073+
* <p>The Key Management Service (KMS) key that Amazon SageMaker uses to
11074+
* encrypt the model artifacts at rest using Amazon S3 server-side encryption.</p>
1107311075
*/
1107411076
KmsKeyId?: string;
1107511077
}
@@ -11157,9 +11159,9 @@ export interface MonitoringClusterConfig {
1115711159

1115811160
/**
1115911161
* @public
11160-
* <p>The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data
11161-
* on the storage volume attached to the ML compute instance(s) that run the model monitoring
11162-
* job.</p>
11162+
* <p>The Key Management Service (KMS) key that Amazon SageMaker uses to
11163+
* encrypt data on the storage volume attached to the ML compute instance(s) that run the
11164+
* model monitoring job.</p>
1116311165
*/
1116411166
VolumeKmsKeyId?: string;
1116511167
}
@@ -11215,9 +11217,10 @@ export interface MonitoringStoppingCondition {
1121511217
* @public
1121611218
* <p>The maximum runtime allowed in seconds.</p>
1121711219
* <note>
11218-
* <p>The <code>MaxRuntimeInSeconds</code> cannot exceed the frequency of the job. For data quality and
11219-
* model explainability, this can be up to 3600 seconds for an hourly schedule. For model
11220-
* bias and model quality hourly schedules, this can be up to 1800 seconds.</p>
11220+
* <p>The <code>MaxRuntimeInSeconds</code> cannot exceed the frequency of the job. For data
11221+
* quality and model explainability, this can be up to 3600 seconds for an hourly schedule.
11222+
* For model bias and model quality hourly schedules, this can be up to 1800
11223+
* seconds.</p>
1122111224
* </note>
1122211225
*/
1122311226
MaxRuntimeInSeconds: number | undefined;
@@ -11272,8 +11275,8 @@ export interface CreateDataQualityJobDefinitionRequest {
1127211275

1127311276
/**
1127411277
* @public
11275-
* <p>The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to
11276-
* perform tasks on your behalf.</p>
11278+
* <p>The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can
11279+
* assume to perform tasks on your behalf.</p>
1127711280
*/
1127811281
RoleArn: string | undefined;
1127911282

@@ -11285,8 +11288,9 @@ export interface CreateDataQualityJobDefinitionRequest {
1128511288

1128611289
/**
1128711290
* @public
11288-
* <p>(Optional) An array of key-value pairs. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL">Using Cost Allocation Tags</a> in the <i>Amazon Web Services Billing and Cost Management
11289-
* User Guide</i>.</p>
11291+
* <p>(Optional) An array of key-value pairs. For more information, see
11292+
* <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL">
11293+
* Using Cost Allocation Tags</a> in the <i>Amazon Web Services Billing and Cost Management User Guide</i>.</p>
1129011294
*/
1129111295
Tags?: Tag[];
1129211296
}

0 commit comments

Comments
 (0)