Skip to content

Commit bdea0fe

Browse files
chore: update generated code
1 parent b887f8f commit bdea0fe

File tree

242 files changed

+1841
-1855
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

242 files changed

+1841
-1855
lines changed

clients/client-accessanalyzer/protocols/Aws_restJson1.ts

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4101,11 +4101,11 @@ const deserializeAws_restJson1AccessPreviewSummary = (output: any, context: __Se
41014101
};
41024102

41034103
const deserializeAws_restJson1AclGrantee = (output: any, context: __SerdeContext): AclGrantee => {
4104-
if ((val = __expectString(output.id)) !== undefined) {
4105-
return { id: val };
4104+
if (__expectString(output.id) !== undefined) {
4105+
return { id: __expectString(output.id) as any };
41064106
}
4107-
if ((val = __expectString(output.uri)) !== undefined) {
4108-
return { uri: val };
4107+
if (__expectString(output.uri) !== undefined) {
4108+
return { uri: __expectString(output.uri) as any };
41094109
}
41104110
return { $unknown: Object.entries(output)[0] };
41114111
};
@@ -4117,7 +4117,7 @@ const deserializeAws_restJson1ActionList = (output: any, context: __SerdeContext
41174117
if (entry === null) {
41184118
return null as any;
41194119
}
4120-
return __expectString(entry);
4120+
return __expectString(entry) as any;
41214121
});
41224122
};
41234123

@@ -4243,7 +4243,7 @@ const deserializeAws_restJson1ConditionKeyMap = (output: any, context: __SerdeCo
42434243
}
42444244
return {
42454245
...acc,
4246-
[key]: __expectString(value),
4246+
[key]: __expectString(value) as any,
42474247
};
42484248
}, {});
42494249
};
@@ -4508,7 +4508,7 @@ const deserializeAws_restJson1KmsConstraintsMap = (output: any, context: __Serde
45084508
}
45094509
return {
45104510
...acc,
4511-
[key]: __expectString(value),
4511+
[key]: __expectString(value) as any,
45124512
};
45134513
}, {});
45144514
};
@@ -4566,7 +4566,7 @@ const deserializeAws_restJson1KmsGrantOperationsList = (
45664566
if (entry === null) {
45674567
return null as any;
45684568
}
4569-
return __expectString(entry);
4569+
return __expectString(entry) as any;
45704570
});
45714571
};
45724572

@@ -4590,7 +4590,7 @@ const deserializeAws_restJson1KmsKeyPoliciesMap = (output: any, context: __Serde
45904590
}
45914591
return {
45924592
...acc,
4593-
[key]: __expectString(value),
4593+
[key]: __expectString(value) as any,
45944594
};
45954595
}, {});
45964596
};
@@ -4637,19 +4637,19 @@ const deserializeAws_restJson1NetworkOriginConfiguration = (
46374637
};
46384638

46394639
const deserializeAws_restJson1PathElement = (output: any, context: __SerdeContext): PathElement => {
4640-
if ((val = __expectNumber(output.index)) !== undefined) {
4641-
return { index: val };
4640+
if (__expectNumber(output.index) !== undefined) {
4641+
return { index: __expectNumber(output.index) as any };
46424642
}
4643-
if ((val = __expectString(output.key)) !== undefined) {
4644-
return { key: val };
4643+
if (__expectString(output.key) !== undefined) {
4644+
return { key: __expectString(output.key) as any };
46454645
}
46464646
if (output.substring !== undefined && output.substring !== null) {
46474647
return {
46484648
substring: deserializeAws_restJson1Substring(output.substring, context),
46494649
};
46504650
}
4651-
if ((val = __expectString(output.value)) !== undefined) {
4652-
return { value: val };
4651+
if (__expectString(output.value) !== undefined) {
4652+
return { value: __expectString(output.value) as any };
46534653
}
46544654
return { $unknown: Object.entries(output)[0] };
46554655
};
@@ -4702,7 +4702,7 @@ const deserializeAws_restJson1PrincipalMap = (output: any, context: __SerdeConte
47024702
}
47034703
return {
47044704
...acc,
4705-
[key]: __expectString(value),
4705+
[key]: __expectString(value) as any,
47064706
};
47074707
}, {});
47084708
};
@@ -4714,7 +4714,7 @@ const deserializeAws_restJson1RegionList = (output: any, context: __SerdeContext
47144714
if (entry === null) {
47154715
return null as any;
47164716
}
4717-
return __expectString(entry);
4717+
return __expectString(entry) as any;
47184718
});
47194719
};
47204720

@@ -4825,7 +4825,7 @@ const deserializeAws_restJson1SharedViaList = (output: any, context: __SerdeCont
48254825
if (entry === null) {
48264826
return null as any;
48274827
}
4828-
return __expectString(entry);
4828+
return __expectString(entry) as any;
48294829
});
48304830
};
48314831

