@aws-sdk/client-sagemaker 3.682.0 → 3.684.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 (74) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +140 -24
  3. package/dist-es/SageMaker.js +2 -0
  4. package/dist-es/commands/BatchDeleteClusterNodesCommand.js +22 -0
  5. package/dist-es/commands/UpdateWorkforceCommand.js +1 -1
  6. package/dist-es/commands/index.js +1 -0
  7. package/dist-es/models/models_0.js +40 -2
  8. package/dist-es/models/models_2.js +0 -8
  9. package/dist-es/models/models_3.js +8 -5
  10. package/dist-es/models/models_4.js +5 -5
  11. package/dist-es/models/models_5.js +5 -1
  12. package/dist-es/protocols/Aws_json1_1.js +59 -0
  13. package/dist-types/SageMaker.d.ts +7 -0
  14. package/dist-types/SageMakerClient.d.ts +3 -2
  15. package/dist-types/commands/BatchDeleteClusterNodesCommand.d.ts +102 -0
  16. package/dist-types/commands/CreateAlgorithmCommand.d.ts +4 -4
  17. package/dist-types/commands/CreateAppCommand.d.ts +1 -1
  18. package/dist-types/commands/CreateClusterCommand.d.ts +1 -1
  19. package/dist-types/commands/CreateHyperParameterTuningJobCommand.d.ts +8 -8
  20. package/dist-types/commands/CreateModelPackageCommand.d.ts +5 -0
  21. package/dist-types/commands/CreateOptimizationJobCommand.d.ts +2 -1
  22. package/dist-types/commands/CreatePipelineCommand.d.ts +1 -1
  23. package/dist-types/commands/CreatePresignedDomainUrlCommand.d.ts +12 -3
  24. package/dist-types/commands/CreateTrainingJobCommand.d.ts +2 -2
  25. package/dist-types/commands/DescribeAlgorithmCommand.d.ts +3 -3
  26. package/dist-types/commands/DescribeClusterCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeClusterNodeCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeHyperParameterTuningJobCommand.d.ts +8 -8
  29. package/dist-types/commands/DescribeInferenceRecommendationsJobCommand.d.ts +2 -1
  30. package/dist-types/commands/DescribeLabelingJobCommand.d.ts +1 -2
  31. package/dist-types/commands/DescribeModelPackageCommand.d.ts +5 -0
  32. package/dist-types/commands/DescribeTrainingJobCommand.d.ts +2 -2
  33. package/dist-types/commands/ListClusterNodesCommand.d.ts +1 -1
  34. package/dist-types/commands/ListMlflowTrackingServersCommand.d.ts +1 -1
  35. package/dist-types/commands/ListModelBiasJobDefinitionsCommand.d.ts +1 -2
  36. package/dist-types/commands/ListTrainingJobsCommand.d.ts +1 -0
  37. package/dist-types/commands/SearchCommand.d.ts +13 -8
  38. package/dist-types/commands/UpdateClusterCommand.d.ts +1 -1
  39. package/dist-types/commands/UpdateClusterSoftwareCommand.d.ts +5 -0
  40. package/dist-types/commands/UpdateModelPackageCommand.d.ts +6 -0
  41. package/dist-types/commands/UpdateUserProfileCommand.d.ts +1 -1
  42. package/dist-types/commands/UpdateWorkforceCommand.d.ts +1 -1
  43. package/dist-types/commands/UpdateWorkteamCommand.d.ts +1 -2
  44. package/dist-types/commands/index.d.ts +1 -0
  45. package/dist-types/models/models_0.d.ts +116 -168
  46. package/dist-types/models/models_1.d.ts +215 -134
  47. package/dist-types/models/models_2.d.ts +117 -160
  48. package/dist-types/models/models_3.d.ts +161 -172
  49. package/dist-types/models/models_4.d.ts +201 -128
  50. package/dist-types/models/models_5.d.ts +127 -2
  51. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  52. package/dist-types/ts3.4/SageMaker.d.ts +17 -0
  53. package/dist-types/ts3.4/SageMakerClient.d.ts +6 -0
  54. package/dist-types/ts3.4/commands/BatchDeleteClusterNodesCommand.d.ts +51 -0
  55. package/dist-types/ts3.4/commands/CreateAlgorithmCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/CreateAppCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/CreateOptimizationJobCommand.d.ts +2 -4
  58. package/dist-types/ts3.4/commands/CreatePipelineCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/DescribeInferenceRecommendationsJobCommand.d.ts +2 -4
  60. package/dist-types/ts3.4/commands/DescribeLabelingJobCommand.d.ts +4 -2
  61. package/dist-types/ts3.4/commands/ListMlflowTrackingServersCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/ListModelBiasJobDefinitionsCommand.d.ts +4 -2
  63. package/dist-types/ts3.4/commands/UpdateUserProfileCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/UpdateWorkforceCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/UpdateWorkteamCommand.d.ts +4 -2
  66. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  67. package/dist-types/ts3.4/models/models_0.d.ts +55 -26
  68. package/dist-types/ts3.4/models/models_1.d.ts +32 -25
  69. package/dist-types/ts3.4/models/models_2.d.ts +25 -43
  70. package/dist-types/ts3.4/models/models_3.d.ts +47 -44
  71. package/dist-types/ts3.4/models/models_4.d.ts +49 -35
  72. package/dist-types/ts3.4/models/models_5.d.ts +38 -2
  73. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
  74. package/package.json +1 -1
