@aws-sdk/client-sagemaker 3.232.0 → 3.234.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 (84) hide show
  1. package/dist-cjs/SageMaker.js +30 -0
  2. package/dist-cjs/commands/DescribeAlgorithmCommand.js +3 -3
  3. package/dist-cjs/commands/DescribeAppCommand.js +1 -2
  4. package/dist-cjs/commands/ListAliasesCommand.js +46 -0
  5. package/dist-cjs/commands/ListAssociationsCommand.js +2 -1
  6. package/dist-cjs/commands/ListAutoMLJobsCommand.js +3 -3
  7. package/dist-cjs/commands/ListCandidatesForAutoMLJobCommand.js +3 -3
  8. package/dist-cjs/commands/UpdateFeatureGroupCommand.js +2 -1
  9. package/dist-cjs/commands/UpdateFeatureMetadataCommand.js +2 -2
  10. package/dist-cjs/commands/UpdateHubCommand.js +3 -3
  11. package/dist-cjs/commands/UpdateImageCommand.js +1 -2
  12. package/dist-cjs/commands/UpdateImageVersionCommand.js +46 -0
  13. package/dist-cjs/commands/index.js +2 -0
  14. package/dist-cjs/models/models_1.js +25 -19
  15. package/dist-cjs/models/models_2.js +25 -25
  16. package/dist-cjs/models/models_3.js +26 -26
  17. package/dist-cjs/models/models_4.js +29 -1
  18. package/dist-cjs/pagination/ListAliasesPaginator.js +36 -0
  19. package/dist-cjs/pagination/index.js +1 -0
  20. package/dist-cjs/protocols/Aws_json1_1.js +179 -9
  21. package/dist-es/SageMaker.js +30 -0
  22. package/dist-es/commands/DescribeAlgorithmCommand.js +1 -1
  23. package/dist-es/commands/DescribeAppCommand.js +1 -2
  24. package/dist-es/commands/ListAliasesCommand.js +42 -0
  25. package/dist-es/commands/ListAssociationsCommand.js +2 -1
  26. package/dist-es/commands/ListAutoMLJobsCommand.js +1 -1
  27. package/dist-es/commands/ListCandidatesForAutoMLJobCommand.js +1 -1
  28. package/dist-es/commands/UpdateFeatureGroupCommand.js +2 -1
  29. package/dist-es/commands/UpdateFeatureMetadataCommand.js +1 -1
  30. package/dist-es/commands/UpdateHubCommand.js +1 -1
  31. package/dist-es/commands/UpdateImageCommand.js +1 -2
  32. package/dist-es/commands/UpdateImageVersionCommand.js +42 -0
  33. package/dist-es/commands/index.js +2 -0
  34. package/dist-es/models/models_1.js +18 -9
  35. package/dist-es/models/models_2.js +15 -15
  36. package/dist-es/models/models_3.js +15 -15
  37. package/dist-es/models/models_4.js +21 -0
  38. package/dist-es/pagination/ListAliasesPaginator.js +32 -0
  39. package/dist-es/pagination/index.js +1 -0
  40. package/dist-es/protocols/Aws_json1_1.js +166 -0
  41. package/dist-types/SageMaker.d.ts +14 -0
  42. package/dist-types/SageMakerClient.d.ts +4 -2
  43. package/dist-types/commands/DescribeAlgorithmCommand.d.ts +1 -1
  44. package/dist-types/commands/DescribeAppCommand.d.ts +1 -2
  45. package/dist-types/commands/ListAliasesCommand.d.ts +37 -0
  46. package/dist-types/commands/ListAssociationsCommand.d.ts +2 -1
  47. package/dist-types/commands/ListAutoMLJobsCommand.d.ts +1 -1
  48. package/dist-types/commands/ListCandidatesForAutoMLJobCommand.d.ts +1 -1
  49. package/dist-types/commands/UpdateFeatureGroupCommand.d.ts +2 -1
  50. package/dist-types/commands/UpdateFeatureMetadataCommand.d.ts +1 -1
  51. package/dist-types/commands/UpdateHubCommand.d.ts +1 -1
  52. package/dist-types/commands/UpdateImageCommand.d.ts +1 -2
  53. package/dist-types/commands/UpdateImageVersionCommand.d.ts +37 -0
  54. package/dist-types/commands/index.d.ts +2 -0
  55. package/dist-types/models/models_0.d.ts +12 -12
  56. package/dist-types/models/models_1.d.ts +116 -107
  57. package/dist-types/models/models_2.d.ts +213 -137
  58. package/dist-types/models/models_3.d.ts +129 -97
  59. package/dist-types/models/models_4.d.ts +204 -3
  60. package/dist-types/pagination/ListAliasesPaginator.d.ts +4 -0
  61. package/dist-types/pagination/index.d.ts +1 -0
  62. package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
  63. package/dist-types/ts3.4/SageMaker.d.ts +34 -0
  64. package/dist-types/ts3.4/SageMakerClient.d.ts +12 -0
  65. package/dist-types/ts3.4/commands/DescribeAlgorithmCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/DescribeAppCommand.d.ts +1 -2
  67. package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +34 -0
  68. package/dist-types/ts3.4/commands/ListAssociationsCommand.d.ts +2 -4
  69. package/dist-types/ts3.4/commands/ListAutoMLJobsCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/ListCandidatesForAutoMLJobCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/UpdateFeatureGroupCommand.d.ts +2 -4
  72. package/dist-types/ts3.4/commands/UpdateFeatureMetadataCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/UpdateHubCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/UpdateImageCommand.d.ts +1 -2
  75. package/dist-types/ts3.4/commands/UpdateImageVersionCommand.d.ts +38 -0
  76. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  77. package/dist-types/ts3.4/models/models_1.d.ts +26 -37
  78. package/dist-types/ts3.4/models/models_2.d.ts +64 -54
  79. package/dist-types/ts3.4/models/models_3.d.ts +56 -42
  80. package/dist-types/ts3.4/models/models_4.d.ts +74 -1
  81. package/dist-types/ts3.4/pagination/ListAliasesPaginator.d.ts +11 -0
  82. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  83. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  84. package/package.json +7 -7
