File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -150,6 +150,7 @@ export const serializeAws_restJson1AllQueryStringTypesCommand = async (
150
150
const headers : any = { } ;
151
151
let resolvedPath = "/AllQueryStringTypesInput" ;
152
152
const query : any = {
153
+ ...( input . queryParamsMapOfStrings !== undefined && input . queryParamsMapOfStrings ) ,
153
154
...( input . queryString !== undefined && { String : input . queryString } ) ,
154
155
...( input . queryStringList !== undefined && { StringList : ( input . queryStringList || [ ] ) . map ( ( _entry ) => _entry ) } ) ,
155
156
...( input . queryStringSet !== undefined && {
@@ -1233,6 +1234,7 @@ export const serializeAws_restJson1QueryParamsAsStringListMapCommand = async (
1233
1234
const headers : any = { } ;
1234
1235
let resolvedPath = "/StringListMap" ;
1235
1236
const query : any = {
1237
+ ...( input . foo !== undefined && input . foo ) ,
1236
1238
...( input . qux !== undefined && { corge : input . qux } ) ,
1237
1239
} ;
1238
1240
let body : any ;
@@ -1256,6 +1258,7 @@ export const serializeAws_restJson1QueryPrecedenceCommand = async (
1256
1258
const headers : any = { } ;
1257
1259
let resolvedPath = "/Precedence" ;
1258
1260
const query : any = {
1261
+ ...( input . baz !== undefined && input . baz ) ,
1259
1262
...( input . foo !== undefined && { bar : input . foo } ) ,
1260
1263
} ;
1261
1264
let body : any ;
Original file line number Diff line number Diff line change @@ -173,6 +173,7 @@ export const serializeAws_restXmlAllQueryStringTypesCommand = async (
173
173
const headers : any = { } ;
174
174
let resolvedPath = "/AllQueryStringTypesInput" ;
175
175
const query : any = {
176
+ ...( input . queryParamsMapOfStrings !== undefined && input . queryParamsMapOfStrings ) ,
176
177
...( input . queryString !== undefined && { String : input . queryString } ) ,
177
178
...( input . queryStringList !== undefined && { StringList : ( input . queryStringList || [ ] ) . map ( ( _entry ) => _entry ) } ) ,
178
179
...( input . queryStringSet !== undefined && {
@@ -1148,6 +1149,7 @@ export const serializeAws_restXmlQueryParamsAsStringListMapCommand = async (
1148
1149
const headers : any = { } ;
1149
1150
let resolvedPath = "/StringListMap" ;
1150
1151
const query : any = {
1152
+ ...( input . foo !== undefined && input . foo ) ,
1151
1153
...( input . qux !== undefined && { corge : input . qux } ) ,
1152
1154
} ;
1153
1155
let body : any ;
@@ -1171,6 +1173,7 @@ export const serializeAws_restXmlQueryPrecedenceCommand = async (
1171
1173
const headers : any = { } ;
1172
1174
let resolvedPath = "/Precedence" ;
1173
1175
const query : any = {
1176
+ ...( input . baz !== undefined && input . baz ) ,
1174
1177
...( input . foo !== undefined && { bar : input . foo } ) ,
1175
1178
} ;
1176
1179
let body : any ;
You can’t perform that action at this time.
0 commit comments