@@ -1,7 +1,177 @@
1
1
  import { ActionStatus, AdditionalInferenceSpecificationDefinition, AlgorithmSpecification, AppNetworkAccessType, AppSecurityGroupManagement, AppSpecification, AppType, AutoMLJobStepMetadata, BatchDataCaptureConfig, BatchStrategy, BatchTransformInput, CacheHitResult, CallbackStepMetadata, Channel, CheckpointConfig, ClarifyCheckStepMetadata, ClusterInstanceGroupSpecification, ClusterNodeRecovery, CodeEditorAppImageConfig, ConditionStepMetadata, ContainerDefinition, InferenceSpecification, JupyterLabAppImageConfig, KernelGatewayImageConfig, MetadataProperties, ModelApprovalStatus, ModelPackageStatus, OutputDataConfig, OutputParameter, ResourceConfig, StoppingCondition, Tag, TransformInput, TransformOutput, TransformResources, UserContext, VpcConfig } from "./models_0";
2
- import { _InstanceType, DefaultSpaceSettings, DeploymentConfig, DriftCheckBaselines, EdgeOutputConfig, 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, TagPropagation, ThroughputMode, TrackingServerSize, TtlDuration, UiTemplate, UserSettings, VendorGuidance } from "./models_1";
3
- import { CrossAccountFilterOption, DataProcessing, DebugHookConfig, DebugRuleConfiguration, DebugRuleEvaluationStatus, DeploymentRecommendation, EndpointStatus, ExperimentConfig, 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, EndpointConfigStepMetadata, EndpointStepMetadata, ExecutionStatus, Experiment, FailStepMetadata, FeatureGroup, FeatureMetadata, Filter, GitConfigForUpdate, HyperParameterTuningJobSearchEntity, InferenceExperimentStopDesiredState, LambdaStepMetadata, LineageType, MetricData, ModelCardExportJobStatus, ModelPackageGroupStatus, ModelPackageStatusDetails, MonitoringExecutionSummary, MonitoringJobDefinitionSortKey, MonitoringJobDefinitionSummary, NotebookInstanceStatus, OptimizationJobStatus, OrderKey, PipelineExecutionStatus, PipelineExperimentConfig, PipelineStatus, ProcessingJobStatus, ProjectStatus, ScheduleStatus, SecondaryStatus, SecondaryStatusTransition, SelectiveExecutionConfig, ServiceCatalogProvisionedProductDetails, SortBy, SortOrder, SpaceStatus, SubscribedWorkteam, TransformJobStatus, TrialComponentMetricSummary, TrialComponentSource, TrialSource, UserProfileStatus, WarmPoolResourceStatus, WarmPoolStatus, Workforce, Workteam } from "./models_3";
2
+ import { _InstanceType, DefaultSpaceSettings, DeploymentConfig, DriftCheckBaselines, EdgeOutputConfig, FeatureDefinition, InferenceComponentRuntimeConfig, InferenceComponentSpecification, InferenceExecutionConfig, InferenceExperimentDataStorageConfig, InferenceExperimentSchedule, InstanceMetadataServiceConfiguration, JobType, ModelCardSecurityConfig, ModelCardStatus, ModelLifeCycle, ModelMetrics, ModelPackageModelCard, ModelPackageSecurityConfig, ModelPackageValidationSpecification, ModelVariantConfig, MonitoringScheduleConfig, MonitoringType, NetworkConfig, NotebookInstanceAcceleratorType, NotebookInstanceLifecycleHook, OptimizationJobDeploymentInstanceType, Processor, RetryStrategy, RootAccess, ShadowModeConfig, SkipModelValidation, SourceAlgorithmSpecification, TagPropagation, ThroughputMode, TrackingServerSize, TtlDuration, UiTemplate, UserSettings, VendorGuidance } from "./models_1";
3
+ import { CrossAccountFilterOption, DataProcessing, DebugHookConfig, DebugRuleConfiguration, DebugRuleEvaluationStatus, DeploymentRecommendation, EndpointStatus, ExperimentConfig, FeatureParameter, HyperParameterTrainingJobSummary, ModelArtifacts, ModelClientConfig, ParallelismConfiguration, PipelineDefinitionS3Location, ProcessingInput, ProcessingOutputConfig, ProcessingResources, ProcessingStoppingCondition, ProfilerConfig, ProfilerRuleConfiguration, ProvisioningParameter, ServiceCatalogProvisioningDetails, SharingType, SpaceSettings, SpaceStorageSettings, StudioLifecycleConfigAppType, TensorBoardOutputConfig, TrainingJobStatus, TrialComponentArtifact, TrialComponentParameterValue, TrialComponentStatus } from "./models_2";
4
+ import { DesiredWeightAndCapacity, Device, DeviceDeploymentSummary, Direction, DomainSettingsForUpdate, Edge, EMRStepMetadata, Endpoint, EndpointConfigStepMetadata, EndpointStepMetadata, ExecutionStatus, Experiment, FailStepMetadata, FeatureGroup, FeatureMetadata, Filter, GitConfigForUpdate, HyperParameterTuningJobSearchEntity, InferenceExperimentStopDesiredState, IsTrackingServerActive, LambdaStepMetadata, LineageType, MetricData, ModelCardExportJobStatus, ModelPackageGroupStatus, ModelPackageStatusDetails, MonitoringExecutionSummary, MonitoringJobDefinitionSortKey, MonitoringJobDefinitionSummary, NotebookInstanceStatus, OptimizationJobStatus, OrderKey, PipelineExecutionStatus, PipelineExperimentConfig, PipelineStatus, ProcessingJobStatus, ProjectStatus, ScheduleStatus, SecondaryStatus, SecondaryStatusTransition, SelectiveExecutionConfig, ServiceCatalogProvisionedProductDetails, SortBy, SortOrder, SpaceStatus, SubscribedWorkteam, TrackingServerStatus, TransformJobStatus, TrialComponentMetricSummary, TrialComponentSource, TrialSource, UserProfileStatus, WarmPoolResourceStatus, WarmPoolStatus, Workforce, Workteam } from "./models_3";
5
+ /**
6
+ * @public
7
+ * @enum
8
+ */
9
+ export declare const SortTrackingServerBy: {
10
+ readonly CREATION_TIME: "CreationTime";
11
+ readonly NAME: "Name";
12
+ readonly STATUS: "Status";
13
+ };
14
+ /**
15
+ * @public
16
+ */
17
+ export type SortTrackingServerBy = (typeof SortTrackingServerBy)[keyof typeof SortTrackingServerBy];
18
+ /**
19
+ * @public
20
+ */
21
+ export interface ListMlflowTrackingServersRequest {
22
+ /**
23
+ * <p>Use the <code>CreatedAfter</code> filter to only list tracking servers created after a
24
+ * specific date and time. Listed tracking servers are shown with a date and time such as
25
+ * <code>"2024-03-16T01:46:56+00:00"</code>. The <code>CreatedAfter</code> parameter takes in a
26
+ * Unix timestamp. To convert a date and time into a Unix timestamp, see <a href="https://www.epochconverter.com/">EpochConverter</a>.</p>
27
+ * @public
28
+ */
29
+ CreatedAfter?: Date;
30
+ /**
31
+ * <p>Use the <code>CreatedBefore</code> filter to only list tracking servers created before a
32
+ * specific date and time. Listed tracking servers are shown with a date and time such as
33
+ * <code>"2024-03-16T01:46:56+00:00"</code>. The <code>CreatedBefore</code> parameter takes in
34
+ * a Unix timestamp. To convert a date and time into a Unix timestamp, see <a href="https://www.epochconverter.com/">EpochConverter</a>.</p>
35
+ * @public
36
+ */
37
+ CreatedBefore?: Date;
38
+ /**
39
+ * <p>Filter for tracking servers with a specified creation status.</p>
40
+ * @public
41
+ */
42
+ TrackingServerStatus?: TrackingServerStatus;
43
+ /**
44
+ * <p>Filter for tracking servers using the specified MLflow version.</p>
45
+ * @public
46
+ */
47
+ MlflowVersion?: string;
48
+ /**
49
+ * <p>Filter for trackings servers sorting by name, creation time, or creation status.</p>
50
+ * @public
51
+ */
52
+ SortBy?: SortTrackingServerBy;
53
+ /**
54
+ * <p>Change the order of the listed tracking servers. By default, tracking servers are listed in <code>Descending</code> order by creation time.
55
+ * To change the list order, you can specify <code>SortOrder</code> to be <code>Ascending</code>.</p>
56
+ * @public
57
+ */
58
+ SortOrder?: SortOrder;
59
+ /**
60
+ * <p>If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.</p>
61
+ * @public
62
+ */
63
+ NextToken?: string;
64
+ /**
65
+ * <p>The maximum number of tracking servers to list.</p>
66
+ * @public
67
+ */
68
+ MaxResults?: number;
69
+ }
70
+ /**
71
+ * <p>The summary of the tracking server to list.</p>
72
+ * @public
73
+ */
74
+ export interface TrackingServerSummary {
75
+ /**
76
+ * <p>The ARN of a listed tracking server.</p>
77
+ * @public
78
+ */
79
+ TrackingServerArn?: string;
80
+ /**
81
+ * <p>The name of a listed tracking server.</p>
82
+ * @public
83
+ */
84
+ TrackingServerName?: string;
85
+ /**
86
+ * <p>The creation time of a listed tracking server.</p>
87
+ * @public
88
+ */
89
+ CreationTime?: Date;
90
+ /**
91
+ * <p>The last modified time of a listed tracking server.</p>
92
+ * @public
93
+ */
94
+ LastModifiedTime?: Date;
95
+ /**
96
+ * <p>The creation status of a listed tracking server.</p>
97
+ * @public
98
+ */
99
+ TrackingServerStatus?: TrackingServerStatus;
100
+ /**
101
+ * <p>The activity status of a listed tracking server.</p>
102
+ * @public
103
+ */
104
+ IsActive?: IsTrackingServerActive;
105
+ /**
106
+ * <p>The MLflow version used for a listed tracking server.</p>
107
+ * @public
108
+ */
109
+ MlflowVersion?: string;
110
+ }
111
+ /**
112
+ * @public
113
+ */
114
+ export interface ListMlflowTrackingServersResponse {
115
+ /**
116
+ * <p>A list of tracking servers according to chosen filters.</p>
117
+ * @public
118
+ */
119
+ TrackingServerSummaries?: TrackingServerSummary[];
120
+ /**
121
+ * <p>If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.</p>
122
+ * @public
123
+ */
124
+ NextToken?: string;
125
+ }
126
+ /**
127
+ * @public
128
+ */
129
+ export interface ListModelBiasJobDefinitionsRequest {
130
+ /**
131
+ * <p>Name of the endpoint to monitor for model bias.</p>
132
+ * @public
133
+ */
134
+ EndpointName?: string;
135
+ /**
136
+ * <p>Whether to sort results by the <code>Name</code> or <code>CreationTime</code> field.
137
+ * The default is <code>CreationTime</code>.</p>
138
+ * @public
139
+ */
140
+ SortBy?: MonitoringJobDefinitionSortKey;
141
+ /**
142
+ * <p>Whether to sort the results in <code>Ascending</code> or <code>Descending</code> order.
143
+ * The default is <code>Descending</code>.</p>
144
+ * @public
145
+ */
146
+ SortOrder?: SortOrder;
147
+ /**
148
+ * <p>The token returned if the response is truncated. To retrieve the next set of job executions, use
149
+ * it in the next request.</p>
150
+ * @public
151
+ */
152
+ NextToken?: string;
153
+ /**
154
+ * <p>The maximum number of model bias jobs to return in the response. The default value is
155
+ * 10.</p>
156
+ * @public
157
+ */
158
+ MaxResults?: number;
159
+ /**
160
+ * <p>Filter for model bias jobs whose name contains a specified string.</p>
161
+ * @public
162
+ */
163
+ NameContains?: string;
164
+ /**
165
+ * <p>A filter that returns only model bias jobs created before a specified time.</p>
166
+ * @public
167
+ */
168
+ CreationTimeBefore?: Date;
169
+ /**
170
+ * <p>A filter that returns only model bias jobs created after a specified time.</p>
171
+ * @public
172
+ */
173
+ CreationTimeAfter?: Date;
174
+ }
5
175
  /**
6
176
  * @public
7
177
  */
