@aws-sdk/client-sagemaker 3.462.0 → 3.464.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 (76) hide show
  1. package/dist-cjs/models/models_0.js +15 -13
  2. package/dist-cjs/models/models_1.js +23 -22
  3. package/dist-cjs/models/models_2.js +22 -45
  4. package/dist-cjs/models/models_3.js +46 -22
  5. package/dist-cjs/models/models_4.js +21 -1
  6. package/dist-cjs/protocols/Aws_json1_1.js +180 -2
  7. package/dist-es/models/models_0.js +14 -12
  8. package/dist-es/models/models_1.js +22 -21
  9. package/dist-es/models/models_2.js +21 -44
  10. package/dist-es/models/models_3.js +44 -20
  11. package/dist-es/models/models_4.js +20 -0
  12. package/dist-es/protocols/Aws_json1_1.js +179 -1
  13. package/dist-types/commands/CreateAppCommand.d.ts +1 -1
  14. package/dist-types/commands/CreateAppImageConfigCommand.d.ts +13 -0
  15. package/dist-types/commands/CreateCompilationJobCommand.d.ts +2 -1
  16. package/dist-types/commands/CreateContextCommand.d.ts +1 -1
  17. package/dist-types/commands/CreateDomainCommand.d.ts +50 -10
  18. package/dist-types/commands/CreateSpaceCommand.d.ts +43 -0
  19. package/dist-types/commands/CreateStudioLifecycleConfigCommand.d.ts +1 -1
  20. package/dist-types/commands/CreateTrainingJobCommand.d.ts +1 -1
  21. package/dist-types/commands/CreateTransformJobCommand.d.ts +1 -1
  22. package/dist-types/commands/CreateTrialCommand.d.ts +1 -1
  23. package/dist-types/commands/CreateTrialComponentCommand.d.ts +1 -1
  24. package/dist-types/commands/CreateUserProfileCommand.d.ts +49 -2
  25. package/dist-types/commands/DeleteAppCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribeAppCommand.d.ts +2 -2
  27. package/dist-types/commands/DescribeAppImageConfigCommand.d.ts +13 -0
  28. package/dist-types/commands/DescribeDomainCommand.d.ts +50 -10
  29. package/dist-types/commands/DescribeSpaceCommand.d.ts +43 -0
  30. package/dist-types/commands/DescribeStudioLifecycleConfigCommand.d.ts +1 -1
  31. package/dist-types/commands/DescribeTrainingJobCommand.d.ts +2 -1
  32. package/dist-types/commands/DescribeTransformJobCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeTrialCommand.d.ts +1 -1
  34. package/dist-types/commands/DescribeTrialComponentCommand.d.ts +1 -1
  35. package/dist-types/commands/DescribeUserProfileCommand.d.ts +49 -2
  36. package/dist-types/commands/ListAppImageConfigsCommand.d.ts +13 -0
  37. package/dist-types/commands/ListAppsCommand.d.ts +8 -1
  38. package/dist-types/commands/ListPipelineExecutionStepsCommand.d.ts +2 -1
  39. package/dist-types/commands/ListPipelineParametersForExecutionCommand.d.ts +1 -1
  40. package/dist-types/commands/ListPipelinesCommand.d.ts +1 -1
  41. package/dist-types/commands/ListProcessingJobsCommand.d.ts +1 -1
  42. package/dist-types/commands/ListProjectsCommand.d.ts +1 -1
  43. package/dist-types/commands/ListSpacesCommand.d.ts +15 -0
  44. package/dist-types/commands/ListStudioLifecycleConfigsCommand.d.ts +2 -2
  45. package/dist-types/commands/UpdateAppImageConfigCommand.d.ts +13 -0
  46. package/dist-types/commands/UpdateDomainCommand.d.ts +49 -9
  47. package/dist-types/commands/UpdateSpaceCommand.d.ts +37 -0
  48. package/dist-types/commands/UpdateUserProfileCommand.d.ts +48 -0
  49. package/dist-types/models/models_0.d.ts +184 -176
  50. package/dist-types/models/models_1.d.ts +383 -796
  51. package/dist-types/models/models_2.d.ts +4794 -5178
  52. package/dist-types/models/models_3.d.ts +5376 -4691
  53. package/dist-types/models/models_4.d.ts +598 -13
  54. package/dist-types/ts3.4/commands/CreateCompilationJobCommand.d.ts +2 -4
  55. package/dist-types/ts3.4/commands/CreateContextCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/CreateTrainingJobCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/CreateTransformJobCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/CreateTrialCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/CreateTrialComponentCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/CreateUserProfileCommand.d.ts +4 -2
  61. package/dist-types/ts3.4/commands/DescribeTrainingJobCommand.d.ts +2 -4
  62. package/dist-types/ts3.4/commands/DescribeTransformJobCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/DescribeTrialCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/DescribeTrialComponentCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/DescribeUserProfileCommand.d.ts +4 -2
  66. package/dist-types/ts3.4/commands/ListPipelineExecutionStepsCommand.d.ts +2 -4
  67. package/dist-types/ts3.4/commands/ListPipelineParametersForExecutionCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/ListPipelinesCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/ListProcessingJobsCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/ListProjectsCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/models/models_0.d.ts +68 -65
  72. package/dist-types/ts3.4/models/models_1.d.ts +116 -160
  73. package/dist-types/ts3.4/models/models_2.d.ts +162 -203
  74. package/dist-types/ts3.4/models/models_3.d.ts +227 -130
  75. package/dist-types/ts3.4/models/models_4.d.ts +165 -17
  76. package/package.json +1 -1
