Skip to content

Commit 3f297ab

Browse files
author
AWS
committed
Amazon SageMaker Service Update: The new 'ModelClientConfig' parameter being added for CreateTransformJob and DescribeTransformJob api actions enable customers to configure model invocation related parameters such as timeout and retry.
1 parent 4dea3ed commit 3f297ab

File tree

2 files changed

+41
-4
lines changed

2 files changed

+41
-4
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon SageMaker Service",
4+
"description": "The new 'ModelClientConfig' parameter being added for CreateTransformJob and DescribeTransformJob api actions enable customers to configure model invocation related parameters such as timeout and retry."
5+
}

services/sagemaker/src/main/resources/codegen-resources/service-2.json

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4034,6 +4034,10 @@
40344034
"shape":"MaxConcurrentTransforms",
40354035
"documentation":"<p>The maximum number of parallel requests that can be sent to each instance in a transform job. If <code>MaxConcurrentTransforms</code> is set to <code>0</code> or left unset, Amazon SageMaker checks the optional execution-parameters to determine the settings for your chosen algorithm. If the execution-parameters endpoint is not enabled, the default value is <code>1</code>. For more information on execution-parameters, see <a href=\"https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-batch-code.html#your-algorithms-batch-code-how-containe-serves-requests\">How Containers Serve Requests</a>. For built-in algorithms, you don't need to set a value for <code>MaxConcurrentTransforms</code>.</p>"
40364036
},
4037+
"ModelClientConfig":{
4038+
"shape":"ModelClientConfig",
4039+
"documentation":"<p>Configures the timeout and maximum number of retries for processing a transform job invocation.</p>"
4040+
},
40374041
"MaxPayloadInMB":{
40384042
"shape":"MaxPayloadInMB",
40394043
"documentation":"<p>The maximum allowed size of the payload, in MB. A <i>payload</i> is the data portion of a record (without metadata). The value in <code>MaxPayloadInMB</code> must be greater than, or equal to, the size of a single record. To estimate the size of a record in MB, divide the size of your dataset by the number of records. To ensure that the records fit within the maximum payload size, we recommend using a slightly larger value. The default value is <code>6</code> MB. </p> <p>For cases where the payload might be arbitrarily large and is transmitted using HTTP chunked encoding, set the value to <code>0</code>. This feature works only in supported algorithms. Currently, Amazon SageMaker built-in algorithms do not support HTTP chunked encoding.</p>"
@@ -6096,7 +6100,7 @@
60966100
},
60976101
"AutoMLJobArn":{
60986102
"shape":"AutoMLJobArn",
6099-
"documentation":"<p/>"
6103+
"documentation":"<p>The Amazon Resource Name (ARN) of an AutoML job.</p>"
61006104
},
61016105
"ModelArtifacts":{
61026106
"shape":"ModelArtifacts",
@@ -6250,6 +6254,10 @@
62506254
"shape":"MaxConcurrentTransforms",
62516255
"documentation":"<p>The maximum number of parallel requests on each instance node that can be launched in a transform job. The default value is 1.</p>"
62526256
},
6257+
"ModelClientConfig":{
6258+
"shape":"ModelClientConfig",
6259+
"documentation":"<p>The timeout and maximum number of retries for processing a transform job invocation.</p>"
6260+
},
62536261
"MaxPayloadInMB":{
62546262
"shape":"MaxPayloadInMB",
62556263
"documentation":"<p>The maximum payload size, in MB, used in the transform job.</p>"
@@ -6292,7 +6300,7 @@
62926300
},
62936301
"AutoMLJobArn":{
62946302
"shape":"AutoMLJobArn",
6295-
"documentation":"<p/>"
6303+
"documentation":"<p>The Amazon Resource Name (ARN) of the AutoML transform job.</p>"
62966304
},
62976305
"DataProcessing":{"shape":"DataProcessing"},
62986306
"ExperimentConfig":{"shape":"ExperimentConfig"}
@@ -7073,7 +7081,7 @@
70737081
},
70747082
"Operator":{
70757083
"shape":"Operator",
7076-
"documentation":"<p>A Boolean binary operator that is used to evaluate the filter. The operator field contains one of the following values:</p> <dl> <dt>Equals</dt> <dd> <p>The value of <code>Name</code> equals <code>Value</code>.</p> </dd> <dt>NotEquals</dt> <dd> <p>The value of <code>Name</code> doesn't equal <code>Value</code>.</p> </dd> <dt>GreaterThan</dt> <dd> <p>The value of <code>Name</code> is greater than <code>Value</code>. Not supported for text properties.</p> </dd> <dt>GreaterThanOrEqualTo</dt> <dd> <p>The value of <code>Name</code> is greater than or equal to <code>Value</code>. Not supported for text properties.</p> </dd> <dt>LessThan</dt> <dd> <p>The value of <code>Name</code> is less than <code>Value</code>. Not supported for text properties.</p> </dd> <dt>LessThanOrEqualTo</dt> <dd> <p>The value of <code>Name</code> is less than or equal to <code>Value</code>. Not supported for text properties.</p> </dd> <dt>Contains</dt> <dd> <p>The value of <code>Name</code> contains the string <code>Value</code>. A <code>SearchExpression</code> can include only one <code>Contains</code> operator. Only supported for text properties.</p> </dd> <dt>Exists</dt> <dd> <p>The <code>Name</code> property exists.</p> </dd> <dt>NotExists</dt> <dd> <p>The <code>Name</code> property does not exist.</p> </dd> <dt>In</dt> <dd> <p>The value of <code>Name</code> is one of the comma delimited strings in <code>Value</code>. Only supported for text properties.</p> </dd> </dl>"
7084+
"documentation":"<p>A Boolean binary operator that is used to evaluate the filter. The operator field contains one of the following values:</p> <dl> <dt>Equals</dt> <dd> <p>The value of <code>Name</code> equals <code>Value</code>.</p> </dd> <dt>NotEquals</dt> <dd> <p>The value of <code>Name</code> doesn't equal <code>Value</code>.</p> </dd> <dt>Exists</dt> <dd> <p>The <code>Name</code> property exists.</p> </dd> <dt>NotExists</dt> <dd> <p>The <code>Name</code> property does not exist.</p> </dd> <dt>GreaterThan</dt> <dd> <p>The value of <code>Name</code> is greater than <code>Value</code>. Not supported for text properties.</p> </dd> <dt>GreaterThanOrEqualTo</dt> <dd> <p>The value of <code>Name</code> is greater than or equal to <code>Value</code>. Not supported for text properties.</p> </dd> <dt>LessThan</dt> <dd> <p>The value of <code>Name</code> is less than <code>Value</code>. Not supported for text properties.</p> </dd> <dt>LessThanOrEqualTo</dt> <dd> <p>The value of <code>Name</code> is less than or equal to <code>Value</code>. Not supported for text properties.</p> </dd> <dt>In</dt> <dd> <p>The value of <code>Name</code> is one of the comma delimited strings in <code>Value</code>. Only supported for text properties.</p> </dd> <dt>Contains</dt> <dd> <p>The value of <code>Name</code> contains the string <code>Value</code>. Only supported for text properties.</p> <p>A <code>SearchExpression</code> can include the <code>Contains</code> operator multiple times when the value of <code>Name</code> is one of the following:</p> <ul> <li> <p> <code>Experiment.DisplayName</code> </p> </li> <li> <p> <code>Experiment.ExperimentName</code> </p> </li> <li> <p> <code>Experiment.Tags</code> </p> </li> <li> <p> <code>Trial.DisplayName</code> </p> </li> <li> <p> <code>Trial.TrialName</code> </p> </li> <li> <p> <code>Trial.Tags</code> </p> </li> <li> <p> <code>TrialComponent.DisplayName</code> </p> </li> <li> <p> <code>TrialComponent.TrialComponentName</code> </p> </li> <li> <p> <code>TrialComponent.Tags</code> </p> </li> <li> <p> <code>TrialComponent.InputArtifacts</code> </p> </li> <li> <p> <code>TrialComponent.OutputArtifacts</code> </p> </li> </ul> <p>A <code>SearchExpression</code> can include only one <code>Contains</code> operator for all other values of <code>Name</code>. In these cases, if you include multiple <code>Contains</code> operators in the <code>SearchExpression</code>, the result is the following error message: \"<code>'CONTAINS' operator usage limit of 1 exceeded.</code>\"</p> </dd> </dl>"
70777085
},
70787086
"Value":{
70797087
"shape":"FilterValue",
@@ -8101,6 +8109,16 @@
81018109
"max":20,
81028110
"min":0
81038111
},
8112+
"InvocationsMaxRetries":{
8113+
"type":"integer",
8114+
"max":3,
8115+
"min":0
8116+
},
8117+
"InvocationsTimeoutInSeconds":{
8118+
"type":"integer",
8119+
"max":3600,
8120+
"min":1
8121+
},
81048122
"JobReferenceCode":{
81058123
"type":"string",
81068124
"min":1,
@@ -10211,6 +10229,20 @@
1021110229
},
1021210230
"documentation":"<p>Provides information about the location that is configured for storing model artifacts. </p> <p>Model artifacts are the output that results from training a model, and typically consist of trained parameters, a model defintion that desribes how to compute inferences, and other metadata.</p>"
1021310231
},
10232+
"ModelClientConfig":{
10233+
"type":"structure",
10234+
"members":{
10235+
"InvocationsTimeoutInSeconds":{
10236+
"shape":"InvocationsTimeoutInSeconds",
10237+
"documentation":"<p>The timeout value in seconds for an invocation request.</p>"
10238+
},
10239+
"InvocationsMaxRetries":{
10240+
"shape":"InvocationsMaxRetries",
10241+
"documentation":"<p>The maximum number of retries when invocation requests are failing.</p>"
10242+
}
10243+
},
10244+
"documentation":"<p>Configures the timeout and maximum number of retries for processing a transform job invocation.</p>"
10245+
},
1021410246
"ModelName":{
1021510247
"type":"string",
1021610248
"max":63,
@@ -12300,7 +12332,7 @@
1230012332
"documentation":"<p>A Boolean operator used to evaluate the search expression. If you want every conditional statement in all lists to be satisfied for the entire search expression to be true, specify <code>And</code>. If only a single conditional statement needs to be true for the entire search expression to be true, specify <code>Or</code>. The default value is <code>And</code>.</p>"
1230112333
}
1230212334
},
12303-
"documentation":"<p>A multi-expression that searches for the specified resource or resources in a search. All resource objects that satisfy the expression's condition are included in the search results. You must specify at least one subexpression, filter, or nested filter. A <code>SearchExpression</code> can contain up to twenty elements.</p> <p>A <code>SearchExpression</code> contains the following components:</p> <ul> <li> <p>A list of <code>Filter</code> objects. Each filter defines a simple Boolean expression comprised of a resource property name, Boolean operator, and value. A <code>SearchExpression</code> can include only one <code>Contains</code> operator.</p> </li> <li> <p>A list of <code>NestedFilter</code> objects. Each nested filter defines a list of Boolean expressions using a list of resource properties. A nested filter is satisfied if a single object in the list satisfies all Boolean expressions.</p> </li> <li> <p>A list of <code>SearchExpression</code> objects. A search expression object can be nested in a list of search expression objects.</p> </li> <li> <p>A Boolean operator: <code>And</code> or <code>Or</code>.</p> </li> </ul>"
12335+
"documentation":"<p>A multi-expression that searches for the specified resource or resources in a search. All resource objects that satisfy the expression's condition are included in the search results. You must specify at least one subexpression, filter, or nested filter. A <code>SearchExpression</code> can contain up to twenty elements.</p> <p>A <code>SearchExpression</code> contains the following components:</p> <ul> <li> <p>A list of <code>Filter</code> objects. Each filter defines a simple Boolean expression comprised of a resource property name, Boolean operator, and value.</p> </li> <li> <p>A list of <code>NestedFilter</code> objects. Each nested filter defines a list of Boolean expressions using a list of resource properties. A nested filter is satisfied if a single object in the list satisfies all Boolean expressions.</p> </li> <li> <p>A list of <code>SearchExpression</code> objects. A search expression object can be nested in a list of search expression objects.</p> </li> <li> <p>A Boolean operator: <code>And</code> or <code>Or</code>.</p> </li> </ul>"
1230412336
},
1230512337
"SearchExpressionList":{
1230612338
"type":"list",

0 commit comments

Comments
 (0)