@aws-sdk/client-sagemaker 3.632.0 → 3.633.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
@@ -13386,6 +13386,11 @@ var de_Endpoint = /* @__PURE__ */ __name((output, context) => {
13386
13386
  Tags: (_) => de_TagList(_, context)
13387
13387
  });
13388
13388
  }, "de_Endpoint");
13389
+ var de_EndpointConfigStepMetadata = /* @__PURE__ */ __name((output, context) => {
13390
+ return (0, import_smithy_client.take)(output, {
13391
+ Arn: import_smithy_client.expectString
13392
+ });
13393
+ }, "de_EndpointConfigStepMetadata");
13389
13394
  var de_EndpointConfigSummary = /* @__PURE__ */ __name((output, context) => {
13390
13395
  return (0, import_smithy_client.take)(output, {
13391
13396
  CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
@@ -13468,6 +13473,11 @@ var de_Endpoints = /* @__PURE__ */ __name((output, context) => {
13468
13473
  });
13469
13474
  return retVal;
13470
13475
  }, "de_Endpoints");
13476
+ var de_EndpointStepMetadata = /* @__PURE__ */ __name((output, context) => {
13477
+ return (0, import_smithy_client.take)(output, {
13478
+ Arn: import_smithy_client.expectString
13479
+ });
13480
+ }, "de_EndpointStepMetadata");
13471
13481
  var de_EndpointSummary = /* @__PURE__ */ __name((output, context) => {
13472
13482
  return (0, import_smithy_client.take)(output, {
13473
13483
  CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
@@ -16478,6 +16488,8 @@ var de_PipelineExecutionStepMetadata = /* @__PURE__ */ __name((output, context)
16478
16488
  ClarifyCheck: (_) => de_ClarifyCheckStepMetadata(_, context),
16479
16489
  Condition: (_) => de_ConditionStepMetadata(_, context),
16480
16490
  EMR: (_) => de_EMRStepMetadata(_, context),
16491
+ Endpoint: (_) => de_EndpointStepMetadata(_, context),
16492
+ EndpointConfig: (_) => de_EndpointConfigStepMetadata(_, context),
16481
16493
  Fail: (_) => de_FailStepMetadata(_, context),
16482
16494
  Lambda: (_) => de_LambdaStepMetadata(_, context),
16483
16495
  Model: (_) => de_ModelStepMetadata(_, context),
@@ -11027,6 +11027,11 @@ const de_Endpoint = (output, context) => {
11027
11027
  Tags: (_) => de_TagList(_, context),
11028
11028
  });
11029
11029
  };
11030
+ const de_EndpointConfigStepMetadata = (output, context) => {
11031
+ return take(output, {
11032
+ Arn: __expectString,
11033
+ });
11034
+ };
11030
11035
  const de_EndpointConfigSummary = (output, context) => {
11031
11036
  return take(output, {
11032
11037
  CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -11117,6 +11122,11 @@ const de_Endpoints = (output, context) => {
11117
11122
  });
11118
11123
  return retVal;
11119
11124
  };
11125
+ const de_EndpointStepMetadata = (output, context) => {
11126
+ return take(output, {
11127
+ Arn: __expectString,
11128
+ });
11129
+ };
11120
11130
  const de_EndpointSummary = (output, context) => {
11121
11131
  return take(output, {
11122
11132
  CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -14305,6 +14315,8 @@ const de_PipelineExecutionStepMetadata = (output, context) => {
14305
14315
  ClarifyCheck: (_) => de_ClarifyCheckStepMetadata(_, context),
14306
14316
  Condition: (_) => de_ConditionStepMetadata(_, context),
14307
14317
  EMR: (_) => de_EMRStepMetadata(_, context),
14318
+ Endpoint: (_) => de_EndpointStepMetadata(_, context),
14319
+ EndpointConfig: (_) => de_EndpointConfigStepMetadata(_, context),
14308
14320
  Fail: (_) => de_FailStepMetadata(_, context),
14309
14321
  Lambda: (_) => de_LambdaStepMetadata(_, context),
14310
14322
  Model: (_) => de_ModelStepMetadata(_, context),
@@ -1,6 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListModelCardVersionsRequest, ListModelCardVersionsResponse } from "../models/models_3";
3
+ import { ListModelCardVersionsRequest } from "../models/models_3";
4
+ import { ListModelCardVersionsResponse } from "../models/models_4";
4
5
  import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
5
6
  /**
6
7
  * @public
@@ -130,6 +130,12 @@ declare const ListPipelineExecutionStepsCommand_base: {
130
130
  * // AutoMLJob: { // AutoMLJobStepMetadata
131
131
  * // Arn: "STRING_VALUE",
132
132
  * // },
133
+ * // Endpoint: { // EndpointStepMetadata
134
+ * // Arn: "STRING_VALUE",
135
+ * // },
136
+ * // EndpointConfig: { // EndpointConfigStepMetadata
137
+ * // Arn: "STRING_VALUE",
138
+ * // },
133
139
  * // },
134
140
  * // AttemptCount: Number("int"),
135
141
  * // SelectiveExecutionResult: { // SelectiveExecutionResult
@@ -4447,6 +4447,17 @@ export declare const EndpointConfigSortKey: {
4447
4447
  * @public
4448
4448
  */
4449
4449
  export type EndpointConfigSortKey = (typeof EndpointConfigSortKey)[keyof typeof EndpointConfigSortKey];
4450
+ /**
4451
+ * <p>Metadata for an endpoint configuration step.</p>
4452
+ * @public
4453
+ */
4454
+ export interface EndpointConfigStepMetadata {
4455
+ /**
4456
+ * <p>The Amazon Resource Name (ARN) of the endpoint configuration used in the step.</p>
4457
+ * @public
4458
+ */
4459
+ Arn?: string;
4460
+ }
4450
4461
  /**
4451
4462
  * <p>Provides summary information for an endpoint configuration.</p>
4452
4463
  * @public
@@ -4481,6 +4492,17 @@ export declare const EndpointSortKey: {
4481
4492
  * @public
4482
4493
  */
4483
4494
  export type EndpointSortKey = (typeof EndpointSortKey)[keyof typeof EndpointSortKey];
4495
+ /**
4496
+ * <p>Metadata for an endpoint step.</p>
4497
+ * @public
4498
+ */
4499
+ export interface EndpointStepMetadata {
4500
+ /**
4501
+ * <p>The Amazon Resource Name (ARN) of the endpoint in the step.</p>
4502
+ * @public
4503
+ */
4504
+ Arn?: string;
4505
+ }
4484
4506
  /**
4485
4507
  * <p>Provides summary information for an endpoint.</p>
4486
4508
  * @public
@@ -9950,77 +9972,6 @@ export interface ListModelCardVersionsRequest {
9950
9972
  */
9951
9973
  SortOrder?: ModelCardSortOrder;
9952
9974
  }
9953
- /**
9954
- * <p>A summary of a specific version of the model card.</p>
9955
- * @public
9956
- */
9957
- export interface ModelCardVersionSummary {
9958
- /**
9959
- * <p>The name of the model card.</p>
9960
- * @public
9961
- */
9962
- ModelCardName: string | undefined;
9963
- /**
9964
- * <p>The Amazon Resource Name (ARN) of the model card.</p>
9965
- * @public
9966
- */
9967
- ModelCardArn: string | undefined;
9968
- /**
9969
- * <p>The approval status of the model card version within your organization. Different organizations might have different criteria for model card review and approval.</p>
9970
- * <ul>
9971
- * <li>
9972
- * <p>
9973
- * <code>Draft</code>: The model card is a work in progress.</p>
9974
- * </li>
9975
- * <li>
9976
- * <p>
9977
- * <code>PendingReview</code>: The model card is pending review.</p>
9978
- * </li>
9979
- * <li>
9980
- * <p>
9981
- * <code>Approved</code>: The model card is approved.</p>
9982
- * </li>
9983
- * <li>
9984
- * <p>
9985
- * <code>Archived</code>: The model card is archived. No more updates should be made to the model
9986
- * card, but it can still be exported.</p>
9987
- * </li>
9988
- * </ul>
9989
- * @public
9990
- */
9991
- ModelCardStatus: ModelCardStatus | undefined;
9992
- /**
9993
- * <p>A version of the model card.</p>
9994
- * @public
9995
- */
9996
- ModelCardVersion: number | undefined;
9997
- /**
9998
- * <p>The date and time that the model card version was created.</p>
9999
- * @public
10000
- */
10001
- CreationTime: Date | undefined;
10002
- /**
10003
- * <p>The time date and time that the model card version was last modified.</p>
10004
- * @public
10005
- */
10006
- LastModifiedTime?: Date;
10007
- }
10008
- /**
10009
- * @public
10010
- */
10011
- export interface ListModelCardVersionsResponse {
10012
- /**
10013
- * <p>The summaries of the listed versions of the model card.</p>
10014
- * @public
10015
- */
10016
- ModelCardVersionSummaryList: ModelCardVersionSummary[] | undefined;
10017
- /**
10018
- * <p>If the response is truncated, SageMaker returns this token. To retrieve the next set of model
10019
- * card versions, use it in the subsequent request.</p>
10020
- * @public
10021
- */
10022
- NextToken?: string;
10023
- }
10024
9975
  /**
10025
9976
  * @internal
10026
9977
  */
@@ -1,7 +1,78 @@
1
1
  import { ActionStatus, AdditionalInferenceSpecificationDefinition, AlgorithmSpecification, AppNetworkAccessType, AppSecurityGroupManagement, AppSpecification, AppType, AutoMLJobStepMetadata, BatchDataCaptureConfig, BatchStrategy, BatchTransformInput, BooleanOperator, CacheHitResult, CallbackStepMetadata, Channel, CheckpointConfig, ClarifyCheckStepMetadata, ClusterInstanceGroupSpecification, CodeEditorAppImageConfig, ConditionStepMetadata, ContainerDefinition, InferenceSpecification, JupyterLabAppImageConfig, KernelGatewayImageConfig, MetadataProperties, ModelApprovalStatus, ModelPackageStatus, OutputDataConfig, OutputParameter, ResourceConfig, StoppingCondition, Tag, TransformInput, TransformOutput, TransformResources, UserContext, VpcConfig } from "./models_0";
2
2
  import { _InstanceType, DefaultSpaceSettings, DeploymentConfig, DriftCheckBaselines, EdgeOutputConfig, ExperimentConfig, FeatureDefinition, InferenceComponentRuntimeConfig, InferenceComponentSpecification, InferenceExecutionConfig, InferenceExperimentDataStorageConfig, InferenceExperimentSchedule, InstanceMetadataServiceConfiguration, JobType, ModelCardSecurityConfig, ModelCardStatus, ModelMetrics, ModelPackageModelCard, ModelPackageSecurityConfig, ModelPackageValidationSpecification, ModelVariantConfig, MonitoringScheduleConfig, MonitoringType, NetworkConfig, NotebookInstanceAcceleratorType, NotebookInstanceLifecycleHook, OptimizationJobDeploymentInstanceType, ParallelismConfiguration, PipelineDefinitionS3Location, Processor, RetryStrategy, RootAccess, ShadowModeConfig, SkipModelValidation, SourceAlgorithmSpecification, ThroughputMode, TrackingServerSize, TtlDuration, UiTemplate, UserSettings, VendorGuidance } from "./models_1";
3
3
  import { CrossAccountFilterOption, DataProcessing, DebugHookConfig, DebugRuleConfiguration, DebugRuleEvaluationStatus, DeploymentRecommendation, EndpointStatus, FeatureParameter, HyperParameterTrainingJobSummary, MemberDefinition, ModelArtifacts, ModelClientConfig, NotificationConfiguration, OidcConfig, ProcessingInput, ProcessingOutputConfig, ProcessingResources, ProcessingStoppingCondition, ProfilerConfig, ProfilerRuleConfiguration, ProvisioningParameter, ServiceCatalogProvisioningDetails, SharingType, SourceIpConfig, SpaceSettings, SpaceStorageSettings, StudioLifecycleConfigAppType, TensorBoardOutputConfig, TrainingJobStatus, TrialComponentArtifact, TrialComponentParameterValue, TrialComponentStatus, WorkerAccessConfiguration, WorkforceVpcConfigRequest } from "./models_2";
4
- import { DesiredWeightAndCapacity, Device, DeviceDeploymentSummary, Direction, DomainSettingsForUpdate, Edge, EMRStepMetadata, Endpoint, ExecutionStatus, Experiment, FailStepMetadata, FeatureGroup, FeatureMetadata, Filter, GitConfigForUpdate, HyperParameterTuningJobSearchEntity, InferenceExperimentStopDesiredState, LambdaStepMetadata, LineageType, MetricData, ModelPackageGroupStatus, ModelPackageStatusDetails, MonitoringExecutionSummary, MonitoringJobDefinitionSortKey, MonitoringJobDefinitionSummary, NotebookInstanceStatus, OptimizationJobStatus, OrderKey, PipelineExecutionStatus, PipelineExperimentConfig, PipelineStatus, ProcessingJobStatus, ProjectStatus, ResourceType, ScheduleStatus, SecondaryStatus, SecondaryStatusTransition, SelectiveExecutionConfig, ServiceCatalogProvisionedProductDetails, SortBy, SortOrder, SpaceStatus, SubscribedWorkteam, TransformJobStatus, TrialComponentMetricSummary, TrialComponentSource, TrialSource, UserProfileStatus, WarmPoolResourceStatus, WarmPoolStatus, Workforce, Workteam } from "./models_3";
4
+ import { DesiredWeightAndCapacity, Device, DeviceDeploymentSummary, Direction, DomainSettingsForUpdate, Edge, EMRStepMetadata, Endpoint, EndpointConfigStepMetadata, EndpointStepMetadata, ExecutionStatus, Experiment, FailStepMetadata, FeatureGroup, FeatureMetadata, Filter, GitConfigForUpdate, HyperParameterTuningJobSearchEntity, InferenceExperimentStopDesiredState, LambdaStepMetadata, LineageType, MetricData, ModelPackageGroupStatus, ModelPackageStatusDetails, MonitoringExecutionSummary, MonitoringJobDefinitionSortKey, MonitoringJobDefinitionSummary, NotebookInstanceStatus, OptimizationJobStatus, OrderKey, PipelineExecutionStatus, PipelineExperimentConfig, PipelineStatus, ProcessingJobStatus, ProjectStatus, ResourceType, ScheduleStatus, SecondaryStatus, SecondaryStatusTransition, SelectiveExecutionConfig, ServiceCatalogProvisionedProductDetails, SortBy, SortOrder, SpaceStatus, SubscribedWorkteam, TransformJobStatus, TrialComponentMetricSummary, TrialComponentSource, TrialSource, UserProfileStatus, WarmPoolResourceStatus, WarmPoolStatus, Workforce, Workteam } from "./models_3";
5
+ /**
6
+ * <p>A summary of a specific version of the model card.</p>
7
+ * @public
8
+ */
9
+ export interface ModelCardVersionSummary {
10
+ /**
11
+ * <p>The name of the model card.</p>
12
+ * @public
13
+ */
14
+ ModelCardName: string | undefined;
15
+ /**
16
+ * <p>The Amazon Resource Name (ARN) of the model card.</p>
17
+ * @public
18
+ */
19
+ ModelCardArn: string | undefined;
20
+ /**
21
+ * <p>The approval status of the model card version within your organization. Different organizations might have different criteria for model card review and approval.</p>
22
+ * <ul>
23
+ * <li>
24
+ * <p>
25
+ * <code>Draft</code>: The model card is a work in progress.</p>
26
+ * </li>
27
+ * <li>
28
+ * <p>
29
+ * <code>PendingReview</code>: The model card is pending review.</p>
30
+ * </li>
31
+ * <li>
32
+ * <p>
33
+ * <code>Approved</code>: The model card is approved.</p>
34
+ * </li>
35
+ * <li>
36
+ * <p>
37
+ * <code>Archived</code>: The model card is archived. No more updates should be made to the model
38
+ * card, but it can still be exported.</p>
39
+ * </li>
40
+ * </ul>
41
+ * @public
42
+ */
43
+ ModelCardStatus: ModelCardStatus | undefined;
44
+ /**
45
+ * <p>A version of the model card.</p>
46
+ * @public
47
+ */
48
+ ModelCardVersion: number | undefined;
49
+ /**
50
+ * <p>The date and time that the model card version was created.</p>
51
+ * @public
52
+ */
53
+ CreationTime: Date | undefined;
54
+ /**
55
+ * <p>The time date and time that the model card version was last modified.</p>
56
+ * @public
57
+ */
58
+ LastModifiedTime?: Date;
59
+ }
60
+ /**
61
+ * @public
62
+ */
63
+ export interface ListModelCardVersionsResponse {
64
+ /**
65
+ * <p>The summaries of the listed versions of the model card.</p>
66
+ * @public
67
+ */
68
+ ModelCardVersionSummaryList: ModelCardVersionSummary[] | undefined;
69
+ /**
70
+ * <p>If the response is truncated, SageMaker returns this token. To retrieve the next set of model
71
+ * card versions, use it in the subsequent request.</p>
72
+ * @public
73
+ */
74
+ NextToken?: string;
75
+ }
5
76
  /**
6
77
  * @public
7
78
  */
@@ -2008,6 +2079,16 @@ export interface PipelineExecutionStepMetadata {
2008
2079
  * @public
2009
2080
  */
2010
2081
  AutoMLJob?: AutoMLJobStepMetadata;
2082
+ /**
2083
+ * <p>The endpoint that was invoked during this step execution.</p>
2084
+ * @public
2085
+ */
2086
+ Endpoint?: EndpointStepMetadata;
2087
+ /**
2088
+ * <p>The endpoint configuration used to create an endpoint during this step execution.</p>
2089
+ * @public
2090
+ */
2091
+ EndpointConfig?: EndpointConfigStepMetadata;
2011
2092
  }
2012
2093
  /**
2013
2094
  * <p>The ARN from an execution of the current pipeline.</p>
@@ -1,9 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- ListModelCardVersionsRequest,
5
- ListModelCardVersionsResponse,
6
- } from "../models/models_3";
3
+ import { ListModelCardVersionsRequest } from "../models/models_3";
4
+ import { ListModelCardVersionsResponse } from "../models/models_4";
7
5
  import {
8
6
  SageMakerClientResolvedConfig,
9
7
  ServiceInputTypes,
@@ -1166,6 +1166,9 @@ export declare const EndpointConfigSortKey: {
1166
1166
  };
1167
1167
  export type EndpointConfigSortKey =
1168
1168
  (typeof EndpointConfigSortKey)[keyof typeof EndpointConfigSortKey];
1169
+ export interface EndpointConfigStepMetadata {
1170
+ Arn?: string;
1171
+ }
1169
1172
  export interface EndpointConfigSummary {
1170
1173
  EndpointConfigName: string | undefined;
1171
1174
  EndpointConfigArn: string | undefined;
@@ -1178,6 +1181,9 @@ export declare const EndpointSortKey: {
1178
1181
  };
1179
1182
  export type EndpointSortKey =
1180
1183
  (typeof EndpointSortKey)[keyof typeof EndpointSortKey];
1184
+ export interface EndpointStepMetadata {
1185
+ Arn?: string;
1186
+ }
1181
1187
  export interface EndpointSummary {
1182
1188
  EndpointName: string | undefined;
1183
1189
  EndpointArn: string | undefined;
@@ -2444,18 +2450,6 @@ export interface ListModelCardVersionsRequest {
2444
2450
  SortBy?: ModelCardVersionSortBy;
2445
2451
  SortOrder?: ModelCardSortOrder;
2446
2452
  }
2447
- export interface ModelCardVersionSummary {
2448
- ModelCardName: string | undefined;
2449
- ModelCardArn: string | undefined;
2450
- ModelCardStatus: ModelCardStatus | undefined;
2451
- ModelCardVersion: number | undefined;
2452
- CreationTime: Date | undefined;
2453
- LastModifiedTime?: Date;
2454
- }
2455
- export interface ListModelCardVersionsResponse {
2456
- ModelCardVersionSummaryList: ModelCardVersionSummary[] | undefined;
2457
- NextToken?: string;
2458
- }
2459
2453
  export declare const DescribeModelCardResponseFilterSensitiveLog: (
2460
2454
  obj: DescribeModelCardResponse
2461
2455
  ) => any;
@@ -125,6 +125,8 @@ import {
125
125
  Edge,
126
126
  EMRStepMetadata,
127
127
  Endpoint,
128
+ EndpointConfigStepMetadata,
129
+ EndpointStepMetadata,
128
130
  ExecutionStatus,
129
131
  Experiment,
130
132
  FailStepMetadata,
@@ -170,6 +172,18 @@ import {
170
172
  Workforce,
171
173
  Workteam,
172
174
  } from "./models_3";
175
+ export interface ModelCardVersionSummary {
176
+ ModelCardName: string | undefined;
177
+ ModelCardArn: string | undefined;
178
+ ModelCardStatus: ModelCardStatus | undefined;
179
+ ModelCardVersion: number | undefined;
180
+ CreationTime: Date | undefined;
181
+ LastModifiedTime?: Date;
182
+ }
183
+ export interface ListModelCardVersionsResponse {
184
+ ModelCardVersionSummaryList: ModelCardVersionSummary[] | undefined;
185
+ NextToken?: string;
186
+ }
173
187
  export interface ListModelExplainabilityJobDefinitionsRequest {
174
188
  EndpointName?: string;
175
189
  SortBy?: MonitoringJobDefinitionSortKey;
@@ -630,6 +644,8 @@ export interface PipelineExecutionStepMetadata {
630
644
  ClarifyCheck?: ClarifyCheckStepMetadata;
631
645
  Fail?: FailStepMetadata;
632
646
  AutoMLJob?: AutoMLJobStepMetadata;
647
+ Endpoint?: EndpointStepMetadata;
648
+ EndpointConfig?: EndpointConfigStepMetadata;
633
649
  }
634
650
  export interface SelectiveExecutionResult {
635
651
  SourcePipelineExecutionArn?: string;
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.632.0",
4
+ "version": "3.633.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",