@@ -3591,6 +3761,11 @@ export interface TrainingJobSummary {
3591
3761
  * @public
3592
3762
  */
3593
3763
  TrainingJobStatus: TrainingJobStatus | undefined;
3764
+ /**
3765
+ * <p>The secondary status of the training job.</p>
3766
+ * @public
3767
+ */
3768
+ SecondaryStatus?: SecondaryStatus;
3594
3769
  /**
3595
3770
  * <p>The status of the warm pool associated with the training job.</p>
3596
3771
  * @public
@@ -5044,6 +5219,13 @@ export interface ModelPackage {
5044
5219
  * @public
5045
5220
  */
5046
5221
  ModelCard?: ModelPackageModelCard;
5222
+ /**
5223
+ * <p>
5224
+ * A structure describing the current state of the model in its life cycle.
5225
+ * </p>
5226
+ * @public
5227
+ */
5228
+ ModelLifeCycle?: ModelLifeCycle;
5047
5229
  /**
5048
5230
  * <p>A list of the tags associated with the model package. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services
5049
5231
  * resources</a> in the <i>Amazon Web Services General Reference Guide</i>.</p>
@@ -7479,7 +7661,8 @@ export interface UpdateDomainRequest {
7479
7661
  */
7480
7662
  AppNetworkAccessType?: AppNetworkAccessType;
7481
7663
  /**
7482
- * <p>Indicates whether custom tag propagation is supported for the domain. Defaults to <code>DISABLED</code>.</p>
7664
+ * <p>Indicates whether custom tag propagation is supported for the domain. Defaults to
7665
+ * <code>DISABLED</code>.</p>
7483
7666
  * @public
7484
7667
  */
7485
7668
  TagPropagation?: TagPropagation;
@@ -8232,6 +8415,20 @@ export interface UpdateModelPackageInput {
8232
8415
  * @public
8233
8416
  */
8234
8417
  ModelCard?: ModelPackageModelCard;
8418
+ /**
8419
+ * <p>
8420
+ * A structure describing the current state of the model in its life cycle.
8421
+ * </p>
8422
+ * @public
8423
+ */
8424
+ ModelLifeCycle?: ModelLifeCycle;
8425
+ /**
8426
+ * <p>
8427
+ * A unique token that guarantees that the call to this API is idempotent.
8428
+ * </p>
8429
+ * @public
8430
+ */
8431
+ ClientToken?: string;
8235
8432
  }
8236
8433
  /**
8237
8434
  * @public
@@ -8792,126 +8989,6 @@ export interface UpdateTrialComponentResponse {
8792
8989
  */
8793
8990
  TrialComponentArn?: string;
8794
8991
  }
