Skip to content

Commit 0141d06

Browse files
AllanZhengYPtrivikr
authored andcommitted
chore: codegen for several bug fixings (aws#926)
* fix: return empty array or map instead of undefined ([aws#885](aws#885)) * fix: allow RPC protocols to set the body without input ([67c733a](smithy-lang/smithy-typescript@67c733a)) * fix: use extended URI encoding([smtihy-typescript#130](https://github.com/awslabs/smithy-typescript/pull/130))([#915](https://github.com/aws/aws-sdk-js-v3/pull/915)) * fix: add bodies for undefined query/ec2 inputs([aws#917](aws#917)) * fix: collect unused stream bodies([smithy-typescript#133](smithy-lang/smithy-typescript#133)) * fix: query list encoding([smithy-typescript#134](smithy-lang/smithy-typescript#134)) * fix: handle flattened xml with slf-closed tag([aws#919](aws#919)) * fix: update smithy-client import strategy([smithy-typescript#135](smithy-lang/smithy-typescript#135))
1 parent 009ac4a commit 0141d06

File tree

357 files changed

+37679
-33432
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

357 files changed

+37679
-33432
lines changed

clients/client-accessanalyzer/models/index.ts

Lines changed: 58 additions & 57 deletions
Large diffs are not rendered by default.

clients/client-accessanalyzer/protocols/Aws_restJson1_1.ts

Lines changed: 76 additions & 40 deletions
Large diffs are not rendered by default.

clients/client-acm-pca/models/index.ts

Lines changed: 79 additions & 76 deletions
Large diffs are not rendered by default.

clients/client-acm-pca/protocols/Aws_json1_1.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,7 @@ export async function deserializeAws_json1_1CreatePermissionCommand(
631631
if (output.statusCode >= 400) {
632632
return deserializeAws_json1_1CreatePermissionCommandError(output, context);
633633
}
634+
await collectBody(output.body, context);
634635
const response: CreatePermissionCommandOutput = {
635636
$metadata: deserializeMetadata(output)
636637
};
@@ -720,6 +721,7 @@ export async function deserializeAws_json1_1DeleteCertificateAuthorityCommand(
720721
context
721722
);
722723
}
724+
await collectBody(output.body, context);
723725
const response: DeleteCertificateAuthorityCommandOutput = {
724726
$metadata: deserializeMetadata(output)
725727
};
@@ -792,6 +794,7 @@ export async function deserializeAws_json1_1DeletePermissionCommand(
792794
if (output.statusCode >= 400) {
793795
return deserializeAws_json1_1DeletePermissionCommandError(output, context);
794796
}
797+
await collectBody(output.body, context);
795798
const response: DeletePermissionCommandOutput = {
796799
$metadata: deserializeMetadata(output)
797800
};
@@ -1262,6 +1265,7 @@ export async function deserializeAws_json1_1ImportCertificateAuthorityCertificat
12621265
context
12631266
);
12641267
}
1268+
await collectBody(output.body, context);
12651269
const response: ImportCertificateAuthorityCertificateCommandOutput = {
12661270
$metadata: deserializeMetadata(output)
12671271
};
@@ -1679,6 +1683,7 @@ export async function deserializeAws_json1_1RestoreCertificateAuthorityCommand(
16791683
context
16801684
);
16811685
}
1686+
await collectBody(output.body, context);
16821687
const response: RestoreCertificateAuthorityCommandOutput = {
16831688
$metadata: deserializeMetadata(output)
16841689
};
@@ -1744,6 +1749,7 @@ export async function deserializeAws_json1_1RevokeCertificateCommand(
17441749
if (output.statusCode >= 400) {
17451750
return deserializeAws_json1_1RevokeCertificateCommandError(output, context);
17461751
}
1752+
await collectBody(output.body, context);
17471753
const response: RevokeCertificateCommandOutput = {
17481754
$metadata: deserializeMetadata(output)
17491755
};
@@ -1854,6 +1860,7 @@ export async function deserializeAws_json1_1TagCertificateAuthorityCommand(
18541860
context
18551861
);
18561862
}
1863+
await collectBody(output.body, context);
18571864
const response: TagCertificateAuthorityCommandOutput = {
18581865
$metadata: deserializeMetadata(output)
18591866
};
@@ -1936,6 +1943,7 @@ export async function deserializeAws_json1_1UntagCertificateAuthorityCommand(
19361943
context
19371944
);
19381945
}
1946+
await collectBody(output.body, context);
19391947
const response: UntagCertificateAuthorityCommandOutput = {
19401948
$metadata: deserializeMetadata(output)
19411949
};
@@ -2011,6 +2019,7 @@ export async function deserializeAws_json1_1UpdateCertificateAuthorityCommand(
20112019
context
20122020
);
20132021
}
2022+
await collectBody(output.body, context);
20142023
const response: UpdateCertificateAuthorityCommandOutput = {
20152024
$metadata: deserializeMetadata(output)
20162025
};

0 commit comments

Comments
 (0)