@aws-sdk/client-sagemaker 3.656.0 → 3.658.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 (38) hide show
  1. package/dist-cjs/index.js +44 -12
  2. package/dist-es/models/index.js +1 -0
  3. package/dist-es/models/models_1.js +4 -0
  4. package/dist-es/models/models_3.js +0 -9
  5. package/dist-es/models/models_4.js +9 -0
  6. package/dist-es/models/models_5.js +1 -0
  7. package/dist-es/protocols/Aws_json1_1.js +32 -0
  8. package/dist-types/commands/CreateDomainCommand.d.ts +12 -1
  9. package/dist-types/commands/CreateLabelingJobCommand.d.ts +1 -1
  10. package/dist-types/commands/CreatePresignedDomainUrlCommand.d.ts +2 -1
  11. package/dist-types/commands/CreatePresignedMlflowTrackingServerUrlCommand.d.ts +1 -2
  12. package/dist-types/commands/CreateUserProfileCommand.d.ts +12 -1
  13. package/dist-types/commands/DescribeDomainCommand.d.ts +12 -1
  14. package/dist-types/commands/DescribeLabelingJobCommand.d.ts +1 -1
  15. package/dist-types/commands/DescribeLineageGroupCommand.d.ts +1 -1
  16. package/dist-types/commands/DescribeUserProfileCommand.d.ts +12 -1
  17. package/dist-types/commands/ListLabelingJobsCommand.d.ts +1 -1
  18. package/dist-types/commands/SearchCommand.d.ts +2 -1
  19. package/dist-types/commands/UpdateDomainCommand.d.ts +12 -1
  20. package/dist-types/commands/UpdateUserProfileCommand.d.ts +12 -1
  21. package/dist-types/models/index.d.ts +1 -0
  22. package/dist-types/models/models_0.d.ts +6 -3
  23. package/dist-types/models/models_1.d.ts +53 -35
  24. package/dist-types/models/models_2.d.ts +39 -61
  25. package/dist-types/models/models_3.d.ts +58 -26
  26. package/dist-types/models/models_4.d.ts +27 -121
  27. package/dist-types/models/models_5.d.ts +123 -0
  28. package/dist-types/ts3.4/commands/CreatePresignedDomainUrlCommand.d.ts +2 -4
  29. package/dist-types/ts3.4/commands/CreatePresignedMlflowTrackingServerUrlCommand.d.ts +4 -2
  30. package/dist-types/ts3.4/commands/DescribeLineageGroupCommand.d.ts +1 -1
  31. package/dist-types/ts3.4/commands/SearchCommand.d.ts +2 -1
  32. package/dist-types/ts3.4/models/index.d.ts +1 -0
  33. package/dist-types/ts3.4/models/models_1.d.ts +15 -10
  34. package/dist-types/ts3.4/models/models_2.d.ts +8 -13
  35. package/dist-types/ts3.4/models/models_3.d.ts +14 -14
  36. package/dist-types/ts3.4/models/models_4.d.ts +13 -20
  37. package/dist-types/ts3.4/models/models_5.d.ts +24 -0
  38. package/package.json +5 -5
