Skip to content

Commit

Permalink
feat(client-sagemaker): Expose ProfilerConfig attribute in SageMaker …
Browse files Browse the repository at this point in the history
…Search API response.
  • Loading branch information
awstools committed Jul 27, 2023
1 parent c705b97 commit d6e75cf
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 0 deletions.
16 changes: 16 additions & 0 deletions clients/client-sagemaker/src/commands/SearchCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,14 @@ export interface SearchCommandOutput extends SearchResponse, __MetadataBearer {}
* // LastModifiedTime: new Date("TIMESTAMP"),
* // },
* // ],
* // ProfilerConfig: { // ProfilerConfig
* // S3OutputPath: "STRING_VALUE",
* // ProfilingIntervalInMilliseconds: Number("long"),
* // ProfilingParameters: { // ProfilingParameters
* // "<keys>": "STRING_VALUE",
* // },
* // DisableProfiler: true || false,
* // },
* // Environment: { // TrainingEnvironmentMap
* // "<keys>": "STRING_VALUE",
* // },
Expand Down Expand Up @@ -635,6 +643,14 @@ export interface SearchCommandOutput extends SearchResponse, __MetadataBearer {}
* // LastModifiedTime: new Date("TIMESTAMP"),
* // },
* // ],
* // ProfilerConfig: {
* // S3OutputPath: "STRING_VALUE",
* // ProfilingIntervalInMilliseconds: Number("long"),
* // ProfilingParameters: {
* // "<keys>": "STRING_VALUE",
* // },
* // DisableProfiler: true || false,
* // },
* // Environment: {
* // "<keys>": "STRING_VALUE",
* // },
Expand Down
7 changes: 7 additions & 0 deletions clients/client-sagemaker/src/models/models_4.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ import {
ParallelismConfiguration,
PipelineDefinitionS3Location,
Processor,
ProfilerConfig,
ProfilerRuleConfiguration,
ProvisioningParameter,
RetryStrategy,
Expand Down Expand Up @@ -505,6 +506,12 @@ export interface TrainingJob {
*/
DebugRuleEvaluationStatuses?: DebugRuleEvaluationStatus[];

/**
* <p>Configuration information for Amazon SageMaker Debugger system monitoring, framework profiling, and
* storage paths.</p>
*/
ProfilerConfig?: ProfilerConfig;

/**
* <p>The environment variables to set in the Docker container.</p>
*/
Expand Down
1 change: 1 addition & 0 deletions clients/client-sagemaker/src/protocols/Aws_json1_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27881,6 +27881,7 @@ const de_TrainingJob = (output: any, context: __SerdeContext): TrainingJob => {
LastModifiedTime: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
ModelArtifacts: _json,
OutputDataConfig: _json,
ProfilerConfig: _json,
ResourceConfig: _json,
RetryStrategy: _json,
RoleArn: __expectString,
Expand Down
3 changes: 3 additions & 0 deletions codegen/sdk-codegen/aws-models/sagemaker.json
Original file line number Diff line number Diff line change
Expand Up @@ -54756,6 +54756,9 @@
"smithy.api#documentation": "<p>Information about the evaluation status of the rules for the training job.</p>"
}
},
"ProfilerConfig": {
"target": "com.amazonaws.sagemaker#ProfilerConfig"
},
"Environment": {
"target": "com.amazonaws.sagemaker#TrainingEnvironmentMap",
"traits": {
Expand Down

0 comments on commit d6e75cf

Please sign in to comment.