@aws-sdk/client-clouddirectory 3.54.1 → 3.58.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.
- package/CHANGELOG.md +24 -0
- package/dist-cjs/CloudDirectoryClient.js +13 -13
- package/dist-cjs/commands/AddFacetToObjectCommand.js +3 -3
- package/dist-cjs/commands/ApplySchemaCommand.js +3 -3
- package/dist-cjs/commands/AttachObjectCommand.js +3 -3
- package/dist-cjs/commands/AttachPolicyCommand.js +3 -3
- package/dist-cjs/commands/AttachToIndexCommand.js +3 -3
- package/dist-cjs/commands/AttachTypedLinkCommand.js +3 -3
- package/dist-cjs/commands/BatchReadCommand.js +3 -3
- package/dist-cjs/commands/BatchWriteCommand.js +3 -3
- package/dist-cjs/commands/CreateDirectoryCommand.js +3 -3
- package/dist-cjs/commands/CreateFacetCommand.js +3 -3
- package/dist-cjs/commands/CreateIndexCommand.js +3 -3
- package/dist-cjs/commands/CreateObjectCommand.js +3 -3
- package/dist-cjs/commands/CreateSchemaCommand.js +3 -3
- package/dist-cjs/commands/CreateTypedLinkFacetCommand.js +3 -3
- package/dist-cjs/commands/DeleteDirectoryCommand.js +3 -3
- package/dist-cjs/commands/DeleteFacetCommand.js +3 -3
- package/dist-cjs/commands/DeleteObjectCommand.js +3 -3
- package/dist-cjs/commands/DeleteSchemaCommand.js +3 -3
- package/dist-cjs/commands/DeleteTypedLinkFacetCommand.js +3 -3
- package/dist-cjs/commands/DetachFromIndexCommand.js +3 -3
- package/dist-cjs/commands/DetachObjectCommand.js +3 -3
- package/dist-cjs/commands/DetachPolicyCommand.js +3 -3
- package/dist-cjs/commands/DetachTypedLinkCommand.js +3 -3
- package/dist-cjs/commands/DisableDirectoryCommand.js +3 -3
- package/dist-cjs/commands/EnableDirectoryCommand.js +3 -3
- package/dist-cjs/commands/GetAppliedSchemaVersionCommand.js +3 -3
- package/dist-cjs/commands/GetDirectoryCommand.js +3 -3
- package/dist-cjs/commands/GetFacetCommand.js +3 -3
- package/dist-cjs/commands/GetLinkAttributesCommand.js +3 -3
- package/dist-cjs/commands/GetObjectAttributesCommand.js +3 -3
- package/dist-cjs/commands/GetObjectInformationCommand.js +3 -3
- package/dist-cjs/commands/GetSchemaAsJsonCommand.js +3 -3
- package/dist-cjs/commands/GetTypedLinkFacetInformationCommand.js +3 -3
- package/dist-cjs/commands/ListAppliedSchemaArnsCommand.js +3 -3
- package/dist-cjs/commands/ListAttachedIndicesCommand.js +3 -3
- package/dist-cjs/commands/ListDevelopmentSchemaArnsCommand.js +3 -3
- package/dist-cjs/commands/ListDirectoriesCommand.js +3 -3
- package/dist-cjs/commands/ListFacetAttributesCommand.js +3 -3
- package/dist-cjs/commands/ListFacetNamesCommand.js +3 -3
- package/dist-cjs/commands/ListIncomingTypedLinksCommand.js +3 -3
- package/dist-cjs/commands/ListIndexCommand.js +3 -3
- package/dist-cjs/commands/ListManagedSchemaArnsCommand.js +3 -3
- package/dist-cjs/commands/ListObjectAttributesCommand.js +3 -3
- package/dist-cjs/commands/ListObjectChildrenCommand.js +3 -3
- package/dist-cjs/commands/ListObjectParentPathsCommand.js +3 -3
- package/dist-cjs/commands/ListObjectParentsCommand.js +3 -3
- package/dist-cjs/commands/ListObjectPoliciesCommand.js +3 -3
- package/dist-cjs/commands/ListOutgoingTypedLinksCommand.js +3 -3
- package/dist-cjs/commands/ListPolicyAttachmentsCommand.js +3 -3
- package/dist-cjs/commands/ListPublishedSchemaArnsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListTypedLinkFacetAttributesCommand.js +3 -3
- package/dist-cjs/commands/ListTypedLinkFacetNamesCommand.js +3 -3
- package/dist-cjs/commands/LookupPolicyCommand.js +3 -3
- package/dist-cjs/commands/PublishSchemaCommand.js +3 -3
- package/dist-cjs/commands/PutSchemaFromJsonCommand.js +3 -3
- package/dist-cjs/commands/RemoveFacetFromObjectCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateFacetCommand.js +3 -3
- package/dist-cjs/commands/UpdateLinkAttributesCommand.js +3 -3
- package/dist-cjs/commands/UpdateObjectAttributesCommand.js +3 -3
- package/dist-cjs/commands/UpdateSchemaCommand.js +3 -3
- package/dist-cjs/commands/UpdateTypedLinkFacetCommand.js +3 -3
- package/dist-cjs/commands/UpgradeAppliedSchemaCommand.js +3 -3
- package/dist-cjs/commands/UpgradePublishedSchemaCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +315 -315
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/CloudDirectory.js +66 -66
- package/dist-es/pagination/ListAppliedSchemaArnsPaginator.js +4 -4
- package/dist-es/pagination/ListAttachedIndicesPaginator.js +4 -4
- package/dist-es/pagination/ListDevelopmentSchemaArnsPaginator.js +4 -4
- package/dist-es/pagination/ListDirectoriesPaginator.js +4 -4
- package/dist-es/pagination/ListFacetAttributesPaginator.js +4 -4
- package/dist-es/pagination/ListFacetNamesPaginator.js +4 -4
- package/dist-es/pagination/ListIndexPaginator.js +4 -4
- package/dist-es/pagination/ListManagedSchemaArnsPaginator.js +4 -4
- package/dist-es/pagination/ListObjectAttributesPaginator.js +4 -4
- package/dist-es/pagination/ListObjectChildrenPaginator.js +4 -4
- package/dist-es/pagination/ListObjectParentPathsPaginator.js +4 -4
- package/dist-es/pagination/ListObjectParentsPaginator.js +4 -4
- package/dist-es/pagination/ListObjectPoliciesPaginator.js +4 -4
- package/dist-es/pagination/ListPolicyAttachmentsPaginator.js +4 -4
- package/dist-es/pagination/ListPublishedSchemaArnsPaginator.js +4 -4
- package/dist-es/pagination/ListTagsForResourcePaginator.js +4 -4
- package/dist-es/pagination/ListTypedLinkFacetAttributesPaginator.js +4 -4
- package/dist-es/pagination/ListTypedLinkFacetNamesPaginator.js +4 -4
- package/dist-es/pagination/LookupPolicyPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +66 -66
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -1819,7 +1819,7 @@ const deserializeAws_restJson1AddFacetToObjectCommandError = async (output, cont
|
|
|
1819
1819
|
$fault: "client",
|
|
1820
1820
|
$metadata: deserializeMetadata(output),
|
|
1821
1821
|
});
|
|
1822
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1822
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1823
1823
|
}
|
|
1824
1824
|
};
|
|
1825
1825
|
const deserializeAws_restJson1ApplySchemaCommand = async (output, context) => {
|
|
@@ -1831,12 +1831,12 @@ const deserializeAws_restJson1ApplySchemaCommand = async (output, context) => {
|
|
|
1831
1831
|
AppliedSchemaArn: undefined,
|
|
1832
1832
|
DirectoryArn: undefined,
|
|
1833
1833
|
};
|
|
1834
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1834
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1835
1835
|
if (data.AppliedSchemaArn !== undefined && data.AppliedSchemaArn !== null) {
|
|
1836
|
-
contents.AppliedSchemaArn = smithy_client_1.expectString(data.AppliedSchemaArn);
|
|
1836
|
+
contents.AppliedSchemaArn = (0, smithy_client_1.expectString)(data.AppliedSchemaArn);
|
|
1837
1837
|
}
|
|
1838
1838
|
if (data.DirectoryArn !== undefined && data.DirectoryArn !== null) {
|
|
1839
|
-
contents.DirectoryArn = smithy_client_1.expectString(data.DirectoryArn);
|
|
1839
|
+
contents.DirectoryArn = (0, smithy_client_1.expectString)(data.DirectoryArn);
|
|
1840
1840
|
}
|
|
1841
1841
|
return Promise.resolve(contents);
|
|
1842
1842
|
};
|
|
@@ -1884,7 +1884,7 @@ const deserializeAws_restJson1ApplySchemaCommandError = async (output, context)
|
|
|
1884
1884
|
$fault: "client",
|
|
1885
1885
|
$metadata: deserializeMetadata(output),
|
|
1886
1886
|
});
|
|
1887
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1887
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1888
1888
|
}
|
|
1889
1889
|
};
|
|
1890
1890
|
const deserializeAws_restJson1AttachObjectCommand = async (output, context) => {
|
|
@@ -1895,9 +1895,9 @@ const deserializeAws_restJson1AttachObjectCommand = async (output, context) => {
|
|
|
1895
1895
|
$metadata: deserializeMetadata(output),
|
|
1896
1896
|
AttachedObjectIdentifier: undefined,
|
|
1897
1897
|
};
|
|
1898
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1898
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1899
1899
|
if (data.AttachedObjectIdentifier !== undefined && data.AttachedObjectIdentifier !== null) {
|
|
1900
|
-
contents.AttachedObjectIdentifier = smithy_client_1.expectString(data.AttachedObjectIdentifier);
|
|
1900
|
+
contents.AttachedObjectIdentifier = (0, smithy_client_1.expectString)(data.AttachedObjectIdentifier);
|
|
1901
1901
|
}
|
|
1902
1902
|
return Promise.resolve(contents);
|
|
1903
1903
|
};
|
|
@@ -1951,7 +1951,7 @@ const deserializeAws_restJson1AttachObjectCommandError = async (output, context)
|
|
|
1951
1951
|
$fault: "client",
|
|
1952
1952
|
$metadata: deserializeMetadata(output),
|
|
1953
1953
|
});
|
|
1954
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1954
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1955
1955
|
}
|
|
1956
1956
|
};
|
|
1957
1957
|
const deserializeAws_restJson1AttachPolicyCommand = async (output, context) => {
|
|
@@ -2008,7 +2008,7 @@ const deserializeAws_restJson1AttachPolicyCommandError = async (output, context)
|
|
|
2008
2008
|
$fault: "client",
|
|
2009
2009
|
$metadata: deserializeMetadata(output),
|
|
2010
2010
|
});
|
|
2011
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2011
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2012
2012
|
}
|
|
2013
2013
|
};
|
|
2014
2014
|
const deserializeAws_restJson1AttachToIndexCommand = async (output, context) => {
|
|
@@ -2019,9 +2019,9 @@ const deserializeAws_restJson1AttachToIndexCommand = async (output, context) =>
|
|
|
2019
2019
|
$metadata: deserializeMetadata(output),
|
|
2020
2020
|
AttachedObjectIdentifier: undefined,
|
|
2021
2021
|
};
|
|
2022
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2022
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2023
2023
|
if (data.AttachedObjectIdentifier !== undefined && data.AttachedObjectIdentifier !== null) {
|
|
2024
|
-
contents.AttachedObjectIdentifier = smithy_client_1.expectString(data.AttachedObjectIdentifier);
|
|
2024
|
+
contents.AttachedObjectIdentifier = (0, smithy_client_1.expectString)(data.AttachedObjectIdentifier);
|
|
2025
2025
|
}
|
|
2026
2026
|
return Promise.resolve(contents);
|
|
2027
2027
|
};
|
|
@@ -2078,7 +2078,7 @@ const deserializeAws_restJson1AttachToIndexCommandError = async (output, context
|
|
|
2078
2078
|
$fault: "client",
|
|
2079
2079
|
$metadata: deserializeMetadata(output),
|
|
2080
2080
|
});
|
|
2081
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2081
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2082
2082
|
}
|
|
2083
2083
|
};
|
|
2084
2084
|
const deserializeAws_restJson1AttachTypedLinkCommand = async (output, context) => {
|
|
@@ -2089,7 +2089,7 @@ const deserializeAws_restJson1AttachTypedLinkCommand = async (output, context) =
|
|
|
2089
2089
|
$metadata: deserializeMetadata(output),
|
|
2090
2090
|
TypedLinkSpecifier: undefined,
|
|
2091
2091
|
};
|
|
2092
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2092
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2093
2093
|
if (data.TypedLinkSpecifier !== undefined && data.TypedLinkSpecifier !== null) {
|
|
2094
2094
|
contents.TypedLinkSpecifier = deserializeAws_restJson1TypedLinkSpecifier(data.TypedLinkSpecifier, context);
|
|
2095
2095
|
}
|
|
@@ -2142,7 +2142,7 @@ const deserializeAws_restJson1AttachTypedLinkCommandError = async (output, conte
|
|
|
2142
2142
|
$fault: "client",
|
|
2143
2143
|
$metadata: deserializeMetadata(output),
|
|
2144
2144
|
});
|
|
2145
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2145
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2146
2146
|
}
|
|
2147
2147
|
};
|
|
2148
2148
|
const deserializeAws_restJson1BatchReadCommand = async (output, context) => {
|
|
@@ -2153,7 +2153,7 @@ const deserializeAws_restJson1BatchReadCommand = async (output, context) => {
|
|
|
2153
2153
|
$metadata: deserializeMetadata(output),
|
|
2154
2154
|
Responses: undefined,
|
|
2155
2155
|
};
|
|
2156
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2156
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2157
2157
|
if (data.Responses !== undefined && data.Responses !== null) {
|
|
2158
2158
|
contents.Responses = deserializeAws_restJson1BatchReadOperationResponseList(data.Responses, context);
|
|
2159
2159
|
}
|
|
@@ -2197,7 +2197,7 @@ const deserializeAws_restJson1BatchReadCommandError = async (output, context) =>
|
|
|
2197
2197
|
$fault: "client",
|
|
2198
2198
|
$metadata: deserializeMetadata(output),
|
|
2199
2199
|
});
|
|
2200
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2200
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2201
2201
|
}
|
|
2202
2202
|
};
|
|
2203
2203
|
const deserializeAws_restJson1BatchWriteCommand = async (output, context) => {
|
|
@@ -2208,7 +2208,7 @@ const deserializeAws_restJson1BatchWriteCommand = async (output, context) => {
|
|
|
2208
2208
|
$metadata: deserializeMetadata(output),
|
|
2209
2209
|
Responses: undefined,
|
|
2210
2210
|
};
|
|
2211
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2211
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2212
2212
|
if (data.Responses !== undefined && data.Responses !== null) {
|
|
2213
2213
|
contents.Responses = deserializeAws_restJson1BatchWriteOperationResponseList(data.Responses, context);
|
|
2214
2214
|
}
|
|
@@ -2255,7 +2255,7 @@ const deserializeAws_restJson1BatchWriteCommandError = async (output, context) =
|
|
|
2255
2255
|
$fault: "client",
|
|
2256
2256
|
$metadata: deserializeMetadata(output),
|
|
2257
2257
|
});
|
|
2258
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2258
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2259
2259
|
}
|
|
2260
2260
|
};
|
|
2261
2261
|
const deserializeAws_restJson1CreateDirectoryCommand = async (output, context) => {
|
|
@@ -2269,18 +2269,18 @@ const deserializeAws_restJson1CreateDirectoryCommand = async (output, context) =
|
|
|
2269
2269
|
Name: undefined,
|
|
2270
2270
|
ObjectIdentifier: undefined,
|
|
2271
2271
|
};
|
|
2272
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2272
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2273
2273
|
if (data.AppliedSchemaArn !== undefined && data.AppliedSchemaArn !== null) {
|
|
2274
|
-
contents.AppliedSchemaArn = smithy_client_1.expectString(data.AppliedSchemaArn);
|
|
2274
|
+
contents.AppliedSchemaArn = (0, smithy_client_1.expectString)(data.AppliedSchemaArn);
|
|
2275
2275
|
}
|
|
2276
2276
|
if (data.DirectoryArn !== undefined && data.DirectoryArn !== null) {
|
|
2277
|
-
contents.DirectoryArn = smithy_client_1.expectString(data.DirectoryArn);
|
|
2277
|
+
contents.DirectoryArn = (0, smithy_client_1.expectString)(data.DirectoryArn);
|
|
2278
2278
|
}
|
|
2279
2279
|
if (data.Name !== undefined && data.Name !== null) {
|
|
2280
|
-
contents.Name = smithy_client_1.expectString(data.Name);
|
|
2280
|
+
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
2281
2281
|
}
|
|
2282
2282
|
if (data.ObjectIdentifier !== undefined && data.ObjectIdentifier !== null) {
|
|
2283
|
-
contents.ObjectIdentifier = smithy_client_1.expectString(data.ObjectIdentifier);
|
|
2283
|
+
contents.ObjectIdentifier = (0, smithy_client_1.expectString)(data.ObjectIdentifier);
|
|
2284
2284
|
}
|
|
2285
2285
|
return Promise.resolve(contents);
|
|
2286
2286
|
};
|
|
@@ -2325,7 +2325,7 @@ const deserializeAws_restJson1CreateDirectoryCommandError = async (output, conte
|
|
|
2325
2325
|
$fault: "client",
|
|
2326
2326
|
$metadata: deserializeMetadata(output),
|
|
2327
2327
|
});
|
|
2328
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2328
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2329
2329
|
}
|
|
2330
2330
|
};
|
|
2331
2331
|
const deserializeAws_restJson1CreateFacetCommand = async (output, context) => {
|
|
@@ -2385,7 +2385,7 @@ const deserializeAws_restJson1CreateFacetCommandError = async (output, context)
|
|
|
2385
2385
|
$fault: "client",
|
|
2386
2386
|
$metadata: deserializeMetadata(output),
|
|
2387
2387
|
});
|
|
2388
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2388
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2389
2389
|
}
|
|
2390
2390
|
};
|
|
2391
2391
|
const deserializeAws_restJson1CreateIndexCommand = async (output, context) => {
|
|
@@ -2396,9 +2396,9 @@ const deserializeAws_restJson1CreateIndexCommand = async (output, context) => {
|
|
|
2396
2396
|
$metadata: deserializeMetadata(output),
|
|
2397
2397
|
ObjectIdentifier: undefined,
|
|
2398
2398
|
};
|
|
2399
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2399
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2400
2400
|
if (data.ObjectIdentifier !== undefined && data.ObjectIdentifier !== null) {
|
|
2401
|
-
contents.ObjectIdentifier = smithy_client_1.expectString(data.ObjectIdentifier);
|
|
2401
|
+
contents.ObjectIdentifier = (0, smithy_client_1.expectString)(data.ObjectIdentifier);
|
|
2402
2402
|
}
|
|
2403
2403
|
return Promise.resolve(contents);
|
|
2404
2404
|
};
|
|
@@ -2452,7 +2452,7 @@ const deserializeAws_restJson1CreateIndexCommandError = async (output, context)
|
|
|
2452
2452
|
$fault: "client",
|
|
2453
2453
|
$metadata: deserializeMetadata(output),
|
|
2454
2454
|
});
|
|
2455
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2455
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2456
2456
|
}
|
|
2457
2457
|
};
|
|
2458
2458
|
const deserializeAws_restJson1CreateObjectCommand = async (output, context) => {
|
|
@@ -2463,9 +2463,9 @@ const deserializeAws_restJson1CreateObjectCommand = async (output, context) => {
|
|
|
2463
2463
|
$metadata: deserializeMetadata(output),
|
|
2464
2464
|
ObjectIdentifier: undefined,
|
|
2465
2465
|
};
|
|
2466
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2466
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2467
2467
|
if (data.ObjectIdentifier !== undefined && data.ObjectIdentifier !== null) {
|
|
2468
|
-
contents.ObjectIdentifier = smithy_client_1.expectString(data.ObjectIdentifier);
|
|
2468
|
+
contents.ObjectIdentifier = (0, smithy_client_1.expectString)(data.ObjectIdentifier);
|
|
2469
2469
|
}
|
|
2470
2470
|
return Promise.resolve(contents);
|
|
2471
2471
|
};
|
|
@@ -2519,7 +2519,7 @@ const deserializeAws_restJson1CreateObjectCommandError = async (output, context)
|
|
|
2519
2519
|
$fault: "client",
|
|
2520
2520
|
$metadata: deserializeMetadata(output),
|
|
2521
2521
|
});
|
|
2522
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2522
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2523
2523
|
}
|
|
2524
2524
|
};
|
|
2525
2525
|
const deserializeAws_restJson1CreateSchemaCommand = async (output, context) => {
|
|
@@ -2530,9 +2530,9 @@ const deserializeAws_restJson1CreateSchemaCommand = async (output, context) => {
|
|
|
2530
2530
|
$metadata: deserializeMetadata(output),
|
|
2531
2531
|
SchemaArn: undefined,
|
|
2532
2532
|
};
|
|
2533
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2533
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2534
2534
|
if (data.SchemaArn !== undefined && data.SchemaArn !== null) {
|
|
2535
|
-
contents.SchemaArn = smithy_client_1.expectString(data.SchemaArn);
|
|
2535
|
+
contents.SchemaArn = (0, smithy_client_1.expectString)(data.SchemaArn);
|
|
2536
2536
|
}
|
|
2537
2537
|
return Promise.resolve(contents);
|
|
2538
2538
|
};
|
|
@@ -2574,7 +2574,7 @@ const deserializeAws_restJson1CreateSchemaCommandError = async (output, context)
|
|
|
2574
2574
|
$fault: "client",
|
|
2575
2575
|
$metadata: deserializeMetadata(output),
|
|
2576
2576
|
});
|
|
2577
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2577
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2578
2578
|
}
|
|
2579
2579
|
};
|
|
2580
2580
|
const deserializeAws_restJson1CreateTypedLinkFacetCommand = async (output, context) => {
|
|
@@ -2634,7 +2634,7 @@ const deserializeAws_restJson1CreateTypedLinkFacetCommandError = async (output,
|
|
|
2634
2634
|
$fault: "client",
|
|
2635
2635
|
$metadata: deserializeMetadata(output),
|
|
2636
2636
|
});
|
|
2637
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2637
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2638
2638
|
}
|
|
2639
2639
|
};
|
|
2640
2640
|
const deserializeAws_restJson1DeleteDirectoryCommand = async (output, context) => {
|
|
@@ -2645,9 +2645,9 @@ const deserializeAws_restJson1DeleteDirectoryCommand = async (output, context) =
|
|
|
2645
2645
|
$metadata: deserializeMetadata(output),
|
|
2646
2646
|
DirectoryArn: undefined,
|
|
2647
2647
|
};
|
|
2648
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2648
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2649
2649
|
if (data.DirectoryArn !== undefined && data.DirectoryArn !== null) {
|
|
2650
|
-
contents.DirectoryArn = smithy_client_1.expectString(data.DirectoryArn);
|
|
2650
|
+
contents.DirectoryArn = (0, smithy_client_1.expectString)(data.DirectoryArn);
|
|
2651
2651
|
}
|
|
2652
2652
|
return Promise.resolve(contents);
|
|
2653
2653
|
};
|
|
@@ -2695,7 +2695,7 @@ const deserializeAws_restJson1DeleteDirectoryCommandError = async (output, conte
|
|
|
2695
2695
|
$fault: "client",
|
|
2696
2696
|
$metadata: deserializeMetadata(output),
|
|
2697
2697
|
});
|
|
2698
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2698
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2699
2699
|
}
|
|
2700
2700
|
};
|
|
2701
2701
|
const deserializeAws_restJson1DeleteFacetCommand = async (output, context) => {
|
|
@@ -2752,7 +2752,7 @@ const deserializeAws_restJson1DeleteFacetCommandError = async (output, context)
|
|
|
2752
2752
|
$fault: "client",
|
|
2753
2753
|
$metadata: deserializeMetadata(output),
|
|
2754
2754
|
});
|
|
2755
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2755
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2756
2756
|
}
|
|
2757
2757
|
};
|
|
2758
2758
|
const deserializeAws_restJson1DeleteObjectCommand = async (output, context) => {
|
|
@@ -2809,7 +2809,7 @@ const deserializeAws_restJson1DeleteObjectCommandError = async (output, context)
|
|
|
2809
2809
|
$fault: "client",
|
|
2810
2810
|
$metadata: deserializeMetadata(output),
|
|
2811
2811
|
});
|
|
2812
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2812
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2813
2813
|
}
|
|
2814
2814
|
};
|
|
2815
2815
|
const deserializeAws_restJson1DeleteSchemaCommand = async (output, context) => {
|
|
@@ -2820,9 +2820,9 @@ const deserializeAws_restJson1DeleteSchemaCommand = async (output, context) => {
|
|
|
2820
2820
|
$metadata: deserializeMetadata(output),
|
|
2821
2821
|
SchemaArn: undefined,
|
|
2822
2822
|
};
|
|
2823
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2823
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2824
2824
|
if (data.SchemaArn !== undefined && data.SchemaArn !== null) {
|
|
2825
|
-
contents.SchemaArn = smithy_client_1.expectString(data.SchemaArn);
|
|
2825
|
+
contents.SchemaArn = (0, smithy_client_1.expectString)(data.SchemaArn);
|
|
2826
2826
|
}
|
|
2827
2827
|
return Promise.resolve(contents);
|
|
2828
2828
|
};
|
|
@@ -2867,7 +2867,7 @@ const deserializeAws_restJson1DeleteSchemaCommandError = async (output, context)
|
|
|
2867
2867
|
$fault: "client",
|
|
2868
2868
|
$metadata: deserializeMetadata(output),
|
|
2869
2869
|
});
|
|
2870
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2870
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2871
2871
|
}
|
|
2872
2872
|
};
|
|
2873
2873
|
const deserializeAws_restJson1DeleteTypedLinkFacetCommand = async (output, context) => {
|
|
@@ -2921,7 +2921,7 @@ const deserializeAws_restJson1DeleteTypedLinkFacetCommandError = async (output,
|
|
|
2921
2921
|
$fault: "client",
|
|
2922
2922
|
$metadata: deserializeMetadata(output),
|
|
2923
2923
|
});
|
|
2924
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2924
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2925
2925
|
}
|
|
2926
2926
|
};
|
|
2927
2927
|
const deserializeAws_restJson1DetachFromIndexCommand = async (output, context) => {
|
|
@@ -2932,9 +2932,9 @@ const deserializeAws_restJson1DetachFromIndexCommand = async (output, context) =
|
|
|
2932
2932
|
$metadata: deserializeMetadata(output),
|
|
2933
2933
|
DetachedObjectIdentifier: undefined,
|
|
2934
2934
|
};
|
|
2935
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2935
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2936
2936
|
if (data.DetachedObjectIdentifier !== undefined && data.DetachedObjectIdentifier !== null) {
|
|
2937
|
-
contents.DetachedObjectIdentifier = smithy_client_1.expectString(data.DetachedObjectIdentifier);
|
|
2937
|
+
contents.DetachedObjectIdentifier = (0, smithy_client_1.expectString)(data.DetachedObjectIdentifier);
|
|
2938
2938
|
}
|
|
2939
2939
|
return Promise.resolve(contents);
|
|
2940
2940
|
};
|
|
@@ -2985,7 +2985,7 @@ const deserializeAws_restJson1DetachFromIndexCommandError = async (output, conte
|
|
|
2985
2985
|
$fault: "client",
|
|
2986
2986
|
$metadata: deserializeMetadata(output),
|
|
2987
2987
|
});
|
|
2988
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2988
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2989
2989
|
}
|
|
2990
2990
|
};
|
|
2991
2991
|
const deserializeAws_restJson1DetachObjectCommand = async (output, context) => {
|
|
@@ -2996,9 +2996,9 @@ const deserializeAws_restJson1DetachObjectCommand = async (output, context) => {
|
|
|
2996
2996
|
$metadata: deserializeMetadata(output),
|
|
2997
2997
|
DetachedObjectIdentifier: undefined,
|
|
2998
2998
|
};
|
|
2999
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2999
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3000
3000
|
if (data.DetachedObjectIdentifier !== undefined && data.DetachedObjectIdentifier !== null) {
|
|
3001
|
-
contents.DetachedObjectIdentifier = smithy_client_1.expectString(data.DetachedObjectIdentifier);
|
|
3001
|
+
contents.DetachedObjectIdentifier = (0, smithy_client_1.expectString)(data.DetachedObjectIdentifier);
|
|
3002
3002
|
}
|
|
3003
3003
|
return Promise.resolve(contents);
|
|
3004
3004
|
};
|
|
@@ -3046,7 +3046,7 @@ const deserializeAws_restJson1DetachObjectCommandError = async (output, context)
|
|
|
3046
3046
|
$fault: "client",
|
|
3047
3047
|
$metadata: deserializeMetadata(output),
|
|
3048
3048
|
});
|
|
3049
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3049
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3050
3050
|
}
|
|
3051
3051
|
};
|
|
3052
3052
|
const deserializeAws_restJson1DetachPolicyCommand = async (output, context) => {
|
|
@@ -3103,7 +3103,7 @@ const deserializeAws_restJson1DetachPolicyCommandError = async (output, context)
|
|
|
3103
3103
|
$fault: "client",
|
|
3104
3104
|
$metadata: deserializeMetadata(output),
|
|
3105
3105
|
});
|
|
3106
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3106
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3107
3107
|
}
|
|
3108
3108
|
};
|
|
3109
3109
|
const deserializeAws_restJson1DetachTypedLinkCommand = async (output, context) => {
|
|
@@ -3160,7 +3160,7 @@ const deserializeAws_restJson1DetachTypedLinkCommandError = async (output, conte
|
|
|
3160
3160
|
$fault: "client",
|
|
3161
3161
|
$metadata: deserializeMetadata(output),
|
|
3162
3162
|
});
|
|
3163
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3163
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3164
3164
|
}
|
|
3165
3165
|
};
|
|
3166
3166
|
const deserializeAws_restJson1DisableDirectoryCommand = async (output, context) => {
|
|
@@ -3171,9 +3171,9 @@ const deserializeAws_restJson1DisableDirectoryCommand = async (output, context)
|
|
|
3171
3171
|
$metadata: deserializeMetadata(output),
|
|
3172
3172
|
DirectoryArn: undefined,
|
|
3173
3173
|
};
|
|
3174
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3174
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3175
3175
|
if (data.DirectoryArn !== undefined && data.DirectoryArn !== null) {
|
|
3176
|
-
contents.DirectoryArn = smithy_client_1.expectString(data.DirectoryArn);
|
|
3176
|
+
contents.DirectoryArn = (0, smithy_client_1.expectString)(data.DirectoryArn);
|
|
3177
3177
|
}
|
|
3178
3178
|
return Promise.resolve(contents);
|
|
3179
3179
|
};
|
|
@@ -3218,7 +3218,7 @@ const deserializeAws_restJson1DisableDirectoryCommandError = async (output, cont
|
|
|
3218
3218
|
$fault: "client",
|
|
3219
3219
|
$metadata: deserializeMetadata(output),
|
|
3220
3220
|
});
|
|
3221
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3221
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3222
3222
|
}
|
|
3223
3223
|
};
|
|
3224
3224
|
const deserializeAws_restJson1EnableDirectoryCommand = async (output, context) => {
|
|
@@ -3229,9 +3229,9 @@ const deserializeAws_restJson1EnableDirectoryCommand = async (output, context) =
|
|
|
3229
3229
|
$metadata: deserializeMetadata(output),
|
|
3230
3230
|
DirectoryArn: undefined,
|
|
3231
3231
|
};
|
|
3232
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3232
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3233
3233
|
if (data.DirectoryArn !== undefined && data.DirectoryArn !== null) {
|
|
3234
|
-
contents.DirectoryArn = smithy_client_1.expectString(data.DirectoryArn);
|
|
3234
|
+
contents.DirectoryArn = (0, smithy_client_1.expectString)(data.DirectoryArn);
|
|
3235
3235
|
}
|
|
3236
3236
|
return Promise.resolve(contents);
|
|
3237
3237
|
};
|
|
@@ -3276,7 +3276,7 @@ const deserializeAws_restJson1EnableDirectoryCommandError = async (output, conte
|
|
|
3276
3276
|
$fault: "client",
|
|
3277
3277
|
$metadata: deserializeMetadata(output),
|
|
3278
3278
|
});
|
|
3279
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3279
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3280
3280
|
}
|
|
3281
3281
|
};
|
|
3282
3282
|
const deserializeAws_restJson1GetAppliedSchemaVersionCommand = async (output, context) => {
|
|
@@ -3287,9 +3287,9 @@ const deserializeAws_restJson1GetAppliedSchemaVersionCommand = async (output, co
|
|
|
3287
3287
|
$metadata: deserializeMetadata(output),
|
|
3288
3288
|
AppliedSchemaArn: undefined,
|
|
3289
3289
|
};
|
|
3290
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3290
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3291
3291
|
if (data.AppliedSchemaArn !== undefined && data.AppliedSchemaArn !== null) {
|
|
3292
|
-
contents.AppliedSchemaArn = smithy_client_1.expectString(data.AppliedSchemaArn);
|
|
3292
|
+
contents.AppliedSchemaArn = (0, smithy_client_1.expectString)(data.AppliedSchemaArn);
|
|
3293
3293
|
}
|
|
3294
3294
|
return Promise.resolve(contents);
|
|
3295
3295
|
};
|
|
@@ -3331,7 +3331,7 @@ const deserializeAws_restJson1GetAppliedSchemaVersionCommandError = async (outpu
|
|
|
3331
3331
|
$fault: "client",
|
|
3332
3332
|
$metadata: deserializeMetadata(output),
|
|
3333
3333
|
});
|
|
3334
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3334
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3335
3335
|
}
|
|
3336
3336
|
};
|
|
3337
3337
|
const deserializeAws_restJson1GetDirectoryCommand = async (output, context) => {
|
|
@@ -3342,7 +3342,7 @@ const deserializeAws_restJson1GetDirectoryCommand = async (output, context) => {
|
|
|
3342
3342
|
$metadata: deserializeMetadata(output),
|
|
3343
3343
|
Directory: undefined,
|
|
3344
3344
|
};
|
|
3345
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3345
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3346
3346
|
if (data.Directory !== undefined && data.Directory !== null) {
|
|
3347
3347
|
contents.Directory = deserializeAws_restJson1Directory(data.Directory, context);
|
|
3348
3348
|
}
|
|
@@ -3383,7 +3383,7 @@ const deserializeAws_restJson1GetDirectoryCommandError = async (output, context)
|
|
|
3383
3383
|
$fault: "client",
|
|
3384
3384
|
$metadata: deserializeMetadata(output),
|
|
3385
3385
|
});
|
|
3386
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3386
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3387
3387
|
}
|
|
3388
3388
|
};
|
|
3389
3389
|
const deserializeAws_restJson1GetFacetCommand = async (output, context) => {
|
|
@@ -3394,7 +3394,7 @@ const deserializeAws_restJson1GetFacetCommand = async (output, context) => {
|
|
|
3394
3394
|
$metadata: deserializeMetadata(output),
|
|
3395
3395
|
Facet: undefined,
|
|
3396
3396
|
};
|
|
3397
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3397
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3398
3398
|
if (data.Facet !== undefined && data.Facet !== null) {
|
|
3399
3399
|
contents.Facet = deserializeAws_restJson1Facet(data.Facet, context);
|
|
3400
3400
|
}
|
|
@@ -3441,7 +3441,7 @@ const deserializeAws_restJson1GetFacetCommandError = async (output, context) =>
|
|
|
3441
3441
|
$fault: "client",
|
|
3442
3442
|
$metadata: deserializeMetadata(output),
|
|
3443
3443
|
});
|
|
3444
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3444
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3445
3445
|
}
|
|
3446
3446
|
};
|
|
3447
3447
|
const deserializeAws_restJson1GetLinkAttributesCommand = async (output, context) => {
|
|
@@ -3452,7 +3452,7 @@ const deserializeAws_restJson1GetLinkAttributesCommand = async (output, context)
|
|
|
3452
3452
|
$metadata: deserializeMetadata(output),
|
|
3453
3453
|
Attributes: undefined,
|
|
3454
3454
|
};
|
|
3455
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3455
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3456
3456
|
if (data.Attributes !== undefined && data.Attributes !== null) {
|
|
3457
3457
|
contents.Attributes = deserializeAws_restJson1AttributeKeyAndValueList(data.Attributes, context);
|
|
3458
3458
|
}
|
|
@@ -3502,7 +3502,7 @@ const deserializeAws_restJson1GetLinkAttributesCommandError = async (output, con
|
|
|
3502
3502
|
$fault: "client",
|
|
3503
3503
|
$metadata: deserializeMetadata(output),
|
|
3504
3504
|
});
|
|
3505
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3505
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3506
3506
|
}
|
|
3507
3507
|
};
|
|
3508
3508
|
const deserializeAws_restJson1GetObjectAttributesCommand = async (output, context) => {
|
|
@@ -3513,7 +3513,7 @@ const deserializeAws_restJson1GetObjectAttributesCommand = async (output, contex
|
|
|
3513
3513
|
$metadata: deserializeMetadata(output),
|
|
3514
3514
|
Attributes: undefined,
|
|
3515
3515
|
};
|
|
3516
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3516
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3517
3517
|
if (data.Attributes !== undefined && data.Attributes !== null) {
|
|
3518
3518
|
contents.Attributes = deserializeAws_restJson1AttributeKeyAndValueList(data.Attributes, context);
|
|
3519
3519
|
}
|
|
@@ -3563,7 +3563,7 @@ const deserializeAws_restJson1GetObjectAttributesCommandError = async (output, c
|
|
|
3563
3563
|
$fault: "client",
|
|
3564
3564
|
$metadata: deserializeMetadata(output),
|
|
3565
3565
|
});
|
|
3566
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3566
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3567
3567
|
}
|
|
3568
3568
|
};
|
|
3569
3569
|
const deserializeAws_restJson1GetObjectInformationCommand = async (output, context) => {
|
|
@@ -3575,9 +3575,9 @@ const deserializeAws_restJson1GetObjectInformationCommand = async (output, conte
|
|
|
3575
3575
|
ObjectIdentifier: undefined,
|
|
3576
3576
|
SchemaFacets: undefined,
|
|
3577
3577
|
};
|
|
3578
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3578
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3579
3579
|
if (data.ObjectIdentifier !== undefined && data.ObjectIdentifier !== null) {
|
|
3580
|
-
contents.ObjectIdentifier = smithy_client_1.expectString(data.ObjectIdentifier);
|
|
3580
|
+
contents.ObjectIdentifier = (0, smithy_client_1.expectString)(data.ObjectIdentifier);
|
|
3581
3581
|
}
|
|
3582
3582
|
if (data.SchemaFacets !== undefined && data.SchemaFacets !== null) {
|
|
3583
3583
|
contents.SchemaFacets = deserializeAws_restJson1SchemaFacetList(data.SchemaFacets, context);
|
|
@@ -3625,7 +3625,7 @@ const deserializeAws_restJson1GetObjectInformationCommandError = async (output,
|
|
|
3625
3625
|
$fault: "client",
|
|
3626
3626
|
$metadata: deserializeMetadata(output),
|
|
3627
3627
|
});
|
|
3628
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3628
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3629
3629
|
}
|
|
3630
3630
|
};
|
|
3631
3631
|
const deserializeAws_restJson1GetSchemaAsJsonCommand = async (output, context) => {
|
|
@@ -3637,12 +3637,12 @@ const deserializeAws_restJson1GetSchemaAsJsonCommand = async (output, context) =
|
|
|
3637
3637
|
Document: undefined,
|
|
3638
3638
|
Name: undefined,
|
|
3639
3639
|
};
|
|
3640
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3640
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3641
3641
|
if (data.Document !== undefined && data.Document !== null) {
|
|
3642
|
-
contents.Document = smithy_client_1.expectString(data.Document);
|
|
3642
|
+
contents.Document = (0, smithy_client_1.expectString)(data.Document);
|
|
3643
3643
|
}
|
|
3644
3644
|
if (data.Name !== undefined && data.Name !== null) {
|
|
3645
|
-
contents.Name = smithy_client_1.expectString(data.Name);
|
|
3645
|
+
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
3646
3646
|
}
|
|
3647
3647
|
return Promise.resolve(contents);
|
|
3648
3648
|
};
|
|
@@ -3684,7 +3684,7 @@ const deserializeAws_restJson1GetSchemaAsJsonCommandError = async (output, conte
|
|
|
3684
3684
|
$fault: "client",
|
|
3685
3685
|
$metadata: deserializeMetadata(output),
|
|
3686
3686
|
});
|
|
3687
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3687
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3688
3688
|
}
|
|
3689
3689
|
};
|
|
3690
3690
|
const deserializeAws_restJson1GetTypedLinkFacetInformationCommand = async (output, context) => {
|
|
@@ -3695,7 +3695,7 @@ const deserializeAws_restJson1GetTypedLinkFacetInformationCommand = async (outpu
|
|
|
3695
3695
|
$metadata: deserializeMetadata(output),
|
|
3696
3696
|
IdentityAttributeOrder: undefined,
|
|
3697
3697
|
};
|
|
3698
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3698
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3699
3699
|
if (data.IdentityAttributeOrder !== undefined && data.IdentityAttributeOrder !== null) {
|
|
3700
3700
|
contents.IdentityAttributeOrder = deserializeAws_restJson1AttributeNameList(data.IdentityAttributeOrder, context);
|
|
3701
3701
|
}
|
|
@@ -3745,7 +3745,7 @@ const deserializeAws_restJson1GetTypedLinkFacetInformationCommandError = async (
|
|
|
3745
3745
|
$fault: "client",
|
|
3746
3746
|
$metadata: deserializeMetadata(output),
|
|
3747
3747
|
});
|
|
3748
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3748
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3749
3749
|
}
|
|
3750
3750
|
};
|
|
3751
3751
|
const deserializeAws_restJson1ListAppliedSchemaArnsCommand = async (output, context) => {
|
|
@@ -3757,9 +3757,9 @@ const deserializeAws_restJson1ListAppliedSchemaArnsCommand = async (output, cont
|
|
|
3757
3757
|
NextToken: undefined,
|
|
3758
3758
|
SchemaArns: undefined,
|
|
3759
3759
|
};
|
|
3760
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3760
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3761
3761
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
3762
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
3762
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
3763
3763
|
}
|
|
3764
3764
|
if (data.SchemaArns !== undefined && data.SchemaArns !== null) {
|
|
3765
3765
|
contents.SchemaArns = deserializeAws_restJson1Arns(data.SchemaArns, context);
|
|
@@ -3807,7 +3807,7 @@ const deserializeAws_restJson1ListAppliedSchemaArnsCommandError = async (output,
|
|
|
3807
3807
|
$fault: "client",
|
|
3808
3808
|
$metadata: deserializeMetadata(output),
|
|
3809
3809
|
});
|
|
3810
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3810
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3811
3811
|
}
|
|
3812
3812
|
};
|
|
3813
3813
|
const deserializeAws_restJson1ListAttachedIndicesCommand = async (output, context) => {
|
|
@@ -3819,12 +3819,12 @@ const deserializeAws_restJson1ListAttachedIndicesCommand = async (output, contex
|
|
|
3819
3819
|
IndexAttachments: undefined,
|
|
3820
3820
|
NextToken: undefined,
|
|
3821
3821
|
};
|
|
3822
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3822
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3823
3823
|
if (data.IndexAttachments !== undefined && data.IndexAttachments !== null) {
|
|
3824
3824
|
contents.IndexAttachments = deserializeAws_restJson1IndexAttachmentList(data.IndexAttachments, context);
|
|
3825
3825
|
}
|
|
3826
3826
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
3827
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
3827
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
3828
3828
|
}
|
|
3829
3829
|
return Promise.resolve(contents);
|
|
3830
3830
|
};
|
|
@@ -3869,7 +3869,7 @@ const deserializeAws_restJson1ListAttachedIndicesCommandError = async (output, c
|
|
|
3869
3869
|
$fault: "client",
|
|
3870
3870
|
$metadata: deserializeMetadata(output),
|
|
3871
3871
|
});
|
|
3872
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3872
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3873
3873
|
}
|
|
3874
3874
|
};
|
|
3875
3875
|
const deserializeAws_restJson1ListDevelopmentSchemaArnsCommand = async (output, context) => {
|
|
@@ -3881,9 +3881,9 @@ const deserializeAws_restJson1ListDevelopmentSchemaArnsCommand = async (output,
|
|
|
3881
3881
|
NextToken: undefined,
|
|
3882
3882
|
SchemaArns: undefined,
|
|
3883
3883
|
};
|
|
3884
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3884
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3885
3885
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
3886
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
3886
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
3887
3887
|
}
|
|
3888
3888
|
if (data.SchemaArns !== undefined && data.SchemaArns !== null) {
|
|
3889
3889
|
contents.SchemaArns = deserializeAws_restJson1Arns(data.SchemaArns, context);
|
|
@@ -3931,7 +3931,7 @@ const deserializeAws_restJson1ListDevelopmentSchemaArnsCommandError = async (out
|
|
|
3931
3931
|
$fault: "client",
|
|
3932
3932
|
$metadata: deserializeMetadata(output),
|
|
3933
3933
|
});
|
|
3934
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3934
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3935
3935
|
}
|
|
3936
3936
|
};
|
|
3937
3937
|
const deserializeAws_restJson1ListDirectoriesCommand = async (output, context) => {
|
|
@@ -3943,12 +3943,12 @@ const deserializeAws_restJson1ListDirectoriesCommand = async (output, context) =
|
|
|
3943
3943
|
Directories: undefined,
|
|
3944
3944
|
NextToken: undefined,
|
|
3945
3945
|
};
|
|
3946
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3946
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3947
3947
|
if (data.Directories !== undefined && data.Directories !== null) {
|
|
3948
3948
|
contents.Directories = deserializeAws_restJson1DirectoryList(data.Directories, context);
|
|
3949
3949
|
}
|
|
3950
3950
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
3951
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
3951
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
3952
3952
|
}
|
|
3953
3953
|
return Promise.resolve(contents);
|
|
3954
3954
|
};
|
|
@@ -3990,7 +3990,7 @@ const deserializeAws_restJson1ListDirectoriesCommandError = async (output, conte
|
|
|
3990
3990
|
$fault: "client",
|
|
3991
3991
|
$metadata: deserializeMetadata(output),
|
|
3992
3992
|
});
|
|
3993
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3993
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3994
3994
|
}
|
|
3995
3995
|
};
|
|
3996
3996
|
const deserializeAws_restJson1ListFacetAttributesCommand = async (output, context) => {
|
|
@@ -4002,12 +4002,12 @@ const deserializeAws_restJson1ListFacetAttributesCommand = async (output, contex
|
|
|
4002
4002
|
Attributes: undefined,
|
|
4003
4003
|
NextToken: undefined,
|
|
4004
4004
|
};
|
|
4005
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4005
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4006
4006
|
if (data.Attributes !== undefined && data.Attributes !== null) {
|
|
4007
4007
|
contents.Attributes = deserializeAws_restJson1FacetAttributeList(data.Attributes, context);
|
|
4008
4008
|
}
|
|
4009
4009
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
4010
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
4010
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
4011
4011
|
}
|
|
4012
4012
|
return Promise.resolve(contents);
|
|
4013
4013
|
};
|
|
@@ -4055,7 +4055,7 @@ const deserializeAws_restJson1ListFacetAttributesCommandError = async (output, c
|
|
|
4055
4055
|
$fault: "client",
|
|
4056
4056
|
$metadata: deserializeMetadata(output),
|
|
4057
4057
|
});
|
|
4058
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4058
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4059
4059
|
}
|
|
4060
4060
|
};
|
|
4061
4061
|
const deserializeAws_restJson1ListFacetNamesCommand = async (output, context) => {
|
|
@@ -4067,12 +4067,12 @@ const deserializeAws_restJson1ListFacetNamesCommand = async (output, context) =>
|
|
|
4067
4067
|
FacetNames: undefined,
|
|
4068
4068
|
NextToken: undefined,
|
|
4069
4069
|
};
|
|
4070
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4070
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4071
4071
|
if (data.FacetNames !== undefined && data.FacetNames !== null) {
|
|
4072
4072
|
contents.FacetNames = deserializeAws_restJson1FacetNameList(data.FacetNames, context);
|
|
4073
4073
|
}
|
|
4074
4074
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
4075
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
4075
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
4076
4076
|
}
|
|
4077
4077
|
return Promise.resolve(contents);
|
|
4078
4078
|
};
|
|
@@ -4117,7 +4117,7 @@ const deserializeAws_restJson1ListFacetNamesCommandError = async (output, contex
|
|
|
4117
4117
|
$fault: "client",
|
|
4118
4118
|
$metadata: deserializeMetadata(output),
|
|
4119
4119
|
});
|
|
4120
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4120
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4121
4121
|
}
|
|
4122
4122
|
};
|
|
4123
4123
|
const deserializeAws_restJson1ListIncomingTypedLinksCommand = async (output, context) => {
|
|
@@ -4129,12 +4129,12 @@ const deserializeAws_restJson1ListIncomingTypedLinksCommand = async (output, con
|
|
|
4129
4129
|
LinkSpecifiers: undefined,
|
|
4130
4130
|
NextToken: undefined,
|
|
4131
4131
|
};
|
|
4132
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4132
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4133
4133
|
if (data.LinkSpecifiers !== undefined && data.LinkSpecifiers !== null) {
|
|
4134
4134
|
contents.LinkSpecifiers = deserializeAws_restJson1TypedLinkSpecifierList(data.LinkSpecifiers, context);
|
|
4135
4135
|
}
|
|
4136
4136
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
4137
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
4137
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
4138
4138
|
}
|
|
4139
4139
|
return Promise.resolve(contents);
|
|
4140
4140
|
};
|
|
@@ -4185,7 +4185,7 @@ const deserializeAws_restJson1ListIncomingTypedLinksCommandError = async (output
|
|
|
4185
4185
|
$fault: "client",
|
|
4186
4186
|
$metadata: deserializeMetadata(output),
|
|
4187
4187
|
});
|
|
4188
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4188
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4189
4189
|
}
|
|
4190
4190
|
};
|
|
4191
4191
|
const deserializeAws_restJson1ListIndexCommand = async (output, context) => {
|
|
@@ -4197,12 +4197,12 @@ const deserializeAws_restJson1ListIndexCommand = async (output, context) => {
|
|
|
4197
4197
|
IndexAttachments: undefined,
|
|
4198
4198
|
NextToken: undefined,
|
|
4199
4199
|
};
|
|
4200
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4200
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4201
4201
|
if (data.IndexAttachments !== undefined && data.IndexAttachments !== null) {
|
|
4202
4202
|
contents.IndexAttachments = deserializeAws_restJson1IndexAttachmentList(data.IndexAttachments, context);
|
|
4203
4203
|
}
|
|
4204
4204
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
4205
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
4205
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
4206
4206
|
}
|
|
4207
4207
|
return Promise.resolve(contents);
|
|
4208
4208
|
};
|
|
@@ -4256,7 +4256,7 @@ const deserializeAws_restJson1ListIndexCommandError = async (output, context) =>
|
|
|
4256
4256
|
$fault: "client",
|
|
4257
4257
|
$metadata: deserializeMetadata(output),
|
|
4258
4258
|
});
|
|
4259
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4259
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4260
4260
|
}
|
|
4261
4261
|
};
|
|
4262
4262
|
const deserializeAws_restJson1ListManagedSchemaArnsCommand = async (output, context) => {
|
|
@@ -4268,9 +4268,9 @@ const deserializeAws_restJson1ListManagedSchemaArnsCommand = async (output, cont
|
|
|
4268
4268
|
NextToken: undefined,
|
|
4269
4269
|
SchemaArns: undefined,
|
|
4270
4270
|
};
|
|
4271
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4271
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4272
4272
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
4273
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
4273
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
4274
4274
|
}
|
|
4275
4275
|
if (data.SchemaArns !== undefined && data.SchemaArns !== null) {
|
|
4276
4276
|
contents.SchemaArns = deserializeAws_restJson1Arns(data.SchemaArns, context);
|
|
@@ -4312,7 +4312,7 @@ const deserializeAws_restJson1ListManagedSchemaArnsCommandError = async (output,
|
|
|
4312
4312
|
$fault: "client",
|
|
4313
4313
|
$metadata: deserializeMetadata(output),
|
|
4314
4314
|
});
|
|
4315
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4315
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4316
4316
|
}
|
|
4317
4317
|
};
|
|
4318
4318
|
const deserializeAws_restJson1ListObjectAttributesCommand = async (output, context) => {
|
|
@@ -4324,12 +4324,12 @@ const deserializeAws_restJson1ListObjectAttributesCommand = async (output, conte
|
|
|
4324
4324
|
Attributes: undefined,
|
|
4325
4325
|
NextToken: undefined,
|
|
4326
4326
|
};
|
|
4327
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4327
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4328
4328
|
if (data.Attributes !== undefined && data.Attributes !== null) {
|
|
4329
4329
|
contents.Attributes = deserializeAws_restJson1AttributeKeyAndValueList(data.Attributes, context);
|
|
4330
4330
|
}
|
|
4331
4331
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
4332
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
4332
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
4333
4333
|
}
|
|
4334
4334
|
return Promise.resolve(contents);
|
|
4335
4335
|
};
|
|
@@ -4380,7 +4380,7 @@ const deserializeAws_restJson1ListObjectAttributesCommandError = async (output,
|
|
|
4380
4380
|
$fault: "client",
|
|
4381
4381
|
$metadata: deserializeMetadata(output),
|
|
4382
4382
|
});
|
|
4383
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4383
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4384
4384
|
}
|
|
4385
4385
|
};
|
|
4386
4386
|
const deserializeAws_restJson1ListObjectChildrenCommand = async (output, context) => {
|
|
@@ -4392,12 +4392,12 @@ const deserializeAws_restJson1ListObjectChildrenCommand = async (output, context
|
|
|
4392
4392
|
Children: undefined,
|
|
4393
4393
|
NextToken: undefined,
|
|
4394
4394
|
};
|
|
4395
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4395
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4396
4396
|
if (data.Children !== undefined && data.Children !== null) {
|
|
4397
4397
|
contents.Children = deserializeAws_restJson1LinkNameToObjectIdentifierMap(data.Children, context);
|
|
4398
4398
|
}
|
|
4399
4399
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
4400
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
4400
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
4401
4401
|
}
|
|
4402
4402
|
return Promise.resolve(contents);
|
|
4403
4403
|
};
|
|
@@ -4448,7 +4448,7 @@ const deserializeAws_restJson1ListObjectChildrenCommandError = async (output, co
|
|
|
4448
4448
|
$fault: "client",
|
|
4449
4449
|
$metadata: deserializeMetadata(output),
|
|
4450
4450
|
});
|
|
4451
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4451
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4452
4452
|
}
|
|
4453
4453
|
};
|
|
4454
4454
|
const deserializeAws_restJson1ListObjectParentPathsCommand = async (output, context) => {
|
|
@@ -4460,9 +4460,9 @@ const deserializeAws_restJson1ListObjectParentPathsCommand = async (output, cont
|
|
|
4460
4460
|
NextToken: undefined,
|
|
4461
4461
|
PathToObjectIdentifiersList: undefined,
|
|
4462
4462
|
};
|
|
4463
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4463
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4464
4464
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
4465
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
4465
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
4466
4466
|
}
|
|
4467
4467
|
if (data.PathToObjectIdentifiersList !== undefined && data.PathToObjectIdentifiersList !== null) {
|
|
4468
4468
|
contents.PathToObjectIdentifiersList = deserializeAws_restJson1PathToObjectIdentifiersList(data.PathToObjectIdentifiersList, context);
|
|
@@ -4513,7 +4513,7 @@ const deserializeAws_restJson1ListObjectParentPathsCommandError = async (output,
|
|
|
4513
4513
|
$fault: "client",
|
|
4514
4514
|
$metadata: deserializeMetadata(output),
|
|
4515
4515
|
});
|
|
4516
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4516
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4517
4517
|
}
|
|
4518
4518
|
};
|
|
4519
4519
|
const deserializeAws_restJson1ListObjectParentsCommand = async (output, context) => {
|
|
@@ -4526,9 +4526,9 @@ const deserializeAws_restJson1ListObjectParentsCommand = async (output, context)
|
|
|
4526
4526
|
ParentLinks: undefined,
|
|
4527
4527
|
Parents: undefined,
|
|
4528
4528
|
};
|
|
4529
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4529
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4530
4530
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
4531
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
4531
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
4532
4532
|
}
|
|
4533
4533
|
if (data.ParentLinks !== undefined && data.ParentLinks !== null) {
|
|
4534
4534
|
contents.ParentLinks = deserializeAws_restJson1ObjectIdentifierAndLinkNameList(data.ParentLinks, context);
|
|
@@ -4585,7 +4585,7 @@ const deserializeAws_restJson1ListObjectParentsCommandError = async (output, con
|
|
|
4585
4585
|
$fault: "client",
|
|
4586
4586
|
$metadata: deserializeMetadata(output),
|
|
4587
4587
|
});
|
|
4588
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4588
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4589
4589
|
}
|
|
4590
4590
|
};
|
|
4591
4591
|
const deserializeAws_restJson1ListObjectPoliciesCommand = async (output, context) => {
|
|
@@ -4597,12 +4597,12 @@ const deserializeAws_restJson1ListObjectPoliciesCommand = async (output, context
|
|
|
4597
4597
|
AttachedPolicyIds: undefined,
|
|
4598
4598
|
NextToken: undefined,
|
|
4599
4599
|
};
|
|
4600
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4600
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4601
4601
|
if (data.AttachedPolicyIds !== undefined && data.AttachedPolicyIds !== null) {
|
|
4602
4602
|
contents.AttachedPolicyIds = deserializeAws_restJson1ObjectIdentifierList(data.AttachedPolicyIds, context);
|
|
4603
4603
|
}
|
|
4604
4604
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
4605
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
4605
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
4606
4606
|
}
|
|
4607
4607
|
return Promise.resolve(contents);
|
|
4608
4608
|
};
|
|
@@ -4650,7 +4650,7 @@ const deserializeAws_restJson1ListObjectPoliciesCommandError = async (output, co
|
|
|
4650
4650
|
$fault: "client",
|
|
4651
4651
|
$metadata: deserializeMetadata(output),
|
|
4652
4652
|
});
|
|
4653
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4653
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4654
4654
|
}
|
|
4655
4655
|
};
|
|
4656
4656
|
const deserializeAws_restJson1ListOutgoingTypedLinksCommand = async (output, context) => {
|
|
@@ -4662,9 +4662,9 @@ const deserializeAws_restJson1ListOutgoingTypedLinksCommand = async (output, con
|
|
|
4662
4662
|
NextToken: undefined,
|
|
4663
4663
|
TypedLinkSpecifiers: undefined,
|
|
4664
4664
|
};
|
|
4665
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4665
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4666
4666
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
4667
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
4667
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
4668
4668
|
}
|
|
4669
4669
|
if (data.TypedLinkSpecifiers !== undefined && data.TypedLinkSpecifiers !== null) {
|
|
4670
4670
|
contents.TypedLinkSpecifiers = deserializeAws_restJson1TypedLinkSpecifierList(data.TypedLinkSpecifiers, context);
|
|
@@ -4718,7 +4718,7 @@ const deserializeAws_restJson1ListOutgoingTypedLinksCommandError = async (output
|
|
|
4718
4718
|
$fault: "client",
|
|
4719
4719
|
$metadata: deserializeMetadata(output),
|
|
4720
4720
|
});
|
|
4721
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4721
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4722
4722
|
}
|
|
4723
4723
|
};
|
|
4724
4724
|
const deserializeAws_restJson1ListPolicyAttachmentsCommand = async (output, context) => {
|
|
@@ -4730,9 +4730,9 @@ const deserializeAws_restJson1ListPolicyAttachmentsCommand = async (output, cont
|
|
|
4730
4730
|
NextToken: undefined,
|
|
4731
4731
|
ObjectIdentifiers: undefined,
|
|
4732
4732
|
};
|
|
4733
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4733
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4734
4734
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
4735
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
4735
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
4736
4736
|
}
|
|
4737
4737
|
if (data.ObjectIdentifiers !== undefined && data.ObjectIdentifiers !== null) {
|
|
4738
4738
|
contents.ObjectIdentifiers = deserializeAws_restJson1ObjectIdentifierList(data.ObjectIdentifiers, context);
|
|
@@ -4786,7 +4786,7 @@ const deserializeAws_restJson1ListPolicyAttachmentsCommandError = async (output,
|
|
|
4786
4786
|
$fault: "client",
|
|
4787
4787
|
$metadata: deserializeMetadata(output),
|
|
4788
4788
|
});
|
|
4789
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4789
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4790
4790
|
}
|
|
4791
4791
|
};
|
|
4792
4792
|
const deserializeAws_restJson1ListPublishedSchemaArnsCommand = async (output, context) => {
|
|
@@ -4798,9 +4798,9 @@ const deserializeAws_restJson1ListPublishedSchemaArnsCommand = async (output, co
|
|
|
4798
4798
|
NextToken: undefined,
|
|
4799
4799
|
SchemaArns: undefined,
|
|
4800
4800
|
};
|
|
4801
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4801
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4802
4802
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
4803
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
4803
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
4804
4804
|
}
|
|
4805
4805
|
if (data.SchemaArns !== undefined && data.SchemaArns !== null) {
|
|
4806
4806
|
contents.SchemaArns = deserializeAws_restJson1Arns(data.SchemaArns, context);
|
|
@@ -4848,7 +4848,7 @@ const deserializeAws_restJson1ListPublishedSchemaArnsCommandError = async (outpu
|
|
|
4848
4848
|
$fault: "client",
|
|
4849
4849
|
$metadata: deserializeMetadata(output),
|
|
4850
4850
|
});
|
|
4851
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4851
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4852
4852
|
}
|
|
4853
4853
|
};
|
|
4854
4854
|
const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -4860,9 +4860,9 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
4860
4860
|
NextToken: undefined,
|
|
4861
4861
|
Tags: undefined,
|
|
4862
4862
|
};
|
|
4863
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4863
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4864
4864
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
4865
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
4865
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
4866
4866
|
}
|
|
4867
4867
|
if (data.Tags !== undefined && data.Tags !== null) {
|
|
4868
4868
|
contents.Tags = deserializeAws_restJson1TagList(data.Tags, context);
|
|
@@ -4910,7 +4910,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
4910
4910
|
$fault: "client",
|
|
4911
4911
|
$metadata: deserializeMetadata(output),
|
|
4912
4912
|
});
|
|
4913
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4913
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4914
4914
|
}
|
|
4915
4915
|
};
|
|
4916
4916
|
const deserializeAws_restJson1ListTypedLinkFacetAttributesCommand = async (output, context) => {
|
|
@@ -4922,12 +4922,12 @@ const deserializeAws_restJson1ListTypedLinkFacetAttributesCommand = async (outpu
|
|
|
4922
4922
|
Attributes: undefined,
|
|
4923
4923
|
NextToken: undefined,
|
|
4924
4924
|
};
|
|
4925
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4925
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4926
4926
|
if (data.Attributes !== undefined && data.Attributes !== null) {
|
|
4927
4927
|
contents.Attributes = deserializeAws_restJson1TypedLinkAttributeDefinitionList(data.Attributes, context);
|
|
4928
4928
|
}
|
|
4929
4929
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
4930
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
4930
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
4931
4931
|
}
|
|
4932
4932
|
return Promise.resolve(contents);
|
|
4933
4933
|
};
|
|
@@ -4975,7 +4975,7 @@ const deserializeAws_restJson1ListTypedLinkFacetAttributesCommandError = async (
|
|
|
4975
4975
|
$fault: "client",
|
|
4976
4976
|
$metadata: deserializeMetadata(output),
|
|
4977
4977
|
});
|
|
4978
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4978
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4979
4979
|
}
|
|
4980
4980
|
};
|
|
4981
4981
|
const deserializeAws_restJson1ListTypedLinkFacetNamesCommand = async (output, context) => {
|
|
@@ -4987,12 +4987,12 @@ const deserializeAws_restJson1ListTypedLinkFacetNamesCommand = async (output, co
|
|
|
4987
4987
|
FacetNames: undefined,
|
|
4988
4988
|
NextToken: undefined,
|
|
4989
4989
|
};
|
|
4990
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4990
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4991
4991
|
if (data.FacetNames !== undefined && data.FacetNames !== null) {
|
|
4992
4992
|
contents.FacetNames = deserializeAws_restJson1TypedLinkNameList(data.FacetNames, context);
|
|
4993
4993
|
}
|
|
4994
4994
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
4995
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
4995
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
4996
4996
|
}
|
|
4997
4997
|
return Promise.resolve(contents);
|
|
4998
4998
|
};
|
|
@@ -5037,7 +5037,7 @@ const deserializeAws_restJson1ListTypedLinkFacetNamesCommandError = async (outpu
|
|
|
5037
5037
|
$fault: "client",
|
|
5038
5038
|
$metadata: deserializeMetadata(output),
|
|
5039
5039
|
});
|
|
5040
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5040
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5041
5041
|
}
|
|
5042
5042
|
};
|
|
5043
5043
|
const deserializeAws_restJson1LookupPolicyCommand = async (output, context) => {
|
|
@@ -5049,9 +5049,9 @@ const deserializeAws_restJson1LookupPolicyCommand = async (output, context) => {
|
|
|
5049
5049
|
NextToken: undefined,
|
|
5050
5050
|
PolicyToPathList: undefined,
|
|
5051
5051
|
};
|
|
5052
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5052
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5053
5053
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
5054
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
5054
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
5055
5055
|
}
|
|
5056
5056
|
if (data.PolicyToPathList !== undefined && data.PolicyToPathList !== null) {
|
|
5057
5057
|
contents.PolicyToPathList = deserializeAws_restJson1PolicyToPathList(data.PolicyToPathList, context);
|
|
@@ -5102,7 +5102,7 @@ const deserializeAws_restJson1LookupPolicyCommandError = async (output, context)
|
|
|
5102
5102
|
$fault: "client",
|
|
5103
5103
|
$metadata: deserializeMetadata(output),
|
|
5104
5104
|
});
|
|
5105
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5105
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5106
5106
|
}
|
|
5107
5107
|
};
|
|
5108
5108
|
const deserializeAws_restJson1PublishSchemaCommand = async (output, context) => {
|
|
@@ -5113,9 +5113,9 @@ const deserializeAws_restJson1PublishSchemaCommand = async (output, context) =>
|
|
|
5113
5113
|
$metadata: deserializeMetadata(output),
|
|
5114
5114
|
PublishedSchemaArn: undefined,
|
|
5115
5115
|
};
|
|
5116
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5116
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5117
5117
|
if (data.PublishedSchemaArn !== undefined && data.PublishedSchemaArn !== null) {
|
|
5118
|
-
contents.PublishedSchemaArn = smithy_client_1.expectString(data.PublishedSchemaArn);
|
|
5118
|
+
contents.PublishedSchemaArn = (0, smithy_client_1.expectString)(data.PublishedSchemaArn);
|
|
5119
5119
|
}
|
|
5120
5120
|
return Promise.resolve(contents);
|
|
5121
5121
|
};
|
|
@@ -5160,7 +5160,7 @@ const deserializeAws_restJson1PublishSchemaCommandError = async (output, context
|
|
|
5160
5160
|
$fault: "client",
|
|
5161
5161
|
$metadata: deserializeMetadata(output),
|
|
5162
5162
|
});
|
|
5163
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5163
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5164
5164
|
}
|
|
5165
5165
|
};
|
|
5166
5166
|
const deserializeAws_restJson1PutSchemaFromJsonCommand = async (output, context) => {
|
|
@@ -5171,9 +5171,9 @@ const deserializeAws_restJson1PutSchemaFromJsonCommand = async (output, context)
|
|
|
5171
5171
|
$metadata: deserializeMetadata(output),
|
|
5172
5172
|
Arn: undefined,
|
|
5173
5173
|
};
|
|
5174
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5174
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5175
5175
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
5176
|
-
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
5176
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
5177
5177
|
}
|
|
5178
5178
|
return Promise.resolve(contents);
|
|
5179
5179
|
};
|
|
@@ -5218,7 +5218,7 @@ const deserializeAws_restJson1PutSchemaFromJsonCommandError = async (output, con
|
|
|
5218
5218
|
$fault: "client",
|
|
5219
5219
|
$metadata: deserializeMetadata(output),
|
|
5220
5220
|
});
|
|
5221
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5221
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5222
5222
|
}
|
|
5223
5223
|
};
|
|
5224
5224
|
const deserializeAws_restJson1RemoveFacetFromObjectCommand = async (output, context) => {
|
|
@@ -5275,7 +5275,7 @@ const deserializeAws_restJson1RemoveFacetFromObjectCommandError = async (output,
|
|
|
5275
5275
|
$fault: "client",
|
|
5276
5276
|
$metadata: deserializeMetadata(output),
|
|
5277
5277
|
});
|
|
5278
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5278
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5279
5279
|
}
|
|
5280
5280
|
};
|
|
5281
5281
|
const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
|
|
@@ -5329,7 +5329,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
5329
5329
|
$fault: "client",
|
|
5330
5330
|
$metadata: deserializeMetadata(output),
|
|
5331
5331
|
});
|
|
5332
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5332
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5333
5333
|
}
|
|
5334
5334
|
};
|
|
5335
5335
|
const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
|
|
@@ -5383,7 +5383,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
5383
5383
|
$fault: "client",
|
|
5384
5384
|
$metadata: deserializeMetadata(output),
|
|
5385
5385
|
});
|
|
5386
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5386
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5387
5387
|
}
|
|
5388
5388
|
};
|
|
5389
5389
|
const deserializeAws_restJson1UpdateFacetCommand = async (output, context) => {
|
|
@@ -5446,7 +5446,7 @@ const deserializeAws_restJson1UpdateFacetCommandError = async (output, context)
|
|
|
5446
5446
|
$fault: "client",
|
|
5447
5447
|
$metadata: deserializeMetadata(output),
|
|
5448
5448
|
});
|
|
5449
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5449
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5450
5450
|
}
|
|
5451
5451
|
};
|
|
5452
5452
|
const deserializeAws_restJson1UpdateLinkAttributesCommand = async (output, context) => {
|
|
@@ -5503,7 +5503,7 @@ const deserializeAws_restJson1UpdateLinkAttributesCommandError = async (output,
|
|
|
5503
5503
|
$fault: "client",
|
|
5504
5504
|
$metadata: deserializeMetadata(output),
|
|
5505
5505
|
});
|
|
5506
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5506
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5507
5507
|
}
|
|
5508
5508
|
};
|
|
5509
5509
|
const deserializeAws_restJson1UpdateObjectAttributesCommand = async (output, context) => {
|
|
@@ -5514,9 +5514,9 @@ const deserializeAws_restJson1UpdateObjectAttributesCommand = async (output, con
|
|
|
5514
5514
|
$metadata: deserializeMetadata(output),
|
|
5515
5515
|
ObjectIdentifier: undefined,
|
|
5516
5516
|
};
|
|
5517
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5517
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5518
5518
|
if (data.ObjectIdentifier !== undefined && data.ObjectIdentifier !== null) {
|
|
5519
|
-
contents.ObjectIdentifier = smithy_client_1.expectString(data.ObjectIdentifier);
|
|
5519
|
+
contents.ObjectIdentifier = (0, smithy_client_1.expectString)(data.ObjectIdentifier);
|
|
5520
5520
|
}
|
|
5521
5521
|
return Promise.resolve(contents);
|
|
5522
5522
|
};
|
|
@@ -5567,7 +5567,7 @@ const deserializeAws_restJson1UpdateObjectAttributesCommandError = async (output
|
|
|
5567
5567
|
$fault: "client",
|
|
5568
5568
|
$metadata: deserializeMetadata(output),
|
|
5569
5569
|
});
|
|
5570
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5570
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5571
5571
|
}
|
|
5572
5572
|
};
|
|
5573
5573
|
const deserializeAws_restJson1UpdateSchemaCommand = async (output, context) => {
|
|
@@ -5578,9 +5578,9 @@ const deserializeAws_restJson1UpdateSchemaCommand = async (output, context) => {
|
|
|
5578
5578
|
$metadata: deserializeMetadata(output),
|
|
5579
5579
|
SchemaArn: undefined,
|
|
5580
5580
|
};
|
|
5581
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5581
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5582
5582
|
if (data.SchemaArn !== undefined && data.SchemaArn !== null) {
|
|
5583
|
-
contents.SchemaArn = smithy_client_1.expectString(data.SchemaArn);
|
|
5583
|
+
contents.SchemaArn = (0, smithy_client_1.expectString)(data.SchemaArn);
|
|
5584
5584
|
}
|
|
5585
5585
|
return Promise.resolve(contents);
|
|
5586
5586
|
};
|
|
@@ -5622,7 +5622,7 @@ const deserializeAws_restJson1UpdateSchemaCommandError = async (output, context)
|
|
|
5622
5622
|
$fault: "client",
|
|
5623
5623
|
$metadata: deserializeMetadata(output),
|
|
5624
5624
|
});
|
|
5625
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5625
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5626
5626
|
}
|
|
5627
5627
|
};
|
|
5628
5628
|
const deserializeAws_restJson1UpdateTypedLinkFacetCommand = async (output, context) => {
|
|
@@ -5685,7 +5685,7 @@ const deserializeAws_restJson1UpdateTypedLinkFacetCommandError = async (output,
|
|
|
5685
5685
|
$fault: "client",
|
|
5686
5686
|
$metadata: deserializeMetadata(output),
|
|
5687
5687
|
});
|
|
5688
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5688
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5689
5689
|
}
|
|
5690
5690
|
};
|
|
5691
5691
|
const deserializeAws_restJson1UpgradeAppliedSchemaCommand = async (output, context) => {
|
|
@@ -5697,12 +5697,12 @@ const deserializeAws_restJson1UpgradeAppliedSchemaCommand = async (output, conte
|
|
|
5697
5697
|
DirectoryArn: undefined,
|
|
5698
5698
|
UpgradedSchemaArn: undefined,
|
|
5699
5699
|
};
|
|
5700
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5700
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5701
5701
|
if (data.DirectoryArn !== undefined && data.DirectoryArn !== null) {
|
|
5702
|
-
contents.DirectoryArn = smithy_client_1.expectString(data.DirectoryArn);
|
|
5702
|
+
contents.DirectoryArn = (0, smithy_client_1.expectString)(data.DirectoryArn);
|
|
5703
5703
|
}
|
|
5704
5704
|
if (data.UpgradedSchemaArn !== undefined && data.UpgradedSchemaArn !== null) {
|
|
5705
|
-
contents.UpgradedSchemaArn = smithy_client_1.expectString(data.UpgradedSchemaArn);
|
|
5705
|
+
contents.UpgradedSchemaArn = (0, smithy_client_1.expectString)(data.UpgradedSchemaArn);
|
|
5706
5706
|
}
|
|
5707
5707
|
return Promise.resolve(contents);
|
|
5708
5708
|
};
|
|
@@ -5750,7 +5750,7 @@ const deserializeAws_restJson1UpgradeAppliedSchemaCommandError = async (output,
|
|
|
5750
5750
|
$fault: "client",
|
|
5751
5751
|
$metadata: deserializeMetadata(output),
|
|
5752
5752
|
});
|
|
5753
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5753
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5754
5754
|
}
|
|
5755
5755
|
};
|
|
5756
5756
|
const deserializeAws_restJson1UpgradePublishedSchemaCommand = async (output, context) => {
|
|
@@ -5761,9 +5761,9 @@ const deserializeAws_restJson1UpgradePublishedSchemaCommand = async (output, con
|
|
|
5761
5761
|
$metadata: deserializeMetadata(output),
|
|
5762
5762
|
UpgradedSchemaArn: undefined,
|
|
5763
5763
|
};
|
|
5764
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5764
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5765
5765
|
if (data.UpgradedSchemaArn !== undefined && data.UpgradedSchemaArn !== null) {
|
|
5766
|
-
contents.UpgradedSchemaArn = smithy_client_1.expectString(data.UpgradedSchemaArn);
|
|
5766
|
+
contents.UpgradedSchemaArn = (0, smithy_client_1.expectString)(data.UpgradedSchemaArn);
|
|
5767
5767
|
}
|
|
5768
5768
|
return Promise.resolve(contents);
|
|
5769
5769
|
};
|
|
@@ -5811,434 +5811,434 @@ const deserializeAws_restJson1UpgradePublishedSchemaCommandError = async (output
|
|
|
5811
5811
|
$fault: "client",
|
|
5812
5812
|
$metadata: deserializeMetadata(output),
|
|
5813
5813
|
});
|
|
5814
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5814
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5815
5815
|
}
|
|
5816
5816
|
};
|
|
5817
5817
|
const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
5818
5818
|
const contents = {};
|
|
5819
5819
|
const data = parsedOutput.body;
|
|
5820
5820
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5821
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5821
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
5822
5822
|
}
|
|
5823
5823
|
const exception = new models_0_1.AccessDeniedException({
|
|
5824
5824
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5825
5825
|
...contents,
|
|
5826
5826
|
});
|
|
5827
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
5827
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
5828
5828
|
};
|
|
5829
5829
|
const deserializeAws_restJson1BatchWriteExceptionResponse = async (parsedOutput, context) => {
|
|
5830
5830
|
const contents = {};
|
|
5831
5831
|
const data = parsedOutput.body;
|
|
5832
5832
|
if (data.Index !== undefined && data.Index !== null) {
|
|
5833
|
-
contents.Index = smithy_client_1.expectInt32(data.Index);
|
|
5833
|
+
contents.Index = (0, smithy_client_1.expectInt32)(data.Index);
|
|
5834
5834
|
}
|
|
5835
5835
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5836
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5836
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
5837
5837
|
}
|
|
5838
5838
|
if (data.Type !== undefined && data.Type !== null) {
|
|
5839
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
5839
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
5840
5840
|
}
|
|
5841
5841
|
const exception = new models_0_1.BatchWriteException({
|
|
5842
5842
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5843
5843
|
...contents,
|
|
5844
5844
|
});
|
|
5845
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
5845
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
5846
5846
|
};
|
|
5847
5847
|
const deserializeAws_restJson1CannotListParentOfRootExceptionResponse = async (parsedOutput, context) => {
|
|
5848
5848
|
const contents = {};
|
|
5849
5849
|
const data = parsedOutput.body;
|
|
5850
5850
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5851
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5851
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
5852
5852
|
}
|
|
5853
5853
|
const exception = new models_0_1.CannotListParentOfRootException({
|
|
5854
5854
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5855
5855
|
...contents,
|
|
5856
5856
|
});
|
|
5857
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
5857
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
5858
5858
|
};
|
|
5859
5859
|
const deserializeAws_restJson1DirectoryAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
|
|
5860
5860
|
const contents = {};
|
|
5861
5861
|
const data = parsedOutput.body;
|
|
5862
5862
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5863
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5863
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
5864
5864
|
}
|
|
5865
5865
|
const exception = new models_0_1.DirectoryAlreadyExistsException({
|
|
5866
5866
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5867
5867
|
...contents,
|
|
5868
5868
|
});
|
|
5869
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
5869
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
5870
5870
|
};
|
|
5871
5871
|
const deserializeAws_restJson1DirectoryDeletedExceptionResponse = async (parsedOutput, context) => {
|
|
5872
5872
|
const contents = {};
|
|
5873
5873
|
const data = parsedOutput.body;
|
|
5874
5874
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5875
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5875
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
5876
5876
|
}
|
|
5877
5877
|
const exception = new models_0_1.DirectoryDeletedException({
|
|
5878
5878
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5879
5879
|
...contents,
|
|
5880
5880
|
});
|
|
5881
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
5881
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
5882
5882
|
};
|
|
5883
5883
|
const deserializeAws_restJson1DirectoryNotDisabledExceptionResponse = async (parsedOutput, context) => {
|
|
5884
5884
|
const contents = {};
|
|
5885
5885
|
const data = parsedOutput.body;
|
|
5886
5886
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5887
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5887
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
5888
5888
|
}
|
|
5889
5889
|
const exception = new models_0_1.DirectoryNotDisabledException({
|
|
5890
5890
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5891
5891
|
...contents,
|
|
5892
5892
|
});
|
|
5893
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
5893
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
5894
5894
|
};
|
|
5895
5895
|
const deserializeAws_restJson1DirectoryNotEnabledExceptionResponse = async (parsedOutput, context) => {
|
|
5896
5896
|
const contents = {};
|
|
5897
5897
|
const data = parsedOutput.body;
|
|
5898
5898
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5899
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5899
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
5900
5900
|
}
|
|
5901
5901
|
const exception = new models_0_1.DirectoryNotEnabledException({
|
|
5902
5902
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5903
5903
|
...contents,
|
|
5904
5904
|
});
|
|
5905
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
5905
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
5906
5906
|
};
|
|
5907
5907
|
const deserializeAws_restJson1FacetAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
|
|
5908
5908
|
const contents = {};
|
|
5909
5909
|
const data = parsedOutput.body;
|
|
5910
5910
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5911
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5911
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
5912
5912
|
}
|
|
5913
5913
|
const exception = new models_0_1.FacetAlreadyExistsException({
|
|
5914
5914
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5915
5915
|
...contents,
|
|
5916
5916
|
});
|
|
5917
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
5917
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
5918
5918
|
};
|
|
5919
5919
|
const deserializeAws_restJson1FacetInUseExceptionResponse = async (parsedOutput, context) => {
|
|
5920
5920
|
const contents = {};
|
|
5921
5921
|
const data = parsedOutput.body;
|
|
5922
5922
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5923
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5923
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
5924
5924
|
}
|
|
5925
5925
|
const exception = new models_0_1.FacetInUseException({
|
|
5926
5926
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5927
5927
|
...contents,
|
|
5928
5928
|
});
|
|
5929
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
5929
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
5930
5930
|
};
|
|
5931
5931
|
const deserializeAws_restJson1FacetNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
5932
5932
|
const contents = {};
|
|
5933
5933
|
const data = parsedOutput.body;
|
|
5934
5934
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5935
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5935
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
5936
5936
|
}
|
|
5937
5937
|
const exception = new models_0_1.FacetNotFoundException({
|
|
5938
5938
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5939
5939
|
...contents,
|
|
5940
5940
|
});
|
|
5941
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
5941
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
5942
5942
|
};
|
|
5943
5943
|
const deserializeAws_restJson1FacetValidationExceptionResponse = async (parsedOutput, context) => {
|
|
5944
5944
|
const contents = {};
|
|
5945
5945
|
const data = parsedOutput.body;
|
|
5946
5946
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5947
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5947
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
5948
5948
|
}
|
|
5949
5949
|
const exception = new models_0_1.FacetValidationException({
|
|
5950
5950
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5951
5951
|
...contents,
|
|
5952
5952
|
});
|
|
5953
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
5953
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
5954
5954
|
};
|
|
5955
5955
|
const deserializeAws_restJson1IncompatibleSchemaExceptionResponse = async (parsedOutput, context) => {
|
|
5956
5956
|
const contents = {};
|
|
5957
5957
|
const data = parsedOutput.body;
|
|
5958
5958
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5959
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5959
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
5960
5960
|
}
|
|
5961
5961
|
const exception = new models_0_1.IncompatibleSchemaException({
|
|
5962
5962
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5963
5963
|
...contents,
|
|
5964
5964
|
});
|
|
5965
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
5965
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
5966
5966
|
};
|
|
5967
5967
|
const deserializeAws_restJson1IndexedAttributeMissingExceptionResponse = async (parsedOutput, context) => {
|
|
5968
5968
|
const contents = {};
|
|
5969
5969
|
const data = parsedOutput.body;
|
|
5970
5970
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5971
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5971
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
5972
5972
|
}
|
|
5973
5973
|
const exception = new models_0_1.IndexedAttributeMissingException({
|
|
5974
5974
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5975
5975
|
...contents,
|
|
5976
5976
|
});
|
|
5977
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
5977
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
5978
5978
|
};
|
|
5979
5979
|
const deserializeAws_restJson1InternalServiceExceptionResponse = async (parsedOutput, context) => {
|
|
5980
5980
|
const contents = {};
|
|
5981
5981
|
const data = parsedOutput.body;
|
|
5982
5982
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5983
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5983
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
5984
5984
|
}
|
|
5985
5985
|
const exception = new models_0_1.InternalServiceException({
|
|
5986
5986
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5987
5987
|
...contents,
|
|
5988
5988
|
});
|
|
5989
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
5989
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
5990
5990
|
};
|
|
5991
5991
|
const deserializeAws_restJson1InvalidArnExceptionResponse = async (parsedOutput, context) => {
|
|
5992
5992
|
const contents = {};
|
|
5993
5993
|
const data = parsedOutput.body;
|
|
5994
5994
|
if (data.Message !== undefined && data.Message !== null) {
|
|
5995
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
5995
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
5996
5996
|
}
|
|
5997
5997
|
const exception = new models_0_1.InvalidArnException({
|
|
5998
5998
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5999
5999
|
...contents,
|
|
6000
6000
|
});
|
|
6001
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6001
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6002
6002
|
};
|
|
6003
6003
|
const deserializeAws_restJson1InvalidAttachmentExceptionResponse = async (parsedOutput, context) => {
|
|
6004
6004
|
const contents = {};
|
|
6005
6005
|
const data = parsedOutput.body;
|
|
6006
6006
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6007
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6007
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6008
6008
|
}
|
|
6009
6009
|
const exception = new models_0_1.InvalidAttachmentException({
|
|
6010
6010
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6011
6011
|
...contents,
|
|
6012
6012
|
});
|
|
6013
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6013
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6014
6014
|
};
|
|
6015
6015
|
const deserializeAws_restJson1InvalidFacetUpdateExceptionResponse = async (parsedOutput, context) => {
|
|
6016
6016
|
const contents = {};
|
|
6017
6017
|
const data = parsedOutput.body;
|
|
6018
6018
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6019
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6019
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6020
6020
|
}
|
|
6021
6021
|
const exception = new models_0_1.InvalidFacetUpdateException({
|
|
6022
6022
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6023
6023
|
...contents,
|
|
6024
6024
|
});
|
|
6025
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6025
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6026
6026
|
};
|
|
6027
6027
|
const deserializeAws_restJson1InvalidNextTokenExceptionResponse = async (parsedOutput, context) => {
|
|
6028
6028
|
const contents = {};
|
|
6029
6029
|
const data = parsedOutput.body;
|
|
6030
6030
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6031
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6031
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6032
6032
|
}
|
|
6033
6033
|
const exception = new models_0_1.InvalidNextTokenException({
|
|
6034
6034
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6035
6035
|
...contents,
|
|
6036
6036
|
});
|
|
6037
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6037
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6038
6038
|
};
|
|
6039
6039
|
const deserializeAws_restJson1InvalidRuleExceptionResponse = async (parsedOutput, context) => {
|
|
6040
6040
|
const contents = {};
|
|
6041
6041
|
const data = parsedOutput.body;
|
|
6042
6042
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6043
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6043
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6044
6044
|
}
|
|
6045
6045
|
const exception = new models_0_1.InvalidRuleException({
|
|
6046
6046
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6047
6047
|
...contents,
|
|
6048
6048
|
});
|
|
6049
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6049
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6050
6050
|
};
|
|
6051
6051
|
const deserializeAws_restJson1InvalidSchemaDocExceptionResponse = async (parsedOutput, context) => {
|
|
6052
6052
|
const contents = {};
|
|
6053
6053
|
const data = parsedOutput.body;
|
|
6054
6054
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6055
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6055
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6056
6056
|
}
|
|
6057
6057
|
const exception = new models_0_1.InvalidSchemaDocException({
|
|
6058
6058
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6059
6059
|
...contents,
|
|
6060
6060
|
});
|
|
6061
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6061
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6062
6062
|
};
|
|
6063
6063
|
const deserializeAws_restJson1InvalidTaggingRequestExceptionResponse = async (parsedOutput, context) => {
|
|
6064
6064
|
const contents = {};
|
|
6065
6065
|
const data = parsedOutput.body;
|
|
6066
6066
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6067
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6067
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6068
6068
|
}
|
|
6069
6069
|
const exception = new models_0_1.InvalidTaggingRequestException({
|
|
6070
6070
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6071
6071
|
...contents,
|
|
6072
6072
|
});
|
|
6073
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6073
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6074
6074
|
};
|
|
6075
6075
|
const deserializeAws_restJson1LimitExceededExceptionResponse = async (parsedOutput, context) => {
|
|
6076
6076
|
const contents = {};
|
|
6077
6077
|
const data = parsedOutput.body;
|
|
6078
6078
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6079
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6079
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6080
6080
|
}
|
|
6081
6081
|
const exception = new models_0_1.LimitExceededException({
|
|
6082
6082
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6083
6083
|
...contents,
|
|
6084
6084
|
});
|
|
6085
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6085
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6086
6086
|
};
|
|
6087
6087
|
const deserializeAws_restJson1LinkNameAlreadyInUseExceptionResponse = async (parsedOutput, context) => {
|
|
6088
6088
|
const contents = {};
|
|
6089
6089
|
const data = parsedOutput.body;
|
|
6090
6090
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6091
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6091
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6092
6092
|
}
|
|
6093
6093
|
const exception = new models_0_1.LinkNameAlreadyInUseException({
|
|
6094
6094
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6095
6095
|
...contents,
|
|
6096
6096
|
});
|
|
6097
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6097
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6098
6098
|
};
|
|
6099
6099
|
const deserializeAws_restJson1NotIndexExceptionResponse = async (parsedOutput, context) => {
|
|
6100
6100
|
const contents = {};
|
|
6101
6101
|
const data = parsedOutput.body;
|
|
6102
6102
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6103
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6103
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6104
6104
|
}
|
|
6105
6105
|
const exception = new models_0_1.NotIndexException({
|
|
6106
6106
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6107
6107
|
...contents,
|
|
6108
6108
|
});
|
|
6109
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6109
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6110
6110
|
};
|
|
6111
6111
|
const deserializeAws_restJson1NotNodeExceptionResponse = async (parsedOutput, context) => {
|
|
6112
6112
|
const contents = {};
|
|
6113
6113
|
const data = parsedOutput.body;
|
|
6114
6114
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6115
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6115
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6116
6116
|
}
|
|
6117
6117
|
const exception = new models_0_1.NotNodeException({
|
|
6118
6118
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6119
6119
|
...contents,
|
|
6120
6120
|
});
|
|
6121
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6121
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6122
6122
|
};
|
|
6123
6123
|
const deserializeAws_restJson1NotPolicyExceptionResponse = async (parsedOutput, context) => {
|
|
6124
6124
|
const contents = {};
|
|
6125
6125
|
const data = parsedOutput.body;
|
|
6126
6126
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6127
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6127
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6128
6128
|
}
|
|
6129
6129
|
const exception = new models_0_1.NotPolicyException({
|
|
6130
6130
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6131
6131
|
...contents,
|
|
6132
6132
|
});
|
|
6133
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6133
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6134
6134
|
};
|
|
6135
6135
|
const deserializeAws_restJson1ObjectAlreadyDetachedExceptionResponse = async (parsedOutput, context) => {
|
|
6136
6136
|
const contents = {};
|
|
6137
6137
|
const data = parsedOutput.body;
|
|
6138
6138
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6139
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6139
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6140
6140
|
}
|
|
6141
6141
|
const exception = new models_0_1.ObjectAlreadyDetachedException({
|
|
6142
6142
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6143
6143
|
...contents,
|
|
6144
6144
|
});
|
|
6145
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6145
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6146
6146
|
};
|
|
6147
6147
|
const deserializeAws_restJson1ObjectNotDetachedExceptionResponse = async (parsedOutput, context) => {
|
|
6148
6148
|
const contents = {};
|
|
6149
6149
|
const data = parsedOutput.body;
|
|
6150
6150
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6151
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6151
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6152
6152
|
}
|
|
6153
6153
|
const exception = new models_0_1.ObjectNotDetachedException({
|
|
6154
6154
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6155
6155
|
...contents,
|
|
6156
6156
|
});
|
|
6157
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6157
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6158
6158
|
};
|
|
6159
6159
|
const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
6160
6160
|
const contents = {};
|
|
6161
6161
|
const data = parsedOutput.body;
|
|
6162
6162
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6163
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6163
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6164
6164
|
}
|
|
6165
6165
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
6166
6166
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6167
6167
|
...contents,
|
|
6168
6168
|
});
|
|
6169
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6169
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6170
6170
|
};
|
|
6171
6171
|
const deserializeAws_restJson1RetryableConflictExceptionResponse = async (parsedOutput, context) => {
|
|
6172
6172
|
const contents = {};
|
|
6173
6173
|
const data = parsedOutput.body;
|
|
6174
6174
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6175
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6175
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6176
6176
|
}
|
|
6177
6177
|
const exception = new models_0_1.RetryableConflictException({
|
|
6178
6178
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6179
6179
|
...contents,
|
|
6180
6180
|
});
|
|
6181
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6181
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6182
6182
|
};
|
|
6183
6183
|
const deserializeAws_restJson1SchemaAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
|
|
6184
6184
|
const contents = {};
|
|
6185
6185
|
const data = parsedOutput.body;
|
|
6186
6186
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6187
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6187
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6188
6188
|
}
|
|
6189
6189
|
const exception = new models_0_1.SchemaAlreadyExistsException({
|
|
6190
6190
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6191
6191
|
...contents,
|
|
6192
6192
|
});
|
|
6193
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6193
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6194
6194
|
};
|
|
6195
6195
|
const deserializeAws_restJson1SchemaAlreadyPublishedExceptionResponse = async (parsedOutput, context) => {
|
|
6196
6196
|
const contents = {};
|
|
6197
6197
|
const data = parsedOutput.body;
|
|
6198
6198
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6199
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6199
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6200
6200
|
}
|
|
6201
6201
|
const exception = new models_0_1.SchemaAlreadyPublishedException({
|
|
6202
6202
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6203
6203
|
...contents,
|
|
6204
6204
|
});
|
|
6205
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6205
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6206
6206
|
};
|
|
6207
6207
|
const deserializeAws_restJson1StillContainsLinksExceptionResponse = async (parsedOutput, context) => {
|
|
6208
6208
|
const contents = {};
|
|
6209
6209
|
const data = parsedOutput.body;
|
|
6210
6210
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6211
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6211
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6212
6212
|
}
|
|
6213
6213
|
const exception = new models_0_1.StillContainsLinksException({
|
|
6214
6214
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6215
6215
|
...contents,
|
|
6216
6216
|
});
|
|
6217
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6217
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6218
6218
|
};
|
|
6219
6219
|
const deserializeAws_restJson1UnsupportedIndexTypeExceptionResponse = async (parsedOutput, context) => {
|
|
6220
6220
|
const contents = {};
|
|
6221
6221
|
const data = parsedOutput.body;
|
|
6222
6222
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6223
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6223
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6224
6224
|
}
|
|
6225
6225
|
const exception = new models_0_1.UnsupportedIndexTypeException({
|
|
6226
6226
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6227
6227
|
...contents,
|
|
6228
6228
|
});
|
|
6229
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6229
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6230
6230
|
};
|
|
6231
6231
|
const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
|
|
6232
6232
|
const contents = {};
|
|
6233
6233
|
const data = parsedOutput.body;
|
|
6234
6234
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6235
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6235
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6236
6236
|
}
|
|
6237
6237
|
const exception = new models_0_1.ValidationException({
|
|
6238
6238
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6239
6239
|
...contents,
|
|
6240
6240
|
});
|
|
6241
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6241
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6242
6242
|
};
|
|
6243
6243
|
const serializeAws_restJson1AttributeKey = (input, context) => {
|
|
6244
6244
|
return {
|
|
@@ -7146,15 +7146,15 @@ const deserializeAws_restJson1Arns = (output, context) => {
|
|
|
7146
7146
|
if (entry === null) {
|
|
7147
7147
|
return null;
|
|
7148
7148
|
}
|
|
7149
|
-
return smithy_client_1.expectString(entry);
|
|
7149
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7150
7150
|
});
|
|
7151
7151
|
return retVal;
|
|
7152
7152
|
};
|
|
7153
7153
|
const deserializeAws_restJson1AttributeKey = (output, context) => {
|
|
7154
7154
|
return {
|
|
7155
|
-
FacetName: smithy_client_1.expectString(output.FacetName),
|
|
7156
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
7157
|
-
SchemaArn: smithy_client_1.expectString(output.SchemaArn),
|
|
7155
|
+
FacetName: (0, smithy_client_1.expectString)(output.FacetName),
|
|
7156
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
7157
|
+
SchemaArn: (0, smithy_client_1.expectString)(output.SchemaArn),
|
|
7158
7158
|
};
|
|
7159
7159
|
};
|
|
7160
7160
|
const deserializeAws_restJson1AttributeKeyAndValue = (output, context) => {
|
|
@@ -7163,7 +7163,7 @@ const deserializeAws_restJson1AttributeKeyAndValue = (output, context) => {
|
|
|
7163
7163
|
? deserializeAws_restJson1AttributeKey(output.Key, context)
|
|
7164
7164
|
: undefined,
|
|
7165
7165
|
Value: output.Value !== undefined && output.Value !== null
|
|
7166
|
-
? deserializeAws_restJson1TypedAttributeValue(smithy_client_1.expectUnion(output.Value), context)
|
|
7166
|
+
? deserializeAws_restJson1TypedAttributeValue((0, smithy_client_1.expectUnion)(output.Value), context)
|
|
7167
7167
|
: undefined,
|
|
7168
7168
|
};
|
|
7169
7169
|
};
|
|
@@ -7180,9 +7180,9 @@ const deserializeAws_restJson1AttributeKeyAndValueList = (output, context) => {
|
|
|
7180
7180
|
};
|
|
7181
7181
|
const deserializeAws_restJson1AttributeNameAndValue = (output, context) => {
|
|
7182
7182
|
return {
|
|
7183
|
-
AttributeName: smithy_client_1.expectString(output.AttributeName),
|
|
7183
|
+
AttributeName: (0, smithy_client_1.expectString)(output.AttributeName),
|
|
7184
7184
|
Value: output.Value !== undefined && output.Value !== null
|
|
7185
|
-
? deserializeAws_restJson1TypedAttributeValue(smithy_client_1.expectUnion(output.Value), context)
|
|
7185
|
+
? deserializeAws_restJson1TypedAttributeValue((0, smithy_client_1.expectUnion)(output.Value), context)
|
|
7186
7186
|
: undefined,
|
|
7187
7187
|
};
|
|
7188
7188
|
};
|
|
@@ -7204,7 +7204,7 @@ const deserializeAws_restJson1AttributeNameList = (output, context) => {
|
|
|
7204
7204
|
if (entry === null) {
|
|
7205
7205
|
return null;
|
|
7206
7206
|
}
|
|
7207
|
-
return smithy_client_1.expectString(entry);
|
|
7207
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7208
7208
|
});
|
|
7209
7209
|
return retVal;
|
|
7210
7210
|
};
|
|
@@ -7213,7 +7213,7 @@ const deserializeAws_restJson1BatchAddFacetToObjectResponse = (output, context)
|
|
|
7213
7213
|
};
|
|
7214
7214
|
const deserializeAws_restJson1BatchAttachObjectResponse = (output, context) => {
|
|
7215
7215
|
return {
|
|
7216
|
-
attachedObjectIdentifier: smithy_client_1.expectString(output.attachedObjectIdentifier),
|
|
7216
|
+
attachedObjectIdentifier: (0, smithy_client_1.expectString)(output.attachedObjectIdentifier),
|
|
7217
7217
|
};
|
|
7218
7218
|
};
|
|
7219
7219
|
const deserializeAws_restJson1BatchAttachPolicyResponse = (output, context) => {
|
|
@@ -7221,7 +7221,7 @@ const deserializeAws_restJson1BatchAttachPolicyResponse = (output, context) => {
|
|
|
7221
7221
|
};
|
|
7222
7222
|
const deserializeAws_restJson1BatchAttachToIndexResponse = (output, context) => {
|
|
7223
7223
|
return {
|
|
7224
|
-
AttachedObjectIdentifier: smithy_client_1.expectString(output.AttachedObjectIdentifier),
|
|
7224
|
+
AttachedObjectIdentifier: (0, smithy_client_1.expectString)(output.AttachedObjectIdentifier),
|
|
7225
7225
|
};
|
|
7226
7226
|
};
|
|
7227
7227
|
const deserializeAws_restJson1BatchAttachTypedLinkResponse = (output, context) => {
|
|
@@ -7233,12 +7233,12 @@ const deserializeAws_restJson1BatchAttachTypedLinkResponse = (output, context) =
|
|
|
7233
7233
|
};
|
|
7234
7234
|
const deserializeAws_restJson1BatchCreateIndexResponse = (output, context) => {
|
|
7235
7235
|
return {
|
|
7236
|
-
ObjectIdentifier: smithy_client_1.expectString(output.ObjectIdentifier),
|
|
7236
|
+
ObjectIdentifier: (0, smithy_client_1.expectString)(output.ObjectIdentifier),
|
|
7237
7237
|
};
|
|
7238
7238
|
};
|
|
7239
7239
|
const deserializeAws_restJson1BatchCreateObjectResponse = (output, context) => {
|
|
7240
7240
|
return {
|
|
7241
|
-
ObjectIdentifier: smithy_client_1.expectString(output.ObjectIdentifier),
|
|
7241
|
+
ObjectIdentifier: (0, smithy_client_1.expectString)(output.ObjectIdentifier),
|
|
7242
7242
|
};
|
|
7243
7243
|
};
|
|
7244
7244
|
const deserializeAws_restJson1BatchDeleteObjectResponse = (output, context) => {
|
|
@@ -7246,12 +7246,12 @@ const deserializeAws_restJson1BatchDeleteObjectResponse = (output, context) => {
|
|
|
7246
7246
|
};
|
|
7247
7247
|
const deserializeAws_restJson1BatchDetachFromIndexResponse = (output, context) => {
|
|
7248
7248
|
return {
|
|
7249
|
-
DetachedObjectIdentifier: smithy_client_1.expectString(output.DetachedObjectIdentifier),
|
|
7249
|
+
DetachedObjectIdentifier: (0, smithy_client_1.expectString)(output.DetachedObjectIdentifier),
|
|
7250
7250
|
};
|
|
7251
7251
|
};
|
|
7252
7252
|
const deserializeAws_restJson1BatchDetachObjectResponse = (output, context) => {
|
|
7253
7253
|
return {
|
|
7254
|
-
detachedObjectIdentifier: smithy_client_1.expectString(output.detachedObjectIdentifier),
|
|
7254
|
+
detachedObjectIdentifier: (0, smithy_client_1.expectString)(output.detachedObjectIdentifier),
|
|
7255
7255
|
};
|
|
7256
7256
|
};
|
|
7257
7257
|
const deserializeAws_restJson1BatchDetachPolicyResponse = (output, context) => {
|
|
@@ -7276,7 +7276,7 @@ const deserializeAws_restJson1BatchGetObjectAttributesResponse = (output, contex
|
|
|
7276
7276
|
};
|
|
7277
7277
|
const deserializeAws_restJson1BatchGetObjectInformationResponse = (output, context) => {
|
|
7278
7278
|
return {
|
|
7279
|
-
ObjectIdentifier: smithy_client_1.expectString(output.ObjectIdentifier),
|
|
7279
|
+
ObjectIdentifier: (0, smithy_client_1.expectString)(output.ObjectIdentifier),
|
|
7280
7280
|
SchemaFacets: output.SchemaFacets !== undefined && output.SchemaFacets !== null
|
|
7281
7281
|
? deserializeAws_restJson1SchemaFacetList(output.SchemaFacets, context)
|
|
7282
7282
|
: undefined,
|
|
@@ -7287,7 +7287,7 @@ const deserializeAws_restJson1BatchListAttachedIndicesResponse = (output, contex
|
|
|
7287
7287
|
IndexAttachments: output.IndexAttachments !== undefined && output.IndexAttachments !== null
|
|
7288
7288
|
? deserializeAws_restJson1IndexAttachmentList(output.IndexAttachments, context)
|
|
7289
7289
|
: undefined,
|
|
7290
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
7290
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
7291
7291
|
};
|
|
7292
7292
|
};
|
|
7293
7293
|
const deserializeAws_restJson1BatchListIncomingTypedLinksResponse = (output, context) => {
|
|
@@ -7295,7 +7295,7 @@ const deserializeAws_restJson1BatchListIncomingTypedLinksResponse = (output, con
|
|
|
7295
7295
|
LinkSpecifiers: output.LinkSpecifiers !== undefined && output.LinkSpecifiers !== null
|
|
7296
7296
|
? deserializeAws_restJson1TypedLinkSpecifierList(output.LinkSpecifiers, context)
|
|
7297
7297
|
: undefined,
|
|
7298
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
7298
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
7299
7299
|
};
|
|
7300
7300
|
};
|
|
7301
7301
|
const deserializeAws_restJson1BatchListIndexResponse = (output, context) => {
|
|
@@ -7303,7 +7303,7 @@ const deserializeAws_restJson1BatchListIndexResponse = (output, context) => {
|
|
|
7303
7303
|
IndexAttachments: output.IndexAttachments !== undefined && output.IndexAttachments !== null
|
|
7304
7304
|
? deserializeAws_restJson1IndexAttachmentList(output.IndexAttachments, context)
|
|
7305
7305
|
: undefined,
|
|
7306
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
7306
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
7307
7307
|
};
|
|
7308
7308
|
};
|
|
7309
7309
|
const deserializeAws_restJson1BatchListObjectAttributesResponse = (output, context) => {
|
|
@@ -7311,7 +7311,7 @@ const deserializeAws_restJson1BatchListObjectAttributesResponse = (output, conte
|
|
|
7311
7311
|
Attributes: output.Attributes !== undefined && output.Attributes !== null
|
|
7312
7312
|
? deserializeAws_restJson1AttributeKeyAndValueList(output.Attributes, context)
|
|
7313
7313
|
: undefined,
|
|
7314
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
7314
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
7315
7315
|
};
|
|
7316
7316
|
};
|
|
7317
7317
|
const deserializeAws_restJson1BatchListObjectChildrenResponse = (output, context) => {
|
|
@@ -7319,12 +7319,12 @@ const deserializeAws_restJson1BatchListObjectChildrenResponse = (output, context
|
|
|
7319
7319
|
Children: output.Children !== undefined && output.Children !== null
|
|
7320
7320
|
? deserializeAws_restJson1LinkNameToObjectIdentifierMap(output.Children, context)
|
|
7321
7321
|
: undefined,
|
|
7322
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
7322
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
7323
7323
|
};
|
|
7324
7324
|
};
|
|
7325
7325
|
const deserializeAws_restJson1BatchListObjectParentPathsResponse = (output, context) => {
|
|
7326
7326
|
return {
|
|
7327
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
7327
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
7328
7328
|
PathToObjectIdentifiersList: output.PathToObjectIdentifiersList !== undefined && output.PathToObjectIdentifiersList !== null
|
|
7329
7329
|
? deserializeAws_restJson1PathToObjectIdentifiersList(output.PathToObjectIdentifiersList, context)
|
|
7330
7330
|
: undefined,
|
|
@@ -7332,7 +7332,7 @@ const deserializeAws_restJson1BatchListObjectParentPathsResponse = (output, cont
|
|
|
7332
7332
|
};
|
|
7333
7333
|
const deserializeAws_restJson1BatchListObjectParentsResponse = (output, context) => {
|
|
7334
7334
|
return {
|
|
7335
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
7335
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
7336
7336
|
ParentLinks: output.ParentLinks !== undefined && output.ParentLinks !== null
|
|
7337
7337
|
? deserializeAws_restJson1ObjectIdentifierAndLinkNameList(output.ParentLinks, context)
|
|
7338
7338
|
: undefined,
|
|
@@ -7343,12 +7343,12 @@ const deserializeAws_restJson1BatchListObjectPoliciesResponse = (output, context
|
|
|
7343
7343
|
AttachedPolicyIds: output.AttachedPolicyIds !== undefined && output.AttachedPolicyIds !== null
|
|
7344
7344
|
? deserializeAws_restJson1ObjectIdentifierList(output.AttachedPolicyIds, context)
|
|
7345
7345
|
: undefined,
|
|
7346
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
7346
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
7347
7347
|
};
|
|
7348
7348
|
};
|
|
7349
7349
|
const deserializeAws_restJson1BatchListOutgoingTypedLinksResponse = (output, context) => {
|
|
7350
7350
|
return {
|
|
7351
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
7351
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
7352
7352
|
TypedLinkSpecifiers: output.TypedLinkSpecifiers !== undefined && output.TypedLinkSpecifiers !== null
|
|
7353
7353
|
? deserializeAws_restJson1TypedLinkSpecifierList(output.TypedLinkSpecifiers, context)
|
|
7354
7354
|
: undefined,
|
|
@@ -7356,7 +7356,7 @@ const deserializeAws_restJson1BatchListOutgoingTypedLinksResponse = (output, con
|
|
|
7356
7356
|
};
|
|
7357
7357
|
const deserializeAws_restJson1BatchListPolicyAttachmentsResponse = (output, context) => {
|
|
7358
7358
|
return {
|
|
7359
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
7359
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
7360
7360
|
ObjectIdentifiers: output.ObjectIdentifiers !== undefined && output.ObjectIdentifiers !== null
|
|
7361
7361
|
? deserializeAws_restJson1ObjectIdentifierList(output.ObjectIdentifiers, context)
|
|
7362
7362
|
: undefined,
|
|
@@ -7364,7 +7364,7 @@ const deserializeAws_restJson1BatchListPolicyAttachmentsResponse = (output, cont
|
|
|
7364
7364
|
};
|
|
7365
7365
|
const deserializeAws_restJson1BatchLookupPolicyResponse = (output, context) => {
|
|
7366
7366
|
return {
|
|
7367
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
7367
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
7368
7368
|
PolicyToPathList: output.PolicyToPathList !== undefined && output.PolicyToPathList !== null
|
|
7369
7369
|
? deserializeAws_restJson1PolicyToPathList(output.PolicyToPathList, context)
|
|
7370
7370
|
: undefined,
|
|
@@ -7372,8 +7372,8 @@ const deserializeAws_restJson1BatchLookupPolicyResponse = (output, context) => {
|
|
|
7372
7372
|
};
|
|
7373
7373
|
const deserializeAws_restJson1BatchReadException = (output, context) => {
|
|
7374
7374
|
return {
|
|
7375
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
7376
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
7375
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
7376
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
7377
7377
|
};
|
|
7378
7378
|
};
|
|
7379
7379
|
const deserializeAws_restJson1BatchReadOperationResponse = (output, context) => {
|
|
@@ -7451,7 +7451,7 @@ const deserializeAws_restJson1BatchUpdateLinkAttributesResponse = (output, conte
|
|
|
7451
7451
|
};
|
|
7452
7452
|
const deserializeAws_restJson1BatchUpdateObjectAttributesResponse = (output, context) => {
|
|
7453
7453
|
return {
|
|
7454
|
-
ObjectIdentifier: smithy_client_1.expectString(output.ObjectIdentifier),
|
|
7454
|
+
ObjectIdentifier: (0, smithy_client_1.expectString)(output.ObjectIdentifier),
|
|
7455
7455
|
};
|
|
7456
7456
|
};
|
|
7457
7457
|
const deserializeAws_restJson1BatchWriteOperationResponse = (output, context) => {
|
|
@@ -7517,11 +7517,11 @@ const deserializeAws_restJson1BatchWriteOperationResponseList = (output, context
|
|
|
7517
7517
|
const deserializeAws_restJson1Directory = (output, context) => {
|
|
7518
7518
|
return {
|
|
7519
7519
|
CreationDateTime: output.CreationDateTime !== undefined && output.CreationDateTime !== null
|
|
7520
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDateTime)))
|
|
7520
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDateTime)))
|
|
7521
7521
|
: undefined,
|
|
7522
|
-
DirectoryArn: smithy_client_1.expectString(output.DirectoryArn),
|
|
7523
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
7524
|
-
State: smithy_client_1.expectString(output.State),
|
|
7522
|
+
DirectoryArn: (0, smithy_client_1.expectString)(output.DirectoryArn),
|
|
7523
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
7524
|
+
State: (0, smithy_client_1.expectString)(output.State),
|
|
7525
7525
|
};
|
|
7526
7526
|
};
|
|
7527
7527
|
const deserializeAws_restJson1DirectoryList = (output, context) => {
|
|
@@ -7537,9 +7537,9 @@ const deserializeAws_restJson1DirectoryList = (output, context) => {
|
|
|
7537
7537
|
};
|
|
7538
7538
|
const deserializeAws_restJson1Facet = (output, context) => {
|
|
7539
7539
|
return {
|
|
7540
|
-
FacetStyle: smithy_client_1.expectString(output.FacetStyle),
|
|
7541
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
7542
|
-
ObjectType: smithy_client_1.expectString(output.ObjectType),
|
|
7540
|
+
FacetStyle: (0, smithy_client_1.expectString)(output.FacetStyle),
|
|
7541
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
7542
|
+
ObjectType: (0, smithy_client_1.expectString)(output.ObjectType),
|
|
7543
7543
|
};
|
|
7544
7544
|
};
|
|
7545
7545
|
const deserializeAws_restJson1FacetAttribute = (output, context) => {
|
|
@@ -7550,20 +7550,20 @@ const deserializeAws_restJson1FacetAttribute = (output, context) => {
|
|
|
7550
7550
|
AttributeReference: output.AttributeReference !== undefined && output.AttributeReference !== null
|
|
7551
7551
|
? deserializeAws_restJson1FacetAttributeReference(output.AttributeReference, context)
|
|
7552
7552
|
: undefined,
|
|
7553
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
7554
|
-
RequiredBehavior: smithy_client_1.expectString(output.RequiredBehavior),
|
|
7553
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
7554
|
+
RequiredBehavior: (0, smithy_client_1.expectString)(output.RequiredBehavior),
|
|
7555
7555
|
};
|
|
7556
7556
|
};
|
|
7557
7557
|
const deserializeAws_restJson1FacetAttributeDefinition = (output, context) => {
|
|
7558
7558
|
return {
|
|
7559
7559
|
DefaultValue: output.DefaultValue !== undefined && output.DefaultValue !== null
|
|
7560
|
-
? deserializeAws_restJson1TypedAttributeValue(smithy_client_1.expectUnion(output.DefaultValue), context)
|
|
7560
|
+
? deserializeAws_restJson1TypedAttributeValue((0, smithy_client_1.expectUnion)(output.DefaultValue), context)
|
|
7561
7561
|
: undefined,
|
|
7562
|
-
IsImmutable: smithy_client_1.expectBoolean(output.IsImmutable),
|
|
7562
|
+
IsImmutable: (0, smithy_client_1.expectBoolean)(output.IsImmutable),
|
|
7563
7563
|
Rules: output.Rules !== undefined && output.Rules !== null
|
|
7564
7564
|
? deserializeAws_restJson1RuleMap(output.Rules, context)
|
|
7565
7565
|
: undefined,
|
|
7566
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
7566
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
7567
7567
|
};
|
|
7568
7568
|
};
|
|
7569
7569
|
const deserializeAws_restJson1FacetAttributeList = (output, context) => {
|
|
@@ -7579,8 +7579,8 @@ const deserializeAws_restJson1FacetAttributeList = (output, context) => {
|
|
|
7579
7579
|
};
|
|
7580
7580
|
const deserializeAws_restJson1FacetAttributeReference = (output, context) => {
|
|
7581
7581
|
return {
|
|
7582
|
-
TargetAttributeName: smithy_client_1.expectString(output.TargetAttributeName),
|
|
7583
|
-
TargetFacetName: smithy_client_1.expectString(output.TargetFacetName),
|
|
7582
|
+
TargetAttributeName: (0, smithy_client_1.expectString)(output.TargetAttributeName),
|
|
7583
|
+
TargetFacetName: (0, smithy_client_1.expectString)(output.TargetFacetName),
|
|
7584
7584
|
};
|
|
7585
7585
|
};
|
|
7586
7586
|
const deserializeAws_restJson1FacetNameList = (output, context) => {
|
|
@@ -7590,7 +7590,7 @@ const deserializeAws_restJson1FacetNameList = (output, context) => {
|
|
|
7590
7590
|
if (entry === null) {
|
|
7591
7591
|
return null;
|
|
7592
7592
|
}
|
|
7593
|
-
return smithy_client_1.expectString(entry);
|
|
7593
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7594
7594
|
});
|
|
7595
7595
|
return retVal;
|
|
7596
7596
|
};
|
|
@@ -7599,7 +7599,7 @@ const deserializeAws_restJson1IndexAttachment = (output, context) => {
|
|
|
7599
7599
|
IndexedAttributes: output.IndexedAttributes !== undefined && output.IndexedAttributes !== null
|
|
7600
7600
|
? deserializeAws_restJson1AttributeKeyAndValueList(output.IndexedAttributes, context)
|
|
7601
7601
|
: undefined,
|
|
7602
|
-
ObjectIdentifier: smithy_client_1.expectString(output.ObjectIdentifier),
|
|
7602
|
+
ObjectIdentifier: (0, smithy_client_1.expectString)(output.ObjectIdentifier),
|
|
7603
7603
|
};
|
|
7604
7604
|
};
|
|
7605
7605
|
const deserializeAws_restJson1IndexAttachmentList = (output, context) => {
|
|
@@ -7620,7 +7620,7 @@ const deserializeAws_restJson1LinkNameToObjectIdentifierMap = (output, context)
|
|
|
7620
7620
|
}
|
|
7621
7621
|
return {
|
|
7622
7622
|
...acc,
|
|
7623
|
-
[key]: smithy_client_1.expectString(value),
|
|
7623
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
7624
7624
|
};
|
|
7625
7625
|
}, {});
|
|
7626
7626
|
};
|
|
@@ -7637,8 +7637,8 @@ const deserializeAws_restJson1ObjectIdentifierAndLinkNameList = (output, context
|
|
|
7637
7637
|
};
|
|
7638
7638
|
const deserializeAws_restJson1ObjectIdentifierAndLinkNameTuple = (output, context) => {
|
|
7639
7639
|
return {
|
|
7640
|
-
LinkName: smithy_client_1.expectString(output.LinkName),
|
|
7641
|
-
ObjectIdentifier: smithy_client_1.expectString(output.ObjectIdentifier),
|
|
7640
|
+
LinkName: (0, smithy_client_1.expectString)(output.LinkName),
|
|
7641
|
+
ObjectIdentifier: (0, smithy_client_1.expectString)(output.ObjectIdentifier),
|
|
7642
7642
|
};
|
|
7643
7643
|
};
|
|
7644
7644
|
const deserializeAws_restJson1ObjectIdentifierList = (output, context) => {
|
|
@@ -7648,7 +7648,7 @@ const deserializeAws_restJson1ObjectIdentifierList = (output, context) => {
|
|
|
7648
7648
|
if (entry === null) {
|
|
7649
7649
|
return null;
|
|
7650
7650
|
}
|
|
7651
|
-
return smithy_client_1.expectString(entry);
|
|
7651
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7652
7652
|
});
|
|
7653
7653
|
return retVal;
|
|
7654
7654
|
};
|
|
@@ -7659,13 +7659,13 @@ const deserializeAws_restJson1ObjectIdentifierToLinkNameMap = (output, context)
|
|
|
7659
7659
|
}
|
|
7660
7660
|
return {
|
|
7661
7661
|
...acc,
|
|
7662
|
-
[key]: smithy_client_1.expectString(value),
|
|
7662
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
7663
7663
|
};
|
|
7664
7664
|
}, {});
|
|
7665
7665
|
};
|
|
7666
7666
|
const deserializeAws_restJson1ObjectReference = (output, context) => {
|
|
7667
7667
|
return {
|
|
7668
|
-
Selector: smithy_client_1.expectString(output.Selector),
|
|
7668
|
+
Selector: (0, smithy_client_1.expectString)(output.Selector),
|
|
7669
7669
|
};
|
|
7670
7670
|
};
|
|
7671
7671
|
const deserializeAws_restJson1PathToObjectIdentifiers = (output, context) => {
|
|
@@ -7673,7 +7673,7 @@ const deserializeAws_restJson1PathToObjectIdentifiers = (output, context) => {
|
|
|
7673
7673
|
ObjectIdentifiers: output.ObjectIdentifiers !== undefined && output.ObjectIdentifiers !== null
|
|
7674
7674
|
? deserializeAws_restJson1ObjectIdentifierList(output.ObjectIdentifiers, context)
|
|
7675
7675
|
: undefined,
|
|
7676
|
-
Path: smithy_client_1.expectString(output.Path),
|
|
7676
|
+
Path: (0, smithy_client_1.expectString)(output.Path),
|
|
7677
7677
|
};
|
|
7678
7678
|
};
|
|
7679
7679
|
const deserializeAws_restJson1PathToObjectIdentifiersList = (output, context) => {
|
|
@@ -7689,9 +7689,9 @@ const deserializeAws_restJson1PathToObjectIdentifiersList = (output, context) =>
|
|
|
7689
7689
|
};
|
|
7690
7690
|
const deserializeAws_restJson1PolicyAttachment = (output, context) => {
|
|
7691
7691
|
return {
|
|
7692
|
-
ObjectIdentifier: smithy_client_1.expectString(output.ObjectIdentifier),
|
|
7693
|
-
PolicyId: smithy_client_1.expectString(output.PolicyId),
|
|
7694
|
-
PolicyType: smithy_client_1.expectString(output.PolicyType),
|
|
7692
|
+
ObjectIdentifier: (0, smithy_client_1.expectString)(output.ObjectIdentifier),
|
|
7693
|
+
PolicyId: (0, smithy_client_1.expectString)(output.PolicyId),
|
|
7694
|
+
PolicyType: (0, smithy_client_1.expectString)(output.PolicyType),
|
|
7695
7695
|
};
|
|
7696
7696
|
};
|
|
7697
7697
|
const deserializeAws_restJson1PolicyAttachmentList = (output, context) => {
|
|
@@ -7707,7 +7707,7 @@ const deserializeAws_restJson1PolicyAttachmentList = (output, context) => {
|
|
|
7707
7707
|
};
|
|
7708
7708
|
const deserializeAws_restJson1PolicyToPath = (output, context) => {
|
|
7709
7709
|
return {
|
|
7710
|
-
Path: smithy_client_1.expectString(output.Path),
|
|
7710
|
+
Path: (0, smithy_client_1.expectString)(output.Path),
|
|
7711
7711
|
Policies: output.Policies !== undefined && output.Policies !== null
|
|
7712
7712
|
? deserializeAws_restJson1PolicyAttachmentList(output.Policies, context)
|
|
7713
7713
|
: undefined,
|
|
@@ -7729,7 +7729,7 @@ const deserializeAws_restJson1Rule = (output, context) => {
|
|
|
7729
7729
|
Parameters: output.Parameters !== undefined && output.Parameters !== null
|
|
7730
7730
|
? deserializeAws_restJson1RuleParameterMap(output.Parameters, context)
|
|
7731
7731
|
: undefined,
|
|
7732
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
7732
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
7733
7733
|
};
|
|
7734
7734
|
};
|
|
7735
7735
|
const deserializeAws_restJson1RuleMap = (output, context) => {
|
|
@@ -7750,14 +7750,14 @@ const deserializeAws_restJson1RuleParameterMap = (output, context) => {
|
|
|
7750
7750
|
}
|
|
7751
7751
|
return {
|
|
7752
7752
|
...acc,
|
|
7753
|
-
[key]: smithy_client_1.expectString(value),
|
|
7753
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
7754
7754
|
};
|
|
7755
7755
|
}, {});
|
|
7756
7756
|
};
|
|
7757
7757
|
const deserializeAws_restJson1SchemaFacet = (output, context) => {
|
|
7758
7758
|
return {
|
|
7759
|
-
FacetName: smithy_client_1.expectString(output.FacetName),
|
|
7760
|
-
SchemaArn: smithy_client_1.expectString(output.SchemaArn),
|
|
7759
|
+
FacetName: (0, smithy_client_1.expectString)(output.FacetName),
|
|
7760
|
+
SchemaArn: (0, smithy_client_1.expectString)(output.SchemaArn),
|
|
7761
7761
|
};
|
|
7762
7762
|
};
|
|
7763
7763
|
const deserializeAws_restJson1SchemaFacetList = (output, context) => {
|
|
@@ -7773,8 +7773,8 @@ const deserializeAws_restJson1SchemaFacetList = (output, context) => {
|
|
|
7773
7773
|
};
|
|
7774
7774
|
const deserializeAws_restJson1Tag = (output, context) => {
|
|
7775
7775
|
return {
|
|
7776
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
7777
|
-
Value: smithy_client_1.expectString(output.Value),
|
|
7776
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
7777
|
+
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
7778
7778
|
};
|
|
7779
7779
|
};
|
|
7780
7780
|
const deserializeAws_restJson1TagList = (output, context) => {
|
|
@@ -7794,34 +7794,34 @@ const deserializeAws_restJson1TypedAttributeValue = (output, context) => {
|
|
|
7794
7794
|
BinaryValue: context.base64Decoder(output.BinaryValue),
|
|
7795
7795
|
};
|
|
7796
7796
|
}
|
|
7797
|
-
if (smithy_client_1.expectBoolean(output.BooleanValue) !== undefined) {
|
|
7798
|
-
return { BooleanValue: smithy_client_1.expectBoolean(output.BooleanValue) };
|
|
7797
|
+
if ((0, smithy_client_1.expectBoolean)(output.BooleanValue) !== undefined) {
|
|
7798
|
+
return { BooleanValue: (0, smithy_client_1.expectBoolean)(output.BooleanValue) };
|
|
7799
7799
|
}
|
|
7800
7800
|
if (output.DatetimeValue !== undefined && output.DatetimeValue !== null) {
|
|
7801
7801
|
return {
|
|
7802
|
-
DatetimeValue: smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DatetimeValue))),
|
|
7802
|
+
DatetimeValue: (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DatetimeValue))),
|
|
7803
7803
|
};
|
|
7804
7804
|
}
|
|
7805
|
-
if (smithy_client_1.expectString(output.NumberValue) !== undefined) {
|
|
7806
|
-
return { NumberValue: smithy_client_1.expectString(output.NumberValue) };
|
|
7805
|
+
if ((0, smithy_client_1.expectString)(output.NumberValue) !== undefined) {
|
|
7806
|
+
return { NumberValue: (0, smithy_client_1.expectString)(output.NumberValue) };
|
|
7807
7807
|
}
|
|
7808
|
-
if (smithy_client_1.expectString(output.StringValue) !== undefined) {
|
|
7809
|
-
return { StringValue: smithy_client_1.expectString(output.StringValue) };
|
|
7808
|
+
if ((0, smithy_client_1.expectString)(output.StringValue) !== undefined) {
|
|
7809
|
+
return { StringValue: (0, smithy_client_1.expectString)(output.StringValue) };
|
|
7810
7810
|
}
|
|
7811
7811
|
return { $unknown: Object.entries(output)[0] };
|
|
7812
7812
|
};
|
|
7813
7813
|
const deserializeAws_restJson1TypedLinkAttributeDefinition = (output, context) => {
|
|
7814
7814
|
return {
|
|
7815
7815
|
DefaultValue: output.DefaultValue !== undefined && output.DefaultValue !== null
|
|
7816
|
-
? deserializeAws_restJson1TypedAttributeValue(smithy_client_1.expectUnion(output.DefaultValue), context)
|
|
7816
|
+
? deserializeAws_restJson1TypedAttributeValue((0, smithy_client_1.expectUnion)(output.DefaultValue), context)
|
|
7817
7817
|
: undefined,
|
|
7818
|
-
IsImmutable: smithy_client_1.expectBoolean(output.IsImmutable),
|
|
7819
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
7820
|
-
RequiredBehavior: smithy_client_1.expectString(output.RequiredBehavior),
|
|
7818
|
+
IsImmutable: (0, smithy_client_1.expectBoolean)(output.IsImmutable),
|
|
7819
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
7820
|
+
RequiredBehavior: (0, smithy_client_1.expectString)(output.RequiredBehavior),
|
|
7821
7821
|
Rules: output.Rules !== undefined && output.Rules !== null
|
|
7822
7822
|
? deserializeAws_restJson1RuleMap(output.Rules, context)
|
|
7823
7823
|
: undefined,
|
|
7824
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
7824
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
7825
7825
|
};
|
|
7826
7826
|
};
|
|
7827
7827
|
const deserializeAws_restJson1TypedLinkAttributeDefinitionList = (output, context) => {
|
|
@@ -7842,14 +7842,14 @@ const deserializeAws_restJson1TypedLinkNameList = (output, context) => {
|
|
|
7842
7842
|
if (entry === null) {
|
|
7843
7843
|
return null;
|
|
7844
7844
|
}
|
|
7845
|
-
return smithy_client_1.expectString(entry);
|
|
7845
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7846
7846
|
});
|
|
7847
7847
|
return retVal;
|
|
7848
7848
|
};
|
|
7849
7849
|
const deserializeAws_restJson1TypedLinkSchemaAndFacetName = (output, context) => {
|
|
7850
7850
|
return {
|
|
7851
|
-
SchemaArn: smithy_client_1.expectString(output.SchemaArn),
|
|
7852
|
-
TypedLinkName: smithy_client_1.expectString(output.TypedLinkName),
|
|
7851
|
+
SchemaArn: (0, smithy_client_1.expectString)(output.SchemaArn),
|
|
7852
|
+
TypedLinkName: (0, smithy_client_1.expectString)(output.TypedLinkName),
|
|
7853
7853
|
};
|
|
7854
7854
|
};
|
|
7855
7855
|
const deserializeAws_restJson1TypedLinkSpecifier = (output, context) => {
|