Skip to content

Commit 8bf39a3

Browse files
committed
chore(codegen): regenerate with Smithy 1.10
1 parent d935bb2 commit 8bf39a3

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

protocol_tests/aws-restjson/models/models_0.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export interface AllQueryStringTypesInput {
3333
queryTimestampList?: Date[];
3434
queryEnum?: FooEnum | string;
3535
queryEnumList?: (FooEnum | string)[];
36-
queryParamsMapOfStrings?: { [key: string]: string };
36+
queryParamsMapOfStringList?: { [key: string]: string[] };
3737
}
3838

3939
export namespace AllQueryStringTypesInput {

protocol_tests/aws-restjson/protocols/Aws_restJson1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export const serializeAws_restJson1AllQueryStringTypesCommand = async (
168168
let resolvedPath =
169169
`${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/AllQueryStringTypesInput";
170170
const query: any = {
171-
...(input.queryParamsMapOfStrings !== undefined && input.queryParamsMapOfStrings),
171+
...(input.queryParamsMapOfStringList !== undefined && input.queryParamsMapOfStringList),
172172
...(input.queryString !== undefined && { String: input.queryString }),
173173
...(input.queryStringList !== undefined && { StringList: (input.queryStringList || []).map((_entry) => _entry) }),
174174
...(input.queryStringSet !== undefined && {

protocol_tests/aws-restjson/tests/functional/restjson1.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -304,10 +304,10 @@ it("RestJsonQueryStringMap:Request", async () => {
304304
});
305305

306306
const command = new AllQueryStringTypesCommand({
307-
queryParamsMapOfStrings: {
308-
QueryParamsStringKeyA: "Foo",
307+
queryParamsMapOfStringList: {
308+
QueryParamsStringKeyA: ["Foo"],
309309

310-
QueryParamsStringKeyB: "Bar",
310+
QueryParamsStringKeyB: ["Bar"],
311311
} as any,
312312
} as any);
313313
try {

0 commit comments

Comments
 (0)