@@ -176,7 +176,7 @@ it("Ec2QueryEmptyInputAndEmptyOutput:Request", async () => {
176176 expect ( r . body ) . toBeDefined ( ) ;
177177 const bodyString = `Action=EmptyInputAndEmptyOutput
178178 &Version=2020-01-08` ;
179- const unequalParts : any = compareEquivalentBodies ( bodyString , r . body . toString ( ) ) ;
179+ const unequalParts : any = compareEquivalentFormUrlencodedBodies ( bodyString , r . body . toString ( ) ) ;
180180 expect ( unequalParts ) . toBeUndefined ( ) ;
181181 }
182182} ) ;
@@ -449,7 +449,7 @@ it("Ec2NestedStructures:Request", async () => {
449449 &Nested.StringArg=foo
450450 &Nested.OtherArg=true
451451 &Nested.RecursiveArg.StringArg=baz` ;
452- const unequalParts : any = compareEquivalentBodies ( bodyString , r . body . toString ( ) ) ;
452+ const unequalParts : any = compareEquivalentFormUrlencodedBodies ( bodyString , r . body . toString ( ) ) ;
453453 expect ( unequalParts ) . toBeUndefined ( ) ;
454454 }
455455} ) ;
@@ -483,7 +483,7 @@ it("Ec2QueryNoInputAndOutput:Request", async () => {
483483 expect ( r . body ) . toBeDefined ( ) ;
484484 const bodyString = `Action=NoInputAndOutput
485485 &Version=2020-01-08` ;
486- const unequalParts : any = compareEquivalentBodies ( bodyString , r . body . toString ( ) ) ;
486+ const unequalParts : any = compareEquivalentFormUrlencodedBodies ( bodyString , r . body . toString ( ) ) ;
487487 expect ( unequalParts ) . toBeUndefined ( ) ;
488488 }
489489} ) ;
@@ -553,7 +553,7 @@ it("Ec2ProtocolIdempotencyTokenAutoFill:Request", async () => {
553553 const bodyString = `Action=QueryIdempotencyTokenAutoFill
554554 &Version=2020-01-08
555555 &Token=00000000-0000-4000-8000-000000000000` ;
556- const unequalParts : any = compareEquivalentBodies ( bodyString , r . body . toString ( ) ) ;
556+ const unequalParts : any = compareEquivalentFormUrlencodedBodies ( bodyString , r . body . toString ( ) ) ;
557557 expect ( unequalParts ) . toBeUndefined ( ) ;
558558 }
559559} ) ;
@@ -591,7 +591,7 @@ it("Ec2ProtocolIdempotencyTokenAutoFillIsSet:Request", async () => {
591591 const bodyString = `Action=QueryIdempotencyTokenAutoFill
592592 &Version=2020-01-08
593593 &Token=00000000-0000-4000-8000-000000000123` ;
594- const unequalParts : any = compareEquivalentBodies ( bodyString , r . body . toString ( ) ) ;
594+ const unequalParts : any = compareEquivalentFormUrlencodedBodies ( bodyString , r . body . toString ( ) ) ;
595595 expect ( unequalParts ) . toBeUndefined ( ) ;
596596 }
597597} ) ;
@@ -642,7 +642,7 @@ it("Ec2Lists:Request", async () => {
642642 &ListArg.3=baz
643643 &ComplexListArg.1.Hi=hello
644644 &ComplexListArg.2.Hi=hola` ;
645- const unequalParts : any = compareEquivalentBodies ( bodyString , r . body . toString ( ) ) ;
645+ const unequalParts : any = compareEquivalentFormUrlencodedBodies ( bodyString , r . body . toString ( ) ) ;
646646 expect ( unequalParts ) . toBeUndefined ( ) ;
647647 }
648648} ) ;
@@ -678,7 +678,7 @@ it("Ec2EmptyQueryLists:Request", async () => {
678678 expect ( r . body ) . toBeDefined ( ) ;
679679 const bodyString = `Action=QueryLists
680680 &Version=2020-01-08` ;
681- const unequalParts : any = compareEquivalentBodies ( bodyString , r . body . toString ( ) ) ;
681+ const unequalParts : any = compareEquivalentFormUrlencodedBodies ( bodyString , r . body . toString ( ) ) ;
682682 expect ( unequalParts ) . toBeUndefined ( ) ;
683683 }
684684} ) ;
@@ -716,7 +716,7 @@ it("Ec2ListArgWithXmlNameMember:Request", async () => {
716716 &Version=2020-01-08
717717 &ListArgWithXmlNameMember.1=A
718718 &ListArgWithXmlNameMember.2=B` ;
719- const unequalParts : any = compareEquivalentBodies ( bodyString , r . body . toString ( ) ) ;
719+ const unequalParts : any = compareEquivalentFormUrlencodedBodies ( bodyString , r . body . toString ( ) ) ;
720720 expect ( unequalParts ) . toBeUndefined ( ) ;
721721 }
722722} ) ;
@@ -754,7 +754,7 @@ it("Ec2ListMemberWithXmlName:Request", async () => {
754754 &Version=2020-01-08
755755 &Hi.1=A
756756 &Hi.2=B` ;
757- const unequalParts : any = compareEquivalentBodies ( bodyString , r . body . toString ( ) ) ;
757+ const unequalParts : any = compareEquivalentFormUrlencodedBodies ( bodyString , r . body . toString ( ) ) ;
758758 expect ( unequalParts ) . toBeUndefined ( ) ;
759759 }
760760} ) ;
@@ -798,7 +798,7 @@ it("Ec2TimestampsInput:Request", async () => {
798798 &NormalFormat=2015-01-25T08%3A00%3A00Z
799799 &EpochMember=1422172800
800800 &EpochTarget=1422172800` ;
801- const unequalParts : any = compareEquivalentBodies ( bodyString , r . body . toString ( ) ) ;
801+ const unequalParts : any = compareEquivalentFormUrlencodedBodies ( bodyString , r . body . toString ( ) ) ;
802802 expect ( unequalParts ) . toBeUndefined ( ) ;
803803 }
804804} ) ;
@@ -906,7 +906,7 @@ it("Ec2SimpleInputParamsStrings:Request", async () => {
906906 &Version=2020-01-08
907907 &Foo=val1
908908 &Bar=val2` ;
909- const unequalParts : any = compareEquivalentBodies ( bodyString , r . body . toString ( ) ) ;
909+ const unequalParts : any = compareEquivalentFormUrlencodedBodies ( bodyString , r . body . toString ( ) ) ;
910910 expect ( unequalParts ) . toBeUndefined ( ) ;
911911 }
912912} ) ;
@@ -947,7 +947,7 @@ it("Ec2SimpleInputParamsStringAndBooleanTrue:Request", async () => {
947947 &Version=2020-01-08
948948 &Foo=val1
949949 &Baz=true` ;
950- const unequalParts : any = compareEquivalentBodies ( bodyString , r . body . toString ( ) ) ;
950+ const unequalParts : any = compareEquivalentFormUrlencodedBodies ( bodyString , r . body . toString ( ) ) ;
951951 expect ( unequalParts ) . toBeUndefined ( ) ;
952952 }
953953} ) ;
@@ -985,7 +985,7 @@ it("Ec2SimpleInputParamsStringsAndBooleanFalse:Request", async () => {
985985 const bodyString = `Action=SimpleInputParams
986986 &Version=2020-01-08
987987 &Baz=false` ;
988- const unequalParts : any = compareEquivalentBodies ( bodyString , r . body . toString ( ) ) ;
988+ const unequalParts : any = compareEquivalentFormUrlencodedBodies ( bodyString , r . body . toString ( ) ) ;
989989 expect ( unequalParts ) . toBeUndefined ( ) ;
990990 }
991991} ) ;
@@ -1023,7 +1023,7 @@ it("Ec2SimpleInputParamsInteger:Request", async () => {
10231023 const bodyString = `Action=SimpleInputParams
10241024 &Version=2020-01-08
10251025 &Bam=10` ;
1026- const unequalParts : any = compareEquivalentBodies ( bodyString , r . body . toString ( ) ) ;
1026+ const unequalParts : any = compareEquivalentFormUrlencodedBodies ( bodyString , r . body . toString ( ) ) ;
10271027 expect ( unequalParts ) . toBeUndefined ( ) ;
10281028 }
10291029} ) ;
@@ -1061,7 +1061,7 @@ it("Ec2SimpleInputParamsFloat:Request", async () => {
10611061 const bodyString = `Action=SimpleInputParams
10621062 &Version=2020-01-08
10631063 &Boo=10.8` ;
1064- const unequalParts : any = compareEquivalentBodies ( bodyString , r . body . toString ( ) ) ;
1064+ const unequalParts : any = compareEquivalentFormUrlencodedBodies ( bodyString , r . body . toString ( ) ) ;
10651065 expect ( unequalParts ) . toBeUndefined ( ) ;
10661066 }
10671067} ) ;
@@ -1099,7 +1099,7 @@ it("Ec2SimpleInputParamsBlob:Request", async () => {
10991099 const bodyString = `Action=SimpleInputParams
11001100 &Version=2020-01-08
11011101 &Qux=dmFsdWU%3D` ;
1102- const unequalParts : any = compareEquivalentBodies ( bodyString , r . body . toString ( ) ) ;
1102+ const unequalParts : any = compareEquivalentFormUrlencodedBodies ( bodyString , r . body . toString ( ) ) ;
11031103 expect ( unequalParts ) . toBeUndefined ( ) ;
11041104 }
11051105} ) ;
@@ -1137,7 +1137,7 @@ it("Ec2Enums:Request", async () => {
11371137 const bodyString = `Action=SimpleInputParams
11381138 &Version=2020-01-08
11391139 &FooEnum=Foo` ;
1140- const unequalParts : any = compareEquivalentBodies ( bodyString , r . body . toString ( ) ) ;
1140+ const unequalParts : any = compareEquivalentFormUrlencodedBodies ( bodyString , r . body . toString ( ) ) ;
11411141 expect ( unequalParts ) . toBeUndefined ( ) ;
11421142 }
11431143} ) ;
@@ -1175,7 +1175,7 @@ it("Ec2Query:Request", async () => {
11751175 const bodyString = `Action=SimpleInputParams
11761176 &Version=2020-01-08
11771177 &A=Hi` ;
1178- const unequalParts : any = compareEquivalentBodies ( bodyString , r . body . toString ( ) ) ;
1178+ const unequalParts : any = compareEquivalentFormUrlencodedBodies ( bodyString , r . body . toString ( ) ) ;
11791179 expect ( unequalParts ) . toBeUndefined ( ) ;
11801180 }
11811181} ) ;
@@ -1213,7 +1213,7 @@ it("Ec2QueryIsPreferred:Request", async () => {
12131213 const bodyString = `Action=SimpleInputParams
12141214 &Version=2020-01-08
12151215 &B=Hi` ;
1216- const unequalParts : any = compareEquivalentBodies ( bodyString , r . body . toString ( ) ) ;
1216+ const unequalParts : any = compareEquivalentFormUrlencodedBodies ( bodyString , r . body . toString ( ) ) ;
12171217 expect ( unequalParts ) . toBeUndefined ( ) ;
12181218 }
12191219} ) ;
@@ -1251,7 +1251,7 @@ it("Ec2XmlNameIsUppercased:Request", async () => {
12511251 const bodyString = `Action=SimpleInputParams
12521252 &Version=2020-01-08
12531253 &C=Hi` ;
1254- const unequalParts : any = compareEquivalentBodies ( bodyString , r . body . toString ( ) ) ;
1254+ const unequalParts : any = compareEquivalentFormUrlencodedBodies ( bodyString , r . body . toString ( ) ) ;
12551255 expect ( unequalParts ) . toBeUndefined ( ) ;
12561256 }
12571257} ) ;
@@ -1932,7 +1932,7 @@ it("Ec2XmlTimestampsWithHttpDateFormat:Response", async () => {
19321932 * Returns a map of key names that were un-equal to value objects showing the
19331933 * discrepancies between the components.
19341934 */
1935- const compareEquivalentBodies = ( expectedBody : string , generatedBody : string ) : Object => {
1935+ const compareEquivalentFormUrlencodedBodies = ( expectedBody : string , generatedBody : string ) : Object => {
19361936 const fromEntries = ( components : string [ ] [ ] ) : { [ key : string ] : string } => {
19371937 const parts : { [ key : string ] : string } = { } ;
19381938
0 commit comments