@aws-sdk/client-cognito-identity-provider 3.31.0 → 3.32.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 +8 -0
- package/dist/cjs/CognitoIdentityProviderClient.js +12 -12
- package/dist/cjs/CognitoIdentityProviderClient.js.map +1 -1
- package/dist/cjs/commands/AddCustomAttributesCommand.js +4 -4
- package/dist/cjs/commands/AddCustomAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/AdminAddUserToGroupCommand.js +4 -4
- package/dist/cjs/commands/AdminAddUserToGroupCommand.js.map +1 -1
- package/dist/cjs/commands/AdminConfirmSignUpCommand.js +4 -4
- package/dist/cjs/commands/AdminConfirmSignUpCommand.js.map +1 -1
- package/dist/cjs/commands/AdminCreateUserCommand.js +4 -4
- package/dist/cjs/commands/AdminCreateUserCommand.js.map +1 -1
- package/dist/cjs/commands/AdminDeleteUserAttributesCommand.js +4 -4
- package/dist/cjs/commands/AdminDeleteUserAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/AdminDeleteUserCommand.js +4 -4
- package/dist/cjs/commands/AdminDeleteUserCommand.js.map +1 -1
- package/dist/cjs/commands/AdminDisableProviderForUserCommand.js +4 -4
- package/dist/cjs/commands/AdminDisableProviderForUserCommand.js.map +1 -1
- package/dist/cjs/commands/AdminDisableUserCommand.js +4 -4
- package/dist/cjs/commands/AdminDisableUserCommand.js.map +1 -1
- package/dist/cjs/commands/AdminEnableUserCommand.js +4 -4
- package/dist/cjs/commands/AdminEnableUserCommand.js.map +1 -1
- package/dist/cjs/commands/AdminForgetDeviceCommand.js +4 -4
- package/dist/cjs/commands/AdminForgetDeviceCommand.js.map +1 -1
- package/dist/cjs/commands/AdminGetDeviceCommand.js +4 -4
- package/dist/cjs/commands/AdminGetDeviceCommand.js.map +1 -1
- package/dist/cjs/commands/AdminGetUserCommand.js +4 -4
- package/dist/cjs/commands/AdminGetUserCommand.js.map +1 -1
- package/dist/cjs/commands/AdminInitiateAuthCommand.js +4 -4
- package/dist/cjs/commands/AdminInitiateAuthCommand.js.map +1 -1
- package/dist/cjs/commands/AdminLinkProviderForUserCommand.js +4 -4
- package/dist/cjs/commands/AdminLinkProviderForUserCommand.js.map +1 -1
- package/dist/cjs/commands/AdminListDevicesCommand.js +4 -4
- package/dist/cjs/commands/AdminListDevicesCommand.js.map +1 -1
- package/dist/cjs/commands/AdminListGroupsForUserCommand.js +4 -4
- package/dist/cjs/commands/AdminListGroupsForUserCommand.js.map +1 -1
- package/dist/cjs/commands/AdminListUserAuthEventsCommand.js +4 -4
- package/dist/cjs/commands/AdminListUserAuthEventsCommand.js.map +1 -1
- package/dist/cjs/commands/AdminRemoveUserFromGroupCommand.js +4 -4
- package/dist/cjs/commands/AdminRemoveUserFromGroupCommand.js.map +1 -1
- package/dist/cjs/commands/AdminResetUserPasswordCommand.js +4 -4
- package/dist/cjs/commands/AdminResetUserPasswordCommand.js.map +1 -1
- package/dist/cjs/commands/AdminRespondToAuthChallengeCommand.js +4 -4
- package/dist/cjs/commands/AdminRespondToAuthChallengeCommand.js.map +1 -1
- package/dist/cjs/commands/AdminSetUserMFAPreferenceCommand.js +4 -4
- package/dist/cjs/commands/AdminSetUserMFAPreferenceCommand.js.map +1 -1
- package/dist/cjs/commands/AdminSetUserPasswordCommand.js +4 -4
- package/dist/cjs/commands/AdminSetUserPasswordCommand.js.map +1 -1
- package/dist/cjs/commands/AdminSetUserSettingsCommand.js +4 -4
- package/dist/cjs/commands/AdminSetUserSettingsCommand.js.map +1 -1
- package/dist/cjs/commands/AdminUpdateAuthEventFeedbackCommand.js +4 -4
- package/dist/cjs/commands/AdminUpdateAuthEventFeedbackCommand.js.map +1 -1
- package/dist/cjs/commands/AdminUpdateDeviceStatusCommand.js +4 -4
- package/dist/cjs/commands/AdminUpdateDeviceStatusCommand.js.map +1 -1
- package/dist/cjs/commands/AdminUpdateUserAttributesCommand.js +4 -4
- package/dist/cjs/commands/AdminUpdateUserAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/AdminUserGlobalSignOutCommand.js +4 -4
- package/dist/cjs/commands/AdminUserGlobalSignOutCommand.js.map +1 -1
- package/dist/cjs/commands/AssociateSoftwareTokenCommand.js +4 -4
- package/dist/cjs/commands/AssociateSoftwareTokenCommand.js.map +1 -1
- package/dist/cjs/commands/ChangePasswordCommand.js +3 -3
- package/dist/cjs/commands/ChangePasswordCommand.js.map +1 -1
- package/dist/cjs/commands/ConfirmDeviceCommand.js +4 -4
- package/dist/cjs/commands/ConfirmDeviceCommand.js.map +1 -1
- package/dist/cjs/commands/ConfirmForgotPasswordCommand.js +3 -3
- package/dist/cjs/commands/ConfirmForgotPasswordCommand.js.map +1 -1
- package/dist/cjs/commands/ConfirmSignUpCommand.js +3 -3
- package/dist/cjs/commands/ConfirmSignUpCommand.js.map +1 -1
- package/dist/cjs/commands/CreateGroupCommand.js +4 -4
- package/dist/cjs/commands/CreateGroupCommand.js.map +1 -1
- package/dist/cjs/commands/CreateIdentityProviderCommand.js +4 -4
- package/dist/cjs/commands/CreateIdentityProviderCommand.js.map +1 -1
- package/dist/cjs/commands/CreateResourceServerCommand.js +4 -4
- package/dist/cjs/commands/CreateResourceServerCommand.js.map +1 -1
- package/dist/cjs/commands/CreateUserImportJobCommand.js +4 -4
- package/dist/cjs/commands/CreateUserImportJobCommand.js.map +1 -1
- package/dist/cjs/commands/CreateUserPoolClientCommand.js +4 -4
- package/dist/cjs/commands/CreateUserPoolClientCommand.js.map +1 -1
- package/dist/cjs/commands/CreateUserPoolCommand.js +4 -4
- package/dist/cjs/commands/CreateUserPoolCommand.js.map +1 -1
- package/dist/cjs/commands/CreateUserPoolDomainCommand.js +4 -4
- package/dist/cjs/commands/CreateUserPoolDomainCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteGroupCommand.js +4 -4
- package/dist/cjs/commands/DeleteGroupCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteIdentityProviderCommand.js +4 -4
- package/dist/cjs/commands/DeleteIdentityProviderCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteResourceServerCommand.js +4 -4
- package/dist/cjs/commands/DeleteResourceServerCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteUserAttributesCommand.js +3 -3
- package/dist/cjs/commands/DeleteUserAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteUserCommand.js +3 -3
- package/dist/cjs/commands/DeleteUserCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteUserPoolClientCommand.js +4 -4
- package/dist/cjs/commands/DeleteUserPoolClientCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteUserPoolCommand.js +4 -4
- package/dist/cjs/commands/DeleteUserPoolCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteUserPoolDomainCommand.js +4 -4
- package/dist/cjs/commands/DeleteUserPoolDomainCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeIdentityProviderCommand.js +4 -4
- package/dist/cjs/commands/DescribeIdentityProviderCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeResourceServerCommand.js +4 -4
- package/dist/cjs/commands/DescribeResourceServerCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeRiskConfigurationCommand.js +4 -4
- package/dist/cjs/commands/DescribeRiskConfigurationCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeUserImportJobCommand.js +4 -4
- package/dist/cjs/commands/DescribeUserImportJobCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeUserPoolClientCommand.js +4 -4
- package/dist/cjs/commands/DescribeUserPoolClientCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeUserPoolCommand.js +4 -4
- package/dist/cjs/commands/DescribeUserPoolCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeUserPoolDomainCommand.js +4 -4
- package/dist/cjs/commands/DescribeUserPoolDomainCommand.js.map +1 -1
- package/dist/cjs/commands/ForgetDeviceCommand.js +4 -4
- package/dist/cjs/commands/ForgetDeviceCommand.js.map +1 -1
- package/dist/cjs/commands/ForgotPasswordCommand.js +3 -3
- package/dist/cjs/commands/ForgotPasswordCommand.js.map +1 -1
- package/dist/cjs/commands/GetCSVHeaderCommand.js +4 -4
- package/dist/cjs/commands/GetCSVHeaderCommand.js.map +1 -1
- package/dist/cjs/commands/GetDeviceCommand.js +4 -4
- package/dist/cjs/commands/GetDeviceCommand.js.map +1 -1
- package/dist/cjs/commands/GetGroupCommand.js +4 -4
- package/dist/cjs/commands/GetGroupCommand.js.map +1 -1
- package/dist/cjs/commands/GetIdentityProviderByIdentifierCommand.js +4 -4
- package/dist/cjs/commands/GetIdentityProviderByIdentifierCommand.js.map +1 -1
- package/dist/cjs/commands/GetSigningCertificateCommand.js +4 -4
- package/dist/cjs/commands/GetSigningCertificateCommand.js.map +1 -1
- package/dist/cjs/commands/GetUICustomizationCommand.js +4 -4
- package/dist/cjs/commands/GetUICustomizationCommand.js.map +1 -1
- package/dist/cjs/commands/GetUserAttributeVerificationCodeCommand.js +3 -3
- package/dist/cjs/commands/GetUserAttributeVerificationCodeCommand.js.map +1 -1
- package/dist/cjs/commands/GetUserCommand.js +3 -3
- package/dist/cjs/commands/GetUserCommand.js.map +1 -1
- package/dist/cjs/commands/GetUserPoolMfaConfigCommand.js +4 -4
- package/dist/cjs/commands/GetUserPoolMfaConfigCommand.js.map +1 -1
- package/dist/cjs/commands/GlobalSignOutCommand.js +4 -4
- package/dist/cjs/commands/GlobalSignOutCommand.js.map +1 -1
- package/dist/cjs/commands/InitiateAuthCommand.js +3 -3
- package/dist/cjs/commands/InitiateAuthCommand.js.map +1 -1
- package/dist/cjs/commands/ListDevicesCommand.js +4 -4
- package/dist/cjs/commands/ListDevicesCommand.js.map +1 -1
- package/dist/cjs/commands/ListGroupsCommand.js +4 -4
- package/dist/cjs/commands/ListGroupsCommand.js.map +1 -1
- package/dist/cjs/commands/ListIdentityProvidersCommand.js +4 -4
- package/dist/cjs/commands/ListIdentityProvidersCommand.js.map +1 -1
- package/dist/cjs/commands/ListResourceServersCommand.js +4 -4
- package/dist/cjs/commands/ListResourceServersCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js +4 -4
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/cjs/commands/ListUserImportJobsCommand.js +4 -4
- package/dist/cjs/commands/ListUserImportJobsCommand.js.map +1 -1
- package/dist/cjs/commands/ListUserPoolClientsCommand.js +4 -4
- package/dist/cjs/commands/ListUserPoolClientsCommand.js.map +1 -1
- package/dist/cjs/commands/ListUserPoolsCommand.js +4 -4
- package/dist/cjs/commands/ListUserPoolsCommand.js.map +1 -1
- package/dist/cjs/commands/ListUsersCommand.js +4 -4
- package/dist/cjs/commands/ListUsersCommand.js.map +1 -1
- package/dist/cjs/commands/ListUsersInGroupCommand.js +4 -4
- package/dist/cjs/commands/ListUsersInGroupCommand.js.map +1 -1
- package/dist/cjs/commands/ResendConfirmationCodeCommand.js +3 -3
- package/dist/cjs/commands/ResendConfirmationCodeCommand.js.map +1 -1
- package/dist/cjs/commands/RespondToAuthChallengeCommand.js +3 -3
- package/dist/cjs/commands/RespondToAuthChallengeCommand.js.map +1 -1
- package/dist/cjs/commands/RevokeTokenCommand.js +4 -4
- package/dist/cjs/commands/RevokeTokenCommand.js.map +1 -1
- package/dist/cjs/commands/SetRiskConfigurationCommand.js +4 -4
- package/dist/cjs/commands/SetRiskConfigurationCommand.js.map +1 -1
- package/dist/cjs/commands/SetUICustomizationCommand.js +4 -4
- package/dist/cjs/commands/SetUICustomizationCommand.js.map +1 -1
- package/dist/cjs/commands/SetUserMFAPreferenceCommand.js +4 -4
- package/dist/cjs/commands/SetUserMFAPreferenceCommand.js.map +1 -1
- package/dist/cjs/commands/SetUserPoolMfaConfigCommand.js +4 -4
- package/dist/cjs/commands/SetUserPoolMfaConfigCommand.js.map +1 -1
- package/dist/cjs/commands/SetUserSettingsCommand.js +3 -3
- package/dist/cjs/commands/SetUserSettingsCommand.js.map +1 -1
- package/dist/cjs/commands/SignUpCommand.js +3 -3
- package/dist/cjs/commands/SignUpCommand.js.map +1 -1
- package/dist/cjs/commands/StartUserImportJobCommand.js +4 -4
- package/dist/cjs/commands/StartUserImportJobCommand.js.map +1 -1
- package/dist/cjs/commands/StopUserImportJobCommand.js +4 -4
- package/dist/cjs/commands/StopUserImportJobCommand.js.map +1 -1
- package/dist/cjs/commands/TagResourceCommand.js +4 -4
- package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UntagResourceCommand.js +4 -4
- package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateAuthEventFeedbackCommand.js +4 -4
- package/dist/cjs/commands/UpdateAuthEventFeedbackCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateDeviceStatusCommand.js +4 -4
- package/dist/cjs/commands/UpdateDeviceStatusCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateGroupCommand.js +4 -4
- package/dist/cjs/commands/UpdateGroupCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateIdentityProviderCommand.js +4 -4
- package/dist/cjs/commands/UpdateIdentityProviderCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateResourceServerCommand.js +4 -4
- package/dist/cjs/commands/UpdateResourceServerCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateUserAttributesCommand.js +3 -3
- package/dist/cjs/commands/UpdateUserAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateUserPoolClientCommand.js +4 -4
- package/dist/cjs/commands/UpdateUserPoolClientCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateUserPoolCommand.js +4 -4
- package/dist/cjs/commands/UpdateUserPoolCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateUserPoolDomainCommand.js +4 -4
- package/dist/cjs/commands/UpdateUserPoolDomainCommand.js.map +1 -1
- package/dist/cjs/commands/VerifySoftwareTokenCommand.js +4 -4
- package/dist/cjs/commands/VerifySoftwareTokenCommand.js.map +1 -1
- package/dist/cjs/commands/VerifyUserAttributeCommand.js +3 -3
- package/dist/cjs/commands/VerifyUserAttributeCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +114 -114
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +2 -2
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_json1_1.js +304 -304
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/pagination/AdminListGroupsForUserPaginator.js +4 -4
- package/dist/es/pagination/AdminListGroupsForUserPaginator.js.map +1 -1
- package/dist/es/pagination/AdminListUserAuthEventsPaginator.js +4 -4
- package/dist/es/pagination/AdminListUserAuthEventsPaginator.js.map +1 -1
- package/dist/es/pagination/ListGroupsPaginator.js +4 -4
- package/dist/es/pagination/ListGroupsPaginator.js.map +1 -1
- package/dist/es/pagination/ListIdentityProvidersPaginator.js +4 -4
- package/dist/es/pagination/ListIdentityProvidersPaginator.js.map +1 -1
- package/dist/es/pagination/ListResourceServersPaginator.js +4 -4
- package/dist/es/pagination/ListResourceServersPaginator.js.map +1 -1
- package/dist/es/pagination/ListUserPoolClientsPaginator.js +4 -4
- package/dist/es/pagination/ListUserPoolClientsPaginator.js.map +1 -1
- package/dist/es/pagination/ListUserPoolsPaginator.js +4 -4
- package/dist/es/pagination/ListUserPoolsPaginator.js.map +1 -1
- package/dist/es/pagination/ListUsersInGroupPaginator.js +4 -4
- package/dist/es/pagination/ListUsersInGroupPaginator.js.map +1 -1
- package/dist/es/pagination/ListUsersPaginator.js +4 -4
- package/dist/es/pagination/ListUsersPaginator.js.map +1 -1
- package/package.json +31 -31
- package/tsconfig.json +1 -2
|
@@ -13475,8 +13475,8 @@ const deserializeAws_json1_1AccountTakeoverActionsType = (output, context) => {
|
|
|
13475
13475
|
};
|
|
13476
13476
|
const deserializeAws_json1_1AccountTakeoverActionType = (output, context) => {
|
|
13477
13477
|
return {
|
|
13478
|
-
EventAction:
|
|
13479
|
-
Notify:
|
|
13478
|
+
EventAction: smithy_client_1.expectString(output.EventAction),
|
|
13479
|
+
Notify: smithy_client_1.expectBoolean(output.Notify),
|
|
13480
13480
|
};
|
|
13481
13481
|
};
|
|
13482
13482
|
const deserializeAws_json1_1AccountTakeoverRiskConfigurationType = (output, context) => {
|
|
@@ -13497,11 +13497,11 @@ const deserializeAws_json1_1AdminConfirmSignUpResponse = (output, context) => {
|
|
|
13497
13497
|
};
|
|
13498
13498
|
const deserializeAws_json1_1AdminCreateUserConfigType = (output, context) => {
|
|
13499
13499
|
return {
|
|
13500
|
-
AllowAdminCreateUserOnly:
|
|
13500
|
+
AllowAdminCreateUserOnly: smithy_client_1.expectBoolean(output.AllowAdminCreateUserOnly),
|
|
13501
13501
|
InviteMessageTemplate: output.InviteMessageTemplate !== undefined && output.InviteMessageTemplate !== null
|
|
13502
13502
|
? deserializeAws_json1_1MessageTemplateType(output.InviteMessageTemplate, context)
|
|
13503
13503
|
: undefined,
|
|
13504
|
-
UnusedAccountValidityDays:
|
|
13504
|
+
UnusedAccountValidityDays: smithy_client_1.expectInt32(output.UnusedAccountValidityDays),
|
|
13505
13505
|
};
|
|
13506
13506
|
};
|
|
13507
13507
|
const deserializeAws_json1_1AdminCreateUserResponse = (output, context) => {
|
|
@@ -13532,25 +13532,25 @@ const deserializeAws_json1_1AdminGetDeviceResponse = (output, context) => {
|
|
|
13532
13532
|
};
|
|
13533
13533
|
const deserializeAws_json1_1AdminGetUserResponse = (output, context) => {
|
|
13534
13534
|
return {
|
|
13535
|
-
Enabled:
|
|
13535
|
+
Enabled: smithy_client_1.expectBoolean(output.Enabled),
|
|
13536
13536
|
MFAOptions: output.MFAOptions !== undefined && output.MFAOptions !== null
|
|
13537
13537
|
? deserializeAws_json1_1MFAOptionListType(output.MFAOptions, context)
|
|
13538
13538
|
: undefined,
|
|
13539
|
-
PreferredMfaSetting:
|
|
13539
|
+
PreferredMfaSetting: smithy_client_1.expectString(output.PreferredMfaSetting),
|
|
13540
13540
|
UserAttributes: output.UserAttributes !== undefined && output.UserAttributes !== null
|
|
13541
13541
|
? deserializeAws_json1_1AttributeListType(output.UserAttributes, context)
|
|
13542
13542
|
: undefined,
|
|
13543
13543
|
UserCreateDate: output.UserCreateDate !== undefined && output.UserCreateDate !== null
|
|
13544
|
-
?
|
|
13544
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UserCreateDate)))
|
|
13545
13545
|
: undefined,
|
|
13546
13546
|
UserLastModifiedDate: output.UserLastModifiedDate !== undefined && output.UserLastModifiedDate !== null
|
|
13547
|
-
?
|
|
13547
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UserLastModifiedDate)))
|
|
13548
13548
|
: undefined,
|
|
13549
13549
|
UserMFASettingList: output.UserMFASettingList !== undefined && output.UserMFASettingList !== null
|
|
13550
13550
|
? deserializeAws_json1_1UserMFASettingListType(output.UserMFASettingList, context)
|
|
13551
13551
|
: undefined,
|
|
13552
|
-
UserStatus:
|
|
13553
|
-
Username:
|
|
13552
|
+
UserStatus: smithy_client_1.expectString(output.UserStatus),
|
|
13553
|
+
Username: smithy_client_1.expectString(output.Username),
|
|
13554
13554
|
};
|
|
13555
13555
|
};
|
|
13556
13556
|
const deserializeAws_json1_1AdminInitiateAuthResponse = (output, context) => {
|
|
@@ -13558,11 +13558,11 @@ const deserializeAws_json1_1AdminInitiateAuthResponse = (output, context) => {
|
|
|
13558
13558
|
AuthenticationResult: output.AuthenticationResult !== undefined && output.AuthenticationResult !== null
|
|
13559
13559
|
? deserializeAws_json1_1AuthenticationResultType(output.AuthenticationResult, context)
|
|
13560
13560
|
: undefined,
|
|
13561
|
-
ChallengeName:
|
|
13561
|
+
ChallengeName: smithy_client_1.expectString(output.ChallengeName),
|
|
13562
13562
|
ChallengeParameters: output.ChallengeParameters !== undefined && output.ChallengeParameters !== null
|
|
13563
13563
|
? deserializeAws_json1_1ChallengeParametersType(output.ChallengeParameters, context)
|
|
13564
13564
|
: undefined,
|
|
13565
|
-
Session:
|
|
13565
|
+
Session: smithy_client_1.expectString(output.Session),
|
|
13566
13566
|
};
|
|
13567
13567
|
};
|
|
13568
13568
|
const deserializeAws_json1_1AdminLinkProviderForUserResponse = (output, context) => {
|
|
@@ -13573,7 +13573,7 @@ const deserializeAws_json1_1AdminListDevicesResponse = (output, context) => {
|
|
|
13573
13573
|
Devices: output.Devices !== undefined && output.Devices !== null
|
|
13574
13574
|
? deserializeAws_json1_1DeviceListType(output.Devices, context)
|
|
13575
13575
|
: undefined,
|
|
13576
|
-
PaginationToken:
|
|
13576
|
+
PaginationToken: smithy_client_1.expectString(output.PaginationToken),
|
|
13577
13577
|
};
|
|
13578
13578
|
};
|
|
13579
13579
|
const deserializeAws_json1_1AdminListGroupsForUserResponse = (output, context) => {
|
|
@@ -13581,7 +13581,7 @@ const deserializeAws_json1_1AdminListGroupsForUserResponse = (output, context) =
|
|
|
13581
13581
|
Groups: output.Groups !== undefined && output.Groups !== null
|
|
13582
13582
|
? deserializeAws_json1_1GroupListType(output.Groups, context)
|
|
13583
13583
|
: undefined,
|
|
13584
|
-
NextToken:
|
|
13584
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
13585
13585
|
};
|
|
13586
13586
|
};
|
|
13587
13587
|
const deserializeAws_json1_1AdminListUserAuthEventsResponse = (output, context) => {
|
|
@@ -13589,7 +13589,7 @@ const deserializeAws_json1_1AdminListUserAuthEventsResponse = (output, context)
|
|
|
13589
13589
|
AuthEvents: output.AuthEvents !== undefined && output.AuthEvents !== null
|
|
13590
13590
|
? deserializeAws_json1_1AuthEventsType(output.AuthEvents, context)
|
|
13591
13591
|
: undefined,
|
|
13592
|
-
NextToken:
|
|
13592
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
13593
13593
|
};
|
|
13594
13594
|
};
|
|
13595
13595
|
const deserializeAws_json1_1AdminResetUserPasswordResponse = (output, context) => {
|
|
@@ -13600,11 +13600,11 @@ const deserializeAws_json1_1AdminRespondToAuthChallengeResponse = (output, conte
|
|
|
13600
13600
|
AuthenticationResult: output.AuthenticationResult !== undefined && output.AuthenticationResult !== null
|
|
13601
13601
|
? deserializeAws_json1_1AuthenticationResultType(output.AuthenticationResult, context)
|
|
13602
13602
|
: undefined,
|
|
13603
|
-
ChallengeName:
|
|
13603
|
+
ChallengeName: smithy_client_1.expectString(output.ChallengeName),
|
|
13604
13604
|
ChallengeParameters: output.ChallengeParameters !== undefined && output.ChallengeParameters !== null
|
|
13605
13605
|
? deserializeAws_json1_1ChallengeParametersType(output.ChallengeParameters, context)
|
|
13606
13606
|
: undefined,
|
|
13607
|
-
Session:
|
|
13607
|
+
Session: smithy_client_1.expectString(output.Session),
|
|
13608
13608
|
};
|
|
13609
13609
|
};
|
|
13610
13610
|
const deserializeAws_json1_1AdminSetUserMFAPreferenceResponse = (output, context) => {
|
|
@@ -13635,27 +13635,27 @@ const deserializeAws_json1_1AliasAttributesListType = (output, context) => {
|
|
|
13635
13635
|
if (entry === null) {
|
|
13636
13636
|
return null;
|
|
13637
13637
|
}
|
|
13638
|
-
return
|
|
13638
|
+
return smithy_client_1.expectString(entry);
|
|
13639
13639
|
});
|
|
13640
13640
|
};
|
|
13641
13641
|
const deserializeAws_json1_1AliasExistsException = (output, context) => {
|
|
13642
13642
|
return {
|
|
13643
|
-
message:
|
|
13643
|
+
message: smithy_client_1.expectString(output.message),
|
|
13644
13644
|
};
|
|
13645
13645
|
};
|
|
13646
13646
|
const deserializeAws_json1_1AnalyticsConfigurationType = (output, context) => {
|
|
13647
13647
|
return {
|
|
13648
|
-
ApplicationArn:
|
|
13649
|
-
ApplicationId:
|
|
13650
|
-
ExternalId:
|
|
13651
|
-
RoleArn:
|
|
13652
|
-
UserDataShared:
|
|
13648
|
+
ApplicationArn: smithy_client_1.expectString(output.ApplicationArn),
|
|
13649
|
+
ApplicationId: smithy_client_1.expectString(output.ApplicationId),
|
|
13650
|
+
ExternalId: smithy_client_1.expectString(output.ExternalId),
|
|
13651
|
+
RoleArn: smithy_client_1.expectString(output.RoleArn),
|
|
13652
|
+
UserDataShared: smithy_client_1.expectBoolean(output.UserDataShared),
|
|
13653
13653
|
};
|
|
13654
13654
|
};
|
|
13655
13655
|
const deserializeAws_json1_1AssociateSoftwareTokenResponse = (output, context) => {
|
|
13656
13656
|
return {
|
|
13657
|
-
SecretCode:
|
|
13658
|
-
Session:
|
|
13657
|
+
SecretCode: smithy_client_1.expectString(output.SecretCode),
|
|
13658
|
+
Session: smithy_client_1.expectString(output.Session),
|
|
13659
13659
|
};
|
|
13660
13660
|
};
|
|
13661
13661
|
const deserializeAws_json1_1AttributeListType = (output, context) => {
|
|
@@ -13675,26 +13675,26 @@ const deserializeAws_json1_1AttributeMappingType = (output, context) => {
|
|
|
13675
13675
|
}
|
|
13676
13676
|
return {
|
|
13677
13677
|
...acc,
|
|
13678
|
-
[key]:
|
|
13678
|
+
[key]: smithy_client_1.expectString(value),
|
|
13679
13679
|
};
|
|
13680
13680
|
}, {});
|
|
13681
13681
|
};
|
|
13682
13682
|
const deserializeAws_json1_1AttributeType = (output, context) => {
|
|
13683
13683
|
return {
|
|
13684
|
-
Name:
|
|
13685
|
-
Value:
|
|
13684
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
13685
|
+
Value: smithy_client_1.expectString(output.Value),
|
|
13686
13686
|
};
|
|
13687
13687
|
};
|
|
13688
13688
|
const deserializeAws_json1_1AuthenticationResultType = (output, context) => {
|
|
13689
13689
|
return {
|
|
13690
|
-
AccessToken:
|
|
13691
|
-
ExpiresIn:
|
|
13692
|
-
IdToken:
|
|
13690
|
+
AccessToken: smithy_client_1.expectString(output.AccessToken),
|
|
13691
|
+
ExpiresIn: smithy_client_1.expectInt32(output.ExpiresIn),
|
|
13692
|
+
IdToken: smithy_client_1.expectString(output.IdToken),
|
|
13693
13693
|
NewDeviceMetadata: output.NewDeviceMetadata !== undefined && output.NewDeviceMetadata !== null
|
|
13694
13694
|
? deserializeAws_json1_1NewDeviceMetadataType(output.NewDeviceMetadata, context)
|
|
13695
13695
|
: undefined,
|
|
13696
|
-
RefreshToken:
|
|
13697
|
-
TokenType:
|
|
13696
|
+
RefreshToken: smithy_client_1.expectString(output.RefreshToken),
|
|
13697
|
+
TokenType: smithy_client_1.expectString(output.TokenType),
|
|
13698
13698
|
};
|
|
13699
13699
|
};
|
|
13700
13700
|
const deserializeAws_json1_1AuthEventsType = (output, context) => {
|
|
@@ -13713,7 +13713,7 @@ const deserializeAws_json1_1AuthEventType = (output, context) => {
|
|
|
13713
13713
|
? deserializeAws_json1_1ChallengeResponseListType(output.ChallengeResponses, context)
|
|
13714
13714
|
: undefined,
|
|
13715
13715
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
13716
|
-
?
|
|
13716
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
|
|
13717
13717
|
: undefined,
|
|
13718
13718
|
EventContextData: output.EventContextData !== undefined && output.EventContextData !== null
|
|
13719
13719
|
? deserializeAws_json1_1EventContextDataType(output.EventContextData, context)
|
|
@@ -13721,12 +13721,12 @@ const deserializeAws_json1_1AuthEventType = (output, context) => {
|
|
|
13721
13721
|
EventFeedback: output.EventFeedback !== undefined && output.EventFeedback !== null
|
|
13722
13722
|
? deserializeAws_json1_1EventFeedbackType(output.EventFeedback, context)
|
|
13723
13723
|
: undefined,
|
|
13724
|
-
EventId:
|
|
13725
|
-
EventResponse:
|
|
13724
|
+
EventId: smithy_client_1.expectString(output.EventId),
|
|
13725
|
+
EventResponse: smithy_client_1.expectString(output.EventResponse),
|
|
13726
13726
|
EventRisk: output.EventRisk !== undefined && output.EventRisk !== null
|
|
13727
13727
|
? deserializeAws_json1_1EventRiskType(output.EventRisk, context)
|
|
13728
13728
|
: undefined,
|
|
13729
|
-
EventType:
|
|
13729
|
+
EventType: smithy_client_1.expectString(output.EventType),
|
|
13730
13730
|
};
|
|
13731
13731
|
};
|
|
13732
13732
|
const deserializeAws_json1_1BlockedIPRangeListType = (output, context) => {
|
|
@@ -13736,7 +13736,7 @@ const deserializeAws_json1_1BlockedIPRangeListType = (output, context) => {
|
|
|
13736
13736
|
if (entry === null) {
|
|
13737
13737
|
return null;
|
|
13738
13738
|
}
|
|
13739
|
-
return
|
|
13739
|
+
return smithy_client_1.expectString(entry);
|
|
13740
13740
|
});
|
|
13741
13741
|
};
|
|
13742
13742
|
const deserializeAws_json1_1CallbackURLsListType = (output, context) => {
|
|
@@ -13746,7 +13746,7 @@ const deserializeAws_json1_1CallbackURLsListType = (output, context) => {
|
|
|
13746
13746
|
if (entry === null) {
|
|
13747
13747
|
return null;
|
|
13748
13748
|
}
|
|
13749
|
-
return
|
|
13749
|
+
return smithy_client_1.expectString(entry);
|
|
13750
13750
|
});
|
|
13751
13751
|
};
|
|
13752
13752
|
const deserializeAws_json1_1ChallengeParametersType = (output, context) => {
|
|
@@ -13756,7 +13756,7 @@ const deserializeAws_json1_1ChallengeParametersType = (output, context) => {
|
|
|
13756
13756
|
}
|
|
13757
13757
|
return {
|
|
13758
13758
|
...acc,
|
|
13759
|
-
[key]:
|
|
13759
|
+
[key]: smithy_client_1.expectString(value),
|
|
13760
13760
|
};
|
|
13761
13761
|
}, {});
|
|
13762
13762
|
};
|
|
@@ -13772,8 +13772,8 @@ const deserializeAws_json1_1ChallengeResponseListType = (output, context) => {
|
|
|
13772
13772
|
};
|
|
13773
13773
|
const deserializeAws_json1_1ChallengeResponseType = (output, context) => {
|
|
13774
13774
|
return {
|
|
13775
|
-
ChallengeName:
|
|
13776
|
-
ChallengeResponse:
|
|
13775
|
+
ChallengeName: smithy_client_1.expectString(output.ChallengeName),
|
|
13776
|
+
ChallengeResponse: smithy_client_1.expectString(output.ChallengeResponse),
|
|
13777
13777
|
};
|
|
13778
13778
|
};
|
|
13779
13779
|
const deserializeAws_json1_1ChangePasswordResponse = (output, context) => {
|
|
@@ -13786,7 +13786,7 @@ const deserializeAws_json1_1ClientPermissionListType = (output, context) => {
|
|
|
13786
13786
|
if (entry === null) {
|
|
13787
13787
|
return null;
|
|
13788
13788
|
}
|
|
13789
|
-
return
|
|
13789
|
+
return smithy_client_1.expectString(entry);
|
|
13790
13790
|
});
|
|
13791
13791
|
};
|
|
13792
13792
|
const deserializeAws_json1_1CodeDeliveryDetailsListType = (output, context) => {
|
|
@@ -13801,24 +13801,24 @@ const deserializeAws_json1_1CodeDeliveryDetailsListType = (output, context) => {
|
|
|
13801
13801
|
};
|
|
13802
13802
|
const deserializeAws_json1_1CodeDeliveryDetailsType = (output, context) => {
|
|
13803
13803
|
return {
|
|
13804
|
-
AttributeName:
|
|
13805
|
-
DeliveryMedium:
|
|
13806
|
-
Destination:
|
|
13804
|
+
AttributeName: smithy_client_1.expectString(output.AttributeName),
|
|
13805
|
+
DeliveryMedium: smithy_client_1.expectString(output.DeliveryMedium),
|
|
13806
|
+
Destination: smithy_client_1.expectString(output.Destination),
|
|
13807
13807
|
};
|
|
13808
13808
|
};
|
|
13809
13809
|
const deserializeAws_json1_1CodeDeliveryFailureException = (output, context) => {
|
|
13810
13810
|
return {
|
|
13811
|
-
message:
|
|
13811
|
+
message: smithy_client_1.expectString(output.message),
|
|
13812
13812
|
};
|
|
13813
13813
|
};
|
|
13814
13814
|
const deserializeAws_json1_1CodeMismatchException = (output, context) => {
|
|
13815
13815
|
return {
|
|
13816
|
-
message:
|
|
13816
|
+
message: smithy_client_1.expectString(output.message),
|
|
13817
13817
|
};
|
|
13818
13818
|
};
|
|
13819
13819
|
const deserializeAws_json1_1CompromisedCredentialsActionsType = (output, context) => {
|
|
13820
13820
|
return {
|
|
13821
|
-
EventAction:
|
|
13821
|
+
EventAction: smithy_client_1.expectString(output.EventAction),
|
|
13822
13822
|
};
|
|
13823
13823
|
};
|
|
13824
13824
|
const deserializeAws_json1_1CompromisedCredentialsRiskConfigurationType = (output, context) => {
|
|
@@ -13833,12 +13833,12 @@ const deserializeAws_json1_1CompromisedCredentialsRiskConfigurationType = (outpu
|
|
|
13833
13833
|
};
|
|
13834
13834
|
const deserializeAws_json1_1ConcurrentModificationException = (output, context) => {
|
|
13835
13835
|
return {
|
|
13836
|
-
message:
|
|
13836
|
+
message: smithy_client_1.expectString(output.message),
|
|
13837
13837
|
};
|
|
13838
13838
|
};
|
|
13839
13839
|
const deserializeAws_json1_1ConfirmDeviceResponse = (output, context) => {
|
|
13840
13840
|
return {
|
|
13841
|
-
UserConfirmationNecessary:
|
|
13841
|
+
UserConfirmationNecessary: smithy_client_1.expectBoolean(output.UserConfirmationNecessary),
|
|
13842
13842
|
};
|
|
13843
13843
|
};
|
|
13844
13844
|
const deserializeAws_json1_1ConfirmForgotPasswordResponse = (output, context) => {
|
|
@@ -13884,7 +13884,7 @@ const deserializeAws_json1_1CreateUserPoolClientResponse = (output, context) =>
|
|
|
13884
13884
|
};
|
|
13885
13885
|
const deserializeAws_json1_1CreateUserPoolDomainResponse = (output, context) => {
|
|
13886
13886
|
return {
|
|
13887
|
-
CloudFrontDomain:
|
|
13887
|
+
CloudFrontDomain: smithy_client_1.expectString(output.CloudFrontDomain),
|
|
13888
13888
|
};
|
|
13889
13889
|
};
|
|
13890
13890
|
const deserializeAws_json1_1CreateUserPoolResponse = (output, context) => {
|
|
@@ -13896,19 +13896,19 @@ const deserializeAws_json1_1CreateUserPoolResponse = (output, context) => {
|
|
|
13896
13896
|
};
|
|
13897
13897
|
const deserializeAws_json1_1CustomDomainConfigType = (output, context) => {
|
|
13898
13898
|
return {
|
|
13899
|
-
CertificateArn:
|
|
13899
|
+
CertificateArn: smithy_client_1.expectString(output.CertificateArn),
|
|
13900
13900
|
};
|
|
13901
13901
|
};
|
|
13902
13902
|
const deserializeAws_json1_1CustomEmailLambdaVersionConfigType = (output, context) => {
|
|
13903
13903
|
return {
|
|
13904
|
-
LambdaArn:
|
|
13905
|
-
LambdaVersion:
|
|
13904
|
+
LambdaArn: smithy_client_1.expectString(output.LambdaArn),
|
|
13905
|
+
LambdaVersion: smithy_client_1.expectString(output.LambdaVersion),
|
|
13906
13906
|
};
|
|
13907
13907
|
};
|
|
13908
13908
|
const deserializeAws_json1_1CustomSMSLambdaVersionConfigType = (output, context) => {
|
|
13909
13909
|
return {
|
|
13910
|
-
LambdaArn:
|
|
13911
|
-
LambdaVersion:
|
|
13910
|
+
LambdaArn: smithy_client_1.expectString(output.LambdaArn),
|
|
13911
|
+
LambdaVersion: smithy_client_1.expectString(output.LambdaVersion),
|
|
13912
13912
|
};
|
|
13913
13913
|
};
|
|
13914
13914
|
const deserializeAws_json1_1DeleteUserAttributesResponse = (output, context) => {
|
|
@@ -13968,8 +13968,8 @@ const deserializeAws_json1_1DescribeUserPoolResponse = (output, context) => {
|
|
|
13968
13968
|
};
|
|
13969
13969
|
const deserializeAws_json1_1DeviceConfigurationType = (output, context) => {
|
|
13970
13970
|
return {
|
|
13971
|
-
ChallengeRequiredOnNewDevice:
|
|
13972
|
-
DeviceOnlyRememberedOnUserPrompt:
|
|
13971
|
+
ChallengeRequiredOnNewDevice: smithy_client_1.expectBoolean(output.ChallengeRequiredOnNewDevice),
|
|
13972
|
+
DeviceOnlyRememberedOnUserPrompt: smithy_client_1.expectBoolean(output.DeviceOnlyRememberedOnUserPrompt),
|
|
13973
13973
|
};
|
|
13974
13974
|
};
|
|
13975
13975
|
const deserializeAws_json1_1DeviceListType = (output, context) => {
|
|
@@ -13988,66 +13988,66 @@ const deserializeAws_json1_1DeviceType = (output, context) => {
|
|
|
13988
13988
|
? deserializeAws_json1_1AttributeListType(output.DeviceAttributes, context)
|
|
13989
13989
|
: undefined,
|
|
13990
13990
|
DeviceCreateDate: output.DeviceCreateDate !== undefined && output.DeviceCreateDate !== null
|
|
13991
|
-
?
|
|
13991
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DeviceCreateDate)))
|
|
13992
13992
|
: undefined,
|
|
13993
|
-
DeviceKey:
|
|
13993
|
+
DeviceKey: smithy_client_1.expectString(output.DeviceKey),
|
|
13994
13994
|
DeviceLastAuthenticatedDate: output.DeviceLastAuthenticatedDate !== undefined && output.DeviceLastAuthenticatedDate !== null
|
|
13995
|
-
?
|
|
13995
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DeviceLastAuthenticatedDate)))
|
|
13996
13996
|
: undefined,
|
|
13997
13997
|
DeviceLastModifiedDate: output.DeviceLastModifiedDate !== undefined && output.DeviceLastModifiedDate !== null
|
|
13998
|
-
?
|
|
13998
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DeviceLastModifiedDate)))
|
|
13999
13999
|
: undefined,
|
|
14000
14000
|
};
|
|
14001
14001
|
};
|
|
14002
14002
|
const deserializeAws_json1_1DomainDescriptionType = (output, context) => {
|
|
14003
14003
|
return {
|
|
14004
|
-
AWSAccountId:
|
|
14005
|
-
CloudFrontDistribution:
|
|
14004
|
+
AWSAccountId: smithy_client_1.expectString(output.AWSAccountId),
|
|
14005
|
+
CloudFrontDistribution: smithy_client_1.expectString(output.CloudFrontDistribution),
|
|
14006
14006
|
CustomDomainConfig: output.CustomDomainConfig !== undefined && output.CustomDomainConfig !== null
|
|
14007
14007
|
? deserializeAws_json1_1CustomDomainConfigType(output.CustomDomainConfig, context)
|
|
14008
14008
|
: undefined,
|
|
14009
|
-
Domain:
|
|
14010
|
-
S3Bucket:
|
|
14011
|
-
Status:
|
|
14012
|
-
UserPoolId:
|
|
14013
|
-
Version:
|
|
14009
|
+
Domain: smithy_client_1.expectString(output.Domain),
|
|
14010
|
+
S3Bucket: smithy_client_1.expectString(output.S3Bucket),
|
|
14011
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
14012
|
+
UserPoolId: smithy_client_1.expectString(output.UserPoolId),
|
|
14013
|
+
Version: smithy_client_1.expectString(output.Version),
|
|
14014
14014
|
};
|
|
14015
14015
|
};
|
|
14016
14016
|
const deserializeAws_json1_1DuplicateProviderException = (output, context) => {
|
|
14017
14017
|
return {
|
|
14018
|
-
message:
|
|
14018
|
+
message: smithy_client_1.expectString(output.message),
|
|
14019
14019
|
};
|
|
14020
14020
|
};
|
|
14021
14021
|
const deserializeAws_json1_1EmailConfigurationType = (output, context) => {
|
|
14022
14022
|
return {
|
|
14023
|
-
ConfigurationSet:
|
|
14024
|
-
EmailSendingAccount:
|
|
14025
|
-
From:
|
|
14026
|
-
ReplyToEmailAddress:
|
|
14027
|
-
SourceArn:
|
|
14023
|
+
ConfigurationSet: smithy_client_1.expectString(output.ConfigurationSet),
|
|
14024
|
+
EmailSendingAccount: smithy_client_1.expectString(output.EmailSendingAccount),
|
|
14025
|
+
From: smithy_client_1.expectString(output.From),
|
|
14026
|
+
ReplyToEmailAddress: smithy_client_1.expectString(output.ReplyToEmailAddress),
|
|
14027
|
+
SourceArn: smithy_client_1.expectString(output.SourceArn),
|
|
14028
14028
|
};
|
|
14029
14029
|
};
|
|
14030
14030
|
const deserializeAws_json1_1EnableSoftwareTokenMFAException = (output, context) => {
|
|
14031
14031
|
return {
|
|
14032
|
-
message:
|
|
14032
|
+
message: smithy_client_1.expectString(output.message),
|
|
14033
14033
|
};
|
|
14034
14034
|
};
|
|
14035
14035
|
const deserializeAws_json1_1EventContextDataType = (output, context) => {
|
|
14036
14036
|
return {
|
|
14037
|
-
City:
|
|
14038
|
-
Country:
|
|
14039
|
-
DeviceName:
|
|
14040
|
-
IpAddress:
|
|
14041
|
-
Timezone:
|
|
14037
|
+
City: smithy_client_1.expectString(output.City),
|
|
14038
|
+
Country: smithy_client_1.expectString(output.Country),
|
|
14039
|
+
DeviceName: smithy_client_1.expectString(output.DeviceName),
|
|
14040
|
+
IpAddress: smithy_client_1.expectString(output.IpAddress),
|
|
14041
|
+
Timezone: smithy_client_1.expectString(output.Timezone),
|
|
14042
14042
|
};
|
|
14043
14043
|
};
|
|
14044
14044
|
const deserializeAws_json1_1EventFeedbackType = (output, context) => {
|
|
14045
14045
|
return {
|
|
14046
14046
|
FeedbackDate: output.FeedbackDate !== undefined && output.FeedbackDate !== null
|
|
14047
|
-
?
|
|
14047
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.FeedbackDate)))
|
|
14048
14048
|
: undefined,
|
|
14049
|
-
FeedbackValue:
|
|
14050
|
-
Provider:
|
|
14049
|
+
FeedbackValue: smithy_client_1.expectString(output.FeedbackValue),
|
|
14050
|
+
Provider: smithy_client_1.expectString(output.Provider),
|
|
14051
14051
|
};
|
|
14052
14052
|
};
|
|
14053
14053
|
const deserializeAws_json1_1EventFiltersType = (output, context) => {
|
|
@@ -14057,19 +14057,19 @@ const deserializeAws_json1_1EventFiltersType = (output, context) => {
|
|
|
14057
14057
|
if (entry === null) {
|
|
14058
14058
|
return null;
|
|
14059
14059
|
}
|
|
14060
|
-
return
|
|
14060
|
+
return smithy_client_1.expectString(entry);
|
|
14061
14061
|
});
|
|
14062
14062
|
};
|
|
14063
14063
|
const deserializeAws_json1_1EventRiskType = (output, context) => {
|
|
14064
14064
|
return {
|
|
14065
|
-
CompromisedCredentialsDetected:
|
|
14066
|
-
RiskDecision:
|
|
14067
|
-
RiskLevel:
|
|
14065
|
+
CompromisedCredentialsDetected: smithy_client_1.expectBoolean(output.CompromisedCredentialsDetected),
|
|
14066
|
+
RiskDecision: smithy_client_1.expectString(output.RiskDecision),
|
|
14067
|
+
RiskLevel: smithy_client_1.expectString(output.RiskLevel),
|
|
14068
14068
|
};
|
|
14069
14069
|
};
|
|
14070
14070
|
const deserializeAws_json1_1ExpiredCodeException = (output, context) => {
|
|
14071
14071
|
return {
|
|
14072
|
-
message:
|
|
14072
|
+
message: smithy_client_1.expectString(output.message),
|
|
14073
14073
|
};
|
|
14074
14074
|
};
|
|
14075
14075
|
const deserializeAws_json1_1ExplicitAuthFlowsListType = (output, context) => {
|
|
@@ -14079,7 +14079,7 @@ const deserializeAws_json1_1ExplicitAuthFlowsListType = (output, context) => {
|
|
|
14079
14079
|
if (entry === null) {
|
|
14080
14080
|
return null;
|
|
14081
14081
|
}
|
|
14082
|
-
return
|
|
14082
|
+
return smithy_client_1.expectString(entry);
|
|
14083
14083
|
});
|
|
14084
14084
|
};
|
|
14085
14085
|
const deserializeAws_json1_1ForgotPasswordResponse = (output, context) => {
|
|
@@ -14094,7 +14094,7 @@ const deserializeAws_json1_1GetCSVHeaderResponse = (output, context) => {
|
|
|
14094
14094
|
CSVHeader: output.CSVHeader !== undefined && output.CSVHeader !== null
|
|
14095
14095
|
? deserializeAws_json1_1ListOfStringTypes(output.CSVHeader, context)
|
|
14096
14096
|
: undefined,
|
|
14097
|
-
UserPoolId:
|
|
14097
|
+
UserPoolId: smithy_client_1.expectString(output.UserPoolId),
|
|
14098
14098
|
};
|
|
14099
14099
|
};
|
|
14100
14100
|
const deserializeAws_json1_1GetDeviceResponse = (output, context) => {
|
|
@@ -14120,7 +14120,7 @@ const deserializeAws_json1_1GetIdentityProviderByIdentifierResponse = (output, c
|
|
|
14120
14120
|
};
|
|
14121
14121
|
const deserializeAws_json1_1GetSigningCertificateResponse = (output, context) => {
|
|
14122
14122
|
return {
|
|
14123
|
-
Certificate:
|
|
14123
|
+
Certificate: smithy_client_1.expectString(output.Certificate),
|
|
14124
14124
|
};
|
|
14125
14125
|
};
|
|
14126
14126
|
const deserializeAws_json1_1GetUICustomizationResponse = (output, context) => {
|
|
@@ -14139,7 +14139,7 @@ const deserializeAws_json1_1GetUserAttributeVerificationCodeResponse = (output,
|
|
|
14139
14139
|
};
|
|
14140
14140
|
const deserializeAws_json1_1GetUserPoolMfaConfigResponse = (output, context) => {
|
|
14141
14141
|
return {
|
|
14142
|
-
MfaConfiguration:
|
|
14142
|
+
MfaConfiguration: smithy_client_1.expectString(output.MfaConfiguration),
|
|
14143
14143
|
SmsMfaConfiguration: output.SmsMfaConfiguration !== undefined && output.SmsMfaConfiguration !== null
|
|
14144
14144
|
? deserializeAws_json1_1SmsMfaConfigType(output.SmsMfaConfiguration, context)
|
|
14145
14145
|
: undefined,
|
|
@@ -14153,14 +14153,14 @@ const deserializeAws_json1_1GetUserResponse = (output, context) => {
|
|
|
14153
14153
|
MFAOptions: output.MFAOptions !== undefined && output.MFAOptions !== null
|
|
14154
14154
|
? deserializeAws_json1_1MFAOptionListType(output.MFAOptions, context)
|
|
14155
14155
|
: undefined,
|
|
14156
|
-
PreferredMfaSetting:
|
|
14156
|
+
PreferredMfaSetting: smithy_client_1.expectString(output.PreferredMfaSetting),
|
|
14157
14157
|
UserAttributes: output.UserAttributes !== undefined && output.UserAttributes !== null
|
|
14158
14158
|
? deserializeAws_json1_1AttributeListType(output.UserAttributes, context)
|
|
14159
14159
|
: undefined,
|
|
14160
14160
|
UserMFASettingList: output.UserMFASettingList !== undefined && output.UserMFASettingList !== null
|
|
14161
14161
|
? deserializeAws_json1_1UserMFASettingListType(output.UserMFASettingList, context)
|
|
14162
14162
|
: undefined,
|
|
14163
|
-
Username:
|
|
14163
|
+
Username: smithy_client_1.expectString(output.Username),
|
|
14164
14164
|
};
|
|
14165
14165
|
};
|
|
14166
14166
|
const deserializeAws_json1_1GlobalSignOutResponse = (output, context) => {
|
|
@@ -14168,7 +14168,7 @@ const deserializeAws_json1_1GlobalSignOutResponse = (output, context) => {
|
|
|
14168
14168
|
};
|
|
14169
14169
|
const deserializeAws_json1_1GroupExistsException = (output, context) => {
|
|
14170
14170
|
return {
|
|
14171
|
-
message:
|
|
14171
|
+
message: smithy_client_1.expectString(output.message),
|
|
14172
14172
|
};
|
|
14173
14173
|
};
|
|
14174
14174
|
const deserializeAws_json1_1GroupListType = (output, context) => {
|
|
@@ -14184,16 +14184,16 @@ const deserializeAws_json1_1GroupListType = (output, context) => {
|
|
|
14184
14184
|
const deserializeAws_json1_1GroupType = (output, context) => {
|
|
14185
14185
|
return {
|
|
14186
14186
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
14187
|
-
?
|
|
14187
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
|
|
14188
14188
|
: undefined,
|
|
14189
|
-
Description:
|
|
14190
|
-
GroupName:
|
|
14189
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
14190
|
+
GroupName: smithy_client_1.expectString(output.GroupName),
|
|
14191
14191
|
LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
|
|
14192
|
-
?
|
|
14192
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
|
|
14193
14193
|
: undefined,
|
|
14194
|
-
Precedence:
|
|
14195
|
-
RoleArn:
|
|
14196
|
-
UserPoolId:
|
|
14194
|
+
Precedence: smithy_client_1.expectInt32(output.Precedence),
|
|
14195
|
+
RoleArn: smithy_client_1.expectString(output.RoleArn),
|
|
14196
|
+
UserPoolId: smithy_client_1.expectString(output.UserPoolId),
|
|
14197
14197
|
};
|
|
14198
14198
|
};
|
|
14199
14199
|
const deserializeAws_json1_1IdentityProviderType = (output, context) => {
|
|
@@ -14202,20 +14202,20 @@ const deserializeAws_json1_1IdentityProviderType = (output, context) => {
|
|
|
14202
14202
|
? deserializeAws_json1_1AttributeMappingType(output.AttributeMapping, context)
|
|
14203
14203
|
: undefined,
|
|
14204
14204
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
14205
|
-
?
|
|
14205
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
|
|
14206
14206
|
: undefined,
|
|
14207
14207
|
IdpIdentifiers: output.IdpIdentifiers !== undefined && output.IdpIdentifiers !== null
|
|
14208
14208
|
? deserializeAws_json1_1IdpIdentifiersListType(output.IdpIdentifiers, context)
|
|
14209
14209
|
: undefined,
|
|
14210
14210
|
LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
|
|
14211
|
-
?
|
|
14211
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
|
|
14212
14212
|
: undefined,
|
|
14213
14213
|
ProviderDetails: output.ProviderDetails !== undefined && output.ProviderDetails !== null
|
|
14214
14214
|
? deserializeAws_json1_1ProviderDetailsType(output.ProviderDetails, context)
|
|
14215
14215
|
: undefined,
|
|
14216
|
-
ProviderName:
|
|
14217
|
-
ProviderType:
|
|
14218
|
-
UserPoolId:
|
|
14216
|
+
ProviderName: smithy_client_1.expectString(output.ProviderName),
|
|
14217
|
+
ProviderType: smithy_client_1.expectString(output.ProviderType),
|
|
14218
|
+
UserPoolId: smithy_client_1.expectString(output.UserPoolId),
|
|
14219
14219
|
};
|
|
14220
14220
|
};
|
|
14221
14221
|
const deserializeAws_json1_1IdpIdentifiersListType = (output, context) => {
|
|
@@ -14225,7 +14225,7 @@ const deserializeAws_json1_1IdpIdentifiersListType = (output, context) => {
|
|
|
14225
14225
|
if (entry === null) {
|
|
14226
14226
|
return null;
|
|
14227
14227
|
}
|
|
14228
|
-
return
|
|
14228
|
+
return smithy_client_1.expectString(entry);
|
|
14229
14229
|
});
|
|
14230
14230
|
};
|
|
14231
14231
|
const deserializeAws_json1_1InitiateAuthResponse = (output, context) => {
|
|
@@ -14233,82 +14233,82 @@ const deserializeAws_json1_1InitiateAuthResponse = (output, context) => {
|
|
|
14233
14233
|
AuthenticationResult: output.AuthenticationResult !== undefined && output.AuthenticationResult !== null
|
|
14234
14234
|
? deserializeAws_json1_1AuthenticationResultType(output.AuthenticationResult, context)
|
|
14235
14235
|
: undefined,
|
|
14236
|
-
ChallengeName:
|
|
14236
|
+
ChallengeName: smithy_client_1.expectString(output.ChallengeName),
|
|
14237
14237
|
ChallengeParameters: output.ChallengeParameters !== undefined && output.ChallengeParameters !== null
|
|
14238
14238
|
? deserializeAws_json1_1ChallengeParametersType(output.ChallengeParameters, context)
|
|
14239
14239
|
: undefined,
|
|
14240
|
-
Session:
|
|
14240
|
+
Session: smithy_client_1.expectString(output.Session),
|
|
14241
14241
|
};
|
|
14242
14242
|
};
|
|
14243
14243
|
const deserializeAws_json1_1InternalErrorException = (output, context) => {
|
|
14244
14244
|
return {
|
|
14245
|
-
message:
|
|
14245
|
+
message: smithy_client_1.expectString(output.message),
|
|
14246
14246
|
};
|
|
14247
14247
|
};
|
|
14248
14248
|
const deserializeAws_json1_1InvalidEmailRoleAccessPolicyException = (output, context) => {
|
|
14249
14249
|
return {
|
|
14250
|
-
message:
|
|
14250
|
+
message: smithy_client_1.expectString(output.message),
|
|
14251
14251
|
};
|
|
14252
14252
|
};
|
|
14253
14253
|
const deserializeAws_json1_1InvalidLambdaResponseException = (output, context) => {
|
|
14254
14254
|
return {
|
|
14255
|
-
message:
|
|
14255
|
+
message: smithy_client_1.expectString(output.message),
|
|
14256
14256
|
};
|
|
14257
14257
|
};
|
|
14258
14258
|
const deserializeAws_json1_1InvalidOAuthFlowException = (output, context) => {
|
|
14259
14259
|
return {
|
|
14260
|
-
message:
|
|
14260
|
+
message: smithy_client_1.expectString(output.message),
|
|
14261
14261
|
};
|
|
14262
14262
|
};
|
|
14263
14263
|
const deserializeAws_json1_1InvalidParameterException = (output, context) => {
|
|
14264
14264
|
return {
|
|
14265
|
-
message:
|
|
14265
|
+
message: smithy_client_1.expectString(output.message),
|
|
14266
14266
|
};
|
|
14267
14267
|
};
|
|
14268
14268
|
const deserializeAws_json1_1InvalidPasswordException = (output, context) => {
|
|
14269
14269
|
return {
|
|
14270
|
-
message:
|
|
14270
|
+
message: smithy_client_1.expectString(output.message),
|
|
14271
14271
|
};
|
|
14272
14272
|
};
|
|
14273
14273
|
const deserializeAws_json1_1InvalidSmsRoleAccessPolicyException = (output, context) => {
|
|
14274
14274
|
return {
|
|
14275
|
-
message:
|
|
14275
|
+
message: smithy_client_1.expectString(output.message),
|
|
14276
14276
|
};
|
|
14277
14277
|
};
|
|
14278
14278
|
const deserializeAws_json1_1InvalidSmsRoleTrustRelationshipException = (output, context) => {
|
|
14279
14279
|
return {
|
|
14280
|
-
message:
|
|
14280
|
+
message: smithy_client_1.expectString(output.message),
|
|
14281
14281
|
};
|
|
14282
14282
|
};
|
|
14283
14283
|
const deserializeAws_json1_1InvalidUserPoolConfigurationException = (output, context) => {
|
|
14284
14284
|
return {
|
|
14285
|
-
message:
|
|
14285
|
+
message: smithy_client_1.expectString(output.message),
|
|
14286
14286
|
};
|
|
14287
14287
|
};
|
|
14288
14288
|
const deserializeAws_json1_1LambdaConfigType = (output, context) => {
|
|
14289
14289
|
return {
|
|
14290
|
-
CreateAuthChallenge:
|
|
14290
|
+
CreateAuthChallenge: smithy_client_1.expectString(output.CreateAuthChallenge),
|
|
14291
14291
|
CustomEmailSender: output.CustomEmailSender !== undefined && output.CustomEmailSender !== null
|
|
14292
14292
|
? deserializeAws_json1_1CustomEmailLambdaVersionConfigType(output.CustomEmailSender, context)
|
|
14293
14293
|
: undefined,
|
|
14294
|
-
CustomMessage:
|
|
14294
|
+
CustomMessage: smithy_client_1.expectString(output.CustomMessage),
|
|
14295
14295
|
CustomSMSSender: output.CustomSMSSender !== undefined && output.CustomSMSSender !== null
|
|
14296
14296
|
? deserializeAws_json1_1CustomSMSLambdaVersionConfigType(output.CustomSMSSender, context)
|
|
14297
14297
|
: undefined,
|
|
14298
|
-
DefineAuthChallenge:
|
|
14299
|
-
KMSKeyID:
|
|
14300
|
-
PostAuthentication:
|
|
14301
|
-
PostConfirmation:
|
|
14302
|
-
PreAuthentication:
|
|
14303
|
-
PreSignUp:
|
|
14304
|
-
PreTokenGeneration:
|
|
14305
|
-
UserMigration:
|
|
14306
|
-
VerifyAuthChallengeResponse:
|
|
14298
|
+
DefineAuthChallenge: smithy_client_1.expectString(output.DefineAuthChallenge),
|
|
14299
|
+
KMSKeyID: smithy_client_1.expectString(output.KMSKeyID),
|
|
14300
|
+
PostAuthentication: smithy_client_1.expectString(output.PostAuthentication),
|
|
14301
|
+
PostConfirmation: smithy_client_1.expectString(output.PostConfirmation),
|
|
14302
|
+
PreAuthentication: smithy_client_1.expectString(output.PreAuthentication),
|
|
14303
|
+
PreSignUp: smithy_client_1.expectString(output.PreSignUp),
|
|
14304
|
+
PreTokenGeneration: smithy_client_1.expectString(output.PreTokenGeneration),
|
|
14305
|
+
UserMigration: smithy_client_1.expectString(output.UserMigration),
|
|
14306
|
+
VerifyAuthChallengeResponse: smithy_client_1.expectString(output.VerifyAuthChallengeResponse),
|
|
14307
14307
|
};
|
|
14308
14308
|
};
|
|
14309
14309
|
const deserializeAws_json1_1LimitExceededException = (output, context) => {
|
|
14310
14310
|
return {
|
|
14311
|
-
message:
|
|
14311
|
+
message: smithy_client_1.expectString(output.message),
|
|
14312
14312
|
};
|
|
14313
14313
|
};
|
|
14314
14314
|
const deserializeAws_json1_1ListDevicesResponse = (output, context) => {
|
|
@@ -14316,7 +14316,7 @@ const deserializeAws_json1_1ListDevicesResponse = (output, context) => {
|
|
|
14316
14316
|
Devices: output.Devices !== undefined && output.Devices !== null
|
|
14317
14317
|
? deserializeAws_json1_1DeviceListType(output.Devices, context)
|
|
14318
14318
|
: undefined,
|
|
14319
|
-
PaginationToken:
|
|
14319
|
+
PaginationToken: smithy_client_1.expectString(output.PaginationToken),
|
|
14320
14320
|
};
|
|
14321
14321
|
};
|
|
14322
14322
|
const deserializeAws_json1_1ListGroupsResponse = (output, context) => {
|
|
@@ -14324,12 +14324,12 @@ const deserializeAws_json1_1ListGroupsResponse = (output, context) => {
|
|
|
14324
14324
|
Groups: output.Groups !== undefined && output.Groups !== null
|
|
14325
14325
|
? deserializeAws_json1_1GroupListType(output.Groups, context)
|
|
14326
14326
|
: undefined,
|
|
14327
|
-
NextToken:
|
|
14327
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
14328
14328
|
};
|
|
14329
14329
|
};
|
|
14330
14330
|
const deserializeAws_json1_1ListIdentityProvidersResponse = (output, context) => {
|
|
14331
14331
|
return {
|
|
14332
|
-
NextToken:
|
|
14332
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
14333
14333
|
Providers: output.Providers !== undefined && output.Providers !== null
|
|
14334
14334
|
? deserializeAws_json1_1ProvidersListType(output.Providers, context)
|
|
14335
14335
|
: undefined,
|
|
@@ -14342,12 +14342,12 @@ const deserializeAws_json1_1ListOfStringTypes = (output, context) => {
|
|
|
14342
14342
|
if (entry === null) {
|
|
14343
14343
|
return null;
|
|
14344
14344
|
}
|
|
14345
|
-
return
|
|
14345
|
+
return smithy_client_1.expectString(entry);
|
|
14346
14346
|
});
|
|
14347
14347
|
};
|
|
14348
14348
|
const deserializeAws_json1_1ListResourceServersResponse = (output, context) => {
|
|
14349
14349
|
return {
|
|
14350
|
-
NextToken:
|
|
14350
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
14351
14351
|
ResourceServers: output.ResourceServers !== undefined && output.ResourceServers !== null
|
|
14352
14352
|
? deserializeAws_json1_1ResourceServersListType(output.ResourceServers, context)
|
|
14353
14353
|
: undefined,
|
|
@@ -14362,7 +14362,7 @@ const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
|
|
|
14362
14362
|
};
|
|
14363
14363
|
const deserializeAws_json1_1ListUserImportJobsResponse = (output, context) => {
|
|
14364
14364
|
return {
|
|
14365
|
-
PaginationToken:
|
|
14365
|
+
PaginationToken: smithy_client_1.expectString(output.PaginationToken),
|
|
14366
14366
|
UserImportJobs: output.UserImportJobs !== undefined && output.UserImportJobs !== null
|
|
14367
14367
|
? deserializeAws_json1_1UserImportJobsListType(output.UserImportJobs, context)
|
|
14368
14368
|
: undefined,
|
|
@@ -14370,7 +14370,7 @@ const deserializeAws_json1_1ListUserImportJobsResponse = (output, context) => {
|
|
|
14370
14370
|
};
|
|
14371
14371
|
const deserializeAws_json1_1ListUserPoolClientsResponse = (output, context) => {
|
|
14372
14372
|
return {
|
|
14373
|
-
NextToken:
|
|
14373
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
14374
14374
|
UserPoolClients: output.UserPoolClients !== undefined && output.UserPoolClients !== null
|
|
14375
14375
|
? deserializeAws_json1_1UserPoolClientListType(output.UserPoolClients, context)
|
|
14376
14376
|
: undefined,
|
|
@@ -14378,7 +14378,7 @@ const deserializeAws_json1_1ListUserPoolClientsResponse = (output, context) => {
|
|
|
14378
14378
|
};
|
|
14379
14379
|
const deserializeAws_json1_1ListUserPoolsResponse = (output, context) => {
|
|
14380
14380
|
return {
|
|
14381
|
-
NextToken:
|
|
14381
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
14382
14382
|
UserPools: output.UserPools !== undefined && output.UserPools !== null
|
|
14383
14383
|
? deserializeAws_json1_1UserPoolListType(output.UserPools, context)
|
|
14384
14384
|
: undefined,
|
|
@@ -14386,7 +14386,7 @@ const deserializeAws_json1_1ListUserPoolsResponse = (output, context) => {
|
|
|
14386
14386
|
};
|
|
14387
14387
|
const deserializeAws_json1_1ListUsersInGroupResponse = (output, context) => {
|
|
14388
14388
|
return {
|
|
14389
|
-
NextToken:
|
|
14389
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
14390
14390
|
Users: output.Users !== undefined && output.Users !== null
|
|
14391
14391
|
? deserializeAws_json1_1UsersListType(output.Users, context)
|
|
14392
14392
|
: undefined,
|
|
@@ -14394,7 +14394,7 @@ const deserializeAws_json1_1ListUsersInGroupResponse = (output, context) => {
|
|
|
14394
14394
|
};
|
|
14395
14395
|
const deserializeAws_json1_1ListUsersResponse = (output, context) => {
|
|
14396
14396
|
return {
|
|
14397
|
-
PaginationToken:
|
|
14397
|
+
PaginationToken: smithy_client_1.expectString(output.PaginationToken),
|
|
14398
14398
|
Users: output.Users !== undefined && output.Users !== null
|
|
14399
14399
|
? deserializeAws_json1_1UsersListType(output.Users, context)
|
|
14400
14400
|
: undefined,
|
|
@@ -14407,19 +14407,19 @@ const deserializeAws_json1_1LogoutURLsListType = (output, context) => {
|
|
|
14407
14407
|
if (entry === null) {
|
|
14408
14408
|
return null;
|
|
14409
14409
|
}
|
|
14410
|
-
return
|
|
14410
|
+
return smithy_client_1.expectString(entry);
|
|
14411
14411
|
});
|
|
14412
14412
|
};
|
|
14413
14413
|
const deserializeAws_json1_1MessageTemplateType = (output, context) => {
|
|
14414
14414
|
return {
|
|
14415
|
-
EmailMessage:
|
|
14416
|
-
EmailSubject:
|
|
14417
|
-
SMSMessage:
|
|
14415
|
+
EmailMessage: smithy_client_1.expectString(output.EmailMessage),
|
|
14416
|
+
EmailSubject: smithy_client_1.expectString(output.EmailSubject),
|
|
14417
|
+
SMSMessage: smithy_client_1.expectString(output.SMSMessage),
|
|
14418
14418
|
};
|
|
14419
14419
|
};
|
|
14420
14420
|
const deserializeAws_json1_1MFAMethodNotFoundException = (output, context) => {
|
|
14421
14421
|
return {
|
|
14422
|
-
message:
|
|
14422
|
+
message: smithy_client_1.expectString(output.message),
|
|
14423
14423
|
};
|
|
14424
14424
|
};
|
|
14425
14425
|
const deserializeAws_json1_1MFAOptionListType = (output, context) => {
|
|
@@ -14434,19 +14434,19 @@ const deserializeAws_json1_1MFAOptionListType = (output, context) => {
|
|
|
14434
14434
|
};
|
|
14435
14435
|
const deserializeAws_json1_1MFAOptionType = (output, context) => {
|
|
14436
14436
|
return {
|
|
14437
|
-
AttributeName:
|
|
14438
|
-
DeliveryMedium:
|
|
14437
|
+
AttributeName: smithy_client_1.expectString(output.AttributeName),
|
|
14438
|
+
DeliveryMedium: smithy_client_1.expectString(output.DeliveryMedium),
|
|
14439
14439
|
};
|
|
14440
14440
|
};
|
|
14441
14441
|
const deserializeAws_json1_1NewDeviceMetadataType = (output, context) => {
|
|
14442
14442
|
return {
|
|
14443
|
-
DeviceGroupKey:
|
|
14444
|
-
DeviceKey:
|
|
14443
|
+
DeviceGroupKey: smithy_client_1.expectString(output.DeviceGroupKey),
|
|
14444
|
+
DeviceKey: smithy_client_1.expectString(output.DeviceKey),
|
|
14445
14445
|
};
|
|
14446
14446
|
};
|
|
14447
14447
|
const deserializeAws_json1_1NotAuthorizedException = (output, context) => {
|
|
14448
14448
|
return {
|
|
14449
|
-
message:
|
|
14449
|
+
message: smithy_client_1.expectString(output.message),
|
|
14450
14450
|
};
|
|
14451
14451
|
};
|
|
14452
14452
|
const deserializeAws_json1_1NotifyConfigurationType = (output, context) => {
|
|
@@ -14454,28 +14454,28 @@ const deserializeAws_json1_1NotifyConfigurationType = (output, context) => {
|
|
|
14454
14454
|
BlockEmail: output.BlockEmail !== undefined && output.BlockEmail !== null
|
|
14455
14455
|
? deserializeAws_json1_1NotifyEmailType(output.BlockEmail, context)
|
|
14456
14456
|
: undefined,
|
|
14457
|
-
From:
|
|
14457
|
+
From: smithy_client_1.expectString(output.From),
|
|
14458
14458
|
MfaEmail: output.MfaEmail !== undefined && output.MfaEmail !== null
|
|
14459
14459
|
? deserializeAws_json1_1NotifyEmailType(output.MfaEmail, context)
|
|
14460
14460
|
: undefined,
|
|
14461
14461
|
NoActionEmail: output.NoActionEmail !== undefined && output.NoActionEmail !== null
|
|
14462
14462
|
? deserializeAws_json1_1NotifyEmailType(output.NoActionEmail, context)
|
|
14463
14463
|
: undefined,
|
|
14464
|
-
ReplyTo:
|
|
14465
|
-
SourceArn:
|
|
14464
|
+
ReplyTo: smithy_client_1.expectString(output.ReplyTo),
|
|
14465
|
+
SourceArn: smithy_client_1.expectString(output.SourceArn),
|
|
14466
14466
|
};
|
|
14467
14467
|
};
|
|
14468
14468
|
const deserializeAws_json1_1NotifyEmailType = (output, context) => {
|
|
14469
14469
|
return {
|
|
14470
|
-
HtmlBody:
|
|
14471
|
-
Subject:
|
|
14472
|
-
TextBody:
|
|
14470
|
+
HtmlBody: smithy_client_1.expectString(output.HtmlBody),
|
|
14471
|
+
Subject: smithy_client_1.expectString(output.Subject),
|
|
14472
|
+
TextBody: smithy_client_1.expectString(output.TextBody),
|
|
14473
14473
|
};
|
|
14474
14474
|
};
|
|
14475
14475
|
const deserializeAws_json1_1NumberAttributeConstraintsType = (output, context) => {
|
|
14476
14476
|
return {
|
|
14477
|
-
MaxValue:
|
|
14478
|
-
MinValue:
|
|
14477
|
+
MaxValue: smithy_client_1.expectString(output.MaxValue),
|
|
14478
|
+
MinValue: smithy_client_1.expectString(output.MinValue),
|
|
14479
14479
|
};
|
|
14480
14480
|
};
|
|
14481
14481
|
const deserializeAws_json1_1OAuthFlowsType = (output, context) => {
|
|
@@ -14485,39 +14485,39 @@ const deserializeAws_json1_1OAuthFlowsType = (output, context) => {
|
|
|
14485
14485
|
if (entry === null) {
|
|
14486
14486
|
return null;
|
|
14487
14487
|
}
|
|
14488
|
-
return
|
|
14488
|
+
return smithy_client_1.expectString(entry);
|
|
14489
14489
|
});
|
|
14490
14490
|
};
|
|
14491
14491
|
const deserializeAws_json1_1PasswordPolicyType = (output, context) => {
|
|
14492
14492
|
return {
|
|
14493
|
-
MinimumLength:
|
|
14494
|
-
RequireLowercase:
|
|
14495
|
-
RequireNumbers:
|
|
14496
|
-
RequireSymbols:
|
|
14497
|
-
RequireUppercase:
|
|
14498
|
-
TemporaryPasswordValidityDays:
|
|
14493
|
+
MinimumLength: smithy_client_1.expectInt32(output.MinimumLength),
|
|
14494
|
+
RequireLowercase: smithy_client_1.expectBoolean(output.RequireLowercase),
|
|
14495
|
+
RequireNumbers: smithy_client_1.expectBoolean(output.RequireNumbers),
|
|
14496
|
+
RequireSymbols: smithy_client_1.expectBoolean(output.RequireSymbols),
|
|
14497
|
+
RequireUppercase: smithy_client_1.expectBoolean(output.RequireUppercase),
|
|
14498
|
+
TemporaryPasswordValidityDays: smithy_client_1.expectInt32(output.TemporaryPasswordValidityDays),
|
|
14499
14499
|
};
|
|
14500
14500
|
};
|
|
14501
14501
|
const deserializeAws_json1_1PasswordResetRequiredException = (output, context) => {
|
|
14502
14502
|
return {
|
|
14503
|
-
message:
|
|
14503
|
+
message: smithy_client_1.expectString(output.message),
|
|
14504
14504
|
};
|
|
14505
14505
|
};
|
|
14506
14506
|
const deserializeAws_json1_1PreconditionNotMetException = (output, context) => {
|
|
14507
14507
|
return {
|
|
14508
|
-
message:
|
|
14508
|
+
message: smithy_client_1.expectString(output.message),
|
|
14509
14509
|
};
|
|
14510
14510
|
};
|
|
14511
14511
|
const deserializeAws_json1_1ProviderDescription = (output, context) => {
|
|
14512
14512
|
return {
|
|
14513
14513
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
14514
|
-
?
|
|
14514
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
|
|
14515
14515
|
: undefined,
|
|
14516
14516
|
LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
|
|
14517
|
-
?
|
|
14517
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
|
|
14518
14518
|
: undefined,
|
|
14519
|
-
ProviderName:
|
|
14520
|
-
ProviderType:
|
|
14519
|
+
ProviderName: smithy_client_1.expectString(output.ProviderName),
|
|
14520
|
+
ProviderType: smithy_client_1.expectString(output.ProviderType),
|
|
14521
14521
|
};
|
|
14522
14522
|
};
|
|
14523
14523
|
const deserializeAws_json1_1ProviderDetailsType = (output, context) => {
|
|
@@ -14527,7 +14527,7 @@ const deserializeAws_json1_1ProviderDetailsType = (output, context) => {
|
|
|
14527
14527
|
}
|
|
14528
14528
|
return {
|
|
14529
14529
|
...acc,
|
|
14530
|
-
[key]:
|
|
14530
|
+
[key]: smithy_client_1.expectString(value),
|
|
14531
14531
|
};
|
|
14532
14532
|
}, {});
|
|
14533
14533
|
};
|
|
@@ -14553,8 +14553,8 @@ const deserializeAws_json1_1RecoveryMechanismsType = (output, context) => {
|
|
|
14553
14553
|
};
|
|
14554
14554
|
const deserializeAws_json1_1RecoveryOptionType = (output, context) => {
|
|
14555
14555
|
return {
|
|
14556
|
-
Name:
|
|
14557
|
-
Priority:
|
|
14556
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
14557
|
+
Priority: smithy_client_1.expectInt32(output.Priority),
|
|
14558
14558
|
};
|
|
14559
14559
|
};
|
|
14560
14560
|
const deserializeAws_json1_1ResendConfirmationCodeResponse = (output, context) => {
|
|
@@ -14566,7 +14566,7 @@ const deserializeAws_json1_1ResendConfirmationCodeResponse = (output, context) =
|
|
|
14566
14566
|
};
|
|
14567
14567
|
const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
|
|
14568
14568
|
return {
|
|
14569
|
-
message:
|
|
14569
|
+
message: smithy_client_1.expectString(output.message),
|
|
14570
14570
|
};
|
|
14571
14571
|
};
|
|
14572
14572
|
const deserializeAws_json1_1ResourceServerScopeListType = (output, context) => {
|
|
@@ -14581,8 +14581,8 @@ const deserializeAws_json1_1ResourceServerScopeListType = (output, context) => {
|
|
|
14581
14581
|
};
|
|
14582
14582
|
const deserializeAws_json1_1ResourceServerScopeType = (output, context) => {
|
|
14583
14583
|
return {
|
|
14584
|
-
ScopeDescription:
|
|
14585
|
-
ScopeName:
|
|
14584
|
+
ScopeDescription: smithy_client_1.expectString(output.ScopeDescription),
|
|
14585
|
+
ScopeName: smithy_client_1.expectString(output.ScopeName),
|
|
14586
14586
|
};
|
|
14587
14587
|
};
|
|
14588
14588
|
const deserializeAws_json1_1ResourceServersListType = (output, context) => {
|
|
@@ -14597,12 +14597,12 @@ const deserializeAws_json1_1ResourceServersListType = (output, context) => {
|
|
|
14597
14597
|
};
|
|
14598
14598
|
const deserializeAws_json1_1ResourceServerType = (output, context) => {
|
|
14599
14599
|
return {
|
|
14600
|
-
Identifier:
|
|
14601
|
-
Name:
|
|
14600
|
+
Identifier: smithy_client_1.expectString(output.Identifier),
|
|
14601
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
14602
14602
|
Scopes: output.Scopes !== undefined && output.Scopes !== null
|
|
14603
14603
|
? deserializeAws_json1_1ResourceServerScopeListType(output.Scopes, context)
|
|
14604
14604
|
: undefined,
|
|
14605
|
-
UserPoolId:
|
|
14605
|
+
UserPoolId: smithy_client_1.expectString(output.UserPoolId),
|
|
14606
14606
|
};
|
|
14607
14607
|
};
|
|
14608
14608
|
const deserializeAws_json1_1RespondToAuthChallengeResponse = (output, context) => {
|
|
@@ -14610,11 +14610,11 @@ const deserializeAws_json1_1RespondToAuthChallengeResponse = (output, context) =
|
|
|
14610
14610
|
AuthenticationResult: output.AuthenticationResult !== undefined && output.AuthenticationResult !== null
|
|
14611
14611
|
? deserializeAws_json1_1AuthenticationResultType(output.AuthenticationResult, context)
|
|
14612
14612
|
: undefined,
|
|
14613
|
-
ChallengeName:
|
|
14613
|
+
ChallengeName: smithy_client_1.expectString(output.ChallengeName),
|
|
14614
14614
|
ChallengeParameters: output.ChallengeParameters !== undefined && output.ChallengeParameters !== null
|
|
14615
14615
|
? deserializeAws_json1_1ChallengeParametersType(output.ChallengeParameters, context)
|
|
14616
14616
|
: undefined,
|
|
14617
|
-
Session:
|
|
14617
|
+
Session: smithy_client_1.expectString(output.Session),
|
|
14618
14618
|
};
|
|
14619
14619
|
};
|
|
14620
14620
|
const deserializeAws_json1_1RevokeTokenResponse = (output, context) => {
|
|
@@ -14625,18 +14625,18 @@ const deserializeAws_json1_1RiskConfigurationType = (output, context) => {
|
|
|
14625
14625
|
AccountTakeoverRiskConfiguration: output.AccountTakeoverRiskConfiguration !== undefined && output.AccountTakeoverRiskConfiguration !== null
|
|
14626
14626
|
? deserializeAws_json1_1AccountTakeoverRiskConfigurationType(output.AccountTakeoverRiskConfiguration, context)
|
|
14627
14627
|
: undefined,
|
|
14628
|
-
ClientId:
|
|
14628
|
+
ClientId: smithy_client_1.expectString(output.ClientId),
|
|
14629
14629
|
CompromisedCredentialsRiskConfiguration: output.CompromisedCredentialsRiskConfiguration !== undefined &&
|
|
14630
14630
|
output.CompromisedCredentialsRiskConfiguration !== null
|
|
14631
14631
|
? deserializeAws_json1_1CompromisedCredentialsRiskConfigurationType(output.CompromisedCredentialsRiskConfiguration, context)
|
|
14632
14632
|
: undefined,
|
|
14633
14633
|
LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
|
|
14634
|
-
?
|
|
14634
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
|
|
14635
14635
|
: undefined,
|
|
14636
14636
|
RiskExceptionConfiguration: output.RiskExceptionConfiguration !== undefined && output.RiskExceptionConfiguration !== null
|
|
14637
14637
|
? deserializeAws_json1_1RiskExceptionConfigurationType(output.RiskExceptionConfiguration, context)
|
|
14638
14638
|
: undefined,
|
|
14639
|
-
UserPoolId:
|
|
14639
|
+
UserPoolId: smithy_client_1.expectString(output.UserPoolId),
|
|
14640
14640
|
};
|
|
14641
14641
|
};
|
|
14642
14642
|
const deserializeAws_json1_1RiskExceptionConfigurationType = (output, context) => {
|
|
@@ -14661,14 +14661,14 @@ const deserializeAws_json1_1SchemaAttributesListType = (output, context) => {
|
|
|
14661
14661
|
};
|
|
14662
14662
|
const deserializeAws_json1_1SchemaAttributeType = (output, context) => {
|
|
14663
14663
|
return {
|
|
14664
|
-
AttributeDataType:
|
|
14665
|
-
DeveloperOnlyAttribute:
|
|
14666
|
-
Mutable:
|
|
14667
|
-
Name:
|
|
14664
|
+
AttributeDataType: smithy_client_1.expectString(output.AttributeDataType),
|
|
14665
|
+
DeveloperOnlyAttribute: smithy_client_1.expectBoolean(output.DeveloperOnlyAttribute),
|
|
14666
|
+
Mutable: smithy_client_1.expectBoolean(output.Mutable),
|
|
14667
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
14668
14668
|
NumberAttributeConstraints: output.NumberAttributeConstraints !== undefined && output.NumberAttributeConstraints !== null
|
|
14669
14669
|
? deserializeAws_json1_1NumberAttributeConstraintsType(output.NumberAttributeConstraints, context)
|
|
14670
14670
|
: undefined,
|
|
14671
|
-
Required:
|
|
14671
|
+
Required: smithy_client_1.expectBoolean(output.Required),
|
|
14672
14672
|
StringAttributeConstraints: output.StringAttributeConstraints !== undefined && output.StringAttributeConstraints !== null
|
|
14673
14673
|
? deserializeAws_json1_1StringAttributeConstraintsType(output.StringAttributeConstraints, context)
|
|
14674
14674
|
: undefined,
|
|
@@ -14676,7 +14676,7 @@ const deserializeAws_json1_1SchemaAttributeType = (output, context) => {
|
|
|
14676
14676
|
};
|
|
14677
14677
|
const deserializeAws_json1_1ScopeDoesNotExistException = (output, context) => {
|
|
14678
14678
|
return {
|
|
14679
|
-
message:
|
|
14679
|
+
message: smithy_client_1.expectString(output.message),
|
|
14680
14680
|
};
|
|
14681
14681
|
};
|
|
14682
14682
|
const deserializeAws_json1_1ScopeListType = (output, context) => {
|
|
@@ -14686,7 +14686,7 @@ const deserializeAws_json1_1ScopeListType = (output, context) => {
|
|
|
14686
14686
|
if (entry === null) {
|
|
14687
14687
|
return null;
|
|
14688
14688
|
}
|
|
14689
|
-
return
|
|
14689
|
+
return smithy_client_1.expectString(entry);
|
|
14690
14690
|
});
|
|
14691
14691
|
};
|
|
14692
14692
|
const deserializeAws_json1_1SetRiskConfigurationResponse = (output, context) => {
|
|
@@ -14708,7 +14708,7 @@ const deserializeAws_json1_1SetUserMFAPreferenceResponse = (output, context) =>
|
|
|
14708
14708
|
};
|
|
14709
14709
|
const deserializeAws_json1_1SetUserPoolMfaConfigResponse = (output, context) => {
|
|
14710
14710
|
return {
|
|
14711
|
-
MfaConfiguration:
|
|
14711
|
+
MfaConfiguration: smithy_client_1.expectString(output.MfaConfiguration),
|
|
14712
14712
|
SmsMfaConfiguration: output.SmsMfaConfiguration !== undefined && output.SmsMfaConfiguration !== null
|
|
14713
14713
|
? deserializeAws_json1_1SmsMfaConfigType(output.SmsMfaConfiguration, context)
|
|
14714
14714
|
: undefined,
|
|
@@ -14725,8 +14725,8 @@ const deserializeAws_json1_1SignUpResponse = (output, context) => {
|
|
|
14725
14725
|
CodeDeliveryDetails: output.CodeDeliveryDetails !== undefined && output.CodeDeliveryDetails !== null
|
|
14726
14726
|
? deserializeAws_json1_1CodeDeliveryDetailsType(output.CodeDeliveryDetails, context)
|
|
14727
14727
|
: undefined,
|
|
14728
|
-
UserConfirmed:
|
|
14729
|
-
UserSub:
|
|
14728
|
+
UserConfirmed: smithy_client_1.expectBoolean(output.UserConfirmed),
|
|
14729
|
+
UserSub: smithy_client_1.expectString(output.UserSub),
|
|
14730
14730
|
};
|
|
14731
14731
|
};
|
|
14732
14732
|
const deserializeAws_json1_1SkippedIPRangeListType = (output, context) => {
|
|
@@ -14736,18 +14736,18 @@ const deserializeAws_json1_1SkippedIPRangeListType = (output, context) => {
|
|
|
14736
14736
|
if (entry === null) {
|
|
14737
14737
|
return null;
|
|
14738
14738
|
}
|
|
14739
|
-
return
|
|
14739
|
+
return smithy_client_1.expectString(entry);
|
|
14740
14740
|
});
|
|
14741
14741
|
};
|
|
14742
14742
|
const deserializeAws_json1_1SmsConfigurationType = (output, context) => {
|
|
14743
14743
|
return {
|
|
14744
|
-
ExternalId:
|
|
14745
|
-
SnsCallerArn:
|
|
14744
|
+
ExternalId: smithy_client_1.expectString(output.ExternalId),
|
|
14745
|
+
SnsCallerArn: smithy_client_1.expectString(output.SnsCallerArn),
|
|
14746
14746
|
};
|
|
14747
14747
|
};
|
|
14748
14748
|
const deserializeAws_json1_1SmsMfaConfigType = (output, context) => {
|
|
14749
14749
|
return {
|
|
14750
|
-
SmsAuthenticationMessage:
|
|
14750
|
+
SmsAuthenticationMessage: smithy_client_1.expectString(output.SmsAuthenticationMessage),
|
|
14751
14751
|
SmsConfiguration: output.SmsConfiguration !== undefined && output.SmsConfiguration !== null
|
|
14752
14752
|
? deserializeAws_json1_1SmsConfigurationType(output.SmsConfiguration, context)
|
|
14753
14753
|
: undefined,
|
|
@@ -14755,12 +14755,12 @@ const deserializeAws_json1_1SmsMfaConfigType = (output, context) => {
|
|
|
14755
14755
|
};
|
|
14756
14756
|
const deserializeAws_json1_1SoftwareTokenMfaConfigType = (output, context) => {
|
|
14757
14757
|
return {
|
|
14758
|
-
Enabled:
|
|
14758
|
+
Enabled: smithy_client_1.expectBoolean(output.Enabled),
|
|
14759
14759
|
};
|
|
14760
14760
|
};
|
|
14761
14761
|
const deserializeAws_json1_1SoftwareTokenMFANotFoundException = (output, context) => {
|
|
14762
14762
|
return {
|
|
14763
|
-
message:
|
|
14763
|
+
message: smithy_client_1.expectString(output.message),
|
|
14764
14764
|
};
|
|
14765
14765
|
};
|
|
14766
14766
|
const deserializeAws_json1_1StartUserImportJobResponse = (output, context) => {
|
|
@@ -14779,8 +14779,8 @@ const deserializeAws_json1_1StopUserImportJobResponse = (output, context) => {
|
|
|
14779
14779
|
};
|
|
14780
14780
|
const deserializeAws_json1_1StringAttributeConstraintsType = (output, context) => {
|
|
14781
14781
|
return {
|
|
14782
|
-
MaxLength:
|
|
14783
|
-
MinLength:
|
|
14782
|
+
MaxLength: smithy_client_1.expectString(output.MaxLength),
|
|
14783
|
+
MinLength: smithy_client_1.expectString(output.MinLength),
|
|
14784
14784
|
};
|
|
14785
14785
|
};
|
|
14786
14786
|
const deserializeAws_json1_1SupportedIdentityProvidersListType = (output, context) => {
|
|
@@ -14790,7 +14790,7 @@ const deserializeAws_json1_1SupportedIdentityProvidersListType = (output, contex
|
|
|
14790
14790
|
if (entry === null) {
|
|
14791
14791
|
return null;
|
|
14792
14792
|
}
|
|
14793
|
-
return
|
|
14793
|
+
return smithy_client_1.expectString(entry);
|
|
14794
14794
|
});
|
|
14795
14795
|
};
|
|
14796
14796
|
const deserializeAws_json1_1TagResourceResponse = (output, context) => {
|
|
@@ -14798,64 +14798,64 @@ const deserializeAws_json1_1TagResourceResponse = (output, context) => {
|
|
|
14798
14798
|
};
|
|
14799
14799
|
const deserializeAws_json1_1TokenValidityUnitsType = (output, context) => {
|
|
14800
14800
|
return {
|
|
14801
|
-
AccessToken:
|
|
14802
|
-
IdToken:
|
|
14803
|
-
RefreshToken:
|
|
14801
|
+
AccessToken: smithy_client_1.expectString(output.AccessToken),
|
|
14802
|
+
IdToken: smithy_client_1.expectString(output.IdToken),
|
|
14803
|
+
RefreshToken: smithy_client_1.expectString(output.RefreshToken),
|
|
14804
14804
|
};
|
|
14805
14805
|
};
|
|
14806
14806
|
const deserializeAws_json1_1TooManyFailedAttemptsException = (output, context) => {
|
|
14807
14807
|
return {
|
|
14808
|
-
message:
|
|
14808
|
+
message: smithy_client_1.expectString(output.message),
|
|
14809
14809
|
};
|
|
14810
14810
|
};
|
|
14811
14811
|
const deserializeAws_json1_1TooManyRequestsException = (output, context) => {
|
|
14812
14812
|
return {
|
|
14813
|
-
message:
|
|
14813
|
+
message: smithy_client_1.expectString(output.message),
|
|
14814
14814
|
};
|
|
14815
14815
|
};
|
|
14816
14816
|
const deserializeAws_json1_1UICustomizationType = (output, context) => {
|
|
14817
14817
|
return {
|
|
14818
|
-
CSS:
|
|
14819
|
-
CSSVersion:
|
|
14820
|
-
ClientId:
|
|
14818
|
+
CSS: smithy_client_1.expectString(output.CSS),
|
|
14819
|
+
CSSVersion: smithy_client_1.expectString(output.CSSVersion),
|
|
14820
|
+
ClientId: smithy_client_1.expectString(output.ClientId),
|
|
14821
14821
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
14822
|
-
?
|
|
14822
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
|
|
14823
14823
|
: undefined,
|
|
14824
|
-
ImageUrl:
|
|
14824
|
+
ImageUrl: smithy_client_1.expectString(output.ImageUrl),
|
|
14825
14825
|
LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
|
|
14826
|
-
?
|
|
14826
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
|
|
14827
14827
|
: undefined,
|
|
14828
|
-
UserPoolId:
|
|
14828
|
+
UserPoolId: smithy_client_1.expectString(output.UserPoolId),
|
|
14829
14829
|
};
|
|
14830
14830
|
};
|
|
14831
14831
|
const deserializeAws_json1_1UnauthorizedException = (output, context) => {
|
|
14832
14832
|
return {
|
|
14833
|
-
message:
|
|
14833
|
+
message: smithy_client_1.expectString(output.message),
|
|
14834
14834
|
};
|
|
14835
14835
|
};
|
|
14836
14836
|
const deserializeAws_json1_1UnexpectedLambdaException = (output, context) => {
|
|
14837
14837
|
return {
|
|
14838
|
-
message:
|
|
14838
|
+
message: smithy_client_1.expectString(output.message),
|
|
14839
14839
|
};
|
|
14840
14840
|
};
|
|
14841
14841
|
const deserializeAws_json1_1UnsupportedIdentityProviderException = (output, context) => {
|
|
14842
14842
|
return {
|
|
14843
|
-
message:
|
|
14843
|
+
message: smithy_client_1.expectString(output.message),
|
|
14844
14844
|
};
|
|
14845
14845
|
};
|
|
14846
14846
|
const deserializeAws_json1_1UnsupportedOperationException = (output, context) => {
|
|
14847
14847
|
return {
|
|
14848
|
-
message:
|
|
14848
|
+
message: smithy_client_1.expectString(output.message),
|
|
14849
14849
|
};
|
|
14850
14850
|
};
|
|
14851
14851
|
const deserializeAws_json1_1UnsupportedTokenTypeException = (output, context) => {
|
|
14852
14852
|
return {
|
|
14853
|
-
message:
|
|
14853
|
+
message: smithy_client_1.expectString(output.message),
|
|
14854
14854
|
};
|
|
14855
14855
|
};
|
|
14856
14856
|
const deserializeAws_json1_1UnsupportedUserStateException = (output, context) => {
|
|
14857
14857
|
return {
|
|
14858
|
-
message:
|
|
14858
|
+
message: smithy_client_1.expectString(output.message),
|
|
14859
14859
|
};
|
|
14860
14860
|
};
|
|
14861
14861
|
const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
|
|
@@ -14904,7 +14904,7 @@ const deserializeAws_json1_1UpdateUserPoolClientResponse = (output, context) =>
|
|
|
14904
14904
|
};
|
|
14905
14905
|
const deserializeAws_json1_1UpdateUserPoolDomainResponse = (output, context) => {
|
|
14906
14906
|
return {
|
|
14907
|
-
CloudFrontDomain:
|
|
14907
|
+
CloudFrontDomain: smithy_client_1.expectString(output.CloudFrontDomain),
|
|
14908
14908
|
};
|
|
14909
14909
|
};
|
|
14910
14910
|
const deserializeAws_json1_1UpdateUserPoolResponse = (output, context) => {
|
|
@@ -14912,7 +14912,7 @@ const deserializeAws_json1_1UpdateUserPoolResponse = (output, context) => {
|
|
|
14912
14912
|
};
|
|
14913
14913
|
const deserializeAws_json1_1UserImportInProgressException = (output, context) => {
|
|
14914
14914
|
return {
|
|
14915
|
-
message:
|
|
14915
|
+
message: smithy_client_1.expectString(output.message),
|
|
14916
14916
|
};
|
|
14917
14917
|
};
|
|
14918
14918
|
const deserializeAws_json1_1UserImportJobsListType = (output, context) => {
|
|
@@ -14927,30 +14927,30 @@ const deserializeAws_json1_1UserImportJobsListType = (output, context) => {
|
|
|
14927
14927
|
};
|
|
14928
14928
|
const deserializeAws_json1_1UserImportJobType = (output, context) => {
|
|
14929
14929
|
return {
|
|
14930
|
-
CloudWatchLogsRoleArn:
|
|
14930
|
+
CloudWatchLogsRoleArn: smithy_client_1.expectString(output.CloudWatchLogsRoleArn),
|
|
14931
14931
|
CompletionDate: output.CompletionDate !== undefined && output.CompletionDate !== null
|
|
14932
|
-
?
|
|
14932
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CompletionDate)))
|
|
14933
14933
|
: undefined,
|
|
14934
|
-
CompletionMessage:
|
|
14934
|
+
CompletionMessage: smithy_client_1.expectString(output.CompletionMessage),
|
|
14935
14935
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
14936
|
-
?
|
|
14937
|
-
: undefined,
|
|
14938
|
-
FailedUsers:
|
|
14939
|
-
ImportedUsers:
|
|
14940
|
-
JobId:
|
|
14941
|
-
JobName:
|
|
14942
|
-
PreSignedUrl:
|
|
14943
|
-
SkippedUsers:
|
|
14936
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
|
|
14937
|
+
: undefined,
|
|
14938
|
+
FailedUsers: smithy_client_1.expectLong(output.FailedUsers),
|
|
14939
|
+
ImportedUsers: smithy_client_1.expectLong(output.ImportedUsers),
|
|
14940
|
+
JobId: smithy_client_1.expectString(output.JobId),
|
|
14941
|
+
JobName: smithy_client_1.expectString(output.JobName),
|
|
14942
|
+
PreSignedUrl: smithy_client_1.expectString(output.PreSignedUrl),
|
|
14943
|
+
SkippedUsers: smithy_client_1.expectLong(output.SkippedUsers),
|
|
14944
14944
|
StartDate: output.StartDate !== undefined && output.StartDate !== null
|
|
14945
|
-
?
|
|
14945
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartDate)))
|
|
14946
14946
|
: undefined,
|
|
14947
|
-
Status:
|
|
14948
|
-
UserPoolId:
|
|
14947
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
14948
|
+
UserPoolId: smithy_client_1.expectString(output.UserPoolId),
|
|
14949
14949
|
};
|
|
14950
14950
|
};
|
|
14951
14951
|
const deserializeAws_json1_1UserLambdaValidationException = (output, context) => {
|
|
14952
14952
|
return {
|
|
14953
|
-
message:
|
|
14953
|
+
message: smithy_client_1.expectString(output.message),
|
|
14954
14954
|
};
|
|
14955
14955
|
};
|
|
14956
14956
|
const deserializeAws_json1_1UserMFASettingListType = (output, context) => {
|
|
@@ -14960,7 +14960,7 @@ const deserializeAws_json1_1UserMFASettingListType = (output, context) => {
|
|
|
14960
14960
|
if (entry === null) {
|
|
14961
14961
|
return null;
|
|
14962
14962
|
}
|
|
14963
|
-
return
|
|
14963
|
+
return smithy_client_1.expectString(entry);
|
|
14964
14964
|
});
|
|
14965
14965
|
};
|
|
14966
14966
|
const deserializeAws_json1_1UsernameAttributesListType = (output, context) => {
|
|
@@ -14970,44 +14970,44 @@ const deserializeAws_json1_1UsernameAttributesListType = (output, context) => {
|
|
|
14970
14970
|
if (entry === null) {
|
|
14971
14971
|
return null;
|
|
14972
14972
|
}
|
|
14973
|
-
return
|
|
14973
|
+
return smithy_client_1.expectString(entry);
|
|
14974
14974
|
});
|
|
14975
14975
|
};
|
|
14976
14976
|
const deserializeAws_json1_1UsernameConfigurationType = (output, context) => {
|
|
14977
14977
|
return {
|
|
14978
|
-
CaseSensitive:
|
|
14978
|
+
CaseSensitive: smithy_client_1.expectBoolean(output.CaseSensitive),
|
|
14979
14979
|
};
|
|
14980
14980
|
};
|
|
14981
14981
|
const deserializeAws_json1_1UsernameExistsException = (output, context) => {
|
|
14982
14982
|
return {
|
|
14983
|
-
message:
|
|
14983
|
+
message: smithy_client_1.expectString(output.message),
|
|
14984
14984
|
};
|
|
14985
14985
|
};
|
|
14986
14986
|
const deserializeAws_json1_1UserNotConfirmedException = (output, context) => {
|
|
14987
14987
|
return {
|
|
14988
|
-
message:
|
|
14988
|
+
message: smithy_client_1.expectString(output.message),
|
|
14989
14989
|
};
|
|
14990
14990
|
};
|
|
14991
14991
|
const deserializeAws_json1_1UserNotFoundException = (output, context) => {
|
|
14992
14992
|
return {
|
|
14993
|
-
message:
|
|
14993
|
+
message: smithy_client_1.expectString(output.message),
|
|
14994
14994
|
};
|
|
14995
14995
|
};
|
|
14996
14996
|
const deserializeAws_json1_1UserPoolAddOnNotEnabledException = (output, context) => {
|
|
14997
14997
|
return {
|
|
14998
|
-
message:
|
|
14998
|
+
message: smithy_client_1.expectString(output.message),
|
|
14999
14999
|
};
|
|
15000
15000
|
};
|
|
15001
15001
|
const deserializeAws_json1_1UserPoolAddOnsType = (output, context) => {
|
|
15002
15002
|
return {
|
|
15003
|
-
AdvancedSecurityMode:
|
|
15003
|
+
AdvancedSecurityMode: smithy_client_1.expectString(output.AdvancedSecurityMode),
|
|
15004
15004
|
};
|
|
15005
15005
|
};
|
|
15006
15006
|
const deserializeAws_json1_1UserPoolClientDescription = (output, context) => {
|
|
15007
15007
|
return {
|
|
15008
|
-
ClientId:
|
|
15009
|
-
ClientName:
|
|
15010
|
-
UserPoolId:
|
|
15008
|
+
ClientId: smithy_client_1.expectString(output.ClientId),
|
|
15009
|
+
ClientName: smithy_client_1.expectString(output.ClientName),
|
|
15010
|
+
UserPoolId: smithy_client_1.expectString(output.UserPoolId),
|
|
15011
15011
|
};
|
|
15012
15012
|
};
|
|
15013
15013
|
const deserializeAws_json1_1UserPoolClientListType = (output, context) => {
|
|
@@ -15022,11 +15022,11 @@ const deserializeAws_json1_1UserPoolClientListType = (output, context) => {
|
|
|
15022
15022
|
};
|
|
15023
15023
|
const deserializeAws_json1_1UserPoolClientType = (output, context) => {
|
|
15024
15024
|
return {
|
|
15025
|
-
AccessTokenValidity:
|
|
15025
|
+
AccessTokenValidity: smithy_client_1.expectInt32(output.AccessTokenValidity),
|
|
15026
15026
|
AllowedOAuthFlows: output.AllowedOAuthFlows !== undefined && output.AllowedOAuthFlows !== null
|
|
15027
15027
|
? deserializeAws_json1_1OAuthFlowsType(output.AllowedOAuthFlows, context)
|
|
15028
15028
|
: undefined,
|
|
15029
|
-
AllowedOAuthFlowsUserPoolClient:
|
|
15029
|
+
AllowedOAuthFlowsUserPoolClient: smithy_client_1.expectBoolean(output.AllowedOAuthFlowsUserPoolClient),
|
|
15030
15030
|
AllowedOAuthScopes: output.AllowedOAuthScopes !== undefined && output.AllowedOAuthScopes !== null
|
|
15031
15031
|
? deserializeAws_json1_1ScopeListType(output.AllowedOAuthScopes, context)
|
|
15032
15032
|
: undefined,
|
|
@@ -15036,36 +15036,36 @@ const deserializeAws_json1_1UserPoolClientType = (output, context) => {
|
|
|
15036
15036
|
CallbackURLs: output.CallbackURLs !== undefined && output.CallbackURLs !== null
|
|
15037
15037
|
? deserializeAws_json1_1CallbackURLsListType(output.CallbackURLs, context)
|
|
15038
15038
|
: undefined,
|
|
15039
|
-
ClientId:
|
|
15040
|
-
ClientName:
|
|
15041
|
-
ClientSecret:
|
|
15039
|
+
ClientId: smithy_client_1.expectString(output.ClientId),
|
|
15040
|
+
ClientName: smithy_client_1.expectString(output.ClientName),
|
|
15041
|
+
ClientSecret: smithy_client_1.expectString(output.ClientSecret),
|
|
15042
15042
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
15043
|
-
?
|
|
15043
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
|
|
15044
15044
|
: undefined,
|
|
15045
|
-
DefaultRedirectURI:
|
|
15046
|
-
EnableTokenRevocation:
|
|
15045
|
+
DefaultRedirectURI: smithy_client_1.expectString(output.DefaultRedirectURI),
|
|
15046
|
+
EnableTokenRevocation: smithy_client_1.expectBoolean(output.EnableTokenRevocation),
|
|
15047
15047
|
ExplicitAuthFlows: output.ExplicitAuthFlows !== undefined && output.ExplicitAuthFlows !== null
|
|
15048
15048
|
? deserializeAws_json1_1ExplicitAuthFlowsListType(output.ExplicitAuthFlows, context)
|
|
15049
15049
|
: undefined,
|
|
15050
|
-
IdTokenValidity:
|
|
15050
|
+
IdTokenValidity: smithy_client_1.expectInt32(output.IdTokenValidity),
|
|
15051
15051
|
LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
|
|
15052
|
-
?
|
|
15052
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
|
|
15053
15053
|
: undefined,
|
|
15054
15054
|
LogoutURLs: output.LogoutURLs !== undefined && output.LogoutURLs !== null
|
|
15055
15055
|
? deserializeAws_json1_1LogoutURLsListType(output.LogoutURLs, context)
|
|
15056
15056
|
: undefined,
|
|
15057
|
-
PreventUserExistenceErrors:
|
|
15057
|
+
PreventUserExistenceErrors: smithy_client_1.expectString(output.PreventUserExistenceErrors),
|
|
15058
15058
|
ReadAttributes: output.ReadAttributes !== undefined && output.ReadAttributes !== null
|
|
15059
15059
|
? deserializeAws_json1_1ClientPermissionListType(output.ReadAttributes, context)
|
|
15060
15060
|
: undefined,
|
|
15061
|
-
RefreshTokenValidity:
|
|
15061
|
+
RefreshTokenValidity: smithy_client_1.expectInt32(output.RefreshTokenValidity),
|
|
15062
15062
|
SupportedIdentityProviders: output.SupportedIdentityProviders !== undefined && output.SupportedIdentityProviders !== null
|
|
15063
15063
|
? deserializeAws_json1_1SupportedIdentityProvidersListType(output.SupportedIdentityProviders, context)
|
|
15064
15064
|
: undefined,
|
|
15065
15065
|
TokenValidityUnits: output.TokenValidityUnits !== undefined && output.TokenValidityUnits !== null
|
|
15066
15066
|
? deserializeAws_json1_1TokenValidityUnitsType(output.TokenValidityUnits, context)
|
|
15067
15067
|
: undefined,
|
|
15068
|
-
UserPoolId:
|
|
15068
|
+
UserPoolId: smithy_client_1.expectString(output.UserPoolId),
|
|
15069
15069
|
WriteAttributes: output.WriteAttributes !== undefined && output.WriteAttributes !== null
|
|
15070
15070
|
? deserializeAws_json1_1ClientPermissionListType(output.WriteAttributes, context)
|
|
15071
15071
|
: undefined,
|
|
@@ -15074,17 +15074,17 @@ const deserializeAws_json1_1UserPoolClientType = (output, context) => {
|
|
|
15074
15074
|
const deserializeAws_json1_1UserPoolDescriptionType = (output, context) => {
|
|
15075
15075
|
return {
|
|
15076
15076
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
15077
|
-
?
|
|
15077
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
|
|
15078
15078
|
: undefined,
|
|
15079
|
-
Id:
|
|
15079
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
15080
15080
|
LambdaConfig: output.LambdaConfig !== undefined && output.LambdaConfig !== null
|
|
15081
15081
|
? deserializeAws_json1_1LambdaConfigType(output.LambdaConfig, context)
|
|
15082
15082
|
: undefined,
|
|
15083
15083
|
LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
|
|
15084
|
-
?
|
|
15084
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
|
|
15085
15085
|
: undefined,
|
|
15086
|
-
Name:
|
|
15087
|
-
Status:
|
|
15086
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
15087
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
15088
15088
|
};
|
|
15089
15089
|
};
|
|
15090
15090
|
const deserializeAws_json1_1UserPoolListType = (output, context) => {
|
|
@@ -15106,7 +15106,7 @@ const deserializeAws_json1_1UserPoolPolicyType = (output, context) => {
|
|
|
15106
15106
|
};
|
|
15107
15107
|
const deserializeAws_json1_1UserPoolTaggingException = (output, context) => {
|
|
15108
15108
|
return {
|
|
15109
|
-
message:
|
|
15109
|
+
message: smithy_client_1.expectString(output.message),
|
|
15110
15110
|
};
|
|
15111
15111
|
};
|
|
15112
15112
|
const deserializeAws_json1_1UserPoolTagsType = (output, context) => {
|
|
@@ -15116,7 +15116,7 @@ const deserializeAws_json1_1UserPoolTagsType = (output, context) => {
|
|
|
15116
15116
|
}
|
|
15117
15117
|
return {
|
|
15118
15118
|
...acc,
|
|
15119
|
-
[key]:
|
|
15119
|
+
[key]: smithy_client_1.expectString(value),
|
|
15120
15120
|
};
|
|
15121
15121
|
}, {});
|
|
15122
15122
|
};
|
|
@@ -15131,47 +15131,47 @@ const deserializeAws_json1_1UserPoolType = (output, context) => {
|
|
|
15131
15131
|
AliasAttributes: output.AliasAttributes !== undefined && output.AliasAttributes !== null
|
|
15132
15132
|
? deserializeAws_json1_1AliasAttributesListType(output.AliasAttributes, context)
|
|
15133
15133
|
: undefined,
|
|
15134
|
-
Arn:
|
|
15134
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
15135
15135
|
AutoVerifiedAttributes: output.AutoVerifiedAttributes !== undefined && output.AutoVerifiedAttributes !== null
|
|
15136
15136
|
? deserializeAws_json1_1VerifiedAttributesListType(output.AutoVerifiedAttributes, context)
|
|
15137
15137
|
: undefined,
|
|
15138
15138
|
CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
|
|
15139
|
-
?
|
|
15139
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
|
|
15140
15140
|
: undefined,
|
|
15141
|
-
CustomDomain:
|
|
15141
|
+
CustomDomain: smithy_client_1.expectString(output.CustomDomain),
|
|
15142
15142
|
DeviceConfiguration: output.DeviceConfiguration !== undefined && output.DeviceConfiguration !== null
|
|
15143
15143
|
? deserializeAws_json1_1DeviceConfigurationType(output.DeviceConfiguration, context)
|
|
15144
15144
|
: undefined,
|
|
15145
|
-
Domain:
|
|
15145
|
+
Domain: smithy_client_1.expectString(output.Domain),
|
|
15146
15146
|
EmailConfiguration: output.EmailConfiguration !== undefined && output.EmailConfiguration !== null
|
|
15147
15147
|
? deserializeAws_json1_1EmailConfigurationType(output.EmailConfiguration, context)
|
|
15148
15148
|
: undefined,
|
|
15149
|
-
EmailConfigurationFailure:
|
|
15150
|
-
EmailVerificationMessage:
|
|
15151
|
-
EmailVerificationSubject:
|
|
15152
|
-
EstimatedNumberOfUsers:
|
|
15153
|
-
Id:
|
|
15149
|
+
EmailConfigurationFailure: smithy_client_1.expectString(output.EmailConfigurationFailure),
|
|
15150
|
+
EmailVerificationMessage: smithy_client_1.expectString(output.EmailVerificationMessage),
|
|
15151
|
+
EmailVerificationSubject: smithy_client_1.expectString(output.EmailVerificationSubject),
|
|
15152
|
+
EstimatedNumberOfUsers: smithy_client_1.expectInt32(output.EstimatedNumberOfUsers),
|
|
15153
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
15154
15154
|
LambdaConfig: output.LambdaConfig !== undefined && output.LambdaConfig !== null
|
|
15155
15155
|
? deserializeAws_json1_1LambdaConfigType(output.LambdaConfig, context)
|
|
15156
15156
|
: undefined,
|
|
15157
15157
|
LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
|
|
15158
|
-
?
|
|
15158
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
|
|
15159
15159
|
: undefined,
|
|
15160
|
-
MfaConfiguration:
|
|
15161
|
-
Name:
|
|
15160
|
+
MfaConfiguration: smithy_client_1.expectString(output.MfaConfiguration),
|
|
15161
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
15162
15162
|
Policies: output.Policies !== undefined && output.Policies !== null
|
|
15163
15163
|
? deserializeAws_json1_1UserPoolPolicyType(output.Policies, context)
|
|
15164
15164
|
: undefined,
|
|
15165
15165
|
SchemaAttributes: output.SchemaAttributes !== undefined && output.SchemaAttributes !== null
|
|
15166
15166
|
? deserializeAws_json1_1SchemaAttributesListType(output.SchemaAttributes, context)
|
|
15167
15167
|
: undefined,
|
|
15168
|
-
SmsAuthenticationMessage:
|
|
15168
|
+
SmsAuthenticationMessage: smithy_client_1.expectString(output.SmsAuthenticationMessage),
|
|
15169
15169
|
SmsConfiguration: output.SmsConfiguration !== undefined && output.SmsConfiguration !== null
|
|
15170
15170
|
? deserializeAws_json1_1SmsConfigurationType(output.SmsConfiguration, context)
|
|
15171
15171
|
: undefined,
|
|
15172
|
-
SmsConfigurationFailure:
|
|
15173
|
-
SmsVerificationMessage:
|
|
15174
|
-
Status:
|
|
15172
|
+
SmsConfigurationFailure: smithy_client_1.expectString(output.SmsConfigurationFailure),
|
|
15173
|
+
SmsVerificationMessage: smithy_client_1.expectString(output.SmsVerificationMessage),
|
|
15174
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
15175
15175
|
UserPoolAddOns: output.UserPoolAddOns !== undefined && output.UserPoolAddOns !== null
|
|
15176
15176
|
? deserializeAws_json1_1UserPoolAddOnsType(output.UserPoolAddOns, context)
|
|
15177
15177
|
: undefined,
|
|
@@ -15204,28 +15204,28 @@ const deserializeAws_json1_1UserType = (output, context) => {
|
|
|
15204
15204
|
Attributes: output.Attributes !== undefined && output.Attributes !== null
|
|
15205
15205
|
? deserializeAws_json1_1AttributeListType(output.Attributes, context)
|
|
15206
15206
|
: undefined,
|
|
15207
|
-
Enabled:
|
|
15207
|
+
Enabled: smithy_client_1.expectBoolean(output.Enabled),
|
|
15208
15208
|
MFAOptions: output.MFAOptions !== undefined && output.MFAOptions !== null
|
|
15209
15209
|
? deserializeAws_json1_1MFAOptionListType(output.MFAOptions, context)
|
|
15210
15210
|
: undefined,
|
|
15211
15211
|
UserCreateDate: output.UserCreateDate !== undefined && output.UserCreateDate !== null
|
|
15212
|
-
?
|
|
15212
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UserCreateDate)))
|
|
15213
15213
|
: undefined,
|
|
15214
15214
|
UserLastModifiedDate: output.UserLastModifiedDate !== undefined && output.UserLastModifiedDate !== null
|
|
15215
|
-
?
|
|
15215
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UserLastModifiedDate)))
|
|
15216
15216
|
: undefined,
|
|
15217
|
-
UserStatus:
|
|
15218
|
-
Username:
|
|
15217
|
+
UserStatus: smithy_client_1.expectString(output.UserStatus),
|
|
15218
|
+
Username: smithy_client_1.expectString(output.Username),
|
|
15219
15219
|
};
|
|
15220
15220
|
};
|
|
15221
15221
|
const deserializeAws_json1_1VerificationMessageTemplateType = (output, context) => {
|
|
15222
15222
|
return {
|
|
15223
|
-
DefaultEmailOption:
|
|
15224
|
-
EmailMessage:
|
|
15225
|
-
EmailMessageByLink:
|
|
15226
|
-
EmailSubject:
|
|
15227
|
-
EmailSubjectByLink:
|
|
15228
|
-
SmsMessage:
|
|
15223
|
+
DefaultEmailOption: smithy_client_1.expectString(output.DefaultEmailOption),
|
|
15224
|
+
EmailMessage: smithy_client_1.expectString(output.EmailMessage),
|
|
15225
|
+
EmailMessageByLink: smithy_client_1.expectString(output.EmailMessageByLink),
|
|
15226
|
+
EmailSubject: smithy_client_1.expectString(output.EmailSubject),
|
|
15227
|
+
EmailSubjectByLink: smithy_client_1.expectString(output.EmailSubjectByLink),
|
|
15228
|
+
SmsMessage: smithy_client_1.expectString(output.SmsMessage),
|
|
15229
15229
|
};
|
|
15230
15230
|
};
|
|
15231
15231
|
const deserializeAws_json1_1VerifiedAttributesListType = (output, context) => {
|
|
@@ -15235,13 +15235,13 @@ const deserializeAws_json1_1VerifiedAttributesListType = (output, context) => {
|
|
|
15235
15235
|
if (entry === null) {
|
|
15236
15236
|
return null;
|
|
15237
15237
|
}
|
|
15238
|
-
return
|
|
15238
|
+
return smithy_client_1.expectString(entry);
|
|
15239
15239
|
});
|
|
15240
15240
|
};
|
|
15241
15241
|
const deserializeAws_json1_1VerifySoftwareTokenResponse = (output, context) => {
|
|
15242
15242
|
return {
|
|
15243
|
-
Session:
|
|
15244
|
-
Status:
|
|
15243
|
+
Session: smithy_client_1.expectString(output.Session),
|
|
15244
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
15245
15245
|
};
|
|
15246
15246
|
};
|
|
15247
15247
|
const deserializeAws_json1_1VerifyUserAttributeResponse = (output, context) => {
|