@aws-sdk/client-sagemaker-runtime 3.993.0 → 3.995.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.
@@ -13,6 +13,7 @@ const _CT_ = "Content-Type";
13
13
  const _EC = "ErrorCode";
14
14
  const _EE = "EnableExplanations";
15
15
  const _EN = "EndpointName";
16
+ const _F = "Filename";
16
17
  const _FL = "FailureLocation";
17
18
  const _ICN = "InferenceComponentName";
18
19
  const _IDE = "InternalDependencyException";
@@ -45,6 +46,7 @@ const _PP = "PayloadPart";
45
46
  const _RS = "ResponseStream";
46
47
  const _RTTLS = "RequestTTLSeconds";
47
48
  const _SI = "SessionId";
49
+ const _SOPE = "S3OutputPathExtension";
48
50
  const _SU = "ServiceUnavailable";
49
51
  const _TCH = "TargetContainerHostname";
50
52
  const _TM = "TargetModel";
@@ -55,7 +57,8 @@ const _XASCA = "X-Amzn-SageMaker-Custom-Attributes";
55
57
  const _XASCSI = "X-Amzn-SageMaker-Closed-Session-Id";
56
58
  const _XASCT = "X-Amzn-SageMaker-Content-Type";
57
59
  const _XASEE = "X-Amzn-SageMaker-Enable-Explanations";
58
- const _XASF = "X-Amzn-SageMaker-FailureLocation";
60
+ const _XASF = "X-Amzn-SageMaker-Filename";
61
+ const _XASF_ = "X-Amzn-SageMaker-FailureLocation";
59
62
  const _XASI = "X-Amzn-SageMaker-InputLocation";
60
63
  const _XASIC = "X-Amzn-SageMaker-Inference-Component";
61
64
  const _XASII = "X-Amzn-SageMaker-Inference-Id";
@@ -63,6 +66,7 @@ const _XASI_ = "X-Amzn-SageMaker-InvocationTimeoutSeconds";
63
66
  const _XASNSI = "X-Amzn-SageMaker-New-Session-Id";
64
67
  const _XASO = "X-Amzn-SageMaker-OutputLocation";
65
68
  const _XASR = "X-Amzn-SageMaker-RequestTTLSeconds";
69
+ const _XASS = "X-Amzn-SageMaker-S3OutputPathExtension";
66
70
  const _XASSI = "X-Amzn-SageMaker-Session-Id";
67
71
  const _XASTCH = "X-Amzn-SageMaker-Target-Container-Hostname";
68
72
  const _XASTM = "X-Amzn-SageMaker-Target-Model";
@@ -143,13 +147,13 @@ var CustomAttributesHeader = [0, n0, _CAH, 8, 0];
143
147
  var PartBlob = [0, n0, _PB, 8, 21];
144
148
  exports.InvokeEndpointAsyncInput$ = [3, n0, _IEAI,
145
149
  0,
146
- [_EN, _IL, _CT, _A, _CA, _II, _RTTLS, _ITS],
147
- [[0, 1], [0, { [_hH]: _XASI }], [0, { [_hH]: _XASCT }], [0, { [_hH]: _XASA }], [() => CustomAttributesHeader, { [_hH]: _XASCA }], [0, { [_hH]: _XASII }], [1, { [_hH]: _XASR }], [1, { [_hH]: _XASI_ }]], 2
150
+ [_EN, _IL, _CT, _A, _CA, _II, _SOPE, _F, _RTTLS, _ITS],
151
+ [[0, 1], [0, { [_hH]: _XASI }], [0, { [_hH]: _XASCT }], [0, { [_hH]: _XASA }], [() => CustomAttributesHeader, { [_hH]: _XASCA }], [0, { [_hH]: _XASII }], [0, { [_hH]: _XASS }], [0, { [_hH]: _XASF }], [1, { [_hH]: _XASR }], [1, { [_hH]: _XASI_ }]], 2
148
152
  ];
149
153
  exports.InvokeEndpointAsyncOutput$ = [3, n0, _IEAO,
150
154
  0,
151
155
  [_II, _OL, _FL],
152
- [0, [0, { [_hH]: _XASO }], [0, { [_hH]: _XASF }]]
156
+ [0, [0, { [_hH]: _XASO }], [0, { [_hH]: _XASF_ }]]
153
157
  ];