@@ -0,0 +1,123 @@
1
+ import { BooleanOperator } from "./models_0";
2
+ import { CrossAccountFilterOption } from "./models_2";
3
+ import { Filter, ResourceType } from "./models_3";
4
+ import { NestedFilters, SearchSortOrder, VisibilityConditions } from "./models_4";
5
+ /**
6
+ * <p>A multi-expression that searches for the specified resource or resources in a search. All resource
7
+ * objects that satisfy the expression's condition are included in the search results. You must specify at
8
+ * least one subexpression, filter, or nested filter. A <code>SearchExpression</code> can contain up to
9
+ * twenty elements.</p>
10
+ * <p>A <code>SearchExpression</code> contains the following components:</p>
11
+ * <ul>
12
+ * <li>
13
+ * <p>A list of <code>Filter</code> objects. Each filter defines a simple Boolean
14
+ * expression comprised of a resource property name, Boolean operator, and
15
+ * value.</p>
16
+ * </li>
17
+ * <li>
18
+ * <p>A list of <code>NestedFilter</code> objects. Each nested filter defines a list
19
+ * of Boolean expressions using a list of resource properties. A nested filter is
20
+ * satisfied if a single object in the list satisfies all Boolean
21
+ * expressions.</p>
22
+ * </li>
23
+ * <li>
24
+ * <p>A list of <code>SearchExpression</code> objects. A search expression object
25
+ * can be nested in a list of search expression objects.</p>
26
+ * </li>
27
+ * <li>
28
+ * <p>A Boolean operator: <code>And</code> or <code>Or</code>.</p>
29
+ * </li>
30
+ * </ul>
31
+ * @public
32
+ */
33
+ export interface SearchExpression {
34
+ /**
35
+ * <p>A list of filter objects.</p>
36
+ * @public
37
+ */
38
+ Filters?: Filter[];
39
+ /**
40
+ * <p>A list of nested filter objects.</p>
41
+ * @public
42
+ */
43
+ NestedFilters?: NestedFilters[];
44
+ /**
45
+ * <p>A list of search expression objects.</p>
46
+ * @public
47
+ */
48
+ SubExpressions?: SearchExpression[];
49
+ /**
50
+ * <p>A Boolean operator used to evaluate the search expression. If you want every
51
+ * conditional statement in all lists to be satisfied for the entire search expression to
52
+ * be true, specify <code>And</code>. If only a single conditional statement needs to be
53
+ * true for the entire search expression to be true, specify <code>Or</code>. The default
54
+ * value is <code>And</code>.</p>
55
+ * @public
56
+ */
57
+ Operator?: BooleanOperator;
58
+ }
59
+ /**
60
+ * @public
61
+ */
62
+ export interface SearchRequest {
63
+ /**
64
+ * <p>The name of the SageMaker resource to search for.</p>
65
+ * @public
66
+ */
67
+ Resource: ResourceType | undefined;
68
+ /**
69
+ * <p>A Boolean conditional statement. Resources must satisfy this condition to be
70
+ * included in search results. You must provide at least one subexpression, filter, or
71
+ * nested filter. The maximum number of recursive <code>SubExpressions</code>,
72
+ * <code>NestedFilters</code>, and <code>Filters</code> that can be included in a
73
+ * <code>SearchExpression</code> object is 50.</p>
74
+ * @public
75
+ */
76
+ SearchExpression?: SearchExpression;
77
+ /**
78
+ * <p>The name of the resource property used to sort the <code>SearchResults</code>. The
79
+ * default is <code>LastModifiedTime</code>.</p>
80
+ * @public
81
+ */
82
+ SortBy?: string;
83
+ /**
84
+ * <p>How <code>SearchResults</code> are ordered. Valid values are <code>Ascending</code> or
85
+ * <code>Descending</code>. The default is <code>Descending</code>.</p>
86
+ * @public
87
+ */
88
+ SortOrder?: SearchSortOrder;
89
+ /**
90
+ * <p>If more than <code>MaxResults</code> resources match the specified
91
+ * <code>SearchExpression</code>, the response includes a
92
+ * <code>NextToken</code>. The <code>NextToken</code> can be passed to the next
93
+ * <code>SearchRequest</code> to continue retrieving results.</p>
94
+ * @public
95
+ */
96
+ NextToken?: string;
97
+ /**
98
+ * <p>The maximum number of results to return.</p>
99
+ * @public
100
+ */
101
+ MaxResults?: number;
102
+ /**
103
+ * <p>
104
+ * A cross account filter option. When the value is <code>"CrossAccount"</code> the
105
+ * search results will only include resources made discoverable to you from other
106
+ * accounts. When the value is <code>"SameAccount"</code> or <code>null</code> the
107
+ * search results will only include resources from your account. Default is
108
+ * <code>null</code>. For more information on searching for resources made
109
+ * discoverable to your account, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/feature-store-cross-account-discoverability-use.html">
110
+ * Search discoverable resources</a> in the SageMaker Developer Guide.
111
+ * The maximum number of <code>ResourceCatalog</code>s viewable is 1000.
112
+ * </p>
113
+ * @public
114
+ */
115
+ CrossAccountFilterOption?: CrossAccountFilterOption;
116
+ /**
117
+ * <p>
118
+ * Limits the results of your search request to the resources that you can access.
119
+ * </p>
120
+ * @public
121
+ */
122
+ VisibilityConditions?: VisibilityConditions[];
123
+ }
@@ -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
- CreatePresignedDomainUrlRequest,
5
- CreatePresignedDomainUrlResponse,
6
- } from "../models/models_1";
3
+ import { CreatePresignedDomainUrlRequest } from "../models/models_1";
4
+ import { CreatePresignedDomainUrlResponse } from "../models/models_2";
7
5
  import {
8
6
  SageMakerClientResolvedConfig,
9
7
  ServiceInputTypes,
@@ -1,7 +1,9 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { CreatePresignedMlflowTrackingServerUrlRequest } from "../models/models_1";
4
- import { CreatePresignedMlflowTrackingServerUrlResponse } from "../models/models_2";
3
+ import {
4
+ CreatePresignedMlflowTrackingServerUrlRequest,
5
+ CreatePresignedMlflowTrackingServerUrlResponse,
6
+ } from "../models/models_2";
5
7
  import {
6
8
  SageMakerClientResolvedConfig,
7
9
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  DescribeLineageGroupRequest,
5
5
  DescribeLineageGroupResponse,
6
- } from "../models/models_2";
6
+ } from "../models/models_3";
7
7
  import {
8
8
  SageMakerClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -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 { SearchRequest, SearchResponse } from "../models/models_4";
3
+ import { SearchResponse } from "../models/models_4";
4
+ import { SearchRequest } from "../models/models_5";
4
5
  import {
5
6
  SageMakerClientResolvedConfig,
6
7
  ServiceInputTypes,
@@ -3,3 +3,4 @@ export * from "./models_1";
3
3
  export * from "./models_2";
4
4
  export * from "./models_3";
5
5
  export * from "./models_4";
6
+ export * from "./models_5";
@@ -6,6 +6,7 @@ import {
6
6
  AdditionalInferenceSpecificationDefinition,
7
7
  AmazonQSettings,
8
8
  AnnotationConsolidationConfig,
9
+ AppInstanceType,
9
10
  AppLifecycleManagement,
10
11
  AppNetworkAccessType,
11
12
  AppSecurityGroupManagement,
@@ -507,14 +508,26 @@ export declare const MlTools: {
507
508
  readonly JUMP_START: "JumpStart";
508
509
  readonly MODELS: "Models";
509
510
  readonly MODEL_EVALUATION: "ModelEvaluation";
511
+ readonly PERFORMANCE_EVALUATION: "PerformanceEvaluation";
510
512
  readonly PIPELINES: "Pipelines";
511
513
  readonly PROJECTS: "Projects";
512
514
  readonly TRAINING: "Training";
513
515
  };
514
516
  export type MlTools = (typeof MlTools)[keyof typeof MlTools];
517
+ export declare const SageMakerImageName: {
518
+ readonly sagemaker_distribution: "sagemaker_distribution";
519
+ };
520
+ export type SageMakerImageName =
521
+ (typeof SageMakerImageName)[keyof typeof SageMakerImageName];
522
+ export interface HiddenSageMakerImage {
523
+ SageMakerImageName?: SageMakerImageName;
524
+ VersionAliases?: string[];
525
+ }
515
526
  export interface StudioWebPortalSettings {
516
527
  HiddenMlTools?: MlTools[];
517
528
  HiddenAppTypes?: AppType[];
529
+ HiddenInstanceTypes?: AppInstanceType[];
530
+ HiddenSageMakerImageVersionAliases?: HiddenSageMakerImage[];
518
531
  }
519
532
  export interface TensorBoardAppSettings {
520
533
  DefaultResourceSpec?: ResourceSpec;
@@ -1476,7 +1489,7 @@ export interface UiConfig {
1476
1489
  export interface HumanTaskConfig {
1477
1490
  WorkteamArn: string | undefined;
1478
1491
  UiConfig: UiConfig | undefined;
1479
- PreHumanTaskLambdaArn: string | undefined;
1492
+ PreHumanTaskLambdaArn?: string;
1480
1493
  TaskKeywords?: string[];
1481
1494
  TaskTitle: string | undefined;
1482
1495
  TaskDescription: string | undefined;
@@ -1484,7 +1497,7 @@ export interface HumanTaskConfig {
1484
1497
  TaskTimeLimitInSeconds: number | undefined;
1485
1498
  TaskAvailabilityLifetimeInSeconds?: number;
1486
1499
  MaxConcurrentTaskCount?: number;
1487
- AnnotationConsolidationConfig: AnnotationConsolidationConfig | undefined;
1500
+ AnnotationConsolidationConfig?: AnnotationConsolidationConfig;
1488
1501
  PublicWorkforceTaskPrice?: PublicWorkforceTaskPrice;
1489
1502
  }
1490
1503
  export interface LabelingJobDataAttributes {
@@ -2066,14 +2079,6 @@ export interface CreatePresignedDomainUrlRequest {
2066
2079
  SpaceName?: string;
2067
2080
  LandingUri?: string;
2068
2081
  }
2069
- export interface CreatePresignedDomainUrlResponse {
2070
- AuthorizedUrl?: string;
2071
- }
2072
- export interface CreatePresignedMlflowTrackingServerUrlRequest {
2073
- TrackingServerName: string | undefined;
2074
- ExpiresInSeconds?: number;
2075
- SessionExpirationDurationInSeconds?: number;
2076
- }
2077
2082
  export declare const CreateModelCardRequestFilterSensitiveLog: (
2078
2083
  obj: CreateModelCardRequest
2079
2084
  ) => any;
@@ -139,6 +139,14 @@ import {
139
139
  UserSettings,
140
140
  VendorGuidance,
141
141
  } from "./models_1";
142
+ export interface CreatePresignedDomainUrlResponse {
143
+ AuthorizedUrl?: string;
144
+ }
145
+ export interface CreatePresignedMlflowTrackingServerUrlRequest {
146
+ TrackingServerName: string | undefined;
147
+ ExpiresInSeconds?: number;
148
+ SessionExpirationDurationInSeconds?: number;
149
+ }
142
150
  export interface CreatePresignedMlflowTrackingServerUrlResponse {
143
151
  AuthorizedUrl?: string;
144
152
  }
@@ -1997,19 +2005,6 @@ export interface DescribeLabelingJobResponse {
1997
2005
  Tags?: Tag[];
1998
2006
  LabelingJobOutput?: LabelingJobOutput;
1999
2007
  }
2000
- export interface DescribeLineageGroupRequest {
2001
- LineageGroupName: string | undefined;
2002
- }
2003
- export interface DescribeLineageGroupResponse {
2004
- LineageGroupName?: string;
2005
- LineageGroupArn?: string;
2006
- DisplayName?: string;
2007
- Description?: string;
2008
- CreationTime?: Date;
2009
- CreatedBy?: UserContext;
2010
- LastModifiedTime?: Date;
2011
- LastModifiedBy?: UserContext;
2012
- }
2013
2008
  export declare const OidcConfigFilterSensitiveLog: (obj: OidcConfig) => any;
2014
2009
  export declare const CreateWorkforceRequestFilterSensitiveLog: (
2015
2010
  obj: CreateWorkforceRequest
@@ -180,6 +180,19 @@ import {
180
180
  TrialComponentStatus,
181
181
  WorkerAccessConfiguration,
182
182
  } from "./models_2";
183
+ export interface DescribeLineageGroupRequest {
184
+ LineageGroupName: string | undefined;
185
+ }
186
+ export interface DescribeLineageGroupResponse {
187
+ LineageGroupName?: string;
188
+ LineageGroupArn?: string;
189
+ DisplayName?: string;
190
+ Description?: string;
191
+ CreationTime?: Date;
192
+ CreatedBy?: UserContext;
193
+ LastModifiedTime?: Date;
194
+ LastModifiedBy?: UserContext;
195
+ }
183
196
  export interface DescribeMlflowTrackingServerRequest {
184
197
  TrackingServerName: string | undefined;
185
198
  }
@@ -1718,7 +1731,7 @@ export interface LabelingJobSummary {
1718
1731
  LabelingJobStatus: LabelingJobStatus | undefined;
1719
1732
  LabelCounters: LabelCounters | undefined;
1720
1733
  WorkteamArn: string | undefined;
1721
- PreHumanTaskLambdaArn: string | undefined;
1734
+ PreHumanTaskLambdaArn?: string;
1722
1735
  AnnotationConsolidationLambdaArn?: string;
1723
1736
  FailureReason?: string;
1724
1737
  LabelingJobOutput?: LabelingJobOutput;
@@ -2460,19 +2473,6 @@ export interface ListModelBiasJobDefinitionsResponse {
2460
2473
  JobDefinitionSummaries: MonitoringJobDefinitionSummary[] | undefined;
2461
2474
  NextToken?: string;
2462
2475
  }
2463
- export declare const ModelCardExportJobSortBy: {
2464
- readonly CREATION_TIME: "CreationTime";
2465
- readonly NAME: "Name";
2466
- readonly STATUS: "Status";
2467
- };
2468
- export type ModelCardExportJobSortBy =
2469
- (typeof ModelCardExportJobSortBy)[keyof typeof ModelCardExportJobSortBy];
2470
- export declare const ModelCardExportJobSortOrder: {
2471
- readonly ASCENDING: "Ascending";
2472
- readonly DESCENDING: "Descending";
2473
- };
2474
- export type ModelCardExportJobSortOrder =
2475
- (typeof ModelCardExportJobSortOrder)[keyof typeof ModelCardExportJobSortOrder];
2476
2476
  export declare const DescribeModelCardResponseFilterSensitiveLog: (
2477
2477
  obj: DescribeModelCardResponse
2478
2478
  ) => any;
@@ -10,7 +10,6 @@ import {
10
10
  BatchDataCaptureConfig,
11
11
  BatchStrategy,
12
12
  BatchTransformInput,
13
- BooleanOperator,
14
13
  CacheHitResult,
15
14
  CallbackStepMetadata,
16
15
  Channel,
@@ -140,8 +139,6 @@ import {
140
139
  LambdaStepMetadata,
141
140
  LineageType,
142
141
  MetricData,
143
- ModelCardExportJobSortBy,
144
- ModelCardExportJobSortOrder,
145
142
  ModelCardExportJobStatus,
146
143
  ModelPackageGroupStatus,
147
144
  ModelPackageStatusDetails,
@@ -156,7 +153,6 @@ import {
156
153
  PipelineStatus,
157
154
  ProcessingJobStatus,
158
155
  ProjectStatus,
159
- ResourceType,
160
156
  ScheduleStatus,
161
157
  SecondaryStatus,
162
158
  SecondaryStatusTransition,
@@ -176,6 +172,19 @@ import {
176
172
  Workforce,
177
173
  Workteam,
178
174
  } from "./models_3";
175
+ export declare const ModelCardExportJobSortBy: {
176
+ readonly CREATION_TIME: "CreationTime";
177
+ readonly NAME: "Name";
178
+ readonly STATUS: "Status";
179
+ };
180
+ export type ModelCardExportJobSortBy =
181
+ (typeof ModelCardExportJobSortBy)[keyof typeof ModelCardExportJobSortBy];
182
+ export declare const ModelCardExportJobSortOrder: {
183
+ readonly ASCENDING: "Ascending";
184
+ readonly DESCENDING: "Descending";
185
+ };
186
+ export type ModelCardExportJobSortOrder =
187
+ (typeof ModelCardExportJobSortOrder)[keyof typeof ModelCardExportJobSortOrder];
179
188
  export interface ListModelCardExportJobsRequest {
180
189
  ModelCardName: string | undefined;
181
190
  ModelCardVersion?: number;
@@ -2080,22 +2089,6 @@ export interface UpdateWorkteamRequest {
2080
2089
  export interface UpdateWorkteamResponse {
2081
2090
  Workteam: Workteam | undefined;
2082
2091
  }
2083
- export interface SearchExpression {
2084
- Filters?: Filter[];
2085
- NestedFilters?: NestedFilters[];
2086
- SubExpressions?: SearchExpression[];
2087
- Operator?: BooleanOperator;
2088
- }
2089
- export interface SearchRequest {
2090
- Resource: ResourceType | undefined;
2091
- SearchExpression?: SearchExpression;
2092
- SortBy?: string;
2093
- SortOrder?: SearchSortOrder;
2094
- NextToken?: string;
2095
- MaxResults?: number;
2096
- CrossAccountFilterOption?: CrossAccountFilterOption;
2097
- VisibilityConditions?: VisibilityConditions[];
2098
- }
2099
2092
  export declare const ModelCardFilterSensitiveLog: (obj: ModelCard) => any;
2100
2093
  export declare const ModelPackageFilterSensitiveLog: (obj: ModelPackage) => any;
2101
2094
  export declare const SearchRecordFilterSensitiveLog: (obj: SearchRecord) => any;
@@ -0,0 +1,24 @@
1
+ import { BooleanOperator } from "./models_0";
2
+ import { CrossAccountFilterOption } from "./models_2";
3
+ import { Filter, ResourceType } from "./models_3";
4
+ import {
5
+ NestedFilters,
6
+ SearchSortOrder,
7
+ VisibilityConditions,
8
+ } from "./models_4";
9
+ export interface SearchExpression {
10
+ Filters?: Filter[];
11
+ NestedFilters?: NestedFilters[];
12
+ SubExpressions?: SearchExpression[];
13
+ Operator?: BooleanOperator;
14
+ }
15
+ export interface SearchRequest {
16
+ Resource: ResourceType | undefined;
17
+ SearchExpression?: SearchExpression;
18
+ SortBy?: string;
19
+ SortOrder?: SearchSortOrder;
20
+ NextToken?: string;
21
+ MaxResults?: number;
22
+ CrossAccountFilterOption?: CrossAccountFilterOption;
23
+ VisibilityConditions?: VisibilityConditions[];
24
+ }
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.656.0",
4
+ "version": "3.658.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,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.654.0",
24
- "@aws-sdk/client-sts": "3.654.0",
25
- "@aws-sdk/core": "3.654.0",
26
- "@aws-sdk/credential-provider-node": "3.654.0",
23
+ "@aws-sdk/client-sso-oidc": "3.658.0",
24
+ "@aws-sdk/client-sts": "3.658.0",
25
+ "@aws-sdk/core": "3.658.0",
26
+ "@aws-sdk/credential-provider-node": "3.658.0",
27
27
  "@aws-sdk/middleware-host-header": "3.654.0",
28
28
  "@aws-sdk/middleware-logger": "3.654.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.654.0",