@@ -71,6 +71,10 @@ import {
7171 OperationWithRequiredMembersCommandInput ,
7272 OperationWithRequiredMembersCommandOutput ,
7373} from "../commands/OperationWithRequiredMembersCommand" ;
74+ import {
75+ OperationWithRequiredMembersWithDefaultsCommandInput ,
76+ OperationWithRequiredMembersWithDefaultsCommandOutput ,
77+ } from "../commands/OperationWithRequiredMembersWithDefaultsCommand" ;
7478import {
7579 PutWithContentEncodingCommandInput ,
7680 PutWithContentEncodingCommandOutput ,
@@ -101,6 +105,7 @@ import {
101105 OperationWithDefaultsOutput ,
102106 OperationWithNestedStructureInput ,
103107 OperationWithRequiredMembersOutput ,
108+ OperationWithRequiredMembersWithDefaultsOutput ,
104109 PutWithContentEncodingInput ,
105110 SimpleScalarPropertiesInput ,
106111 SimpleScalarPropertiesOutput ,
@@ -276,6 +281,18 @@ export const se_OperationWithRequiredMembersCommand = async (
276281 return buildHttpRpcRequest ( context , headers , "/" , undefined , body ) ;
277282} ;
278283
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+
279296/**
280297 * serializeAws_json1_0PutWithContentEncodingCommand
281298 */
@@ -530,6 +547,26 @@ export const de_OperationWithRequiredMembersCommand = async (
530547 return response ;
531548} ;
532549
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+
533570/**
534571 * deserializeAws_json1_0PutWithContentEncodingCommand
535572 */
@@ -918,6 +955,31 @@ const de_OperationWithRequiredMembersOutput = (
918955 } ) as any ;
919956} ;
920957
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+
921983// de_RequiredStringList omitted.
922984
923985// de_RequiredStringMap omitted.
0 commit comments