154
158
  exports.InvokeEndpointInput$ = [3, n0, _IEI,
155
159
  0,
@@ -10,6 +10,7 @@ const _CT_ = "Content-Type";
10
10
  const _EC = "ErrorCode";
11
11
  const _EE = "EnableExplanations";
12
12
  const _EN = "EndpointName";
13
+ const _F = "Filename";
13
14
  const _FL = "FailureLocation";
14
15
  const _ICN = "InferenceComponentName";
15
16
  const _IDE = "InternalDependencyException";
@@ -42,6 +43,7 @@ const _PP = "PayloadPart";
42
43
  const _RS = "ResponseStream";
43
44
  const _RTTLS = "RequestTTLSeconds";
44
45
  const _SI = "SessionId";
46
+ const _SOPE = "S3OutputPathExtension";
45
47
  const _SU = "ServiceUnavailable";
46
48
  const _TCH = "TargetContainerHostname";
47
49
  const _TM = "TargetModel";
@@ -52,7 +54,8 @@ const _XASCA = "X-Amzn-SageMaker-Custom-Attributes";
52
54
  const _XASCSI = "X-Amzn-SageMaker-Closed-Session-Id";
53
55
  const _XASCT = "X-Amzn-SageMaker-Content-Type";
54
56
  const _XASEE = "X-Amzn-SageMaker-Enable-Explanations";
55
- const _XASF = "X-Amzn-SageMaker-FailureLocation";
57
+ const _XASF = "X-Amzn-SageMaker-Filename";
58
+ const _XASF_ = "X-Amzn-SageMaker-FailureLocation";
56
59
  const _XASI = "X-Amzn-SageMaker-InputLocation";
57
60
  const _XASIC = "X-Amzn-SageMaker-Inference-Component";
58
61
  const _XASII = "X-Amzn-SageMaker-Inference-Id";
@@ -60,6 +63,7 @@ const _XASI_ = "X-Amzn-SageMaker-InvocationTimeoutSeconds";
60
63
  const _XASNSI = "X-Amzn-SageMaker-New-Session-Id";
61
64
  const _XASO = "X-Amzn-SageMaker-OutputLocation";
62
65
  const _XASR = "X-Amzn-SageMaker-RequestTTLSeconds";
66
+ const _XASS = "X-Amzn-SageMaker-S3OutputPathExtension";
63
67
  const _XASSI = "X-Amzn-SageMaker-Session-Id";
64
68
  const _XASTCH = "X-Amzn-SageMaker-Target-Container-Hostname";
65
69
  const _XASTM = "X-Amzn-SageMaker-Target-Model";
@@ -140,13 +144,13 @@ var CustomAttributesHeader = [0, n0, _CAH, 8, 0];
140
144
  var PartBlob = [0, n0, _PB, 8, 21];
141
145
  export var InvokeEndpointAsyncInput$ = [3, n0, _IEAI,
142
146
  0,
143
- [_EN, _IL, _CT, _A, _CA, _II, _RTTLS, _ITS],
144
- [[0, 1], [0, { [_hH]: _XASI }], [0, { [_hH]: _XASCT }], [0, { [_hH]: _XASA }], [() => CustomAttributesHeader, { [_hH]: _XASCA }], [0, { [_hH]: _XASII }], [1, { [_hH]: _XASR }], [1, { [_hH]: _XASI_ }]], 2
147
+ [_EN, _IL, _CT, _A, _CA, _II, _SOPE, _F, _RTTLS, _ITS],
148
+ [[0, 1], [0, { [_hH]: _XASI }], [0, { [_hH]: _XASCT }], [0, { [_hH]: _XASA }], [() => CustomAttributesHeader, { [_hH]: _XASCA }], [0, { [_hH]: _XASII }], [0, { [_hH]: _XASS }], [0, { [_hH]: _XASF }], [1, { [_hH]: _XASR }], [1, { [_hH]: _XASI_ }]], 2
145
149
  ];
146
150
  export var InvokeEndpointAsyncOutput$ = [3, n0, _IEAO,
147
151
  0,
148
152
  [_II, _OL, _FL],
149
- [0, [0, { [_hH]: _XASO }], [0, { [_hH]: _XASF }]]
153
+ [0, [0, { [_hH]: _XASO }], [0, { [_hH]: _XASF_ }]]
150
154
  ];
151
155
  export var InvokeEndpointInput$ = [3, n0, _IEI,
152
156
  0,
@@ -54,6 +54,8 @@ declare const InvokeEndpointAsyncCommand_base: {
54
54
  * CustomAttributes: "STRING_VALUE",
55
55
  * InferenceId: "STRING_VALUE",
56
56
  * InputLocation: "STRING_VALUE", // required
57
+ * S3OutputPathExtension: "STRING_VALUE",
58
+ * Filename: "STRING_VALUE",
57
59
  * RequestTTLSeconds: Number("int"),
58
60
  * InvocationTimeoutSeconds: Number("int"),
59
61
  * };
@@ -214,6 +214,18 @@ export interface InvokeEndpointAsyncInput {
214
214
  * @public
215
215
  */
216
216
  InputLocation: string | undefined;
217
+ /**
218
+ * <p>The path extension that is appended to the Amazon S3 output path where the inference
219
+ * response payload is stored.</p>
220
+ * @public
221
+ */
222
+ S3OutputPathExtension?: string | undefined;
223
+ /**
224
+ * <p>The filename for the inference response payload stored in Amazon S3. If not
225
+ * specified, Amazon SageMaker AI generates a filename based on the inference ID.</p>
226
+ * @public
227
+ */
228
+ Filename?: string | undefined;
217
229
  /**
218
230
  * <p>Maximum age in seconds a request can be in the queue before it is marked as expired.
219
231
  * The default is 6 hours, or 21,600 seconds.</p>
@@ -28,6 +28,8 @@ export interface InvokeEndpointAsyncInput {
28
28
  CustomAttributes?: string | undefined;
29
29
  InferenceId?: string | undefined;
30
30
  InputLocation: string | undefined;
31
+ S3OutputPathExtension?: string | undefined;
32
+ Filename?: string | undefined;
31
33
  RequestTTLSeconds?: number | undefined;
32
34
  InvocationTimeoutSeconds?: number | undefined;
33
35
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sagemaker-runtime",
3
3
  "description": "AWS SDK for JavaScript Sagemaker Runtime Client for Node.js, Browser and React Native",
4
- "version": "3.993.0",
4
+ "version": "3.995.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sagemaker-runtime",
@@ -29,9 +29,9 @@
29
29
  "@aws-sdk/middleware-user-agent": "^3.972.11",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.993.0",
32
+ "@aws-sdk/util-endpoints": "3.995.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.9",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.10",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
36
  "@smithy/core": "^3.23.2",
37
37
  "@smithy/eventstream-serde-browser": "^4.2.8",