8795
- /**
8796
- * @public
8797
- */
8798
- export interface UpdateUserProfileRequest {
8799
- /**
8800
- * <p>The domain ID.</p>
8801
- * @public
8802
- */
8803
- DomainId: string | undefined;
8804
- /**
8805
- * <p>The user profile name.</p>
8806
- * @public
8807
- */
8808
- UserProfileName: string | undefined;
8809
- /**
8810
- * <p>A collection of settings.</p>
8811
- * @public
8812
- */
8813
- UserSettings?: UserSettings;
8814
- }
8815
- /**
8816
- * @public
8817
- */
8818
- export interface UpdateUserProfileResponse {
8819
- /**
8820
- * <p>The user profile Amazon Resource Name (ARN).</p>
8821
- * @public
8822
- */
8823
- UserProfileArn?: string;
8824
- }
8825
- /**
8826
- * @public
8827
- */
8828
- export interface UpdateWorkforceRequest {
8829
- /**
8830
- * <p>The name of the private workforce that you want to update. You can find your workforce
8831
- * name by using the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ListWorkforces.html">ListWorkforces</a> operation.</p>
8832
- * @public
8833
- */
8834
- WorkforceName: string | undefined;
8835
- /**
8836
- * <p>A list of one to ten worker IP address ranges (<a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html">CIDRs</a>) that can be used to
8837
- * access tasks assigned to this workforce.</p>
8838
- * <p>Maximum: Ten CIDR values</p>
8839
- * @public
8840
- */
8841
- SourceIpConfig?: SourceIpConfig;
8842
- /**
8843
- * <p>Use this parameter to update your OIDC Identity Provider (IdP)
8844
- * configuration for a workforce made using your own IdP.</p>
8845
- * @public
8846
- */
8847
- OidcConfig?: OidcConfig;
8848
- /**
8849
- * <p>Use this parameter to update your VPC configuration for a workforce.</p>
8850
- * @public
8851
- */
8852
- WorkforceVpcConfig?: WorkforceVpcConfigRequest;
8853
- }
8854
- /**
8855
- * @public
8856
- */
8857
- export interface UpdateWorkforceResponse {
8858
- /**
8859
- * <p>A single private workforce. You can create one private work force in each Amazon Web Services Region. By default,
8860
- * any workforce-related API operation used in a specific region will apply to the
8861
- * workforce created in that region. To learn how to create a private workforce, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-create-private.html">Create a Private Workforce</a>.</p>
8862
- * @public
8863
- */
8864
- Workforce: Workforce | undefined;
8865
- }
8866
- /**
8867
- * @public
8868
- */
8869
- export interface UpdateWorkteamRequest {
8870
- /**
8871
- * <p>The name of the work team to update.</p>
8872
- * @public
8873
- */
8874
- WorkteamName: string | undefined;
8875
- /**
8876
- * <p>A list of <code>MemberDefinition</code> objects that contains objects that identify
8877
- * the workers that make up the work team. </p>
8878
- * <p>Workforces can be created using Amazon Cognito or your own OIDC Identity Provider (IdP).
8879
- * For private workforces created using Amazon Cognito use
8880
- * <code>CognitoMemberDefinition</code>. For workforces created using your own OIDC identity
8881
- * provider (IdP) use <code>OidcMemberDefinition</code>. You should not provide input
8882
- * for both of these parameters in a single request.</p>
8883
- * <p>For workforces created using Amazon Cognito, private work teams correspond to Amazon Cognito
8884
- * <i>user groups</i> within the user pool used to create a workforce. All of the
8885
- * <code>CognitoMemberDefinition</code> objects that make up the member definition must
8886
- * have the same <code>ClientId</code> and <code>UserPool</code> values. To add a Amazon
8887
- * Cognito user group to an existing worker pool, see <a href="">Adding groups to a User
8888
- * Pool</a>. For more information about user pools, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html">Amazon Cognito User
8889
- * Pools</a>.</p>
8890
- * <p>For workforces created using your own OIDC IdP, specify the user groups that you want
8891
- * to include in your private work team in <code>OidcMemberDefinition</code> by listing
8892
- * those groups in <code>Groups</code>. Be aware that user groups that are already in the
8893
- * work team must also be listed in <code>Groups</code> when you make this request to
8894
- * remain on the work team. If you do not include these user groups, they will no longer be
8895
- * associated with the work team you update. </p>
8896
- * @public
8897
- */
8898
- MemberDefinitions?: MemberDefinition[];
8899
- /**
8900
- * <p>An updated description for the work team.</p>
8901
- * @public
8902
- */
8903
- Description?: string;
8904
- /**
8905
- * <p>Configures SNS topic notifications for available or expiring work items</p>
8906
- * @public
8907
- */
8908
- NotificationConfiguration?: NotificationConfiguration;
8909
- /**
8910
- * <p>Use this optional parameter to constrain access to an Amazon S3 resource based on the IP address using supported IAM global condition keys. The Amazon S3 resource is accessed in the worker portal using a Amazon S3 presigned URL.</p>
8911
- * @public
8912
- */
8913
- WorkerAccessConfiguration?: WorkerAccessConfiguration;
8914
- }
8915
8992
  /**
8916
8993
  * @internal
8917
8994
  */
