From d7c4e6f13662568f325012986ffd7a3b7768bbbd Mon Sep 17 00:00:00 2001
From: awstools Configuration for remote debugging for the CreateTrainingJob API. To learn more about the remote
+ * debugging functionality of SageMaker, see Access a training container through Amazon Web Services Systems Manager (SSM)
+ * for remote debugging. If set to True, enables remote debugging. Configuration of storage locations for the Amazon SageMaker Debugger TensorBoard output data. Configuration for remote debugging. To learn more about the remote
+ * debugging functionality of SageMaker, see Access a training container through Amazon Web Services Systems Manager (SSM)
+ * for remote debugging. Contains information about the infrastructure health check configuration for the training job. The name, value, and date and time of a metric that was emitted to Amazon CloudWatch. The name of the metric. The value of the metric. The date and time that the algorithm emitted the metric. The name, value, and date and time of a metric that was emitted to Amazon CloudWatch. The name of the metric. The value of the metric. The date and time that the algorithm emitted the metric. Information about the status of the rule evaluation. Downloading the training image. Training
* image download completed. Training in
* progress. Configuration for remote debugging. To learn more about the remote
+ * debugging functionality of SageMaker, see Access a training container through Amazon Web Services Systems Manager (SSM)
+ * for remote debugging. Contains information about the infrastructure health check configuration for the training job. Metadata for a step execution. The Amazon Resource Name (ARN) of the training job that was run by this step execution. The Amazon Resource Name (ARN) of the processing job that was run by this step execution. The Amazon Resource Name (ARN) of the transform job that was run by this step execution. The Amazon Resource Name (ARN) of the tuning job that was run by this step execution. The Amazon Resource Name (ARN) of the model that was created by this step execution. The Amazon Resource Name (ARN) of the model package that the model was registered to by this step execution. The outcome of the condition evaluation that was run by this step execution. The URL of the Amazon SQS queue used by this step execution, the pipeline generated token,
- * and a list of output parameters. The Amazon Resource Name (ARN) of the Lambda function that was run by this step execution and a list of
- * output parameters. The configurations and outcomes of an Amazon EMR step execution. The configurations and outcomes of the check step execution. This includes: The type of the check conducted. The Amazon S3 URIs of baseline constraints and statistics files to be used for the drift check. The Amazon S3 URIs of newly calculated baseline constraints and statistics. The model package group name provided. The Amazon S3 URI of the violation report if violations detected. The Amazon Resource Name (ARN) of check processing job initiated by the step execution. The Boolean flags indicating if the drift check is skipped. If step property Container for the metadata for a Clarify check step. The configurations
- * and outcomes of the check step execution. This includes: The type of the check conducted, The Amazon S3 URIs of baseline constraints and statistics files to be used for the drift check. The Amazon S3 URIs of newly calculated baseline constraints and statistics. The model package group name provided. The Amazon S3 URI of the violation report if violations detected. The Amazon Resource Name (ARN) of check processing job initiated by the step execution. The boolean flags indicating if the drift check is skipped. If step property The configurations and outcomes of a Fail step execution. The Amazon Resource Name (ARN) of the AutoML job that was run by this step. Metadata for a step execution. The Amazon Resource Name (ARN) of the training job that was run by this step execution. The Amazon Resource Name (ARN) of the processing job that was run by this step execution. The Amazon Resource Name (ARN) of the transform job that was run by this step execution. The Amazon Resource Name (ARN) of the tuning job that was run by this step execution. The Amazon Resource Name (ARN) of the model that was created by this step execution. The Amazon Resource Name (ARN) of the model package that the model was registered to by this step execution. The outcome of the condition evaluation that was run by this step execution. The URL of the Amazon SQS queue used by this step execution, the pipeline generated token,
+ * and a list of output parameters. The Amazon Resource Name (ARN) of the Lambda function that was run by this step execution and a list of
+ * output parameters. The configurations and outcomes of an Amazon EMR step execution. The configurations and outcomes of the check step execution. This includes: The type of the check conducted. The Amazon S3 URIs of baseline constraints and statistics files to be used for the drift check. The Amazon S3 URIs of newly calculated baseline constraints and statistics. The model package group name provided. The Amazon S3 URI of the violation report if violations detected. The Amazon Resource Name (ARN) of check processing job initiated by the step execution. The Boolean flags indicating if the drift check is skipped. If step property Container for the metadata for a Clarify check step. The configurations
+ * and outcomes of the check step execution. This includes: The type of the check conducted, The Amazon S3 URIs of baseline constraints and statistics files to be used for the drift check. The Amazon S3 URIs of newly calculated baseline constraints and statistics. The model package group name provided. The Amazon S3 URI of the violation report if violations detected. The Amazon Resource Name (ARN) of check processing job initiated by the step execution. The boolean flags indicating if the drift check is skipped. If step property The configurations and outcomes of a Fail step execution. The Amazon Resource Name (ARN) of the AutoML job that was run by this step. The ARN from an execution of the current pipeline. Configuration for remote debugging for the UpdateTrainingJob API. To learn more about the remote
+ * debugging functionality of SageMaker, see Access a training container through Amazon Web Services Systems Manager (SSM)
+ * for remote debugging. If set to True, enables remote debugging. Contains input values for a task. The list of key-value pairs that you specify for your resources. The key for that specifies the tag that you're using to filter the search results. The key must start with The value for the tag that you're using to filter the search results. Contains information about a training job.
*
- *
- */
- QualityCheck?: QualityCheckStepMetadata;
-
- /**
- * @public
- * BaselineUsedForDriftCheck
is set the same as
- * CalculatedBaseline
.
- *
- */
- ClarifyCheck?: ClarifyCheckStepMetadata;
-
- /**
- * @public
- * BaselineUsedForDriftCheck
is set the same as
- * CalculatedBaseline
.
+ *
+ */
+ QualityCheck?: QualityCheckStepMetadata;
+
+ /**
+ * @public
+ * BaselineUsedForDriftCheck
is set the same as
+ * CalculatedBaseline
.
+ *
+ */
+ ClarifyCheck?: ClarifyCheckStepMetadata;
+
+ /**
+ * @public
+ * BaselineUsedForDriftCheck
is set the same as
+ * CalculatedBaseline
.Tags.
.
Configuration for remote debugging while the training job is running. You can
+ * update the remote debugging configuration when the SecondaryStatus
of the job
+ * is Downloading
or Training
.To learn more about the remote
+ * debugging functionality of SageMaker, see Access a training container through Amazon Web Services Systems Manager (SSM)
+ * for remote debugging.
+ * Limits the results of your search request to the resources that you can access. + *
+ */ + VisibilityConditions?: VisibilityConditions[]; } /** diff --git a/clients/client-sagemaker/src/protocols/Aws_json1_1.ts b/clients/client-sagemaker/src/protocols/Aws_json1_1.ts index 79b907565fa43..6b775c3b00877 100644 --- a/clients/client-sagemaker/src/protocols/Aws_json1_1.ts +++ b/clients/client-sagemaker/src/protocols/Aws_json1_1.ts @@ -1528,7 +1528,6 @@ import { LabelingJobOutput, LastUpdateStatus, MemberDefinition, - MetricData, ModelArtifacts, ModelCardExportArtifacts, ModelClientConfig, @@ -1552,6 +1551,7 @@ import { ProfilerRuleConfiguration, RealTimeInferenceRecommendation, RecommendationMetrics, + RemoteDebugConfig, ResolvedAttributes, RetentionPolicy, SelectedStep, @@ -1758,6 +1758,7 @@ import { ListPipelineExecutionsRequest, ListPipelineExecutionsResponse, ListPipelineExecutionStepsRequest, + MetricData, MetricSpecification, ModelCardExportJobSummary, ModelCardSummary, @@ -1779,7 +1780,6 @@ import { NotebookInstanceLifecycleConfigSummary, NotebookInstanceSummary, OidcConfigForResponse, - PipelineExecutionStepMetadata, PipelineExecutionSummary, PredefinedMetricSpecification, ProcessingJobStepMetadata, @@ -1863,6 +1863,7 @@ import { Pipeline, PipelineExecution, PipelineExecutionStep, + PipelineExecutionStepMetadata, PipelineSummary, ProcessingJob, ProcessingJobSummary, @@ -1875,6 +1876,7 @@ import { QueryLineageRequest, QueryLineageResponse, RegisterDevicesRequest, + RemoteDebugConfigForUpdate, RenderableTask, RenderingError, RenderUiTemplateRequest, @@ -2002,6 +2004,7 @@ import { UserProfileDetails, VariantProperty, Vertex, + VisibilityConditions, } from "../models/models_4"; import { SageMakerServiceException as __BaseException } from "../models/SageMakerServiceException"; @@ -23114,6 +23117,10 @@ const se_QueryLineageRequest = (input: QueryLineageRequest, context: __SerdeCont // se_RegisterDevicesRequest omitted. +// se_RemoteDebugConfig omitted. + +// se_RemoteDebugConfigForUpdate omitted. + // se_RenderableTask omitted. // se_RenderUiTemplateRequest omitted. @@ -23204,6 +23211,7 @@ const se_SearchRequest = (input: SearchRequest, context: __SerdeContext): any => SearchExpression: (_) => se_SearchExpression(_, context), SortBy: [], SortOrder: [], + VisibilityConditions: _json, }); }; @@ -23597,6 +23605,10 @@ const se_UpdateTrialComponentRequest = (input: UpdateTrialComponentRequest, cont // se_VectorConfig omitted. +// se_VisibilityConditions omitted. + +// se_VisibilityConditionsList omitted. + // se_VpcConfig omitted. // se_VpcSecurityGroupIds omitted. @@ -27791,6 +27803,7 @@ const de_DescribeTrainingJobResponse = (output: any, context: __SerdeContext): D ProfilerRuleConfigurations: (_: any) => de_ProfilerRuleConfigurations(_, context), ProfilerRuleEvaluationStatuses: (_: any) => de_ProfilerRuleEvaluationStatuses(_, context), ProfilingStatus: __expectString, + RemoteDebugConfig: (_: any) => de_RemoteDebugConfig(_, context), ResourceConfig: (_: any) => de_ResourceConfig(_, context), RetryStrategy: (_: any) => de_RetryStrategy(_, context), RoleArn: __expectString, @@ -34256,6 +34269,15 @@ const de_RegisterModelStepMetadata = (output: any, context: __SerdeContext): Reg }) as any; }; +/** + * deserializeAws_json1_1RemoteDebugConfig + */ +const de_RemoteDebugConfig = (output: any, context: __SerdeContext): RemoteDebugConfig => { + return take(output, { + EnableRemoteDebug: __expectBoolean, + }) as any; +}; + /** * deserializeAws_json1_1RenderingError */ diff --git a/codegen/sdk-codegen/aws-models/sagemaker.json b/codegen/sdk-codegen/aws-models/sagemaker.json index 21b1282be46c0..3a1f39c837c6e 100644 --- a/codegen/sdk-codegen/aws-models/sagemaker.json +++ b/codegen/sdk-codegen/aws-models/sagemaker.json @@ -12226,6 +12226,12 @@ "smithy.api#documentation": "The number of times to retry the job when the job fails due to an\n InternalServerError
.
Configuration for remote debugging. To learn more about the remote \n debugging functionality of SageMaker, see Access a training container through Amazon Web Services Systems Manager (SSM) \n for remote debugging.
" + } + }, "InfraCheckConfig": { "target": "com.amazonaws.sagemaker#InfraCheckConfig", "traits": { @@ -22921,6 +22927,12 @@ "smithy.api#documentation": "The number of times to retry the job when the job fails due to an\n InternalServerError
.
Configuration for remote debugging. To learn more about the remote \n debugging functionality of SageMaker, see Access a training container through Amazon Web Services Systems Manager (SSM) \n for remote debugging.
" + } + }, "InfraCheckConfig": { "target": "com.amazonaws.sagemaker#InfraCheckConfig", "traits": { @@ -25375,6 +25387,9 @@ "com.amazonaws.sagemaker#EnableIotRoleAlias": { "type": "boolean" }, + "com.amazonaws.sagemaker#EnableRemoteDebug": { + "type": "boolean" + }, "com.amazonaws.sagemaker#EnableSagemakerServicecatalogPortfolio": { "type": "operation", "input": { @@ -52188,6 +52203,34 @@ "smithy.api#pattern": ".*" } }, + "com.amazonaws.sagemaker#RemoteDebugConfig": { + "type": "structure", + "members": { + "EnableRemoteDebug": { + "target": "com.amazonaws.sagemaker#EnableRemoteDebug", + "traits": { + "smithy.api#documentation": "If set to True, enables remote debugging.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Configuration for remote debugging for the CreateTrainingJob API. To learn more about the remote \n debugging functionality of SageMaker, see Access a training container through Amazon Web Services Systems Manager (SSM) \n for remote debugging.
" + } + }, + "com.amazonaws.sagemaker#RemoteDebugConfigForUpdate": { + "type": "structure", + "members": { + "EnableRemoteDebug": { + "target": "com.amazonaws.sagemaker#EnableRemoteDebug", + "traits": { + "smithy.api#documentation": "If set to True, enables remote debugging.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Configuration for remote debugging for the UpdateTrainingJob API. To learn more about the remote \n debugging functionality of SageMaker, see Access a training container through Amazon Web Services Systems Manager (SSM) \n for remote debugging.
" + } + }, "com.amazonaws.sagemaker#RenderUiTemplate": { "type": "operation", "input": { @@ -55634,6 +55677,12 @@ "traits": { "smithy.api#documentation": "\n A cross account filter option. When the value is \"CrossAccount\"
the \n search results will only include resources made discoverable to you from other \n accounts. When the value is \"SameAccount\"
or null
the \n search results will only include resources from your account. Default is \n null
. For more information on searching for resources made \n discoverable to your account, see \n Search discoverable resources in the SageMaker Developer Guide.\n The maximum number of ResourceCatalog
s viewable is 1000.\n
\n Limits the results of your search request to the resources that you can access.\n
" + } } }, "traits": { @@ -55818,7 +55867,7 @@ "StatusMessage": { "target": "com.amazonaws.sagemaker#StatusMessage", "traits": { - "smithy.api#documentation": "A detailed description of the progress within a secondary status.\n
\nSageMaker provides secondary statuses and status messages that apply to each of\n them:
\nStarting the training job.
\nLaunching requested ML\n instances.
\nInsufficient\n capacity error from EC2 while launching instances,\n retrying!
\nLaunched\n instance was unhealthy, replacing it!
\nPreparing the instances for training.
\nDownloading the training image.
\nTraining\n image download completed. Training in\n progress.
\nStatus messages are subject to change. Therefore, we recommend not including them\n in code that programmatically initiates actions. For examples, don't use status\n messages in if statements.
\nTo have an overview of your training job's progress, view\n TrainingJobStatus
and SecondaryStatus
in DescribeTrainingJob, and StatusMessage
together. For example,\n at the start of a training job, you might see the following:
\n TrainingJobStatus
- InProgress
\n SecondaryStatus
- Training
\n StatusMessage
- Downloading the training image
A detailed description of the progress within a secondary status.\n
\nSageMaker provides secondary statuses and status messages that apply to each of\n them:
\nStarting the training job.
\nLaunching requested ML\n instances.
\nInsufficient\n capacity error from EC2 while launching instances,\n retrying!
\nLaunched\n instance was unhealthy, replacing it!
\nPreparing the instances for training.
\nTraining\n image download completed. Training in\n progress.
\nStatus messages are subject to change. Therefore, we recommend not including them\n in code that programmatically initiates actions. For examples, don't use status\n messages in if statements.
\nTo have an overview of your training job's progress, view\n TrainingJobStatus
and SecondaryStatus
in DescribeTrainingJob, and StatusMessage
together. For example,\n at the start of a training job, you might see the following:
\n TrainingJobStatus
- InProgress
\n SecondaryStatus
- Training
\n StatusMessage
- Downloading the training image
The training job ResourceConfig
to update warm pool retention\n length.
Configuration for remote debugging while the training job is running. You can\n update the remote debugging configuration when the SecondaryStatus
of the job\n is Downloading
or Training
.To learn more about the remote \n debugging functionality of SageMaker, see Access a training container through Amazon Web Services Systems Manager (SSM) \n for remote debugging.
The key for that specifies the tag that you're using to filter the search results. The key must start with Tags.
.
The value for the tag that you're using to filter the search results.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The list of key-value pairs that you specify for your resources.
" + } + }, + "com.amazonaws.sagemaker#VisibilityConditionsKey": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + }, + "smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" + } + }, + "com.amazonaws.sagemaker#VisibilityConditionsList": { + "type": "list", + "member": { + "target": "com.amazonaws.sagemaker#VisibilityConditions" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 5 + } + } + }, + "com.amazonaws.sagemaker#VisibilityConditionsValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 256 + }, + "smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" + } + }, "com.amazonaws.sagemaker#VolumeSizeInGB": { "type": "integer", "traits": {