@@ -10,6 +10,7 @@ import {
10
10
  InferenceExperimentDataStorageConfig,
11
11
  InferenceExperimentSchedule,
12
12
  InstanceMetadataServiceConfiguration,
13
+ JobType,
13
14
  MemberDefinition,
14
15
  ModelCardStatus,
15
16
  ModelVariantConfig,
@@ -20,6 +21,7 @@ import {
20
21
  OidcConfig,
21
22
  ParallelismConfiguration,
22
23
  PipelineDefinitionS3Location,
24
+ Processor,
23
25
  ProfilerRuleConfiguration,
24
26
  ProvisioningParameter,
25
27
  RootAccess,
@@ -29,18 +31,68 @@ import {
29
31
  TrialComponentArtifact,
30
32
  TrialComponentParameterValue,
31
33
  TrialComponentStatus,
34
+ VendorGuidance,
32
35
  WorkforceVpcConfigRequest,
33
36
  } from "./models_1";
34
- import { Filter, ResourceType, Workforce, Workteam } from "./models_2";
37
+ import {
38
+ FeatureParameter,
39
+ Filter,
40
+ ResourceType,
41
+ Workforce,
42
+ Workteam,
43
+ } from "./models_2";
35
44
  import {
36
45
  NestedFilters,
37
46
  ProfilerConfigForUpdate,
38
47
  ResourceConfigForUpdate,
39
48
  SearchSortOrder,
40
49
  } from "./models_3";
50
+ export interface UpdateFeatureGroupResponse {
51
+ FeatureGroupArn: string | undefined;
52
+ }
53
+ export interface UpdateFeatureMetadataRequest {
54
+ FeatureGroupName: string | undefined;
55
+ FeatureName: string | undefined;
56
+ Description?: string;
57
+ ParameterAdditions?: FeatureParameter[];
58
+ ParameterRemovals?: string[];
59
+ }
60
+ export interface UpdateHubRequest {
61
+ HubName: string | undefined;
62
+ HubDescription?: string;
63
+ HubDisplayName?: string;
64
+ HubSearchKeywords?: string[];
65
+ }
66
+ export interface UpdateHubResponse {
67
+ HubArn: string | undefined;
68
+ }
69
+ export interface UpdateImageRequest {
70
+ DeleteProperties?: string[];
71
+ Description?: string;
72
+ DisplayName?: string;
73
+ ImageName: string | undefined;
74
+ RoleArn?: string;
75
+ }
41
76
  export interface UpdateImageResponse {
42
77
  ImageArn?: string;
43
78
  }
79
+ export interface UpdateImageVersionRequest {
80
+ ImageName: string | undefined;
81
+ Alias?: string;
82
+ Version?: number;
83
+ AliasesToAdd?: string[];
84
+ AliasesToDelete?: string[];
85
+ VendorGuidance?: VendorGuidance | string;
86
+ JobType?: JobType | string;
87
+ MLFramework?: string;
88
+ ProgrammingLang?: string;
89
+ Processor?: Processor | string;
90
+ Horovod?: boolean;
91
+ ReleaseNotes?: string;
92
+ }
93
+ export interface UpdateImageVersionResponse {
94
+ ImageVersionArn?: string;
95
+ }
44
96
  export interface UpdateInferenceExperimentRequest {
45
97
  Name: string | undefined;
46
98
  Schedule?: InferenceExperimentSchedule;
@@ -225,9 +277,30 @@ export interface SearchRequest {
225
277
  NextToken?: string;
226
278
  MaxResults?: number;
227
279
  }
280
+ export declare const UpdateFeatureGroupResponseFilterSensitiveLog: (
281
+ obj: UpdateFeatureGroupResponse
282
+ ) => any;
283
+ export declare const UpdateFeatureMetadataRequestFilterSensitiveLog: (
284
+ obj: UpdateFeatureMetadataRequest
285
+ ) => any;
286
+ export declare const UpdateHubRequestFilterSensitiveLog: (
287
+ obj: UpdateHubRequest
288
+ ) => any;
289
+ export declare const UpdateHubResponseFilterSensitiveLog: (
290
+ obj: UpdateHubResponse
291
+ ) => any;
292
+ export declare const UpdateImageRequestFilterSensitiveLog: (
293
+ obj: UpdateImageRequest
294
+ ) => any;
228
295
  export declare const UpdateImageResponseFilterSensitiveLog: (
229
296
  obj: UpdateImageResponse
230
297
  ) => any;
298
+ export declare const UpdateImageVersionRequestFilterSensitiveLog: (
299
+ obj: UpdateImageVersionRequest
300
+ ) => any;
301
+ export declare const UpdateImageVersionResponseFilterSensitiveLog: (
302
+ obj: UpdateImageVersionResponse
303
+ ) => any;
231
304
  export declare const UpdateInferenceExperimentRequestFilterSensitiveLog: (
232
305
  obj: UpdateInferenceExperimentRequest
233
306
  ) => any;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListAliasesCommandInput,
4
+ ListAliasesCommandOutput,
5
+ } from "../commands/ListAliasesCommand";
6
+ import { SageMakerPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListAliases(
8
+ config: SageMakerPaginationConfiguration,
9
+ input: ListAliasesCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListAliasesCommandOutput>;
@@ -1,6 +1,7 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListActionsPaginator";
3
3
  export * from "./ListAlgorithmsPaginator";
4
+ export * from "./ListAliasesPaginator";
4
5
  export * from "./ListAppImageConfigsPaginator";
5
6
  export * from "./ListAppsPaginator";
6
7
  export * from "./ListArtifactsPaginator";
@@ -687,6 +687,10 @@ import {
687
687
  ListAlgorithmsCommandInput,
688
688
  ListAlgorithmsCommandOutput,
689
689
  } from "../commands/ListAlgorithmsCommand";
690
+ import {
691
+ ListAliasesCommandInput,
692
+ ListAliasesCommandOutput,
693
+ } from "../commands/ListAliasesCommand";
690
694
  import {
691
695
  ListAppImageConfigsCommandInput,
692
696
  ListAppImageConfigsCommandOutput,
@@ -1127,6 +1131,10 @@ import {
1127
1131
  UpdateImageCommandInput,
1128
1132
  UpdateImageCommandOutput,
1129
1133
  } from "../commands/UpdateImageCommand";
1134
+ import {
1135
+ UpdateImageVersionCommandInput,
1136
+ UpdateImageVersionCommandOutput,
1137
+ } from "../commands/UpdateImageVersionCommand";
1130
1138
  import {
1131
1139
  UpdateInferenceExperimentCommandInput,
1132
1140
  UpdateInferenceExperimentCommandOutput,
@@ -1879,6 +1887,10 @@ export declare const serializeAws_json1_1ListAlgorithmsCommand: (
1879
1887
  input: ListAlgorithmsCommandInput,
1880
1888
  context: __SerdeContext
1881
1889
  ) => Promise<__HttpRequest>;
1890
+ export declare const serializeAws_json1_1ListAliasesCommand: (
1891
+ input: ListAliasesCommandInput,
1892
+ context: __SerdeContext
1893
+ ) => Promise<__HttpRequest>;
1882
1894
  export declare const serializeAws_json1_1ListAppImageConfigsCommand: (
1883
1895
  input: ListAppImageConfigsCommandInput,
1884
1896
  context: __SerdeContext
@@ -2319,6 +2331,10 @@ export declare const serializeAws_json1_1UpdateImageCommand: (
2319
2331
  input: UpdateImageCommandInput,
2320
2332
  context: __SerdeContext
2321
2333
  ) => Promise<__HttpRequest>;
2334
+ export declare const serializeAws_json1_1UpdateImageVersionCommand: (
2335
+ input: UpdateImageVersionCommandInput,
2336
+ context: __SerdeContext
2337
+ ) => Promise<__HttpRequest>;
2322
2338
  export declare const serializeAws_json1_1UpdateInferenceExperimentCommand: (
2323
2339
  input: UpdateInferenceExperimentCommandInput,
2324
2340
  context: __SerdeContext
@@ -3071,6 +3087,10 @@ export declare const deserializeAws_json1_1ListAlgorithmsCommand: (
3071
3087
  output: __HttpResponse,
3072
3088
  context: __SerdeContext
3073
3089
  ) => Promise<ListAlgorithmsCommandOutput>;
3090
+ export declare const deserializeAws_json1_1ListAliasesCommand: (
3091
+ output: __HttpResponse,
3092
+ context: __SerdeContext
3093
+ ) => Promise<ListAliasesCommandOutput>;
3074
3094
  export declare const deserializeAws_json1_1ListAppImageConfigsCommand: (
3075
3095
  output: __HttpResponse,
3076
3096
  context: __SerdeContext
@@ -3511,6 +3531,10 @@ export declare const deserializeAws_json1_1UpdateImageCommand: (
3511
3531
  output: __HttpResponse,
3512
3532
  context: __SerdeContext
3513
3533
  ) => Promise<UpdateImageCommandOutput>;
3534
+ export declare const deserializeAws_json1_1UpdateImageVersionCommand: (
3535
+ output: __HttpResponse,
3536
+ context: __SerdeContext
3537
+ ) => Promise<UpdateImageVersionCommandOutput>;
3514
3538
  export declare const deserializeAws_json1_1UpdateInferenceExperimentCommand: (
3515
3539
  output: __HttpResponse,
3516
3540
  context: __SerdeContext
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.232.0",
4
+ "version": "3.234.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",
@@ -19,9 +19,9 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.231.0",
23
- "@aws-sdk/config-resolver": "3.231.0",
24
- "@aws-sdk/credential-provider-node": "3.231.0",
22
+ "@aws-sdk/client-sts": "3.234.0",
23
+ "@aws-sdk/config-resolver": "3.234.0",
24
+ "@aws-sdk/credential-provider-node": "3.234.0",
25
25
  "@aws-sdk/fetch-http-handler": "3.226.0",
26
26
  "@aws-sdk/hash-node": "3.226.0",
27
27
  "@aws-sdk/invalid-dependency": "3.226.0",
@@ -38,14 +38,14 @@
38
38
  "@aws-sdk/node-config-provider": "3.226.0",
39
39
  "@aws-sdk/node-http-handler": "3.226.0",
40
40
  "@aws-sdk/protocol-http": "3.226.0",
41
- "@aws-sdk/smithy-client": "3.226.0",
41
+ "@aws-sdk/smithy-client": "3.234.0",
42
42
  "@aws-sdk/types": "3.226.0",
43
43
  "@aws-sdk/url-parser": "3.226.0",
44
44
  "@aws-sdk/util-base64": "3.208.0",
45
45
  "@aws-sdk/util-body-length-browser": "3.188.0",
46
46
  "@aws-sdk/util-body-length-node": "3.208.0",
47
- "@aws-sdk/util-defaults-mode-browser": "3.226.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.231.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.234.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.234.0",
49
49
  "@aws-sdk/util-endpoints": "3.226.0",
50
50
  "@aws-sdk/util-retry": "3.229.0",
51
51
  "@aws-sdk/util-user-agent-browser": "3.226.0",