@aws-sdk/client-apigatewaymanagementapi 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.
|
@@ -107,13 +107,13 @@ const deserializeAws_restJson1GetConnectionCommand = async (output, context) =>
|
|
|
107
107
|
});
|
|
108
108
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
109
109
|
if (data.connectedAt != null) {
|
|
110
|
-
contents.ConnectedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
110
|
+
contents.ConnectedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.connectedAt));
|
|
111
111
|
}
|
|
112
112
|
if (data.identity != null) {
|
|
113
113
|
contents.Identity = deserializeAws_restJson1Identity(data.identity, context);
|
|
114
114
|
}
|
|
115
115
|
if (data.lastActiveAt != null) {
|
|
116
|
-
contents.LastActiveAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
116
|
+
contents.LastActiveAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.lastActiveAt));
|
|
117
117
|
}
|
|
118
118
|
return contents;
|
|
119
119
|
};
|
|
@@ -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 { ApiGatewayManagementApiServiceException as __BaseException } from "../models/ApiGatewayManagementApiServiceException";
|
|
4
4
|
import { ForbiddenException, GoneException, LimitExceededException, PayloadTooLargeException, } from "../models/models_0";
|
|
5
5
|
export const serializeAws_restJson1DeleteConnectionCommand = async (input, context) => {
|
|
@@ -100,13 +100,13 @@ export const deserializeAws_restJson1GetConnectionCommand = async (output, conte
|
|
|
100
100
|
});
|
|
101
101
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
102
102
|
if (data.connectedAt != null) {
|
|
103
|
-
contents.ConnectedAt = __expectNonNull(
|
|
103
|
+
contents.ConnectedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.connectedAt));
|
|
104
104
|
}
|
|
105
105
|
if (data.identity != null) {
|
|
106
106
|
contents.Identity = deserializeAws_restJson1Identity(data.identity, context);
|
|
107
107
|
}
|
|
108
108
|
if (data.lastActiveAt != null) {
|
|
109
|
-
contents.LastActiveAt = __expectNonNull(
|
|
109
|
+
contents.LastActiveAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.lastActiveAt));
|
|
110
110
|
}
|
|
111
111
|
return contents;
|
|
112
112
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-apigatewaymanagementapi",
|
|
3
3
|
"description": "AWS SDK for JavaScript Apigatewaymanagementapi 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",
|