@@ -4868,7 +4868,7 @@ const deserializeAws_restJson1TagsMap = (output: any, context: __SerdeContext):
48684868
}
48694869
return {
48704870
...acc,
4871-
[key]: __expectString(value),
4871+
[key]: __expectString(value) as any,
48724872
};
48734873
}, {});
48744874
};
@@ -4953,7 +4953,7 @@ const deserializeAws_restJson1ValueList = (output: any, context: __SerdeContext)
49534953
if (entry === null) {
49544954
return null as any;
49554955
}
4956-
return __expectString(entry);
4956+
return __expectString(entry) as any;
49574957
});
49584958
};
49594959

clients/client-acm-pca/protocols/Aws_json1_1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3241,7 +3241,7 @@ const deserializeAws_json1_1ActionList = (output: any, context: __SerdeContext):
32413241
if (entry === null) {
32423242
return null as any;
32433243
}
3244-
return __expectString(entry);
3244+
return __expectString(entry) as any;
32453245
});
32463246
};
32473247

clients/client-acm/protocols/Aws_json1_1.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2097,7 +2097,7 @@ const deserializeAws_json1_1DomainList = (output: any, context: __SerdeContext):
20972097
if (entry === null) {
20982098
return null as any;
20992099
}
2100-
return __expectString(entry);
2100+
return __expectString(entry) as any;
21012101
});
21022102
};
21032103

@@ -2202,7 +2202,7 @@ const deserializeAws_json1_1InUseList = (output: any, context: __SerdeContext):
22022202
if (entry === null) {
22032203
return null as any;
22042204
}
2205-
return __expectString(entry);
2205+
return __expectString(entry) as any;
22062206
});
22072207
};
22082208

@@ -2395,7 +2395,7 @@ const deserializeAws_json1_1ValidationEmailList = (output: any, context: __Serde
23952395
if (entry === null) {
23962396
return null as any;
23972397
}
2398-
return __expectString(entry);
2398+
return __expectString(entry) as any;
23992399
});
24002400
};
24012401

clients/client-alexa-for-business/protocols/Aws_json1_1.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8861,7 +8861,7 @@ const deserializeAws_json1_1BulletPoints = (output: any, context: __SerdeContext
88618861
if (entry === null) {
88628862
return null as any;
88638863
}
8864-
return __expectString(entry);
8864+
return __expectString(entry) as any;
88658865
});
88668866
};
88678867

@@ -9412,7 +9412,7 @@ const deserializeAws_json1_1EndOfMeetingReminderMinutesList = (output: any, cont
94129412
if (entry === null) {
94139413
return null as any;
94149414
}
9415-
return __expectNumber(entry);
9415+
return __expectNumber(entry) as any;
94169416
});
94179417
};
94189418

@@ -9488,7 +9488,7 @@ const deserializeAws_json1_1GenericKeywords = (output: any, context: __SerdeCont
94889488
if (entry === null) {
94899489
return null as any;
94909490
}
9491-
return __expectString(entry);
9491+
return __expectString(entry) as any;
94929492
});
94939493
};
94949494

@@ -9891,7 +9891,7 @@ const deserializeAws_json1_1NewInThisVersionBulletPoints = (output: any, context
98919891
if (entry === null) {
98929892
return null as any;
98939893
}
9894-
return __expectString(entry);
9894+
return __expectString(entry) as any;
98959895
});
98969896
};
98979897

@@ -10058,7 +10058,7 @@ const deserializeAws_json1_1Reviews = (output: any, context: __SerdeContext): {
1005810058
}
1005910059
return {
1006010060
...acc,
10061-
[key]: __expectString(value),
10061+
[key]: __expectString(value) as any,
1006210062
};
1006310063
}, {});
1006410064
};
@@ -10127,7 +10127,7 @@ const deserializeAws_json1_1SampleUtterances = (output: any, context: __SerdeCon
1012710127
if (entry === null) {
1012810128
return null as any;
1012910129
}
10130-
return __expectString(entry);
10130+
return __expectString(entry) as any;
1013110131
});
1013210132
};
1013310133

@@ -10248,7 +10248,7 @@ const deserializeAws_json1_1ShortSkillIdList = (output: any, context: __SerdeCon
1024810248
if (entry === null) {
1024910249
return null as any;
1025010250
}
10251-
return __expectString(entry);
10251+
return __expectString(entry) as any;
1025210252
});
1025310253
};
1025410254

@@ -10396,7 +10396,7 @@ const deserializeAws_json1_1SkillTypes = (output: any, context: __SerdeContext):
1039610396
if (entry === null) {
1039710397
return null as any;
1039810398
}
10399-
return __expectString(entry);
10399+
return __expectString(entry) as any;
1040010400
});
1040110401
};
1040210402

