Skip to content

Commit 7540015

Browse files
Unit test fix (#402)
* Daily Sync with Botocore v1.42.89 on 2026/04/14 * fix(test): Update invoke_async test for new s3_output_path_extension and filename params Update test_generate_invoke_async_method expected output to include the new s3_output_path_extension and filename parameters added in the Botocore v1.42.89 sync for InvokeEndpointAsync API. --------- Co-authored-by: sagemaker-bot <sagemaker-bot@amazon.com>
1 parent 5182b1c commit 7540015

8 files changed

Lines changed: 1041 additions & 25 deletions

File tree

sample/sagemaker-runtime/2017-05-13/service-2.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,12 @@
9191
"pattern":"^[a-zA-Z0-9](-*[a-zA-Z0-9])*"
9292
},
9393
"ErrorCode":{"type":"string"},
94+
"FilenameHeader":{
95+
"type":"string",
96+
"max":32,
97+
"min":1,
98+
"pattern":"^(?!.*\\..*\\.)[a-zA-Z0-9][a-zA-Z0-9-_\\.]*$"
99+
},
94100
"Header":{
95101
"type":"string",
96102
"max":1024,
@@ -193,6 +199,18 @@
193199
"location":"header",
194200
"locationName":"X-Amzn-SageMaker-InputLocation"
195201
},
202+
"S3OutputPathExtension":{
203+
"shape":"S3OutputPathExtensionHeader",
204+
"documentation":"<p>The path extension that is appended to the Amazon S3 output path where the inference response payload is stored.</p>",
205+
"location":"header",
206+
"locationName":"X-Amzn-SageMaker-S3OutputPathExtension"
207+
},
208+
"Filename":{
209+
"shape":"FilenameHeader",
210+
"documentation":"<p>The filename for the inference response payload stored in Amazon S3. If not specified, Amazon SageMaker AI generates a filename based on the inference ID.</p>",
211+
"location":"header",
212+
"locationName":"X-Amzn-SageMaker-Filename"
213+
},
196214
"RequestTTLSeconds":{
197215
"shape":"RequestTTLSecondsHeader",
198216
"documentation":"<p>Maximum age in seconds a request can be in the queue before it is marked as expired. The default is 6 hours, or 21,600 seconds.</p>",
@@ -537,6 +555,12 @@
537555
"documentation":"<p>A stream of payload parts. Each part contains a portion of the response for a streaming inference request.</p>",
538556
"eventstream":true
539557
},
558+
"S3OutputPathExtensionHeader":{
559+
"type":"string",
560+
"max":512,
561+
"min":1,
562+
"pattern":"^(?!s3:|https:)[a-zA-Z0-9!_.*'()/-]+$"
563+
},
540564
"ServiceUnavailable":{
541565
"type":"structure",
542566
"members":{

0 commit comments

Comments
 (0)