@aws-sdk/client-clouddirectory 3.180.0 → 3.183.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 +20 -0
- package/dist-cjs/protocols/Aws_restJson1.js +72 -66
- package/dist-es/CloudDirectory.js +266 -273
- package/dist-es/CloudDirectoryClient.js +22 -28
- package/dist-es/commands/AddFacetToObjectCommand.js +21 -28
- package/dist-es/commands/ApplySchemaCommand.js +21 -28
- package/dist-es/commands/AttachObjectCommand.js +21 -28
- package/dist-es/commands/AttachPolicyCommand.js +21 -28
- package/dist-es/commands/AttachToIndexCommand.js +21 -28
- package/dist-es/commands/AttachTypedLinkCommand.js +21 -28
- package/dist-es/commands/BatchReadCommand.js +21 -28
- package/dist-es/commands/BatchWriteCommand.js +21 -28
- package/dist-es/commands/CreateDirectoryCommand.js +21 -28
- package/dist-es/commands/CreateFacetCommand.js +21 -28
- package/dist-es/commands/CreateIndexCommand.js +21 -28
- package/dist-es/commands/CreateObjectCommand.js +21 -28
- package/dist-es/commands/CreateSchemaCommand.js +21 -28
- package/dist-es/commands/CreateTypedLinkFacetCommand.js +21 -28
- package/dist-es/commands/DeleteDirectoryCommand.js +21 -28
- package/dist-es/commands/DeleteFacetCommand.js +21 -28
- package/dist-es/commands/DeleteObjectCommand.js +21 -28
- package/dist-es/commands/DeleteSchemaCommand.js +21 -28
- package/dist-es/commands/DeleteTypedLinkFacetCommand.js +21 -28
- package/dist-es/commands/DetachFromIndexCommand.js +21 -28
- package/dist-es/commands/DetachObjectCommand.js +21 -28
- package/dist-es/commands/DetachPolicyCommand.js +21 -28
- package/dist-es/commands/DetachTypedLinkCommand.js +22 -29
- package/dist-es/commands/DisableDirectoryCommand.js +21 -28
- package/dist-es/commands/EnableDirectoryCommand.js +21 -28
- package/dist-es/commands/GetAppliedSchemaVersionCommand.js +21 -28
- package/dist-es/commands/GetDirectoryCommand.js +21 -28
- package/dist-es/commands/GetFacetCommand.js +21 -28
- package/dist-es/commands/GetLinkAttributesCommand.js +21 -28
- package/dist-es/commands/GetObjectAttributesCommand.js +21 -28
- package/dist-es/commands/GetObjectInformationCommand.js +21 -28
- package/dist-es/commands/GetSchemaAsJsonCommand.js +21 -28
- package/dist-es/commands/GetTypedLinkFacetInformationCommand.js +21 -28
- package/dist-es/commands/ListAppliedSchemaArnsCommand.js +21 -28
- package/dist-es/commands/ListAttachedIndicesCommand.js +21 -28
- package/dist-es/commands/ListDevelopmentSchemaArnsCommand.js +21 -28
- package/dist-es/commands/ListDirectoriesCommand.js +21 -28
- package/dist-es/commands/ListFacetAttributesCommand.js +21 -28
- package/dist-es/commands/ListFacetNamesCommand.js +21 -28
- package/dist-es/commands/ListIncomingTypedLinksCommand.js +21 -28
- package/dist-es/commands/ListIndexCommand.js +21 -28
- package/dist-es/commands/ListManagedSchemaArnsCommand.js +21 -28
- package/dist-es/commands/ListObjectAttributesCommand.js +21 -28
- package/dist-es/commands/ListObjectChildrenCommand.js +21 -28
- package/dist-es/commands/ListObjectParentPathsCommand.js +21 -28
- package/dist-es/commands/ListObjectParentsCommand.js +21 -28
- package/dist-es/commands/ListObjectPoliciesCommand.js +21 -28
- package/dist-es/commands/ListOutgoingTypedLinksCommand.js +21 -28
- package/dist-es/commands/ListPolicyAttachmentsCommand.js +21 -28
- package/dist-es/commands/ListPublishedSchemaArnsCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/ListTypedLinkFacetAttributesCommand.js +21 -28
- package/dist-es/commands/ListTypedLinkFacetNamesCommand.js +21 -28
- package/dist-es/commands/LookupPolicyCommand.js +21 -28
- package/dist-es/commands/PublishSchemaCommand.js +21 -28
- package/dist-es/commands/PutSchemaFromJsonCommand.js +21 -28
- package/dist-es/commands/RemoveFacetFromObjectCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateFacetCommand.js +21 -28
- package/dist-es/commands/UpdateLinkAttributesCommand.js +21 -28
- package/dist-es/commands/UpdateObjectAttributesCommand.js +21 -28
- package/dist-es/commands/UpdateSchemaCommand.js +21 -28
- package/dist-es/commands/UpdateTypedLinkFacetCommand.js +21 -28
- package/dist-es/commands/UpgradeAppliedSchemaCommand.js +21 -28
- package/dist-es/commands/UpgradePublishedSchemaCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/CloudDirectoryServiceException.js +5 -10
- package/dist-es/models/models_0.js +1267 -751
- package/dist-es/pagination/ListAppliedSchemaArnsPaginator.js +25 -68
- package/dist-es/pagination/ListAttachedIndicesPaginator.js +25 -68
- package/dist-es/pagination/ListDevelopmentSchemaArnsPaginator.js +25 -68
- package/dist-es/pagination/ListDirectoriesPaginator.js +25 -68
- package/dist-es/pagination/ListFacetAttributesPaginator.js +25 -68
- package/dist-es/pagination/ListFacetNamesPaginator.js +25 -68
- package/dist-es/pagination/ListIndexPaginator.js +25 -68
- package/dist-es/pagination/ListManagedSchemaArnsPaginator.js +25 -68
- package/dist-es/pagination/ListObjectAttributesPaginator.js +25 -68
- package/dist-es/pagination/ListObjectChildrenPaginator.js +25 -68
- package/dist-es/pagination/ListObjectParentPathsPaginator.js +25 -68
- package/dist-es/pagination/ListObjectParentsPaginator.js +25 -68
- package/dist-es/pagination/ListObjectPoliciesPaginator.js +25 -68
- package/dist-es/pagination/ListPolicyAttachmentsPaginator.js +25 -68
- package/dist-es/pagination/ListPublishedSchemaArnsPaginator.js +25 -68
- package/dist-es/pagination/ListTagsForResourcePaginator.js +25 -68
- package/dist-es/pagination/ListTypedLinkFacetAttributesPaginator.js +25 -68
- package/dist-es/pagination/ListTypedLinkFacetNamesPaginator.js +25 -68
- package/dist-es/pagination/LookupPolicyPaginator.js +25 -68
- package/dist-es/protocols/Aws_restJson1.js +6538 -8503
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,26 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-clouddirectory
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.181.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.180.0...v3.181.0) (2022-09-29)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **clients:** make parseErrorBody async ([#3999](https://github.com/aws/aws-sdk-js-v3/issues/3999)) ([2558c93](https://github.com/aws/aws-sdk-js-v3/commit/2558c93c050357ac6dc47aa0452b15b12ebfd676))
|
|
20
|
+
* **clients:** populate message field when parsing errors ([#3995](https://github.com/aws/aws-sdk-js-v3/issues/3995)) ([02e47f1](https://github.com/aws/aws-sdk-js-v3/commit/02e47f14397ae0a5d2e2883350d038b307fdcdb4))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
6
26
|
# [3.180.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.179.0...v3.180.0) (2022-09-27)
|
|
7
27
|
|
|
8
28
|
**Note:** Version bump only for package @aws-sdk/client-clouddirectory
|
|
@@ -1710,7 +1710,7 @@ exports.deserializeAws_restJson1AddFacetToObjectCommand = deserializeAws_restJso
|
|
|
1710
1710
|
const deserializeAws_restJson1AddFacetToObjectCommandError = async (output, context) => {
|
|
1711
1711
|
const parsedOutput = {
|
|
1712
1712
|
...output,
|
|
1713
|
-
body: await
|
|
1713
|
+
body: await parseErrorBody(output.body, context),
|
|
1714
1714
|
};
|
|
1715
1715
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1716
1716
|
switch (errorCode) {
|
|
@@ -1771,7 +1771,7 @@ exports.deserializeAws_restJson1ApplySchemaCommand = deserializeAws_restJson1App
|
|
|
1771
1771
|
const deserializeAws_restJson1ApplySchemaCommandError = async (output, context) => {
|
|
1772
1772
|
const parsedOutput = {
|
|
1773
1773
|
...output,
|
|
1774
|
-
body: await
|
|
1774
|
+
body: await parseErrorBody(output.body, context),
|
|
1775
1775
|
};
|
|
1776
1776
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1777
1777
|
switch (errorCode) {
|
|
@@ -1829,7 +1829,7 @@ exports.deserializeAws_restJson1AttachObjectCommand = deserializeAws_restJson1At
|
|
|
1829
1829
|
const deserializeAws_restJson1AttachObjectCommandError = async (output, context) => {
|
|
1830
1830
|
const parsedOutput = {
|
|
1831
1831
|
...output,
|
|
1832
|
-
body: await
|
|
1832
|
+
body: await parseErrorBody(output.body, context),
|
|
1833
1833
|
};
|
|
1834
1834
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1835
1835
|
switch (errorCode) {
|
|
@@ -1890,7 +1890,7 @@ exports.deserializeAws_restJson1AttachPolicyCommand = deserializeAws_restJson1At
|
|
|
1890
1890
|
const deserializeAws_restJson1AttachPolicyCommandError = async (output, context) => {
|
|
1891
1891
|
const parsedOutput = {
|
|
1892
1892
|
...output,
|
|
1893
|
-
body: await
|
|
1893
|
+
body: await parseErrorBody(output.body, context),
|
|
1894
1894
|
};
|
|
1895
1895
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1896
1896
|
switch (errorCode) {
|
|
@@ -1948,7 +1948,7 @@ exports.deserializeAws_restJson1AttachToIndexCommand = deserializeAws_restJson1A
|
|
|
1948
1948
|
const deserializeAws_restJson1AttachToIndexCommandError = async (output, context) => {
|
|
1949
1949
|
const parsedOutput = {
|
|
1950
1950
|
...output,
|
|
1951
|
-
body: await
|
|
1951
|
+
body: await parseErrorBody(output.body, context),
|
|
1952
1952
|
};
|
|
1953
1953
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1954
1954
|
switch (errorCode) {
|
|
@@ -2015,7 +2015,7 @@ exports.deserializeAws_restJson1AttachTypedLinkCommand = deserializeAws_restJson
|
|
|
2015
2015
|
const deserializeAws_restJson1AttachTypedLinkCommandError = async (output, context) => {
|
|
2016
2016
|
const parsedOutput = {
|
|
2017
2017
|
...output,
|
|
2018
|
-
body: await
|
|
2018
|
+
body: await parseErrorBody(output.body, context),
|
|
2019
2019
|
};
|
|
2020
2020
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2021
2021
|
switch (errorCode) {
|
|
@@ -2076,7 +2076,7 @@ exports.deserializeAws_restJson1BatchReadCommand = deserializeAws_restJson1Batch
|
|
|
2076
2076
|
const deserializeAws_restJson1BatchReadCommandError = async (output, context) => {
|
|
2077
2077
|
const parsedOutput = {
|
|
2078
2078
|
...output,
|
|
2079
|
-
body: await
|
|
2079
|
+
body: await parseErrorBody(output.body, context),
|
|
2080
2080
|
};
|
|
2081
2081
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2082
2082
|
switch (errorCode) {
|
|
@@ -2128,7 +2128,7 @@ exports.deserializeAws_restJson1BatchWriteCommand = deserializeAws_restJson1Batc
|
|
|
2128
2128
|
const deserializeAws_restJson1BatchWriteCommandError = async (output, context) => {
|
|
2129
2129
|
const parsedOutput = {
|
|
2130
2130
|
...output,
|
|
2131
|
-
body: await
|
|
2131
|
+
body: await parseErrorBody(output.body, context),
|
|
2132
2132
|
};
|
|
2133
2133
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2134
2134
|
switch (errorCode) {
|
|
@@ -2192,7 +2192,7 @@ exports.deserializeAws_restJson1CreateDirectoryCommand = deserializeAws_restJson
|
|
|
2192
2192
|
const deserializeAws_restJson1CreateDirectoryCommandError = async (output, context) => {
|
|
2193
2193
|
const parsedOutput = {
|
|
2194
2194
|
...output,
|
|
2195
|
-
body: await
|
|
2195
|
+
body: await parseErrorBody(output.body, context),
|
|
2196
2196
|
};
|
|
2197
2197
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2198
2198
|
switch (errorCode) {
|
|
@@ -2244,7 +2244,7 @@ exports.deserializeAws_restJson1CreateFacetCommand = deserializeAws_restJson1Cre
|
|
|
2244
2244
|
const deserializeAws_restJson1CreateFacetCommandError = async (output, context) => {
|
|
2245
2245
|
const parsedOutput = {
|
|
2246
2246
|
...output,
|
|
2247
|
-
body: await
|
|
2247
|
+
body: await parseErrorBody(output.body, context),
|
|
2248
2248
|
};
|
|
2249
2249
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2250
2250
|
switch (errorCode) {
|
|
@@ -2305,7 +2305,7 @@ exports.deserializeAws_restJson1CreateIndexCommand = deserializeAws_restJson1Cre
|
|
|
2305
2305
|
const deserializeAws_restJson1CreateIndexCommandError = async (output, context) => {
|
|
2306
2306
|
const parsedOutput = {
|
|
2307
2307
|
...output,
|
|
2308
|
-
body: await
|
|
2308
|
+
body: await parseErrorBody(output.body, context),
|
|
2309
2309
|
};
|
|
2310
2310
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2311
2311
|
switch (errorCode) {
|
|
@@ -2369,7 +2369,7 @@ exports.deserializeAws_restJson1CreateObjectCommand = deserializeAws_restJson1Cr
|
|
|
2369
2369
|
const deserializeAws_restJson1CreateObjectCommandError = async (output, context) => {
|
|
2370
2370
|
const parsedOutput = {
|
|
2371
2371
|
...output,
|
|
2372
|
-
body: await
|
|
2372
|
+
body: await parseErrorBody(output.body, context),
|
|
2373
2373
|
};
|
|
2374
2374
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2375
2375
|
switch (errorCode) {
|
|
@@ -2433,7 +2433,7 @@ exports.deserializeAws_restJson1CreateSchemaCommand = deserializeAws_restJson1Cr
|
|
|
2433
2433
|
const deserializeAws_restJson1CreateSchemaCommandError = async (output, context) => {
|
|
2434
2434
|
const parsedOutput = {
|
|
2435
2435
|
...output,
|
|
2436
|
-
body: await
|
|
2436
|
+
body: await parseErrorBody(output.body, context),
|
|
2437
2437
|
};
|
|
2438
2438
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2439
2439
|
switch (errorCode) {
|
|
@@ -2482,7 +2482,7 @@ exports.deserializeAws_restJson1CreateTypedLinkFacetCommand = deserializeAws_res
|
|
|
2482
2482
|
const deserializeAws_restJson1CreateTypedLinkFacetCommandError = async (output, context) => {
|
|
2483
2483
|
const parsedOutput = {
|
|
2484
2484
|
...output,
|
|
2485
|
-
body: await
|
|
2485
|
+
body: await parseErrorBody(output.body, context),
|
|
2486
2486
|
};
|
|
2487
2487
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2488
2488
|
switch (errorCode) {
|
|
@@ -2543,7 +2543,7 @@ exports.deserializeAws_restJson1DeleteDirectoryCommand = deserializeAws_restJson
|
|
|
2543
2543
|
const deserializeAws_restJson1DeleteDirectoryCommandError = async (output, context) => {
|
|
2544
2544
|
const parsedOutput = {
|
|
2545
2545
|
...output,
|
|
2546
|
-
body: await
|
|
2546
|
+
body: await parseErrorBody(output.body, context),
|
|
2547
2547
|
};
|
|
2548
2548
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2549
2549
|
switch (errorCode) {
|
|
@@ -2598,7 +2598,7 @@ exports.deserializeAws_restJson1DeleteFacetCommand = deserializeAws_restJson1Del
|
|
|
2598
2598
|
const deserializeAws_restJson1DeleteFacetCommandError = async (output, context) => {
|
|
2599
2599
|
const parsedOutput = {
|
|
2600
2600
|
...output,
|
|
2601
|
-
body: await
|
|
2601
|
+
body: await parseErrorBody(output.body, context),
|
|
2602
2602
|
};
|
|
2603
2603
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2604
2604
|
switch (errorCode) {
|
|
@@ -2653,7 +2653,7 @@ exports.deserializeAws_restJson1DeleteObjectCommand = deserializeAws_restJson1De
|
|
|
2653
2653
|
const deserializeAws_restJson1DeleteObjectCommandError = async (output, context) => {
|
|
2654
2654
|
const parsedOutput = {
|
|
2655
2655
|
...output,
|
|
2656
|
-
body: await
|
|
2656
|
+
body: await parseErrorBody(output.body, context),
|
|
2657
2657
|
};
|
|
2658
2658
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2659
2659
|
switch (errorCode) {
|
|
@@ -2711,7 +2711,7 @@ exports.deserializeAws_restJson1DeleteSchemaCommand = deserializeAws_restJson1De
|
|
|
2711
2711
|
const deserializeAws_restJson1DeleteSchemaCommandError = async (output, context) => {
|
|
2712
2712
|
const parsedOutput = {
|
|
2713
2713
|
...output,
|
|
2714
|
-
body: await
|
|
2714
|
+
body: await parseErrorBody(output.body, context),
|
|
2715
2715
|
};
|
|
2716
2716
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2717
2717
|
switch (errorCode) {
|
|
@@ -2763,7 +2763,7 @@ exports.deserializeAws_restJson1DeleteTypedLinkFacetCommand = deserializeAws_res
|
|
|
2763
2763
|
const deserializeAws_restJson1DeleteTypedLinkFacetCommandError = async (output, context) => {
|
|
2764
2764
|
const parsedOutput = {
|
|
2765
2765
|
...output,
|
|
2766
|
-
body: await
|
|
2766
|
+
body: await parseErrorBody(output.body, context),
|
|
2767
2767
|
};
|
|
2768
2768
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2769
2769
|
switch (errorCode) {
|
|
@@ -2818,7 +2818,7 @@ exports.deserializeAws_restJson1DetachFromIndexCommand = deserializeAws_restJson
|
|
|
2818
2818
|
const deserializeAws_restJson1DetachFromIndexCommandError = async (output, context) => {
|
|
2819
2819
|
const parsedOutput = {
|
|
2820
2820
|
...output,
|
|
2821
|
-
body: await
|
|
2821
|
+
body: await parseErrorBody(output.body, context),
|
|
2822
2822
|
};
|
|
2823
2823
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2824
2824
|
switch (errorCode) {
|
|
@@ -2879,7 +2879,7 @@ exports.deserializeAws_restJson1DetachObjectCommand = deserializeAws_restJson1De
|
|
|
2879
2879
|
const deserializeAws_restJson1DetachObjectCommandError = async (output, context) => {
|
|
2880
2880
|
const parsedOutput = {
|
|
2881
2881
|
...output,
|
|
2882
|
-
body: await
|
|
2882
|
+
body: await parseErrorBody(output.body, context),
|
|
2883
2883
|
};
|
|
2884
2884
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2885
2885
|
switch (errorCode) {
|
|
@@ -2934,7 +2934,7 @@ exports.deserializeAws_restJson1DetachPolicyCommand = deserializeAws_restJson1De
|
|
|
2934
2934
|
const deserializeAws_restJson1DetachPolicyCommandError = async (output, context) => {
|
|
2935
2935
|
const parsedOutput = {
|
|
2936
2936
|
...output,
|
|
2937
|
-
body: await
|
|
2937
|
+
body: await parseErrorBody(output.body, context),
|
|
2938
2938
|
};
|
|
2939
2939
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2940
2940
|
switch (errorCode) {
|
|
@@ -2989,7 +2989,7 @@ exports.deserializeAws_restJson1DetachTypedLinkCommand = deserializeAws_restJson
|
|
|
2989
2989
|
const deserializeAws_restJson1DetachTypedLinkCommandError = async (output, context) => {
|
|
2990
2990
|
const parsedOutput = {
|
|
2991
2991
|
...output,
|
|
2992
|
-
body: await
|
|
2992
|
+
body: await parseErrorBody(output.body, context),
|
|
2993
2993
|
};
|
|
2994
2994
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2995
2995
|
switch (errorCode) {
|
|
@@ -3047,7 +3047,7 @@ exports.deserializeAws_restJson1DisableDirectoryCommand = deserializeAws_restJso
|
|
|
3047
3047
|
const deserializeAws_restJson1DisableDirectoryCommandError = async (output, context) => {
|
|
3048
3048
|
const parsedOutput = {
|
|
3049
3049
|
...output,
|
|
3050
|
-
body: await
|
|
3050
|
+
body: await parseErrorBody(output.body, context),
|
|
3051
3051
|
};
|
|
3052
3052
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3053
3053
|
switch (errorCode) {
|
|
@@ -3102,7 +3102,7 @@ exports.deserializeAws_restJson1EnableDirectoryCommand = deserializeAws_restJson
|
|
|
3102
3102
|
const deserializeAws_restJson1EnableDirectoryCommandError = async (output, context) => {
|
|
3103
3103
|
const parsedOutput = {
|
|
3104
3104
|
...output,
|
|
3105
|
-
body: await
|
|
3105
|
+
body: await parseErrorBody(output.body, context),
|
|
3106
3106
|
};
|
|
3107
3107
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3108
3108
|
switch (errorCode) {
|
|
@@ -3157,7 +3157,7 @@ exports.deserializeAws_restJson1GetAppliedSchemaVersionCommand = deserializeAws_
|
|
|
3157
3157
|
const deserializeAws_restJson1GetAppliedSchemaVersionCommandError = async (output, context) => {
|
|
3158
3158
|
const parsedOutput = {
|
|
3159
3159
|
...output,
|
|
3160
|
-
body: await
|
|
3160
|
+
body: await parseErrorBody(output.body, context),
|
|
3161
3161
|
};
|
|
3162
3162
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3163
3163
|
switch (errorCode) {
|
|
@@ -3209,7 +3209,7 @@ exports.deserializeAws_restJson1GetDirectoryCommand = deserializeAws_restJson1Ge
|
|
|
3209
3209
|
const deserializeAws_restJson1GetDirectoryCommandError = async (output, context) => {
|
|
3210
3210
|
const parsedOutput = {
|
|
3211
3211
|
...output,
|
|
3212
|
-
body: await
|
|
3212
|
+
body: await parseErrorBody(output.body, context),
|
|
3213
3213
|
};
|
|
3214
3214
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3215
3215
|
switch (errorCode) {
|
|
@@ -3258,7 +3258,7 @@ exports.deserializeAws_restJson1GetFacetCommand = deserializeAws_restJson1GetFac
|
|
|
3258
3258
|
const deserializeAws_restJson1GetFacetCommandError = async (output, context) => {
|
|
3259
3259
|
const parsedOutput = {
|
|
3260
3260
|
...output,
|
|
3261
|
-
body: await
|
|
3261
|
+
body: await parseErrorBody(output.body, context),
|
|
3262
3262
|
};
|
|
3263
3263
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3264
3264
|
switch (errorCode) {
|
|
@@ -3313,7 +3313,7 @@ exports.deserializeAws_restJson1GetLinkAttributesCommand = deserializeAws_restJs
|
|
|
3313
3313
|
const deserializeAws_restJson1GetLinkAttributesCommandError = async (output, context) => {
|
|
3314
3314
|
const parsedOutput = {
|
|
3315
3315
|
...output,
|
|
3316
|
-
body: await
|
|
3316
|
+
body: await parseErrorBody(output.body, context),
|
|
3317
3317
|
};
|
|
3318
3318
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3319
3319
|
switch (errorCode) {
|
|
@@ -3371,7 +3371,7 @@ exports.deserializeAws_restJson1GetObjectAttributesCommand = deserializeAws_rest
|
|
|
3371
3371
|
const deserializeAws_restJson1GetObjectAttributesCommandError = async (output, context) => {
|
|
3372
3372
|
const parsedOutput = {
|
|
3373
3373
|
...output,
|
|
3374
|
-
body: await
|
|
3374
|
+
body: await parseErrorBody(output.body, context),
|
|
3375
3375
|
};
|
|
3376
3376
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3377
3377
|
switch (errorCode) {
|
|
@@ -3432,7 +3432,7 @@ exports.deserializeAws_restJson1GetObjectInformationCommand = deserializeAws_res
|
|
|
3432
3432
|
const deserializeAws_restJson1GetObjectInformationCommandError = async (output, context) => {
|
|
3433
3433
|
const parsedOutput = {
|
|
3434
3434
|
...output,
|
|
3435
|
-
body: await
|
|
3435
|
+
body: await parseErrorBody(output.body, context),
|
|
3436
3436
|
};
|
|
3437
3437
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3438
3438
|
switch (errorCode) {
|
|
@@ -3490,7 +3490,7 @@ exports.deserializeAws_restJson1GetSchemaAsJsonCommand = deserializeAws_restJson
|
|
|
3490
3490
|
const deserializeAws_restJson1GetSchemaAsJsonCommandError = async (output, context) => {
|
|
3491
3491
|
const parsedOutput = {
|
|
3492
3492
|
...output,
|
|
3493
|
-
body: await
|
|
3493
|
+
body: await parseErrorBody(output.body, context),
|
|
3494
3494
|
};
|
|
3495
3495
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3496
3496
|
switch (errorCode) {
|
|
@@ -3542,7 +3542,7 @@ exports.deserializeAws_restJson1GetTypedLinkFacetInformationCommand = deserializ
|
|
|
3542
3542
|
const deserializeAws_restJson1GetTypedLinkFacetInformationCommandError = async (output, context) => {
|
|
3543
3543
|
const parsedOutput = {
|
|
3544
3544
|
...output,
|
|
3545
|
-
body: await
|
|
3545
|
+
body: await parseErrorBody(output.body, context),
|
|
3546
3546
|
};
|
|
3547
3547
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3548
3548
|
switch (errorCode) {
|
|
@@ -3603,7 +3603,7 @@ exports.deserializeAws_restJson1ListAppliedSchemaArnsCommand = deserializeAws_re
|
|
|
3603
3603
|
const deserializeAws_restJson1ListAppliedSchemaArnsCommandError = async (output, context) => {
|
|
3604
3604
|
const parsedOutput = {
|
|
3605
3605
|
...output,
|
|
3606
|
-
body: await
|
|
3606
|
+
body: await parseErrorBody(output.body, context),
|
|
3607
3607
|
};
|
|
3608
3608
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3609
3609
|
switch (errorCode) {
|
|
@@ -3661,7 +3661,7 @@ exports.deserializeAws_restJson1ListAttachedIndicesCommand = deserializeAws_rest
|
|
|
3661
3661
|
const deserializeAws_restJson1ListAttachedIndicesCommandError = async (output, context) => {
|
|
3662
3662
|
const parsedOutput = {
|
|
3663
3663
|
...output,
|
|
3664
|
-
body: await
|
|
3664
|
+
body: await parseErrorBody(output.body, context),
|
|
3665
3665
|
};
|
|
3666
3666
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3667
3667
|
switch (errorCode) {
|
|
@@ -3719,7 +3719,7 @@ exports.deserializeAws_restJson1ListDevelopmentSchemaArnsCommand = deserializeAw
|
|
|
3719
3719
|
const deserializeAws_restJson1ListDevelopmentSchemaArnsCommandError = async (output, context) => {
|
|
3720
3720
|
const parsedOutput = {
|
|
3721
3721
|
...output,
|
|
3722
|
-
body: await
|
|
3722
|
+
body: await parseErrorBody(output.body, context),
|
|
3723
3723
|
};
|
|
3724
3724
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3725
3725
|
switch (errorCode) {
|
|
@@ -3777,7 +3777,7 @@ exports.deserializeAws_restJson1ListDirectoriesCommand = deserializeAws_restJson
|
|
|
3777
3777
|
const deserializeAws_restJson1ListDirectoriesCommandError = async (output, context) => {
|
|
3778
3778
|
const parsedOutput = {
|
|
3779
3779
|
...output,
|
|
3780
|
-
body: await
|
|
3780
|
+
body: await parseErrorBody(output.body, context),
|
|
3781
3781
|
};
|
|
3782
3782
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3783
3783
|
switch (errorCode) {
|
|
@@ -3832,7 +3832,7 @@ exports.deserializeAws_restJson1ListFacetAttributesCommand = deserializeAws_rest
|
|
|
3832
3832
|
const deserializeAws_restJson1ListFacetAttributesCommandError = async (output, context) => {
|
|
3833
3833
|
const parsedOutput = {
|
|
3834
3834
|
...output,
|
|
3835
|
-
body: await
|
|
3835
|
+
body: await parseErrorBody(output.body, context),
|
|
3836
3836
|
};
|
|
3837
3837
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3838
3838
|
switch (errorCode) {
|
|
@@ -3893,7 +3893,7 @@ exports.deserializeAws_restJson1ListFacetNamesCommand = deserializeAws_restJson1
|
|
|
3893
3893
|
const deserializeAws_restJson1ListFacetNamesCommandError = async (output, context) => {
|
|
3894
3894
|
const parsedOutput = {
|
|
3895
3895
|
...output,
|
|
3896
|
-
body: await
|
|
3896
|
+
body: await parseErrorBody(output.body, context),
|
|
3897
3897
|
};
|
|
3898
3898
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3899
3899
|
switch (errorCode) {
|
|
@@ -3951,7 +3951,7 @@ exports.deserializeAws_restJson1ListIncomingTypedLinksCommand = deserializeAws_r
|
|
|
3951
3951
|
const deserializeAws_restJson1ListIncomingTypedLinksCommandError = async (output, context) => {
|
|
3952
3952
|
const parsedOutput = {
|
|
3953
3953
|
...output,
|
|
3954
|
-
body: await
|
|
3954
|
+
body: await parseErrorBody(output.body, context),
|
|
3955
3955
|
};
|
|
3956
3956
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3957
3957
|
switch (errorCode) {
|
|
@@ -4015,7 +4015,7 @@ exports.deserializeAws_restJson1ListIndexCommand = deserializeAws_restJson1ListI
|
|
|
4015
4015
|
const deserializeAws_restJson1ListIndexCommandError = async (output, context) => {
|
|
4016
4016
|
const parsedOutput = {
|
|
4017
4017
|
...output,
|
|
4018
|
-
body: await
|
|
4018
|
+
body: await parseErrorBody(output.body, context),
|
|
4019
4019
|
};
|
|
4020
4020
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4021
4021
|
switch (errorCode) {
|
|
@@ -4082,7 +4082,7 @@ exports.deserializeAws_restJson1ListManagedSchemaArnsCommand = deserializeAws_re
|
|
|
4082
4082
|
const deserializeAws_restJson1ListManagedSchemaArnsCommandError = async (output, context) => {
|
|
4083
4083
|
const parsedOutput = {
|
|
4084
4084
|
...output,
|
|
4085
|
-
body: await
|
|
4085
|
+
body: await parseErrorBody(output.body, context),
|
|
4086
4086
|
};
|
|
4087
4087
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4088
4088
|
switch (errorCode) {
|
|
@@ -4134,7 +4134,7 @@ exports.deserializeAws_restJson1ListObjectAttributesCommand = deserializeAws_res
|
|
|
4134
4134
|
const deserializeAws_restJson1ListObjectAttributesCommandError = async (output, context) => {
|
|
4135
4135
|
const parsedOutput = {
|
|
4136
4136
|
...output,
|
|
4137
|
-
body: await
|
|
4137
|
+
body: await parseErrorBody(output.body, context),
|
|
4138
4138
|
};
|
|
4139
4139
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4140
4140
|
switch (errorCode) {
|
|
@@ -4198,7 +4198,7 @@ exports.deserializeAws_restJson1ListObjectChildrenCommand = deserializeAws_restJ
|
|
|
4198
4198
|
const deserializeAws_restJson1ListObjectChildrenCommandError = async (output, context) => {
|
|
4199
4199
|
const parsedOutput = {
|
|
4200
4200
|
...output,
|
|
4201
|
-
body: await
|
|
4201
|
+
body: await parseErrorBody(output.body, context),
|
|
4202
4202
|
};
|
|
4203
4203
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4204
4204
|
switch (errorCode) {
|
|
@@ -4262,7 +4262,7 @@ exports.deserializeAws_restJson1ListObjectParentPathsCommand = deserializeAws_re
|
|
|
4262
4262
|
const deserializeAws_restJson1ListObjectParentPathsCommandError = async (output, context) => {
|
|
4263
4263
|
const parsedOutput = {
|
|
4264
4264
|
...output,
|
|
4265
|
-
body: await
|
|
4265
|
+
body: await parseErrorBody(output.body, context),
|
|
4266
4266
|
};
|
|
4267
4267
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4268
4268
|
switch (errorCode) {
|
|
@@ -4326,7 +4326,7 @@ exports.deserializeAws_restJson1ListObjectParentsCommand = deserializeAws_restJs
|
|
|
4326
4326
|
const deserializeAws_restJson1ListObjectParentsCommandError = async (output, context) => {
|
|
4327
4327
|
const parsedOutput = {
|
|
4328
4328
|
...output,
|
|
4329
|
-
body: await
|
|
4329
|
+
body: await parseErrorBody(output.body, context),
|
|
4330
4330
|
};
|
|
4331
4331
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4332
4332
|
switch (errorCode) {
|
|
@@ -4390,7 +4390,7 @@ exports.deserializeAws_restJson1ListObjectPoliciesCommand = deserializeAws_restJ
|
|
|
4390
4390
|
const deserializeAws_restJson1ListObjectPoliciesCommandError = async (output, context) => {
|
|
4391
4391
|
const parsedOutput = {
|
|
4392
4392
|
...output,
|
|
4393
|
-
body: await
|
|
4393
|
+
body: await parseErrorBody(output.body, context),
|
|
4394
4394
|
};
|
|
4395
4395
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4396
4396
|
switch (errorCode) {
|
|
@@ -4451,7 +4451,7 @@ exports.deserializeAws_restJson1ListOutgoingTypedLinksCommand = deserializeAws_r
|
|
|
4451
4451
|
const deserializeAws_restJson1ListOutgoingTypedLinksCommandError = async (output, context) => {
|
|
4452
4452
|
const parsedOutput = {
|
|
4453
4453
|
...output,
|
|
4454
|
-
body: await
|
|
4454
|
+
body: await parseErrorBody(output.body, context),
|
|
4455
4455
|
};
|
|
4456
4456
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4457
4457
|
switch (errorCode) {
|
|
@@ -4515,7 +4515,7 @@ exports.deserializeAws_restJson1ListPolicyAttachmentsCommand = deserializeAws_re
|
|
|
4515
4515
|
const deserializeAws_restJson1ListPolicyAttachmentsCommandError = async (output, context) => {
|
|
4516
4516
|
const parsedOutput = {
|
|
4517
4517
|
...output,
|
|
4518
|
-
body: await
|
|
4518
|
+
body: await parseErrorBody(output.body, context),
|
|
4519
4519
|
};
|
|
4520
4520
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4521
4521
|
switch (errorCode) {
|
|
@@ -4579,7 +4579,7 @@ exports.deserializeAws_restJson1ListPublishedSchemaArnsCommand = deserializeAws_
|
|
|
4579
4579
|
const deserializeAws_restJson1ListPublishedSchemaArnsCommandError = async (output, context) => {
|
|
4580
4580
|
const parsedOutput = {
|
|
4581
4581
|
...output,
|
|
4582
|
-
body: await
|
|
4582
|
+
body: await parseErrorBody(output.body, context),
|
|
4583
4583
|
};
|
|
4584
4584
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4585
4585
|
switch (errorCode) {
|
|
@@ -4637,7 +4637,7 @@ exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_rest
|
|
|
4637
4637
|
const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
|
|
4638
4638
|
const parsedOutput = {
|
|
4639
4639
|
...output,
|
|
4640
|
-
body: await
|
|
4640
|
+
body: await parseErrorBody(output.body, context),
|
|
4641
4641
|
};
|
|
4642
4642
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4643
4643
|
switch (errorCode) {
|
|
@@ -4695,7 +4695,7 @@ exports.deserializeAws_restJson1ListTypedLinkFacetAttributesCommand = deserializ
|
|
|
4695
4695
|
const deserializeAws_restJson1ListTypedLinkFacetAttributesCommandError = async (output, context) => {
|
|
4696
4696
|
const parsedOutput = {
|
|
4697
4697
|
...output,
|
|
4698
|
-
body: await
|
|
4698
|
+
body: await parseErrorBody(output.body, context),
|
|
4699
4699
|
};
|
|
4700
4700
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4701
4701
|
switch (errorCode) {
|
|
@@ -4756,7 +4756,7 @@ exports.deserializeAws_restJson1ListTypedLinkFacetNamesCommand = deserializeAws_
|
|
|
4756
4756
|
const deserializeAws_restJson1ListTypedLinkFacetNamesCommandError = async (output, context) => {
|
|
4757
4757
|
const parsedOutput = {
|
|
4758
4758
|
...output,
|
|
4759
|
-
body: await
|
|
4759
|
+
body: await parseErrorBody(output.body, context),
|
|
4760
4760
|
};
|
|
4761
4761
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4762
4762
|
switch (errorCode) {
|
|
@@ -4814,7 +4814,7 @@ exports.deserializeAws_restJson1LookupPolicyCommand = deserializeAws_restJson1Lo
|
|
|
4814
4814
|
const deserializeAws_restJson1LookupPolicyCommandError = async (output, context) => {
|
|
4815
4815
|
const parsedOutput = {
|
|
4816
4816
|
...output,
|
|
4817
|
-
body: await
|
|
4817
|
+
body: await parseErrorBody(output.body, context),
|
|
4818
4818
|
};
|
|
4819
4819
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4820
4820
|
switch (errorCode) {
|
|
@@ -4872,7 +4872,7 @@ exports.deserializeAws_restJson1PublishSchemaCommand = deserializeAws_restJson1P
|
|
|
4872
4872
|
const deserializeAws_restJson1PublishSchemaCommandError = async (output, context) => {
|
|
4873
4873
|
const parsedOutput = {
|
|
4874
4874
|
...output,
|
|
4875
|
-
body: await
|
|
4875
|
+
body: await parseErrorBody(output.body, context),
|
|
4876
4876
|
};
|
|
4877
4877
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4878
4878
|
switch (errorCode) {
|
|
@@ -4927,7 +4927,7 @@ exports.deserializeAws_restJson1PutSchemaFromJsonCommand = deserializeAws_restJs
|
|
|
4927
4927
|
const deserializeAws_restJson1PutSchemaFromJsonCommandError = async (output, context) => {
|
|
4928
4928
|
const parsedOutput = {
|
|
4929
4929
|
...output,
|
|
4930
|
-
body: await
|
|
4930
|
+
body: await parseErrorBody(output.body, context),
|
|
4931
4931
|
};
|
|
4932
4932
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4933
4933
|
switch (errorCode) {
|
|
@@ -4979,7 +4979,7 @@ exports.deserializeAws_restJson1RemoveFacetFromObjectCommand = deserializeAws_re
|
|
|
4979
4979
|
const deserializeAws_restJson1RemoveFacetFromObjectCommandError = async (output, context) => {
|
|
4980
4980
|
const parsedOutput = {
|
|
4981
4981
|
...output,
|
|
4982
|
-
body: await
|
|
4982
|
+
body: await parseErrorBody(output.body, context),
|
|
4983
4983
|
};
|
|
4984
4984
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4985
4985
|
switch (errorCode) {
|
|
@@ -5034,7 +5034,7 @@ exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1Tag
|
|
|
5034
5034
|
const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
|
|
5035
5035
|
const parsedOutput = {
|
|
5036
5036
|
...output,
|
|
5037
|
-
body: await
|
|
5037
|
+
body: await parseErrorBody(output.body, context),
|
|
5038
5038
|
};
|
|
5039
5039
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5040
5040
|
switch (errorCode) {
|
|
@@ -5086,7 +5086,7 @@ exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1U
|
|
|
5086
5086
|
const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
|
|
5087
5087
|
const parsedOutput = {
|
|
5088
5088
|
...output,
|
|
5089
|
-
body: await
|
|
5089
|
+
body: await parseErrorBody(output.body, context),
|
|
5090
5090
|
};
|
|
5091
5091
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5092
5092
|
switch (errorCode) {
|
|
@@ -5138,7 +5138,7 @@ exports.deserializeAws_restJson1UpdateFacetCommand = deserializeAws_restJson1Upd
|
|
|
5138
5138
|
const deserializeAws_restJson1UpdateFacetCommandError = async (output, context) => {
|
|
5139
5139
|
const parsedOutput = {
|
|
5140
5140
|
...output,
|
|
5141
|
-
body: await
|
|
5141
|
+
body: await parseErrorBody(output.body, context),
|
|
5142
5142
|
};
|
|
5143
5143
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5144
5144
|
switch (errorCode) {
|
|
@@ -5199,7 +5199,7 @@ exports.deserializeAws_restJson1UpdateLinkAttributesCommand = deserializeAws_res
|
|
|
5199
5199
|
const deserializeAws_restJson1UpdateLinkAttributesCommandError = async (output, context) => {
|
|
5200
5200
|
const parsedOutput = {
|
|
5201
5201
|
...output,
|
|
5202
|
-
body: await
|
|
5202
|
+
body: await parseErrorBody(output.body, context),
|
|
5203
5203
|
};
|
|
5204
5204
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5205
5205
|
switch (errorCode) {
|
|
@@ -5257,7 +5257,7 @@ exports.deserializeAws_restJson1UpdateObjectAttributesCommand = deserializeAws_r
|
|
|
5257
5257
|
const deserializeAws_restJson1UpdateObjectAttributesCommandError = async (output, context) => {
|
|
5258
5258
|
const parsedOutput = {
|
|
5259
5259
|
...output,
|
|
5260
|
-
body: await
|
|
5260
|
+
body: await parseErrorBody(output.body, context),
|
|
5261
5261
|
};
|
|
5262
5262
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5263
5263
|
switch (errorCode) {
|
|
@@ -5318,7 +5318,7 @@ exports.deserializeAws_restJson1UpdateSchemaCommand = deserializeAws_restJson1Up
|
|
|
5318
5318
|
const deserializeAws_restJson1UpdateSchemaCommandError = async (output, context) => {
|
|
5319
5319
|
const parsedOutput = {
|
|
5320
5320
|
...output,
|
|
5321
|
-
body: await
|
|
5321
|
+
body: await parseErrorBody(output.body, context),
|
|
5322
5322
|
};
|
|
5323
5323
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5324
5324
|
switch (errorCode) {
|
|
@@ -5367,7 +5367,7 @@ exports.deserializeAws_restJson1UpdateTypedLinkFacetCommand = deserializeAws_res
|
|
|
5367
5367
|
const deserializeAws_restJson1UpdateTypedLinkFacetCommandError = async (output, context) => {
|
|
5368
5368
|
const parsedOutput = {
|
|
5369
5369
|
...output,
|
|
5370
|
-
body: await
|
|
5370
|
+
body: await parseErrorBody(output.body, context),
|
|
5371
5371
|
};
|
|
5372
5372
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5373
5373
|
switch (errorCode) {
|
|
@@ -5434,7 +5434,7 @@ exports.deserializeAws_restJson1UpgradeAppliedSchemaCommand = deserializeAws_res
|
|
|
5434
5434
|
const deserializeAws_restJson1UpgradeAppliedSchemaCommandError = async (output, context) => {
|
|
5435
5435
|
const parsedOutput = {
|
|
5436
5436
|
...output,
|
|
5437
|
-
body: await
|
|
5437
|
+
body: await parseErrorBody(output.body, context),
|
|
5438
5438
|
};
|
|
5439
5439
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5440
5440
|
switch (errorCode) {
|
|
@@ -5492,7 +5492,7 @@ exports.deserializeAws_restJson1UpgradePublishedSchemaCommand = deserializeAws_r
|
|
|
5492
5492
|
const deserializeAws_restJson1UpgradePublishedSchemaCommandError = async (output, context) => {
|
|
5493
5493
|
const parsedOutput = {
|
|
5494
5494
|
...output,
|
|
5495
|
-
body: await
|
|
5495
|
+
body: await parseErrorBody(output.body, context),
|
|
5496
5496
|
};
|
|
5497
5497
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5498
5498
|
switch (errorCode) {
|
|
@@ -7446,6 +7446,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
7446
7446
|
}
|
|
7447
7447
|
return {};
|
|
7448
7448
|
});
|
|
7449
|
+
const parseErrorBody = async (errorBody, context) => {
|
|
7450
|
+
var _a;
|
|
7451
|
+
const value = await parseBody(errorBody, context);
|
|
7452
|
+
value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
|
|
7453
|
+
return value;
|
|
7454
|
+
};
|
|
7449
7455
|
const loadRestJsonErrorCode = (output, data) => {
|
|
7450
7456
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
7451
7457
|
const sanitizeErrorCode = (rawValue) => {
|