@@ -8936,7 +9013,3 @@ export declare const UpdateModelCardRequestFilterSensitiveLog: (obj: UpdateModel
8936
9013
  * @internal
8937
9014
  */
8938
9015
  export declare const UpdateModelPackageInputFilterSensitiveLog: (obj: UpdateModelPackageInput) => any;
8939
- /**
8940
- * @internal
8941
- */
8942
- export declare const UpdateWorkforceRequestFilterSensitiveLog: (obj: UpdateWorkforceRequest) => any;
@@ -1,7 +1,128 @@
1
1
  import { BooleanOperator } from "./models_0";
2
- import { CrossAccountFilterOption } from "./models_2";
3
- import { Filter, ResourceType, Workteam } from "./models_3";
2
+ import { UserSettings } from "./models_1";
3
+ import { CrossAccountFilterOption, MemberDefinition, NotificationConfiguration, OidcConfig, SourceIpConfig, WorkerAccessConfiguration, WorkforceVpcConfigRequest } from "./models_2";
4
+ import { Filter, ResourceType, Workforce, Workteam } from "./models_3";
4
5
  import { NestedFilters, SearchSortOrder, VisibilityConditions } from "./models_4";
6
+ /**
7
+ * @public
8
+ */
9
+ export interface UpdateUserProfileRequest {
10
+ /**
11
+ * <p>The domain ID.</p>
12
+ * @public
13
+ */
14
+ DomainId: string | undefined;
15
+ /**
16
+ * <p>The user profile name.</p>
17
+ * @public
18
+ */
19
+ UserProfileName: string | undefined;
20
+ /**
21
+ * <p>A collection of settings.</p>
22
+ * @public
23
+ */
24
+ UserSettings?: UserSettings;
25
+ }
26
+ /**
27
+ * @public
28
+ */
29
+ export interface UpdateUserProfileResponse {
30
+ /**
31
+ * <p>The user profile Amazon Resource Name (ARN).</p>
32
+ * @public
33
+ */
34
+ UserProfileArn?: string;
35
+ }
36
+ /**
37
+ * @public
38
+ */
39
+ export interface UpdateWorkforceRequest {
40
+ /**
41
+ * <p>The name of the private workforce that you want to update. You can find your workforce
42
+ * name by using the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ListWorkforces.html">ListWorkforces</a> operation.</p>
43
+ * @public
44
+ */
45
+ WorkforceName: string | undefined;
46
+ /**
47
+ * <p>A list of one to ten worker IP address ranges (<a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html">CIDRs</a>) that can be used to
48
+ * access tasks assigned to this workforce.</p>
49
+ * <p>Maximum: Ten CIDR values</p>
50
+ * @public
51
+ */
52
+ SourceIpConfig?: SourceIpConfig;
53
+ /**
54
+ * <p>Use this parameter to update your OIDC Identity Provider (IdP)
55
+ * configuration for a workforce made using your own IdP.</p>
56
+ * @public
57
+ */
58
+ OidcConfig?: OidcConfig;
59
+ /**
60
+ * <p>Use this parameter to update your VPC configuration for a workforce.</p>
61
+ * @public
62
+ */
63
+ WorkforceVpcConfig?: WorkforceVpcConfigRequest;
64
+ }
65
+ /**
66
+ * @public
67
+ */
68
+ export interface UpdateWorkforceResponse {
69
+ /**
70
+ * <p>A single private workforce. You can create one private work force in each Amazon Web Services Region. By default,
71
+ * any workforce-related API operation used in a specific region will apply to the
72
+ * workforce created in that region. To learn how to create a private workforce, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-create-private.html">Create a Private Workforce</a>.</p>
73
+ * @public
74
+ */
75
+ Workforce: Workforce | undefined;
76
+ }
77
+ /**
78
+ * @public
79
+ */
80
+ export interface UpdateWorkteamRequest {
81
+ /**
82
+ * <p>The name of the work team to update.</p>
83
+ * @public
84
+ */
85
+ WorkteamName: string | undefined;
86
+ /**
87
+ * <p>A list of <code>MemberDefinition</code> objects that contains objects that identify
88
+ * the workers that make up the work team. </p>
89
+ * <p>Workforces can be created using Amazon Cognito or your own OIDC Identity Provider (IdP).
90
+ * For private workforces created using Amazon Cognito use
91
+ * <code>CognitoMemberDefinition</code>. For workforces created using your own OIDC identity
92
+ * provider (IdP) use <code>OidcMemberDefinition</code>. You should not provide input
93
+ * for both of these parameters in a single request.</p>
94
+ * <p>For workforces created using Amazon Cognito, private work teams correspond to Amazon Cognito
95
+ * <i>user groups</i> within the user pool used to create a workforce. All of the
96
+ * <code>CognitoMemberDefinition</code> objects that make up the member definition must
97
+ * have the same <code>ClientId</code> and <code>UserPool</code> values. To add a Amazon
98
+ * Cognito user group to an existing worker pool, see <a href="">Adding groups to a User
99
+ * Pool</a>. For more information about user pools, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html">Amazon Cognito User
100
+ * Pools</a>.</p>
101
+ * <p>For workforces created using your own OIDC IdP, specify the user groups that you want
102
+ * to include in your private work team in <code>OidcMemberDefinition</code> by listing
103
+ * those groups in <code>Groups</code>. Be aware that user groups that are already in the
104
+ * work team must also be listed in <code>Groups</code> when you make this request to
105
+ * remain on the work team. If you do not include these user groups, they will no longer be
106
+ * associated with the work team you update. </p>
107
+ * @public
108
+ */
109
+ MemberDefinitions?: MemberDefinition[];
110
+ /**
111
+ * <p>An updated description for the work team.</p>
112
+ * @public
113
+ */
114
+ Description?: string;
115
+ /**
116
+ * <p>Configures SNS topic notifications for available or expiring work items</p>
117
+ * @public
118
+ */
119
+ NotificationConfiguration?: NotificationConfiguration;
120
+ /**
121
+ * <p>Use this optional parameter to constrain access to an Amazon S3 resource based on the IP address using supported IAM global condition keys. The Amazon S3 resource is accessed in the worker portal using a Amazon S3 presigned URL.</p>
122
+ * @public
123
+ */
124
+ WorkerAccessConfiguration?: WorkerAccessConfiguration;
125
+ }
5
126
  /**
6
127
  * @public
7
128
  */
@@ -131,3 +252,7 @@ export interface SearchRequest {
131
252
  */
132
253
  VisibilityConditions?: VisibilityConditions[];
133
254
  }
255
+ /**
256
+ * @internal
257
+ */
258
+ export declare const UpdateWorkforceRequestFilterSensitiveLog: (obj: UpdateWorkforceRequest) => any;
@@ -3,6 +3,7 @@ import { SerdeContext as __SerdeContext } from "@smithy/types";
3
3
  import { AddAssociationCommandInput, AddAssociationCommandOutput } from "../commands/AddAssociationCommand";
4
4
  import { AddTagsCommandInput, AddTagsCommandOutput } from "../commands/AddTagsCommand";
5
5
  import { AssociateTrialComponentCommandInput, AssociateTrialComponentCommandOutput } from "../commands/AssociateTrialComponentCommand";
6
+ import { BatchDeleteClusterNodesCommandInput, BatchDeleteClusterNodesCommandOutput } from "../commands/BatchDeleteClusterNodesCommand";
6
7
  import { BatchDescribeModelPackageCommandInput, BatchDescribeModelPackageCommandOutput } from "../commands/BatchDescribeModelPackageCommand";
7
8
  import { CreateActionCommandInput, CreateActionCommandOutput } from "../commands/CreateActionCommand";
8
9
  import { CreateAlgorithmCommandInput, CreateAlgorithmCommandOutput } from "../commands/CreateAlgorithmCommand";
@@ -347,6 +348,10 @@ export declare const se_AddTagsCommand: (input: AddTagsCommandInput, context: __
347
348
  * serializeAws_json1_1AssociateTrialComponentCommand
348
349
  */
349
350
  export declare const se_AssociateTrialComponentCommand: (input: AssociateTrialComponentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
351
+ /**
352
+ * serializeAws_json1_1BatchDeleteClusterNodesCommand
353
+ */
354
+ export declare const se_BatchDeleteClusterNodesCommand: (input: BatchDeleteClusterNodesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
350
355
  /**
351
356
  * serializeAws_json1_1BatchDescribeModelPackageCommand
352
357
  */
@@ -1687,6 +1692,10 @@ export declare const de_AddTagsCommand: (output: __HttpResponse, context: __Serd
1687
1692
  * deserializeAws_json1_1AssociateTrialComponentCommand
1688
1693
  */
1689
1694
  export declare const de_AssociateTrialComponentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociateTrialComponentCommandOutput>;
1695
+ /**
1696
+ * deserializeAws_json1_1BatchDeleteClusterNodesCommand
1697
+ */
1698
+ export declare const de_BatchDeleteClusterNodesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchDeleteClusterNodesCommandOutput>;
1690
1699
  /**
1691
1700
  * deserializeAws_json1_1BatchDescribeModelPackageCommand
1692
1701
  */
@@ -11,6 +11,10 @@ import {
11
11
  AssociateTrialComponentCommandInput,
12
12
  AssociateTrialComponentCommandOutput,
13
13
  } from "./commands/AssociateTrialComponentCommand";
14
+ import {
15
+ BatchDeleteClusterNodesCommandInput,
16
+ BatchDeleteClusterNodesCommandOutput,
17
+ } from "./commands/BatchDeleteClusterNodesCommand";
14
18
  import {
15
19
  BatchDescribeModelPackageCommandInput,
16
20
  BatchDescribeModelPackageCommandOutput,
@@ -1380,6 +1384,19 @@ export interface SageMaker {
1380
1384
  options: __HttpHandlerOptions,
1381
1385
  cb: (err: any, data?: AssociateTrialComponentCommandOutput) => void
1382
1386
  ): void;
1387
+ batchDeleteClusterNodes(
1388
+ args: BatchDeleteClusterNodesCommandInput,
1389
+ options?: __HttpHandlerOptions
1390
+ ): Promise<BatchDeleteClusterNodesCommandOutput>;
1391
+ batchDeleteClusterNodes(
1392
+ args: BatchDeleteClusterNodesCommandInput,
1393
+ cb: (err: any, data?: BatchDeleteClusterNodesCommandOutput) => void
1394
+ ): void;
1395
+ batchDeleteClusterNodes(
1396
+ args: BatchDeleteClusterNodesCommandInput,
1397
+ options: __HttpHandlerOptions,
1398
+ cb: (err: any, data?: BatchDeleteClusterNodesCommandOutput) => void
1399
+ ): void;
1383
1400
  batchDescribeModelPackage(
1384
1401
  args: BatchDescribeModelPackageCommandInput,
1385
1402
  options?: __HttpHandlerOptions
@@ -57,6 +57,10 @@ import {
57
57
  AssociateTrialComponentCommandInput,
58
58
  AssociateTrialComponentCommandOutput,
59
59
  } from "./commands/AssociateTrialComponentCommand";
60
+ import {
61
+ BatchDeleteClusterNodesCommandInput,
62
+ BatchDeleteClusterNodesCommandOutput,
63
+ } from "./commands/BatchDeleteClusterNodesCommand";
60
64
  import {
61
65
  BatchDescribeModelPackageCommandInput,
62
66
  BatchDescribeModelPackageCommandOutput,
@@ -1396,6 +1400,7 @@ export type ServiceInputTypes =
1396
1400
  | AddAssociationCommandInput
1397
1401
  | AddTagsCommandInput
1398
1402
  | AssociateTrialComponentCommandInput
1403
+ | BatchDeleteClusterNodesCommandInput
1399
1404
  | BatchDescribeModelPackageCommandInput
1400
1405
  | CreateActionCommandInput
1401
1406
  | CreateAlgorithmCommandInput
@@ -1732,6 +1737,7 @@ export type ServiceOutputTypes =
1732
1737
  | AddAssociationCommandOutput
1733
1738
  | AddTagsCommandOutput
1734
1739
  | AssociateTrialComponentCommandOutput
1740
+ | BatchDeleteClusterNodesCommandOutput
1735
1741
  | BatchDescribeModelPackageCommandOutput
1736
1742
  | CreateActionCommandOutput
1737
1743
  | CreateAlgorithmCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BatchDeleteClusterNodesRequest,
5
+ BatchDeleteClusterNodesResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ SageMakerClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../SageMakerClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface BatchDeleteClusterNodesCommandInput
15
+ extends BatchDeleteClusterNodesRequest {}
16
+ export interface BatchDeleteClusterNodesCommandOutput
17
+ extends BatchDeleteClusterNodesResponse,
18
+ __MetadataBearer {}
19
+ declare const BatchDeleteClusterNodesCommand_base: {
20
+ new (
21
+ input: BatchDeleteClusterNodesCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ BatchDeleteClusterNodesCommandInput,
24
+ BatchDeleteClusterNodesCommandOutput,
25
+ SageMakerClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: BatchDeleteClusterNodesCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ BatchDeleteClusterNodesCommandInput,
33
+ BatchDeleteClusterNodesCommandOutput,
34
+ SageMakerClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class BatchDeleteClusterNodesCommand extends BatchDeleteClusterNodesCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: BatchDeleteClusterNodesRequest;
44
+ output: BatchDeleteClusterNodesResponse;
45
+ };
46
+ sdk: {
47
+ input: BatchDeleteClusterNodesCommandInput;
48
+ output: BatchDeleteClusterNodesCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  CreateAlgorithmInput,
5
5
  CreateAlgorithmOutput,
6
- } from "../models/models_0";
6
+ } from "../models/models_1";
7
7
  import {
8
8
  SageMakerClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { CreateAppRequest, CreateAppResponse } from "../models/models_0";
3
+ import { CreateAppRequest, CreateAppResponse } from "../models/models_1";
4
4
  import {
5
5
  SageMakerClientResolvedConfig,
6
6
  ServiceInputTypes,