@@ -1,11 +1,11 @@
1
1
  import { LazyJsonString as __LazyJsonString } from "@smithy/smithy-client";
2
2
  import {
3
3
  AdditionalInferenceSpecificationDefinition,
4
- AlgorithmSpecification,
5
4
  AnnotationConsolidationConfig,
6
5
  AppNetworkAccessType,
7
6
  AppSecurityGroupManagement,
8
7
  AppSpecification,
8
+ AppType,
9
9
  AsyncInferenceConfig,
10
10
  AthenaDatasetDefinition,
11
11
  AuthMode,
@@ -13,8 +13,6 @@ import {
13
13
  AutoRollbackConfig,
14
14
  Autotune,
15
15
  AwsManagedHumanLoopRequestSource,
16
- BatchDataCaptureConfig,
17
- BatchStrategy,
18
16
  BatchTransformInput,
19
17
  BestObjectiveNotImproving,
20
18
  Bias,
@@ -28,12 +26,14 @@ import {
28
26
  Channel,
29
27
  CheckpointConfig,
30
28
  ClarifyExplainerConfig,
29
+ CodeEditorAppSettings,
31
30
  CodeRepository,
32
31
  CollectionConfig,
33
32
  CollectionConfiguration,
34
33
  CollectionType,
35
34
  ContainerDefinition,
36
35
  ContentClassifier,
36
+ ContextSource,
37
37
  ContinuousParameterRange,
38
38
  ConvergenceDetected,
39
39
  HyperParameterScalingType,
@@ -53,12 +53,23 @@ import {
53
53
  Tag,
54
54
  TrainingInputMode,
55
55
  TrainingInstanceType,
56
- TransformInput,
57
56
  TransformJobDefinition,
58
- TransformOutput,
59
- TransformResources,
60
57
  VpcConfig,
61
58
  } from "./models_0";
59
+ export interface CreateCompilationJobResponse {
60
+ CompilationJobArn: string | undefined;
61
+ }
62
+ export interface CreateContextRequest {
63
+ ContextName: string | undefined;
64
+ Source: ContextSource | undefined;
65
+ ContextType: string | undefined;
66
+ Description?: string;
67
+ Properties?: Record<string, string>;
68
+ Tags?: Tag[];
69
+ }
70
+ export interface CreateContextResponse {
71
+ ContextArn?: string;
72
+ }
62
73
  export interface DataQualityAppSpecification {
63
74
  ImageUri: string | undefined;
64
75
  ContainerEntrypoint?: string[];
@@ -233,6 +244,38 @@ export interface DefaultSpaceSettings {
233
244
  JupyterServerAppSettings?: JupyterServerAppSettings;
234
245
  KernelGatewayAppSettings?: KernelGatewayAppSettings;
235
246
  }
247
+ export interface EFSFileSystemConfig {
248
+ FileSystemId: string | undefined;
249
+ FileSystemPath?: string;
250
+ }
251
+ export type CustomFileSystemConfig =
252
+ | CustomFileSystemConfig.EFSFileSystemConfigMember
253
+ | CustomFileSystemConfig.$UnknownMember;
254
+ export declare namespace CustomFileSystemConfig {
255
+ interface EFSFileSystemConfigMember {
256
+ EFSFileSystemConfig: EFSFileSystemConfig;
257
+ $unknown?: never;
258
+ }
259
+ interface $UnknownMember {
260
+ EFSFileSystemConfig?: never;
261
+ $unknown: [string, any];
262
+ }
263
+ interface Visitor<T> {
264
+ EFSFileSystemConfig: (value: EFSFileSystemConfig) => T;
265
+ _: (name: string, value: any) => T;
266
+ }
267
+ const visit: <T>(value: CustomFileSystemConfig, visitor: Visitor<T>) => T;
268
+ }
269
+ export interface CustomPosixUserConfig {
270
+ Uid: number | undefined;
271
+ Gid: number | undefined;
272
+ }
273
+ export interface JupyterLabAppSettings {
274
+ DefaultResourceSpec?: ResourceSpec;
275
+ CustomImages?: CustomImage[];
276
+ LifecycleConfigArns?: string[];
277
+ CodeRepositories?: CodeRepository[];
278
+ }
236
279
  export interface RSessionAppSettings {
237
280
  DefaultResourceSpec?: ResourceSpec;
238
281
  CustomImages?: CustomImage[];
@@ -264,6 +307,13 @@ export interface SharingSettings {
264
307
  S3OutputPath?: string;
265
308
  S3KmsKeyId?: string;
266
309
  }
310
+ export interface DefaultEbsStorageSettings {
311
+ DefaultEbsVolumeSizeInGb: number | undefined;
312
+ MaximumEbsVolumeSizeInGb: number | undefined;
313
+ }
314
+ export interface DefaultSpaceStorageSettings {
315
+ DefaultEbsStorageSettings?: DefaultEbsStorageSettings;
316
+ }
267
317
  export declare const StudioWebPortal: {
268
318
  readonly Disabled: "DISABLED";
269
319
  readonly Enabled: "ENABLED";
@@ -283,8 +333,13 @@ export interface UserSettings {
283
333
  RStudioServerProAppSettings?: RStudioServerProAppSettings;
284
334
  RSessionAppSettings?: RSessionAppSettings;
285
335
  CanvasAppSettings?: CanvasAppSettings;
336
+ JupyterLabAppSettings?: JupyterLabAppSettings;
337
+ CodeEditorAppSettings?: CodeEditorAppSettings;
338
+ SpaceStorageSettings?: DefaultSpaceStorageSettings;
286
339
  DefaultLandingUri?: string;
287
340
  StudioWebPortal?: StudioWebPortal;
341
+ CustomPosixUserConfig?: CustomPosixUserConfig;
342
+ CustomFileSystemConfigs?: CustomFileSystemConfig[];
288
343
  }
289
344
  export declare const ExecutionRoleIdentityConfig: {
290
345
  readonly DISABLED: "DISABLED";
@@ -1712,20 +1767,75 @@ export interface CreateProjectOutput {
1712
1767
  ProjectArn: string | undefined;
1713
1768
  ProjectId: string | undefined;
1714
1769
  }
1770
+ export interface OwnershipSettings {
1771
+ OwnerUserProfileName: string | undefined;
1772
+ }
1773
+ export interface SpaceCodeEditorAppSettings {
1774
+ DefaultResourceSpec?: ResourceSpec;
1775
+ }
1776
+ export interface EFSFileSystem {
1777
+ FileSystemId: string | undefined;
1778
+ }
1779
+ export type CustomFileSystem =
1780
+ | CustomFileSystem.EFSFileSystemMember
1781
+ | CustomFileSystem.$UnknownMember;
1782
+ export declare namespace CustomFileSystem {
1783
+ interface EFSFileSystemMember {
1784
+ EFSFileSystem: EFSFileSystem;
1785
+ $unknown?: never;
1786
+ }
1787
+ interface $UnknownMember {
1788
+ EFSFileSystem?: never;
1789
+ $unknown: [string, any];
1790
+ }
1791
+ interface Visitor<T> {
1792
+ EFSFileSystem: (value: EFSFileSystem) => T;
1793
+ _: (name: string, value: any) => T;
1794
+ }
1795
+ const visit: <T>(value: CustomFileSystem, visitor: Visitor<T>) => T;
1796
+ }
1797
+ export interface SpaceJupyterLabAppSettings {
1798
+ DefaultResourceSpec?: ResourceSpec;
1799
+ CodeRepositories?: CodeRepository[];
1800
+ }
1801
+ export interface EbsStorageSettings {
1802
+ EbsVolumeSizeInGb: number | undefined;
1803
+ }
1804
+ export interface SpaceStorageSettings {
1805
+ EbsStorageSettings?: EbsStorageSettings;
1806
+ }
1715
1807
  export interface SpaceSettings {
1716
1808
  JupyterServerAppSettings?: JupyterServerAppSettings;
1717
1809
  KernelGatewayAppSettings?: KernelGatewayAppSettings;
1810
+ JupyterLabAppSettings?: SpaceJupyterLabAppSettings;
1811
+ CodeEditorAppSettings?: SpaceCodeEditorAppSettings;
1812
+ SpaceStorageSettings?: SpaceStorageSettings;
1813
+ AppType?: AppType;
1814
+ CustomFileSystems?: CustomFileSystem[];
1815
+ }
1816
+ export declare const SharingType: {
1817
+ readonly Private: "Private";
1818
+ readonly Shared: "Shared";
1819
+ };
1820
+ export type SharingType = (typeof SharingType)[keyof typeof SharingType];
1821
+ export interface SpaceSharingSettings {
1822
+ SharingType: SharingType | undefined;
1718
1823
  }
1719
1824
  export interface CreateSpaceRequest {
1720
1825
  DomainId: string | undefined;
1721
1826
  SpaceName: string | undefined;
1722
1827
  Tags?: Tag[];
1723
1828
  SpaceSettings?: SpaceSettings;
1829
+ SpaceDisplayName?: string;
1830
+ OwnershipSettings?: OwnershipSettings;
1831
+ SpaceSharingSettings?: SpaceSharingSettings;
1724
1832
  }
1725
1833
  export interface CreateSpaceResponse {
1726
1834
  SpaceArn?: string;
1727
1835
  }
1728
1836
  export declare const StudioLifecycleConfigAppType: {
1837
+ readonly CodeEditor: "CodeEditor";
1838
+ readonly JupyterLab: "JupyterLab";
1729
1839
  readonly JupyterServer: "JupyterServer";
1730
1840
  readonly KernelGateway: "KernelGateway";
1731
1841
  };
@@ -1764,160 +1874,6 @@ export interface ProfilerConfig {
1764
1874
  ProfilingParameters?: Record<string, string>;
1765
1875
  DisableProfiler?: boolean;
1766
1876
  }
1767
- export interface ProfilerRuleConfiguration {
1768
- RuleConfigurationName: string | undefined;
1769
- LocalPath?: string;
1770
- S3OutputPath?: string;
1771
- RuleEvaluatorImage: string | undefined;
1772
- InstanceType?: ProcessingInstanceType;
1773
- VolumeSizeInGB?: number;
1774
- RuleParameters?: Record<string, string>;
1775
- }
1776
- export interface TensorBoardOutputConfig {
1777
- LocalPath?: string;
1778
- S3OutputPath: string | undefined;
1779
- }
1780
- export interface CreateTrainingJobRequest {
1781
- TrainingJobName: string | undefined;
1782
- HyperParameters?: Record<string, string>;
1783
- AlgorithmSpecification: AlgorithmSpecification | undefined;
1784
- RoleArn: string | undefined;
1785
- InputDataConfig?: Channel[];
1786
- OutputDataConfig: OutputDataConfig | undefined;
1787
- ResourceConfig: ResourceConfig | undefined;
1788
- VpcConfig?: VpcConfig;
1789
- StoppingCondition: StoppingCondition | undefined;
1790
- Tags?: Tag[];
1791
- EnableNetworkIsolation?: boolean;
1792
- EnableInterContainerTrafficEncryption?: boolean;
1793
- EnableManagedSpotTraining?: boolean;
1794
- CheckpointConfig?: CheckpointConfig;
1795
- DebugHookConfig?: DebugHookConfig;
1796
- DebugRuleConfigurations?: DebugRuleConfiguration[];
1797
- TensorBoardOutputConfig?: TensorBoardOutputConfig;
1798
- ExperimentConfig?: ExperimentConfig;
1799
- ProfilerConfig?: ProfilerConfig;
1800
- ProfilerRuleConfigurations?: ProfilerRuleConfiguration[];
1801
- Environment?: Record<string, string>;
1802
- RetryStrategy?: RetryStrategy;
1803
- InfraCheckConfig?: InfraCheckConfig;
1804
- }
1805
- export interface CreateTrainingJobResponse {
1806
- TrainingJobArn: string | undefined;
1807
- }
1808
- export declare const JoinSource: {
1809
- readonly INPUT: "Input";
1810
- readonly NONE: "None";
1811
- };
1812
- export type JoinSource = (typeof JoinSource)[keyof typeof JoinSource];
1813
- export interface DataProcessing {
1814
- InputFilter?: string;
1815
- OutputFilter?: string;
1816
- JoinSource?: JoinSource;
1817
- }
1818
- export interface ModelClientConfig {
1819
- InvocationsTimeoutInSeconds?: number;
1820
- InvocationsMaxRetries?: number;
1821
- }
1822
- export interface CreateTransformJobRequest {
1823
- TransformJobName: string | undefined;
1824
- ModelName: string | undefined;
1825
- MaxConcurrentTransforms?: number;
1826
- ModelClientConfig?: ModelClientConfig;
1827
- MaxPayloadInMB?: number;
1828
- BatchStrategy?: BatchStrategy;
1829
- Environment?: Record<string, string>;
1830
- TransformInput: TransformInput | undefined;
1831
- TransformOutput: TransformOutput | undefined;
1832
- DataCaptureConfig?: BatchDataCaptureConfig;
1833
- TransformResources: TransformResources | undefined;
1834
- DataProcessing?: DataProcessing;
1835
- Tags?: Tag[];
1836
- ExperimentConfig?: ExperimentConfig;
1837
- }
1838
- export interface CreateTransformJobResponse {
1839
- TransformJobArn: string | undefined;
1840
- }
1841
- export interface CreateTrialRequest {
1842
- TrialName: string | undefined;
1843
- DisplayName?: string;
1844
- ExperimentName: string | undefined;
1845
- MetadataProperties?: MetadataProperties;
1846
- Tags?: Tag[];
1847
- }
1848
- export interface CreateTrialResponse {
1849
- TrialArn?: string;
1850
- }
1851
- export interface TrialComponentArtifact {
1852
- MediaType?: string;
1853
- Value: string | undefined;
1854
- }
1855
- export type TrialComponentParameterValue =
1856
- | TrialComponentParameterValue.NumberValueMember
1857
- | TrialComponentParameterValue.StringValueMember
1858
- | TrialComponentParameterValue.$UnknownMember;
1859
- export declare namespace TrialComponentParameterValue {
1860
- interface StringValueMember {
1861
- StringValue: string;
1862
- NumberValue?: never;
1863
- $unknown?: never;
1864
- }
1865
- interface NumberValueMember {
1866
- StringValue?: never;
1867
- NumberValue: number;
1868
- $unknown?: never;
1869
- }
1870
- interface $UnknownMember {
1871
- StringValue?: never;
1872
- NumberValue?: never;
1873
- $unknown: [string, any];
1874
- }
1875
- interface Visitor<T> {
1876
- StringValue: (value: string) => T;
1877
- NumberValue: (value: number) => T;
1878
- _: (name: string, value: any) => T;
1879
- }
1880
- const visit: <T>(
1881
- value: TrialComponentParameterValue,
1882
- visitor: Visitor<T>
1883
- ) => T;
1884
- }
1885
- export declare const TrialComponentPrimaryStatus: {
1886
- readonly COMPLETED: "Completed";
1887
- readonly FAILED: "Failed";
1888
- readonly IN_PROGRESS: "InProgress";
1889
- readonly STOPPED: "Stopped";
1890
- readonly STOPPING: "Stopping";
1891
- };
1892
- export type TrialComponentPrimaryStatus =
1893
- (typeof TrialComponentPrimaryStatus)[keyof typeof TrialComponentPrimaryStatus];
1894
- export interface TrialComponentStatus {
1895
- PrimaryStatus?: TrialComponentPrimaryStatus;
1896
- Message?: string;
1897
- }
1898
- export interface CreateTrialComponentRequest {
1899
- TrialComponentName: string | undefined;
1900
- DisplayName?: string;
1901
- Status?: TrialComponentStatus;
1902
- StartTime?: Date;
1903
- EndTime?: Date;
1904
- Parameters?: Record<string, TrialComponentParameterValue>;
1905
- InputArtifacts?: Record<string, TrialComponentArtifact>;
1906
- OutputArtifacts?: Record<string, TrialComponentArtifact>;
1907
- MetadataProperties?: MetadataProperties;
1908
- Tags?: Tag[];
1909
- }
1910
- export interface CreateTrialComponentResponse {
1911
- TrialComponentArn?: string;
1912
- }
1913
- export interface CreateUserProfileRequest {
1914
- DomainId: string | undefined;
1915
- UserProfileName: string | undefined;
1916
- SingleSignOnUserIdentifier?: string;
1917
- SingleSignOnUserValue?: string;
1918
- Tags?: Tag[];
1919
- UserSettings?: UserSettings;
1920
- }
1921
1877
  export declare const CreateModelCardRequestFilterSensitiveLog: (
1922
1878
  obj: CreateModelCardRequest
1923
1879
  ) => any;