@@ -71,6 +71,10 @@ import {
71
71
OperationWithRequiredMembersCommandInput ,
72
72
OperationWithRequiredMembersCommandOutput ,
73
73
} from "../commands/OperationWithRequiredMembersCommand" ;
74
+ import {
75
+ OperationWithRequiredMembersWithDefaultsCommandInput ,
76
+ OperationWithRequiredMembersWithDefaultsCommandOutput ,
77
+ } from "../commands/OperationWithRequiredMembersWithDefaultsCommand" ;
74
78
import {
75
79
PutWithContentEncodingCommandInput ,
76
80
PutWithContentEncodingCommandOutput ,
@@ -101,6 +105,7 @@ import {
101
105
OperationWithDefaultsOutput ,
102
106
OperationWithNestedStructureInput ,
103
107
OperationWithRequiredMembersOutput ,
108
+ OperationWithRequiredMembersWithDefaultsOutput ,
104
109
PutWithContentEncodingInput ,
105
110
SimpleScalarPropertiesInput ,
106
111
SimpleScalarPropertiesOutput ,
@@ -276,6 +281,18 @@ export const se_OperationWithRequiredMembersCommand = async (
276
281
return buildHttpRpcRequest ( context , headers , "/" , undefined , body ) ;
277
282
} ;
278
283
284
+ /**
285
+ * serializeAws_json1_0OperationWithRequiredMembersWithDefaultsCommand
286
+ */
287
+ export const se_OperationWithRequiredMembersWithDefaultsCommand = async (
288
+ input : OperationWithRequiredMembersWithDefaultsCommandInput ,
289
+ context : __SerdeContext
290
+ ) : Promise < __HttpRequest > => {
291
+ const headers : __HeaderBag = sharedHeaders ( "OperationWithRequiredMembersWithDefaults" ) ;
292
+ const body = "{}" ;
293
+ return buildHttpRpcRequest ( context , headers , "/" , undefined , body ) ;
294
+ } ;
295
+
279
296
/**
280
297
* serializeAws_json1_0PutWithContentEncodingCommand
281
298
*/
@@ -530,6 +547,26 @@ export const de_OperationWithRequiredMembersCommand = async (
530
547
return response ;
531
548
} ;
532
549
550
+ /**
551
+ * deserializeAws_json1_0OperationWithRequiredMembersWithDefaultsCommand
552
+ */
553
+ export const de_OperationWithRequiredMembersWithDefaultsCommand = async (
554
+ output : __HttpResponse ,
555
+ context : __SerdeContext
556
+ ) : Promise < OperationWithRequiredMembersWithDefaultsCommandOutput > => {
557
+ if ( output . statusCode >= 300 ) {
558
+ return de_CommandError ( output , context ) ;
559
+ }
560
+ const data : any = await parseBody ( output . body , context ) ;
561
+ let contents : any = { } ;
562
+ contents = de_OperationWithRequiredMembersWithDefaultsOutput ( data , context ) ;
563
+ const response : OperationWithRequiredMembersWithDefaultsCommandOutput = {
564
+ $metadata : deserializeMetadata ( output ) ,
565
+ ...contents ,
566
+ } ;
567
+ return response ;
568
+ } ;
569
+
533
570
/**
534
571
* deserializeAws_json1_0PutWithContentEncodingCommand
535
572
*/
@@ -918,6 +955,31 @@ const de_OperationWithRequiredMembersOutput = (
918
955
} ) as any ;
919
956
} ;
920
957
958
+ /**
959
+ * deserializeAws_json1_0OperationWithRequiredMembersWithDefaultsOutput
960
+ */
961
+ const de_OperationWithRequiredMembersWithDefaultsOutput = (
962
+ output : any ,
963
+ context : __SerdeContext
964
+ ) : OperationWithRequiredMembersWithDefaultsOutput => {
965
+ return take ( output , {
966
+ requiredBlob : context . base64Decoder ,
967
+ requiredBoolean : __expectBoolean ,
968
+ requiredByte : __expectByte ,
969
+ requiredDouble : __limitedParseDouble ,
970
+ requiredEnum : __expectString ,
971
+ requiredFloat : __limitedParseFloat32 ,
972
+ requiredIntEnum : __expectInt32 ,
973
+ requiredInteger : __expectInt32 ,
974
+ requiredList : _json ,
975
+ requiredLong : __expectLong ,
976
+ requiredMap : _json ,
977
+ requiredShort : __expectShort ,
978
+ requiredString : __expectString ,
979
+ requiredTimestamp : ( _ : any ) => __expectNonNull ( __parseEpochTimestamp ( __expectNumber ( _ ) ) ) ,
980
+ } ) as any ;
981
+ } ;
982
+
921
983
// de_RequiredStringList omitted.
922
984
923
985
// de_RequiredStringMap omitted.
0 commit comments