@aws-sdk/client-cognito-identity-provider 3.193.0 → 3.196.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 +19 -0
- package/dist-cjs/CognitoIdentityProviderClient.js +11 -8
- package/dist-cjs/commands/AddCustomAttributesCommand.js +10 -0
- package/dist-cjs/commands/AdminAddUserToGroupCommand.js +10 -0
- package/dist-cjs/commands/AdminConfirmSignUpCommand.js +10 -0
- package/dist-cjs/commands/AdminCreateUserCommand.js +10 -0
- package/dist-cjs/commands/AdminDeleteUserAttributesCommand.js +10 -0
- package/dist-cjs/commands/AdminDeleteUserCommand.js +10 -0
- package/dist-cjs/commands/AdminDisableProviderForUserCommand.js +10 -0
- package/dist-cjs/commands/AdminDisableUserCommand.js +10 -0
- package/dist-cjs/commands/AdminEnableUserCommand.js +10 -0
- package/dist-cjs/commands/AdminForgetDeviceCommand.js +10 -0
- package/dist-cjs/commands/AdminGetDeviceCommand.js +10 -0
- package/dist-cjs/commands/AdminGetUserCommand.js +10 -0
- package/dist-cjs/commands/AdminInitiateAuthCommand.js +10 -0
- package/dist-cjs/commands/AdminLinkProviderForUserCommand.js +10 -0
- package/dist-cjs/commands/AdminListDevicesCommand.js +10 -0
- package/dist-cjs/commands/AdminListGroupsForUserCommand.js +10 -0
- package/dist-cjs/commands/AdminListUserAuthEventsCommand.js +10 -0
- package/dist-cjs/commands/AdminRemoveUserFromGroupCommand.js +10 -0
- package/dist-cjs/commands/AdminResetUserPasswordCommand.js +10 -0
- package/dist-cjs/commands/AdminRespondToAuthChallengeCommand.js +10 -0
- package/dist-cjs/commands/AdminSetUserMFAPreferenceCommand.js +10 -0
- package/dist-cjs/commands/AdminSetUserPasswordCommand.js +10 -0
- package/dist-cjs/commands/AdminSetUserSettingsCommand.js +10 -0
- package/dist-cjs/commands/AdminUpdateAuthEventFeedbackCommand.js +10 -0
- package/dist-cjs/commands/AdminUpdateDeviceStatusCommand.js +10 -0
- package/dist-cjs/commands/AdminUpdateUserAttributesCommand.js +10 -0
- package/dist-cjs/commands/AdminUserGlobalSignOutCommand.js +10 -0
- package/dist-cjs/commands/AssociateSoftwareTokenCommand.js +10 -0
- package/dist-cjs/commands/ChangePasswordCommand.js +10 -0
- package/dist-cjs/commands/ConfirmDeviceCommand.js +10 -0
- package/dist-cjs/commands/ConfirmForgotPasswordCommand.js +10 -0
- package/dist-cjs/commands/ConfirmSignUpCommand.js +10 -0
- package/dist-cjs/commands/CreateGroupCommand.js +10 -0
- package/dist-cjs/commands/CreateIdentityProviderCommand.js +10 -0
- package/dist-cjs/commands/CreateResourceServerCommand.js +10 -0
- package/dist-cjs/commands/CreateUserImportJobCommand.js +10 -0
- package/dist-cjs/commands/CreateUserPoolClientCommand.js +10 -0
- package/dist-cjs/commands/CreateUserPoolCommand.js +10 -0
- package/dist-cjs/commands/CreateUserPoolDomainCommand.js +10 -0
- package/dist-cjs/commands/DeleteGroupCommand.js +10 -0
- package/dist-cjs/commands/DeleteIdentityProviderCommand.js +10 -0
- package/dist-cjs/commands/DeleteResourceServerCommand.js +10 -0
- package/dist-cjs/commands/DeleteUserAttributesCommand.js +10 -0
- package/dist-cjs/commands/DeleteUserCommand.js +10 -0
- package/dist-cjs/commands/DeleteUserPoolClientCommand.js +10 -0
- package/dist-cjs/commands/DeleteUserPoolCommand.js +10 -0
- package/dist-cjs/commands/DeleteUserPoolDomainCommand.js +10 -0
- package/dist-cjs/commands/DescribeIdentityProviderCommand.js +10 -0
- package/dist-cjs/commands/DescribeResourceServerCommand.js +10 -0
- package/dist-cjs/commands/DescribeRiskConfigurationCommand.js +10 -0
- package/dist-cjs/commands/DescribeUserImportJobCommand.js +10 -0
- package/dist-cjs/commands/DescribeUserPoolClientCommand.js +10 -0
- package/dist-cjs/commands/DescribeUserPoolCommand.js +10 -0
- package/dist-cjs/commands/DescribeUserPoolDomainCommand.js +10 -0
- package/dist-cjs/commands/ForgetDeviceCommand.js +10 -0
- package/dist-cjs/commands/ForgotPasswordCommand.js +10 -0
- package/dist-cjs/commands/GetCSVHeaderCommand.js +10 -0
- package/dist-cjs/commands/GetDeviceCommand.js +10 -0
- package/dist-cjs/commands/GetGroupCommand.js +10 -0
- package/dist-cjs/commands/GetIdentityProviderByIdentifierCommand.js +10 -0
- package/dist-cjs/commands/GetSigningCertificateCommand.js +10 -0
- package/dist-cjs/commands/GetUICustomizationCommand.js +10 -0
- package/dist-cjs/commands/GetUserAttributeVerificationCodeCommand.js +10 -0
- package/dist-cjs/commands/GetUserCommand.js +10 -0
- package/dist-cjs/commands/GetUserPoolMfaConfigCommand.js +10 -0
- package/dist-cjs/commands/GlobalSignOutCommand.js +10 -0
- package/dist-cjs/commands/InitiateAuthCommand.js +10 -0
- package/dist-cjs/commands/ListDevicesCommand.js +10 -0
- package/dist-cjs/commands/ListGroupsCommand.js +10 -0
- package/dist-cjs/commands/ListIdentityProvidersCommand.js +10 -0
- package/dist-cjs/commands/ListResourceServersCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/ListUserImportJobsCommand.js +10 -0
- package/dist-cjs/commands/ListUserPoolClientsCommand.js +10 -0
- package/dist-cjs/commands/ListUserPoolsCommand.js +10 -0
- package/dist-cjs/commands/ListUsersCommand.js +10 -0
- package/dist-cjs/commands/ListUsersInGroupCommand.js +10 -0
- package/dist-cjs/commands/ResendConfirmationCodeCommand.js +10 -0
- package/dist-cjs/commands/RespondToAuthChallengeCommand.js +10 -0
- package/dist-cjs/commands/RevokeTokenCommand.js +10 -0
- package/dist-cjs/commands/SetRiskConfigurationCommand.js +10 -0
- package/dist-cjs/commands/SetUICustomizationCommand.js +10 -0
- package/dist-cjs/commands/SetUserMFAPreferenceCommand.js +10 -0
- package/dist-cjs/commands/SetUserPoolMfaConfigCommand.js +10 -0
- package/dist-cjs/commands/SetUserSettingsCommand.js +10 -0
- package/dist-cjs/commands/SignUpCommand.js +11 -2
- package/dist-cjs/commands/StartUserImportJobCommand.js +10 -0
- package/dist-cjs/commands/StopUserImportJobCommand.js +10 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateAuthEventFeedbackCommand.js +10 -0
- package/dist-cjs/commands/UpdateDeviceStatusCommand.js +10 -0
- package/dist-cjs/commands/UpdateGroupCommand.js +10 -0
- package/dist-cjs/commands/UpdateIdentityProviderCommand.js +10 -0
- package/dist-cjs/commands/UpdateResourceServerCommand.js +10 -0
- package/dist-cjs/commands/UpdateUserAttributesCommand.js +10 -0
- package/dist-cjs/commands/UpdateUserPoolClientCommand.js +10 -0
- package/dist-cjs/commands/UpdateUserPoolCommand.js +10 -0
- package/dist-cjs/commands/UpdateUserPoolDomainCommand.js +10 -0
- package/dist-cjs/commands/VerifySoftwareTokenCommand.js +10 -0
- package/dist-cjs/commands/VerifyUserAttributeCommand.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +318 -0
- package/dist-cjs/models/models_0.js +10 -19
- package/dist-cjs/models/models_1.js +15 -1
- package/dist-cjs/protocols/Aws_json1_1.js +12 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/CognitoIdentityProviderClient.js +12 -9
- package/dist-es/commands/AddCustomAttributesCommand.js +10 -0
- package/dist-es/commands/AdminAddUserToGroupCommand.js +10 -0
- package/dist-es/commands/AdminConfirmSignUpCommand.js +10 -0
- package/dist-es/commands/AdminCreateUserCommand.js +10 -0
- package/dist-es/commands/AdminDeleteUserAttributesCommand.js +10 -0
- package/dist-es/commands/AdminDeleteUserCommand.js +10 -0
- package/dist-es/commands/AdminDisableProviderForUserCommand.js +10 -0
- package/dist-es/commands/AdminDisableUserCommand.js +10 -0
- package/dist-es/commands/AdminEnableUserCommand.js +10 -0
- package/dist-es/commands/AdminForgetDeviceCommand.js +10 -0
- package/dist-es/commands/AdminGetDeviceCommand.js +10 -0
- package/dist-es/commands/AdminGetUserCommand.js +10 -0
- package/dist-es/commands/AdminInitiateAuthCommand.js +10 -0
- package/dist-es/commands/AdminLinkProviderForUserCommand.js +10 -0
- package/dist-es/commands/AdminListDevicesCommand.js +10 -0
- package/dist-es/commands/AdminListGroupsForUserCommand.js +10 -0
- package/dist-es/commands/AdminListUserAuthEventsCommand.js +10 -0
- package/dist-es/commands/AdminRemoveUserFromGroupCommand.js +10 -0
- package/dist-es/commands/AdminResetUserPasswordCommand.js +10 -0
- package/dist-es/commands/AdminRespondToAuthChallengeCommand.js +10 -0
- package/dist-es/commands/AdminSetUserMFAPreferenceCommand.js +10 -0
- package/dist-es/commands/AdminSetUserPasswordCommand.js +10 -0
- package/dist-es/commands/AdminSetUserSettingsCommand.js +10 -0
- package/dist-es/commands/AdminUpdateAuthEventFeedbackCommand.js +10 -0
- package/dist-es/commands/AdminUpdateDeviceStatusCommand.js +10 -0
- package/dist-es/commands/AdminUpdateUserAttributesCommand.js +10 -0
- package/dist-es/commands/AdminUserGlobalSignOutCommand.js +10 -0
- package/dist-es/commands/AssociateSoftwareTokenCommand.js +10 -0
- package/dist-es/commands/ChangePasswordCommand.js +10 -0
- package/dist-es/commands/ConfirmDeviceCommand.js +10 -0
- package/dist-es/commands/ConfirmForgotPasswordCommand.js +10 -0
- package/dist-es/commands/ConfirmSignUpCommand.js +10 -0
- package/dist-es/commands/CreateGroupCommand.js +10 -0
- package/dist-es/commands/CreateIdentityProviderCommand.js +10 -0
- package/dist-es/commands/CreateResourceServerCommand.js +10 -0
- package/dist-es/commands/CreateUserImportJobCommand.js +10 -0
- package/dist-es/commands/CreateUserPoolClientCommand.js +10 -0
- package/dist-es/commands/CreateUserPoolCommand.js +10 -0
- package/dist-es/commands/CreateUserPoolDomainCommand.js +10 -0
- package/dist-es/commands/DeleteGroupCommand.js +10 -0
- package/dist-es/commands/DeleteIdentityProviderCommand.js +10 -0
- package/dist-es/commands/DeleteResourceServerCommand.js +10 -0
- package/dist-es/commands/DeleteUserAttributesCommand.js +10 -0
- package/dist-es/commands/DeleteUserCommand.js +10 -0
- package/dist-es/commands/DeleteUserPoolClientCommand.js +10 -0
- package/dist-es/commands/DeleteUserPoolCommand.js +10 -0
- package/dist-es/commands/DeleteUserPoolDomainCommand.js +10 -0
- package/dist-es/commands/DescribeIdentityProviderCommand.js +10 -0
- package/dist-es/commands/DescribeResourceServerCommand.js +10 -0
- package/dist-es/commands/DescribeRiskConfigurationCommand.js +10 -0
- package/dist-es/commands/DescribeUserImportJobCommand.js +10 -0
- package/dist-es/commands/DescribeUserPoolClientCommand.js +10 -0
- package/dist-es/commands/DescribeUserPoolCommand.js +10 -0
- package/dist-es/commands/DescribeUserPoolDomainCommand.js +10 -0
- package/dist-es/commands/ForgetDeviceCommand.js +10 -0
- package/dist-es/commands/ForgotPasswordCommand.js +10 -0
- package/dist-es/commands/GetCSVHeaderCommand.js +10 -0
- package/dist-es/commands/GetDeviceCommand.js +10 -0
- package/dist-es/commands/GetGroupCommand.js +10 -0
- package/dist-es/commands/GetIdentityProviderByIdentifierCommand.js +10 -0
- package/dist-es/commands/GetSigningCertificateCommand.js +10 -0
- package/dist-es/commands/GetUICustomizationCommand.js +10 -0
- package/dist-es/commands/GetUserAttributeVerificationCodeCommand.js +10 -0
- package/dist-es/commands/GetUserCommand.js +10 -0
- package/dist-es/commands/GetUserPoolMfaConfigCommand.js +10 -0
- package/dist-es/commands/GlobalSignOutCommand.js +10 -0
- package/dist-es/commands/InitiateAuthCommand.js +10 -0
- package/dist-es/commands/ListDevicesCommand.js +10 -0
- package/dist-es/commands/ListGroupsCommand.js +10 -0
- package/dist-es/commands/ListIdentityProvidersCommand.js +10 -0
- package/dist-es/commands/ListResourceServersCommand.js +10 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/ListUserImportJobsCommand.js +10 -0
- package/dist-es/commands/ListUserPoolClientsCommand.js +10 -0
- package/dist-es/commands/ListUserPoolsCommand.js +10 -0
- package/dist-es/commands/ListUsersCommand.js +10 -0
- package/dist-es/commands/ListUsersInGroupCommand.js +10 -0
- package/dist-es/commands/ResendConfirmationCodeCommand.js +10 -0
- package/dist-es/commands/RespondToAuthChallengeCommand.js +10 -0
- package/dist-es/commands/RevokeTokenCommand.js +10 -0
- package/dist-es/commands/SetRiskConfigurationCommand.js +10 -0
- package/dist-es/commands/SetUICustomizationCommand.js +10 -0
- package/dist-es/commands/SetUserMFAPreferenceCommand.js +10 -0
- package/dist-es/commands/SetUserPoolMfaConfigCommand.js +10 -0
- package/dist-es/commands/SetUserSettingsCommand.js +10 -0
- package/dist-es/commands/SignUpCommand.js +11 -2
- package/dist-es/commands/StartUserImportJobCommand.js +10 -0
- package/dist-es/commands/StopUserImportJobCommand.js +10 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateAuthEventFeedbackCommand.js +10 -0
- package/dist-es/commands/UpdateDeviceStatusCommand.js +10 -0
- package/dist-es/commands/UpdateGroupCommand.js +10 -0
- package/dist-es/commands/UpdateIdentityProviderCommand.js +10 -0
- package/dist-es/commands/UpdateResourceServerCommand.js +10 -0
- package/dist-es/commands/UpdateUserAttributesCommand.js +10 -0
- package/dist-es/commands/UpdateUserPoolClientCommand.js +10 -0
- package/dist-es/commands/UpdateUserPoolCommand.js +10 -0
- package/dist-es/commands/UpdateUserPoolDomainCommand.js +10 -0
- package/dist-es/commands/VerifySoftwareTokenCommand.js +10 -0
- package/dist-es/commands/VerifyUserAttributeCommand.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +315 -0
- package/dist-es/models/models_0.js +5 -13
- package/dist-es/models/models_1.js +13 -0
- package/dist-es/protocols/Aws_json1_1.js +12 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/CognitoIdentityProvider.d.ts +11 -10
- package/dist-types/CognitoIdentityProviderClient.d.ts +6 -9
- package/dist-types/commands/AddCustomAttributesCommand.d.ts +2 -0
- package/dist-types/commands/AdminAddUserToGroupCommand.d.ts +2 -0
- package/dist-types/commands/AdminConfirmSignUpCommand.d.ts +2 -0
- package/dist-types/commands/AdminCreateUserCommand.d.ts +2 -0
- package/dist-types/commands/AdminDeleteUserAttributesCommand.d.ts +2 -0
- package/dist-types/commands/AdminDeleteUserCommand.d.ts +2 -0
- package/dist-types/commands/AdminDisableProviderForUserCommand.d.ts +2 -0
- package/dist-types/commands/AdminDisableUserCommand.d.ts +5 -2
- package/dist-types/commands/AdminEnableUserCommand.d.ts +2 -0
- package/dist-types/commands/AdminForgetDeviceCommand.d.ts +2 -0
- package/dist-types/commands/AdminGetDeviceCommand.d.ts +2 -0
- package/dist-types/commands/AdminGetUserCommand.d.ts +2 -0
- package/dist-types/commands/AdminInitiateAuthCommand.d.ts +2 -0
- package/dist-types/commands/AdminLinkProviderForUserCommand.d.ts +2 -0
- package/dist-types/commands/AdminListDevicesCommand.d.ts +2 -0
- package/dist-types/commands/AdminListGroupsForUserCommand.d.ts +2 -0
- package/dist-types/commands/AdminListUserAuthEventsCommand.d.ts +2 -0
- package/dist-types/commands/AdminRemoveUserFromGroupCommand.d.ts +2 -0
- package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +2 -0
- package/dist-types/commands/AdminRespondToAuthChallengeCommand.d.ts +2 -0
- package/dist-types/commands/AdminSetUserMFAPreferenceCommand.d.ts +2 -0
- package/dist-types/commands/AdminSetUserPasswordCommand.d.ts +2 -0
- package/dist-types/commands/AdminSetUserSettingsCommand.d.ts +2 -0
- package/dist-types/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +2 -0
- package/dist-types/commands/AdminUpdateDeviceStatusCommand.d.ts +2 -0
- package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +2 -0
- package/dist-types/commands/AdminUserGlobalSignOutCommand.d.ts +2 -0
- package/dist-types/commands/AssociateSoftwareTokenCommand.d.ts +2 -0
- package/dist-types/commands/ChangePasswordCommand.d.ts +2 -0
- package/dist-types/commands/ConfirmDeviceCommand.d.ts +2 -0
- package/dist-types/commands/ConfirmForgotPasswordCommand.d.ts +2 -0
- package/dist-types/commands/ConfirmSignUpCommand.d.ts +2 -0
- package/dist-types/commands/CreateGroupCommand.d.ts +2 -0
- package/dist-types/commands/CreateIdentityProviderCommand.d.ts +2 -0
- package/dist-types/commands/CreateResourceServerCommand.d.ts +2 -0
- package/dist-types/commands/CreateUserImportJobCommand.d.ts +2 -0
- package/dist-types/commands/CreateUserPoolClientCommand.d.ts +2 -0
- package/dist-types/commands/CreateUserPoolCommand.d.ts +2 -0
- package/dist-types/commands/CreateUserPoolDomainCommand.d.ts +2 -0
- package/dist-types/commands/DeleteGroupCommand.d.ts +2 -0
- package/dist-types/commands/DeleteIdentityProviderCommand.d.ts +2 -0
- package/dist-types/commands/DeleteResourceServerCommand.d.ts +2 -0
- package/dist-types/commands/DeleteUserAttributesCommand.d.ts +2 -0
- package/dist-types/commands/DeleteUserCommand.d.ts +2 -0
- package/dist-types/commands/DeleteUserPoolClientCommand.d.ts +2 -0
- package/dist-types/commands/DeleteUserPoolCommand.d.ts +2 -0
- package/dist-types/commands/DeleteUserPoolDomainCommand.d.ts +2 -0
- package/dist-types/commands/DescribeIdentityProviderCommand.d.ts +2 -0
- package/dist-types/commands/DescribeResourceServerCommand.d.ts +2 -0
- package/dist-types/commands/DescribeRiskConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/DescribeUserImportJobCommand.d.ts +2 -0
- package/dist-types/commands/DescribeUserPoolClientCommand.d.ts +2 -0
- package/dist-types/commands/DescribeUserPoolCommand.d.ts +2 -0
- package/dist-types/commands/DescribeUserPoolDomainCommand.d.ts +2 -0
- package/dist-types/commands/ForgetDeviceCommand.d.ts +2 -0
- package/dist-types/commands/ForgotPasswordCommand.d.ts +2 -0
- package/dist-types/commands/GetCSVHeaderCommand.d.ts +2 -0
- package/dist-types/commands/GetDeviceCommand.d.ts +2 -0
- package/dist-types/commands/GetGroupCommand.d.ts +2 -0
- package/dist-types/commands/GetIdentityProviderByIdentifierCommand.d.ts +2 -0
- package/dist-types/commands/GetSigningCertificateCommand.d.ts +5 -1
- package/dist-types/commands/GetUICustomizationCommand.d.ts +2 -0
- package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +2 -0
- package/dist-types/commands/GetUserCommand.d.ts +2 -0
- package/dist-types/commands/GetUserPoolMfaConfigCommand.d.ts +2 -0
- package/dist-types/commands/GlobalSignOutCommand.d.ts +4 -4
- package/dist-types/commands/InitiateAuthCommand.d.ts +2 -0
- package/dist-types/commands/ListDevicesCommand.d.ts +2 -0
- package/dist-types/commands/ListGroupsCommand.d.ts +2 -0
- package/dist-types/commands/ListIdentityProvidersCommand.d.ts +2 -0
- package/dist-types/commands/ListResourceServersCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/ListUserImportJobsCommand.d.ts +2 -0
- package/dist-types/commands/ListUserPoolClientsCommand.d.ts +2 -0
- package/dist-types/commands/ListUserPoolsCommand.d.ts +2 -0
- package/dist-types/commands/ListUsersCommand.d.ts +2 -0
- package/dist-types/commands/ListUsersInGroupCommand.d.ts +2 -0
- package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +2 -0
- package/dist-types/commands/RespondToAuthChallengeCommand.d.ts +2 -0
- package/dist-types/commands/RevokeTokenCommand.d.ts +5 -3
- package/dist-types/commands/SetRiskConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/SetUICustomizationCommand.d.ts +2 -0
- package/dist-types/commands/SetUserMFAPreferenceCommand.d.ts +2 -0
- package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +2 -0
- package/dist-types/commands/SetUserSettingsCommand.d.ts +2 -0
- package/dist-types/commands/SignUpCommand.d.ts +3 -2
- package/dist-types/commands/StartUserImportJobCommand.d.ts +2 -0
- package/dist-types/commands/StopUserImportJobCommand.d.ts +2 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateAuthEventFeedbackCommand.d.ts +2 -0
- package/dist-types/commands/UpdateDeviceStatusCommand.d.ts +2 -0
- package/dist-types/commands/UpdateGroupCommand.d.ts +2 -0
- package/dist-types/commands/UpdateIdentityProviderCommand.d.ts +2 -0
- package/dist-types/commands/UpdateResourceServerCommand.d.ts +2 -0
- package/dist-types/commands/UpdateUserAttributesCommand.d.ts +2 -0
- package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +2 -0
- package/dist-types/commands/UpdateUserPoolCommand.d.ts +2 -0
- package/dist-types/commands/UpdateUserPoolDomainCommand.d.ts +2 -0
- package/dist-types/commands/VerifySoftwareTokenCommand.d.ts +2 -0
- package/dist-types/commands/VerifyUserAttributeCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +109 -148
- package/dist-types/models/models_1.d.ts +126 -21
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/AddCustomAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminAddUserToGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminConfirmSignUpCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminCreateUserCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminDeleteUserAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminDeleteUserCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminDisableProviderForUserCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminDisableUserCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminEnableUserCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminForgetDeviceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminGetDeviceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminGetUserCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminInitiateAuthCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminLinkProviderForUserCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminListDevicesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminListGroupsForUserCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminListUserAuthEventsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminRemoveUserFromGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminResetUserPasswordCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminRespondToAuthChallengeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminSetUserMFAPreferenceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminSetUserPasswordCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminSetUserSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminUpdateDeviceStatusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminUpdateUserAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AdminUserGlobalSignOutCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AssociateSoftwareTokenCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ChangePasswordCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ConfirmDeviceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ConfirmForgotPasswordCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ConfirmSignUpCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateIdentityProviderCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateResourceServerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateUserImportJobCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateUserPoolClientCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateUserPoolCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateUserPoolDomainCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteIdentityProviderCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteResourceServerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteUserAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteUserPoolClientCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteUserPoolCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteUserPoolDomainCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeIdentityProviderCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeResourceServerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeRiskConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeUserImportJobCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeUserPoolClientCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeUserPoolCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeUserPoolDomainCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ForgetDeviceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ForgotPasswordCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetCSVHeaderCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetDeviceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetIdentityProviderByIdentifierCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetSigningCertificateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetUICustomizationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetUserAttributeVerificationCodeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetUserCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetUserPoolMfaConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GlobalSignOutCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/InitiateAuthCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListDevicesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListIdentityProvidersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListResourceServersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListUserImportJobsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListUserPoolClientsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListUserPoolsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListUsersInGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ResendConfirmationCodeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RespondToAuthChallengeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RevokeTokenCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SetRiskConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SetUICustomizationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SetUserMFAPreferenceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SetUserPoolMfaConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SetUserSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SignUpCommand.d.ts +3 -2
- package/dist-types/ts3.4/commands/StartUserImportJobCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StopUserImportJobCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateAuthEventFeedbackCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateDeviceStatusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateIdentityProviderCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateResourceServerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateUserAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateUserPoolClientCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateUserPoolCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateUserPoolDomainCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/VerifySoftwareTokenCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/VerifyUserAttributeCommand.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +6 -14
- package/dist-types/ts3.4/models/models_1.d.ts +18 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +5 -3
- package/dist-cjs/endpoints.js +0 -177
- package/dist-es/endpoints.js +0 -173
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -1744,7 +1744,9 @@ export interface AdminListUserAuthEventsRequest {
|
|
|
1744
1744
|
*/
|
|
1745
1745
|
Username: string | undefined;
|
|
1746
1746
|
/**
|
|
1747
|
-
* <p>The maximum number of authentication events to return
|
|
1747
|
+
* <p>The maximum number of authentication events to return. Returns 60 events if you set
|
|
1748
|
+
* <code>MaxResults</code> to 0, or if you don't include a <code>MaxResults</code>
|
|
1749
|
+
* parameter.</p>
|
|
1748
1750
|
*/
|
|
1749
1751
|
MaxResults?: number;
|
|
1750
1752
|
/**
|
|
@@ -3381,6 +3383,10 @@ export interface CreateUserImportJobResponse {
|
|
|
3381
3383
|
*/
|
|
3382
3384
|
UserImportJob?: UserImportJobType;
|
|
3383
3385
|
}
|
|
3386
|
+
export declare enum DeletionProtectionType {
|
|
3387
|
+
ACTIVE = "ACTIVE",
|
|
3388
|
+
INACTIVE = "INACTIVE"
|
|
3389
|
+
}
|
|
3384
3390
|
/**
|
|
3385
3391
|
* <p>The device-remembering configuration for a user pool. A <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeUserPool.html">
|
|
3386
3392
|
* DescribeUserPool</a> request returns a null value for this object when the user
|
|
@@ -3478,7 +3484,7 @@ export interface EmailConfigurationType {
|
|
|
3478
3484
|
* default email limit is less than the required delivery volume. To achieve a
|
|
3479
3485
|
* higher delivery volume, specify DEVELOPER to use your Amazon SES email
|
|
3480
3486
|
* configuration.</p>
|
|
3481
|
-
* <p>To look up the email delivery limit for the default option, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/limits.html">Limits
|
|
3487
|
+
* <p>To look up the email delivery limit for the default option, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/limits.html">Limits</a> in the <i>Amazon Cognito Developer Guide</i>.</p>
|
|
3482
3488
|
* <p>The default FROM address is <code>no-reply@verificationemail.com</code>.
|
|
3483
3489
|
* To customize the FROM address, provide the Amazon Resource Name (ARN) of an
|
|
3484
3490
|
* Amazon SES verified email address for the <code>SourceArn</code>
|
|
@@ -3496,8 +3502,8 @@ export interface EmailConfigurationType {
|
|
|
3496
3502
|
* <p>Before Amazon Cognito can email your users, it requires additional permissions to
|
|
3497
3503
|
* call Amazon SES on your behalf. When you update your user pool with this option,
|
|
3498
3504
|
* Amazon Cognito creates a <i>service-linked role</i>, which is a type of
|
|
3499
|
-
* role
|
|
3500
|
-
* that allow to access Amazon SES and send email messages
|
|
3505
|
+
* role in your Amazon Web Services account. This role contains the permissions
|
|
3506
|
+
* that allow you to access Amazon SES and send email messages from your email address. For
|
|
3501
3507
|
* more information about the service-linked role that Amazon Cognito creates, see
|
|
3502
3508
|
* <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/using-service-linked-roles.html">Using Service-Linked Roles for Amazon Cognito</a> in the
|
|
3503
3509
|
* <i>Amazon Cognito Developer Guide</i>.</p>
|
|
@@ -3841,6 +3847,16 @@ export interface CreateUserPoolRequest {
|
|
|
3841
3847
|
* <p>The policies associated with the new user pool.</p>
|
|
3842
3848
|
*/
|
|
3843
3849
|
Policies?: UserPoolPolicyType;
|
|
3850
|
+
/**
|
|
3851
|
+
* <p>When active, <code>DeletionProtection</code> prevents accidental deletion of your user
|
|
3852
|
+
* pool. Before you can delete a user pool that you have protected against deletion, you
|
|
3853
|
+
* must deactivate this feature.</p>
|
|
3854
|
+
* <p>When you try to delete a protected user pool in a <code>DeleteUserPool</code> API request,
|
|
3855
|
+
* Amazon Cognito returns an <code>InvalidParameterException</code> error. To delete a protected user pool,
|
|
3856
|
+
* send a new <code>DeleteUserPool</code> request after you deactivate deletion protection in an
|
|
3857
|
+
* <code>UpdateUserPool</code> API request.</p>
|
|
3858
|
+
*/
|
|
3859
|
+
DeletionProtection?: DeletionProtectionType | string;
|
|
3844
3860
|
/**
|
|
3845
3861
|
* <p>The Lambda trigger configuration information for the new user pool.</p>
|
|
3846
3862
|
* <note>
|
|
@@ -3978,6 +3994,16 @@ export interface UserPoolType {
|
|
|
3978
3994
|
* <p>The policies associated with the user pool.</p>
|
|
3979
3995
|
*/
|
|
3980
3996
|
Policies?: UserPoolPolicyType;
|
|
3997
|
+
/**
|
|
3998
|
+
* <p>When active, <code>DeletionProtection</code> prevents accidental deletion of your user
|
|
3999
|
+
* pool. Before you can delete a user pool that you have protected against deletion, you
|
|
4000
|
+
* must deactivate this feature.</p>
|
|
4001
|
+
* <p>When you try to delete a protected user pool in a <code>DeleteUserPool</code> API request,
|
|
4002
|
+
* Amazon Cognito returns an <code>InvalidParameterException</code> error. To delete a protected user pool,
|
|
4003
|
+
* send a new <code>DeleteUserPool</code> request after you deactivate deletion protection in an
|
|
4004
|
+
* <code>UpdateUserPool</code> API request.</p>
|
|
4005
|
+
*/
|
|
4006
|
+
DeletionProtection?: DeletionProtectionType | string;
|
|
3981
4007
|
/**
|
|
3982
4008
|
* <p>The Lambda triggers associated with the user pool.</p>
|
|
3983
4009
|
*/
|
|
@@ -4256,6 +4282,8 @@ export interface CreateUserPoolClientRequest {
|
|
|
4256
4282
|
* You can't set <code>RefreshTokenValidity</code> to 0. If you do, Amazon Cognito overrides the
|
|
4257
4283
|
* value with the default value of 30 days. <i>Valid range</i> is displayed below
|
|
4258
4284
|
* in seconds.</p>
|
|
4285
|
+
* <p>If you don't specify otherwise in the configuration of your app client, your refresh
|
|
4286
|
+
* tokens are valid for 30 days.</p>
|
|
4259
4287
|
*/
|
|
4260
4288
|
RefreshTokenValidity?: number;
|
|
4261
4289
|
/**
|
|
@@ -4268,6 +4296,8 @@ export interface CreateUserPoolClientRequest {
|
|
|
4268
4296
|
* their access token for 10 hours.</p>
|
|
4269
4297
|
* <p>The default time unit for <code>AccessTokenValidity</code> in an API request is hours.
|
|
4270
4298
|
* <i>Valid range</i> is displayed below in seconds.</p>
|
|
4299
|
+
* <p>If you don't specify otherwise in the configuration of your app client, your access
|
|
4300
|
+
* tokens are valid for one hour.</p>
|
|
4271
4301
|
*/
|
|
4272
4302
|
AccessTokenValidity?: number;
|
|
4273
4303
|
/**
|
|
@@ -4280,6 +4310,8 @@ export interface CreateUserPoolClientRequest {
|
|
|
4280
4310
|
* session with their ID token for 10 hours.</p>
|
|
4281
4311
|
* <p>The default time unit for <code>AccessTokenValidity</code> in an API request is hours.
|
|
4282
4312
|
* <i>Valid range</i> is displayed below in seconds.</p>
|
|
4313
|
+
* <p>If you don't specify otherwise in the configuration of your app client, your ID
|
|
4314
|
+
* tokens are valid for one hour.</p>
|
|
4283
4315
|
*/
|
|
4284
4316
|
IdTokenValidity?: number;
|
|
4285
4317
|
/**
|
|
@@ -4302,44 +4334,46 @@ export interface CreateUserPoolClientRequest {
|
|
|
4302
4334
|
*/
|
|
4303
4335
|
WriteAttributes?: string[];
|
|
4304
4336
|
/**
|
|
4305
|
-
* <p>The authentication flows that
|
|
4306
|
-
*
|
|
4307
|
-
*
|
|
4308
|
-
*
|
|
4309
|
-
* <p>
|
|
4310
|
-
*
|
|
4311
|
-
*
|
|
4312
|
-
*
|
|
4313
|
-
*
|
|
4314
|
-
*
|
|
4315
|
-
*
|
|
4316
|
-
*
|
|
4317
|
-
*
|
|
4318
|
-
*
|
|
4319
|
-
*
|
|
4320
|
-
*
|
|
4321
|
-
*
|
|
4322
|
-
*
|
|
4323
|
-
*
|
|
4324
|
-
*
|
|
4325
|
-
* </
|
|
4326
|
-
* <
|
|
4327
|
-
*
|
|
4328
|
-
*
|
|
4329
|
-
*
|
|
4330
|
-
*
|
|
4331
|
-
* </
|
|
4332
|
-
* <
|
|
4333
|
-
*
|
|
4334
|
-
*
|
|
4335
|
-
* </
|
|
4336
|
-
* <
|
|
4337
|
-
*
|
|
4338
|
-
*
|
|
4339
|
-
*
|
|
4340
|
-
*
|
|
4341
|
-
*
|
|
4342
|
-
*
|
|
4337
|
+
* <p>The authentication flows that you want your user pool client to support. For each app client in your user pool, you can sign in
|
|
4338
|
+
* your users with any combination of one or more flows, including with a user name and Secure Remote Password (SRP), a user name and
|
|
4339
|
+
* password, or a custom authentication process that you define with Lambda functions.</p>
|
|
4340
|
+
* <note>
|
|
4341
|
+
* <p>If you don't specify a value for <code>ExplicitAuthFlows</code>, your user client supports <code>ALLOW_REFRESH_TOKEN_AUTH</code>, <code>ALLOW_USER_SRP_AUTH</code>, and <code>ALLOW_CUSTOM_AUTH</code>.</p>
|
|
4342
|
+
* </note>
|
|
4343
|
+
* <p>Valid values include:</p>
|
|
4344
|
+
* <ul>
|
|
4345
|
+
* <li>
|
|
4346
|
+
* <p>
|
|
4347
|
+
* <code>ALLOW_ADMIN_USER_PASSWORD_AUTH</code>: Enable admin based user password
|
|
4348
|
+
* authentication flow <code>ADMIN_USER_PASSWORD_AUTH</code>. This setting replaces
|
|
4349
|
+
* the <code>ADMIN_NO_SRP_AUTH</code> setting. With this authentication flow, your app
|
|
4350
|
+
* passes a user name and password to Amazon Cognito in the request, instead of using the Secure
|
|
4351
|
+
* Remote Password (SRP) protocol to securely transmit the password.</p>
|
|
4352
|
+
* </li>
|
|
4353
|
+
* <li>
|
|
4354
|
+
* <p>
|
|
4355
|
+
* <code>ALLOW_CUSTOM_AUTH</code>: Enable Lambda trigger based
|
|
4356
|
+
* authentication.</p>
|
|
4357
|
+
* </li>
|
|
4358
|
+
* <li>
|
|
4359
|
+
* <p>
|
|
4360
|
+
* <code>ALLOW_USER_PASSWORD_AUTH</code>: Enable user password-based
|
|
4361
|
+
* authentication. In this flow, Amazon Cognito receives the password in the request instead
|
|
4362
|
+
* of using the SRP protocol to verify passwords.</p>
|
|
4363
|
+
* </li>
|
|
4364
|
+
* <li>
|
|
4365
|
+
* <p>
|
|
4366
|
+
* <code>ALLOW_USER_SRP_AUTH</code>: Enable SRP-based authentication.</p>
|
|
4367
|
+
* </li>
|
|
4368
|
+
* <li>
|
|
4369
|
+
* <p>
|
|
4370
|
+
* <code>ALLOW_REFRESH_TOKEN_AUTH</code>: Enable authflow to refresh
|
|
4371
|
+
* tokens.</p>
|
|
4372
|
+
* </li>
|
|
4373
|
+
* </ul>
|
|
4374
|
+
* <p>In some environments, you will see the values <code>ADMIN_NO_SRP_AUTH</code>, <code>CUSTOM_AUTH_FLOW_ONLY</code>, or <code>USER_PASSWORD_AUTH</code>.
|
|
4375
|
+
* You can't assign these legacy <code>ExplicitAuthFlows</code> values to user pool clients at the same time as values that begin with <code>ALLOW_</code>,
|
|
4376
|
+
* like <code>ALLOW_USER_SRP_AUTH</code>.</p>
|
|
4343
4377
|
*/
|
|
4344
4378
|
ExplicitAuthFlows?: (ExplicitAuthFlowsType | string)[];
|
|
4345
4379
|
/**
|
|
@@ -4527,6 +4561,8 @@ export interface UserPoolClientType {
|
|
|
4527
4561
|
* You can't set <code>RefreshTokenValidity</code> to 0. If you do, Amazon Cognito overrides the
|
|
4528
4562
|
* value with the default value of 30 days. <i>Valid range</i> is displayed below
|
|
4529
4563
|
* in seconds.</p>
|
|
4564
|
+
* <p>If you don't specify otherwise in the configuration of your app client, your refresh
|
|
4565
|
+
* tokens are valid for 30 days.</p>
|
|
4530
4566
|
*/
|
|
4531
4567
|
RefreshTokenValidity?: number;
|
|
4532
4568
|
/**
|
|
@@ -4539,6 +4575,8 @@ export interface UserPoolClientType {
|
|
|
4539
4575
|
* their access token for 10 hours.</p>
|
|
4540
4576
|
* <p>The default time unit for <code>AccessTokenValidity</code> in an API request is hours.
|
|
4541
4577
|
* <i>Valid range</i> is displayed below in seconds.</p>
|
|
4578
|
+
* <p>If you don't specify otherwise in the configuration of your app client, your access
|
|
4579
|
+
* tokens are valid for one hour.</p>
|
|
4542
4580
|
*/
|
|
4543
4581
|
AccessTokenValidity?: number;
|
|
4544
4582
|
/**
|
|
@@ -4551,6 +4589,8 @@ export interface UserPoolClientType {
|
|
|
4551
4589
|
* session with their ID token for 10 hours.</p>
|
|
4552
4590
|
* <p>The default time unit for <code>AccessTokenValidity</code> in an API request is hours.
|
|
4553
4591
|
* <i>Valid range</i> is displayed below in seconds.</p>
|
|
4592
|
+
* <p>If you don't specify otherwise in the configuration of your app client, your ID
|
|
4593
|
+
* tokens are valid for one hour.</p>
|
|
4554
4594
|
*/
|
|
4555
4595
|
IdTokenValidity?: number;
|
|
4556
4596
|
/**
|
|
@@ -4567,41 +4607,46 @@ export interface UserPoolClientType {
|
|
|
4567
4607
|
*/
|
|
4568
4608
|
WriteAttributes?: string[];
|
|
4569
4609
|
/**
|
|
4570
|
-
* <p>The authentication flows that
|
|
4571
|
-
*
|
|
4572
|
-
*
|
|
4573
|
-
*
|
|
4574
|
-
*
|
|
4575
|
-
*
|
|
4610
|
+
* <p>The authentication flows that you want your user pool client to support. For each app client in your user pool, you can sign in
|
|
4611
|
+
* your users with any combination of one or more flows, including with a user name and Secure Remote Password (SRP), a user name and
|
|
4612
|
+
* password, or a custom authentication process that you define with Lambda functions.</p>
|
|
4613
|
+
* <note>
|
|
4614
|
+
* <p>If you don't specify a value for <code>ExplicitAuthFlows</code>, your user client supports <code>ALLOW_REFRESH_TOKEN_AUTH</code>, <code>ALLOW_USER_SRP_AUTH</code>, and <code>ALLOW_CUSTOM_AUTH</code>.</p>
|
|
4615
|
+
* </note>
|
|
4616
|
+
* <p>Valid values include:</p>
|
|
4617
|
+
* <ul>
|
|
4576
4618
|
* <li>
|
|
4577
|
-
*
|
|
4619
|
+
* <p>
|
|
4578
4620
|
* <code>ALLOW_ADMIN_USER_PASSWORD_AUTH</code>: Enable admin based user password
|
|
4579
|
-
*
|
|
4580
|
-
*
|
|
4581
|
-
*
|
|
4582
|
-
*
|
|
4621
|
+
* authentication flow <code>ADMIN_USER_PASSWORD_AUTH</code>. This setting replaces
|
|
4622
|
+
* the <code>ADMIN_NO_SRP_AUTH</code> setting. With this authentication flow, your app
|
|
4623
|
+
* passes a user name and password to Amazon Cognito in the request, instead of using the Secure
|
|
4624
|
+
* Remote Password (SRP) protocol to securely transmit the password.</p>
|
|
4583
4625
|
* </li>
|
|
4584
4626
|
* <li>
|
|
4585
|
-
*
|
|
4627
|
+
* <p>
|
|
4586
4628
|
* <code>ALLOW_CUSTOM_AUTH</code>: Enable Lambda trigger based
|
|
4587
|
-
*
|
|
4629
|
+
* authentication.</p>
|
|
4588
4630
|
* </li>
|
|
4589
4631
|
* <li>
|
|
4590
|
-
*
|
|
4632
|
+
* <p>
|
|
4591
4633
|
* <code>ALLOW_USER_PASSWORD_AUTH</code>: Enable user password-based
|
|
4592
|
-
*
|
|
4593
|
-
*
|
|
4634
|
+
* authentication. In this flow, Amazon Cognito receives the password in the request instead
|
|
4635
|
+
* of using the SRP protocol to verify passwords.</p>
|
|
4594
4636
|
* </li>
|
|
4595
4637
|
* <li>
|
|
4596
|
-
*
|
|
4638
|
+
* <p>
|
|
4597
4639
|
* <code>ALLOW_USER_SRP_AUTH</code>: Enable SRP-based authentication.</p>
|
|
4598
4640
|
* </li>
|
|
4599
4641
|
* <li>
|
|
4600
|
-
*
|
|
4642
|
+
* <p>
|
|
4601
4643
|
* <code>ALLOW_REFRESH_TOKEN_AUTH</code>: Enable authflow to refresh
|
|
4602
|
-
*
|
|
4644
|
+
* tokens.</p>
|
|
4603
4645
|
* </li>
|
|
4604
4646
|
* </ul>
|
|
4647
|
+
* <p>In some environments, you will see the values <code>ADMIN_NO_SRP_AUTH</code>, <code>CUSTOM_AUTH_FLOW_ONLY</code>, or <code>USER_PASSWORD_AUTH</code>.
|
|
4648
|
+
* You can't assign these legacy <code>ExplicitAuthFlows</code> values to user pool clients at the same time as values that begin with <code>ALLOW_</code>,
|
|
4649
|
+
* like <code>ALLOW_USER_SRP_AUTH</code>.</p>
|
|
4605
4650
|
*/
|
|
4606
4651
|
ExplicitAuthFlows?: (ExplicitAuthFlowsType | string)[];
|
|
4607
4652
|
/**
|
|
@@ -4944,7 +4989,7 @@ export interface DescribeIdentityProviderRequest {
|
|
|
4944
4989
|
}
|
|
4945
4990
|
export interface DescribeIdentityProviderResponse {
|
|
4946
4991
|
/**
|
|
4947
|
-
* <p>The
|
|
4992
|
+
* <p>The identity provider details.</p>
|
|
4948
4993
|
*/
|
|
4949
4994
|
IdentityProvider: IdentityProviderType | undefined;
|
|
4950
4995
|
}
|
|
@@ -5370,7 +5415,7 @@ export interface GetIdentityProviderByIdentifierRequest {
|
|
|
5370
5415
|
}
|
|
5371
5416
|
export interface GetIdentityProviderByIdentifierResponse {
|
|
5372
5417
|
/**
|
|
5373
|
-
* <p>The
|
|
5418
|
+
* <p>The identity provider details.</p>
|
|
5374
5419
|
*/
|
|
5375
5420
|
IdentityProvider: IdentityProviderType | undefined;
|
|
5376
5421
|
}
|
|
@@ -6716,7 +6761,7 @@ export interface SetUserPoolMfaConfigRequest {
|
|
|
6716
6761
|
SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType;
|
|
6717
6762
|
/**
|
|
6718
6763
|
* <p>The MFA configuration. If you set the MfaConfiguration value to ‘ON’, only users who
|
|
6719
|
-
* have set up an MFA factor can sign in. To learn more, see <a href="cognito/latest/developerguide/user-pool-settings-mfa.html">Adding Multi-Factor
|
|
6764
|
+
* have set up an MFA factor can sign in. To learn more, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-mfa.html">Adding Multi-Factor
|
|
6720
6765
|
* Authentication (MFA) to a user pool</a>. Valid values include:</p>
|
|
6721
6766
|
* <ul>
|
|
6722
6767
|
* <li>
|
|
@@ -6785,86 +6830,6 @@ export interface SetUserSettingsRequest {
|
|
|
6785
6830
|
*/
|
|
6786
6831
|
export interface SetUserSettingsResponse {
|
|
6787
6832
|
}
|
|
6788
|
-
/**
|
|
6789
|
-
* <p>Represents the request to register a user.</p>
|
|
6790
|
-
*/
|
|
6791
|
-
export interface SignUpRequest {
|
|
6792
|
-
/**
|
|
6793
|
-
* <p>The ID of the client associated with the user pool.</p>
|
|
6794
|
-
*/
|
|
6795
|
-
ClientId: string | undefined;
|
|
6796
|
-
/**
|
|
6797
|
-
* <p>A keyed-hash message authentication code (HMAC) calculated using the secret key of a
|
|
6798
|
-
* user pool client and username plus the client ID in the message.</p>
|
|
6799
|
-
*/
|
|
6800
|
-
SecretHash?: string;
|
|
6801
|
-
/**
|
|
6802
|
-
* <p>The user name of the user you want to register.</p>
|
|
6803
|
-
*/
|
|
6804
|
-
Username: string | undefined;
|
|
6805
|
-
/**
|
|
6806
|
-
* <p>The password of the user you want to register.</p>
|
|
6807
|
-
*/
|
|
6808
|
-
Password: string | undefined;
|
|
6809
|
-
/**
|
|
6810
|
-
* <p>An array of name-value pairs representing user attributes.</p>
|
|
6811
|
-
* <p>For custom attributes, you must prepend the <code>custom:</code> prefix to the
|
|
6812
|
-
* attribute name.</p>
|
|
6813
|
-
*/
|
|
6814
|
-
UserAttributes?: AttributeType[];
|
|
6815
|
-
/**
|
|
6816
|
-
* <p>The validation data in the request to register a user.</p>
|
|
6817
|
-
*/
|
|
6818
|
-
ValidationData?: AttributeType[];
|
|
6819
|
-
/**
|
|
6820
|
-
* <p>The Amazon Pinpoint analytics metadata that contributes to your metrics for
|
|
6821
|
-
* <code>SignUp</code> calls.</p>
|
|
6822
|
-
*/
|
|
6823
|
-
AnalyticsMetadata?: AnalyticsMetadataType;
|
|
6824
|
-
/**
|
|
6825
|
-
* <p>Contextual data about your user session, such as the device fingerprint, IP address, or location. Amazon Cognito advanced
|
|
6826
|
-
* security evaluates the risk of an authentication event based on the context that your app generates and passes to Amazon Cognito
|
|
6827
|
-
* when it makes API requests.</p>
|
|
6828
|
-
*/
|
|
6829
|
-
UserContextData?: UserContextDataType;
|
|
6830
|
-
/**
|
|
6831
|
-
* <p>A map of custom key-value pairs that you can provide as input for any custom workflows
|
|
6832
|
-
* that this action triggers.</p>
|
|
6833
|
-
* <p>You create custom workflows by assigning Lambda functions to user pool triggers.
|
|
6834
|
-
* When you use the SignUp API action, Amazon Cognito invokes any functions that are assigned to the
|
|
6835
|
-
* following triggers: <i>pre sign-up</i>, <i>custom
|
|
6836
|
-
* message</i>, and <i>post confirmation</i>. When Amazon Cognito invokes
|
|
6837
|
-
* any of these functions, it passes a JSON payload, which the function receives as input.
|
|
6838
|
-
* This payload contains a <code>clientMetadata</code> attribute, which provides the data
|
|
6839
|
-
* that you assigned to the ClientMetadata parameter in your SignUp request. In your
|
|
6840
|
-
* function code in Lambda, you can process the <code>clientMetadata</code> value to enhance
|
|
6841
|
-
* your workflow for your specific needs.</p>
|
|
6842
|
-
*
|
|
6843
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html">
|
|
6844
|
-
* Customizing user pool Workflows with Lambda Triggers</a> in the <i>Amazon Cognito Developer Guide</i>.</p>
|
|
6845
|
-
*
|
|
6846
|
-
* <note>
|
|
6847
|
-
* <p>When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the
|
|
6848
|
-
* following:</p>
|
|
6849
|
-
* <ul>
|
|
6850
|
-
* <li>
|
|
6851
|
-
* <p>Store the ClientMetadata value. This data is available only to Lambda
|
|
6852
|
-
* triggers that are assigned to a user pool to support custom workflows. If
|
|
6853
|
-
* your user pool configuration doesn't include triggers, the ClientMetadata
|
|
6854
|
-
* parameter serves no purpose.</p>
|
|
6855
|
-
* </li>
|
|
6856
|
-
* <li>
|
|
6857
|
-
* <p>Validate the ClientMetadata value.</p>
|
|
6858
|
-
* </li>
|
|
6859
|
-
* <li>
|
|
6860
|
-
* <p>Encrypt the ClientMetadata value. Don't use Amazon Cognito to provide sensitive
|
|
6861
|
-
* information.</p>
|
|
6862
|
-
* </li>
|
|
6863
|
-
* </ul>
|
|
6864
|
-
* </note>
|
|
6865
|
-
*/
|
|
6866
|
-
ClientMetadata?: Record<string, string>;
|
|
6867
|
-
}
|
|
6868
6833
|
/**
|
|
6869
6834
|
* @internal
|
|
6870
6835
|
*/
|
|
@@ -7761,7 +7726,3 @@ export declare const SetUserSettingsRequestFilterSensitiveLog: (obj: SetUserSett
|
|
|
7761
7726
|
* @internal
|
|
7762
7727
|
*/
|
|
7763
7728
|
export declare const SetUserSettingsResponseFilterSensitiveLog: (obj: SetUserSettingsResponse) => any;
|
|
7764
|
-
/**
|
|
7765
|
-
* @internal
|
|
7766
|
-
*/
|
|
7767
|
-
export declare const SignUpRequestFilterSensitiveLog: (obj: SignUpRequest) => any;
|
|
@@ -1,6 +1,86 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { CognitoIdentityProviderServiceException as __BaseException } from "./CognitoIdentityProviderServiceException";
|
|
3
|
-
import { AccountRecoverySettingType, AdminCreateUserConfigType, AnalyticsConfigurationType, AttributeType, CodeDeliveryDetailsType, CustomDomainConfigType, DeviceConfigurationType, DeviceRememberedStatusType, EmailConfigurationType, ExplicitAuthFlowsType, FeedbackValueType, GroupType, IdentityProviderType, LambdaConfigType, OAuthFlowType, PreventUserExistenceErrorTypes, ResourceServerScopeType, ResourceServerType, SmsConfigurationType, TokenValidityUnitsType, UserAttributeUpdateSettingsType, UserImportJobType, UserPoolAddOnsType, UserPoolClientType, UserPoolMfaType, UserPoolPolicyType, VerificationMessageTemplateType, VerifiedAttributeType } from "./models_0";
|
|
3
|
+
import { AccountRecoverySettingType, AdminCreateUserConfigType, AnalyticsConfigurationType, AnalyticsMetadataType, AttributeType, CodeDeliveryDetailsType, CustomDomainConfigType, DeletionProtectionType, DeviceConfigurationType, DeviceRememberedStatusType, EmailConfigurationType, ExplicitAuthFlowsType, FeedbackValueType, GroupType, IdentityProviderType, LambdaConfigType, OAuthFlowType, PreventUserExistenceErrorTypes, ResourceServerScopeType, ResourceServerType, SmsConfigurationType, TokenValidityUnitsType, UserAttributeUpdateSettingsType, UserContextDataType, UserImportJobType, UserPoolAddOnsType, UserPoolClientType, UserPoolMfaType, UserPoolPolicyType, VerificationMessageTemplateType, VerifiedAttributeType } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* <p>Represents the request to register a user.</p>
|
|
6
|
+
*/
|
|
7
|
+
export interface SignUpRequest {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The ID of the client associated with the user pool.</p>
|
|
10
|
+
*/
|
|
11
|
+
ClientId: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* <p>A keyed-hash message authentication code (HMAC) calculated using the secret key of a
|
|
14
|
+
* user pool client and username plus the client ID in the message.</p>
|
|
15
|
+
*/
|
|
16
|
+
SecretHash?: string;
|
|
17
|
+
/**
|
|
18
|
+
* <p>The user name of the user you want to register.</p>
|
|
19
|
+
*/
|
|
20
|
+
Username: string | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* <p>The password of the user you want to register.</p>
|
|
23
|
+
*/
|
|
24
|
+
Password: string | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* <p>An array of name-value pairs representing user attributes.</p>
|
|
27
|
+
* <p>For custom attributes, you must prepend the <code>custom:</code> prefix to the
|
|
28
|
+
* attribute name.</p>
|
|
29
|
+
*/
|
|
30
|
+
UserAttributes?: AttributeType[];
|
|
31
|
+
/**
|
|
32
|
+
* <p>The validation data in the request to register a user.</p>
|
|
33
|
+
*/
|
|
34
|
+
ValidationData?: AttributeType[];
|
|
35
|
+
/**
|
|
36
|
+
* <p>The Amazon Pinpoint analytics metadata that contributes to your metrics for
|
|
37
|
+
* <code>SignUp</code> calls.</p>
|
|
38
|
+
*/
|
|
39
|
+
AnalyticsMetadata?: AnalyticsMetadataType;
|
|
40
|
+
/**
|
|
41
|
+
* <p>Contextual data about your user session, such as the device fingerprint, IP address, or location. Amazon Cognito advanced
|
|
42
|
+
* security evaluates the risk of an authentication event based on the context that your app generates and passes to Amazon Cognito
|
|
43
|
+
* when it makes API requests.</p>
|
|
44
|
+
*/
|
|
45
|
+
UserContextData?: UserContextDataType;
|
|
46
|
+
/**
|
|
47
|
+
* <p>A map of custom key-value pairs that you can provide as input for any custom workflows
|
|
48
|
+
* that this action triggers.</p>
|
|
49
|
+
* <p>You create custom workflows by assigning Lambda functions to user pool triggers.
|
|
50
|
+
* When you use the SignUp API action, Amazon Cognito invokes any functions that are assigned to the
|
|
51
|
+
* following triggers: <i>pre sign-up</i>, <i>custom
|
|
52
|
+
* message</i>, and <i>post confirmation</i>. When Amazon Cognito invokes
|
|
53
|
+
* any of these functions, it passes a JSON payload, which the function receives as input.
|
|
54
|
+
* This payload contains a <code>clientMetadata</code> attribute, which provides the data
|
|
55
|
+
* that you assigned to the ClientMetadata parameter in your SignUp request. In your
|
|
56
|
+
* function code in Lambda, you can process the <code>clientMetadata</code> value to enhance
|
|
57
|
+
* your workflow for your specific needs.</p>
|
|
58
|
+
*
|
|
59
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html">
|
|
60
|
+
* Customizing user pool Workflows with Lambda Triggers</a> in the <i>Amazon Cognito Developer Guide</i>.</p>
|
|
61
|
+
*
|
|
62
|
+
* <note>
|
|
63
|
+
* <p>When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the
|
|
64
|
+
* following:</p>
|
|
65
|
+
* <ul>
|
|
66
|
+
* <li>
|
|
67
|
+
* <p>Store the ClientMetadata value. This data is available only to Lambda
|
|
68
|
+
* triggers that are assigned to a user pool to support custom workflows. If
|
|
69
|
+
* your user pool configuration doesn't include triggers, the ClientMetadata
|
|
70
|
+
* parameter serves no purpose.</p>
|
|
71
|
+
* </li>
|
|
72
|
+
* <li>
|
|
73
|
+
* <p>Validate the ClientMetadata value.</p>
|
|
74
|
+
* </li>
|
|
75
|
+
* <li>
|
|
76
|
+
* <p>Encrypt the ClientMetadata value. Don't use Amazon Cognito to provide sensitive
|
|
77
|
+
* information.</p>
|
|
78
|
+
* </li>
|
|
79
|
+
* </ul>
|
|
80
|
+
* </note>
|
|
81
|
+
*/
|
|
82
|
+
ClientMetadata?: Record<string, string>;
|
|
83
|
+
}
|
|
4
84
|
/**
|
|
5
85
|
* <p>The response from the server for a registration request.</p>
|
|
6
86
|
*/
|
|
@@ -194,7 +274,7 @@ export interface UpdateIdentityProviderRequest {
|
|
|
194
274
|
}
|
|
195
275
|
export interface UpdateIdentityProviderResponse {
|
|
196
276
|
/**
|
|
197
|
-
* <p>The
|
|
277
|
+
* <p>The identity provider details.</p>
|
|
198
278
|
*/
|
|
199
279
|
IdentityProvider: IdentityProviderType | undefined;
|
|
200
280
|
}
|
|
@@ -302,6 +382,16 @@ export interface UpdateUserPoolRequest {
|
|
|
302
382
|
* <p>A container with the policies you want to update in a user pool.</p>
|
|
303
383
|
*/
|
|
304
384
|
Policies?: UserPoolPolicyType;
|
|
385
|
+
/**
|
|
386
|
+
* <p>When active, <code>DeletionProtection</code> prevents accidental deletion of your user
|
|
387
|
+
* pool. Before you can delete a user pool that you have protected against deletion, you
|
|
388
|
+
* must deactivate this feature.</p>
|
|
389
|
+
* <p>When you try to delete a protected user pool in a <code>DeleteUserPool</code> API request,
|
|
390
|
+
* Amazon Cognito returns an <code>InvalidParameterException</code> error. To delete a protected user pool,
|
|
391
|
+
* send a new <code>DeleteUserPool</code> request after you deactivate deletion protection in an
|
|
392
|
+
* <code>UpdateUserPool</code> API request.</p>
|
|
393
|
+
*/
|
|
394
|
+
DeletionProtection?: DeletionProtectionType | string;
|
|
305
395
|
/**
|
|
306
396
|
* <p>The Lambda configuration information from the request to update the user pool.</p>
|
|
307
397
|
*/
|
|
@@ -441,6 +531,8 @@ export interface UpdateUserPoolClientRequest {
|
|
|
441
531
|
* You can't set <code>RefreshTokenValidity</code> to 0. If you do, Amazon Cognito overrides the
|
|
442
532
|
* value with the default value of 30 days. <i>Valid range</i> is displayed below
|
|
443
533
|
* in seconds.</p>
|
|
534
|
+
* <p>If you don't specify otherwise in the configuration of your app client, your refresh
|
|
535
|
+
* tokens are valid for 30 days.</p>
|
|
444
536
|
*/
|
|
445
537
|
RefreshTokenValidity?: number;
|
|
446
538
|
/**
|
|
@@ -453,6 +545,8 @@ export interface UpdateUserPoolClientRequest {
|
|
|
453
545
|
* their access token for 10 hours.</p>
|
|
454
546
|
* <p>The default time unit for <code>AccessTokenValidity</code> in an API request is hours.
|
|
455
547
|
* <i>Valid range</i> is displayed below in seconds.</p>
|
|
548
|
+
* <p>If you don't specify otherwise in the configuration of your app client, your access
|
|
549
|
+
* tokens are valid for one hour.</p>
|
|
456
550
|
*/
|
|
457
551
|
AccessTokenValidity?: number;
|
|
458
552
|
/**
|
|
@@ -465,6 +559,8 @@ export interface UpdateUserPoolClientRequest {
|
|
|
465
559
|
* session with their ID token for 10 hours.</p>
|
|
466
560
|
* <p>The default time unit for <code>AccessTokenValidity</code> in an API request is hours.
|
|
467
561
|
* <i>Valid range</i> is displayed below in seconds.</p>
|
|
562
|
+
* <p>If you don't specify otherwise in the configuration of your app client, your ID
|
|
563
|
+
* tokens are valid for one hour.</p>
|
|
468
564
|
*/
|
|
469
565
|
IdTokenValidity?: number;
|
|
470
566
|
/**
|
|
@@ -481,41 +577,46 @@ export interface UpdateUserPoolClientRequest {
|
|
|
481
577
|
*/
|
|
482
578
|
WriteAttributes?: string[];
|
|
483
579
|
/**
|
|
484
|
-
* <p>The authentication flows that
|
|
485
|
-
*
|
|
486
|
-
*
|
|
487
|
-
*
|
|
488
|
-
*
|
|
489
|
-
*
|
|
580
|
+
* <p>The authentication flows that you want your user pool client to support. For each app client in your user pool, you can sign in
|
|
581
|
+
* your users with any combination of one or more flows, including with a user name and Secure Remote Password (SRP), a user name and
|
|
582
|
+
* password, or a custom authentication process that you define with Lambda functions.</p>
|
|
583
|
+
* <note>
|
|
584
|
+
* <p>If you don't specify a value for <code>ExplicitAuthFlows</code>, your user client supports <code>ALLOW_REFRESH_TOKEN_AUTH</code>, <code>ALLOW_USER_SRP_AUTH</code>, and <code>ALLOW_CUSTOM_AUTH</code>.</p>
|
|
585
|
+
* </note>
|
|
586
|
+
* <p>Valid values include:</p>
|
|
587
|
+
* <ul>
|
|
490
588
|
* <li>
|
|
491
|
-
*
|
|
589
|
+
* <p>
|
|
492
590
|
* <code>ALLOW_ADMIN_USER_PASSWORD_AUTH</code>: Enable admin based user password
|
|
493
|
-
*
|
|
494
|
-
*
|
|
495
|
-
*
|
|
496
|
-
*
|
|
591
|
+
* authentication flow <code>ADMIN_USER_PASSWORD_AUTH</code>. This setting replaces
|
|
592
|
+
* the <code>ADMIN_NO_SRP_AUTH</code> setting. With this authentication flow, your app
|
|
593
|
+
* passes a user name and password to Amazon Cognito in the request, instead of using the Secure
|
|
594
|
+
* Remote Password (SRP) protocol to securely transmit the password.</p>
|
|
497
595
|
* </li>
|
|
498
596
|
* <li>
|
|
499
|
-
*
|
|
597
|
+
* <p>
|
|
500
598
|
* <code>ALLOW_CUSTOM_AUTH</code>: Enable Lambda trigger based
|
|
501
|
-
*
|
|
599
|
+
* authentication.</p>
|
|
502
600
|
* </li>
|
|
503
601
|
* <li>
|
|
504
|
-
*
|
|
602
|
+
* <p>
|
|
505
603
|
* <code>ALLOW_USER_PASSWORD_AUTH</code>: Enable user password-based
|
|
506
|
-
*
|
|
507
|
-
*
|
|
604
|
+
* authentication. In this flow, Amazon Cognito receives the password in the request instead
|
|
605
|
+
* of using the SRP protocol to verify passwords.</p>
|
|
508
606
|
* </li>
|
|
509
607
|
* <li>
|
|
510
|
-
*
|
|
608
|
+
* <p>
|
|
511
609
|
* <code>ALLOW_USER_SRP_AUTH</code>: Enable SRP-based authentication.</p>
|
|
512
610
|
* </li>
|
|
513
611
|
* <li>
|
|
514
|
-
*
|
|
612
|
+
* <p>
|
|
515
613
|
* <code>ALLOW_REFRESH_TOKEN_AUTH</code>: Enable authflow to refresh
|
|
516
|
-
*
|
|
614
|
+
* tokens.</p>
|
|
517
615
|
* </li>
|
|
518
616
|
* </ul>
|
|
617
|
+
* <p>In some environments, you will see the values <code>ADMIN_NO_SRP_AUTH</code>, <code>CUSTOM_AUTH_FLOW_ONLY</code>, or <code>USER_PASSWORD_AUTH</code>.
|
|
618
|
+
* You can't assign these legacy <code>ExplicitAuthFlows</code> values to user pool clients at the same time as values that begin with <code>ALLOW_</code>,
|
|
619
|
+
* like <code>ALLOW_USER_SRP_AUTH</code>.</p>
|
|
519
620
|
*/
|
|
520
621
|
ExplicitAuthFlows?: (ExplicitAuthFlowsType | string)[];
|
|
521
622
|
/**
|
|
@@ -773,6 +874,10 @@ export interface VerifyUserAttributeRequest {
|
|
|
773
874
|
*/
|
|
774
875
|
export interface VerifyUserAttributeResponse {
|
|
775
876
|
}
|
|
877
|
+
/**
|
|
878
|
+
* @internal
|
|
879
|
+
*/
|
|
880
|
+
export declare const SignUpRequestFilterSensitiveLog: (obj: SignUpRequest) => any;
|
|
776
881
|
/**
|
|
777
882
|
* @internal
|
|
778
883
|
*/
|
|
@@ -26,8 +26,10 @@ export declare const getRuntimeConfig: (config: CognitoIdentityProviderClientCon
|
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
logger: import("@aws-sdk/types").Logger;
|
|
28
28
|
serviceId: string;
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string>)) | undefined;
|
|
30
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
31
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
32
|
+
}) => import("@aws-sdk/types").EndpointV2;
|
|
31
33
|
tls?: boolean | undefined;
|
|
32
34
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
33
35
|
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|