@aws-sdk/client-sagemaker-a2i-runtime 3.261.0 → 3.262.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.
|
@@ -168,7 +168,7 @@ const deserializeAws_restJson1DescribeHumanLoopCommand = async (output, context)
|
|
|
168
168
|
});
|
|
169
169
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
170
170
|
if (data.CreationTime != null) {
|
|
171
|
-
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
171
|
+
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreationTime));
|
|
172
172
|
}
|
|
173
173
|
if (data.FailureCode != null) {
|
|
174
174
|
contents.FailureCode = (0, smithy_client_1.expectString)(data.FailureCode);
|
|
@@ -465,7 +465,7 @@ const deserializeAws_restJson1HumanLoopSummaries = (output, context) => {
|
|
|
465
465
|
};
|
|
466
466
|
const deserializeAws_restJson1HumanLoopSummary = (output, context) => {
|
|
467
467
|
return {
|
|
468
|
-
CreationTime: output.CreationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
468
|
+
CreationTime: output.CreationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreationTime)) : undefined,
|
|
469
469
|
FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
|
|
470
470
|
FlowDefinitionArn: (0, smithy_client_1.expectString)(output.FlowDefinitionArn),
|
|
471
471
|
HumanLoopName: (0, smithy_client_1.expectString)(output.HumanLoopName),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map as __map,
|
|
2
|
+
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map as __map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
4
4
|
import { SageMakerA2IRuntimeServiceException as __BaseException } from "../models/SageMakerA2IRuntimeServiceException";
|
|
5
5
|
export const serializeAws_restJson1DeleteHumanLoopCommand = async (input, context) => {
|
|
@@ -159,7 +159,7 @@ export const deserializeAws_restJson1DescribeHumanLoopCommand = async (output, c
|
|
|
159
159
|
});
|
|
160
160
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
161
161
|
if (data.CreationTime != null) {
|
|
162
|
-
contents.CreationTime = __expectNonNull(
|
|
162
|
+
contents.CreationTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreationTime));
|
|
163
163
|
}
|
|
164
164
|
if (data.FailureCode != null) {
|
|
165
165
|
contents.FailureCode = __expectString(data.FailureCode);
|
|
@@ -452,7 +452,7 @@ const deserializeAws_restJson1HumanLoopSummaries = (output, context) => {
|
|
|
452
452
|
};
|
|
453
453
|
const deserializeAws_restJson1HumanLoopSummary = (output, context) => {
|
|
454
454
|
return {
|
|
455
|
-
CreationTime: output.CreationTime != null ? __expectNonNull(
|
|
455
|
+
CreationTime: output.CreationTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CreationTime)) : undefined,
|
|
456
456
|
FailureReason: __expectString(output.FailureReason),
|
|
457
457
|
FlowDefinitionArn: __expectString(output.FlowDefinitionArn),
|
|
458
458
|
HumanLoopName: __expectString(output.HumanLoopName),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sagemaker-a2i-runtime",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sagemaker A2i Runtime Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.262.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.262.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.259.0",
|
|
25
25
|
"@aws-sdk/credential-provider-node": "3.261.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.257.0",
|