@@ -10462,7 +10462,7 @@ const deserializeAws_json1_1TrustAnchorList = (output: any, context: __SerdeCont
1046210462
if (entry === null) {
1046310463
return null as any;
1046410464
}
10465-
return __expectString(entry);
10465+
return __expectString(entry) as any;
1046610466
});
1046710467
};
1046810468

clients/client-amplify/protocols/Aws_restJson1.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5005,7 +5005,7 @@ const deserializeAws_restJson1AssociatedResources = (output: any, context: __Ser
50055005
if (entry === null) {
50065006
return null as any;
50075007
}
5008-
return __expectString(entry);
5008+
return __expectString(entry) as any;
50095009
});
50105010
};
50115011

@@ -5037,7 +5037,7 @@ const deserializeAws_restJson1AutoBranchCreationPatterns = (output: any, context
50375037
if (entry === null) {
50385038
return null as any;
50395039
}
5040-
return __expectString(entry);
5040+
return __expectString(entry) as any;
50415041
});
50425042
};
50435043

@@ -5048,7 +5048,7 @@ const deserializeAws_restJson1AutoSubDomainCreationPatterns = (output: any, cont
50485048
if (entry === null) {
50495049
return null as any;
50505050
}
5051-
return __expectString(entry);
5051+
return __expectString(entry) as any;
50525052
});
50535053
};
50545054

@@ -5148,7 +5148,7 @@ const deserializeAws_restJson1CustomDomains = (output: any, context: __SerdeCont
51485148
if (entry === null) {
51495149
return null as any;
51505150
}
5151-
return __expectString(entry);
5151+
return __expectString(entry) as any;
51525152
});
51535153
};
51545154

@@ -5213,7 +5213,7 @@ const deserializeAws_restJson1EnvironmentVariables = (
52135213
}
52145214
return {
52155215
...acc,
5216-
[key]: __expectString(value),
5216+
[key]: __expectString(value) as any,
52175217
};
52185218
}, {});
52195219
};
@@ -5225,7 +5225,7 @@ const deserializeAws_restJson1FileUploadUrls = (output: any, context: __SerdeCon
52255225
}
52265226
return {
52275227
...acc,
5228-
[key]: __expectString(value),
5228+
[key]: __expectString(value) as any,
52295229
};
52305230
}, {});
52315231
};
@@ -5294,7 +5294,7 @@ const deserializeAws_restJson1Screenshots = (output: any, context: __SerdeContex
52945294
}
52955295
return {
52965296
...acc,
5297-
[key]: __expectString(value),
5297+
[key]: __expectString(value) as any,
52985298
};
52995299
}, {});
53005300
};
@@ -5369,7 +5369,7 @@ const deserializeAws_restJson1TagMap = (output: any, context: __SerdeContext): {
53695369
}
53705370
return {
53715371
...acc,
5372-
[key]: __expectString(value),
5372+
[key]: __expectString(value) as any,
53735373
};
53745374
}, {});
53755375
};

clients/client-amplifybackend/protocols/Aws_restJson1.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4077,7 +4077,7 @@ const deserializeAws_restJson1ListOf__string = (output: any, context: __SerdeCon
40774077
if (entry === null) {
40784078
return null as any;
40794079
}
4080-
return __expectString(entry);
4080+
return __expectString(entry) as any;
40814081
});
40824082
};
40834083

@@ -4091,7 +4091,7 @@ const deserializeAws_restJson1ListOfAdditionalConstraintsElement = (
40914091
if (entry === null) {
40924092
return null as any;
40934093
}
4094-
return __expectString(entry);
4094+
return __expectString(entry) as any;
40954095
});
40964096
};
40974097

@@ -4130,7 +4130,7 @@ const deserializeAws_restJson1ListOfMfaTypesElement = (
41304130
if (entry === null) {
41314131
return null as any;
41324132
}
4133-
return __expectString(entry);
4133+
return __expectString(entry) as any;
41344134
});
41354135
};
41364136

@@ -4144,7 +4144,7 @@ const deserializeAws_restJson1ListOfOAuthScopesElement = (
41444144
if (entry === null) {
41454145
return null as any;
41464146
}
4147-
return __expectString(entry);
4147+
return __expectString(entry) as any;
41484148
});
41494149
};
41504150

@@ -4158,7 +4158,7 @@ const deserializeAws_restJson1ListOfRequiredSignUpAttributesElement = (
41584158
if (entry === null) {
41594159
return null as any;
41604160
}
4161-
return __expectString(entry);
4161+
return __expectString(entry) as any;
41624162
});
41634163
};
41644164

0 commit comments

Comments
 (0)