@aws-sdk/client-workdocs 3.216.0 → 3.218.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.
|
@@ -332,7 +332,10 @@ const serializeAws_restJson1DeleteDocumentVersionCommand = async (input, context
|
|
|
332
332
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DocumentId", () => input.DocumentId, "{DocumentId}", false);
|
|
333
333
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "VersionId", () => input.VersionId, "{VersionId}", false);
|
|
334
334
|
const query = map({
|
|
335
|
-
deletePriorVersions: [
|
|
335
|
+
deletePriorVersions: [
|
|
336
|
+
(0, smithy_client_1.expectNonNull)(input.DeletePriorVersions, `DeletePriorVersions`) != null,
|
|
337
|
+
() => input.DeletePriorVersions.toString(),
|
|
338
|
+
],
|
|
336
339
|
});
|
|
337
340
|
let body;
|
|
338
341
|
return new protocol_http_1.HttpRequest({
|
|
@@ -570,7 +573,7 @@ const serializeAws_restJson1DescribeGroupsCommand = async (input, context) => {
|
|
|
570
573
|
});
|
|
571
574
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/api/v1/groups";
|
|
572
575
|
const query = map({
|
|
573
|
-
searchQuery: [, input.SearchQuery],
|
|
576
|
+
searchQuery: [, (0, smithy_client_1.expectNonNull)(input.SearchQuery, `SearchQuery`)],
|
|
574
577
|
organizationId: [, input.OrganizationId],
|
|
575
578
|
marker: [, input.Marker],
|
|
576
579
|
limit: [() => input.Limit !== void 0, () => input.Limit.toString()],
|
|
@@ -315,7 +315,10 @@ export const serializeAws_restJson1DeleteDocumentVersionCommand = async (input,
|
|
|
315
315
|
resolvedPath = __resolvedPath(resolvedPath, input, "DocumentId", () => input.DocumentId, "{DocumentId}", false);
|
|
316
316
|
resolvedPath = __resolvedPath(resolvedPath, input, "VersionId", () => input.VersionId, "{VersionId}", false);
|
|
317
317
|
const query = map({
|
|
318
|
-
deletePriorVersions: [
|
|
318
|
+
deletePriorVersions: [
|
|
319
|
+
__expectNonNull(input.DeletePriorVersions, `DeletePriorVersions`) != null,
|
|
320
|
+
() => input.DeletePriorVersions.toString(),
|
|
321
|
+
],
|
|
319
322
|
});
|
|
320
323
|
let body;
|
|
321
324
|
return new __HttpRequest({
|
|
@@ -543,7 +546,7 @@ export const serializeAws_restJson1DescribeGroupsCommand = async (input, context
|
|
|
543
546
|
});
|
|
544
547
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/api/v1/groups";
|
|
545
548
|
const query = map({
|
|
546
|
-
searchQuery: [, input.SearchQuery],
|
|
549
|
+
searchQuery: [, __expectNonNull(input.SearchQuery, `SearchQuery`)],
|
|
547
550
|
organizationId: [, input.OrganizationId],
|
|
548
551
|
marker: [, input.Marker],
|
|
549
552
|
limit: [() => input.Limit !== void 0, () => input.Limit.toString()],
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-workdocs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Workdocs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.218.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",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.218.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.215.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.218.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.215.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.215.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.215.0",
|