@aws-sdk/client-cognito-identity-provider 3.53.0 → 3.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/CognitoIdentityProviderClient.js +12 -12
- package/dist-cjs/commands/AddCustomAttributesCommand.js +4 -4
- package/dist-cjs/commands/AdminAddUserToGroupCommand.js +4 -4
- package/dist-cjs/commands/AdminConfirmSignUpCommand.js +4 -4
- package/dist-cjs/commands/AdminCreateUserCommand.js +4 -4
- package/dist-cjs/commands/AdminDeleteUserAttributesCommand.js +4 -4
- package/dist-cjs/commands/AdminDeleteUserCommand.js +4 -4
- package/dist-cjs/commands/AdminDisableProviderForUserCommand.js +4 -4
- package/dist-cjs/commands/AdminDisableUserCommand.js +4 -4
- package/dist-cjs/commands/AdminEnableUserCommand.js +4 -4
- package/dist-cjs/commands/AdminForgetDeviceCommand.js +4 -4
- package/dist-cjs/commands/AdminGetDeviceCommand.js +4 -4
- package/dist-cjs/commands/AdminGetUserCommand.js +4 -4
- package/dist-cjs/commands/AdminInitiateAuthCommand.js +4 -4
- package/dist-cjs/commands/AdminLinkProviderForUserCommand.js +4 -4
- package/dist-cjs/commands/AdminListDevicesCommand.js +4 -4
- package/dist-cjs/commands/AdminListGroupsForUserCommand.js +4 -4
- package/dist-cjs/commands/AdminListUserAuthEventsCommand.js +4 -4
- package/dist-cjs/commands/AdminRemoveUserFromGroupCommand.js +4 -4
- package/dist-cjs/commands/AdminResetUserPasswordCommand.js +4 -4
- package/dist-cjs/commands/AdminRespondToAuthChallengeCommand.js +4 -4
- package/dist-cjs/commands/AdminSetUserMFAPreferenceCommand.js +4 -4
- package/dist-cjs/commands/AdminSetUserPasswordCommand.js +4 -4
- package/dist-cjs/commands/AdminSetUserSettingsCommand.js +4 -4
- package/dist-cjs/commands/AdminUpdateAuthEventFeedbackCommand.js +4 -4
- package/dist-cjs/commands/AdminUpdateDeviceStatusCommand.js +4 -4
- package/dist-cjs/commands/AdminUpdateUserAttributesCommand.js +4 -4
- package/dist-cjs/commands/AdminUserGlobalSignOutCommand.js +4 -4
- package/dist-cjs/commands/AssociateSoftwareTokenCommand.js +4 -4
- package/dist-cjs/commands/ChangePasswordCommand.js +3 -3
- package/dist-cjs/commands/ConfirmDeviceCommand.js +4 -4
- package/dist-cjs/commands/ConfirmForgotPasswordCommand.js +3 -3
- package/dist-cjs/commands/ConfirmSignUpCommand.js +3 -3
- package/dist-cjs/commands/CreateGroupCommand.js +4 -4
- package/dist-cjs/commands/CreateIdentityProviderCommand.js +4 -4
- package/dist-cjs/commands/CreateResourceServerCommand.js +4 -4
- package/dist-cjs/commands/CreateUserImportJobCommand.js +4 -4
- package/dist-cjs/commands/CreateUserPoolClientCommand.js +4 -4
- package/dist-cjs/commands/CreateUserPoolCommand.js +4 -4
- package/dist-cjs/commands/CreateUserPoolDomainCommand.js +4 -4
- package/dist-cjs/commands/DeleteGroupCommand.js +4 -4
- package/dist-cjs/commands/DeleteIdentityProviderCommand.js +4 -4
- package/dist-cjs/commands/DeleteResourceServerCommand.js +4 -4
- package/dist-cjs/commands/DeleteUserAttributesCommand.js +3 -3
- package/dist-cjs/commands/DeleteUserCommand.js +3 -3
- package/dist-cjs/commands/DeleteUserPoolClientCommand.js +4 -4
- package/dist-cjs/commands/DeleteUserPoolCommand.js +4 -4
- package/dist-cjs/commands/DeleteUserPoolDomainCommand.js +4 -4
- package/dist-cjs/commands/DescribeIdentityProviderCommand.js +4 -4
- package/dist-cjs/commands/DescribeResourceServerCommand.js +4 -4
- package/dist-cjs/commands/DescribeRiskConfigurationCommand.js +4 -4
- package/dist-cjs/commands/DescribeUserImportJobCommand.js +4 -4
- package/dist-cjs/commands/DescribeUserPoolClientCommand.js +4 -4
- package/dist-cjs/commands/DescribeUserPoolCommand.js +4 -4
- package/dist-cjs/commands/DescribeUserPoolDomainCommand.js +4 -4
- package/dist-cjs/commands/ForgetDeviceCommand.js +4 -4
- package/dist-cjs/commands/ForgotPasswordCommand.js +3 -3
- package/dist-cjs/commands/GetCSVHeaderCommand.js +4 -4
- package/dist-cjs/commands/GetDeviceCommand.js +4 -4
- package/dist-cjs/commands/GetGroupCommand.js +4 -4
- package/dist-cjs/commands/GetIdentityProviderByIdentifierCommand.js +4 -4
- package/dist-cjs/commands/GetSigningCertificateCommand.js +4 -4
- package/dist-cjs/commands/GetUICustomizationCommand.js +4 -4
- package/dist-cjs/commands/GetUserAttributeVerificationCodeCommand.js +3 -3
- package/dist-cjs/commands/GetUserCommand.js +3 -3
- package/dist-cjs/commands/GetUserPoolMfaConfigCommand.js +4 -4
- package/dist-cjs/commands/GlobalSignOutCommand.js +4 -4
- package/dist-cjs/commands/InitiateAuthCommand.js +3 -3
- package/dist-cjs/commands/ListDevicesCommand.js +4 -4
- package/dist-cjs/commands/ListGroupsCommand.js +4 -4
- package/dist-cjs/commands/ListIdentityProvidersCommand.js +4 -4
- package/dist-cjs/commands/ListResourceServersCommand.js +4 -4
- package/dist-cjs/commands/ListTagsForResourceCommand.js +4 -4
- package/dist-cjs/commands/ListUserImportJobsCommand.js +4 -4
- package/dist-cjs/commands/ListUserPoolClientsCommand.js +4 -4
- package/dist-cjs/commands/ListUserPoolsCommand.js +4 -4
- package/dist-cjs/commands/ListUsersCommand.js +4 -4
- package/dist-cjs/commands/ListUsersInGroupCommand.js +4 -4
- package/dist-cjs/commands/ResendConfirmationCodeCommand.js +3 -3
- package/dist-cjs/commands/RespondToAuthChallengeCommand.js +3 -3
- package/dist-cjs/commands/RevokeTokenCommand.js +4 -4
- package/dist-cjs/commands/SetRiskConfigurationCommand.js +4 -4
- package/dist-cjs/commands/SetUICustomizationCommand.js +4 -4
- package/dist-cjs/commands/SetUserMFAPreferenceCommand.js +4 -4
- package/dist-cjs/commands/SetUserPoolMfaConfigCommand.js +4 -4
- package/dist-cjs/commands/SetUserSettingsCommand.js +3 -3
- package/dist-cjs/commands/SignUpCommand.js +3 -3
- package/dist-cjs/commands/StartUserImportJobCommand.js +4 -4
- package/dist-cjs/commands/StopUserImportJobCommand.js +4 -4
- package/dist-cjs/commands/TagResourceCommand.js +4 -4
- package/dist-cjs/commands/UntagResourceCommand.js +4 -4
- package/dist-cjs/commands/UpdateAuthEventFeedbackCommand.js +4 -4
- package/dist-cjs/commands/UpdateDeviceStatusCommand.js +4 -4
- package/dist-cjs/commands/UpdateGroupCommand.js +4 -4
- package/dist-cjs/commands/UpdateIdentityProviderCommand.js +4 -4
- package/dist-cjs/commands/UpdateResourceServerCommand.js +4 -4
- package/dist-cjs/commands/UpdateUserAttributesCommand.js +3 -3
- package/dist-cjs/commands/UpdateUserPoolClientCommand.js +4 -4
- package/dist-cjs/commands/UpdateUserPoolCommand.js +4 -4
- package/dist-cjs/commands/UpdateUserPoolDomainCommand.js +4 -4
- package/dist-cjs/commands/VerifySoftwareTokenCommand.js +4 -4
- package/dist-cjs/commands/VerifyUserAttributeCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_1.js +447 -448
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/CognitoIdentityProvider.js +101 -101
- package/dist-es/pagination/AdminListGroupsForUserPaginator.js +4 -4
- package/dist-es/pagination/AdminListUserAuthEventsPaginator.js +4 -4
- package/dist-es/pagination/ListGroupsPaginator.js +4 -4
- package/dist-es/pagination/ListIdentityProvidersPaginator.js +4 -4
- package/dist-es/pagination/ListResourceServersPaginator.js +4 -4
- package/dist-es/pagination/ListUserPoolClientsPaginator.js +4 -4
- package/dist-es/pagination/ListUserPoolsPaginator.js +4 -4
- package/dist-es/pagination/ListUsersInGroupPaginator.js +4 -4
- package/dist-es/pagination/ListUsersPaginator.js +4 -4
- package/dist-es/protocols/Aws_json1_1.js +7 -10
- package/dist-types/CognitoIdentityProvider.d.ts +261 -250
- package/dist-types/CognitoIdentityProviderClient.d.ts +2 -2
- package/dist-types/commands/AdminCreateUserCommand.d.ts +18 -16
- package/dist-types/commands/AdminDisableProviderForUserCommand.d.ts +7 -4
- package/dist-types/commands/AdminInitiateAuthCommand.d.ts +17 -16
- package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +17 -17
- package/dist-types/commands/AdminRespondToAuthChallengeCommand.d.ts +17 -16
- package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +17 -16
- package/dist-types/commands/CreateUserPoolCommand.d.ts +17 -17
- package/dist-types/commands/ForgotPasswordCommand.d.ts +17 -17
- package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +17 -17
- package/dist-types/commands/InitiateAuthCommand.d.ts +17 -16
- package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +17 -17
- package/dist-types/commands/RespondToAuthChallengeCommand.d.ts +17 -16
- package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +15 -14
- package/dist-types/commands/SignUpCommand.d.ts +17 -17
- package/dist-types/commands/UpdateUserAttributesCommand.d.ts +17 -17
- package/dist-types/commands/UpdateUserPoolCommand.d.ts +17 -17
- package/dist-types/models/models_0.d.ts +352 -213
- package/dist-types/models/models_1.d.ts +21 -12
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
|
@@ -1068,7 +1068,7 @@ const deserializeAws_json1_1AddCustomAttributesCommandError = async (output, con
|
|
|
1068
1068
|
$fault: "client",
|
|
1069
1069
|
$metadata: deserializeMetadata(output),
|
|
1070
1070
|
});
|
|
1071
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1071
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1072
1072
|
}
|
|
1073
1073
|
};
|
|
1074
1074
|
const deserializeAws_json1_1AdminAddUserToGroupCommand = async (output, context) => {
|
|
@@ -1116,7 +1116,7 @@ const deserializeAws_json1_1AdminAddUserToGroupCommandError = async (output, con
|
|
|
1116
1116
|
$fault: "client",
|
|
1117
1117
|
$metadata: deserializeMetadata(output),
|
|
1118
1118
|
});
|
|
1119
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1119
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1120
1120
|
}
|
|
1121
1121
|
};
|
|
1122
1122
|
const deserializeAws_json1_1AdminConfirmSignUpCommand = async (output, context) => {
|
|
@@ -1182,7 +1182,7 @@ const deserializeAws_json1_1AdminConfirmSignUpCommandError = async (output, cont
|
|
|
1182
1182
|
$fault: "client",
|
|
1183
1183
|
$metadata: deserializeMetadata(output),
|
|
1184
1184
|
});
|
|
1185
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1185
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1186
1186
|
}
|
|
1187
1187
|
};
|
|
1188
1188
|
const deserializeAws_json1_1AdminCreateUserCommand = async (output, context) => {
|
|
@@ -1263,7 +1263,7 @@ const deserializeAws_json1_1AdminCreateUserCommandError = async (output, context
|
|
|
1263
1263
|
$fault: "client",
|
|
1264
1264
|
$metadata: deserializeMetadata(output),
|
|
1265
1265
|
});
|
|
1266
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1266
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1267
1267
|
}
|
|
1268
1268
|
};
|
|
1269
1269
|
const deserializeAws_json1_1AdminDeleteUserCommand = async (output, context) => {
|
|
@@ -1311,7 +1311,7 @@ const deserializeAws_json1_1AdminDeleteUserCommandError = async (output, context
|
|
|
1311
1311
|
$fault: "client",
|
|
1312
1312
|
$metadata: deserializeMetadata(output),
|
|
1313
1313
|
});
|
|
1314
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1314
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1315
1315
|
}
|
|
1316
1316
|
};
|
|
1317
1317
|
const deserializeAws_json1_1AdminDeleteUserAttributesCommand = async (output, context) => {
|
|
@@ -1362,7 +1362,7 @@ const deserializeAws_json1_1AdminDeleteUserAttributesCommandError = async (outpu
|
|
|
1362
1362
|
$fault: "client",
|
|
1363
1363
|
$metadata: deserializeMetadata(output),
|
|
1364
1364
|
});
|
|
1365
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1365
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1366
1366
|
}
|
|
1367
1367
|
};
|
|
1368
1368
|
const deserializeAws_json1_1AdminDisableProviderForUserCommand = async (output, context) => {
|
|
@@ -1416,7 +1416,7 @@ const deserializeAws_json1_1AdminDisableProviderForUserCommandError = async (out
|
|
|
1416
1416
|
$fault: "client",
|
|
1417
1417
|
$metadata: deserializeMetadata(output),
|
|
1418
1418
|
});
|
|
1419
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1419
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1420
1420
|
}
|
|
1421
1421
|
};
|
|
1422
1422
|
const deserializeAws_json1_1AdminDisableUserCommand = async (output, context) => {
|
|
@@ -1467,7 +1467,7 @@ const deserializeAws_json1_1AdminDisableUserCommandError = async (output, contex
|
|
|
1467
1467
|
$fault: "client",
|
|
1468
1468
|
$metadata: deserializeMetadata(output),
|
|
1469
1469
|
});
|
|
1470
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1470
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1471
1471
|
}
|
|
1472
1472
|
};
|
|
1473
1473
|
const deserializeAws_json1_1AdminEnableUserCommand = async (output, context) => {
|
|
@@ -1518,7 +1518,7 @@ const deserializeAws_json1_1AdminEnableUserCommandError = async (output, context
|
|
|
1518
1518
|
$fault: "client",
|
|
1519
1519
|
$metadata: deserializeMetadata(output),
|
|
1520
1520
|
});
|
|
1521
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1521
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1522
1522
|
}
|
|
1523
1523
|
};
|
|
1524
1524
|
const deserializeAws_json1_1AdminForgetDeviceCommand = async (output, context) => {
|
|
@@ -1569,7 +1569,7 @@ const deserializeAws_json1_1AdminForgetDeviceCommandError = async (output, conte
|
|
|
1569
1569
|
$fault: "client",
|
|
1570
1570
|
$metadata: deserializeMetadata(output),
|
|
1571
1571
|
});
|
|
1572
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1572
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1573
1573
|
}
|
|
1574
1574
|
};
|
|
1575
1575
|
const deserializeAws_json1_1AdminGetDeviceCommand = async (output, context) => {
|
|
@@ -1620,7 +1620,7 @@ const deserializeAws_json1_1AdminGetDeviceCommandError = async (output, context)
|
|
|
1620
1620
|
$fault: "client",
|
|
1621
1621
|
$metadata: deserializeMetadata(output),
|
|
1622
1622
|
});
|
|
1623
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1623
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1624
1624
|
}
|
|
1625
1625
|
};
|
|
1626
1626
|
const deserializeAws_json1_1AdminGetUserCommand = async (output, context) => {
|
|
@@ -1671,7 +1671,7 @@ const deserializeAws_json1_1AdminGetUserCommandError = async (output, context) =
|
|
|
1671
1671
|
$fault: "client",
|
|
1672
1672
|
$metadata: deserializeMetadata(output),
|
|
1673
1673
|
});
|
|
1674
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1674
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1675
1675
|
}
|
|
1676
1676
|
};
|
|
1677
1677
|
const deserializeAws_json1_1AdminInitiateAuthCommand = async (output, context) => {
|
|
@@ -1749,7 +1749,7 @@ const deserializeAws_json1_1AdminInitiateAuthCommandError = async (output, conte
|
|
|
1749
1749
|
$fault: "client",
|
|
1750
1750
|
$metadata: deserializeMetadata(output),
|
|
1751
1751
|
});
|
|
1752
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1752
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1753
1753
|
}
|
|
1754
1754
|
};
|
|
1755
1755
|
const deserializeAws_json1_1AdminLinkProviderForUserCommand = async (output, context) => {
|
|
@@ -1806,7 +1806,7 @@ const deserializeAws_json1_1AdminLinkProviderForUserCommandError = async (output
|
|
|
1806
1806
|
$fault: "client",
|
|
1807
1807
|
$metadata: deserializeMetadata(output),
|
|
1808
1808
|
});
|
|
1809
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1809
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1810
1810
|
}
|
|
1811
1811
|
};
|
|
1812
1812
|
const deserializeAws_json1_1AdminListDevicesCommand = async (output, context) => {
|
|
@@ -1857,7 +1857,7 @@ const deserializeAws_json1_1AdminListDevicesCommandError = async (output, contex
|
|
|
1857
1857
|
$fault: "client",
|
|
1858
1858
|
$metadata: deserializeMetadata(output),
|
|
1859
1859
|
});
|
|
1860
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1860
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1861
1861
|
}
|
|
1862
1862
|
};
|
|
1863
1863
|
const deserializeAws_json1_1AdminListGroupsForUserCommand = async (output, context) => {
|
|
@@ -1908,7 +1908,7 @@ const deserializeAws_json1_1AdminListGroupsForUserCommandError = async (output,
|
|
|
1908
1908
|
$fault: "client",
|
|
1909
1909
|
$metadata: deserializeMetadata(output),
|
|
1910
1910
|
});
|
|
1911
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1911
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1912
1912
|
}
|
|
1913
1913
|
};
|
|
1914
1914
|
const deserializeAws_json1_1AdminListUserAuthEventsCommand = async (output, context) => {
|
|
@@ -1962,7 +1962,7 @@ const deserializeAws_json1_1AdminListUserAuthEventsCommandError = async (output,
|
|
|
1962
1962
|
$fault: "client",
|
|
1963
1963
|
$metadata: deserializeMetadata(output),
|
|
1964
1964
|
});
|
|
1965
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1965
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1966
1966
|
}
|
|
1967
1967
|
};
|
|
1968
1968
|
const deserializeAws_json1_1AdminRemoveUserFromGroupCommand = async (output, context) => {
|
|
@@ -2010,7 +2010,7 @@ const deserializeAws_json1_1AdminRemoveUserFromGroupCommandError = async (output
|
|
|
2010
2010
|
$fault: "client",
|
|
2011
2011
|
$metadata: deserializeMetadata(output),
|
|
2012
2012
|
});
|
|
2013
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2013
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2014
2014
|
}
|
|
2015
2015
|
};
|
|
2016
2016
|
const deserializeAws_json1_1AdminResetUserPasswordCommand = async (output, context) => {
|
|
@@ -2082,7 +2082,7 @@ const deserializeAws_json1_1AdminResetUserPasswordCommandError = async (output,
|
|
|
2082
2082
|
$fault: "client",
|
|
2083
2083
|
$metadata: deserializeMetadata(output),
|
|
2084
2084
|
});
|
|
2085
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2085
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2086
2086
|
}
|
|
2087
2087
|
};
|
|
2088
2088
|
const deserializeAws_json1_1AdminRespondToAuthChallengeCommand = async (output, context) => {
|
|
@@ -2175,7 +2175,7 @@ const deserializeAws_json1_1AdminRespondToAuthChallengeCommandError = async (out
|
|
|
2175
2175
|
$fault: "client",
|
|
2176
2176
|
$metadata: deserializeMetadata(output),
|
|
2177
2177
|
});
|
|
2178
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2178
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2179
2179
|
}
|
|
2180
2180
|
};
|
|
2181
2181
|
const deserializeAws_json1_1AdminSetUserMFAPreferenceCommand = async (output, context) => {
|
|
@@ -2229,7 +2229,7 @@ const deserializeAws_json1_1AdminSetUserMFAPreferenceCommandError = async (outpu
|
|
|
2229
2229
|
$fault: "client",
|
|
2230
2230
|
$metadata: deserializeMetadata(output),
|
|
2231
2231
|
});
|
|
2232
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2232
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2233
2233
|
}
|
|
2234
2234
|
};
|
|
2235
2235
|
const deserializeAws_json1_1AdminSetUserPasswordCommand = async (output, context) => {
|
|
@@ -2283,7 +2283,7 @@ const deserializeAws_json1_1AdminSetUserPasswordCommandError = async (output, co
|
|
|
2283
2283
|
$fault: "client",
|
|
2284
2284
|
$metadata: deserializeMetadata(output),
|
|
2285
2285
|
});
|
|
2286
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2286
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2287
2287
|
}
|
|
2288
2288
|
};
|
|
2289
2289
|
const deserializeAws_json1_1AdminSetUserSettingsCommand = async (output, context) => {
|
|
@@ -2331,7 +2331,7 @@ const deserializeAws_json1_1AdminSetUserSettingsCommandError = async (output, co
|
|
|
2331
2331
|
$fault: "client",
|
|
2332
2332
|
$metadata: deserializeMetadata(output),
|
|
2333
2333
|
});
|
|
2334
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2334
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2335
2335
|
}
|
|
2336
2336
|
};
|
|
2337
2337
|
const deserializeAws_json1_1AdminUpdateAuthEventFeedbackCommand = async (output, context) => {
|
|
@@ -2385,7 +2385,7 @@ const deserializeAws_json1_1AdminUpdateAuthEventFeedbackCommandError = async (ou
|
|
|
2385
2385
|
$fault: "client",
|
|
2386
2386
|
$metadata: deserializeMetadata(output),
|
|
2387
2387
|
});
|
|
2388
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2388
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2389
2389
|
}
|
|
2390
2390
|
};
|
|
2391
2391
|
const deserializeAws_json1_1AdminUpdateDeviceStatusCommand = async (output, context) => {
|
|
@@ -2439,7 +2439,7 @@ const deserializeAws_json1_1AdminUpdateDeviceStatusCommandError = async (output,
|
|
|
2439
2439
|
$fault: "client",
|
|
2440
2440
|
$metadata: deserializeMetadata(output),
|
|
2441
2441
|
});
|
|
2442
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2442
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2443
2443
|
}
|
|
2444
2444
|
};
|
|
2445
2445
|
const deserializeAws_json1_1AdminUpdateUserAttributesCommand = async (output, context) => {
|
|
@@ -2511,7 +2511,7 @@ const deserializeAws_json1_1AdminUpdateUserAttributesCommandError = async (outpu
|
|
|
2511
2511
|
$fault: "client",
|
|
2512
2512
|
$metadata: deserializeMetadata(output),
|
|
2513
2513
|
});
|
|
2514
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2514
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2515
2515
|
}
|
|
2516
2516
|
};
|
|
2517
2517
|
const deserializeAws_json1_1AdminUserGlobalSignOutCommand = async (output, context) => {
|
|
@@ -2562,7 +2562,7 @@ const deserializeAws_json1_1AdminUserGlobalSignOutCommandError = async (output,
|
|
|
2562
2562
|
$fault: "client",
|
|
2563
2563
|
$metadata: deserializeMetadata(output),
|
|
2564
2564
|
});
|
|
2565
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2565
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2566
2566
|
}
|
|
2567
2567
|
};
|
|
2568
2568
|
const deserializeAws_json1_1AssociateSoftwareTokenCommand = async (output, context) => {
|
|
@@ -2613,7 +2613,7 @@ const deserializeAws_json1_1AssociateSoftwareTokenCommandError = async (output,
|
|
|
2613
2613
|
$fault: "client",
|
|
2614
2614
|
$metadata: deserializeMetadata(output),
|
|
2615
2615
|
});
|
|
2616
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2616
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2617
2617
|
}
|
|
2618
2618
|
};
|
|
2619
2619
|
const deserializeAws_json1_1ChangePasswordCommand = async (output, context) => {
|
|
@@ -2676,7 +2676,7 @@ const deserializeAws_json1_1ChangePasswordCommandError = async (output, context)
|
|
|
2676
2676
|
$fault: "client",
|
|
2677
2677
|
$metadata: deserializeMetadata(output),
|
|
2678
2678
|
});
|
|
2679
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2679
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2680
2680
|
}
|
|
2681
2681
|
};
|
|
2682
2682
|
const deserializeAws_json1_1ConfirmDeviceCommand = async (output, context) => {
|
|
@@ -2745,7 +2745,7 @@ const deserializeAws_json1_1ConfirmDeviceCommandError = async (output, context)
|
|
|
2745
2745
|
$fault: "client",
|
|
2746
2746
|
$metadata: deserializeMetadata(output),
|
|
2747
2747
|
});
|
|
2748
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2748
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2749
2749
|
}
|
|
2750
2750
|
};
|
|
2751
2751
|
const deserializeAws_json1_1ConfirmForgotPasswordCommand = async (output, context) => {
|
|
@@ -2823,7 +2823,7 @@ const deserializeAws_json1_1ConfirmForgotPasswordCommandError = async (output, c
|
|
|
2823
2823
|
$fault: "client",
|
|
2824
2824
|
$metadata: deserializeMetadata(output),
|
|
2825
2825
|
});
|
|
2826
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2826
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2827
2827
|
}
|
|
2828
2828
|
};
|
|
2829
2829
|
const deserializeAws_json1_1ConfirmSignUpCommand = async (output, context) => {
|
|
@@ -2898,7 +2898,7 @@ const deserializeAws_json1_1ConfirmSignUpCommandError = async (output, context)
|
|
|
2898
2898
|
$fault: "client",
|
|
2899
2899
|
$metadata: deserializeMetadata(output),
|
|
2900
2900
|
});
|
|
2901
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2901
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2902
2902
|
}
|
|
2903
2903
|
};
|
|
2904
2904
|
const deserializeAws_json1_1CreateGroupCommand = async (output, context) => {
|
|
@@ -2952,7 +2952,7 @@ const deserializeAws_json1_1CreateGroupCommandError = async (output, context) =>
|
|
|
2952
2952
|
$fault: "client",
|
|
2953
2953
|
$metadata: deserializeMetadata(output),
|
|
2954
2954
|
});
|
|
2955
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2955
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2956
2956
|
}
|
|
2957
2957
|
};
|
|
2958
2958
|
const deserializeAws_json1_1CreateIdentityProviderCommand = async (output, context) => {
|
|
@@ -3006,7 +3006,7 @@ const deserializeAws_json1_1CreateIdentityProviderCommandError = async (output,
|
|
|
3006
3006
|
$fault: "client",
|
|
3007
3007
|
$metadata: deserializeMetadata(output),
|
|
3008
3008
|
});
|
|
3009
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3009
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3010
3010
|
}
|
|
3011
3011
|
};
|
|
3012
3012
|
const deserializeAws_json1_1CreateResourceServerCommand = async (output, context) => {
|
|
@@ -3057,7 +3057,7 @@ const deserializeAws_json1_1CreateResourceServerCommandError = async (output, co
|
|
|
3057
3057
|
$fault: "client",
|
|
3058
3058
|
$metadata: deserializeMetadata(output),
|
|
3059
3059
|
});
|
|
3060
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3060
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3061
3061
|
}
|
|
3062
3062
|
};
|
|
3063
3063
|
const deserializeAws_json1_1CreateUserImportJobCommand = async (output, context) => {
|
|
@@ -3111,7 +3111,7 @@ const deserializeAws_json1_1CreateUserImportJobCommandError = async (output, con
|
|
|
3111
3111
|
$fault: "client",
|
|
3112
3112
|
$metadata: deserializeMetadata(output),
|
|
3113
3113
|
});
|
|
3114
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3114
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3115
3115
|
}
|
|
3116
3116
|
};
|
|
3117
3117
|
const deserializeAws_json1_1CreateUserPoolCommand = async (output, context) => {
|
|
@@ -3171,7 +3171,7 @@ const deserializeAws_json1_1CreateUserPoolCommandError = async (output, context)
|
|
|
3171
3171
|
$fault: "client",
|
|
3172
3172
|
$metadata: deserializeMetadata(output),
|
|
3173
3173
|
});
|
|
3174
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3174
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3175
3175
|
}
|
|
3176
3176
|
};
|
|
3177
3177
|
const deserializeAws_json1_1CreateUserPoolClientCommand = async (output, context) => {
|
|
@@ -3228,7 +3228,7 @@ const deserializeAws_json1_1CreateUserPoolClientCommandError = async (output, co
|
|
|
3228
3228
|
$fault: "client",
|
|
3229
3229
|
$metadata: deserializeMetadata(output),
|
|
3230
3230
|
});
|
|
3231
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3231
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3232
3232
|
}
|
|
3233
3233
|
};
|
|
3234
3234
|
const deserializeAws_json1_1CreateUserPoolDomainCommand = async (output, context) => {
|
|
@@ -3276,7 +3276,7 @@ const deserializeAws_json1_1CreateUserPoolDomainCommandError = async (output, co
|
|
|
3276
3276
|
$fault: "client",
|
|
3277
3277
|
$metadata: deserializeMetadata(output),
|
|
3278
3278
|
});
|
|
3279
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3279
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3280
3280
|
}
|
|
3281
3281
|
};
|
|
3282
3282
|
const deserializeAws_json1_1DeleteGroupCommand = async (output, context) => {
|
|
@@ -3321,7 +3321,7 @@ const deserializeAws_json1_1DeleteGroupCommandError = async (output, context) =>
|
|
|
3321
3321
|
$fault: "client",
|
|
3322
3322
|
$metadata: deserializeMetadata(output),
|
|
3323
3323
|
});
|
|
3324
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3324
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3325
3325
|
}
|
|
3326
3326
|
};
|
|
3327
3327
|
const deserializeAws_json1_1DeleteIdentityProviderCommand = async (output, context) => {
|
|
@@ -3369,7 +3369,7 @@ const deserializeAws_json1_1DeleteIdentityProviderCommandError = async (output,
|
|
|
3369
3369
|
$fault: "client",
|
|
3370
3370
|
$metadata: deserializeMetadata(output),
|
|
3371
3371
|
});
|
|
3372
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3372
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3373
3373
|
}
|
|
3374
3374
|
};
|
|
3375
3375
|
const deserializeAws_json1_1DeleteResourceServerCommand = async (output, context) => {
|
|
@@ -3414,7 +3414,7 @@ const deserializeAws_json1_1DeleteResourceServerCommandError = async (output, co
|
|
|
3414
3414
|
$fault: "client",
|
|
3415
3415
|
$metadata: deserializeMetadata(output),
|
|
3416
3416
|
});
|
|
3417
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3417
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3418
3418
|
}
|
|
3419
3419
|
};
|
|
3420
3420
|
const deserializeAws_json1_1DeleteUserCommand = async (output, context) => {
|
|
@@ -3468,7 +3468,7 @@ const deserializeAws_json1_1DeleteUserCommandError = async (output, context) =>
|
|
|
3468
3468
|
$fault: "client",
|
|
3469
3469
|
$metadata: deserializeMetadata(output),
|
|
3470
3470
|
});
|
|
3471
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3471
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3472
3472
|
}
|
|
3473
3473
|
};
|
|
3474
3474
|
const deserializeAws_json1_1DeleteUserAttributesCommand = async (output, context) => {
|
|
@@ -3525,7 +3525,7 @@ const deserializeAws_json1_1DeleteUserAttributesCommandError = async (output, co
|
|
|
3525
3525
|
$fault: "client",
|
|
3526
3526
|
$metadata: deserializeMetadata(output),
|
|
3527
3527
|
});
|
|
3528
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3528
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3529
3529
|
}
|
|
3530
3530
|
};
|
|
3531
3531
|
const deserializeAws_json1_1DeleteUserPoolCommand = async (output, context) => {
|
|
@@ -3573,7 +3573,7 @@ const deserializeAws_json1_1DeleteUserPoolCommandError = async (output, context)
|
|
|
3573
3573
|
$fault: "client",
|
|
3574
3574
|
$metadata: deserializeMetadata(output),
|
|
3575
3575
|
});
|
|
3576
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3576
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3577
3577
|
}
|
|
3578
3578
|
};
|
|
3579
3579
|
const deserializeAws_json1_1DeleteUserPoolClientCommand = async (output, context) => {
|
|
@@ -3618,7 +3618,7 @@ const deserializeAws_json1_1DeleteUserPoolClientCommandError = async (output, co
|
|
|
3618
3618
|
$fault: "client",
|
|
3619
3619
|
$metadata: deserializeMetadata(output),
|
|
3620
3620
|
});
|
|
3621
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3621
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3622
3622
|
}
|
|
3623
3623
|
};
|
|
3624
3624
|
const deserializeAws_json1_1DeleteUserPoolDomainCommand = async (output, context) => {
|
|
@@ -3663,7 +3663,7 @@ const deserializeAws_json1_1DeleteUserPoolDomainCommandError = async (output, co
|
|
|
3663
3663
|
$fault: "client",
|
|
3664
3664
|
$metadata: deserializeMetadata(output),
|
|
3665
3665
|
});
|
|
3666
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3666
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3667
3667
|
}
|
|
3668
3668
|
};
|
|
3669
3669
|
const deserializeAws_json1_1DescribeIdentityProviderCommand = async (output, context) => {
|
|
@@ -3711,7 +3711,7 @@ const deserializeAws_json1_1DescribeIdentityProviderCommandError = async (output
|
|
|
3711
3711
|
$fault: "client",
|
|
3712
3712
|
$metadata: deserializeMetadata(output),
|
|
3713
3713
|
});
|
|
3714
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3714
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3715
3715
|
}
|
|
3716
3716
|
};
|
|
3717
3717
|
const deserializeAws_json1_1DescribeResourceServerCommand = async (output, context) => {
|
|
@@ -3759,7 +3759,7 @@ const deserializeAws_json1_1DescribeResourceServerCommandError = async (output,
|
|
|
3759
3759
|
$fault: "client",
|
|
3760
3760
|
$metadata: deserializeMetadata(output),
|
|
3761
3761
|
});
|
|
3762
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3762
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3763
3763
|
}
|
|
3764
3764
|
};
|
|
3765
3765
|
const deserializeAws_json1_1DescribeRiskConfigurationCommand = async (output, context) => {
|
|
@@ -3810,7 +3810,7 @@ const deserializeAws_json1_1DescribeRiskConfigurationCommandError = async (outpu
|
|
|
3810
3810
|
$fault: "client",
|
|
3811
3811
|
$metadata: deserializeMetadata(output),
|
|
3812
3812
|
});
|
|
3813
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3813
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3814
3814
|
}
|
|
3815
3815
|
};
|
|
3816
3816
|
const deserializeAws_json1_1DescribeUserImportJobCommand = async (output, context) => {
|
|
@@ -3858,7 +3858,7 @@ const deserializeAws_json1_1DescribeUserImportJobCommandError = async (output, c
|
|
|
3858
3858
|
$fault: "client",
|
|
3859
3859
|
$metadata: deserializeMetadata(output),
|
|
3860
3860
|
});
|
|
3861
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3861
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3862
3862
|
}
|
|
3863
3863
|
};
|
|
3864
3864
|
const deserializeAws_json1_1DescribeUserPoolCommand = async (output, context) => {
|
|
@@ -3909,7 +3909,7 @@ const deserializeAws_json1_1DescribeUserPoolCommandError = async (output, contex
|
|
|
3909
3909
|
$fault: "client",
|
|
3910
3910
|
$metadata: deserializeMetadata(output),
|
|
3911
3911
|
});
|
|
3912
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3912
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3913
3913
|
}
|
|
3914
3914
|
};
|
|
3915
3915
|
const deserializeAws_json1_1DescribeUserPoolClientCommand = async (output, context) => {
|
|
@@ -3957,7 +3957,7 @@ const deserializeAws_json1_1DescribeUserPoolClientCommandError = async (output,
|
|
|
3957
3957
|
$fault: "client",
|
|
3958
3958
|
$metadata: deserializeMetadata(output),
|
|
3959
3959
|
});
|
|
3960
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3960
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3961
3961
|
}
|
|
3962
3962
|
};
|
|
3963
3963
|
const deserializeAws_json1_1DescribeUserPoolDomainCommand = async (output, context) => {
|
|
@@ -4002,7 +4002,7 @@ const deserializeAws_json1_1DescribeUserPoolDomainCommandError = async (output,
|
|
|
4002
4002
|
$fault: "client",
|
|
4003
4003
|
$metadata: deserializeMetadata(output),
|
|
4004
4004
|
});
|
|
4005
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4005
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4006
4006
|
}
|
|
4007
4007
|
};
|
|
4008
4008
|
const deserializeAws_json1_1ForgetDeviceCommand = async (output, context) => {
|
|
@@ -4059,7 +4059,7 @@ const deserializeAws_json1_1ForgetDeviceCommandError = async (output, context) =
|
|
|
4059
4059
|
$fault: "client",
|
|
4060
4060
|
$metadata: deserializeMetadata(output),
|
|
4061
4061
|
});
|
|
4062
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4062
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4063
4063
|
}
|
|
4064
4064
|
};
|
|
4065
4065
|
const deserializeAws_json1_1ForgotPasswordCommand = async (output, context) => {
|
|
@@ -4124,9 +4124,6 @@ const deserializeAws_json1_1ForgotPasswordCommandError = async (output, context)
|
|
|
4124
4124
|
case "UserLambdaValidationException":
|
|
4125
4125
|
case "com.amazonaws.cognitoidentityprovider#UserLambdaValidationException":
|
|
4126
4126
|
throw await deserializeAws_json1_1UserLambdaValidationExceptionResponse(parsedOutput, context);
|
|
4127
|
-
case "UserNotConfirmedException":
|
|
4128
|
-
case "com.amazonaws.cognitoidentityprovider#UserNotConfirmedException":
|
|
4129
|
-
throw await deserializeAws_json1_1UserNotConfirmedExceptionResponse(parsedOutput, context);
|
|
4130
4127
|
case "UserNotFoundException":
|
|
4131
4128
|
case "com.amazonaws.cognitoidentityprovider#UserNotFoundException":
|
|
4132
4129
|
throw await deserializeAws_json1_1UserNotFoundExceptionResponse(parsedOutput, context);
|
|
@@ -4137,7 +4134,7 @@ const deserializeAws_json1_1ForgotPasswordCommandError = async (output, context)
|
|
|
4137
4134
|
$fault: "client",
|
|
4138
4135
|
$metadata: deserializeMetadata(output),
|
|
4139
4136
|
});
|
|
4140
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4137
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4141
4138
|
}
|
|
4142
4139
|
};
|
|
4143
4140
|
const deserializeAws_json1_1GetCSVHeaderCommand = async (output, context) => {
|
|
@@ -4185,7 +4182,7 @@ const deserializeAws_json1_1GetCSVHeaderCommandError = async (output, context) =
|
|
|
4185
4182
|
$fault: "client",
|
|
4186
4183
|
$metadata: deserializeMetadata(output),
|
|
4187
4184
|
});
|
|
4188
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4185
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4189
4186
|
}
|
|
4190
4187
|
};
|
|
4191
4188
|
const deserializeAws_json1_1GetDeviceCommand = async (output, context) => {
|
|
@@ -4245,7 +4242,7 @@ const deserializeAws_json1_1GetDeviceCommandError = async (output, context) => {
|
|
|
4245
4242
|
$fault: "client",
|
|
4246
4243
|
$metadata: deserializeMetadata(output),
|
|
4247
4244
|
});
|
|
4248
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4245
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4249
4246
|
}
|
|
4250
4247
|
};
|
|
4251
4248
|
const deserializeAws_json1_1GetGroupCommand = async (output, context) => {
|
|
@@ -4293,7 +4290,7 @@ const deserializeAws_json1_1GetGroupCommandError = async (output, context) => {
|
|
|
4293
4290
|
$fault: "client",
|
|
4294
4291
|
$metadata: deserializeMetadata(output),
|
|
4295
4292
|
});
|
|
4296
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4293
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4297
4294
|
}
|
|
4298
4295
|
};
|
|
4299
4296
|
const deserializeAws_json1_1GetIdentityProviderByIdentifierCommand = async (output, context) => {
|
|
@@ -4341,7 +4338,7 @@ const deserializeAws_json1_1GetIdentityProviderByIdentifierCommandError = async
|
|
|
4341
4338
|
$fault: "client",
|
|
4342
4339
|
$metadata: deserializeMetadata(output),
|
|
4343
4340
|
});
|
|
4344
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4341
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4345
4342
|
}
|
|
4346
4343
|
};
|
|
4347
4344
|
const deserializeAws_json1_1GetSigningCertificateCommand = async (output, context) => {
|
|
@@ -4383,7 +4380,7 @@ const deserializeAws_json1_1GetSigningCertificateCommandError = async (output, c
|
|
|
4383
4380
|
$fault: "client",
|
|
4384
4381
|
$metadata: deserializeMetadata(output),
|
|
4385
4382
|
});
|
|
4386
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4383
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4387
4384
|
}
|
|
4388
4385
|
};
|
|
4389
4386
|
const deserializeAws_json1_1GetUICustomizationCommand = async (output, context) => {
|
|
@@ -4431,7 +4428,7 @@ const deserializeAws_json1_1GetUICustomizationCommandError = async (output, cont
|
|
|
4431
4428
|
$fault: "client",
|
|
4432
4429
|
$metadata: deserializeMetadata(output),
|
|
4433
4430
|
});
|
|
4434
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4431
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4435
4432
|
}
|
|
4436
4433
|
};
|
|
4437
4434
|
const deserializeAws_json1_1GetUserCommand = async (output, context) => {
|
|
@@ -4488,7 +4485,7 @@ const deserializeAws_json1_1GetUserCommandError = async (output, context) => {
|
|
|
4488
4485
|
$fault: "client",
|
|
4489
4486
|
$metadata: deserializeMetadata(output),
|
|
4490
4487
|
});
|
|
4491
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4488
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4492
4489
|
}
|
|
4493
4490
|
};
|
|
4494
4491
|
const deserializeAws_json1_1GetUserAttributeVerificationCodeCommand = async (output, context) => {
|
|
@@ -4569,7 +4566,7 @@ const deserializeAws_json1_1GetUserAttributeVerificationCodeCommandError = async
|
|
|
4569
4566
|
$fault: "client",
|
|
4570
4567
|
$metadata: deserializeMetadata(output),
|
|
4571
4568
|
});
|
|
4572
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4569
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4573
4570
|
}
|
|
4574
4571
|
};
|
|
4575
4572
|
const deserializeAws_json1_1GetUserPoolMfaConfigCommand = async (output, context) => {
|
|
@@ -4617,7 +4614,7 @@ const deserializeAws_json1_1GetUserPoolMfaConfigCommandError = async (output, co
|
|
|
4617
4614
|
$fault: "client",
|
|
4618
4615
|
$metadata: deserializeMetadata(output),
|
|
4619
4616
|
});
|
|
4620
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4617
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4621
4618
|
}
|
|
4622
4619
|
};
|
|
4623
4620
|
const deserializeAws_json1_1GlobalSignOutCommand = async (output, context) => {
|
|
@@ -4671,7 +4668,7 @@ const deserializeAws_json1_1GlobalSignOutCommandError = async (output, context)
|
|
|
4671
4668
|
$fault: "client",
|
|
4672
4669
|
$metadata: deserializeMetadata(output),
|
|
4673
4670
|
});
|
|
4674
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4671
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4675
4672
|
}
|
|
4676
4673
|
};
|
|
4677
4674
|
const deserializeAws_json1_1InitiateAuthCommand = async (output, context) => {
|
|
@@ -4746,7 +4743,7 @@ const deserializeAws_json1_1InitiateAuthCommandError = async (output, context) =
|
|
|
4746
4743
|
$fault: "client",
|
|
4747
4744
|
$metadata: deserializeMetadata(output),
|
|
4748
4745
|
});
|
|
4749
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4746
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4750
4747
|
}
|
|
4751
4748
|
};
|
|
4752
4749
|
const deserializeAws_json1_1ListDevicesCommand = async (output, context) => {
|
|
@@ -4806,7 +4803,7 @@ const deserializeAws_json1_1ListDevicesCommandError = async (output, context) =>
|
|
|
4806
4803
|
$fault: "client",
|
|
4807
4804
|
$metadata: deserializeMetadata(output),
|
|
4808
4805
|
});
|
|
4809
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4806
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4810
4807
|
}
|
|
4811
4808
|
};
|
|
4812
4809
|
const deserializeAws_json1_1ListGroupsCommand = async (output, context) => {
|
|
@@ -4854,7 +4851,7 @@ const deserializeAws_json1_1ListGroupsCommandError = async (output, context) =>
|
|
|
4854
4851
|
$fault: "client",
|
|
4855
4852
|
$metadata: deserializeMetadata(output),
|
|
4856
4853
|
});
|
|
4857
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4854
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4858
4855
|
}
|
|
4859
4856
|
};
|
|
4860
4857
|
const deserializeAws_json1_1ListIdentityProvidersCommand = async (output, context) => {
|
|
@@ -4902,7 +4899,7 @@ const deserializeAws_json1_1ListIdentityProvidersCommandError = async (output, c
|
|
|
4902
4899
|
$fault: "client",
|
|
4903
4900
|
$metadata: deserializeMetadata(output),
|
|
4904
4901
|
});
|
|
4905
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4902
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4906
4903
|
}
|
|
4907
4904
|
};
|
|
4908
4905
|
const deserializeAws_json1_1ListResourceServersCommand = async (output, context) => {
|
|
@@ -4950,7 +4947,7 @@ const deserializeAws_json1_1ListResourceServersCommandError = async (output, con
|
|
|
4950
4947
|
$fault: "client",
|
|
4951
4948
|
$metadata: deserializeMetadata(output),
|
|
4952
4949
|
});
|
|
4953
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4950
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4954
4951
|
}
|
|
4955
4952
|
};
|
|
4956
4953
|
const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -4998,7 +4995,7 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
4998
4995
|
$fault: "client",
|
|
4999
4996
|
$metadata: deserializeMetadata(output),
|
|
5000
4997
|
});
|
|
5001
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4998
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5002
4999
|
}
|
|
5003
5000
|
};
|
|
5004
5001
|
const deserializeAws_json1_1ListUserImportJobsCommand = async (output, context) => {
|
|
@@ -5046,7 +5043,7 @@ const deserializeAws_json1_1ListUserImportJobsCommandError = async (output, cont
|
|
|
5046
5043
|
$fault: "client",
|
|
5047
5044
|
$metadata: deserializeMetadata(output),
|
|
5048
5045
|
});
|
|
5049
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5046
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5050
5047
|
}
|
|
5051
5048
|
};
|
|
5052
5049
|
const deserializeAws_json1_1ListUserPoolClientsCommand = async (output, context) => {
|
|
@@ -5094,7 +5091,7 @@ const deserializeAws_json1_1ListUserPoolClientsCommandError = async (output, con
|
|
|
5094
5091
|
$fault: "client",
|
|
5095
5092
|
$metadata: deserializeMetadata(output),
|
|
5096
5093
|
});
|
|
5097
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5094
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5098
5095
|
}
|
|
5099
5096
|
};
|
|
5100
5097
|
const deserializeAws_json1_1ListUserPoolsCommand = async (output, context) => {
|
|
@@ -5139,7 +5136,7 @@ const deserializeAws_json1_1ListUserPoolsCommandError = async (output, context)
|
|
|
5139
5136
|
$fault: "client",
|
|
5140
5137
|
$metadata: deserializeMetadata(output),
|
|
5141
5138
|
});
|
|
5142
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5139
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5143
5140
|
}
|
|
5144
5141
|
};
|
|
5145
5142
|
const deserializeAws_json1_1ListUsersCommand = async (output, context) => {
|
|
@@ -5187,7 +5184,7 @@ const deserializeAws_json1_1ListUsersCommandError = async (output, context) => {
|
|
|
5187
5184
|
$fault: "client",
|
|
5188
5185
|
$metadata: deserializeMetadata(output),
|
|
5189
5186
|
});
|
|
5190
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5187
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5191
5188
|
}
|
|
5192
5189
|
};
|
|
5193
5190
|
const deserializeAws_json1_1ListUsersInGroupCommand = async (output, context) => {
|
|
@@ -5235,7 +5232,7 @@ const deserializeAws_json1_1ListUsersInGroupCommandError = async (output, contex
|
|
|
5235
5232
|
$fault: "client",
|
|
5236
5233
|
$metadata: deserializeMetadata(output),
|
|
5237
5234
|
});
|
|
5238
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5235
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5239
5236
|
}
|
|
5240
5237
|
};
|
|
5241
5238
|
const deserializeAws_json1_1ResendConfirmationCodeCommand = async (output, context) => {
|
|
@@ -5310,7 +5307,7 @@ const deserializeAws_json1_1ResendConfirmationCodeCommandError = async (output,
|
|
|
5310
5307
|
$fault: "client",
|
|
5311
5308
|
$metadata: deserializeMetadata(output),
|
|
5312
5309
|
});
|
|
5313
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5310
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5314
5311
|
}
|
|
5315
5312
|
};
|
|
5316
5313
|
const deserializeAws_json1_1RespondToAuthChallengeCommand = async (output, context) => {
|
|
@@ -5403,7 +5400,7 @@ const deserializeAws_json1_1RespondToAuthChallengeCommandError = async (output,
|
|
|
5403
5400
|
$fault: "client",
|
|
5404
5401
|
$metadata: deserializeMetadata(output),
|
|
5405
5402
|
});
|
|
5406
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5403
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5407
5404
|
}
|
|
5408
5405
|
};
|
|
5409
5406
|
const deserializeAws_json1_1RevokeTokenCommand = async (output, context) => {
|
|
@@ -5454,7 +5451,7 @@ const deserializeAws_json1_1RevokeTokenCommandError = async (output, context) =>
|
|
|
5454
5451
|
$fault: "client",
|
|
5455
5452
|
$metadata: deserializeMetadata(output),
|
|
5456
5453
|
});
|
|
5457
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5454
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5458
5455
|
}
|
|
5459
5456
|
};
|
|
5460
5457
|
const deserializeAws_json1_1SetRiskConfigurationCommand = async (output, context) => {
|
|
@@ -5511,7 +5508,7 @@ const deserializeAws_json1_1SetRiskConfigurationCommandError = async (output, co
|
|
|
5511
5508
|
$fault: "client",
|
|
5512
5509
|
$metadata: deserializeMetadata(output),
|
|
5513
5510
|
});
|
|
5514
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5511
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5515
5512
|
}
|
|
5516
5513
|
};
|
|
5517
5514
|
const deserializeAws_json1_1SetUICustomizationCommand = async (output, context) => {
|
|
@@ -5559,7 +5556,7 @@ const deserializeAws_json1_1SetUICustomizationCommandError = async (output, cont
|
|
|
5559
5556
|
$fault: "client",
|
|
5560
5557
|
$metadata: deserializeMetadata(output),
|
|
5561
5558
|
});
|
|
5562
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5559
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5563
5560
|
}
|
|
5564
5561
|
};
|
|
5565
5562
|
const deserializeAws_json1_1SetUserMFAPreferenceCommand = async (output, context) => {
|
|
@@ -5613,7 +5610,7 @@ const deserializeAws_json1_1SetUserMFAPreferenceCommandError = async (output, co
|
|
|
5613
5610
|
$fault: "client",
|
|
5614
5611
|
$metadata: deserializeMetadata(output),
|
|
5615
5612
|
});
|
|
5616
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5613
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5617
5614
|
}
|
|
5618
5615
|
};
|
|
5619
5616
|
const deserializeAws_json1_1SetUserPoolMfaConfigCommand = async (output, context) => {
|
|
@@ -5667,7 +5664,7 @@ const deserializeAws_json1_1SetUserPoolMfaConfigCommandError = async (output, co
|
|
|
5667
5664
|
$fault: "client",
|
|
5668
5665
|
$metadata: deserializeMetadata(output),
|
|
5669
5666
|
});
|
|
5670
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5667
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5671
5668
|
}
|
|
5672
5669
|
};
|
|
5673
5670
|
const deserializeAws_json1_1SetUserSettingsCommand = async (output, context) => {
|
|
@@ -5721,7 +5718,7 @@ const deserializeAws_json1_1SetUserSettingsCommandError = async (output, context
|
|
|
5721
5718
|
$fault: "client",
|
|
5722
5719
|
$metadata: deserializeMetadata(output),
|
|
5723
5720
|
});
|
|
5724
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5721
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5725
5722
|
}
|
|
5726
5723
|
};
|
|
5727
5724
|
const deserializeAws_json1_1SignUpCommand = async (output, context) => {
|
|
@@ -5796,7 +5793,7 @@ const deserializeAws_json1_1SignUpCommandError = async (output, context) => {
|
|
|
5796
5793
|
$fault: "client",
|
|
5797
5794
|
$metadata: deserializeMetadata(output),
|
|
5798
5795
|
});
|
|
5799
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5796
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5800
5797
|
}
|
|
5801
5798
|
};
|
|
5802
5799
|
const deserializeAws_json1_1StartUserImportJobCommand = async (output, context) => {
|
|
@@ -5847,7 +5844,7 @@ const deserializeAws_json1_1StartUserImportJobCommandError = async (output, cont
|
|
|
5847
5844
|
$fault: "client",
|
|
5848
5845
|
$metadata: deserializeMetadata(output),
|
|
5849
5846
|
});
|
|
5850
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5847
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5851
5848
|
}
|
|
5852
5849
|
};
|
|
5853
5850
|
const deserializeAws_json1_1StopUserImportJobCommand = async (output, context) => {
|
|
@@ -5898,7 +5895,7 @@ const deserializeAws_json1_1StopUserImportJobCommandError = async (output, conte
|
|
|
5898
5895
|
$fault: "client",
|
|
5899
5896
|
$metadata: deserializeMetadata(output),
|
|
5900
5897
|
});
|
|
5901
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5898
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5902
5899
|
}
|
|
5903
5900
|
};
|
|
5904
5901
|
const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
|
|
@@ -5946,7 +5943,7 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
5946
5943
|
$fault: "client",
|
|
5947
5944
|
$metadata: deserializeMetadata(output),
|
|
5948
5945
|
});
|
|
5949
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5946
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5950
5947
|
}
|
|
5951
5948
|
};
|
|
5952
5949
|
const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
|
|
@@ -5994,7 +5991,7 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
5994
5991
|
$fault: "client",
|
|
5995
5992
|
$metadata: deserializeMetadata(output),
|
|
5996
5993
|
});
|
|
5997
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5994
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5998
5995
|
}
|
|
5999
5996
|
};
|
|
6000
5997
|
const deserializeAws_json1_1UpdateAuthEventFeedbackCommand = async (output, context) => {
|
|
@@ -6048,7 +6045,7 @@ const deserializeAws_json1_1UpdateAuthEventFeedbackCommandError = async (output,
|
|
|
6048
6045
|
$fault: "client",
|
|
6049
6046
|
$metadata: deserializeMetadata(output),
|
|
6050
6047
|
});
|
|
6051
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6048
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6052
6049
|
}
|
|
6053
6050
|
};
|
|
6054
6051
|
const deserializeAws_json1_1UpdateDeviceStatusCommand = async (output, context) => {
|
|
@@ -6108,7 +6105,7 @@ const deserializeAws_json1_1UpdateDeviceStatusCommandError = async (output, cont
|
|
|
6108
6105
|
$fault: "client",
|
|
6109
6106
|
$metadata: deserializeMetadata(output),
|
|
6110
6107
|
});
|
|
6111
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6108
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6112
6109
|
}
|
|
6113
6110
|
};
|
|
6114
6111
|
const deserializeAws_json1_1UpdateGroupCommand = async (output, context) => {
|
|
@@ -6156,7 +6153,7 @@ const deserializeAws_json1_1UpdateGroupCommandError = async (output, context) =>
|
|
|
6156
6153
|
$fault: "client",
|
|
6157
6154
|
$metadata: deserializeMetadata(output),
|
|
6158
6155
|
});
|
|
6159
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6156
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6160
6157
|
}
|
|
6161
6158
|
};
|
|
6162
6159
|
const deserializeAws_json1_1UpdateIdentityProviderCommand = async (output, context) => {
|
|
@@ -6207,7 +6204,7 @@ const deserializeAws_json1_1UpdateIdentityProviderCommandError = async (output,
|
|
|
6207
6204
|
$fault: "client",
|
|
6208
6205
|
$metadata: deserializeMetadata(output),
|
|
6209
6206
|
});
|
|
6210
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6207
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6211
6208
|
}
|
|
6212
6209
|
};
|
|
6213
6210
|
const deserializeAws_json1_1UpdateResourceServerCommand = async (output, context) => {
|
|
@@ -6255,7 +6252,7 @@ const deserializeAws_json1_1UpdateResourceServerCommandError = async (output, co
|
|
|
6255
6252
|
$fault: "client",
|
|
6256
6253
|
$metadata: deserializeMetadata(output),
|
|
6257
6254
|
});
|
|
6258
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6255
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6259
6256
|
}
|
|
6260
6257
|
};
|
|
6261
6258
|
const deserializeAws_json1_1UpdateUserAttributesCommand = async (output, context) => {
|
|
@@ -6342,7 +6339,7 @@ const deserializeAws_json1_1UpdateUserAttributesCommandError = async (output, co
|
|
|
6342
6339
|
$fault: "client",
|
|
6343
6340
|
$metadata: deserializeMetadata(output),
|
|
6344
6341
|
});
|
|
6345
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6342
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6346
6343
|
}
|
|
6347
6344
|
};
|
|
6348
6345
|
const deserializeAws_json1_1UpdateUserPoolCommand = async (output, context) => {
|
|
@@ -6408,7 +6405,7 @@ const deserializeAws_json1_1UpdateUserPoolCommandError = async (output, context)
|
|
|
6408
6405
|
$fault: "client",
|
|
6409
6406
|
$metadata: deserializeMetadata(output),
|
|
6410
6407
|
});
|
|
6411
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6408
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6412
6409
|
}
|
|
6413
6410
|
};
|
|
6414
6411
|
const deserializeAws_json1_1UpdateUserPoolClientCommand = async (output, context) => {
|
|
@@ -6465,7 +6462,7 @@ const deserializeAws_json1_1UpdateUserPoolClientCommandError = async (output, co
|
|
|
6465
6462
|
$fault: "client",
|
|
6466
6463
|
$metadata: deserializeMetadata(output),
|
|
6467
6464
|
});
|
|
6468
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6465
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6469
6466
|
}
|
|
6470
6467
|
};
|
|
6471
6468
|
const deserializeAws_json1_1UpdateUserPoolDomainCommand = async (output, context) => {
|
|
@@ -6513,7 +6510,7 @@ const deserializeAws_json1_1UpdateUserPoolDomainCommandError = async (output, co
|
|
|
6513
6510
|
$fault: "client",
|
|
6514
6511
|
$metadata: deserializeMetadata(output),
|
|
6515
6512
|
});
|
|
6516
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6513
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6517
6514
|
}
|
|
6518
6515
|
};
|
|
6519
6516
|
const deserializeAws_json1_1VerifySoftwareTokenCommand = async (output, context) => {
|
|
@@ -6582,7 +6579,7 @@ const deserializeAws_json1_1VerifySoftwareTokenCommandError = async (output, con
|
|
|
6582
6579
|
$fault: "client",
|
|
6583
6580
|
$metadata: deserializeMetadata(output),
|
|
6584
6581
|
});
|
|
6585
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6582
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6586
6583
|
}
|
|
6587
6584
|
};
|
|
6588
6585
|
const deserializeAws_json1_1VerifyUserAttributeCommand = async (output, context) => {
|
|
@@ -6648,7 +6645,7 @@ const deserializeAws_json1_1VerifyUserAttributeCommandError = async (output, con
|
|
|
6648
6645
|
$fault: "client",
|
|
6649
6646
|
$metadata: deserializeMetadata(output),
|
|
6650
6647
|
});
|
|
6651
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6648
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6652
6649
|
}
|
|
6653
6650
|
};
|
|
6654
6651
|
const deserializeAws_json1_1AliasExistsExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -6658,7 +6655,7 @@ const deserializeAws_json1_1AliasExistsExceptionResponse = async (parsedOutput,
|
|
|
6658
6655
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6659
6656
|
...deserialized,
|
|
6660
6657
|
});
|
|
6661
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6658
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6662
6659
|
};
|
|
6663
6660
|
const deserializeAws_json1_1CodeDeliveryFailureExceptionResponse = async (parsedOutput, context) => {
|
|
6664
6661
|
const body = parsedOutput.body;
|
|
@@ -6667,7 +6664,7 @@ const deserializeAws_json1_1CodeDeliveryFailureExceptionResponse = async (parsed
|
|
|
6667
6664
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6668
6665
|
...deserialized,
|
|
6669
6666
|
});
|
|
6670
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6667
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6671
6668
|
};
|
|
6672
6669
|
const deserializeAws_json1_1CodeMismatchExceptionResponse = async (parsedOutput, context) => {
|
|
6673
6670
|
const body = parsedOutput.body;
|
|
@@ -6676,7 +6673,7 @@ const deserializeAws_json1_1CodeMismatchExceptionResponse = async (parsedOutput,
|
|
|
6676
6673
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6677
6674
|
...deserialized,
|
|
6678
6675
|
});
|
|
6679
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6676
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6680
6677
|
};
|
|
6681
6678
|
const deserializeAws_json1_1ConcurrentModificationExceptionResponse = async (parsedOutput, context) => {
|
|
6682
6679
|
const body = parsedOutput.body;
|
|
@@ -6685,7 +6682,7 @@ const deserializeAws_json1_1ConcurrentModificationExceptionResponse = async (par
|
|
|
6685
6682
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6686
6683
|
...deserialized,
|
|
6687
6684
|
});
|
|
6688
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6685
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6689
6686
|
};
|
|
6690
6687
|
const deserializeAws_json1_1DuplicateProviderExceptionResponse = async (parsedOutput, context) => {
|
|
6691
6688
|
const body = parsedOutput.body;
|
|
@@ -6694,7 +6691,7 @@ const deserializeAws_json1_1DuplicateProviderExceptionResponse = async (parsedOu
|
|
|
6694
6691
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6695
6692
|
...deserialized,
|
|
6696
6693
|
});
|
|
6697
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6694
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6698
6695
|
};
|
|
6699
6696
|
const deserializeAws_json1_1EnableSoftwareTokenMFAExceptionResponse = async (parsedOutput, context) => {
|
|
6700
6697
|
const body = parsedOutput.body;
|
|
@@ -6703,7 +6700,7 @@ const deserializeAws_json1_1EnableSoftwareTokenMFAExceptionResponse = async (par
|
|
|
6703
6700
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6704
6701
|
...deserialized,
|
|
6705
6702
|
});
|
|
6706
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6703
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6707
6704
|
};
|
|
6708
6705
|
const deserializeAws_json1_1ExpiredCodeExceptionResponse = async (parsedOutput, context) => {
|
|
6709
6706
|
const body = parsedOutput.body;
|
|
@@ -6712,7 +6709,7 @@ const deserializeAws_json1_1ExpiredCodeExceptionResponse = async (parsedOutput,
|
|
|
6712
6709
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6713
6710
|
...deserialized,
|
|
6714
6711
|
});
|
|
6715
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6712
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6716
6713
|
};
|
|
6717
6714
|
const deserializeAws_json1_1GroupExistsExceptionResponse = async (parsedOutput, context) => {
|
|
6718
6715
|
const body = parsedOutput.body;
|
|
@@ -6721,7 +6718,7 @@ const deserializeAws_json1_1GroupExistsExceptionResponse = async (parsedOutput,
|
|
|
6721
6718
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6722
6719
|
...deserialized,
|
|
6723
6720
|
});
|
|
6724
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6721
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6725
6722
|
};
|
|
6726
6723
|
const deserializeAws_json1_1InternalErrorExceptionResponse = async (parsedOutput, context) => {
|
|
6727
6724
|
const body = parsedOutput.body;
|
|
@@ -6730,7 +6727,7 @@ const deserializeAws_json1_1InternalErrorExceptionResponse = async (parsedOutput
|
|
|
6730
6727
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6731
6728
|
...deserialized,
|
|
6732
6729
|
});
|
|
6733
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6730
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6734
6731
|
};
|
|
6735
6732
|
const deserializeAws_json1_1InvalidEmailRoleAccessPolicyExceptionResponse = async (parsedOutput, context) => {
|
|
6736
6733
|
const body = parsedOutput.body;
|
|
@@ -6739,7 +6736,7 @@ const deserializeAws_json1_1InvalidEmailRoleAccessPolicyExceptionResponse = asyn
|
|
|
6739
6736
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6740
6737
|
...deserialized,
|
|
6741
6738
|
});
|
|
6742
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6739
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6743
6740
|
};
|
|
6744
6741
|
const deserializeAws_json1_1InvalidLambdaResponseExceptionResponse = async (parsedOutput, context) => {
|
|
6745
6742
|
const body = parsedOutput.body;
|
|
@@ -6748,7 +6745,7 @@ const deserializeAws_json1_1InvalidLambdaResponseExceptionResponse = async (pars
|
|
|
6748
6745
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6749
6746
|
...deserialized,
|
|
6750
6747
|
});
|
|
6751
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6748
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6752
6749
|
};
|
|
6753
6750
|
const deserializeAws_json1_1InvalidOAuthFlowExceptionResponse = async (parsedOutput, context) => {
|
|
6754
6751
|
const body = parsedOutput.body;
|
|
@@ -6757,7 +6754,7 @@ const deserializeAws_json1_1InvalidOAuthFlowExceptionResponse = async (parsedOut
|
|
|
6757
6754
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6758
6755
|
...deserialized,
|
|
6759
6756
|
});
|
|
6760
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6757
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6761
6758
|
};
|
|
6762
6759
|
const deserializeAws_json1_1InvalidParameterExceptionResponse = async (parsedOutput, context) => {
|
|
6763
6760
|
const body = parsedOutput.body;
|
|
@@ -6766,7 +6763,7 @@ const deserializeAws_json1_1InvalidParameterExceptionResponse = async (parsedOut
|
|
|
6766
6763
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6767
6764
|
...deserialized,
|
|
6768
6765
|
});
|
|
6769
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6766
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6770
6767
|
};
|
|
6771
6768
|
const deserializeAws_json1_1InvalidPasswordExceptionResponse = async (parsedOutput, context) => {
|
|
6772
6769
|
const body = parsedOutput.body;
|
|
@@ -6775,7 +6772,7 @@ const deserializeAws_json1_1InvalidPasswordExceptionResponse = async (parsedOutp
|
|
|
6775
6772
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6776
6773
|
...deserialized,
|
|
6777
6774
|
});
|
|
6778
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6775
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6779
6776
|
};
|
|
6780
6777
|
const deserializeAws_json1_1InvalidSmsRoleAccessPolicyExceptionResponse = async (parsedOutput, context) => {
|
|
6781
6778
|
const body = parsedOutput.body;
|
|
@@ -6784,7 +6781,7 @@ const deserializeAws_json1_1InvalidSmsRoleAccessPolicyExceptionResponse = async
|
|
|
6784
6781
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6785
6782
|
...deserialized,
|
|
6786
6783
|
});
|
|
6787
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6784
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6788
6785
|
};
|
|
6789
6786
|
const deserializeAws_json1_1InvalidSmsRoleTrustRelationshipExceptionResponse = async (parsedOutput, context) => {
|
|
6790
6787
|
const body = parsedOutput.body;
|
|
@@ -6793,7 +6790,7 @@ const deserializeAws_json1_1InvalidSmsRoleTrustRelationshipExceptionResponse = a
|
|
|
6793
6790
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6794
6791
|
...deserialized,
|
|
6795
6792
|
});
|
|
6796
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6793
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6797
6794
|
};
|
|
6798
6795
|
const deserializeAws_json1_1InvalidUserPoolConfigurationExceptionResponse = async (parsedOutput, context) => {
|
|
6799
6796
|
const body = parsedOutput.body;
|
|
@@ -6802,7 +6799,7 @@ const deserializeAws_json1_1InvalidUserPoolConfigurationExceptionResponse = asyn
|
|
|
6802
6799
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6803
6800
|
...deserialized,
|
|
6804
6801
|
});
|
|
6805
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6802
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6806
6803
|
};
|
|
6807
6804
|
const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput, context) => {
|
|
6808
6805
|
const body = parsedOutput.body;
|
|
@@ -6811,7 +6808,7 @@ const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput
|
|
|
6811
6808
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6812
6809
|
...deserialized,
|
|
6813
6810
|
});
|
|
6814
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6811
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6815
6812
|
};
|
|
6816
6813
|
const deserializeAws_json1_1MFAMethodNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
6817
6814
|
const body = parsedOutput.body;
|
|
@@ -6820,7 +6817,7 @@ const deserializeAws_json1_1MFAMethodNotFoundExceptionResponse = async (parsedOu
|
|
|
6820
6817
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6821
6818
|
...deserialized,
|
|
6822
6819
|
});
|
|
6823
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6820
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6824
6821
|
};
|
|
6825
6822
|
const deserializeAws_json1_1NotAuthorizedExceptionResponse = async (parsedOutput, context) => {
|
|
6826
6823
|
const body = parsedOutput.body;
|
|
@@ -6829,7 +6826,7 @@ const deserializeAws_json1_1NotAuthorizedExceptionResponse = async (parsedOutput
|
|
|
6829
6826
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6830
6827
|
...deserialized,
|
|
6831
6828
|
});
|
|
6832
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6829
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6833
6830
|
};
|
|
6834
6831
|
const deserializeAws_json1_1PasswordResetRequiredExceptionResponse = async (parsedOutput, context) => {
|
|
6835
6832
|
const body = parsedOutput.body;
|
|
@@ -6838,7 +6835,7 @@ const deserializeAws_json1_1PasswordResetRequiredExceptionResponse = async (pars
|
|
|
6838
6835
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6839
6836
|
...deserialized,
|
|
6840
6837
|
});
|
|
6841
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6838
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6842
6839
|
};
|
|
6843
6840
|
const deserializeAws_json1_1PreconditionNotMetExceptionResponse = async (parsedOutput, context) => {
|
|
6844
6841
|
const body = parsedOutput.body;
|
|
@@ -6847,7 +6844,7 @@ const deserializeAws_json1_1PreconditionNotMetExceptionResponse = async (parsedO
|
|
|
6847
6844
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6848
6845
|
...deserialized,
|
|
6849
6846
|
});
|
|
6850
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6847
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6851
6848
|
};
|
|
6852
6849
|
const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
6853
6850
|
const body = parsedOutput.body;
|
|
@@ -6856,7 +6853,7 @@ const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOut
|
|
|
6856
6853
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6857
6854
|
...deserialized,
|
|
6858
6855
|
});
|
|
6859
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6856
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6860
6857
|
};
|
|
6861
6858
|
const deserializeAws_json1_1ScopeDoesNotExistExceptionResponse = async (parsedOutput, context) => {
|
|
6862
6859
|
const body = parsedOutput.body;
|
|
@@ -6865,7 +6862,7 @@ const deserializeAws_json1_1ScopeDoesNotExistExceptionResponse = async (parsedOu
|
|
|
6865
6862
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6866
6863
|
...deserialized,
|
|
6867
6864
|
});
|
|
6868
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6865
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6869
6866
|
};
|
|
6870
6867
|
const deserializeAws_json1_1SoftwareTokenMFANotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
6871
6868
|
const body = parsedOutput.body;
|
|
@@ -6874,7 +6871,7 @@ const deserializeAws_json1_1SoftwareTokenMFANotFoundExceptionResponse = async (p
|
|
|
6874
6871
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6875
6872
|
...deserialized,
|
|
6876
6873
|
});
|
|
6877
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6874
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6878
6875
|
};
|
|
6879
6876
|
const deserializeAws_json1_1TooManyFailedAttemptsExceptionResponse = async (parsedOutput, context) => {
|
|
6880
6877
|
const body = parsedOutput.body;
|
|
@@ -6883,7 +6880,7 @@ const deserializeAws_json1_1TooManyFailedAttemptsExceptionResponse = async (pars
|
|
|
6883
6880
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6884
6881
|
...deserialized,
|
|
6885
6882
|
});
|
|
6886
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6883
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6887
6884
|
};
|
|
6888
6885
|
const deserializeAws_json1_1TooManyRequestsExceptionResponse = async (parsedOutput, context) => {
|
|
6889
6886
|
const body = parsedOutput.body;
|
|
@@ -6892,7 +6889,7 @@ const deserializeAws_json1_1TooManyRequestsExceptionResponse = async (parsedOutp
|
|
|
6892
6889
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6893
6890
|
...deserialized,
|
|
6894
6891
|
});
|
|
6895
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6892
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6896
6893
|
};
|
|
6897
6894
|
const deserializeAws_json1_1UnauthorizedExceptionResponse = async (parsedOutput, context) => {
|
|
6898
6895
|
const body = parsedOutput.body;
|
|
@@ -6901,7 +6898,7 @@ const deserializeAws_json1_1UnauthorizedExceptionResponse = async (parsedOutput,
|
|
|
6901
6898
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6902
6899
|
...deserialized,
|
|
6903
6900
|
});
|
|
6904
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6901
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6905
6902
|
};
|
|
6906
6903
|
const deserializeAws_json1_1UnexpectedLambdaExceptionResponse = async (parsedOutput, context) => {
|
|
6907
6904
|
const body = parsedOutput.body;
|
|
@@ -6910,7 +6907,7 @@ const deserializeAws_json1_1UnexpectedLambdaExceptionResponse = async (parsedOut
|
|
|
6910
6907
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6911
6908
|
...deserialized,
|
|
6912
6909
|
});
|
|
6913
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6910
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6914
6911
|
};
|
|
6915
6912
|
const deserializeAws_json1_1UnsupportedIdentityProviderExceptionResponse = async (parsedOutput, context) => {
|
|
6916
6913
|
const body = parsedOutput.body;
|
|
@@ -6919,7 +6916,7 @@ const deserializeAws_json1_1UnsupportedIdentityProviderExceptionResponse = async
|
|
|
6919
6916
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6920
6917
|
...deserialized,
|
|
6921
6918
|
});
|
|
6922
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6919
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6923
6920
|
};
|
|
6924
6921
|
const deserializeAws_json1_1UnsupportedOperationExceptionResponse = async (parsedOutput, context) => {
|
|
6925
6922
|
const body = parsedOutput.body;
|
|
@@ -6928,7 +6925,7 @@ const deserializeAws_json1_1UnsupportedOperationExceptionResponse = async (parse
|
|
|
6928
6925
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6929
6926
|
...deserialized,
|
|
6930
6927
|
});
|
|
6931
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6928
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6932
6929
|
};
|
|
6933
6930
|
const deserializeAws_json1_1UnsupportedTokenTypeExceptionResponse = async (parsedOutput, context) => {
|
|
6934
6931
|
const body = parsedOutput.body;
|
|
@@ -6937,7 +6934,7 @@ const deserializeAws_json1_1UnsupportedTokenTypeExceptionResponse = async (parse
|
|
|
6937
6934
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6938
6935
|
...deserialized,
|
|
6939
6936
|
});
|
|
6940
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6937
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6941
6938
|
};
|
|
6942
6939
|
const deserializeAws_json1_1UnsupportedUserStateExceptionResponse = async (parsedOutput, context) => {
|
|
6943
6940
|
const body = parsedOutput.body;
|
|
@@ -6946,7 +6943,7 @@ const deserializeAws_json1_1UnsupportedUserStateExceptionResponse = async (parse
|
|
|
6946
6943
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6947
6944
|
...deserialized,
|
|
6948
6945
|
});
|
|
6949
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6946
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6950
6947
|
};
|
|
6951
6948
|
const deserializeAws_json1_1UserImportInProgressExceptionResponse = async (parsedOutput, context) => {
|
|
6952
6949
|
const body = parsedOutput.body;
|
|
@@ -6955,7 +6952,7 @@ const deserializeAws_json1_1UserImportInProgressExceptionResponse = async (parse
|
|
|
6955
6952
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6956
6953
|
...deserialized,
|
|
6957
6954
|
});
|
|
6958
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6955
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6959
6956
|
};
|
|
6960
6957
|
const deserializeAws_json1_1UserLambdaValidationExceptionResponse = async (parsedOutput, context) => {
|
|
6961
6958
|
const body = parsedOutput.body;
|
|
@@ -6964,7 +6961,7 @@ const deserializeAws_json1_1UserLambdaValidationExceptionResponse = async (parse
|
|
|
6964
6961
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6965
6962
|
...deserialized,
|
|
6966
6963
|
});
|
|
6967
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6964
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6968
6965
|
};
|
|
6969
6966
|
const deserializeAws_json1_1UsernameExistsExceptionResponse = async (parsedOutput, context) => {
|
|
6970
6967
|
const body = parsedOutput.body;
|
|
@@ -6973,7 +6970,7 @@ const deserializeAws_json1_1UsernameExistsExceptionResponse = async (parsedOutpu
|
|
|
6973
6970
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6974
6971
|
...deserialized,
|
|
6975
6972
|
});
|
|
6976
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6973
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6977
6974
|
};
|
|
6978
6975
|
const deserializeAws_json1_1UserNotConfirmedExceptionResponse = async (parsedOutput, context) => {
|
|
6979
6976
|
const body = parsedOutput.body;
|
|
@@ -6982,7 +6979,7 @@ const deserializeAws_json1_1UserNotConfirmedExceptionResponse = async (parsedOut
|
|
|
6982
6979
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6983
6980
|
...deserialized,
|
|
6984
6981
|
});
|
|
6985
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6982
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6986
6983
|
};
|
|
6987
6984
|
const deserializeAws_json1_1UserNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
6988
6985
|
const body = parsedOutput.body;
|
|
@@ -6991,7 +6988,7 @@ const deserializeAws_json1_1UserNotFoundExceptionResponse = async (parsedOutput,
|
|
|
6991
6988
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6992
6989
|
...deserialized,
|
|
6993
6990
|
});
|
|
6994
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
6991
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6995
6992
|
};
|
|
6996
6993
|
const deserializeAws_json1_1UserPoolAddOnNotEnabledExceptionResponse = async (parsedOutput, context) => {
|
|
6997
6994
|
const body = parsedOutput.body;
|
|
@@ -7000,7 +6997,7 @@ const deserializeAws_json1_1UserPoolAddOnNotEnabledExceptionResponse = async (pa
|
|
|
7000
6997
|
$metadata: deserializeMetadata(parsedOutput),
|
|
7001
6998
|
...deserialized,
|
|
7002
6999
|
});
|
|
7003
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
7000
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
7004
7001
|
};
|
|
7005
7002
|
const deserializeAws_json1_1UserPoolTaggingExceptionResponse = async (parsedOutput, context) => {
|
|
7006
7003
|
const body = parsedOutput.body;
|
|
@@ -7009,7 +7006,7 @@ const deserializeAws_json1_1UserPoolTaggingExceptionResponse = async (parsedOutp
|
|
|
7009
7006
|
$metadata: deserializeMetadata(parsedOutput),
|
|
7010
7007
|
...deserialized,
|
|
7011
7008
|
});
|
|
7012
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
7009
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
7013
7010
|
};
|
|
7014
7011
|
const serializeAws_json1_1AccountRecoverySettingType = (input, context) => {
|
|
7015
7012
|
return {
|
|
@@ -8519,6 +8516,7 @@ const serializeAws_json1_1SmsConfigurationType = (input, context) => {
|
|
|
8519
8516
|
return {
|
|
8520
8517
|
...(input.ExternalId !== undefined && input.ExternalId !== null && { ExternalId: input.ExternalId }),
|
|
8521
8518
|
...(input.SnsCallerArn !== undefined && input.SnsCallerArn !== null && { SnsCallerArn: input.SnsCallerArn }),
|
|
8519
|
+
...(input.SnsRegion !== undefined && input.SnsRegion !== null && { SnsRegion: input.SnsRegion }),
|
|
8522
8520
|
};
|
|
8523
8521
|
};
|
|
8524
8522
|
const serializeAws_json1_1SmsMfaConfigType = (input, context) => {
|
|
@@ -8907,8 +8905,8 @@ const deserializeAws_json1_1AccountTakeoverActionsType = (output, context) => {
|
|
|
8907
8905
|
};
|
|
8908
8906
|
const deserializeAws_json1_1AccountTakeoverActionType = (output, context) => {
|
|
8909
8907
|
return {
|
|
8910
|
-
EventAction: smithy_client_1.expectString(output.EventAction),
|
|
8911
|
-
Notify: smithy_client_1.expectBoolean(output.Notify),
|
|
8908
|
+
EventAction: (0, smithy_client_1.expectString)(output.EventAction),
|
|
8909
|
+
Notify: (0, smithy_client_1.expectBoolean)(output.Notify),
|
|
8912
8910
|
};
|
|
8913
8911
|
};
|
|
8914
8912
|
const deserializeAws_json1_1AccountTakeoverRiskConfigurationType = (output, context) => {
|
|
@@ -8929,11 +8927,11 @@ const deserializeAws_json1_1AdminConfirmSignUpResponse = (output, context) => {
|
|
|
8929
8927
|
};
|
|
8930
8928
|
const deserializeAws_json1_1AdminCreateUserConfigType = (output, context) => {
|
|
8931
8929
|
return {
|
|
8932
|
-
AllowAdminCreateUserOnly: smithy_client_1.expectBoolean(output.AllowAdminCreateUserOnly),
|
|
8930
|
+
AllowAdminCreateUserOnly: (0, smithy_client_1.expectBoolean)(output.AllowAdminCreateUserOnly),
|
|
8933
8931
|
InviteMessageTemplate: output.InviteMessageTemplate !== undefined && output.InviteMessageTemplate !== null
|
|
8934
8932
|
? deserializeAws_json1_1MessageTemplateType(output.InviteMessageTemplate, context)
|
|
8935
8933
|
: undefined,
|
|
8936
|
-
UnusedAccountValidityDays: smithy_client_1.expectInt32(output.UnusedAccountValidityDays),
|
|
8934
|
+
UnusedAccountValidityDays: (0, smithy_client_1.expectInt32)(output.UnusedAccountValidityDays),
|
|
8937
8935
|
};
|
|
8938
8936
|
};
|
|
8939
8937
|
const deserializeAws_json1_1AdminCreateUserResponse = (output, context) => {
|
|
@@ -8964,25 +8962,25 @@ const deserializeAws_json1_1AdminGetDeviceResponse = (output, context) => {
|
|
|
8964
8962
|
};
|
|
8965
8963
|
const deserializeAws_json1_1AdminGetUserResponse = (output, context) => {
|
|
8966
8964
|
return {
|
|
8967
|
-
Enabled: smithy_client_1.expectBoolean(output.Enabled),
|
|
8965
|
+
Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
|
|
8968
8966
|
MFAOptions: output.MFAOptions !== undefined && output.MFAOptions !== null
|
|
8969
8967
|
? deserializeAws_json1_1MFAOptionListType(output.MFAOptions, context)
|
|
8970
8968
|
: undefined,
|
|
8971
|
-
PreferredMfaSetting: smithy_client_1.expectString(output.PreferredMfaSetting),
|
|
8969
|
+
PreferredMfaSetting: (0, smithy_client_1.expectString)(output.PreferredMfaSetting),
|
|
8972
8970
|
UserAttributes: output.UserAttributes !== undefined && output.UserAttributes !== null
|
|
8973
8971
|
? deserializeAws_json1_1AttributeListType(output.UserAttributes, context)
|
|
8974
8972
|
: undefined,
|
|
8975
8973
|
UserCreateDate: output.UserCreateDate !== undefined && output.UserCreateDate !== null
|
|
8976
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UserCreateDate)))
|
|
8974
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UserCreateDate)))
|
|
8977
8975
|
: undefined,
|
|
8978
8976
|
UserLastModifiedDate: output.UserLastModifiedDate !== undefined && output.UserLastModifiedDate !== null
|
|
8979
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UserLastModifiedDate)))
|
|
8977
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UserLastModifiedDate)))
|
|
8980
8978
|
: undefined,
|
|
8981
8979
|
UserMFASettingList: output.UserMFASettingList !== undefined && output.UserMFASettingList !== null
|
|
8982
8980
|
? deserializeAws_json1_1UserMFASettingListType(output.UserMFASettingList, context)
|
|
8983
8981
|
: undefined,
|
|
8984
|
-
UserStatus: smithy_client_1.expectString(output.UserStatus),
|
|
8985
|
-
Username: smithy_client_1.expectString(output.Username),
|
|
8982
|
+
UserStatus: (0, smithy_client_1.expectString)(output.UserStatus),
|
|
8983
|
+
Username: (0, smithy_client_1.expectString)(output.Username),
|
|
8986
8984
|
};
|
|
8987
8985
|
};
|
|
8988
8986
|
const deserializeAws_json1_1AdminInitiateAuthResponse = (output, context) => {
|
|
@@ -8990,11 +8988,11 @@ const deserializeAws_json1_1AdminInitiateAuthResponse = (output, context) => {
|
|
|
8990
8988
|
AuthenticationResult: output.AuthenticationResult !== undefined && output.AuthenticationResult !== null
|
|
8991
8989
|
? deserializeAws_json1_1AuthenticationResultType(output.AuthenticationResult, context)
|
|
8992
8990
|
: undefined,
|
|
8993
|
-
ChallengeName: smithy_client_1.expectString(output.ChallengeName),
|
|
8991
|
+
ChallengeName: (0, smithy_client_1.expectString)(output.ChallengeName),
|
|
8994
8992
|
ChallengeParameters: output.ChallengeParameters !== undefined && output.ChallengeParameters !== null
|
|
8995
8993
|
? deserializeAws_json1_1ChallengeParametersType(output.ChallengeParameters, context)
|
|
8996
8994
|
: undefined,
|
|
8997
|
-
Session: smithy_client_1.expectString(output.Session),
|
|
8995
|
+
Session: (0, smithy_client_1.expectString)(output.Session),
|
|
8998
8996
|
};
|
|
8999
8997
|
};
|
|
9000
8998
|
const deserializeAws_json1_1AdminLinkProviderForUserResponse = (output, context) => {
|
|
@@ -9005,7 +9003,7 @@ const deserializeAws_json1_1AdminListDevicesResponse = (output, context) => {
|
|
|
9005
9003
|
Devices: output.Devices !== undefined && output.Devices !== null
|
|
9006
9004
|
? deserializeAws_json1_1DeviceListType(output.Devices, context)
|
|
9007
9005
|
: undefined,
|
|
9008
|
-
PaginationToken: smithy_client_1.expectString(output.PaginationToken),
|
|
9006
|
+
PaginationToken: (0, smithy_client_1.expectString)(output.PaginationToken),
|
|
9009
9007
|
};
|
|
9010
9008
|
};
|
|
9011
9009
|
const deserializeAws_json1_1AdminListGroupsForUserResponse = (output, context) => {
|
|
@@ -9013,7 +9011,7 @@ const deserializeAws_json1_1AdminListGroupsForUserResponse = (output, context) =
|
|
|
9013
9011
|
Groups: output.Groups !== undefined && output.Groups !== null
|
|
9014
9012
|
? deserializeAws_json1_1GroupListType(output.Groups, context)
|
|
9015
9013
|
: undefined,
|
|
9016
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
9014
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
9017
9015
|
};
|
|
9018
9016
|
};
|
|
9019
9017
|
const deserializeAws_json1_1AdminListUserAuthEventsResponse = (output, context) => {
|
|
@@ -9021,7 +9019,7 @@ const deserializeAws_json1_1AdminListUserAuthEventsResponse = (output, context)
|
|
|
9021
9019
|
AuthEvents: output.AuthEvents !== undefined && output.AuthEvents !== null
|
|
9022
9020
|
? deserializeAws_json1_1AuthEventsType(output.AuthEvents, context)
|
|
9023
9021
|
: undefined,
|
|
9024
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
9022
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
9025
9023
|
};
|
|
9026
9024
|
};
|
|
9027
9025
|
const deserializeAws_json1_1AdminResetUserPasswordResponse = (output, context) => {
|
|
@@ -9032,11 +9030,11 @@ const deserializeAws_json1_1AdminRespondToAuthChallengeResponse = (output, conte
|
|
|
9032
9030
|
AuthenticationResult: output.AuthenticationResult !== undefined && output.AuthenticationResult !== null
|
|
9033
9031
|
? deserializeAws_json1_1AuthenticationResultType(output.AuthenticationResult, context)
|
|
9034
9032
|
: undefined,
|
|
9035
|
-
ChallengeName: smithy_client_1.expectString(output.ChallengeName),
|
|
9033
|
+
ChallengeName: (0, smithy_client_1.expectString)(output.ChallengeName),
|
|
9036
9034
|
ChallengeParameters: output.ChallengeParameters !== undefined && output.ChallengeParameters !== null
|
|
9037
9035
|
? deserializeAws_json1_1ChallengeParametersType(output.ChallengeParameters, context)
|
|
9038
9036
|
: undefined,
|
|
9039
|
-
Session: smithy_client_1.expectString(output.Session),
|
|
9037
|
+
Session: (0, smithy_client_1.expectString)(output.Session),
|
|
9040
9038
|
};
|
|
9041
9039
|
};
|
|
9042
9040
|
const deserializeAws_json1_1AdminSetUserMFAPreferenceResponse = (output, context) => {
|
|
@@ -9067,28 +9065,28 @@ const deserializeAws_json1_1AliasAttributesListType = (output, context) => {
|
|
|
9067
9065
|
if (entry === null) {
|
|
9068
9066
|
return null;
|
|
9069
9067
|
}
|
|
9070
|
-
return smithy_client_1.expectString(entry);
|
|
9068
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
9071
9069
|
});
|
|
9072
9070
|
return retVal;
|
|
9073
9071
|
};
|
|
9074
9072
|
const deserializeAws_json1_1AliasExistsException = (output, context) => {
|
|
9075
9073
|
return {
|
|
9076
|
-
message: smithy_client_1.expectString(output.message),
|
|
9074
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
9077
9075
|
};
|
|
9078
9076
|
};
|
|
9079
9077
|
const deserializeAws_json1_1AnalyticsConfigurationType = (output, context) => {
|
|
9080
9078
|
return {
|
|
9081
|
-
ApplicationArn: smithy_client_1.expectString(output.ApplicationArn),
|
|
9082
|
-
ApplicationId: smithy_client_1.expectString(output.ApplicationId),
|
|
9083
|
-
ExternalId: smithy_client_1.expectString(output.ExternalId),
|
|
9084
|
-
RoleArn: smithy_client_1.expectString(output.RoleArn),
|
|
9085
|
-
UserDataShared: smithy_client_1.expectBoolean(output.UserDataShared),
|
|
9079
|
+
ApplicationArn: (0, smithy_client_1.expectString)(output.ApplicationArn),
|
|
9080
|
+
ApplicationId: (0, smithy_client_1.expectString)(output.ApplicationId),
|
|
9081
|
+
ExternalId: (0, smithy_client_1.expectString)(output.ExternalId),
|
|
9082
|
+
RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
|
|
9083
|
+
UserDataShared: (0, smithy_client_1.expectBoolean)(output.UserDataShared),
|
|
9086
9084
|
};
|
|
9087
9085
|
};
|
|
9088
9086
|
const deserializeAws_json1_1AssociateSoftwareTokenResponse = (output, context) => {
|
|
9089
9087
|
return {
|
|
9090
|
-
SecretCode: smithy_client_1.expectString(output.SecretCode),
|
|
9091
|
-
Session: smithy_client_1.expectString(output.Session),
|
|
9088
|
+
SecretCode: (0, smithy_client_1.expectString)(output.SecretCode),
|
|
9089
|
+
Session: (0, smithy_client_1.expectString)(output.Session),
|
|
9092
9090
|
};
|
|
9093
9091
|
};
|
|
9094
9092
|
const deserializeAws_json1_1AttributeListType = (output, context) => {
|
|
@@ -9109,26 +9107,26 @@ const deserializeAws_json1_1AttributeMappingType = (output, context) => {
|
|
|
9109
9107
|
}
|
|
9110
9108
|
return {
|
|
9111
9109
|
...acc,
|
|
9112
|
-
[key]: smithy_client_1.expectString(value),
|
|
9110
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
9113
9111
|
};
|
|
9114
9112
|
}, {});
|
|
9115
9113
|
};
|
|
9116
9114
|
const deserializeAws_json1_1AttributeType = (output, context) => {
|
|
9117
9115
|
return {
|
|
9118
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
9119
|
-
Value: smithy_client_1.expectString(output.Value),
|
|
9116
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
9117
|
+
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
9120
9118
|
};
|
|
9121
9119
|
};
|
|
9122
9120
|
const deserializeAws_json1_1AuthenticationResultType = (output, context) => {
|
|
9123
9121
|
return {
|
|
9124
|
-
AccessToken: smithy_client_1.expectString(output.AccessToken),
|
|
9125
|
-
ExpiresIn: smithy_client_1.expectInt32(output.ExpiresIn),
|
|
9126
|
-
IdToken: smithy_client_1.expectString(output.IdToken),
|
|
9122
|
+
AccessToken: (0, smithy_client_1.expectString)(output.AccessToken),
|
|
9123
|
+
ExpiresIn: (0, smithy_client_1.expectInt32)(output.ExpiresIn),
|
|
9124
|
+
IdToken: (0, smithy_client_1.expectString)(output.IdToken),
|
|
9127
9125
|
NewDeviceMetadata: output.NewDeviceMetadata !== undefined && output.NewDeviceMetadata !== null
|
|
9128
9126
|
? deserializeAws_json1_1NewDeviceMetadataType(output.NewDeviceMetadata, context)
|
|
9129
9127
|
: undefined,
|
|
9130
|
-
RefreshToken: smithy_client_1.expectString(output.RefreshToken),
|
|
9131
|
-
TokenType: smithy_client_1.expectString(output.TokenType),
|
|
9128
|
+
RefreshToken: (0, smithy_client_1.expectString)(output.RefreshToken),
|
|
9129
|
+
TokenType: (0, smithy_client_1.expectString)(output.TokenType),
|
|
9132
9130
|
};
|
|
9133
9131
|
};
|
|
9134
9132
|
const deserializeAws_json1_1AuthEventsType = (output, context) => {
|
|
@@ -9148,7 +9146,7 @@ const deserializeAws_json1_1AuthEventType = (output, context) => {
|
|
|
9148
9146
|
? deserializeAws_json1_1ChallengeResponseListType(output.ChallengeResponses, context)
|
|
9149
9147
|
: undefined,
|
|
9150
9148
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
9151
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
|
|
9149
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDate)))
|
|
9152
9150
|
: undefined,
|
|
9153
9151
|
EventContextData: output.EventContextData !== undefined && output.EventContextData !== null
|
|
9154
9152
|
? deserializeAws_json1_1EventContextDataType(output.EventContextData, context)
|
|
@@ -9156,12 +9154,12 @@ const deserializeAws_json1_1AuthEventType = (output, context) => {
|
|
|
9156
9154
|
EventFeedback: output.EventFeedback !== undefined && output.EventFeedback !== null
|
|
9157
9155
|
? deserializeAws_json1_1EventFeedbackType(output.EventFeedback, context)
|
|
9158
9156
|
: undefined,
|
|
9159
|
-
EventId: smithy_client_1.expectString(output.EventId),
|
|
9160
|
-
EventResponse: smithy_client_1.expectString(output.EventResponse),
|
|
9157
|
+
EventId: (0, smithy_client_1.expectString)(output.EventId),
|
|
9158
|
+
EventResponse: (0, smithy_client_1.expectString)(output.EventResponse),
|
|
9161
9159
|
EventRisk: output.EventRisk !== undefined && output.EventRisk !== null
|
|
9162
9160
|
? deserializeAws_json1_1EventRiskType(output.EventRisk, context)
|
|
9163
9161
|
: undefined,
|
|
9164
|
-
EventType: smithy_client_1.expectString(output.EventType),
|
|
9162
|
+
EventType: (0, smithy_client_1.expectString)(output.EventType),
|
|
9165
9163
|
};
|
|
9166
9164
|
};
|
|
9167
9165
|
const deserializeAws_json1_1BlockedIPRangeListType = (output, context) => {
|
|
@@ -9171,7 +9169,7 @@ const deserializeAws_json1_1BlockedIPRangeListType = (output, context) => {
|
|
|
9171
9169
|
if (entry === null) {
|
|
9172
9170
|
return null;
|
|
9173
9171
|
}
|
|
9174
|
-
return smithy_client_1.expectString(entry);
|
|
9172
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
9175
9173
|
});
|
|
9176
9174
|
return retVal;
|
|
9177
9175
|
};
|
|
@@ -9182,7 +9180,7 @@ const deserializeAws_json1_1CallbackURLsListType = (output, context) => {
|
|
|
9182
9180
|
if (entry === null) {
|
|
9183
9181
|
return null;
|
|
9184
9182
|
}
|
|
9185
|
-
return smithy_client_1.expectString(entry);
|
|
9183
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
9186
9184
|
});
|
|
9187
9185
|
return retVal;
|
|
9188
9186
|
};
|
|
@@ -9193,7 +9191,7 @@ const deserializeAws_json1_1ChallengeParametersType = (output, context) => {
|
|
|
9193
9191
|
}
|
|
9194
9192
|
return {
|
|
9195
9193
|
...acc,
|
|
9196
|
-
[key]: smithy_client_1.expectString(value),
|
|
9194
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
9197
9195
|
};
|
|
9198
9196
|
}, {});
|
|
9199
9197
|
};
|
|
@@ -9210,8 +9208,8 @@ const deserializeAws_json1_1ChallengeResponseListType = (output, context) => {
|
|
|
9210
9208
|
};
|
|
9211
9209
|
const deserializeAws_json1_1ChallengeResponseType = (output, context) => {
|
|
9212
9210
|
return {
|
|
9213
|
-
ChallengeName: smithy_client_1.expectString(output.ChallengeName),
|
|
9214
|
-
ChallengeResponse: smithy_client_1.expectString(output.ChallengeResponse),
|
|
9211
|
+
ChallengeName: (0, smithy_client_1.expectString)(output.ChallengeName),
|
|
9212
|
+
ChallengeResponse: (0, smithy_client_1.expectString)(output.ChallengeResponse),
|
|
9215
9213
|
};
|
|
9216
9214
|
};
|
|
9217
9215
|
const deserializeAws_json1_1ChangePasswordResponse = (output, context) => {
|
|
@@ -9224,7 +9222,7 @@ const deserializeAws_json1_1ClientPermissionListType = (output, context) => {
|
|
|
9224
9222
|
if (entry === null) {
|
|
9225
9223
|
return null;
|
|
9226
9224
|
}
|
|
9227
|
-
return smithy_client_1.expectString(entry);
|
|
9225
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
9228
9226
|
});
|
|
9229
9227
|
return retVal;
|
|
9230
9228
|
};
|
|
@@ -9241,24 +9239,24 @@ const deserializeAws_json1_1CodeDeliveryDetailsListType = (output, context) => {
|
|
|
9241
9239
|
};
|
|
9242
9240
|
const deserializeAws_json1_1CodeDeliveryDetailsType = (output, context) => {
|
|
9243
9241
|
return {
|
|
9244
|
-
AttributeName: smithy_client_1.expectString(output.AttributeName),
|
|
9245
|
-
DeliveryMedium: smithy_client_1.expectString(output.DeliveryMedium),
|
|
9246
|
-
Destination: smithy_client_1.expectString(output.Destination),
|
|
9242
|
+
AttributeName: (0, smithy_client_1.expectString)(output.AttributeName),
|
|
9243
|
+
DeliveryMedium: (0, smithy_client_1.expectString)(output.DeliveryMedium),
|
|
9244
|
+
Destination: (0, smithy_client_1.expectString)(output.Destination),
|
|
9247
9245
|
};
|
|
9248
9246
|
};
|
|
9249
9247
|
const deserializeAws_json1_1CodeDeliveryFailureException = (output, context) => {
|
|
9250
9248
|
return {
|
|
9251
|
-
message: smithy_client_1.expectString(output.message),
|
|
9249
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
9252
9250
|
};
|
|
9253
9251
|
};
|
|
9254
9252
|
const deserializeAws_json1_1CodeMismatchException = (output, context) => {
|
|
9255
9253
|
return {
|
|
9256
|
-
message: smithy_client_1.expectString(output.message),
|
|
9254
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
9257
9255
|
};
|
|
9258
9256
|
};
|
|
9259
9257
|
const deserializeAws_json1_1CompromisedCredentialsActionsType = (output, context) => {
|
|
9260
9258
|
return {
|
|
9261
|
-
EventAction: smithy_client_1.expectString(output.EventAction),
|
|
9259
|
+
EventAction: (0, smithy_client_1.expectString)(output.EventAction),
|
|
9262
9260
|
};
|
|
9263
9261
|
};
|
|
9264
9262
|
const deserializeAws_json1_1CompromisedCredentialsRiskConfigurationType = (output, context) => {
|
|
@@ -9273,12 +9271,12 @@ const deserializeAws_json1_1CompromisedCredentialsRiskConfigurationType = (outpu
|
|
|
9273
9271
|
};
|
|
9274
9272
|
const deserializeAws_json1_1ConcurrentModificationException = (output, context) => {
|
|
9275
9273
|
return {
|
|
9276
|
-
message: smithy_client_1.expectString(output.message),
|
|
9274
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
9277
9275
|
};
|
|
9278
9276
|
};
|
|
9279
9277
|
const deserializeAws_json1_1ConfirmDeviceResponse = (output, context) => {
|
|
9280
9278
|
return {
|
|
9281
|
-
UserConfirmationNecessary: smithy_client_1.expectBoolean(output.UserConfirmationNecessary),
|
|
9279
|
+
UserConfirmationNecessary: (0, smithy_client_1.expectBoolean)(output.UserConfirmationNecessary),
|
|
9282
9280
|
};
|
|
9283
9281
|
};
|
|
9284
9282
|
const deserializeAws_json1_1ConfirmForgotPasswordResponse = (output, context) => {
|
|
@@ -9324,7 +9322,7 @@ const deserializeAws_json1_1CreateUserPoolClientResponse = (output, context) =>
|
|
|
9324
9322
|
};
|
|
9325
9323
|
const deserializeAws_json1_1CreateUserPoolDomainResponse = (output, context) => {
|
|
9326
9324
|
return {
|
|
9327
|
-
CloudFrontDomain: smithy_client_1.expectString(output.CloudFrontDomain),
|
|
9325
|
+
CloudFrontDomain: (0, smithy_client_1.expectString)(output.CloudFrontDomain),
|
|
9328
9326
|
};
|
|
9329
9327
|
};
|
|
9330
9328
|
const deserializeAws_json1_1CreateUserPoolResponse = (output, context) => {
|
|
@@ -9336,19 +9334,19 @@ const deserializeAws_json1_1CreateUserPoolResponse = (output, context) => {
|
|
|
9336
9334
|
};
|
|
9337
9335
|
const deserializeAws_json1_1CustomDomainConfigType = (output, context) => {
|
|
9338
9336
|
return {
|
|
9339
|
-
CertificateArn: smithy_client_1.expectString(output.CertificateArn),
|
|
9337
|
+
CertificateArn: (0, smithy_client_1.expectString)(output.CertificateArn),
|
|
9340
9338
|
};
|
|
9341
9339
|
};
|
|
9342
9340
|
const deserializeAws_json1_1CustomEmailLambdaVersionConfigType = (output, context) => {
|
|
9343
9341
|
return {
|
|
9344
|
-
LambdaArn: smithy_client_1.expectString(output.LambdaArn),
|
|
9345
|
-
LambdaVersion: smithy_client_1.expectString(output.LambdaVersion),
|
|
9342
|
+
LambdaArn: (0, smithy_client_1.expectString)(output.LambdaArn),
|
|
9343
|
+
LambdaVersion: (0, smithy_client_1.expectString)(output.LambdaVersion),
|
|
9346
9344
|
};
|
|
9347
9345
|
};
|
|
9348
9346
|
const deserializeAws_json1_1CustomSMSLambdaVersionConfigType = (output, context) => {
|
|
9349
9347
|
return {
|
|
9350
|
-
LambdaArn: smithy_client_1.expectString(output.LambdaArn),
|
|
9351
|
-
LambdaVersion: smithy_client_1.expectString(output.LambdaVersion),
|
|
9348
|
+
LambdaArn: (0, smithy_client_1.expectString)(output.LambdaArn),
|
|
9349
|
+
LambdaVersion: (0, smithy_client_1.expectString)(output.LambdaVersion),
|
|
9352
9350
|
};
|
|
9353
9351
|
};
|
|
9354
9352
|
const deserializeAws_json1_1DeleteUserAttributesResponse = (output, context) => {
|
|
@@ -9408,8 +9406,8 @@ const deserializeAws_json1_1DescribeUserPoolResponse = (output, context) => {
|
|
|
9408
9406
|
};
|
|
9409
9407
|
const deserializeAws_json1_1DeviceConfigurationType = (output, context) => {
|
|
9410
9408
|
return {
|
|
9411
|
-
ChallengeRequiredOnNewDevice: smithy_client_1.expectBoolean(output.ChallengeRequiredOnNewDevice),
|
|
9412
|
-
DeviceOnlyRememberedOnUserPrompt: smithy_client_1.expectBoolean(output.DeviceOnlyRememberedOnUserPrompt),
|
|
9409
|
+
ChallengeRequiredOnNewDevice: (0, smithy_client_1.expectBoolean)(output.ChallengeRequiredOnNewDevice),
|
|
9410
|
+
DeviceOnlyRememberedOnUserPrompt: (0, smithy_client_1.expectBoolean)(output.DeviceOnlyRememberedOnUserPrompt),
|
|
9413
9411
|
};
|
|
9414
9412
|
};
|
|
9415
9413
|
const deserializeAws_json1_1DeviceListType = (output, context) => {
|
|
@@ -9429,66 +9427,66 @@ const deserializeAws_json1_1DeviceType = (output, context) => {
|
|
|
9429
9427
|
? deserializeAws_json1_1AttributeListType(output.DeviceAttributes, context)
|
|
9430
9428
|
: undefined,
|
|
9431
9429
|
DeviceCreateDate: output.DeviceCreateDate !== undefined && output.DeviceCreateDate !== null
|
|
9432
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DeviceCreateDate)))
|
|
9430
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DeviceCreateDate)))
|
|
9433
9431
|
: undefined,
|
|
9434
|
-
DeviceKey: smithy_client_1.expectString(output.DeviceKey),
|
|
9432
|
+
DeviceKey: (0, smithy_client_1.expectString)(output.DeviceKey),
|
|
9435
9433
|
DeviceLastAuthenticatedDate: output.DeviceLastAuthenticatedDate !== undefined && output.DeviceLastAuthenticatedDate !== null
|
|
9436
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DeviceLastAuthenticatedDate)))
|
|
9434
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DeviceLastAuthenticatedDate)))
|
|
9437
9435
|
: undefined,
|
|
9438
9436
|
DeviceLastModifiedDate: output.DeviceLastModifiedDate !== undefined && output.DeviceLastModifiedDate !== null
|
|
9439
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DeviceLastModifiedDate)))
|
|
9437
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DeviceLastModifiedDate)))
|
|
9440
9438
|
: undefined,
|
|
9441
9439
|
};
|
|
9442
9440
|
};
|
|
9443
9441
|
const deserializeAws_json1_1DomainDescriptionType = (output, context) => {
|
|
9444
9442
|
return {
|
|
9445
|
-
AWSAccountId: smithy_client_1.expectString(output.AWSAccountId),
|
|
9446
|
-
CloudFrontDistribution: smithy_client_1.expectString(output.CloudFrontDistribution),
|
|
9443
|
+
AWSAccountId: (0, smithy_client_1.expectString)(output.AWSAccountId),
|
|
9444
|
+
CloudFrontDistribution: (0, smithy_client_1.expectString)(output.CloudFrontDistribution),
|
|
9447
9445
|
CustomDomainConfig: output.CustomDomainConfig !== undefined && output.CustomDomainConfig !== null
|
|
9448
9446
|
? deserializeAws_json1_1CustomDomainConfigType(output.CustomDomainConfig, context)
|
|
9449
9447
|
: undefined,
|
|
9450
|
-
Domain: smithy_client_1.expectString(output.Domain),
|
|
9451
|
-
S3Bucket: smithy_client_1.expectString(output.S3Bucket),
|
|
9452
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
9453
|
-
UserPoolId: smithy_client_1.expectString(output.UserPoolId),
|
|
9454
|
-
Version: smithy_client_1.expectString(output.Version),
|
|
9448
|
+
Domain: (0, smithy_client_1.expectString)(output.Domain),
|
|
9449
|
+
S3Bucket: (0, smithy_client_1.expectString)(output.S3Bucket),
|
|
9450
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
9451
|
+
UserPoolId: (0, smithy_client_1.expectString)(output.UserPoolId),
|
|
9452
|
+
Version: (0, smithy_client_1.expectString)(output.Version),
|
|
9455
9453
|
};
|
|
9456
9454
|
};
|
|
9457
9455
|
const deserializeAws_json1_1DuplicateProviderException = (output, context) => {
|
|
9458
9456
|
return {
|
|
9459
|
-
message: smithy_client_1.expectString(output.message),
|
|
9457
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
9460
9458
|
};
|
|
9461
9459
|
};
|
|
9462
9460
|
const deserializeAws_json1_1EmailConfigurationType = (output, context) => {
|
|
9463
9461
|
return {
|
|
9464
|
-
ConfigurationSet: smithy_client_1.expectString(output.ConfigurationSet),
|
|
9465
|
-
EmailSendingAccount: smithy_client_1.expectString(output.EmailSendingAccount),
|
|
9466
|
-
From: smithy_client_1.expectString(output.From),
|
|
9467
|
-
ReplyToEmailAddress: smithy_client_1.expectString(output.ReplyToEmailAddress),
|
|
9468
|
-
SourceArn: smithy_client_1.expectString(output.SourceArn),
|
|
9462
|
+
ConfigurationSet: (0, smithy_client_1.expectString)(output.ConfigurationSet),
|
|
9463
|
+
EmailSendingAccount: (0, smithy_client_1.expectString)(output.EmailSendingAccount),
|
|
9464
|
+
From: (0, smithy_client_1.expectString)(output.From),
|
|
9465
|
+
ReplyToEmailAddress: (0, smithy_client_1.expectString)(output.ReplyToEmailAddress),
|
|
9466
|
+
SourceArn: (0, smithy_client_1.expectString)(output.SourceArn),
|
|
9469
9467
|
};
|
|
9470
9468
|
};
|
|
9471
9469
|
const deserializeAws_json1_1EnableSoftwareTokenMFAException = (output, context) => {
|
|
9472
9470
|
return {
|
|
9473
|
-
message: smithy_client_1.expectString(output.message),
|
|
9471
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
9474
9472
|
};
|
|
9475
9473
|
};
|
|
9476
9474
|
const deserializeAws_json1_1EventContextDataType = (output, context) => {
|
|
9477
9475
|
return {
|
|
9478
|
-
City: smithy_client_1.expectString(output.City),
|
|
9479
|
-
Country: smithy_client_1.expectString(output.Country),
|
|
9480
|
-
DeviceName: smithy_client_1.expectString(output.DeviceName),
|
|
9481
|
-
IpAddress: smithy_client_1.expectString(output.IpAddress),
|
|
9482
|
-
Timezone: smithy_client_1.expectString(output.Timezone),
|
|
9476
|
+
City: (0, smithy_client_1.expectString)(output.City),
|
|
9477
|
+
Country: (0, smithy_client_1.expectString)(output.Country),
|
|
9478
|
+
DeviceName: (0, smithy_client_1.expectString)(output.DeviceName),
|
|
9479
|
+
IpAddress: (0, smithy_client_1.expectString)(output.IpAddress),
|
|
9480
|
+
Timezone: (0, smithy_client_1.expectString)(output.Timezone),
|
|
9483
9481
|
};
|
|
9484
9482
|
};
|
|
9485
9483
|
const deserializeAws_json1_1EventFeedbackType = (output, context) => {
|
|
9486
9484
|
return {
|
|
9487
9485
|
FeedbackDate: output.FeedbackDate !== undefined && output.FeedbackDate !== null
|
|
9488
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.FeedbackDate)))
|
|
9486
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.FeedbackDate)))
|
|
9489
9487
|
: undefined,
|
|
9490
|
-
FeedbackValue: smithy_client_1.expectString(output.FeedbackValue),
|
|
9491
|
-
Provider: smithy_client_1.expectString(output.Provider),
|
|
9488
|
+
FeedbackValue: (0, smithy_client_1.expectString)(output.FeedbackValue),
|
|
9489
|
+
Provider: (0, smithy_client_1.expectString)(output.Provider),
|
|
9492
9490
|
};
|
|
9493
9491
|
};
|
|
9494
9492
|
const deserializeAws_json1_1EventFiltersType = (output, context) => {
|
|
@@ -9498,20 +9496,20 @@ const deserializeAws_json1_1EventFiltersType = (output, context) => {
|
|
|
9498
9496
|
if (entry === null) {
|
|
9499
9497
|
return null;
|
|
9500
9498
|
}
|
|
9501
|
-
return smithy_client_1.expectString(entry);
|
|
9499
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
9502
9500
|
});
|
|
9503
9501
|
return retVal;
|
|
9504
9502
|
};
|
|
9505
9503
|
const deserializeAws_json1_1EventRiskType = (output, context) => {
|
|
9506
9504
|
return {
|
|
9507
|
-
CompromisedCredentialsDetected: smithy_client_1.expectBoolean(output.CompromisedCredentialsDetected),
|
|
9508
|
-
RiskDecision: smithy_client_1.expectString(output.RiskDecision),
|
|
9509
|
-
RiskLevel: smithy_client_1.expectString(output.RiskLevel),
|
|
9505
|
+
CompromisedCredentialsDetected: (0, smithy_client_1.expectBoolean)(output.CompromisedCredentialsDetected),
|
|
9506
|
+
RiskDecision: (0, smithy_client_1.expectString)(output.RiskDecision),
|
|
9507
|
+
RiskLevel: (0, smithy_client_1.expectString)(output.RiskLevel),
|
|
9510
9508
|
};
|
|
9511
9509
|
};
|
|
9512
9510
|
const deserializeAws_json1_1ExpiredCodeException = (output, context) => {
|
|
9513
9511
|
return {
|
|
9514
|
-
message: smithy_client_1.expectString(output.message),
|
|
9512
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
9515
9513
|
};
|
|
9516
9514
|
};
|
|
9517
9515
|
const deserializeAws_json1_1ExplicitAuthFlowsListType = (output, context) => {
|
|
@@ -9521,7 +9519,7 @@ const deserializeAws_json1_1ExplicitAuthFlowsListType = (output, context) => {
|
|
|
9521
9519
|
if (entry === null) {
|
|
9522
9520
|
return null;
|
|
9523
9521
|
}
|
|
9524
|
-
return smithy_client_1.expectString(entry);
|
|
9522
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
9525
9523
|
});
|
|
9526
9524
|
return retVal;
|
|
9527
9525
|
};
|
|
@@ -9537,7 +9535,7 @@ const deserializeAws_json1_1GetCSVHeaderResponse = (output, context) => {
|
|
|
9537
9535
|
CSVHeader: output.CSVHeader !== undefined && output.CSVHeader !== null
|
|
9538
9536
|
? deserializeAws_json1_1ListOfStringTypes(output.CSVHeader, context)
|
|
9539
9537
|
: undefined,
|
|
9540
|
-
UserPoolId: smithy_client_1.expectString(output.UserPoolId),
|
|
9538
|
+
UserPoolId: (0, smithy_client_1.expectString)(output.UserPoolId),
|
|
9541
9539
|
};
|
|
9542
9540
|
};
|
|
9543
9541
|
const deserializeAws_json1_1GetDeviceResponse = (output, context) => {
|
|
@@ -9563,7 +9561,7 @@ const deserializeAws_json1_1GetIdentityProviderByIdentifierResponse = (output, c
|
|
|
9563
9561
|
};
|
|
9564
9562
|
const deserializeAws_json1_1GetSigningCertificateResponse = (output, context) => {
|
|
9565
9563
|
return {
|
|
9566
|
-
Certificate: smithy_client_1.expectString(output.Certificate),
|
|
9564
|
+
Certificate: (0, smithy_client_1.expectString)(output.Certificate),
|
|
9567
9565
|
};
|
|
9568
9566
|
};
|
|
9569
9567
|
const deserializeAws_json1_1GetUICustomizationResponse = (output, context) => {
|
|
@@ -9582,7 +9580,7 @@ const deserializeAws_json1_1GetUserAttributeVerificationCodeResponse = (output,
|
|
|
9582
9580
|
};
|
|
9583
9581
|
const deserializeAws_json1_1GetUserPoolMfaConfigResponse = (output, context) => {
|
|
9584
9582
|
return {
|
|
9585
|
-
MfaConfiguration: smithy_client_1.expectString(output.MfaConfiguration),
|
|
9583
|
+
MfaConfiguration: (0, smithy_client_1.expectString)(output.MfaConfiguration),
|
|
9586
9584
|
SmsMfaConfiguration: output.SmsMfaConfiguration !== undefined && output.SmsMfaConfiguration !== null
|
|
9587
9585
|
? deserializeAws_json1_1SmsMfaConfigType(output.SmsMfaConfiguration, context)
|
|
9588
9586
|
: undefined,
|
|
@@ -9596,14 +9594,14 @@ const deserializeAws_json1_1GetUserResponse = (output, context) => {
|
|
|
9596
9594
|
MFAOptions: output.MFAOptions !== undefined && output.MFAOptions !== null
|
|
9597
9595
|
? deserializeAws_json1_1MFAOptionListType(output.MFAOptions, context)
|
|
9598
9596
|
: undefined,
|
|
9599
|
-
PreferredMfaSetting: smithy_client_1.expectString(output.PreferredMfaSetting),
|
|
9597
|
+
PreferredMfaSetting: (0, smithy_client_1.expectString)(output.PreferredMfaSetting),
|
|
9600
9598
|
UserAttributes: output.UserAttributes !== undefined && output.UserAttributes !== null
|
|
9601
9599
|
? deserializeAws_json1_1AttributeListType(output.UserAttributes, context)
|
|
9602
9600
|
: undefined,
|
|
9603
9601
|
UserMFASettingList: output.UserMFASettingList !== undefined && output.UserMFASettingList !== null
|
|
9604
9602
|
? deserializeAws_json1_1UserMFASettingListType(output.UserMFASettingList, context)
|
|
9605
9603
|
: undefined,
|
|
9606
|
-
Username: smithy_client_1.expectString(output.Username),
|
|
9604
|
+
Username: (0, smithy_client_1.expectString)(output.Username),
|
|
9607
9605
|
};
|
|
9608
9606
|
};
|
|
9609
9607
|
const deserializeAws_json1_1GlobalSignOutResponse = (output, context) => {
|
|
@@ -9611,7 +9609,7 @@ const deserializeAws_json1_1GlobalSignOutResponse = (output, context) => {
|
|
|
9611
9609
|
};
|
|
9612
9610
|
const deserializeAws_json1_1GroupExistsException = (output, context) => {
|
|
9613
9611
|
return {
|
|
9614
|
-
message: smithy_client_1.expectString(output.message),
|
|
9612
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
9615
9613
|
};
|
|
9616
9614
|
};
|
|
9617
9615
|
const deserializeAws_json1_1GroupListType = (output, context) => {
|
|
@@ -9628,16 +9626,16 @@ const deserializeAws_json1_1GroupListType = (output, context) => {
|
|
|
9628
9626
|
const deserializeAws_json1_1GroupType = (output, context) => {
|
|
9629
9627
|
return {
|
|
9630
9628
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
9631
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
|
|
9629
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDate)))
|
|
9632
9630
|
: undefined,
|
|
9633
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
9634
|
-
GroupName: smithy_client_1.expectString(output.GroupName),
|
|
9631
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
9632
|
+
GroupName: (0, smithy_client_1.expectString)(output.GroupName),
|
|
9635
9633
|
LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
|
|
9636
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
|
|
9634
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedDate)))
|
|
9637
9635
|
: undefined,
|
|
9638
|
-
Precedence: smithy_client_1.expectInt32(output.Precedence),
|
|
9639
|
-
RoleArn: smithy_client_1.expectString(output.RoleArn),
|
|
9640
|
-
UserPoolId: smithy_client_1.expectString(output.UserPoolId),
|
|
9636
|
+
Precedence: (0, smithy_client_1.expectInt32)(output.Precedence),
|
|
9637
|
+
RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
|
|
9638
|
+
UserPoolId: (0, smithy_client_1.expectString)(output.UserPoolId),
|
|
9641
9639
|
};
|
|
9642
9640
|
};
|
|
9643
9641
|
const deserializeAws_json1_1IdentityProviderType = (output, context) => {
|
|
@@ -9646,20 +9644,20 @@ const deserializeAws_json1_1IdentityProviderType = (output, context) => {
|
|
|
9646
9644
|
? deserializeAws_json1_1AttributeMappingType(output.AttributeMapping, context)
|
|
9647
9645
|
: undefined,
|
|
9648
9646
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
9649
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
|
|
9647
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDate)))
|
|
9650
9648
|
: undefined,
|
|
9651
9649
|
IdpIdentifiers: output.IdpIdentifiers !== undefined && output.IdpIdentifiers !== null
|
|
9652
9650
|
? deserializeAws_json1_1IdpIdentifiersListType(output.IdpIdentifiers, context)
|
|
9653
9651
|
: undefined,
|
|
9654
9652
|
LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
|
|
9655
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
|
|
9653
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedDate)))
|
|
9656
9654
|
: undefined,
|
|
9657
9655
|
ProviderDetails: output.ProviderDetails !== undefined && output.ProviderDetails !== null
|
|
9658
9656
|
? deserializeAws_json1_1ProviderDetailsType(output.ProviderDetails, context)
|
|
9659
9657
|
: undefined,
|
|
9660
|
-
ProviderName: smithy_client_1.expectString(output.ProviderName),
|
|
9661
|
-
ProviderType: smithy_client_1.expectString(output.ProviderType),
|
|
9662
|
-
UserPoolId: smithy_client_1.expectString(output.UserPoolId),
|
|
9658
|
+
ProviderName: (0, smithy_client_1.expectString)(output.ProviderName),
|
|
9659
|
+
ProviderType: (0, smithy_client_1.expectString)(output.ProviderType),
|
|
9660
|
+
UserPoolId: (0, smithy_client_1.expectString)(output.UserPoolId),
|
|
9663
9661
|
};
|
|
9664
9662
|
};
|
|
9665
9663
|
const deserializeAws_json1_1IdpIdentifiersListType = (output, context) => {
|
|
@@ -9669,7 +9667,7 @@ const deserializeAws_json1_1IdpIdentifiersListType = (output, context) => {
|
|
|
9669
9667
|
if (entry === null) {
|
|
9670
9668
|
return null;
|
|
9671
9669
|
}
|
|
9672
|
-
return smithy_client_1.expectString(entry);
|
|
9670
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
9673
9671
|
});
|
|
9674
9672
|
return retVal;
|
|
9675
9673
|
};
|
|
@@ -9678,82 +9676,82 @@ const deserializeAws_json1_1InitiateAuthResponse = (output, context) => {
|
|
|
9678
9676
|
AuthenticationResult: output.AuthenticationResult !== undefined && output.AuthenticationResult !== null
|
|
9679
9677
|
? deserializeAws_json1_1AuthenticationResultType(output.AuthenticationResult, context)
|
|
9680
9678
|
: undefined,
|
|
9681
|
-
ChallengeName: smithy_client_1.expectString(output.ChallengeName),
|
|
9679
|
+
ChallengeName: (0, smithy_client_1.expectString)(output.ChallengeName),
|
|
9682
9680
|
ChallengeParameters: output.ChallengeParameters !== undefined && output.ChallengeParameters !== null
|
|
9683
9681
|
? deserializeAws_json1_1ChallengeParametersType(output.ChallengeParameters, context)
|
|
9684
9682
|
: undefined,
|
|
9685
|
-
Session: smithy_client_1.expectString(output.Session),
|
|
9683
|
+
Session: (0, smithy_client_1.expectString)(output.Session),
|
|
9686
9684
|
};
|
|
9687
9685
|
};
|
|
9688
9686
|
const deserializeAws_json1_1InternalErrorException = (output, context) => {
|
|
9689
9687
|
return {
|
|
9690
|
-
message: smithy_client_1.expectString(output.message),
|
|
9688
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
9691
9689
|
};
|
|
9692
9690
|
};
|
|
9693
9691
|
const deserializeAws_json1_1InvalidEmailRoleAccessPolicyException = (output, context) => {
|
|
9694
9692
|
return {
|
|
9695
|
-
message: smithy_client_1.expectString(output.message),
|
|
9693
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
9696
9694
|
};
|
|
9697
9695
|
};
|
|
9698
9696
|
const deserializeAws_json1_1InvalidLambdaResponseException = (output, context) => {
|
|
9699
9697
|
return {
|
|
9700
|
-
message: smithy_client_1.expectString(output.message),
|
|
9698
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
9701
9699
|
};
|
|
9702
9700
|
};
|
|
9703
9701
|
const deserializeAws_json1_1InvalidOAuthFlowException = (output, context) => {
|
|
9704
9702
|
return {
|
|
9705
|
-
message: smithy_client_1.expectString(output.message),
|
|
9703
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
9706
9704
|
};
|
|
9707
9705
|
};
|
|
9708
9706
|
const deserializeAws_json1_1InvalidParameterException = (output, context) => {
|
|
9709
9707
|
return {
|
|
9710
|
-
message: smithy_client_1.expectString(output.message),
|
|
9708
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
9711
9709
|
};
|
|
9712
9710
|
};
|
|
9713
9711
|
const deserializeAws_json1_1InvalidPasswordException = (output, context) => {
|
|
9714
9712
|
return {
|
|
9715
|
-
message: smithy_client_1.expectString(output.message),
|
|
9713
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
9716
9714
|
};
|
|
9717
9715
|
};
|
|
9718
9716
|
const deserializeAws_json1_1InvalidSmsRoleAccessPolicyException = (output, context) => {
|
|
9719
9717
|
return {
|
|
9720
|
-
message: smithy_client_1.expectString(output.message),
|
|
9718
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
9721
9719
|
};
|
|
9722
9720
|
};
|
|
9723
9721
|
const deserializeAws_json1_1InvalidSmsRoleTrustRelationshipException = (output, context) => {
|
|
9724
9722
|
return {
|
|
9725
|
-
message: smithy_client_1.expectString(output.message),
|
|
9723
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
9726
9724
|
};
|
|
9727
9725
|
};
|
|
9728
9726
|
const deserializeAws_json1_1InvalidUserPoolConfigurationException = (output, context) => {
|
|
9729
9727
|
return {
|
|
9730
|
-
message: smithy_client_1.expectString(output.message),
|
|
9728
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
9731
9729
|
};
|
|
9732
9730
|
};
|
|
9733
9731
|
const deserializeAws_json1_1LambdaConfigType = (output, context) => {
|
|
9734
9732
|
return {
|
|
9735
|
-
CreateAuthChallenge: smithy_client_1.expectString(output.CreateAuthChallenge),
|
|
9733
|
+
CreateAuthChallenge: (0, smithy_client_1.expectString)(output.CreateAuthChallenge),
|
|
9736
9734
|
CustomEmailSender: output.CustomEmailSender !== undefined && output.CustomEmailSender !== null
|
|
9737
9735
|
? deserializeAws_json1_1CustomEmailLambdaVersionConfigType(output.CustomEmailSender, context)
|
|
9738
9736
|
: undefined,
|
|
9739
|
-
CustomMessage: smithy_client_1.expectString(output.CustomMessage),
|
|
9737
|
+
CustomMessage: (0, smithy_client_1.expectString)(output.CustomMessage),
|
|
9740
9738
|
CustomSMSSender: output.CustomSMSSender !== undefined && output.CustomSMSSender !== null
|
|
9741
9739
|
? deserializeAws_json1_1CustomSMSLambdaVersionConfigType(output.CustomSMSSender, context)
|
|
9742
9740
|
: undefined,
|
|
9743
|
-
DefineAuthChallenge: smithy_client_1.expectString(output.DefineAuthChallenge),
|
|
9744
|
-
KMSKeyID: smithy_client_1.expectString(output.KMSKeyID),
|
|
9745
|
-
PostAuthentication: smithy_client_1.expectString(output.PostAuthentication),
|
|
9746
|
-
PostConfirmation: smithy_client_1.expectString(output.PostConfirmation),
|
|
9747
|
-
PreAuthentication: smithy_client_1.expectString(output.PreAuthentication),
|
|
9748
|
-
PreSignUp: smithy_client_1.expectString(output.PreSignUp),
|
|
9749
|
-
PreTokenGeneration: smithy_client_1.expectString(output.PreTokenGeneration),
|
|
9750
|
-
UserMigration: smithy_client_1.expectString(output.UserMigration),
|
|
9751
|
-
VerifyAuthChallengeResponse: smithy_client_1.expectString(output.VerifyAuthChallengeResponse),
|
|
9741
|
+
DefineAuthChallenge: (0, smithy_client_1.expectString)(output.DefineAuthChallenge),
|
|
9742
|
+
KMSKeyID: (0, smithy_client_1.expectString)(output.KMSKeyID),
|
|
9743
|
+
PostAuthentication: (0, smithy_client_1.expectString)(output.PostAuthentication),
|
|
9744
|
+
PostConfirmation: (0, smithy_client_1.expectString)(output.PostConfirmation),
|
|
9745
|
+
PreAuthentication: (0, smithy_client_1.expectString)(output.PreAuthentication),
|
|
9746
|
+
PreSignUp: (0, smithy_client_1.expectString)(output.PreSignUp),
|
|
9747
|
+
PreTokenGeneration: (0, smithy_client_1.expectString)(output.PreTokenGeneration),
|
|
9748
|
+
UserMigration: (0, smithy_client_1.expectString)(output.UserMigration),
|
|
9749
|
+
VerifyAuthChallengeResponse: (0, smithy_client_1.expectString)(output.VerifyAuthChallengeResponse),
|
|
9752
9750
|
};
|
|
9753
9751
|
};
|
|
9754
9752
|
const deserializeAws_json1_1LimitExceededException = (output, context) => {
|
|
9755
9753
|
return {
|
|
9756
|
-
message: smithy_client_1.expectString(output.message),
|
|
9754
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
9757
9755
|
};
|
|
9758
9756
|
};
|
|
9759
9757
|
const deserializeAws_json1_1ListDevicesResponse = (output, context) => {
|
|
@@ -9761,7 +9759,7 @@ const deserializeAws_json1_1ListDevicesResponse = (output, context) => {
|
|
|
9761
9759
|
Devices: output.Devices !== undefined && output.Devices !== null
|
|
9762
9760
|
? deserializeAws_json1_1DeviceListType(output.Devices, context)
|
|
9763
9761
|
: undefined,
|
|
9764
|
-
PaginationToken: smithy_client_1.expectString(output.PaginationToken),
|
|
9762
|
+
PaginationToken: (0, smithy_client_1.expectString)(output.PaginationToken),
|
|
9765
9763
|
};
|
|
9766
9764
|
};
|
|
9767
9765
|
const deserializeAws_json1_1ListGroupsResponse = (output, context) => {
|
|
@@ -9769,12 +9767,12 @@ const deserializeAws_json1_1ListGroupsResponse = (output, context) => {
|
|
|
9769
9767
|
Groups: output.Groups !== undefined && output.Groups !== null
|
|
9770
9768
|
? deserializeAws_json1_1GroupListType(output.Groups, context)
|
|
9771
9769
|
: undefined,
|
|
9772
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
9770
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
9773
9771
|
};
|
|
9774
9772
|
};
|
|
9775
9773
|
const deserializeAws_json1_1ListIdentityProvidersResponse = (output, context) => {
|
|
9776
9774
|
return {
|
|
9777
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
9775
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
9778
9776
|
Providers: output.Providers !== undefined && output.Providers !== null
|
|
9779
9777
|
? deserializeAws_json1_1ProvidersListType(output.Providers, context)
|
|
9780
9778
|
: undefined,
|
|
@@ -9787,13 +9785,13 @@ const deserializeAws_json1_1ListOfStringTypes = (output, context) => {
|
|
|
9787
9785
|
if (entry === null) {
|
|
9788
9786
|
return null;
|
|
9789
9787
|
}
|
|
9790
|
-
return smithy_client_1.expectString(entry);
|
|
9788
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
9791
9789
|
});
|
|
9792
9790
|
return retVal;
|
|
9793
9791
|
};
|
|
9794
9792
|
const deserializeAws_json1_1ListResourceServersResponse = (output, context) => {
|
|
9795
9793
|
return {
|
|
9796
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
9794
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
9797
9795
|
ResourceServers: output.ResourceServers !== undefined && output.ResourceServers !== null
|
|
9798
9796
|
? deserializeAws_json1_1ResourceServersListType(output.ResourceServers, context)
|
|
9799
9797
|
: undefined,
|
|
@@ -9808,7 +9806,7 @@ const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
|
|
|
9808
9806
|
};
|
|
9809
9807
|
const deserializeAws_json1_1ListUserImportJobsResponse = (output, context) => {
|
|
9810
9808
|
return {
|
|
9811
|
-
PaginationToken: smithy_client_1.expectString(output.PaginationToken),
|
|
9809
|
+
PaginationToken: (0, smithy_client_1.expectString)(output.PaginationToken),
|
|
9812
9810
|
UserImportJobs: output.UserImportJobs !== undefined && output.UserImportJobs !== null
|
|
9813
9811
|
? deserializeAws_json1_1UserImportJobsListType(output.UserImportJobs, context)
|
|
9814
9812
|
: undefined,
|
|
@@ -9816,7 +9814,7 @@ const deserializeAws_json1_1ListUserImportJobsResponse = (output, context) => {
|
|
|
9816
9814
|
};
|
|
9817
9815
|
const deserializeAws_json1_1ListUserPoolClientsResponse = (output, context) => {
|
|
9818
9816
|
return {
|
|
9819
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
9817
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
9820
9818
|
UserPoolClients: output.UserPoolClients !== undefined && output.UserPoolClients !== null
|
|
9821
9819
|
? deserializeAws_json1_1UserPoolClientListType(output.UserPoolClients, context)
|
|
9822
9820
|
: undefined,
|
|
@@ -9824,7 +9822,7 @@ const deserializeAws_json1_1ListUserPoolClientsResponse = (output, context) => {
|
|
|
9824
9822
|
};
|
|
9825
9823
|
const deserializeAws_json1_1ListUserPoolsResponse = (output, context) => {
|
|
9826
9824
|
return {
|
|
9827
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
9825
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
9828
9826
|
UserPools: output.UserPools !== undefined && output.UserPools !== null
|
|
9829
9827
|
? deserializeAws_json1_1UserPoolListType(output.UserPools, context)
|
|
9830
9828
|
: undefined,
|
|
@@ -9832,7 +9830,7 @@ const deserializeAws_json1_1ListUserPoolsResponse = (output, context) => {
|
|
|
9832
9830
|
};
|
|
9833
9831
|
const deserializeAws_json1_1ListUsersInGroupResponse = (output, context) => {
|
|
9834
9832
|
return {
|
|
9835
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
9833
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
9836
9834
|
Users: output.Users !== undefined && output.Users !== null
|
|
9837
9835
|
? deserializeAws_json1_1UsersListType(output.Users, context)
|
|
9838
9836
|
: undefined,
|
|
@@ -9840,7 +9838,7 @@ const deserializeAws_json1_1ListUsersInGroupResponse = (output, context) => {
|
|
|
9840
9838
|
};
|
|
9841
9839
|
const deserializeAws_json1_1ListUsersResponse = (output, context) => {
|
|
9842
9840
|
return {
|
|
9843
|
-
PaginationToken: smithy_client_1.expectString(output.PaginationToken),
|
|
9841
|
+
PaginationToken: (0, smithy_client_1.expectString)(output.PaginationToken),
|
|
9844
9842
|
Users: output.Users !== undefined && output.Users !== null
|
|
9845
9843
|
? deserializeAws_json1_1UsersListType(output.Users, context)
|
|
9846
9844
|
: undefined,
|
|
@@ -9853,20 +9851,20 @@ const deserializeAws_json1_1LogoutURLsListType = (output, context) => {
|
|
|
9853
9851
|
if (entry === null) {
|
|
9854
9852
|
return null;
|
|
9855
9853
|
}
|
|
9856
|
-
return smithy_client_1.expectString(entry);
|
|
9854
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
9857
9855
|
});
|
|
9858
9856
|
return retVal;
|
|
9859
9857
|
};
|
|
9860
9858
|
const deserializeAws_json1_1MessageTemplateType = (output, context) => {
|
|
9861
9859
|
return {
|
|
9862
|
-
EmailMessage: smithy_client_1.expectString(output.EmailMessage),
|
|
9863
|
-
EmailSubject: smithy_client_1.expectString(output.EmailSubject),
|
|
9864
|
-
SMSMessage: smithy_client_1.expectString(output.SMSMessage),
|
|
9860
|
+
EmailMessage: (0, smithy_client_1.expectString)(output.EmailMessage),
|
|
9861
|
+
EmailSubject: (0, smithy_client_1.expectString)(output.EmailSubject),
|
|
9862
|
+
SMSMessage: (0, smithy_client_1.expectString)(output.SMSMessage),
|
|
9865
9863
|
};
|
|
9866
9864
|
};
|
|
9867
9865
|
const deserializeAws_json1_1MFAMethodNotFoundException = (output, context) => {
|
|
9868
9866
|
return {
|
|
9869
|
-
message: smithy_client_1.expectString(output.message),
|
|
9867
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
9870
9868
|
};
|
|
9871
9869
|
};
|
|
9872
9870
|
const deserializeAws_json1_1MFAOptionListType = (output, context) => {
|
|
@@ -9882,19 +9880,19 @@ const deserializeAws_json1_1MFAOptionListType = (output, context) => {
|
|
|
9882
9880
|
};
|
|
9883
9881
|
const deserializeAws_json1_1MFAOptionType = (output, context) => {
|
|
9884
9882
|
return {
|
|
9885
|
-
AttributeName: smithy_client_1.expectString(output.AttributeName),
|
|
9886
|
-
DeliveryMedium: smithy_client_1.expectString(output.DeliveryMedium),
|
|
9883
|
+
AttributeName: (0, smithy_client_1.expectString)(output.AttributeName),
|
|
9884
|
+
DeliveryMedium: (0, smithy_client_1.expectString)(output.DeliveryMedium),
|
|
9887
9885
|
};
|
|
9888
9886
|
};
|
|
9889
9887
|
const deserializeAws_json1_1NewDeviceMetadataType = (output, context) => {
|
|
9890
9888
|
return {
|
|
9891
|
-
DeviceGroupKey: smithy_client_1.expectString(output.DeviceGroupKey),
|
|
9892
|
-
DeviceKey: smithy_client_1.expectString(output.DeviceKey),
|
|
9889
|
+
DeviceGroupKey: (0, smithy_client_1.expectString)(output.DeviceGroupKey),
|
|
9890
|
+
DeviceKey: (0, smithy_client_1.expectString)(output.DeviceKey),
|
|
9893
9891
|
};
|
|
9894
9892
|
};
|
|
9895
9893
|
const deserializeAws_json1_1NotAuthorizedException = (output, context) => {
|
|
9896
9894
|
return {
|
|
9897
|
-
message: smithy_client_1.expectString(output.message),
|
|
9895
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
9898
9896
|
};
|
|
9899
9897
|
};
|
|
9900
9898
|
const deserializeAws_json1_1NotifyConfigurationType = (output, context) => {
|
|
@@ -9902,28 +9900,28 @@ const deserializeAws_json1_1NotifyConfigurationType = (output, context) => {
|
|
|
9902
9900
|
BlockEmail: output.BlockEmail !== undefined && output.BlockEmail !== null
|
|
9903
9901
|
? deserializeAws_json1_1NotifyEmailType(output.BlockEmail, context)
|
|
9904
9902
|
: undefined,
|
|
9905
|
-
From: smithy_client_1.expectString(output.From),
|
|
9903
|
+
From: (0, smithy_client_1.expectString)(output.From),
|
|
9906
9904
|
MfaEmail: output.MfaEmail !== undefined && output.MfaEmail !== null
|
|
9907
9905
|
? deserializeAws_json1_1NotifyEmailType(output.MfaEmail, context)
|
|
9908
9906
|
: undefined,
|
|
9909
9907
|
NoActionEmail: output.NoActionEmail !== undefined && output.NoActionEmail !== null
|
|
9910
9908
|
? deserializeAws_json1_1NotifyEmailType(output.NoActionEmail, context)
|
|
9911
9909
|
: undefined,
|
|
9912
|
-
ReplyTo: smithy_client_1.expectString(output.ReplyTo),
|
|
9913
|
-
SourceArn: smithy_client_1.expectString(output.SourceArn),
|
|
9910
|
+
ReplyTo: (0, smithy_client_1.expectString)(output.ReplyTo),
|
|
9911
|
+
SourceArn: (0, smithy_client_1.expectString)(output.SourceArn),
|
|
9914
9912
|
};
|
|
9915
9913
|
};
|
|
9916
9914
|
const deserializeAws_json1_1NotifyEmailType = (output, context) => {
|
|
9917
9915
|
return {
|
|
9918
|
-
HtmlBody: smithy_client_1.expectString(output.HtmlBody),
|
|
9919
|
-
Subject: smithy_client_1.expectString(output.Subject),
|
|
9920
|
-
TextBody: smithy_client_1.expectString(output.TextBody),
|
|
9916
|
+
HtmlBody: (0, smithy_client_1.expectString)(output.HtmlBody),
|
|
9917
|
+
Subject: (0, smithy_client_1.expectString)(output.Subject),
|
|
9918
|
+
TextBody: (0, smithy_client_1.expectString)(output.TextBody),
|
|
9921
9919
|
};
|
|
9922
9920
|
};
|
|
9923
9921
|
const deserializeAws_json1_1NumberAttributeConstraintsType = (output, context) => {
|
|
9924
9922
|
return {
|
|
9925
|
-
MaxValue: smithy_client_1.expectString(output.MaxValue),
|
|
9926
|
-
MinValue: smithy_client_1.expectString(output.MinValue),
|
|
9923
|
+
MaxValue: (0, smithy_client_1.expectString)(output.MaxValue),
|
|
9924
|
+
MinValue: (0, smithy_client_1.expectString)(output.MinValue),
|
|
9927
9925
|
};
|
|
9928
9926
|
};
|
|
9929
9927
|
const deserializeAws_json1_1OAuthFlowsType = (output, context) => {
|
|
@@ -9933,40 +9931,40 @@ const deserializeAws_json1_1OAuthFlowsType = (output, context) => {
|
|
|
9933
9931
|
if (entry === null) {
|
|
9934
9932
|
return null;
|
|
9935
9933
|
}
|
|
9936
|
-
return smithy_client_1.expectString(entry);
|
|
9934
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
9937
9935
|
});
|
|
9938
9936
|
return retVal;
|
|
9939
9937
|
};
|
|
9940
9938
|
const deserializeAws_json1_1PasswordPolicyType = (output, context) => {
|
|
9941
9939
|
return {
|
|
9942
|
-
MinimumLength: smithy_client_1.expectInt32(output.MinimumLength),
|
|
9943
|
-
RequireLowercase: smithy_client_1.expectBoolean(output.RequireLowercase),
|
|
9944
|
-
RequireNumbers: smithy_client_1.expectBoolean(output.RequireNumbers),
|
|
9945
|
-
RequireSymbols: smithy_client_1.expectBoolean(output.RequireSymbols),
|
|
9946
|
-
RequireUppercase: smithy_client_1.expectBoolean(output.RequireUppercase),
|
|
9947
|
-
TemporaryPasswordValidityDays: smithy_client_1.expectInt32(output.TemporaryPasswordValidityDays),
|
|
9940
|
+
MinimumLength: (0, smithy_client_1.expectInt32)(output.MinimumLength),
|
|
9941
|
+
RequireLowercase: (0, smithy_client_1.expectBoolean)(output.RequireLowercase),
|
|
9942
|
+
RequireNumbers: (0, smithy_client_1.expectBoolean)(output.RequireNumbers),
|
|
9943
|
+
RequireSymbols: (0, smithy_client_1.expectBoolean)(output.RequireSymbols),
|
|
9944
|
+
RequireUppercase: (0, smithy_client_1.expectBoolean)(output.RequireUppercase),
|
|
9945
|
+
TemporaryPasswordValidityDays: (0, smithy_client_1.expectInt32)(output.TemporaryPasswordValidityDays),
|
|
9948
9946
|
};
|
|
9949
9947
|
};
|
|
9950
9948
|
const deserializeAws_json1_1PasswordResetRequiredException = (output, context) => {
|
|
9951
9949
|
return {
|
|
9952
|
-
message: smithy_client_1.expectString(output.message),
|
|
9950
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
9953
9951
|
};
|
|
9954
9952
|
};
|
|
9955
9953
|
const deserializeAws_json1_1PreconditionNotMetException = (output, context) => {
|
|
9956
9954
|
return {
|
|
9957
|
-
message: smithy_client_1.expectString(output.message),
|
|
9955
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
9958
9956
|
};
|
|
9959
9957
|
};
|
|
9960
9958
|
const deserializeAws_json1_1ProviderDescription = (output, context) => {
|
|
9961
9959
|
return {
|
|
9962
9960
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
9963
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
|
|
9961
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDate)))
|
|
9964
9962
|
: undefined,
|
|
9965
9963
|
LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
|
|
9966
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
|
|
9964
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedDate)))
|
|
9967
9965
|
: undefined,
|
|
9968
|
-
ProviderName: smithy_client_1.expectString(output.ProviderName),
|
|
9969
|
-
ProviderType: smithy_client_1.expectString(output.ProviderType),
|
|
9966
|
+
ProviderName: (0, smithy_client_1.expectString)(output.ProviderName),
|
|
9967
|
+
ProviderType: (0, smithy_client_1.expectString)(output.ProviderType),
|
|
9970
9968
|
};
|
|
9971
9969
|
};
|
|
9972
9970
|
const deserializeAws_json1_1ProviderDetailsType = (output, context) => {
|
|
@@ -9976,7 +9974,7 @@ const deserializeAws_json1_1ProviderDetailsType = (output, context) => {
|
|
|
9976
9974
|
}
|
|
9977
9975
|
return {
|
|
9978
9976
|
...acc,
|
|
9979
|
-
[key]: smithy_client_1.expectString(value),
|
|
9977
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
9980
9978
|
};
|
|
9981
9979
|
}, {});
|
|
9982
9980
|
};
|
|
@@ -10004,8 +10002,8 @@ const deserializeAws_json1_1RecoveryMechanismsType = (output, context) => {
|
|
|
10004
10002
|
};
|
|
10005
10003
|
const deserializeAws_json1_1RecoveryOptionType = (output, context) => {
|
|
10006
10004
|
return {
|
|
10007
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
10008
|
-
Priority: smithy_client_1.expectInt32(output.Priority),
|
|
10005
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
10006
|
+
Priority: (0, smithy_client_1.expectInt32)(output.Priority),
|
|
10009
10007
|
};
|
|
10010
10008
|
};
|
|
10011
10009
|
const deserializeAws_json1_1ResendConfirmationCodeResponse = (output, context) => {
|
|
@@ -10017,7 +10015,7 @@ const deserializeAws_json1_1ResendConfirmationCodeResponse = (output, context) =
|
|
|
10017
10015
|
};
|
|
10018
10016
|
const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
|
|
10019
10017
|
return {
|
|
10020
|
-
message: smithy_client_1.expectString(output.message),
|
|
10018
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
10021
10019
|
};
|
|
10022
10020
|
};
|
|
10023
10021
|
const deserializeAws_json1_1ResourceServerScopeListType = (output, context) => {
|
|
@@ -10033,8 +10031,8 @@ const deserializeAws_json1_1ResourceServerScopeListType = (output, context) => {
|
|
|
10033
10031
|
};
|
|
10034
10032
|
const deserializeAws_json1_1ResourceServerScopeType = (output, context) => {
|
|
10035
10033
|
return {
|
|
10036
|
-
ScopeDescription: smithy_client_1.expectString(output.ScopeDescription),
|
|
10037
|
-
ScopeName: smithy_client_1.expectString(output.ScopeName),
|
|
10034
|
+
ScopeDescription: (0, smithy_client_1.expectString)(output.ScopeDescription),
|
|
10035
|
+
ScopeName: (0, smithy_client_1.expectString)(output.ScopeName),
|
|
10038
10036
|
};
|
|
10039
10037
|
};
|
|
10040
10038
|
const deserializeAws_json1_1ResourceServersListType = (output, context) => {
|
|
@@ -10050,12 +10048,12 @@ const deserializeAws_json1_1ResourceServersListType = (output, context) => {
|
|
|
10050
10048
|
};
|
|
10051
10049
|
const deserializeAws_json1_1ResourceServerType = (output, context) => {
|
|
10052
10050
|
return {
|
|
10053
|
-
Identifier: smithy_client_1.expectString(output.Identifier),
|
|
10054
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
10051
|
+
Identifier: (0, smithy_client_1.expectString)(output.Identifier),
|
|
10052
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
10055
10053
|
Scopes: output.Scopes !== undefined && output.Scopes !== null
|
|
10056
10054
|
? deserializeAws_json1_1ResourceServerScopeListType(output.Scopes, context)
|
|
10057
10055
|
: undefined,
|
|
10058
|
-
UserPoolId: smithy_client_1.expectString(output.UserPoolId),
|
|
10056
|
+
UserPoolId: (0, smithy_client_1.expectString)(output.UserPoolId),
|
|
10059
10057
|
};
|
|
10060
10058
|
};
|
|
10061
10059
|
const deserializeAws_json1_1RespondToAuthChallengeResponse = (output, context) => {
|
|
@@ -10063,11 +10061,11 @@ const deserializeAws_json1_1RespondToAuthChallengeResponse = (output, context) =
|
|
|
10063
10061
|
AuthenticationResult: output.AuthenticationResult !== undefined && output.AuthenticationResult !== null
|
|
10064
10062
|
? deserializeAws_json1_1AuthenticationResultType(output.AuthenticationResult, context)
|
|
10065
10063
|
: undefined,
|
|
10066
|
-
ChallengeName: smithy_client_1.expectString(output.ChallengeName),
|
|
10064
|
+
ChallengeName: (0, smithy_client_1.expectString)(output.ChallengeName),
|
|
10067
10065
|
ChallengeParameters: output.ChallengeParameters !== undefined && output.ChallengeParameters !== null
|
|
10068
10066
|
? deserializeAws_json1_1ChallengeParametersType(output.ChallengeParameters, context)
|
|
10069
10067
|
: undefined,
|
|
10070
|
-
Session: smithy_client_1.expectString(output.Session),
|
|
10068
|
+
Session: (0, smithy_client_1.expectString)(output.Session),
|
|
10071
10069
|
};
|
|
10072
10070
|
};
|
|
10073
10071
|
const deserializeAws_json1_1RevokeTokenResponse = (output, context) => {
|
|
@@ -10078,18 +10076,18 @@ const deserializeAws_json1_1RiskConfigurationType = (output, context) => {
|
|
|
10078
10076
|
AccountTakeoverRiskConfiguration: output.AccountTakeoverRiskConfiguration !== undefined && output.AccountTakeoverRiskConfiguration !== null
|
|
10079
10077
|
? deserializeAws_json1_1AccountTakeoverRiskConfigurationType(output.AccountTakeoverRiskConfiguration, context)
|
|
10080
10078
|
: undefined,
|
|
10081
|
-
ClientId: smithy_client_1.expectString(output.ClientId),
|
|
10079
|
+
ClientId: (0, smithy_client_1.expectString)(output.ClientId),
|
|
10082
10080
|
CompromisedCredentialsRiskConfiguration: output.CompromisedCredentialsRiskConfiguration !== undefined &&
|
|
10083
10081
|
output.CompromisedCredentialsRiskConfiguration !== null
|
|
10084
10082
|
? deserializeAws_json1_1CompromisedCredentialsRiskConfigurationType(output.CompromisedCredentialsRiskConfiguration, context)
|
|
10085
10083
|
: undefined,
|
|
10086
10084
|
LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
|
|
10087
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
|
|
10085
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedDate)))
|
|
10088
10086
|
: undefined,
|
|
10089
10087
|
RiskExceptionConfiguration: output.RiskExceptionConfiguration !== undefined && output.RiskExceptionConfiguration !== null
|
|
10090
10088
|
? deserializeAws_json1_1RiskExceptionConfigurationType(output.RiskExceptionConfiguration, context)
|
|
10091
10089
|
: undefined,
|
|
10092
|
-
UserPoolId: smithy_client_1.expectString(output.UserPoolId),
|
|
10090
|
+
UserPoolId: (0, smithy_client_1.expectString)(output.UserPoolId),
|
|
10093
10091
|
};
|
|
10094
10092
|
};
|
|
10095
10093
|
const deserializeAws_json1_1RiskExceptionConfigurationType = (output, context) => {
|
|
@@ -10115,14 +10113,14 @@ const deserializeAws_json1_1SchemaAttributesListType = (output, context) => {
|
|
|
10115
10113
|
};
|
|
10116
10114
|
const deserializeAws_json1_1SchemaAttributeType = (output, context) => {
|
|
10117
10115
|
return {
|
|
10118
|
-
AttributeDataType: smithy_client_1.expectString(output.AttributeDataType),
|
|
10119
|
-
DeveloperOnlyAttribute: smithy_client_1.expectBoolean(output.DeveloperOnlyAttribute),
|
|
10120
|
-
Mutable: smithy_client_1.expectBoolean(output.Mutable),
|
|
10121
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
10116
|
+
AttributeDataType: (0, smithy_client_1.expectString)(output.AttributeDataType),
|
|
10117
|
+
DeveloperOnlyAttribute: (0, smithy_client_1.expectBoolean)(output.DeveloperOnlyAttribute),
|
|
10118
|
+
Mutable: (0, smithy_client_1.expectBoolean)(output.Mutable),
|
|
10119
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
10122
10120
|
NumberAttributeConstraints: output.NumberAttributeConstraints !== undefined && output.NumberAttributeConstraints !== null
|
|
10123
10121
|
? deserializeAws_json1_1NumberAttributeConstraintsType(output.NumberAttributeConstraints, context)
|
|
10124
10122
|
: undefined,
|
|
10125
|
-
Required: smithy_client_1.expectBoolean(output.Required),
|
|
10123
|
+
Required: (0, smithy_client_1.expectBoolean)(output.Required),
|
|
10126
10124
|
StringAttributeConstraints: output.StringAttributeConstraints !== undefined && output.StringAttributeConstraints !== null
|
|
10127
10125
|
? deserializeAws_json1_1StringAttributeConstraintsType(output.StringAttributeConstraints, context)
|
|
10128
10126
|
: undefined,
|
|
@@ -10130,7 +10128,7 @@ const deserializeAws_json1_1SchemaAttributeType = (output, context) => {
|
|
|
10130
10128
|
};
|
|
10131
10129
|
const deserializeAws_json1_1ScopeDoesNotExistException = (output, context) => {
|
|
10132
10130
|
return {
|
|
10133
|
-
message: smithy_client_1.expectString(output.message),
|
|
10131
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
10134
10132
|
};
|
|
10135
10133
|
};
|
|
10136
10134
|
const deserializeAws_json1_1ScopeListType = (output, context) => {
|
|
@@ -10140,7 +10138,7 @@ const deserializeAws_json1_1ScopeListType = (output, context) => {
|
|
|
10140
10138
|
if (entry === null) {
|
|
10141
10139
|
return null;
|
|
10142
10140
|
}
|
|
10143
|
-
return smithy_client_1.expectString(entry);
|
|
10141
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
10144
10142
|
});
|
|
10145
10143
|
return retVal;
|
|
10146
10144
|
};
|
|
@@ -10163,7 +10161,7 @@ const deserializeAws_json1_1SetUserMFAPreferenceResponse = (output, context) =>
|
|
|
10163
10161
|
};
|
|
10164
10162
|
const deserializeAws_json1_1SetUserPoolMfaConfigResponse = (output, context) => {
|
|
10165
10163
|
return {
|
|
10166
|
-
MfaConfiguration: smithy_client_1.expectString(output.MfaConfiguration),
|
|
10164
|
+
MfaConfiguration: (0, smithy_client_1.expectString)(output.MfaConfiguration),
|
|
10167
10165
|
SmsMfaConfiguration: output.SmsMfaConfiguration !== undefined && output.SmsMfaConfiguration !== null
|
|
10168
10166
|
? deserializeAws_json1_1SmsMfaConfigType(output.SmsMfaConfiguration, context)
|
|
10169
10167
|
: undefined,
|
|
@@ -10180,8 +10178,8 @@ const deserializeAws_json1_1SignUpResponse = (output, context) => {
|
|
|
10180
10178
|
CodeDeliveryDetails: output.CodeDeliveryDetails !== undefined && output.CodeDeliveryDetails !== null
|
|
10181
10179
|
? deserializeAws_json1_1CodeDeliveryDetailsType(output.CodeDeliveryDetails, context)
|
|
10182
10180
|
: undefined,
|
|
10183
|
-
UserConfirmed: smithy_client_1.expectBoolean(output.UserConfirmed),
|
|
10184
|
-
UserSub: smithy_client_1.expectString(output.UserSub),
|
|
10181
|
+
UserConfirmed: (0, smithy_client_1.expectBoolean)(output.UserConfirmed),
|
|
10182
|
+
UserSub: (0, smithy_client_1.expectString)(output.UserSub),
|
|
10185
10183
|
};
|
|
10186
10184
|
};
|
|
10187
10185
|
const deserializeAws_json1_1SkippedIPRangeListType = (output, context) => {
|
|
@@ -10191,19 +10189,20 @@ const deserializeAws_json1_1SkippedIPRangeListType = (output, context) => {
|
|
|
10191
10189
|
if (entry === null) {
|
|
10192
10190
|
return null;
|
|
10193
10191
|
}
|
|
10194
|
-
return smithy_client_1.expectString(entry);
|
|
10192
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
10195
10193
|
});
|
|
10196
10194
|
return retVal;
|
|
10197
10195
|
};
|
|
10198
10196
|
const deserializeAws_json1_1SmsConfigurationType = (output, context) => {
|
|
10199
10197
|
return {
|
|
10200
|
-
ExternalId: smithy_client_1.expectString(output.ExternalId),
|
|
10201
|
-
SnsCallerArn: smithy_client_1.expectString(output.SnsCallerArn),
|
|
10198
|
+
ExternalId: (0, smithy_client_1.expectString)(output.ExternalId),
|
|
10199
|
+
SnsCallerArn: (0, smithy_client_1.expectString)(output.SnsCallerArn),
|
|
10200
|
+
SnsRegion: (0, smithy_client_1.expectString)(output.SnsRegion),
|
|
10202
10201
|
};
|
|
10203
10202
|
};
|
|
10204
10203
|
const deserializeAws_json1_1SmsMfaConfigType = (output, context) => {
|
|
10205
10204
|
return {
|
|
10206
|
-
SmsAuthenticationMessage: smithy_client_1.expectString(output.SmsAuthenticationMessage),
|
|
10205
|
+
SmsAuthenticationMessage: (0, smithy_client_1.expectString)(output.SmsAuthenticationMessage),
|
|
10207
10206
|
SmsConfiguration: output.SmsConfiguration !== undefined && output.SmsConfiguration !== null
|
|
10208
10207
|
? deserializeAws_json1_1SmsConfigurationType(output.SmsConfiguration, context)
|
|
10209
10208
|
: undefined,
|
|
@@ -10211,12 +10210,12 @@ const deserializeAws_json1_1SmsMfaConfigType = (output, context) => {
|
|
|
10211
10210
|
};
|
|
10212
10211
|
const deserializeAws_json1_1SoftwareTokenMfaConfigType = (output, context) => {
|
|
10213
10212
|
return {
|
|
10214
|
-
Enabled: smithy_client_1.expectBoolean(output.Enabled),
|
|
10213
|
+
Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
|
|
10215
10214
|
};
|
|
10216
10215
|
};
|
|
10217
10216
|
const deserializeAws_json1_1SoftwareTokenMFANotFoundException = (output, context) => {
|
|
10218
10217
|
return {
|
|
10219
|
-
message: smithy_client_1.expectString(output.message),
|
|
10218
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
10220
10219
|
};
|
|
10221
10220
|
};
|
|
10222
10221
|
const deserializeAws_json1_1StartUserImportJobResponse = (output, context) => {
|
|
@@ -10235,8 +10234,8 @@ const deserializeAws_json1_1StopUserImportJobResponse = (output, context) => {
|
|
|
10235
10234
|
};
|
|
10236
10235
|
const deserializeAws_json1_1StringAttributeConstraintsType = (output, context) => {
|
|
10237
10236
|
return {
|
|
10238
|
-
MaxLength: smithy_client_1.expectString(output.MaxLength),
|
|
10239
|
-
MinLength: smithy_client_1.expectString(output.MinLength),
|
|
10237
|
+
MaxLength: (0, smithy_client_1.expectString)(output.MaxLength),
|
|
10238
|
+
MinLength: (0, smithy_client_1.expectString)(output.MinLength),
|
|
10240
10239
|
};
|
|
10241
10240
|
};
|
|
10242
10241
|
const deserializeAws_json1_1SupportedIdentityProvidersListType = (output, context) => {
|
|
@@ -10246,7 +10245,7 @@ const deserializeAws_json1_1SupportedIdentityProvidersListType = (output, contex
|
|
|
10246
10245
|
if (entry === null) {
|
|
10247
10246
|
return null;
|
|
10248
10247
|
}
|
|
10249
|
-
return smithy_client_1.expectString(entry);
|
|
10248
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
10250
10249
|
});
|
|
10251
10250
|
return retVal;
|
|
10252
10251
|
};
|
|
@@ -10255,64 +10254,64 @@ const deserializeAws_json1_1TagResourceResponse = (output, context) => {
|
|
|
10255
10254
|
};
|
|
10256
10255
|
const deserializeAws_json1_1TokenValidityUnitsType = (output, context) => {
|
|
10257
10256
|
return {
|
|
10258
|
-
AccessToken: smithy_client_1.expectString(output.AccessToken),
|
|
10259
|
-
IdToken: smithy_client_1.expectString(output.IdToken),
|
|
10260
|
-
RefreshToken: smithy_client_1.expectString(output.RefreshToken),
|
|
10257
|
+
AccessToken: (0, smithy_client_1.expectString)(output.AccessToken),
|
|
10258
|
+
IdToken: (0, smithy_client_1.expectString)(output.IdToken),
|
|
10259
|
+
RefreshToken: (0, smithy_client_1.expectString)(output.RefreshToken),
|
|
10261
10260
|
};
|
|
10262
10261
|
};
|
|
10263
10262
|
const deserializeAws_json1_1TooManyFailedAttemptsException = (output, context) => {
|
|
10264
10263
|
return {
|
|
10265
|
-
message: smithy_client_1.expectString(output.message),
|
|
10264
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
10266
10265
|
};
|
|
10267
10266
|
};
|
|
10268
10267
|
const deserializeAws_json1_1TooManyRequestsException = (output, context) => {
|
|
10269
10268
|
return {
|
|
10270
|
-
message: smithy_client_1.expectString(output.message),
|
|
10269
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
10271
10270
|
};
|
|
10272
10271
|
};
|
|
10273
10272
|
const deserializeAws_json1_1UICustomizationType = (output, context) => {
|
|
10274
10273
|
return {
|
|
10275
|
-
CSS: smithy_client_1.expectString(output.CSS),
|
|
10276
|
-
CSSVersion: smithy_client_1.expectString(output.CSSVersion),
|
|
10277
|
-
ClientId: smithy_client_1.expectString(output.ClientId),
|
|
10274
|
+
CSS: (0, smithy_client_1.expectString)(output.CSS),
|
|
10275
|
+
CSSVersion: (0, smithy_client_1.expectString)(output.CSSVersion),
|
|
10276
|
+
ClientId: (0, smithy_client_1.expectString)(output.ClientId),
|
|
10278
10277
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
10279
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
|
|
10278
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDate)))
|
|
10280
10279
|
: undefined,
|
|
10281
|
-
ImageUrl: smithy_client_1.expectString(output.ImageUrl),
|
|
10280
|
+
ImageUrl: (0, smithy_client_1.expectString)(output.ImageUrl),
|
|
10282
10281
|
LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
|
|
10283
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
|
|
10282
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedDate)))
|
|
10284
10283
|
: undefined,
|
|
10285
|
-
UserPoolId: smithy_client_1.expectString(output.UserPoolId),
|
|
10284
|
+
UserPoolId: (0, smithy_client_1.expectString)(output.UserPoolId),
|
|
10286
10285
|
};
|
|
10287
10286
|
};
|
|
10288
10287
|
const deserializeAws_json1_1UnauthorizedException = (output, context) => {
|
|
10289
10288
|
return {
|
|
10290
|
-
message: smithy_client_1.expectString(output.message),
|
|
10289
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
10291
10290
|
};
|
|
10292
10291
|
};
|
|
10293
10292
|
const deserializeAws_json1_1UnexpectedLambdaException = (output, context) => {
|
|
10294
10293
|
return {
|
|
10295
|
-
message: smithy_client_1.expectString(output.message),
|
|
10294
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
10296
10295
|
};
|
|
10297
10296
|
};
|
|
10298
10297
|
const deserializeAws_json1_1UnsupportedIdentityProviderException = (output, context) => {
|
|
10299
10298
|
return {
|
|
10300
|
-
message: smithy_client_1.expectString(output.message),
|
|
10299
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
10301
10300
|
};
|
|
10302
10301
|
};
|
|
10303
10302
|
const deserializeAws_json1_1UnsupportedOperationException = (output, context) => {
|
|
10304
10303
|
return {
|
|
10305
|
-
message: smithy_client_1.expectString(output.message),
|
|
10304
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
10306
10305
|
};
|
|
10307
10306
|
};
|
|
10308
10307
|
const deserializeAws_json1_1UnsupportedTokenTypeException = (output, context) => {
|
|
10309
10308
|
return {
|
|
10310
|
-
message: smithy_client_1.expectString(output.message),
|
|
10309
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
10311
10310
|
};
|
|
10312
10311
|
};
|
|
10313
10312
|
const deserializeAws_json1_1UnsupportedUserStateException = (output, context) => {
|
|
10314
10313
|
return {
|
|
10315
|
-
message: smithy_client_1.expectString(output.message),
|
|
10314
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
10316
10315
|
};
|
|
10317
10316
|
};
|
|
10318
10317
|
const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
|
|
@@ -10361,7 +10360,7 @@ const deserializeAws_json1_1UpdateUserPoolClientResponse = (output, context) =>
|
|
|
10361
10360
|
};
|
|
10362
10361
|
const deserializeAws_json1_1UpdateUserPoolDomainResponse = (output, context) => {
|
|
10363
10362
|
return {
|
|
10364
|
-
CloudFrontDomain: smithy_client_1.expectString(output.CloudFrontDomain),
|
|
10363
|
+
CloudFrontDomain: (0, smithy_client_1.expectString)(output.CloudFrontDomain),
|
|
10365
10364
|
};
|
|
10366
10365
|
};
|
|
10367
10366
|
const deserializeAws_json1_1UpdateUserPoolResponse = (output, context) => {
|
|
@@ -10369,7 +10368,7 @@ const deserializeAws_json1_1UpdateUserPoolResponse = (output, context) => {
|
|
|
10369
10368
|
};
|
|
10370
10369
|
const deserializeAws_json1_1UserImportInProgressException = (output, context) => {
|
|
10371
10370
|
return {
|
|
10372
|
-
message: smithy_client_1.expectString(output.message),
|
|
10371
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
10373
10372
|
};
|
|
10374
10373
|
};
|
|
10375
10374
|
const deserializeAws_json1_1UserImportJobsListType = (output, context) => {
|
|
@@ -10385,30 +10384,30 @@ const deserializeAws_json1_1UserImportJobsListType = (output, context) => {
|
|
|
10385
10384
|
};
|
|
10386
10385
|
const deserializeAws_json1_1UserImportJobType = (output, context) => {
|
|
10387
10386
|
return {
|
|
10388
|
-
CloudWatchLogsRoleArn: smithy_client_1.expectString(output.CloudWatchLogsRoleArn),
|
|
10387
|
+
CloudWatchLogsRoleArn: (0, smithy_client_1.expectString)(output.CloudWatchLogsRoleArn),
|
|
10389
10388
|
CompletionDate: output.CompletionDate !== undefined && output.CompletionDate !== null
|
|
10390
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CompletionDate)))
|
|
10389
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CompletionDate)))
|
|
10391
10390
|
: undefined,
|
|
10392
|
-
CompletionMessage: smithy_client_1.expectString(output.CompletionMessage),
|
|
10391
|
+
CompletionMessage: (0, smithy_client_1.expectString)(output.CompletionMessage),
|
|
10393
10392
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
10394
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
|
|
10395
|
-
: undefined,
|
|
10396
|
-
FailedUsers: smithy_client_1.expectLong(output.FailedUsers),
|
|
10397
|
-
ImportedUsers: smithy_client_1.expectLong(output.ImportedUsers),
|
|
10398
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
10399
|
-
JobName: smithy_client_1.expectString(output.JobName),
|
|
10400
|
-
PreSignedUrl: smithy_client_1.expectString(output.PreSignedUrl),
|
|
10401
|
-
SkippedUsers: smithy_client_1.expectLong(output.SkippedUsers),
|
|
10393
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDate)))
|
|
10394
|
+
: undefined,
|
|
10395
|
+
FailedUsers: (0, smithy_client_1.expectLong)(output.FailedUsers),
|
|
10396
|
+
ImportedUsers: (0, smithy_client_1.expectLong)(output.ImportedUsers),
|
|
10397
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
10398
|
+
JobName: (0, smithy_client_1.expectString)(output.JobName),
|
|
10399
|
+
PreSignedUrl: (0, smithy_client_1.expectString)(output.PreSignedUrl),
|
|
10400
|
+
SkippedUsers: (0, smithy_client_1.expectLong)(output.SkippedUsers),
|
|
10402
10401
|
StartDate: output.StartDate !== undefined && output.StartDate !== null
|
|
10403
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartDate)))
|
|
10402
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartDate)))
|
|
10404
10403
|
: undefined,
|
|
10405
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
10406
|
-
UserPoolId: smithy_client_1.expectString(output.UserPoolId),
|
|
10404
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
10405
|
+
UserPoolId: (0, smithy_client_1.expectString)(output.UserPoolId),
|
|
10407
10406
|
};
|
|
10408
10407
|
};
|
|
10409
10408
|
const deserializeAws_json1_1UserLambdaValidationException = (output, context) => {
|
|
10410
10409
|
return {
|
|
10411
|
-
message: smithy_client_1.expectString(output.message),
|
|
10410
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
10412
10411
|
};
|
|
10413
10412
|
};
|
|
10414
10413
|
const deserializeAws_json1_1UserMFASettingListType = (output, context) => {
|
|
@@ -10418,7 +10417,7 @@ const deserializeAws_json1_1UserMFASettingListType = (output, context) => {
|
|
|
10418
10417
|
if (entry === null) {
|
|
10419
10418
|
return null;
|
|
10420
10419
|
}
|
|
10421
|
-
return smithy_client_1.expectString(entry);
|
|
10420
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
10422
10421
|
});
|
|
10423
10422
|
return retVal;
|
|
10424
10423
|
};
|
|
@@ -10429,45 +10428,45 @@ const deserializeAws_json1_1UsernameAttributesListType = (output, context) => {
|
|
|
10429
10428
|
if (entry === null) {
|
|
10430
10429
|
return null;
|
|
10431
10430
|
}
|
|
10432
|
-
return smithy_client_1.expectString(entry);
|
|
10431
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
10433
10432
|
});
|
|
10434
10433
|
return retVal;
|
|
10435
10434
|
};
|
|
10436
10435
|
const deserializeAws_json1_1UsernameConfigurationType = (output, context) => {
|
|
10437
10436
|
return {
|
|
10438
|
-
CaseSensitive: smithy_client_1.expectBoolean(output.CaseSensitive),
|
|
10437
|
+
CaseSensitive: (0, smithy_client_1.expectBoolean)(output.CaseSensitive),
|
|
10439
10438
|
};
|
|
10440
10439
|
};
|
|
10441
10440
|
const deserializeAws_json1_1UsernameExistsException = (output, context) => {
|
|
10442
10441
|
return {
|
|
10443
|
-
message: smithy_client_1.expectString(output.message),
|
|
10442
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
10444
10443
|
};
|
|
10445
10444
|
};
|
|
10446
10445
|
const deserializeAws_json1_1UserNotConfirmedException = (output, context) => {
|
|
10447
10446
|
return {
|
|
10448
|
-
message: smithy_client_1.expectString(output.message),
|
|
10447
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
10449
10448
|
};
|
|
10450
10449
|
};
|
|
10451
10450
|
const deserializeAws_json1_1UserNotFoundException = (output, context) => {
|
|
10452
10451
|
return {
|
|
10453
|
-
message: smithy_client_1.expectString(output.message),
|
|
10452
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
10454
10453
|
};
|
|
10455
10454
|
};
|
|
10456
10455
|
const deserializeAws_json1_1UserPoolAddOnNotEnabledException = (output, context) => {
|
|
10457
10456
|
return {
|
|
10458
|
-
message: smithy_client_1.expectString(output.message),
|
|
10457
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
10459
10458
|
};
|
|
10460
10459
|
};
|
|
10461
10460
|
const deserializeAws_json1_1UserPoolAddOnsType = (output, context) => {
|
|
10462
10461
|
return {
|
|
10463
|
-
AdvancedSecurityMode: smithy_client_1.expectString(output.AdvancedSecurityMode),
|
|
10462
|
+
AdvancedSecurityMode: (0, smithy_client_1.expectString)(output.AdvancedSecurityMode),
|
|
10464
10463
|
};
|
|
10465
10464
|
};
|
|
10466
10465
|
const deserializeAws_json1_1UserPoolClientDescription = (output, context) => {
|
|
10467
10466
|
return {
|
|
10468
|
-
ClientId: smithy_client_1.expectString(output.ClientId),
|
|
10469
|
-
ClientName: smithy_client_1.expectString(output.ClientName),
|
|
10470
|
-
UserPoolId: smithy_client_1.expectString(output.UserPoolId),
|
|
10467
|
+
ClientId: (0, smithy_client_1.expectString)(output.ClientId),
|
|
10468
|
+
ClientName: (0, smithy_client_1.expectString)(output.ClientName),
|
|
10469
|
+
UserPoolId: (0, smithy_client_1.expectString)(output.UserPoolId),
|
|
10471
10470
|
};
|
|
10472
10471
|
};
|
|
10473
10472
|
const deserializeAws_json1_1UserPoolClientListType = (output, context) => {
|
|
@@ -10483,11 +10482,11 @@ const deserializeAws_json1_1UserPoolClientListType = (output, context) => {
|
|
|
10483
10482
|
};
|
|
10484
10483
|
const deserializeAws_json1_1UserPoolClientType = (output, context) => {
|
|
10485
10484
|
return {
|
|
10486
|
-
AccessTokenValidity: smithy_client_1.expectInt32(output.AccessTokenValidity),
|
|
10485
|
+
AccessTokenValidity: (0, smithy_client_1.expectInt32)(output.AccessTokenValidity),
|
|
10487
10486
|
AllowedOAuthFlows: output.AllowedOAuthFlows !== undefined && output.AllowedOAuthFlows !== null
|
|
10488
10487
|
? deserializeAws_json1_1OAuthFlowsType(output.AllowedOAuthFlows, context)
|
|
10489
10488
|
: undefined,
|
|
10490
|
-
AllowedOAuthFlowsUserPoolClient: smithy_client_1.expectBoolean(output.AllowedOAuthFlowsUserPoolClient),
|
|
10489
|
+
AllowedOAuthFlowsUserPoolClient: (0, smithy_client_1.expectBoolean)(output.AllowedOAuthFlowsUserPoolClient),
|
|
10491
10490
|
AllowedOAuthScopes: output.AllowedOAuthScopes !== undefined && output.AllowedOAuthScopes !== null
|
|
10492
10491
|
? deserializeAws_json1_1ScopeListType(output.AllowedOAuthScopes, context)
|
|
10493
10492
|
: undefined,
|
|
@@ -10497,36 +10496,36 @@ const deserializeAws_json1_1UserPoolClientType = (output, context) => {
|
|
|
10497
10496
|
CallbackURLs: output.CallbackURLs !== undefined && output.CallbackURLs !== null
|
|
10498
10497
|
? deserializeAws_json1_1CallbackURLsListType(output.CallbackURLs, context)
|
|
10499
10498
|
: undefined,
|
|
10500
|
-
ClientId: smithy_client_1.expectString(output.ClientId),
|
|
10501
|
-
ClientName: smithy_client_1.expectString(output.ClientName),
|
|
10502
|
-
ClientSecret: smithy_client_1.expectString(output.ClientSecret),
|
|
10499
|
+
ClientId: (0, smithy_client_1.expectString)(output.ClientId),
|
|
10500
|
+
ClientName: (0, smithy_client_1.expectString)(output.ClientName),
|
|
10501
|
+
ClientSecret: (0, smithy_client_1.expectString)(output.ClientSecret),
|
|
10503
10502
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
10504
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
|
|
10503
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDate)))
|
|
10505
10504
|
: undefined,
|
|
10506
|
-
DefaultRedirectURI: smithy_client_1.expectString(output.DefaultRedirectURI),
|
|
10507
|
-
EnableTokenRevocation: smithy_client_1.expectBoolean(output.EnableTokenRevocation),
|
|
10505
|
+
DefaultRedirectURI: (0, smithy_client_1.expectString)(output.DefaultRedirectURI),
|
|
10506
|
+
EnableTokenRevocation: (0, smithy_client_1.expectBoolean)(output.EnableTokenRevocation),
|
|
10508
10507
|
ExplicitAuthFlows: output.ExplicitAuthFlows !== undefined && output.ExplicitAuthFlows !== null
|
|
10509
10508
|
? deserializeAws_json1_1ExplicitAuthFlowsListType(output.ExplicitAuthFlows, context)
|
|
10510
10509
|
: undefined,
|
|
10511
|
-
IdTokenValidity: smithy_client_1.expectInt32(output.IdTokenValidity),
|
|
10510
|
+
IdTokenValidity: (0, smithy_client_1.expectInt32)(output.IdTokenValidity),
|
|
10512
10511
|
LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
|
|
10513
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
|
|
10512
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedDate)))
|
|
10514
10513
|
: undefined,
|
|
10515
10514
|
LogoutURLs: output.LogoutURLs !== undefined && output.LogoutURLs !== null
|
|
10516
10515
|
? deserializeAws_json1_1LogoutURLsListType(output.LogoutURLs, context)
|
|
10517
10516
|
: undefined,
|
|
10518
|
-
PreventUserExistenceErrors: smithy_client_1.expectString(output.PreventUserExistenceErrors),
|
|
10517
|
+
PreventUserExistenceErrors: (0, smithy_client_1.expectString)(output.PreventUserExistenceErrors),
|
|
10519
10518
|
ReadAttributes: output.ReadAttributes !== undefined && output.ReadAttributes !== null
|
|
10520
10519
|
? deserializeAws_json1_1ClientPermissionListType(output.ReadAttributes, context)
|
|
10521
10520
|
: undefined,
|
|
10522
|
-
RefreshTokenValidity: smithy_client_1.expectInt32(output.RefreshTokenValidity),
|
|
10521
|
+
RefreshTokenValidity: (0, smithy_client_1.expectInt32)(output.RefreshTokenValidity),
|
|
10523
10522
|
SupportedIdentityProviders: output.SupportedIdentityProviders !== undefined && output.SupportedIdentityProviders !== null
|
|
10524
10523
|
? deserializeAws_json1_1SupportedIdentityProvidersListType(output.SupportedIdentityProviders, context)
|
|
10525
10524
|
: undefined,
|
|
10526
10525
|
TokenValidityUnits: output.TokenValidityUnits !== undefined && output.TokenValidityUnits !== null
|
|
10527
10526
|
? deserializeAws_json1_1TokenValidityUnitsType(output.TokenValidityUnits, context)
|
|
10528
10527
|
: undefined,
|
|
10529
|
-
UserPoolId: smithy_client_1.expectString(output.UserPoolId),
|
|
10528
|
+
UserPoolId: (0, smithy_client_1.expectString)(output.UserPoolId),
|
|
10530
10529
|
WriteAttributes: output.WriteAttributes !== undefined && output.WriteAttributes !== null
|
|
10531
10530
|
? deserializeAws_json1_1ClientPermissionListType(output.WriteAttributes, context)
|
|
10532
10531
|
: undefined,
|
|
@@ -10535,17 +10534,17 @@ const deserializeAws_json1_1UserPoolClientType = (output, context) => {
|
|
|
10535
10534
|
const deserializeAws_json1_1UserPoolDescriptionType = (output, context) => {
|
|
10536
10535
|
return {
|
|
10537
10536
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
10538
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
|
|
10537
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDate)))
|
|
10539
10538
|
: undefined,
|
|
10540
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
10539
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
10541
10540
|
LambdaConfig: output.LambdaConfig !== undefined && output.LambdaConfig !== null
|
|
10542
10541
|
? deserializeAws_json1_1LambdaConfigType(output.LambdaConfig, context)
|
|
10543
10542
|
: undefined,
|
|
10544
10543
|
LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
|
|
10545
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
|
|
10544
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedDate)))
|
|
10546
10545
|
: undefined,
|
|
10547
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
10548
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
10546
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
10547
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
10549
10548
|
};
|
|
10550
10549
|
};
|
|
10551
10550
|
const deserializeAws_json1_1UserPoolListType = (output, context) => {
|
|
@@ -10568,7 +10567,7 @@ const deserializeAws_json1_1UserPoolPolicyType = (output, context) => {
|
|
|
10568
10567
|
};
|
|
10569
10568
|
const deserializeAws_json1_1UserPoolTaggingException = (output, context) => {
|
|
10570
10569
|
return {
|
|
10571
|
-
message: smithy_client_1.expectString(output.message),
|
|
10570
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
10572
10571
|
};
|
|
10573
10572
|
};
|
|
10574
10573
|
const deserializeAws_json1_1UserPoolTagsType = (output, context) => {
|
|
@@ -10578,7 +10577,7 @@ const deserializeAws_json1_1UserPoolTagsType = (output, context) => {
|
|
|
10578
10577
|
}
|
|
10579
10578
|
return {
|
|
10580
10579
|
...acc,
|
|
10581
|
-
[key]: smithy_client_1.expectString(value),
|
|
10580
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
10582
10581
|
};
|
|
10583
10582
|
}, {});
|
|
10584
10583
|
};
|
|
@@ -10593,47 +10592,47 @@ const deserializeAws_json1_1UserPoolType = (output, context) => {
|
|
|
10593
10592
|
AliasAttributes: output.AliasAttributes !== undefined && output.AliasAttributes !== null
|
|
10594
10593
|
? deserializeAws_json1_1AliasAttributesListType(output.AliasAttributes, context)
|
|
10595
10594
|
: undefined,
|
|
10596
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
10595
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
10597
10596
|
AutoVerifiedAttributes: output.AutoVerifiedAttributes !== undefined && output.AutoVerifiedAttributes !== null
|
|
10598
10597
|
? deserializeAws_json1_1VerifiedAttributesListType(output.AutoVerifiedAttributes, context)
|
|
10599
10598
|
: undefined,
|
|
10600
10599
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
10601
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
|
|
10600
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDate)))
|
|
10602
10601
|
: undefined,
|
|
10603
|
-
CustomDomain: smithy_client_1.expectString(output.CustomDomain),
|
|
10602
|
+
CustomDomain: (0, smithy_client_1.expectString)(output.CustomDomain),
|
|
10604
10603
|
DeviceConfiguration: output.DeviceConfiguration !== undefined && output.DeviceConfiguration !== null
|
|
10605
10604
|
? deserializeAws_json1_1DeviceConfigurationType(output.DeviceConfiguration, context)
|
|
10606
10605
|
: undefined,
|
|
10607
|
-
Domain: smithy_client_1.expectString(output.Domain),
|
|
10606
|
+
Domain: (0, smithy_client_1.expectString)(output.Domain),
|
|
10608
10607
|
EmailConfiguration: output.EmailConfiguration !== undefined && output.EmailConfiguration !== null
|
|
10609
10608
|
? deserializeAws_json1_1EmailConfigurationType(output.EmailConfiguration, context)
|
|
10610
10609
|
: undefined,
|
|
10611
|
-
EmailConfigurationFailure: smithy_client_1.expectString(output.EmailConfigurationFailure),
|
|
10612
|
-
EmailVerificationMessage: smithy_client_1.expectString(output.EmailVerificationMessage),
|
|
10613
|
-
EmailVerificationSubject: smithy_client_1.expectString(output.EmailVerificationSubject),
|
|
10614
|
-
EstimatedNumberOfUsers: smithy_client_1.expectInt32(output.EstimatedNumberOfUsers),
|
|
10615
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
10610
|
+
EmailConfigurationFailure: (0, smithy_client_1.expectString)(output.EmailConfigurationFailure),
|
|
10611
|
+
EmailVerificationMessage: (0, smithy_client_1.expectString)(output.EmailVerificationMessage),
|
|
10612
|
+
EmailVerificationSubject: (0, smithy_client_1.expectString)(output.EmailVerificationSubject),
|
|
10613
|
+
EstimatedNumberOfUsers: (0, smithy_client_1.expectInt32)(output.EstimatedNumberOfUsers),
|
|
10614
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
10616
10615
|
LambdaConfig: output.LambdaConfig !== undefined && output.LambdaConfig !== null
|
|
10617
10616
|
? deserializeAws_json1_1LambdaConfigType(output.LambdaConfig, context)
|
|
10618
10617
|
: undefined,
|
|
10619
10618
|
LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
|
|
10620
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
|
|
10619
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedDate)))
|
|
10621
10620
|
: undefined,
|
|
10622
|
-
MfaConfiguration: smithy_client_1.expectString(output.MfaConfiguration),
|
|
10623
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
10621
|
+
MfaConfiguration: (0, smithy_client_1.expectString)(output.MfaConfiguration),
|
|
10622
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
10624
10623
|
Policies: output.Policies !== undefined && output.Policies !== null
|
|
10625
10624
|
? deserializeAws_json1_1UserPoolPolicyType(output.Policies, context)
|
|
10626
10625
|
: undefined,
|
|
10627
10626
|
SchemaAttributes: output.SchemaAttributes !== undefined && output.SchemaAttributes !== null
|
|
10628
10627
|
? deserializeAws_json1_1SchemaAttributesListType(output.SchemaAttributes, context)
|
|
10629
10628
|
: undefined,
|
|
10630
|
-
SmsAuthenticationMessage: smithy_client_1.expectString(output.SmsAuthenticationMessage),
|
|
10629
|
+
SmsAuthenticationMessage: (0, smithy_client_1.expectString)(output.SmsAuthenticationMessage),
|
|
10631
10630
|
SmsConfiguration: output.SmsConfiguration !== undefined && output.SmsConfiguration !== null
|
|
10632
10631
|
? deserializeAws_json1_1SmsConfigurationType(output.SmsConfiguration, context)
|
|
10633
10632
|
: undefined,
|
|
10634
|
-
SmsConfigurationFailure: smithy_client_1.expectString(output.SmsConfigurationFailure),
|
|
10635
|
-
SmsVerificationMessage: smithy_client_1.expectString(output.SmsVerificationMessage),
|
|
10636
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
10633
|
+
SmsConfigurationFailure: (0, smithy_client_1.expectString)(output.SmsConfigurationFailure),
|
|
10634
|
+
SmsVerificationMessage: (0, smithy_client_1.expectString)(output.SmsVerificationMessage),
|
|
10635
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
10637
10636
|
UserPoolAddOns: output.UserPoolAddOns !== undefined && output.UserPoolAddOns !== null
|
|
10638
10637
|
? deserializeAws_json1_1UserPoolAddOnsType(output.UserPoolAddOns, context)
|
|
10639
10638
|
: undefined,
|
|
@@ -10667,28 +10666,28 @@ const deserializeAws_json1_1UserType = (output, context) => {
|
|
|
10667
10666
|
Attributes: output.Attributes !== undefined && output.Attributes !== null
|
|
10668
10667
|
? deserializeAws_json1_1AttributeListType(output.Attributes, context)
|
|
10669
10668
|
: undefined,
|
|
10670
|
-
Enabled: smithy_client_1.expectBoolean(output.Enabled),
|
|
10669
|
+
Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
|
|
10671
10670
|
MFAOptions: output.MFAOptions !== undefined && output.MFAOptions !== null
|
|
10672
10671
|
? deserializeAws_json1_1MFAOptionListType(output.MFAOptions, context)
|
|
10673
10672
|
: undefined,
|
|
10674
10673
|
UserCreateDate: output.UserCreateDate !== undefined && output.UserCreateDate !== null
|
|
10675
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UserCreateDate)))
|
|
10674
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UserCreateDate)))
|
|
10676
10675
|
: undefined,
|
|
10677
10676
|
UserLastModifiedDate: output.UserLastModifiedDate !== undefined && output.UserLastModifiedDate !== null
|
|
10678
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UserLastModifiedDate)))
|
|
10677
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UserLastModifiedDate)))
|
|
10679
10678
|
: undefined,
|
|
10680
|
-
UserStatus: smithy_client_1.expectString(output.UserStatus),
|
|
10681
|
-
Username: smithy_client_1.expectString(output.Username),
|
|
10679
|
+
UserStatus: (0, smithy_client_1.expectString)(output.UserStatus),
|
|
10680
|
+
Username: (0, smithy_client_1.expectString)(output.Username),
|
|
10682
10681
|
};
|
|
10683
10682
|
};
|
|
10684
10683
|
const deserializeAws_json1_1VerificationMessageTemplateType = (output, context) => {
|
|
10685
10684
|
return {
|
|
10686
|
-
DefaultEmailOption: smithy_client_1.expectString(output.DefaultEmailOption),
|
|
10687
|
-
EmailMessage: smithy_client_1.expectString(output.EmailMessage),
|
|
10688
|
-
EmailMessageByLink: smithy_client_1.expectString(output.EmailMessageByLink),
|
|
10689
|
-
EmailSubject: smithy_client_1.expectString(output.EmailSubject),
|
|
10690
|
-
EmailSubjectByLink: smithy_client_1.expectString(output.EmailSubjectByLink),
|
|
10691
|
-
SmsMessage: smithy_client_1.expectString(output.SmsMessage),
|
|
10685
|
+
DefaultEmailOption: (0, smithy_client_1.expectString)(output.DefaultEmailOption),
|
|
10686
|
+
EmailMessage: (0, smithy_client_1.expectString)(output.EmailMessage),
|
|
10687
|
+
EmailMessageByLink: (0, smithy_client_1.expectString)(output.EmailMessageByLink),
|
|
10688
|
+
EmailSubject: (0, smithy_client_1.expectString)(output.EmailSubject),
|
|
10689
|
+
EmailSubjectByLink: (0, smithy_client_1.expectString)(output.EmailSubjectByLink),
|
|
10690
|
+
SmsMessage: (0, smithy_client_1.expectString)(output.SmsMessage),
|
|
10692
10691
|
};
|
|
10693
10692
|
};
|
|
10694
10693
|
const deserializeAws_json1_1VerifiedAttributesListType = (output, context) => {
|
|
@@ -10698,14 +10697,14 @@ const deserializeAws_json1_1VerifiedAttributesListType = (output, context) => {
|
|
|
10698
10697
|
if (entry === null) {
|
|
10699
10698
|
return null;
|
|
10700
10699
|
}
|
|
10701
|
-
return smithy_client_1.expectString(entry);
|
|
10700
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
10702
10701
|
});
|
|
10703
10702
|
return retVal;
|
|
10704
10703
|
};
|
|
10705
10704
|
const deserializeAws_json1_1VerifySoftwareTokenResponse = (output, context) => {
|
|
10706
10705
|
return {
|
|
10707
|
-
Session: smithy_client_1.expectString(output.Session),
|
|
10708
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
10706
|
+
Session: (0, smithy_client_1.expectString)(output.Session),
|
|
10707
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
10709
10708
|
};
|
|
10710
10709
|
};
|
|
10711
10710
|
const deserializeAws_json1_1VerifyUserAttributeResponse = (output, context) => {
|