File tree Expand file tree Collapse file tree 4 files changed +12
-16
lines changed Expand file tree Collapse file tree 4 files changed +12
-16
lines changed Original file line number Diff line number Diff line change @@ -1838,7 +1838,7 @@ const deserializeAws_ec2XmlEnumsOutput = (
1838
1838
contents . fooEnumMap = deserializeAws_ec2FooEnumMap ( wrappedItem , context ) ;
1839
1839
}
1840
1840
if ( output . fooEnumSet === "" ) {
1841
- contents . fooEnumSet = new Set ( [ ] ) ;
1841
+ contents . fooEnumSet = [ ] ;
1842
1842
}
1843
1843
if (
1844
1844
output [ "fooEnumSet" ] !== undefined &&
@@ -1982,7 +1982,7 @@ const deserializeAws_ec2XmlListsOutput = (
1982
1982
contents . stringList = deserializeAws_ec2StringList ( wrappedItem , context ) ;
1983
1983
}
1984
1984
if ( output . stringSet === "" ) {
1985
- contents . stringSet = new Set ( [ ] ) ;
1985
+ contents . stringSet = [ ] ;
1986
1986
}
1987
1987
if (
1988
1988
output [ "stringSet" ] !== undefined &&
Original file line number Diff line number Diff line change @@ -2373,7 +2373,7 @@ const deserializeAws_queryXmlEnumsOutput = (
2373
2373
contents . fooEnumMap = deserializeAws_queryFooEnumMap ( wrappedItem , context ) ;
2374
2374
}
2375
2375
if ( output . fooEnumSet === "" ) {
2376
- contents . fooEnumSet = new Set ( [ ] ) ;
2376
+ contents . fooEnumSet = [ ] ;
2377
2377
}
2378
2378
if (
2379
2379
output [ "fooEnumSet" ] !== undefined &&
@@ -2523,7 +2523,7 @@ const deserializeAws_queryXmlListsOutput = (
2523
2523
contents . stringList = deserializeAws_queryStringList ( wrappedItem , context ) ;
2524
2524
}
2525
2525
if ( output . stringSet === "" ) {
2526
- contents . stringSet = new Set ( [ ] ) ;
2526
+ contents . stringSet = [ ] ;
2527
2527
}
2528
2528
if (
2529
2529
output [ "stringSet" ] !== undefined &&
Original file line number Diff line number Diff line change @@ -2113,11 +2113,9 @@ export async function deserializeAws_restJson1_1InputAndOutputWithHeadersCommand
2113
2113
. map ( _entry => _entry . trim ( ) ) ;
2114
2114
}
2115
2115
if ( output . headers [ "x-stringset" ] !== undefined ) {
2116
- contents . headerStringSet = new Set (
2117
- ( output . headers [ "x-stringset" ] || "" )
2118
- . split ( "," )
2119
- . map ( _entry => _entry . trim ( ) )
2120
- ) ;
2116
+ contents . headerStringSet = ( output . headers [ "x-stringset" ] || "" )
2117
+ . split ( "," )
2118
+ . map ( _entry => _entry . trim ( ) ) ;
2121
2119
}
2122
2120
if ( output . headers [ "x-timestamplist" ] !== undefined ) {
2123
2121
contents . headerTimestampList = __splitEvery (
Original file line number Diff line number Diff line change @@ -2835,11 +2835,9 @@ export async function deserializeAws_restXmlInputAndOutputWithHeadersCommand(
2835
2835
. map ( _entry => _entry . trim ( ) ) ;
2836
2836
}
2837
2837
if ( output . headers [ "x-stringset" ] !== undefined ) {
2838
- contents . headerStringSet = new Set (
2839
- ( output . headers [ "x-stringset" ] || "" )
2840
- . split ( "," )
2841
- . map ( _entry => _entry . trim ( ) )
2842
- ) ;
2838
+ contents . headerStringSet = ( output . headers [ "x-stringset" ] || "" )
2839
+ . split ( "," )
2840
+ . map ( _entry => _entry . trim ( ) ) ;
2843
2841
}
2844
2842
if ( output . headers [ "x-timestamplist" ] !== undefined ) {
2845
2843
contents . headerTimestampList = __splitEvery (
@@ -3678,7 +3676,7 @@ export async function deserializeAws_restXmlXmlEnumsCommand(
3678
3676
) ;
3679
3677
}
3680
3678
if ( data . fooEnumSet === "" ) {
3681
- contents . fooEnumSet = new Set ( [ ] ) ;
3679
+ contents . fooEnumSet = [ ] ;
3682
3680
}
3683
3681
if (
3684
3682
data [ "fooEnumSet" ] !== undefined &&
@@ -3866,7 +3864,7 @@ export async function deserializeAws_restXmlXmlListsCommand(
3866
3864
) ;
3867
3865
}
3868
3866
if ( data . stringSet === "" ) {
3869
- contents . stringSet = new Set ( [ ] ) ;
3867
+ contents . stringSet = [ ] ;
3870
3868
}
3871
3869
if (
3872
3870
data [ "stringSet" ] !== undefined &&
You can’t perform that action at this time.
0 commit comments