@aws-sdk/client-cognito-identity-provider 3.34.0 → 3.37.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 +47 -0
- package/dist-cjs/CognitoIdentityProvider.js +1522 -0
- package/dist-cjs/CognitoIdentityProviderClient.js +34 -0
- package/dist-cjs/commands/AddCustomAttributesCommand.js +38 -0
- package/dist-cjs/commands/AdminAddUserToGroupCommand.js +38 -0
- package/dist-cjs/commands/AdminConfirmSignUpCommand.js +38 -0
- package/dist-cjs/commands/AdminCreateUserCommand.js +38 -0
- package/dist-cjs/commands/AdminDeleteUserAttributesCommand.js +38 -0
- package/dist-cjs/commands/AdminDeleteUserCommand.js +38 -0
- package/dist-cjs/commands/AdminDisableProviderForUserCommand.js +38 -0
- package/dist-cjs/commands/AdminDisableUserCommand.js +38 -0
- package/dist-cjs/commands/AdminEnableUserCommand.js +38 -0
- package/dist-cjs/commands/AdminForgetDeviceCommand.js +38 -0
- package/dist-cjs/commands/AdminGetDeviceCommand.js +38 -0
- package/dist-cjs/commands/AdminGetUserCommand.js +38 -0
- package/dist-cjs/commands/AdminInitiateAuthCommand.js +38 -0
- package/dist-cjs/commands/AdminLinkProviderForUserCommand.js +38 -0
- package/dist-cjs/commands/AdminListDevicesCommand.js +38 -0
- package/dist-cjs/commands/AdminListGroupsForUserCommand.js +38 -0
- package/dist-cjs/commands/AdminListUserAuthEventsCommand.js +38 -0
- package/dist-cjs/commands/AdminRemoveUserFromGroupCommand.js +38 -0
- package/dist-cjs/commands/AdminResetUserPasswordCommand.js +38 -0
- package/dist-cjs/commands/AdminRespondToAuthChallengeCommand.js +38 -0
- package/dist-cjs/commands/AdminSetUserMFAPreferenceCommand.js +38 -0
- package/dist-cjs/commands/AdminSetUserPasswordCommand.js +38 -0
- package/dist-cjs/commands/AdminSetUserSettingsCommand.js +38 -0
- package/dist-cjs/commands/AdminUpdateAuthEventFeedbackCommand.js +38 -0
- package/dist-cjs/commands/AdminUpdateDeviceStatusCommand.js +38 -0
- package/dist-cjs/commands/AdminUpdateUserAttributesCommand.js +38 -0
- package/dist-cjs/commands/AdminUserGlobalSignOutCommand.js +38 -0
- package/dist-cjs/commands/AssociateSoftwareTokenCommand.js +38 -0
- package/dist-cjs/commands/ChangePasswordCommand.js +36 -0
- package/dist-cjs/commands/ConfirmDeviceCommand.js +38 -0
- package/dist-cjs/commands/ConfirmForgotPasswordCommand.js +36 -0
- package/dist-cjs/commands/ConfirmSignUpCommand.js +36 -0
- package/dist-cjs/commands/CreateGroupCommand.js +38 -0
- package/dist-cjs/commands/CreateIdentityProviderCommand.js +38 -0
- package/dist-cjs/commands/CreateResourceServerCommand.js +38 -0
- package/dist-cjs/commands/CreateUserImportJobCommand.js +38 -0
- package/dist-cjs/commands/CreateUserPoolClientCommand.js +38 -0
- package/dist-cjs/commands/CreateUserPoolCommand.js +38 -0
- package/dist-cjs/commands/CreateUserPoolDomainCommand.js +38 -0
- package/dist-cjs/commands/DeleteGroupCommand.js +38 -0
- package/dist-cjs/commands/DeleteIdentityProviderCommand.js +38 -0
- package/dist-cjs/commands/DeleteResourceServerCommand.js +38 -0
- package/dist-cjs/commands/DeleteUserAttributesCommand.js +36 -0
- package/dist-cjs/commands/DeleteUserCommand.js +36 -0
- package/dist-cjs/commands/DeleteUserPoolClientCommand.js +38 -0
- package/dist-cjs/commands/DeleteUserPoolCommand.js +38 -0
- package/dist-cjs/commands/DeleteUserPoolDomainCommand.js +38 -0
- package/dist-cjs/commands/DescribeIdentityProviderCommand.js +38 -0
- package/dist-cjs/commands/DescribeResourceServerCommand.js +38 -0
- package/dist-cjs/commands/DescribeRiskConfigurationCommand.js +38 -0
- package/dist-cjs/commands/DescribeUserImportJobCommand.js +38 -0
- package/dist-cjs/commands/DescribeUserPoolClientCommand.js +38 -0
- package/dist-cjs/commands/DescribeUserPoolCommand.js +38 -0
- package/dist-cjs/commands/DescribeUserPoolDomainCommand.js +38 -0
- package/dist-cjs/commands/ForgetDeviceCommand.js +38 -0
- package/dist-cjs/commands/ForgotPasswordCommand.js +36 -0
- package/dist-cjs/commands/GetCSVHeaderCommand.js +38 -0
- package/dist-cjs/commands/GetDeviceCommand.js +38 -0
- package/dist-cjs/commands/GetGroupCommand.js +38 -0
- package/dist-cjs/commands/GetIdentityProviderByIdentifierCommand.js +38 -0
- package/dist-cjs/commands/GetSigningCertificateCommand.js +38 -0
- package/dist-cjs/commands/GetUICustomizationCommand.js +38 -0
- package/dist-cjs/commands/GetUserAttributeVerificationCodeCommand.js +36 -0
- package/dist-cjs/commands/GetUserCommand.js +36 -0
- package/dist-cjs/commands/GetUserPoolMfaConfigCommand.js +38 -0
- package/dist-cjs/commands/GlobalSignOutCommand.js +38 -0
- package/dist-cjs/commands/InitiateAuthCommand.js +36 -0
- package/dist-cjs/commands/ListDevicesCommand.js +38 -0
- package/dist-cjs/commands/ListGroupsCommand.js +38 -0
- package/dist-cjs/commands/ListIdentityProvidersCommand.js +38 -0
- package/dist-cjs/commands/ListResourceServersCommand.js +38 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +38 -0
- package/dist-cjs/commands/ListUserImportJobsCommand.js +38 -0
- package/dist-cjs/commands/ListUserPoolClientsCommand.js +38 -0
- package/dist-cjs/commands/ListUserPoolsCommand.js +38 -0
- package/dist-cjs/commands/ListUsersCommand.js +38 -0
- package/dist-cjs/commands/ListUsersInGroupCommand.js +38 -0
- package/dist-cjs/commands/ResendConfirmationCodeCommand.js +36 -0
- package/dist-cjs/commands/RespondToAuthChallengeCommand.js +36 -0
- package/dist-cjs/commands/RevokeTokenCommand.js +38 -0
- package/dist-cjs/commands/SetRiskConfigurationCommand.js +38 -0
- package/dist-cjs/commands/SetUICustomizationCommand.js +38 -0
- package/dist-cjs/commands/SetUserMFAPreferenceCommand.js +38 -0
- package/dist-cjs/commands/SetUserPoolMfaConfigCommand.js +38 -0
- package/dist-cjs/commands/SetUserSettingsCommand.js +36 -0
- package/dist-cjs/commands/SignUpCommand.js +36 -0
- package/dist-cjs/commands/StartUserImportJobCommand.js +39 -0
- package/dist-cjs/commands/StopUserImportJobCommand.js +38 -0
- package/dist-cjs/commands/TagResourceCommand.js +38 -0
- package/dist-cjs/commands/UntagResourceCommand.js +38 -0
- package/dist-cjs/commands/UpdateAuthEventFeedbackCommand.js +38 -0
- package/dist-cjs/commands/UpdateDeviceStatusCommand.js +38 -0
- package/dist-cjs/commands/UpdateGroupCommand.js +38 -0
- package/dist-cjs/commands/UpdateIdentityProviderCommand.js +38 -0
- package/dist-cjs/commands/UpdateResourceServerCommand.js +38 -0
- package/dist-cjs/commands/UpdateUserAttributesCommand.js +36 -0
- package/dist-cjs/commands/UpdateUserPoolClientCommand.js +38 -0
- package/dist-cjs/commands/UpdateUserPoolCommand.js +38 -0
- package/dist-cjs/commands/UpdateUserPoolDomainCommand.js +38 -0
- package/dist-cjs/commands/VerifySoftwareTokenCommand.js +38 -0
- package/dist-cjs/commands/VerifyUserAttributeCommand.js +36 -0
- package/dist-cjs/endpoints.js +81 -0
- package/dist-cjs/index.js +117 -0
- package/dist-cjs/models/index.js +5 -0
- package/dist-cjs/models/models_0.js +1963 -0
- package/dist-cjs/models/models_1.js +201 -0
- package/dist-cjs/pagination/AdminListGroupsForUserPaginator.js +35 -0
- package/dist-cjs/pagination/AdminListUserAuthEventsPaginator.js +35 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListGroupsPaginator.js +35 -0
- package/dist-cjs/pagination/ListIdentityProvidersPaginator.js +35 -0
- package/dist-cjs/pagination/ListResourceServersPaginator.js +35 -0
- package/dist-cjs/pagination/ListUserPoolClientsPaginator.js +35 -0
- package/dist-cjs/pagination/ListUserPoolsPaginator.js +35 -0
- package/dist-cjs/pagination/ListUsersInGroupPaginator.js +35 -0
- package/dist-cjs/pagination/ListUsersPaginator.js +35 -0
- package/dist-cjs/protocols/Aws_json1_1.js +15313 -0
- package/dist-cjs/runtimeConfig.browser.js +37 -0
- package/dist-cjs/runtimeConfig.js +42 -0
- package/dist-cjs/runtimeConfig.native.js +16 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/CognitoIdentityProvider.js +1525 -0
- package/dist-es/CognitoIdentityProviderClient.js +36 -0
- package/dist-es/commands/AddCustomAttributesCommand.js +41 -0
- package/dist-es/commands/AdminAddUserToGroupCommand.js +41 -0
- package/dist-es/commands/AdminConfirmSignUpCommand.js +41 -0
- package/dist-es/commands/AdminCreateUserCommand.js +41 -0
- package/dist-es/commands/AdminDeleteUserAttributesCommand.js +41 -0
- package/dist-es/commands/AdminDeleteUserCommand.js +41 -0
- package/dist-es/commands/AdminDisableProviderForUserCommand.js +41 -0
- package/dist-es/commands/AdminDisableUserCommand.js +41 -0
- package/dist-es/commands/AdminEnableUserCommand.js +41 -0
- package/dist-es/commands/AdminForgetDeviceCommand.js +41 -0
- package/dist-es/commands/AdminGetDeviceCommand.js +41 -0
- package/dist-es/commands/AdminGetUserCommand.js +41 -0
- package/dist-es/commands/AdminInitiateAuthCommand.js +41 -0
- package/dist-es/commands/AdminLinkProviderForUserCommand.js +41 -0
- package/dist-es/commands/AdminListDevicesCommand.js +41 -0
- package/dist-es/commands/AdminListGroupsForUserCommand.js +41 -0
- package/dist-es/commands/AdminListUserAuthEventsCommand.js +41 -0
- package/dist-es/commands/AdminRemoveUserFromGroupCommand.js +41 -0
- package/dist-es/commands/AdminResetUserPasswordCommand.js +41 -0
- package/dist-es/commands/AdminRespondToAuthChallengeCommand.js +41 -0
- package/dist-es/commands/AdminSetUserMFAPreferenceCommand.js +41 -0
- package/dist-es/commands/AdminSetUserPasswordCommand.js +41 -0
- package/dist-es/commands/AdminSetUserSettingsCommand.js +41 -0
- package/dist-es/commands/AdminUpdateAuthEventFeedbackCommand.js +41 -0
- package/dist-es/commands/AdminUpdateDeviceStatusCommand.js +41 -0
- package/dist-es/commands/AdminUpdateUserAttributesCommand.js +41 -0
- package/dist-es/commands/AdminUserGlobalSignOutCommand.js +41 -0
- package/dist-es/commands/AssociateSoftwareTokenCommand.js +41 -0
- package/dist-es/commands/ChangePasswordCommand.js +39 -0
- package/dist-es/commands/ConfirmDeviceCommand.js +41 -0
- package/dist-es/commands/ConfirmForgotPasswordCommand.js +39 -0
- package/dist-es/commands/ConfirmSignUpCommand.js +39 -0
- package/dist-es/commands/CreateGroupCommand.js +41 -0
- package/dist-es/commands/CreateIdentityProviderCommand.js +41 -0
- package/dist-es/commands/CreateResourceServerCommand.js +41 -0
- package/dist-es/commands/CreateUserImportJobCommand.js +41 -0
- package/dist-es/commands/CreateUserPoolClientCommand.js +41 -0
- package/dist-es/commands/CreateUserPoolCommand.js +41 -0
- package/dist-es/commands/CreateUserPoolDomainCommand.js +41 -0
- package/dist-es/commands/DeleteGroupCommand.js +41 -0
- package/dist-es/commands/DeleteIdentityProviderCommand.js +41 -0
- package/dist-es/commands/DeleteResourceServerCommand.js +41 -0
- package/dist-es/commands/DeleteUserAttributesCommand.js +39 -0
- package/dist-es/commands/DeleteUserCommand.js +39 -0
- package/dist-es/commands/DeleteUserPoolClientCommand.js +41 -0
- package/dist-es/commands/DeleteUserPoolCommand.js +41 -0
- package/dist-es/commands/DeleteUserPoolDomainCommand.js +41 -0
- package/dist-es/commands/DescribeIdentityProviderCommand.js +41 -0
- package/dist-es/commands/DescribeResourceServerCommand.js +41 -0
- package/dist-es/commands/DescribeRiskConfigurationCommand.js +41 -0
- package/dist-es/commands/DescribeUserImportJobCommand.js +41 -0
- package/dist-es/commands/DescribeUserPoolClientCommand.js +41 -0
- package/dist-es/commands/DescribeUserPoolCommand.js +41 -0
- package/dist-es/commands/DescribeUserPoolDomainCommand.js +41 -0
- package/dist-es/commands/ForgetDeviceCommand.js +41 -0
- package/dist-es/commands/ForgotPasswordCommand.js +39 -0
- package/dist-es/commands/GetCSVHeaderCommand.js +41 -0
- package/dist-es/commands/GetDeviceCommand.js +41 -0
- package/dist-es/commands/GetGroupCommand.js +41 -0
- package/dist-es/commands/GetIdentityProviderByIdentifierCommand.js +41 -0
- package/dist-es/commands/GetSigningCertificateCommand.js +41 -0
- package/dist-es/commands/GetUICustomizationCommand.js +41 -0
- package/dist-es/commands/GetUserAttributeVerificationCodeCommand.js +39 -0
- package/dist-es/commands/GetUserCommand.js +39 -0
- package/dist-es/commands/GetUserPoolMfaConfigCommand.js +41 -0
- package/dist-es/commands/GlobalSignOutCommand.js +41 -0
- package/dist-es/commands/InitiateAuthCommand.js +39 -0
- package/dist-es/commands/ListDevicesCommand.js +41 -0
- package/dist-es/commands/ListGroupsCommand.js +41 -0
- package/dist-es/commands/ListIdentityProvidersCommand.js +41 -0
- package/dist-es/commands/ListResourceServersCommand.js +41 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +41 -0
- package/dist-es/commands/ListUserImportJobsCommand.js +41 -0
- package/dist-es/commands/ListUserPoolClientsCommand.js +41 -0
- package/dist-es/commands/ListUserPoolsCommand.js +41 -0
- package/dist-es/commands/ListUsersCommand.js +41 -0
- package/dist-es/commands/ListUsersInGroupCommand.js +41 -0
- package/dist-es/commands/ResendConfirmationCodeCommand.js +39 -0
- package/dist-es/commands/RespondToAuthChallengeCommand.js +39 -0
- package/dist-es/commands/RevokeTokenCommand.js +41 -0
- package/dist-es/commands/SetRiskConfigurationCommand.js +41 -0
- package/dist-es/commands/SetUICustomizationCommand.js +41 -0
- package/dist-es/commands/SetUserMFAPreferenceCommand.js +41 -0
- package/dist-es/commands/SetUserPoolMfaConfigCommand.js +41 -0
- package/dist-es/commands/SetUserSettingsCommand.js +39 -0
- package/dist-es/commands/SignUpCommand.js +39 -0
- package/dist-es/commands/StartUserImportJobCommand.js +42 -0
- package/dist-es/commands/StopUserImportJobCommand.js +41 -0
- package/dist-es/commands/TagResourceCommand.js +41 -0
- package/dist-es/commands/UntagResourceCommand.js +41 -0
- package/dist-es/commands/UpdateAuthEventFeedbackCommand.js +41 -0
- package/dist-es/commands/UpdateDeviceStatusCommand.js +41 -0
- package/dist-es/commands/UpdateGroupCommand.js +41 -0
- package/dist-es/commands/UpdateIdentityProviderCommand.js +41 -0
- package/dist-es/commands/UpdateResourceServerCommand.js +41 -0
- package/dist-es/commands/UpdateUserAttributesCommand.js +39 -0
- package/dist-es/commands/UpdateUserPoolClientCommand.js +41 -0
- package/dist-es/commands/UpdateUserPoolCommand.js +41 -0
- package/dist-es/commands/UpdateUserPoolDomainCommand.js +41 -0
- package/dist-es/commands/VerifySoftwareTokenCommand.js +41 -0
- package/dist-es/commands/VerifyUserAttributeCommand.js +39 -0
- package/dist-es/endpoints.js +77 -0
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/dist-es/models/models_0.js +1317 -0
- package/dist-es/models/models_1.js +130 -0
- package/dist-es/pagination/AdminListGroupsForUserPaginator.js +74 -0
- package/dist-es/pagination/AdminListUserAuthEventsPaginator.js +74 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListGroupsPaginator.js +74 -0
- package/dist-es/pagination/ListIdentityProvidersPaginator.js +74 -0
- package/dist-es/pagination/ListResourceServersPaginator.js +74 -0
- package/dist-es/pagination/ListUserPoolClientsPaginator.js +74 -0
- package/dist-es/pagination/ListUserPoolsPaginator.js +74 -0
- package/dist-es/pagination/ListUsersInGroupPaginator.js +74 -0
- package/dist-es/pagination/ListUsersPaginator.js +74 -0
- package/dist-es/protocols/Aws_json1_1.js +15618 -0
- package/dist-es/runtimeConfig.browser.js +16 -0
- package/dist-es/runtimeConfig.js +21 -0
- package/dist-es/runtimeConfig.native.js +8 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-types/CognitoIdentityProvider.d.ts +1213 -0
- package/dist-types/CognitoIdentityProviderClient.d.ts +239 -0
- package/dist-types/commands/AddCustomAttributesCommand.d.ts +35 -0
- package/dist-types/commands/AdminAddUserToGroupCommand.d.ts +36 -0
- package/dist-types/commands/AdminConfirmSignUpCommand.d.ts +37 -0
- package/dist-types/commands/AdminCreateUserCommand.d.ts +64 -0
- package/dist-types/commands/AdminDeleteUserAttributesCommand.d.ts +37 -0
- package/dist-types/commands/AdminDeleteUserCommand.d.ts +36 -0
- package/dist-types/commands/AdminDisableProviderForUserCommand.d.ts +62 -0
- package/dist-types/commands/AdminDisableUserCommand.d.ts +36 -0
- package/dist-types/commands/AdminEnableUserCommand.d.ts +36 -0
- package/dist-types/commands/AdminForgetDeviceCommand.d.ts +36 -0
- package/dist-types/commands/AdminGetDeviceCommand.d.ts +36 -0
- package/dist-types/commands/AdminGetUserCommand.d.ts +37 -0
- package/dist-types/commands/AdminInitiateAuthCommand.d.ts +55 -0
- package/dist-types/commands/AdminLinkProviderForUserCommand.d.ts +55 -0
- package/dist-types/commands/AdminListDevicesCommand.d.ts +36 -0
- package/dist-types/commands/AdminListGroupsForUserCommand.d.ts +36 -0
- package/dist-types/commands/AdminListUserAuthEventsCommand.d.ts +36 -0
- package/dist-types/commands/AdminRemoveUserFromGroupCommand.d.ts +36 -0
- package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +64 -0
- package/dist-types/commands/AdminRespondToAuthChallengeCommand.d.ts +54 -0
- package/dist-types/commands/AdminSetUserMFAPreferenceCommand.d.ts +39 -0
- package/dist-types/commands/AdminSetUserPasswordCommand.d.ts +44 -0
- package/dist-types/commands/AdminSetUserSettingsCommand.d.ts +38 -0
- package/dist-types/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +37 -0
- package/dist-types/commands/AdminUpdateDeviceStatusCommand.d.ts +36 -0
- package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +59 -0
- package/dist-types/commands/AdminUserGlobalSignOutCommand.d.ts +38 -0
- package/dist-types/commands/AssociateSoftwareTokenCommand.d.ts +44 -0
- package/dist-types/commands/ChangePasswordCommand.d.ts +35 -0
- package/dist-types/commands/ConfirmDeviceCommand.d.ts +36 -0
- package/dist-types/commands/ConfirmForgotPasswordCommand.d.ts +35 -0
- package/dist-types/commands/ConfirmSignUpCommand.d.ts +36 -0
- package/dist-types/commands/CreateGroupCommand.d.ts +36 -0
- package/dist-types/commands/CreateIdentityProviderCommand.d.ts +35 -0
- package/dist-types/commands/CreateResourceServerCommand.d.ts +35 -0
- package/dist-types/commands/CreateUserImportJobCommand.d.ts +35 -0
- package/dist-types/commands/CreateUserPoolClientCommand.d.ts +37 -0
- package/dist-types/commands/CreateUserPoolCommand.d.ts +53 -0
- package/dist-types/commands/CreateUserPoolDomainCommand.d.ts +35 -0
- package/dist-types/commands/DeleteGroupCommand.d.ts +36 -0
- package/dist-types/commands/DeleteIdentityProviderCommand.d.ts +35 -0
- package/dist-types/commands/DeleteResourceServerCommand.d.ts +35 -0
- package/dist-types/commands/DeleteUserAttributesCommand.d.ts +35 -0
- package/dist-types/commands/DeleteUserCommand.d.ts +35 -0
- package/dist-types/commands/DeleteUserPoolClientCommand.d.ts +35 -0
- package/dist-types/commands/DeleteUserPoolCommand.d.ts +35 -0
- package/dist-types/commands/DeleteUserPoolDomainCommand.d.ts +35 -0
- package/dist-types/commands/DescribeIdentityProviderCommand.d.ts +35 -0
- package/dist-types/commands/DescribeResourceServerCommand.d.ts +35 -0
- package/dist-types/commands/DescribeRiskConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/DescribeUserImportJobCommand.d.ts +35 -0
- package/dist-types/commands/DescribeUserPoolClientCommand.d.ts +36 -0
- package/dist-types/commands/DescribeUserPoolCommand.d.ts +35 -0
- package/dist-types/commands/DescribeUserPoolDomainCommand.d.ts +35 -0
- package/dist-types/commands/ForgetDeviceCommand.d.ts +35 -0
- package/dist-types/commands/ForgotPasswordCommand.d.ts +59 -0
- package/dist-types/commands/GetCSVHeaderCommand.d.ts +36 -0
- package/dist-types/commands/GetDeviceCommand.d.ts +35 -0
- package/dist-types/commands/GetGroupCommand.d.ts +36 -0
- package/dist-types/commands/GetIdentityProviderByIdentifierCommand.d.ts +35 -0
- package/dist-types/commands/GetSigningCertificateCommand.d.ts +35 -0
- package/dist-types/commands/GetUICustomizationCommand.d.ts +38 -0
- package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +52 -0
- package/dist-types/commands/GetUserCommand.d.ts +35 -0
- package/dist-types/commands/GetUserPoolMfaConfigCommand.d.ts +35 -0
- package/dist-types/commands/GlobalSignOutCommand.d.ts +37 -0
- package/dist-types/commands/InitiateAuthCommand.d.ts +52 -0
- package/dist-types/commands/ListDevicesCommand.d.ts +35 -0
- package/dist-types/commands/ListGroupsCommand.d.ts +36 -0
- package/dist-types/commands/ListIdentityProvidersCommand.d.ts +35 -0
- package/dist-types/commands/ListResourceServersCommand.d.ts +35 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +38 -0
- package/dist-types/commands/ListUserImportJobsCommand.d.ts +35 -0
- package/dist-types/commands/ListUserPoolClientsCommand.d.ts +35 -0
- package/dist-types/commands/ListUserPoolsCommand.d.ts +35 -0
- package/dist-types/commands/ListUsersCommand.d.ts +35 -0
- package/dist-types/commands/ListUsersInGroupCommand.d.ts +36 -0
- package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +53 -0
- package/dist-types/commands/RespondToAuthChallengeCommand.d.ts +52 -0
- package/dist-types/commands/RevokeTokenCommand.d.ts +36 -0
- package/dist-types/commands/SetRiskConfigurationCommand.d.ts +39 -0
- package/dist-types/commands/SetUICustomizationCommand.d.ts +46 -0
- package/dist-types/commands/SetUserMFAPreferenceCommand.d.ts +43 -0
- package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +52 -0
- package/dist-types/commands/SetUserSettingsCommand.d.ts +38 -0
- package/dist-types/commands/SignUpCommand.d.ts +53 -0
- package/dist-types/commands/StartUserImportJobCommand.d.ts +36 -0
- package/dist-types/commands/StopUserImportJobCommand.d.ts +35 -0
- package/dist-types/commands/TagResourceCommand.d.ts +48 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +36 -0
- package/dist-types/commands/UpdateAuthEventFeedbackCommand.d.ts +37 -0
- package/dist-types/commands/UpdateDeviceStatusCommand.d.ts +35 -0
- package/dist-types/commands/UpdateGroupCommand.d.ts +36 -0
- package/dist-types/commands/UpdateIdentityProviderCommand.d.ts +35 -0
- package/dist-types/commands/UpdateResourceServerCommand.d.ts +39 -0
- package/dist-types/commands/UpdateUserAttributesCommand.d.ts +52 -0
- package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +42 -0
- package/dist-types/commands/UpdateUserPoolCommand.d.ts +54 -0
- package/dist-types/commands/UpdateUserPoolDomainCommand.d.ts +55 -0
- package/dist-types/commands/VerifySoftwareTokenCommand.d.ts +37 -0
- package/dist-types/commands/VerifyUserAttributeCommand.d.ts +35 -0
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/dist-types/models/models_1.d.ts +861 -0
- package/dist-types/pagination/AdminListGroupsForUserPaginator.d.ts +4 -0
- package/dist-types/pagination/AdminListUserAuthEventsPaginator.d.ts +4 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListGroupsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListIdentityProvidersPaginator.d.ts +4 -0
- package/dist-types/pagination/ListResourceServersPaginator.d.ts +4 -0
- package/dist-types/pagination/ListUserPoolClientsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListUserPoolsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListUsersInGroupPaginator.d.ts +4 -0
- package/dist-types/pagination/ListUsersPaginator.d.ts +4 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +305 -0
- package/dist-types/runtimeConfig.browser.d.ts +40 -0
- package/dist-types/runtimeConfig.d.ts +37 -0
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/dist-types/ts3.4/CognitoIdentityProvider.d.ts +510 -0
- package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +168 -0
- package/dist-types/ts3.4/commands/AddCustomAttributesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AdminAddUserToGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AdminConfirmSignUpCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AdminCreateUserCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AdminDeleteUserAttributesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AdminDeleteUserCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AdminDisableProviderForUserCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AdminDisableUserCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AdminEnableUserCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AdminForgetDeviceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AdminGetDeviceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AdminGetUserCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AdminInitiateAuthCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AdminLinkProviderForUserCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AdminListDevicesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AdminListGroupsForUserCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AdminListUserAuthEventsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AdminRemoveUserFromGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AdminResetUserPasswordCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AdminRespondToAuthChallengeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AdminSetUserMFAPreferenceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AdminSetUserPasswordCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AdminSetUserSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AdminUpdateDeviceStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AdminUpdateUserAttributesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AdminUserGlobalSignOutCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AssociateSoftwareTokenCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ChangePasswordCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ConfirmDeviceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ConfirmForgotPasswordCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ConfirmSignUpCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateIdentityProviderCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateResourceServerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateUserImportJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateUserPoolClientCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateUserPoolCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateUserPoolDomainCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteIdentityProviderCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteResourceServerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteUserAttributesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteUserPoolClientCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteUserPoolCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteUserPoolDomainCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeIdentityProviderCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeResourceServerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeRiskConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeUserImportJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeUserPoolClientCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeUserPoolCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeUserPoolDomainCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ForgetDeviceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ForgotPasswordCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetCSVHeaderCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDeviceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetIdentityProviderByIdentifierCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSigningCertificateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetUICustomizationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetUserAttributeVerificationCodeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetUserCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetUserPoolMfaConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GlobalSignOutCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/InitiateAuthCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDevicesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListIdentityProvidersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListResourceServersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListUserImportJobsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListUserPoolClientsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListUserPoolsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListUsersInGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ResendConfirmationCodeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RespondToAuthChallengeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RevokeTokenCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SetRiskConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SetUICustomizationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SetUserMFAPreferenceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SetUserPoolMfaConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SetUserSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SignUpCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartUserImportJobCommand.d.ts +18 -0
- package/dist-types/ts3.4/commands/StopUserImportJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateAuthEventFeedbackCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateDeviceStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateIdentityProviderCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateResourceServerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateUserAttributesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateUserPoolClientCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateUserPoolCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateUserPoolDomainCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/VerifySoftwareTokenCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/VerifyUserAttributeCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +3566 -0
- package/dist-types/ts3.4/models/models_1.d.ts +391 -0
- package/dist-types/ts3.4/pagination/AdminListGroupsForUserPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/AdminListUserAuthEventsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListGroupsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListIdentityProvidersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListResourceServersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListUserPoolClientsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListUserPoolsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListUsersInGroupPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListUsersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +305 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +36 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +35 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +34 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +45 -42
- package/CognitoIdentityProvider.ts +0 -4101
- package/CognitoIdentityProviderClient.ts +0 -706
- package/commands/AddCustomAttributesCommand.ts +0 -100
- package/commands/AdminAddUserToGroupCommand.ts +0 -101
- package/commands/AdminConfirmSignUpCommand.ts +0 -102
- package/commands/AdminCreateUserCommand.ts +0 -129
- package/commands/AdminDeleteUserAttributesCommand.ts +0 -105
- package/commands/AdminDeleteUserCommand.ts +0 -101
- package/commands/AdminDisableProviderForUserCommand.ts +0 -132
- package/commands/AdminDisableUserCommand.ts +0 -101
- package/commands/AdminEnableUserCommand.ts +0 -101
- package/commands/AdminForgetDeviceCommand.ts +0 -101
- package/commands/AdminGetDeviceCommand.ts +0 -101
- package/commands/AdminGetUserCommand.ts +0 -102
- package/commands/AdminInitiateAuthCommand.ts +0 -120
- package/commands/AdminLinkProviderForUserCommand.ts +0 -120
- package/commands/AdminListDevicesCommand.ts +0 -101
- package/commands/AdminListGroupsForUserCommand.ts +0 -101
- package/commands/AdminListUserAuthEventsCommand.ts +0 -101
- package/commands/AdminRemoveUserFromGroupCommand.ts +0 -101
- package/commands/AdminResetUserPasswordCommand.ts +0 -129
- package/commands/AdminRespondToAuthChallengeCommand.ts +0 -124
- package/commands/AdminSetUserMFAPreferenceCommand.ts +0 -107
- package/commands/AdminSetUserPasswordCommand.ts +0 -109
- package/commands/AdminSetUserSettingsCommand.ts +0 -103
- package/commands/AdminUpdateAuthEventFeedbackCommand.ts +0 -107
- package/commands/AdminUpdateDeviceStatusCommand.ts +0 -101
- package/commands/AdminUpdateUserAttributesCommand.ts +0 -127
- package/commands/AdminUserGlobalSignOutCommand.ts +0 -103
- package/commands/AssociateSoftwareTokenCommand.ts +0 -109
- package/commands/ChangePasswordCommand.ts +0 -98
- package/commands/ConfirmDeviceCommand.ts +0 -101
- package/commands/ConfirmForgotPasswordCommand.ts +0 -98
- package/commands/ConfirmSignUpCommand.ts +0 -99
- package/commands/CreateGroupCommand.ts +0 -101
- package/commands/CreateIdentityProviderCommand.ts +0 -100
- package/commands/CreateResourceServerCommand.ts +0 -100
- package/commands/CreateUserImportJobCommand.ts +0 -100
- package/commands/CreateUserPoolClientCommand.ts +0 -102
- package/commands/CreateUserPoolCommand.ts +0 -118
- package/commands/CreateUserPoolDomainCommand.ts +0 -100
- package/commands/DeleteGroupCommand.ts +0 -101
- package/commands/DeleteIdentityProviderCommand.ts +0 -100
- package/commands/DeleteResourceServerCommand.ts +0 -100
- package/commands/DeleteUserAttributesCommand.ts +0 -98
- package/commands/DeleteUserCommand.ts +0 -98
- package/commands/DeleteUserPoolClientCommand.ts +0 -100
- package/commands/DeleteUserPoolCommand.ts +0 -100
- package/commands/DeleteUserPoolDomainCommand.ts +0 -100
- package/commands/DescribeIdentityProviderCommand.ts +0 -100
- package/commands/DescribeResourceServerCommand.ts +0 -100
- package/commands/DescribeRiskConfigurationCommand.ts +0 -103
- package/commands/DescribeUserImportJobCommand.ts +0 -100
- package/commands/DescribeUserPoolClientCommand.ts +0 -101
- package/commands/DescribeUserPoolCommand.ts +0 -100
- package/commands/DescribeUserPoolDomainCommand.ts +0 -100
- package/commands/ForgetDeviceCommand.ts +0 -100
- package/commands/ForgotPasswordCommand.ts +0 -122
- package/commands/GetCSVHeaderCommand.ts +0 -101
- package/commands/GetDeviceCommand.ts +0 -97
- package/commands/GetGroupCommand.ts +0 -98
- package/commands/GetIdentityProviderByIdentifierCommand.ts +0 -108
- package/commands/GetSigningCertificateCommand.ts +0 -100
- package/commands/GetUICustomizationCommand.ts +0 -103
- package/commands/GetUserAttributeVerificationCodeCommand.ts +0 -123
- package/commands/GetUserCommand.ts +0 -95
- package/commands/GetUserPoolMfaConfigCommand.ts +0 -100
- package/commands/GlobalSignOutCommand.ts +0 -102
- package/commands/InitiateAuthCommand.ts +0 -115
- package/commands/ListDevicesCommand.ts +0 -100
- package/commands/ListGroupsCommand.ts +0 -101
- package/commands/ListIdentityProvidersCommand.ts +0 -100
- package/commands/ListResourceServersCommand.ts +0 -100
- package/commands/ListTagsForResourceCommand.ts +0 -103
- package/commands/ListUserImportJobsCommand.ts +0 -100
- package/commands/ListUserPoolClientsCommand.ts +0 -100
- package/commands/ListUserPoolsCommand.ts +0 -100
- package/commands/ListUsersCommand.ts +0 -97
- package/commands/ListUsersInGroupCommand.ts +0 -101
- package/commands/ResendConfirmationCodeCommand.ts +0 -116
- package/commands/RespondToAuthChallengeCommand.ts +0 -115
- package/commands/RevokeTokenCommand.ts +0 -101
- package/commands/SetRiskConfigurationCommand.ts +0 -104
- package/commands/SetUICustomizationCommand.ts +0 -111
- package/commands/SetUserMFAPreferenceCommand.ts +0 -108
- package/commands/SetUserPoolMfaConfigCommand.ts +0 -117
- package/commands/SetUserSettingsCommand.ts +0 -101
- package/commands/SignUpCommand.ts +0 -113
- package/commands/StartUserImportJobCommand.ts +0 -101
- package/commands/StopUserImportJobCommand.ts +0 -100
- package/commands/TagResourceCommand.ts +0 -113
- package/commands/UntagResourceCommand.ts +0 -101
- package/commands/UpdateAuthEventFeedbackCommand.ts +0 -102
- package/commands/UpdateDeviceStatusCommand.ts +0 -100
- package/commands/UpdateGroupCommand.ts +0 -101
- package/commands/UpdateIdentityProviderCommand.ts +0 -100
- package/commands/UpdateResourceServerCommand.ts +0 -104
- package/commands/UpdateUserAttributesCommand.ts +0 -115
- package/commands/UpdateUserPoolClientCommand.ts +0 -107
- package/commands/UpdateUserPoolCommand.ts +0 -119
- package/commands/UpdateUserPoolDomainCommand.ts +0 -120
- package/commands/VerifySoftwareTokenCommand.ts +0 -102
- package/commands/VerifyUserAttributeCommand.ts +0 -98
- package/dist/cjs/CognitoIdentityProvider.js +0 -1532
- package/dist/cjs/CognitoIdentityProvider.js.map +0 -1
- package/dist/cjs/CognitoIdentityProviderClient.js +0 -49
- package/dist/cjs/CognitoIdentityProviderClient.js.map +0 -1
- package/dist/cjs/commands/AddCustomAttributesCommand.js +0 -63
- package/dist/cjs/commands/AddCustomAttributesCommand.js.map +0 -1
- package/dist/cjs/commands/AdminAddUserToGroupCommand.js +0 -64
- package/dist/cjs/commands/AdminAddUserToGroupCommand.js.map +0 -1
- package/dist/cjs/commands/AdminConfirmSignUpCommand.js +0 -65
- package/dist/cjs/commands/AdminConfirmSignUpCommand.js.map +0 -1
- package/dist/cjs/commands/AdminCreateUserCommand.js +0 -92
- package/dist/cjs/commands/AdminCreateUserCommand.js.map +0 -1
- package/dist/cjs/commands/AdminDeleteUserAttributesCommand.js +0 -65
- package/dist/cjs/commands/AdminDeleteUserAttributesCommand.js.map +0 -1
- package/dist/cjs/commands/AdminDeleteUserCommand.js +0 -64
- package/dist/cjs/commands/AdminDeleteUserCommand.js.map +0 -1
- package/dist/cjs/commands/AdminDisableProviderForUserCommand.js +0 -90
- package/dist/cjs/commands/AdminDisableProviderForUserCommand.js.map +0 -1
- package/dist/cjs/commands/AdminDisableUserCommand.js +0 -64
- package/dist/cjs/commands/AdminDisableUserCommand.js.map +0 -1
- package/dist/cjs/commands/AdminEnableUserCommand.js +0 -64
- package/dist/cjs/commands/AdminEnableUserCommand.js.map +0 -1
- package/dist/cjs/commands/AdminForgetDeviceCommand.js +0 -64
- package/dist/cjs/commands/AdminForgetDeviceCommand.js.map +0 -1
- package/dist/cjs/commands/AdminGetDeviceCommand.js +0 -64
- package/dist/cjs/commands/AdminGetDeviceCommand.js.map +0 -1
- package/dist/cjs/commands/AdminGetUserCommand.js +0 -65
- package/dist/cjs/commands/AdminGetUserCommand.js.map +0 -1
- package/dist/cjs/commands/AdminInitiateAuthCommand.js +0 -83
- package/dist/cjs/commands/AdminInitiateAuthCommand.js.map +0 -1
- package/dist/cjs/commands/AdminLinkProviderForUserCommand.js +0 -83
- package/dist/cjs/commands/AdminLinkProviderForUserCommand.js.map +0 -1
- package/dist/cjs/commands/AdminListDevicesCommand.js +0 -64
- package/dist/cjs/commands/AdminListDevicesCommand.js.map +0 -1
- package/dist/cjs/commands/AdminListGroupsForUserCommand.js +0 -64
- package/dist/cjs/commands/AdminListGroupsForUserCommand.js.map +0 -1
- package/dist/cjs/commands/AdminListUserAuthEventsCommand.js +0 -64
- package/dist/cjs/commands/AdminListUserAuthEventsCommand.js.map +0 -1
- package/dist/cjs/commands/AdminRemoveUserFromGroupCommand.js +0 -64
- package/dist/cjs/commands/AdminRemoveUserFromGroupCommand.js.map +0 -1
- package/dist/cjs/commands/AdminResetUserPasswordCommand.js +0 -92
- package/dist/cjs/commands/AdminResetUserPasswordCommand.js.map +0 -1
- package/dist/cjs/commands/AdminRespondToAuthChallengeCommand.js +0 -82
- package/dist/cjs/commands/AdminRespondToAuthChallengeCommand.js.map +0 -1
- package/dist/cjs/commands/AdminSetUserMFAPreferenceCommand.js +0 -67
- package/dist/cjs/commands/AdminSetUserMFAPreferenceCommand.js.map +0 -1
- package/dist/cjs/commands/AdminSetUserPasswordCommand.js +0 -72
- package/dist/cjs/commands/AdminSetUserPasswordCommand.js.map +0 -1
- package/dist/cjs/commands/AdminSetUserSettingsCommand.js +0 -66
- package/dist/cjs/commands/AdminSetUserSettingsCommand.js.map +0 -1
- package/dist/cjs/commands/AdminUpdateAuthEventFeedbackCommand.js +0 -65
- package/dist/cjs/commands/AdminUpdateAuthEventFeedbackCommand.js.map +0 -1
- package/dist/cjs/commands/AdminUpdateDeviceStatusCommand.js +0 -64
- package/dist/cjs/commands/AdminUpdateDeviceStatusCommand.js.map +0 -1
- package/dist/cjs/commands/AdminUpdateUserAttributesCommand.js +0 -87
- package/dist/cjs/commands/AdminUpdateUserAttributesCommand.js.map +0 -1
- package/dist/cjs/commands/AdminUserGlobalSignOutCommand.js +0 -66
- package/dist/cjs/commands/AdminUserGlobalSignOutCommand.js.map +0 -1
- package/dist/cjs/commands/AssociateSoftwareTokenCommand.js +0 -72
- package/dist/cjs/commands/AssociateSoftwareTokenCommand.js.map +0 -1
- package/dist/cjs/commands/ChangePasswordCommand.js +0 -61
- package/dist/cjs/commands/ChangePasswordCommand.js.map +0 -1
- package/dist/cjs/commands/ConfirmDeviceCommand.js +0 -64
- package/dist/cjs/commands/ConfirmDeviceCommand.js.map +0 -1
- package/dist/cjs/commands/ConfirmForgotPasswordCommand.js +0 -61
- package/dist/cjs/commands/ConfirmForgotPasswordCommand.js.map +0 -1
- package/dist/cjs/commands/ConfirmSignUpCommand.js +0 -62
- package/dist/cjs/commands/ConfirmSignUpCommand.js.map +0 -1
- package/dist/cjs/commands/CreateGroupCommand.js +0 -64
- package/dist/cjs/commands/CreateGroupCommand.js.map +0 -1
- package/dist/cjs/commands/CreateIdentityProviderCommand.js +0 -63
- package/dist/cjs/commands/CreateIdentityProviderCommand.js.map +0 -1
- package/dist/cjs/commands/CreateResourceServerCommand.js +0 -63
- package/dist/cjs/commands/CreateResourceServerCommand.js.map +0 -1
- package/dist/cjs/commands/CreateUserImportJobCommand.js +0 -63
- package/dist/cjs/commands/CreateUserImportJobCommand.js.map +0 -1
- package/dist/cjs/commands/CreateUserPoolClientCommand.js +0 -65
- package/dist/cjs/commands/CreateUserPoolClientCommand.js.map +0 -1
- package/dist/cjs/commands/CreateUserPoolCommand.js +0 -81
- package/dist/cjs/commands/CreateUserPoolCommand.js.map +0 -1
- package/dist/cjs/commands/CreateUserPoolDomainCommand.js +0 -63
- package/dist/cjs/commands/CreateUserPoolDomainCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteGroupCommand.js +0 -64
- package/dist/cjs/commands/DeleteGroupCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteIdentityProviderCommand.js +0 -63
- package/dist/cjs/commands/DeleteIdentityProviderCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteResourceServerCommand.js +0 -63
- package/dist/cjs/commands/DeleteResourceServerCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteUserAttributesCommand.js +0 -61
- package/dist/cjs/commands/DeleteUserAttributesCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteUserCommand.js +0 -61
- package/dist/cjs/commands/DeleteUserCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteUserPoolClientCommand.js +0 -63
- package/dist/cjs/commands/DeleteUserPoolClientCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteUserPoolCommand.js +0 -63
- package/dist/cjs/commands/DeleteUserPoolCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteUserPoolDomainCommand.js +0 -63
- package/dist/cjs/commands/DeleteUserPoolDomainCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeIdentityProviderCommand.js +0 -63
- package/dist/cjs/commands/DescribeIdentityProviderCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeResourceServerCommand.js +0 -63
- package/dist/cjs/commands/DescribeResourceServerCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeRiskConfigurationCommand.js +0 -63
- package/dist/cjs/commands/DescribeRiskConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeUserImportJobCommand.js +0 -63
- package/dist/cjs/commands/DescribeUserImportJobCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeUserPoolClientCommand.js +0 -64
- package/dist/cjs/commands/DescribeUserPoolClientCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeUserPoolCommand.js +0 -63
- package/dist/cjs/commands/DescribeUserPoolCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeUserPoolDomainCommand.js +0 -63
- package/dist/cjs/commands/DescribeUserPoolDomainCommand.js.map +0 -1
- package/dist/cjs/commands/ForgetDeviceCommand.js +0 -63
- package/dist/cjs/commands/ForgetDeviceCommand.js.map +0 -1
- package/dist/cjs/commands/ForgotPasswordCommand.js +0 -85
- package/dist/cjs/commands/ForgotPasswordCommand.js.map +0 -1
- package/dist/cjs/commands/GetCSVHeaderCommand.js +0 -64
- package/dist/cjs/commands/GetCSVHeaderCommand.js.map +0 -1
- package/dist/cjs/commands/GetDeviceCommand.js +0 -63
- package/dist/cjs/commands/GetDeviceCommand.js.map +0 -1
- package/dist/cjs/commands/GetGroupCommand.js +0 -64
- package/dist/cjs/commands/GetGroupCommand.js.map +0 -1
- package/dist/cjs/commands/GetIdentityProviderByIdentifierCommand.js +0 -63
- package/dist/cjs/commands/GetIdentityProviderByIdentifierCommand.js.map +0 -1
- package/dist/cjs/commands/GetSigningCertificateCommand.js +0 -63
- package/dist/cjs/commands/GetSigningCertificateCommand.js.map +0 -1
- package/dist/cjs/commands/GetUICustomizationCommand.js +0 -66
- package/dist/cjs/commands/GetUICustomizationCommand.js.map +0 -1
- package/dist/cjs/commands/GetUserAttributeVerificationCodeCommand.js +0 -78
- package/dist/cjs/commands/GetUserAttributeVerificationCodeCommand.js.map +0 -1
- package/dist/cjs/commands/GetUserCommand.js +0 -61
- package/dist/cjs/commands/GetUserCommand.js.map +0 -1
- package/dist/cjs/commands/GetUserPoolMfaConfigCommand.js +0 -63
- package/dist/cjs/commands/GetUserPoolMfaConfigCommand.js.map +0 -1
- package/dist/cjs/commands/GlobalSignOutCommand.js +0 -65
- package/dist/cjs/commands/GlobalSignOutCommand.js.map +0 -1
- package/dist/cjs/commands/InitiateAuthCommand.js +0 -78
- package/dist/cjs/commands/InitiateAuthCommand.js.map +0 -1
- package/dist/cjs/commands/ListDevicesCommand.js +0 -63
- package/dist/cjs/commands/ListDevicesCommand.js.map +0 -1
- package/dist/cjs/commands/ListGroupsCommand.js +0 -64
- package/dist/cjs/commands/ListGroupsCommand.js.map +0 -1
- package/dist/cjs/commands/ListIdentityProvidersCommand.js +0 -63
- package/dist/cjs/commands/ListIdentityProvidersCommand.js.map +0 -1
- package/dist/cjs/commands/ListResourceServersCommand.js +0 -63
- package/dist/cjs/commands/ListResourceServersCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js +0 -66
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/ListUserImportJobsCommand.js +0 -63
- package/dist/cjs/commands/ListUserImportJobsCommand.js.map +0 -1
- package/dist/cjs/commands/ListUserPoolClientsCommand.js +0 -63
- package/dist/cjs/commands/ListUserPoolClientsCommand.js.map +0 -1
- package/dist/cjs/commands/ListUserPoolsCommand.js +0 -63
- package/dist/cjs/commands/ListUserPoolsCommand.js.map +0 -1
- package/dist/cjs/commands/ListUsersCommand.js +0 -63
- package/dist/cjs/commands/ListUsersCommand.js.map +0 -1
- package/dist/cjs/commands/ListUsersInGroupCommand.js +0 -64
- package/dist/cjs/commands/ListUsersInGroupCommand.js.map +0 -1
- package/dist/cjs/commands/ResendConfirmationCodeCommand.js +0 -79
- package/dist/cjs/commands/ResendConfirmationCodeCommand.js.map +0 -1
- package/dist/cjs/commands/RespondToAuthChallengeCommand.js +0 -78
- package/dist/cjs/commands/RespondToAuthChallengeCommand.js.map +0 -1
- package/dist/cjs/commands/RevokeTokenCommand.js +0 -64
- package/dist/cjs/commands/RevokeTokenCommand.js.map +0 -1
- package/dist/cjs/commands/SetRiskConfigurationCommand.js +0 -67
- package/dist/cjs/commands/SetRiskConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/SetUICustomizationCommand.js +0 -74
- package/dist/cjs/commands/SetUICustomizationCommand.js.map +0 -1
- package/dist/cjs/commands/SetUserMFAPreferenceCommand.js +0 -71
- package/dist/cjs/commands/SetUserMFAPreferenceCommand.js.map +0 -1
- package/dist/cjs/commands/SetUserPoolMfaConfigCommand.js +0 -80
- package/dist/cjs/commands/SetUserPoolMfaConfigCommand.js.map +0 -1
- package/dist/cjs/commands/SetUserSettingsCommand.js +0 -64
- package/dist/cjs/commands/SetUserSettingsCommand.js.map +0 -1
- package/dist/cjs/commands/SignUpCommand.js +0 -79
- package/dist/cjs/commands/SignUpCommand.js.map +0 -1
- package/dist/cjs/commands/StartUserImportJobCommand.js +0 -64
- package/dist/cjs/commands/StartUserImportJobCommand.js.map +0 -1
- package/dist/cjs/commands/StopUserImportJobCommand.js +0 -63
- package/dist/cjs/commands/StopUserImportJobCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js +0 -76
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js +0 -64
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateAuthEventFeedbackCommand.js +0 -65
- package/dist/cjs/commands/UpdateAuthEventFeedbackCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateDeviceStatusCommand.js +0 -63
- package/dist/cjs/commands/UpdateDeviceStatusCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateGroupCommand.js +0 -64
- package/dist/cjs/commands/UpdateGroupCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateIdentityProviderCommand.js +0 -63
- package/dist/cjs/commands/UpdateIdentityProviderCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateResourceServerCommand.js +0 -67
- package/dist/cjs/commands/UpdateResourceServerCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateUserAttributesCommand.js +0 -78
- package/dist/cjs/commands/UpdateUserAttributesCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateUserPoolClientCommand.js +0 -70
- package/dist/cjs/commands/UpdateUserPoolClientCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateUserPoolCommand.js +0 -82
- package/dist/cjs/commands/UpdateUserPoolCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateUserPoolDomainCommand.js +0 -83
- package/dist/cjs/commands/UpdateUserPoolDomainCommand.js.map +0 -1
- package/dist/cjs/commands/VerifySoftwareTokenCommand.js +0 -65
- package/dist/cjs/commands/VerifySoftwareTokenCommand.js.map +0 -1
- package/dist/cjs/commands/VerifyUserAttributeCommand.js +0 -61
- package/dist/cjs/commands/VerifyUserAttributeCommand.js.map +0 -1
- package/dist/cjs/endpoints.js +0 -82
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js +0 -118
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js +0 -6
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js +0 -2759
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/models/models_1.js +0 -292
- package/dist/cjs/models/models_1.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/pagination/AdminListGroupsForUserPaginator.js +0 -46
- package/dist/cjs/pagination/AdminListGroupsForUserPaginator.js.map +0 -1
- package/dist/cjs/pagination/AdminListUserAuthEventsPaginator.js +0 -46
- package/dist/cjs/pagination/AdminListUserAuthEventsPaginator.js.map +0 -1
- package/dist/cjs/pagination/Interfaces.js +0 -3
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListGroupsPaginator.js +0 -46
- package/dist/cjs/pagination/ListGroupsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListIdentityProvidersPaginator.js +0 -46
- package/dist/cjs/pagination/ListIdentityProvidersPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListResourceServersPaginator.js +0 -46
- package/dist/cjs/pagination/ListResourceServersPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListUserPoolClientsPaginator.js +0 -46
- package/dist/cjs/pagination/ListUserPoolClientsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListUserPoolsPaginator.js +0 -46
- package/dist/cjs/pagination/ListUserPoolsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListUsersInGroupPaginator.js +0 -46
- package/dist/cjs/pagination/ListUsersInGroupPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListUsersPaginator.js +0 -46
- package/dist/cjs/pagination/ListUsersPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_json1_1.js +0 -15319
- package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js +0 -41
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js +0 -46
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js +0 -20
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js +0 -21
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/CognitoIdentityProvider.js +0 -1526
- package/dist/es/CognitoIdentityProvider.js.map +0 -1
- package/dist/es/CognitoIdentityProviderClient.js +0 -37
- package/dist/es/CognitoIdentityProviderClient.js.map +0 -1
- package/dist/es/commands/AddCustomAttributesCommand.js +0 -42
- package/dist/es/commands/AddCustomAttributesCommand.js.map +0 -1
- package/dist/es/commands/AdminAddUserToGroupCommand.js +0 -42
- package/dist/es/commands/AdminAddUserToGroupCommand.js.map +0 -1
- package/dist/es/commands/AdminConfirmSignUpCommand.js +0 -42
- package/dist/es/commands/AdminConfirmSignUpCommand.js.map +0 -1
- package/dist/es/commands/AdminCreateUserCommand.js +0 -42
- package/dist/es/commands/AdminCreateUserCommand.js.map +0 -1
- package/dist/es/commands/AdminDeleteUserAttributesCommand.js +0 -42
- package/dist/es/commands/AdminDeleteUserAttributesCommand.js.map +0 -1
- package/dist/es/commands/AdminDeleteUserCommand.js +0 -42
- package/dist/es/commands/AdminDeleteUserCommand.js.map +0 -1
- package/dist/es/commands/AdminDisableProviderForUserCommand.js +0 -42
- package/dist/es/commands/AdminDisableProviderForUserCommand.js.map +0 -1
- package/dist/es/commands/AdminDisableUserCommand.js +0 -42
- package/dist/es/commands/AdminDisableUserCommand.js.map +0 -1
- package/dist/es/commands/AdminEnableUserCommand.js +0 -42
- package/dist/es/commands/AdminEnableUserCommand.js.map +0 -1
- package/dist/es/commands/AdminForgetDeviceCommand.js +0 -42
- package/dist/es/commands/AdminForgetDeviceCommand.js.map +0 -1
- package/dist/es/commands/AdminGetDeviceCommand.js +0 -42
- package/dist/es/commands/AdminGetDeviceCommand.js.map +0 -1
- package/dist/es/commands/AdminGetUserCommand.js +0 -42
- package/dist/es/commands/AdminGetUserCommand.js.map +0 -1
- package/dist/es/commands/AdminInitiateAuthCommand.js +0 -42
- package/dist/es/commands/AdminInitiateAuthCommand.js.map +0 -1
- package/dist/es/commands/AdminLinkProviderForUserCommand.js +0 -42
- package/dist/es/commands/AdminLinkProviderForUserCommand.js.map +0 -1
- package/dist/es/commands/AdminListDevicesCommand.js +0 -42
- package/dist/es/commands/AdminListDevicesCommand.js.map +0 -1
- package/dist/es/commands/AdminListGroupsForUserCommand.js +0 -42
- package/dist/es/commands/AdminListGroupsForUserCommand.js.map +0 -1
- package/dist/es/commands/AdminListUserAuthEventsCommand.js +0 -42
- package/dist/es/commands/AdminListUserAuthEventsCommand.js.map +0 -1
- package/dist/es/commands/AdminRemoveUserFromGroupCommand.js +0 -42
- package/dist/es/commands/AdminRemoveUserFromGroupCommand.js.map +0 -1
- package/dist/es/commands/AdminResetUserPasswordCommand.js +0 -42
- package/dist/es/commands/AdminResetUserPasswordCommand.js.map +0 -1
- package/dist/es/commands/AdminRespondToAuthChallengeCommand.js +0 -42
- package/dist/es/commands/AdminRespondToAuthChallengeCommand.js.map +0 -1
- package/dist/es/commands/AdminSetUserMFAPreferenceCommand.js +0 -42
- package/dist/es/commands/AdminSetUserMFAPreferenceCommand.js.map +0 -1
- package/dist/es/commands/AdminSetUserPasswordCommand.js +0 -42
- package/dist/es/commands/AdminSetUserPasswordCommand.js.map +0 -1
- package/dist/es/commands/AdminSetUserSettingsCommand.js +0 -42
- package/dist/es/commands/AdminSetUserSettingsCommand.js.map +0 -1
- package/dist/es/commands/AdminUpdateAuthEventFeedbackCommand.js +0 -42
- package/dist/es/commands/AdminUpdateAuthEventFeedbackCommand.js.map +0 -1
- package/dist/es/commands/AdminUpdateDeviceStatusCommand.js +0 -42
- package/dist/es/commands/AdminUpdateDeviceStatusCommand.js.map +0 -1
- package/dist/es/commands/AdminUpdateUserAttributesCommand.js +0 -42
- package/dist/es/commands/AdminUpdateUserAttributesCommand.js.map +0 -1
- package/dist/es/commands/AdminUserGlobalSignOutCommand.js +0 -42
- package/dist/es/commands/AdminUserGlobalSignOutCommand.js.map +0 -1
- package/dist/es/commands/AssociateSoftwareTokenCommand.js +0 -42
- package/dist/es/commands/AssociateSoftwareTokenCommand.js.map +0 -1
- package/dist/es/commands/ChangePasswordCommand.js +0 -40
- package/dist/es/commands/ChangePasswordCommand.js.map +0 -1
- package/dist/es/commands/ConfirmDeviceCommand.js +0 -42
- package/dist/es/commands/ConfirmDeviceCommand.js.map +0 -1
- package/dist/es/commands/ConfirmForgotPasswordCommand.js +0 -40
- package/dist/es/commands/ConfirmForgotPasswordCommand.js.map +0 -1
- package/dist/es/commands/ConfirmSignUpCommand.js +0 -40
- package/dist/es/commands/ConfirmSignUpCommand.js.map +0 -1
- package/dist/es/commands/CreateGroupCommand.js +0 -42
- package/dist/es/commands/CreateGroupCommand.js.map +0 -1
- package/dist/es/commands/CreateIdentityProviderCommand.js +0 -42
- package/dist/es/commands/CreateIdentityProviderCommand.js.map +0 -1
- package/dist/es/commands/CreateResourceServerCommand.js +0 -42
- package/dist/es/commands/CreateResourceServerCommand.js.map +0 -1
- package/dist/es/commands/CreateUserImportJobCommand.js +0 -42
- package/dist/es/commands/CreateUserImportJobCommand.js.map +0 -1
- package/dist/es/commands/CreateUserPoolClientCommand.js +0 -42
- package/dist/es/commands/CreateUserPoolClientCommand.js.map +0 -1
- package/dist/es/commands/CreateUserPoolCommand.js +0 -42
- package/dist/es/commands/CreateUserPoolCommand.js.map +0 -1
- package/dist/es/commands/CreateUserPoolDomainCommand.js +0 -42
- package/dist/es/commands/CreateUserPoolDomainCommand.js.map +0 -1
- package/dist/es/commands/DeleteGroupCommand.js +0 -42
- package/dist/es/commands/DeleteGroupCommand.js.map +0 -1
- package/dist/es/commands/DeleteIdentityProviderCommand.js +0 -42
- package/dist/es/commands/DeleteIdentityProviderCommand.js.map +0 -1
- package/dist/es/commands/DeleteResourceServerCommand.js +0 -42
- package/dist/es/commands/DeleteResourceServerCommand.js.map +0 -1
- package/dist/es/commands/DeleteUserAttributesCommand.js +0 -40
- package/dist/es/commands/DeleteUserAttributesCommand.js.map +0 -1
- package/dist/es/commands/DeleteUserCommand.js +0 -40
- package/dist/es/commands/DeleteUserCommand.js.map +0 -1
- package/dist/es/commands/DeleteUserPoolClientCommand.js +0 -42
- package/dist/es/commands/DeleteUserPoolClientCommand.js.map +0 -1
- package/dist/es/commands/DeleteUserPoolCommand.js +0 -42
- package/dist/es/commands/DeleteUserPoolCommand.js.map +0 -1
- package/dist/es/commands/DeleteUserPoolDomainCommand.js +0 -42
- package/dist/es/commands/DeleteUserPoolDomainCommand.js.map +0 -1
- package/dist/es/commands/DescribeIdentityProviderCommand.js +0 -42
- package/dist/es/commands/DescribeIdentityProviderCommand.js.map +0 -1
- package/dist/es/commands/DescribeResourceServerCommand.js +0 -42
- package/dist/es/commands/DescribeResourceServerCommand.js.map +0 -1
- package/dist/es/commands/DescribeRiskConfigurationCommand.js +0 -42
- package/dist/es/commands/DescribeRiskConfigurationCommand.js.map +0 -1
- package/dist/es/commands/DescribeUserImportJobCommand.js +0 -42
- package/dist/es/commands/DescribeUserImportJobCommand.js.map +0 -1
- package/dist/es/commands/DescribeUserPoolClientCommand.js +0 -42
- package/dist/es/commands/DescribeUserPoolClientCommand.js.map +0 -1
- package/dist/es/commands/DescribeUserPoolCommand.js +0 -42
- package/dist/es/commands/DescribeUserPoolCommand.js.map +0 -1
- package/dist/es/commands/DescribeUserPoolDomainCommand.js +0 -42
- package/dist/es/commands/DescribeUserPoolDomainCommand.js.map +0 -1
- package/dist/es/commands/ForgetDeviceCommand.js +0 -42
- package/dist/es/commands/ForgetDeviceCommand.js.map +0 -1
- package/dist/es/commands/ForgotPasswordCommand.js +0 -40
- package/dist/es/commands/ForgotPasswordCommand.js.map +0 -1
- package/dist/es/commands/GetCSVHeaderCommand.js +0 -42
- package/dist/es/commands/GetCSVHeaderCommand.js.map +0 -1
- package/dist/es/commands/GetDeviceCommand.js +0 -42
- package/dist/es/commands/GetDeviceCommand.js.map +0 -1
- package/dist/es/commands/GetGroupCommand.js +0 -42
- package/dist/es/commands/GetGroupCommand.js.map +0 -1
- package/dist/es/commands/GetIdentityProviderByIdentifierCommand.js +0 -42
- package/dist/es/commands/GetIdentityProviderByIdentifierCommand.js.map +0 -1
- package/dist/es/commands/GetSigningCertificateCommand.js +0 -42
- package/dist/es/commands/GetSigningCertificateCommand.js.map +0 -1
- package/dist/es/commands/GetUICustomizationCommand.js +0 -42
- package/dist/es/commands/GetUICustomizationCommand.js.map +0 -1
- package/dist/es/commands/GetUserAttributeVerificationCodeCommand.js +0 -40
- package/dist/es/commands/GetUserAttributeVerificationCodeCommand.js.map +0 -1
- package/dist/es/commands/GetUserCommand.js +0 -40
- package/dist/es/commands/GetUserCommand.js.map +0 -1
- package/dist/es/commands/GetUserPoolMfaConfigCommand.js +0 -42
- package/dist/es/commands/GetUserPoolMfaConfigCommand.js.map +0 -1
- package/dist/es/commands/GlobalSignOutCommand.js +0 -42
- package/dist/es/commands/GlobalSignOutCommand.js.map +0 -1
- package/dist/es/commands/InitiateAuthCommand.js +0 -40
- package/dist/es/commands/InitiateAuthCommand.js.map +0 -1
- package/dist/es/commands/ListDevicesCommand.js +0 -42
- package/dist/es/commands/ListDevicesCommand.js.map +0 -1
- package/dist/es/commands/ListGroupsCommand.js +0 -42
- package/dist/es/commands/ListGroupsCommand.js.map +0 -1
- package/dist/es/commands/ListIdentityProvidersCommand.js +0 -42
- package/dist/es/commands/ListIdentityProvidersCommand.js.map +0 -1
- package/dist/es/commands/ListResourceServersCommand.js +0 -42
- package/dist/es/commands/ListResourceServersCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js +0 -42
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/ListUserImportJobsCommand.js +0 -42
- package/dist/es/commands/ListUserImportJobsCommand.js.map +0 -1
- package/dist/es/commands/ListUserPoolClientsCommand.js +0 -42
- package/dist/es/commands/ListUserPoolClientsCommand.js.map +0 -1
- package/dist/es/commands/ListUserPoolsCommand.js +0 -42
- package/dist/es/commands/ListUserPoolsCommand.js.map +0 -1
- package/dist/es/commands/ListUsersCommand.js +0 -42
- package/dist/es/commands/ListUsersCommand.js.map +0 -1
- package/dist/es/commands/ListUsersInGroupCommand.js +0 -42
- package/dist/es/commands/ListUsersInGroupCommand.js.map +0 -1
- package/dist/es/commands/ResendConfirmationCodeCommand.js +0 -40
- package/dist/es/commands/ResendConfirmationCodeCommand.js.map +0 -1
- package/dist/es/commands/RespondToAuthChallengeCommand.js +0 -40
- package/dist/es/commands/RespondToAuthChallengeCommand.js.map +0 -1
- package/dist/es/commands/RevokeTokenCommand.js +0 -42
- package/dist/es/commands/RevokeTokenCommand.js.map +0 -1
- package/dist/es/commands/SetRiskConfigurationCommand.js +0 -42
- package/dist/es/commands/SetRiskConfigurationCommand.js.map +0 -1
- package/dist/es/commands/SetUICustomizationCommand.js +0 -42
- package/dist/es/commands/SetUICustomizationCommand.js.map +0 -1
- package/dist/es/commands/SetUserMFAPreferenceCommand.js +0 -42
- package/dist/es/commands/SetUserMFAPreferenceCommand.js.map +0 -1
- package/dist/es/commands/SetUserPoolMfaConfigCommand.js +0 -42
- package/dist/es/commands/SetUserPoolMfaConfigCommand.js.map +0 -1
- package/dist/es/commands/SetUserSettingsCommand.js +0 -40
- package/dist/es/commands/SetUserSettingsCommand.js.map +0 -1
- package/dist/es/commands/SignUpCommand.js +0 -40
- package/dist/es/commands/SignUpCommand.js.map +0 -1
- package/dist/es/commands/StartUserImportJobCommand.js +0 -43
- package/dist/es/commands/StartUserImportJobCommand.js.map +0 -1
- package/dist/es/commands/StopUserImportJobCommand.js +0 -42
- package/dist/es/commands/StopUserImportJobCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js +0 -42
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js +0 -42
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateAuthEventFeedbackCommand.js +0 -42
- package/dist/es/commands/UpdateAuthEventFeedbackCommand.js.map +0 -1
- package/dist/es/commands/UpdateDeviceStatusCommand.js +0 -42
- package/dist/es/commands/UpdateDeviceStatusCommand.js.map +0 -1
- package/dist/es/commands/UpdateGroupCommand.js +0 -42
- package/dist/es/commands/UpdateGroupCommand.js.map +0 -1
- package/dist/es/commands/UpdateIdentityProviderCommand.js +0 -42
- package/dist/es/commands/UpdateIdentityProviderCommand.js.map +0 -1
- package/dist/es/commands/UpdateResourceServerCommand.js +0 -42
- package/dist/es/commands/UpdateResourceServerCommand.js.map +0 -1
- package/dist/es/commands/UpdateUserAttributesCommand.js +0 -40
- package/dist/es/commands/UpdateUserAttributesCommand.js.map +0 -1
- package/dist/es/commands/UpdateUserPoolClientCommand.js +0 -42
- package/dist/es/commands/UpdateUserPoolClientCommand.js.map +0 -1
- package/dist/es/commands/UpdateUserPoolCommand.js +0 -42
- package/dist/es/commands/UpdateUserPoolCommand.js.map +0 -1
- package/dist/es/commands/UpdateUserPoolDomainCommand.js +0 -42
- package/dist/es/commands/UpdateUserPoolDomainCommand.js.map +0 -1
- package/dist/es/commands/VerifySoftwareTokenCommand.js +0 -42
- package/dist/es/commands/VerifySoftwareTokenCommand.js.map +0 -1
- package/dist/es/commands/VerifyUserAttributeCommand.js +0 -40
- package/dist/es/commands/VerifyUserAttributeCommand.js.map +0 -1
- package/dist/es/endpoints.js +0 -78
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -115
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -3
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js +0 -1318
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/models/models_1.js +0 -131
- package/dist/es/models/models_1.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/AdminListGroupsForUserPaginator.js +0 -75
- package/dist/es/pagination/AdminListGroupsForUserPaginator.js.map +0 -1
- package/dist/es/pagination/AdminListUserAuthEventsPaginator.js +0 -75
- package/dist/es/pagination/AdminListUserAuthEventsPaginator.js.map +0 -1
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListGroupsPaginator.js +0 -75
- package/dist/es/pagination/ListGroupsPaginator.js.map +0 -1
- package/dist/es/pagination/ListIdentityProvidersPaginator.js +0 -75
- package/dist/es/pagination/ListIdentityProvidersPaginator.js.map +0 -1
- package/dist/es/pagination/ListResourceServersPaginator.js +0 -75
- package/dist/es/pagination/ListResourceServersPaginator.js.map +0 -1
- package/dist/es/pagination/ListUserPoolClientsPaginator.js +0 -75
- package/dist/es/pagination/ListUserPoolClientsPaginator.js.map +0 -1
- package/dist/es/pagination/ListUserPoolsPaginator.js +0 -75
- package/dist/es/pagination/ListUserPoolsPaginator.js.map +0 -1
- package/dist/es/pagination/ListUsersInGroupPaginator.js +0 -75
- package/dist/es/pagination/ListUsersInGroupPaginator.js.map +0 -1
- package/dist/es/pagination/ListUsersPaginator.js +0 -75
- package/dist/es/pagination/ListUsersPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_json1_1.js +0 -15619
- package/dist/es/protocols/Aws_json1_1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js +0 -17
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js +0 -22
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js +0 -9
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js +0 -14
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/CognitoIdentityProvider.d.ts +0 -1213
- package/dist/types/CognitoIdentityProviderClient.d.ts +0 -239
- package/dist/types/commands/AddCustomAttributesCommand.d.ts +0 -35
- package/dist/types/commands/AdminAddUserToGroupCommand.d.ts +0 -36
- package/dist/types/commands/AdminConfirmSignUpCommand.d.ts +0 -37
- package/dist/types/commands/AdminCreateUserCommand.d.ts +0 -64
- package/dist/types/commands/AdminDeleteUserAttributesCommand.d.ts +0 -37
- package/dist/types/commands/AdminDeleteUserCommand.d.ts +0 -36
- package/dist/types/commands/AdminDisableProviderForUserCommand.d.ts +0 -62
- package/dist/types/commands/AdminDisableUserCommand.d.ts +0 -36
- package/dist/types/commands/AdminEnableUserCommand.d.ts +0 -36
- package/dist/types/commands/AdminForgetDeviceCommand.d.ts +0 -36
- package/dist/types/commands/AdminGetDeviceCommand.d.ts +0 -36
- package/dist/types/commands/AdminGetUserCommand.d.ts +0 -37
- package/dist/types/commands/AdminInitiateAuthCommand.d.ts +0 -55
- package/dist/types/commands/AdminLinkProviderForUserCommand.d.ts +0 -55
- package/dist/types/commands/AdminListDevicesCommand.d.ts +0 -36
- package/dist/types/commands/AdminListGroupsForUserCommand.d.ts +0 -36
- package/dist/types/commands/AdminListUserAuthEventsCommand.d.ts +0 -36
- package/dist/types/commands/AdminRemoveUserFromGroupCommand.d.ts +0 -36
- package/dist/types/commands/AdminResetUserPasswordCommand.d.ts +0 -64
- package/dist/types/commands/AdminRespondToAuthChallengeCommand.d.ts +0 -54
- package/dist/types/commands/AdminSetUserMFAPreferenceCommand.d.ts +0 -39
- package/dist/types/commands/AdminSetUserPasswordCommand.d.ts +0 -44
- package/dist/types/commands/AdminSetUserSettingsCommand.d.ts +0 -38
- package/dist/types/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +0 -37
- package/dist/types/commands/AdminUpdateDeviceStatusCommand.d.ts +0 -36
- package/dist/types/commands/AdminUpdateUserAttributesCommand.d.ts +0 -59
- package/dist/types/commands/AdminUserGlobalSignOutCommand.d.ts +0 -38
- package/dist/types/commands/AssociateSoftwareTokenCommand.d.ts +0 -44
- package/dist/types/commands/ChangePasswordCommand.d.ts +0 -35
- package/dist/types/commands/ConfirmDeviceCommand.d.ts +0 -36
- package/dist/types/commands/ConfirmForgotPasswordCommand.d.ts +0 -35
- package/dist/types/commands/ConfirmSignUpCommand.d.ts +0 -36
- package/dist/types/commands/CreateGroupCommand.d.ts +0 -36
- package/dist/types/commands/CreateIdentityProviderCommand.d.ts +0 -35
- package/dist/types/commands/CreateResourceServerCommand.d.ts +0 -35
- package/dist/types/commands/CreateUserImportJobCommand.d.ts +0 -35
- package/dist/types/commands/CreateUserPoolClientCommand.d.ts +0 -37
- package/dist/types/commands/CreateUserPoolCommand.d.ts +0 -53
- package/dist/types/commands/CreateUserPoolDomainCommand.d.ts +0 -35
- package/dist/types/commands/DeleteGroupCommand.d.ts +0 -36
- package/dist/types/commands/DeleteIdentityProviderCommand.d.ts +0 -35
- package/dist/types/commands/DeleteResourceServerCommand.d.ts +0 -35
- package/dist/types/commands/DeleteUserAttributesCommand.d.ts +0 -35
- package/dist/types/commands/DeleteUserCommand.d.ts +0 -35
- package/dist/types/commands/DeleteUserPoolClientCommand.d.ts +0 -35
- package/dist/types/commands/DeleteUserPoolCommand.d.ts +0 -35
- package/dist/types/commands/DeleteUserPoolDomainCommand.d.ts +0 -35
- package/dist/types/commands/DescribeIdentityProviderCommand.d.ts +0 -35
- package/dist/types/commands/DescribeResourceServerCommand.d.ts +0 -35
- package/dist/types/commands/DescribeRiskConfigurationCommand.d.ts +0 -35
- package/dist/types/commands/DescribeUserImportJobCommand.d.ts +0 -35
- package/dist/types/commands/DescribeUserPoolClientCommand.d.ts +0 -36
- package/dist/types/commands/DescribeUserPoolCommand.d.ts +0 -35
- package/dist/types/commands/DescribeUserPoolDomainCommand.d.ts +0 -35
- package/dist/types/commands/ForgetDeviceCommand.d.ts +0 -35
- package/dist/types/commands/ForgotPasswordCommand.d.ts +0 -59
- package/dist/types/commands/GetCSVHeaderCommand.d.ts +0 -36
- package/dist/types/commands/GetDeviceCommand.d.ts +0 -35
- package/dist/types/commands/GetGroupCommand.d.ts +0 -36
- package/dist/types/commands/GetIdentityProviderByIdentifierCommand.d.ts +0 -35
- package/dist/types/commands/GetSigningCertificateCommand.d.ts +0 -35
- package/dist/types/commands/GetUICustomizationCommand.d.ts +0 -38
- package/dist/types/commands/GetUserAttributeVerificationCodeCommand.d.ts +0 -52
- package/dist/types/commands/GetUserCommand.d.ts +0 -35
- package/dist/types/commands/GetUserPoolMfaConfigCommand.d.ts +0 -35
- package/dist/types/commands/GlobalSignOutCommand.d.ts +0 -37
- package/dist/types/commands/InitiateAuthCommand.d.ts +0 -52
- package/dist/types/commands/ListDevicesCommand.d.ts +0 -35
- package/dist/types/commands/ListGroupsCommand.d.ts +0 -36
- package/dist/types/commands/ListIdentityProvidersCommand.d.ts +0 -35
- package/dist/types/commands/ListResourceServersCommand.d.ts +0 -35
- package/dist/types/commands/ListTagsForResourceCommand.d.ts +0 -38
- package/dist/types/commands/ListUserImportJobsCommand.d.ts +0 -35
- package/dist/types/commands/ListUserPoolClientsCommand.d.ts +0 -35
- package/dist/types/commands/ListUserPoolsCommand.d.ts +0 -35
- package/dist/types/commands/ListUsersCommand.d.ts +0 -35
- package/dist/types/commands/ListUsersInGroupCommand.d.ts +0 -36
- package/dist/types/commands/ResendConfirmationCodeCommand.d.ts +0 -53
- package/dist/types/commands/RespondToAuthChallengeCommand.d.ts +0 -52
- package/dist/types/commands/RevokeTokenCommand.d.ts +0 -36
- package/dist/types/commands/SetRiskConfigurationCommand.d.ts +0 -39
- package/dist/types/commands/SetUICustomizationCommand.d.ts +0 -46
- package/dist/types/commands/SetUserMFAPreferenceCommand.d.ts +0 -43
- package/dist/types/commands/SetUserPoolMfaConfigCommand.d.ts +0 -52
- package/dist/types/commands/SetUserSettingsCommand.d.ts +0 -38
- package/dist/types/commands/SignUpCommand.d.ts +0 -53
- package/dist/types/commands/StartUserImportJobCommand.d.ts +0 -36
- package/dist/types/commands/StopUserImportJobCommand.d.ts +0 -35
- package/dist/types/commands/TagResourceCommand.d.ts +0 -48
- package/dist/types/commands/UntagResourceCommand.d.ts +0 -36
- package/dist/types/commands/UpdateAuthEventFeedbackCommand.d.ts +0 -37
- package/dist/types/commands/UpdateDeviceStatusCommand.d.ts +0 -35
- package/dist/types/commands/UpdateGroupCommand.d.ts +0 -36
- package/dist/types/commands/UpdateIdentityProviderCommand.d.ts +0 -35
- package/dist/types/commands/UpdateResourceServerCommand.d.ts +0 -39
- package/dist/types/commands/UpdateUserAttributesCommand.d.ts +0 -52
- package/dist/types/commands/UpdateUserPoolClientCommand.d.ts +0 -42
- package/dist/types/commands/UpdateUserPoolCommand.d.ts +0 -54
- package/dist/types/commands/UpdateUserPoolDomainCommand.d.ts +0 -55
- package/dist/types/commands/VerifySoftwareTokenCommand.d.ts +0 -37
- package/dist/types/commands/VerifyUserAttributeCommand.d.ts +0 -35
- package/dist/types/models/models_1.d.ts +0 -861
- package/dist/types/pagination/AdminListGroupsForUserPaginator.d.ts +0 -4
- package/dist/types/pagination/AdminListUserAuthEventsPaginator.d.ts +0 -4
- package/dist/types/pagination/Interfaces.d.ts +0 -6
- package/dist/types/pagination/ListGroupsPaginator.d.ts +0 -4
- package/dist/types/pagination/ListIdentityProvidersPaginator.d.ts +0 -4
- package/dist/types/pagination/ListResourceServersPaginator.d.ts +0 -4
- package/dist/types/pagination/ListUserPoolClientsPaginator.d.ts +0 -4
- package/dist/types/pagination/ListUserPoolsPaginator.d.ts +0 -4
- package/dist/types/pagination/ListUsersInGroupPaginator.d.ts +0 -4
- package/dist/types/pagination/ListUsersPaginator.d.ts +0 -4
- package/dist/types/protocols/Aws_json1_1.d.ts +0 -305
- package/dist/types/runtimeConfig.browser.d.ts +0 -37
- package/dist/types/runtimeConfig.d.ts +0 -37
- package/dist/types/ts3.4/CognitoIdentityProvider.d.ts +0 -1213
- package/dist/types/ts3.4/CognitoIdentityProviderClient.d.ts +0 -239
- package/dist/types/ts3.4/commands/AddCustomAttributesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/AdminAddUserToGroupCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/AdminConfirmSignUpCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/AdminCreateUserCommand.d.ts +0 -64
- package/dist/types/ts3.4/commands/AdminDeleteUserAttributesCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/AdminDeleteUserCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/AdminDisableProviderForUserCommand.d.ts +0 -62
- package/dist/types/ts3.4/commands/AdminDisableUserCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/AdminEnableUserCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/AdminForgetDeviceCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/AdminGetDeviceCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/AdminGetUserCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/AdminInitiateAuthCommand.d.ts +0 -55
- package/dist/types/ts3.4/commands/AdminLinkProviderForUserCommand.d.ts +0 -55
- package/dist/types/ts3.4/commands/AdminListDevicesCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/AdminListGroupsForUserCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/AdminListUserAuthEventsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/AdminRemoveUserFromGroupCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/AdminResetUserPasswordCommand.d.ts +0 -64
- package/dist/types/ts3.4/commands/AdminRespondToAuthChallengeCommand.d.ts +0 -54
- package/dist/types/ts3.4/commands/AdminSetUserMFAPreferenceCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/AdminSetUserPasswordCommand.d.ts +0 -44
- package/dist/types/ts3.4/commands/AdminSetUserSettingsCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/AdminUpdateDeviceStatusCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/AdminUpdateUserAttributesCommand.d.ts +0 -59
- package/dist/types/ts3.4/commands/AdminUserGlobalSignOutCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/AssociateSoftwareTokenCommand.d.ts +0 -44
- package/dist/types/ts3.4/commands/ChangePasswordCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ConfirmDeviceCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ConfirmForgotPasswordCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ConfirmSignUpCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/CreateGroupCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/CreateIdentityProviderCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CreateResourceServerCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CreateUserImportJobCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CreateUserPoolClientCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/CreateUserPoolCommand.d.ts +0 -53
- package/dist/types/ts3.4/commands/CreateUserPoolDomainCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteGroupCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/DeleteIdentityProviderCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteResourceServerCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteUserAttributesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteUserCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteUserPoolClientCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteUserPoolCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteUserPoolDomainCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeIdentityProviderCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeResourceServerCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeRiskConfigurationCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeUserImportJobCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeUserPoolClientCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/DescribeUserPoolCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeUserPoolDomainCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ForgetDeviceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ForgotPasswordCommand.d.ts +0 -59
- package/dist/types/ts3.4/commands/GetCSVHeaderCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/GetDeviceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetGroupCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/GetIdentityProviderByIdentifierCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetSigningCertificateCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetUICustomizationCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/GetUserAttributeVerificationCodeCommand.d.ts +0 -52
- package/dist/types/ts3.4/commands/GetUserCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetUserPoolMfaConfigCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GlobalSignOutCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/InitiateAuthCommand.d.ts +0 -52
- package/dist/types/ts3.4/commands/ListDevicesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListGroupsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListIdentityProvidersCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListResourceServersCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/ListUserImportJobsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListUserPoolClientsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListUserPoolsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListUsersCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListUsersInGroupCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ResendConfirmationCodeCommand.d.ts +0 -53
- package/dist/types/ts3.4/commands/RespondToAuthChallengeCommand.d.ts +0 -52
- package/dist/types/ts3.4/commands/RevokeTokenCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/SetRiskConfigurationCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/SetUICustomizationCommand.d.ts +0 -46
- package/dist/types/ts3.4/commands/SetUserMFAPreferenceCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/SetUserPoolMfaConfigCommand.d.ts +0 -52
- package/dist/types/ts3.4/commands/SetUserSettingsCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/SignUpCommand.d.ts +0 -53
- package/dist/types/ts3.4/commands/StartUserImportJobCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/StopUserImportJobCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -48
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/UpdateAuthEventFeedbackCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/UpdateDeviceStatusCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateGroupCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/UpdateIdentityProviderCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateResourceServerCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/UpdateUserAttributesCommand.d.ts +0 -52
- package/dist/types/ts3.4/commands/UpdateUserPoolClientCommand.d.ts +0 -42
- package/dist/types/ts3.4/commands/UpdateUserPoolCommand.d.ts +0 -54
- package/dist/types/ts3.4/commands/UpdateUserPoolDomainCommand.d.ts +0 -55
- package/dist/types/ts3.4/commands/VerifySoftwareTokenCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/VerifyUserAttributeCommand.d.ts +0 -35
- package/dist/types/ts3.4/models/models_0.d.ts +0 -8187
- package/dist/types/ts3.4/models/models_1.d.ts +0 -861
- package/dist/types/ts3.4/pagination/AdminListGroupsForUserPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/AdminListUserAuthEventsPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/Interfaces.d.ts +0 -6
- package/dist/types/ts3.4/pagination/ListGroupsPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListIdentityProvidersPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListResourceServersPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListUserPoolClientsPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListUserPoolsPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListUsersInGroupPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListUsersPaginator.d.ts +0 -4
- package/dist/types/ts3.4/protocols/Aws_json1_1.d.ts +0 -305
- package/dist/types/ts3.4/runtimeConfig.browser.d.ts +0 -37
- package/dist/types/ts3.4/runtimeConfig.d.ts +0 -37
- package/dist/types/ts3.4/runtimeConfig.native.d.ts +0 -36
- package/dist/types/ts3.4/runtimeConfig.shared.d.ts +0 -13
- package/endpoints.ts +0 -82
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -9830
- package/models/models_1.ts +0 -1071
- package/pagination/AdminListGroupsForUserPaginator.ts +0 -58
- package/pagination/AdminListUserAuthEventsPaginator.ts +0 -58
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListGroupsPaginator.ts +0 -54
- package/pagination/ListIdentityProvidersPaginator.ts +0 -58
- package/pagination/ListResourceServersPaginator.ts +0 -58
- package/pagination/ListUserPoolClientsPaginator.ts +0 -58
- package/pagination/ListUserPoolsPaginator.ts +0 -58
- package/pagination/ListUsersInGroupPaginator.ts +0 -58
- package/pagination/ListUsersPaginator.ts +0 -54
- package/protocols/Aws_json1_1.ts +0 -18342
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
|
@@ -1,4101 +0,0 @@
|
|
|
1
|
-
import { CognitoIdentityProviderClient } from "./CognitoIdentityProviderClient";
|
|
2
|
-
import {
|
|
3
|
-
AddCustomAttributesCommand,
|
|
4
|
-
AddCustomAttributesCommandInput,
|
|
5
|
-
AddCustomAttributesCommandOutput,
|
|
6
|
-
} from "./commands/AddCustomAttributesCommand";
|
|
7
|
-
import {
|
|
8
|
-
AdminAddUserToGroupCommand,
|
|
9
|
-
AdminAddUserToGroupCommandInput,
|
|
10
|
-
AdminAddUserToGroupCommandOutput,
|
|
11
|
-
} from "./commands/AdminAddUserToGroupCommand";
|
|
12
|
-
import {
|
|
13
|
-
AdminConfirmSignUpCommand,
|
|
14
|
-
AdminConfirmSignUpCommandInput,
|
|
15
|
-
AdminConfirmSignUpCommandOutput,
|
|
16
|
-
} from "./commands/AdminConfirmSignUpCommand";
|
|
17
|
-
import {
|
|
18
|
-
AdminCreateUserCommand,
|
|
19
|
-
AdminCreateUserCommandInput,
|
|
20
|
-
AdminCreateUserCommandOutput,
|
|
21
|
-
} from "./commands/AdminCreateUserCommand";
|
|
22
|
-
import {
|
|
23
|
-
AdminDeleteUserAttributesCommand,
|
|
24
|
-
AdminDeleteUserAttributesCommandInput,
|
|
25
|
-
AdminDeleteUserAttributesCommandOutput,
|
|
26
|
-
} from "./commands/AdminDeleteUserAttributesCommand";
|
|
27
|
-
import {
|
|
28
|
-
AdminDeleteUserCommand,
|
|
29
|
-
AdminDeleteUserCommandInput,
|
|
30
|
-
AdminDeleteUserCommandOutput,
|
|
31
|
-
} from "./commands/AdminDeleteUserCommand";
|
|
32
|
-
import {
|
|
33
|
-
AdminDisableProviderForUserCommand,
|
|
34
|
-
AdminDisableProviderForUserCommandInput,
|
|
35
|
-
AdminDisableProviderForUserCommandOutput,
|
|
36
|
-
} from "./commands/AdminDisableProviderForUserCommand";
|
|
37
|
-
import {
|
|
38
|
-
AdminDisableUserCommand,
|
|
39
|
-
AdminDisableUserCommandInput,
|
|
40
|
-
AdminDisableUserCommandOutput,
|
|
41
|
-
} from "./commands/AdminDisableUserCommand";
|
|
42
|
-
import {
|
|
43
|
-
AdminEnableUserCommand,
|
|
44
|
-
AdminEnableUserCommandInput,
|
|
45
|
-
AdminEnableUserCommandOutput,
|
|
46
|
-
} from "./commands/AdminEnableUserCommand";
|
|
47
|
-
import {
|
|
48
|
-
AdminForgetDeviceCommand,
|
|
49
|
-
AdminForgetDeviceCommandInput,
|
|
50
|
-
AdminForgetDeviceCommandOutput,
|
|
51
|
-
} from "./commands/AdminForgetDeviceCommand";
|
|
52
|
-
import {
|
|
53
|
-
AdminGetDeviceCommand,
|
|
54
|
-
AdminGetDeviceCommandInput,
|
|
55
|
-
AdminGetDeviceCommandOutput,
|
|
56
|
-
} from "./commands/AdminGetDeviceCommand";
|
|
57
|
-
import {
|
|
58
|
-
AdminGetUserCommand,
|
|
59
|
-
AdminGetUserCommandInput,
|
|
60
|
-
AdminGetUserCommandOutput,
|
|
61
|
-
} from "./commands/AdminGetUserCommand";
|
|
62
|
-
import {
|
|
63
|
-
AdminInitiateAuthCommand,
|
|
64
|
-
AdminInitiateAuthCommandInput,
|
|
65
|
-
AdminInitiateAuthCommandOutput,
|
|
66
|
-
} from "./commands/AdminInitiateAuthCommand";
|
|
67
|
-
import {
|
|
68
|
-
AdminLinkProviderForUserCommand,
|
|
69
|
-
AdminLinkProviderForUserCommandInput,
|
|
70
|
-
AdminLinkProviderForUserCommandOutput,
|
|
71
|
-
} from "./commands/AdminLinkProviderForUserCommand";
|
|
72
|
-
import {
|
|
73
|
-
AdminListDevicesCommand,
|
|
74
|
-
AdminListDevicesCommandInput,
|
|
75
|
-
AdminListDevicesCommandOutput,
|
|
76
|
-
} from "./commands/AdminListDevicesCommand";
|
|
77
|
-
import {
|
|
78
|
-
AdminListGroupsForUserCommand,
|
|
79
|
-
AdminListGroupsForUserCommandInput,
|
|
80
|
-
AdminListGroupsForUserCommandOutput,
|
|
81
|
-
} from "./commands/AdminListGroupsForUserCommand";
|
|
82
|
-
import {
|
|
83
|
-
AdminListUserAuthEventsCommand,
|
|
84
|
-
AdminListUserAuthEventsCommandInput,
|
|
85
|
-
AdminListUserAuthEventsCommandOutput,
|
|
86
|
-
} from "./commands/AdminListUserAuthEventsCommand";
|
|
87
|
-
import {
|
|
88
|
-
AdminRemoveUserFromGroupCommand,
|
|
89
|
-
AdminRemoveUserFromGroupCommandInput,
|
|
90
|
-
AdminRemoveUserFromGroupCommandOutput,
|
|
91
|
-
} from "./commands/AdminRemoveUserFromGroupCommand";
|
|
92
|
-
import {
|
|
93
|
-
AdminResetUserPasswordCommand,
|
|
94
|
-
AdminResetUserPasswordCommandInput,
|
|
95
|
-
AdminResetUserPasswordCommandOutput,
|
|
96
|
-
} from "./commands/AdminResetUserPasswordCommand";
|
|
97
|
-
import {
|
|
98
|
-
AdminRespondToAuthChallengeCommand,
|
|
99
|
-
AdminRespondToAuthChallengeCommandInput,
|
|
100
|
-
AdminRespondToAuthChallengeCommandOutput,
|
|
101
|
-
} from "./commands/AdminRespondToAuthChallengeCommand";
|
|
102
|
-
import {
|
|
103
|
-
AdminSetUserMFAPreferenceCommand,
|
|
104
|
-
AdminSetUserMFAPreferenceCommandInput,
|
|
105
|
-
AdminSetUserMFAPreferenceCommandOutput,
|
|
106
|
-
} from "./commands/AdminSetUserMFAPreferenceCommand";
|
|
107
|
-
import {
|
|
108
|
-
AdminSetUserPasswordCommand,
|
|
109
|
-
AdminSetUserPasswordCommandInput,
|
|
110
|
-
AdminSetUserPasswordCommandOutput,
|
|
111
|
-
} from "./commands/AdminSetUserPasswordCommand";
|
|
112
|
-
import {
|
|
113
|
-
AdminSetUserSettingsCommand,
|
|
114
|
-
AdminSetUserSettingsCommandInput,
|
|
115
|
-
AdminSetUserSettingsCommandOutput,
|
|
116
|
-
} from "./commands/AdminSetUserSettingsCommand";
|
|
117
|
-
import {
|
|
118
|
-
AdminUpdateAuthEventFeedbackCommand,
|
|
119
|
-
AdminUpdateAuthEventFeedbackCommandInput,
|
|
120
|
-
AdminUpdateAuthEventFeedbackCommandOutput,
|
|
121
|
-
} from "./commands/AdminUpdateAuthEventFeedbackCommand";
|
|
122
|
-
import {
|
|
123
|
-
AdminUpdateDeviceStatusCommand,
|
|
124
|
-
AdminUpdateDeviceStatusCommandInput,
|
|
125
|
-
AdminUpdateDeviceStatusCommandOutput,
|
|
126
|
-
} from "./commands/AdminUpdateDeviceStatusCommand";
|
|
127
|
-
import {
|
|
128
|
-
AdminUpdateUserAttributesCommand,
|
|
129
|
-
AdminUpdateUserAttributesCommandInput,
|
|
130
|
-
AdminUpdateUserAttributesCommandOutput,
|
|
131
|
-
} from "./commands/AdminUpdateUserAttributesCommand";
|
|
132
|
-
import {
|
|
133
|
-
AdminUserGlobalSignOutCommand,
|
|
134
|
-
AdminUserGlobalSignOutCommandInput,
|
|
135
|
-
AdminUserGlobalSignOutCommandOutput,
|
|
136
|
-
} from "./commands/AdminUserGlobalSignOutCommand";
|
|
137
|
-
import {
|
|
138
|
-
AssociateSoftwareTokenCommand,
|
|
139
|
-
AssociateSoftwareTokenCommandInput,
|
|
140
|
-
AssociateSoftwareTokenCommandOutput,
|
|
141
|
-
} from "./commands/AssociateSoftwareTokenCommand";
|
|
142
|
-
import {
|
|
143
|
-
ChangePasswordCommand,
|
|
144
|
-
ChangePasswordCommandInput,
|
|
145
|
-
ChangePasswordCommandOutput,
|
|
146
|
-
} from "./commands/ChangePasswordCommand";
|
|
147
|
-
import {
|
|
148
|
-
ConfirmDeviceCommand,
|
|
149
|
-
ConfirmDeviceCommandInput,
|
|
150
|
-
ConfirmDeviceCommandOutput,
|
|
151
|
-
} from "./commands/ConfirmDeviceCommand";
|
|
152
|
-
import {
|
|
153
|
-
ConfirmForgotPasswordCommand,
|
|
154
|
-
ConfirmForgotPasswordCommandInput,
|
|
155
|
-
ConfirmForgotPasswordCommandOutput,
|
|
156
|
-
} from "./commands/ConfirmForgotPasswordCommand";
|
|
157
|
-
import {
|
|
158
|
-
ConfirmSignUpCommand,
|
|
159
|
-
ConfirmSignUpCommandInput,
|
|
160
|
-
ConfirmSignUpCommandOutput,
|
|
161
|
-
} from "./commands/ConfirmSignUpCommand";
|
|
162
|
-
import { CreateGroupCommand, CreateGroupCommandInput, CreateGroupCommandOutput } from "./commands/CreateGroupCommand";
|
|
163
|
-
import {
|
|
164
|
-
CreateIdentityProviderCommand,
|
|
165
|
-
CreateIdentityProviderCommandInput,
|
|
166
|
-
CreateIdentityProviderCommandOutput,
|
|
167
|
-
} from "./commands/CreateIdentityProviderCommand";
|
|
168
|
-
import {
|
|
169
|
-
CreateResourceServerCommand,
|
|
170
|
-
CreateResourceServerCommandInput,
|
|
171
|
-
CreateResourceServerCommandOutput,
|
|
172
|
-
} from "./commands/CreateResourceServerCommand";
|
|
173
|
-
import {
|
|
174
|
-
CreateUserImportJobCommand,
|
|
175
|
-
CreateUserImportJobCommandInput,
|
|
176
|
-
CreateUserImportJobCommandOutput,
|
|
177
|
-
} from "./commands/CreateUserImportJobCommand";
|
|
178
|
-
import {
|
|
179
|
-
CreateUserPoolClientCommand,
|
|
180
|
-
CreateUserPoolClientCommandInput,
|
|
181
|
-
CreateUserPoolClientCommandOutput,
|
|
182
|
-
} from "./commands/CreateUserPoolClientCommand";
|
|
183
|
-
import {
|
|
184
|
-
CreateUserPoolCommand,
|
|
185
|
-
CreateUserPoolCommandInput,
|
|
186
|
-
CreateUserPoolCommandOutput,
|
|
187
|
-
} from "./commands/CreateUserPoolCommand";
|
|
188
|
-
import {
|
|
189
|
-
CreateUserPoolDomainCommand,
|
|
190
|
-
CreateUserPoolDomainCommandInput,
|
|
191
|
-
CreateUserPoolDomainCommandOutput,
|
|
192
|
-
} from "./commands/CreateUserPoolDomainCommand";
|
|
193
|
-
import { DeleteGroupCommand, DeleteGroupCommandInput, DeleteGroupCommandOutput } from "./commands/DeleteGroupCommand";
|
|
194
|
-
import {
|
|
195
|
-
DeleteIdentityProviderCommand,
|
|
196
|
-
DeleteIdentityProviderCommandInput,
|
|
197
|
-
DeleteIdentityProviderCommandOutput,
|
|
198
|
-
} from "./commands/DeleteIdentityProviderCommand";
|
|
199
|
-
import {
|
|
200
|
-
DeleteResourceServerCommand,
|
|
201
|
-
DeleteResourceServerCommandInput,
|
|
202
|
-
DeleteResourceServerCommandOutput,
|
|
203
|
-
} from "./commands/DeleteResourceServerCommand";
|
|
204
|
-
import {
|
|
205
|
-
DeleteUserAttributesCommand,
|
|
206
|
-
DeleteUserAttributesCommandInput,
|
|
207
|
-
DeleteUserAttributesCommandOutput,
|
|
208
|
-
} from "./commands/DeleteUserAttributesCommand";
|
|
209
|
-
import { DeleteUserCommand, DeleteUserCommandInput, DeleteUserCommandOutput } from "./commands/DeleteUserCommand";
|
|
210
|
-
import {
|
|
211
|
-
DeleteUserPoolClientCommand,
|
|
212
|
-
DeleteUserPoolClientCommandInput,
|
|
213
|
-
DeleteUserPoolClientCommandOutput,
|
|
214
|
-
} from "./commands/DeleteUserPoolClientCommand";
|
|
215
|
-
import {
|
|
216
|
-
DeleteUserPoolCommand,
|
|
217
|
-
DeleteUserPoolCommandInput,
|
|
218
|
-
DeleteUserPoolCommandOutput,
|
|
219
|
-
} from "./commands/DeleteUserPoolCommand";
|
|
220
|
-
import {
|
|
221
|
-
DeleteUserPoolDomainCommand,
|
|
222
|
-
DeleteUserPoolDomainCommandInput,
|
|
223
|
-
DeleteUserPoolDomainCommandOutput,
|
|
224
|
-
} from "./commands/DeleteUserPoolDomainCommand";
|
|
225
|
-
import {
|
|
226
|
-
DescribeIdentityProviderCommand,
|
|
227
|
-
DescribeIdentityProviderCommandInput,
|
|
228
|
-
DescribeIdentityProviderCommandOutput,
|
|
229
|
-
} from "./commands/DescribeIdentityProviderCommand";
|
|
230
|
-
import {
|
|
231
|
-
DescribeResourceServerCommand,
|
|
232
|
-
DescribeResourceServerCommandInput,
|
|
233
|
-
DescribeResourceServerCommandOutput,
|
|
234
|
-
} from "./commands/DescribeResourceServerCommand";
|
|
235
|
-
import {
|
|
236
|
-
DescribeRiskConfigurationCommand,
|
|
237
|
-
DescribeRiskConfigurationCommandInput,
|
|
238
|
-
DescribeRiskConfigurationCommandOutput,
|
|
239
|
-
} from "./commands/DescribeRiskConfigurationCommand";
|
|
240
|
-
import {
|
|
241
|
-
DescribeUserImportJobCommand,
|
|
242
|
-
DescribeUserImportJobCommandInput,
|
|
243
|
-
DescribeUserImportJobCommandOutput,
|
|
244
|
-
} from "./commands/DescribeUserImportJobCommand";
|
|
245
|
-
import {
|
|
246
|
-
DescribeUserPoolClientCommand,
|
|
247
|
-
DescribeUserPoolClientCommandInput,
|
|
248
|
-
DescribeUserPoolClientCommandOutput,
|
|
249
|
-
} from "./commands/DescribeUserPoolClientCommand";
|
|
250
|
-
import {
|
|
251
|
-
DescribeUserPoolCommand,
|
|
252
|
-
DescribeUserPoolCommandInput,
|
|
253
|
-
DescribeUserPoolCommandOutput,
|
|
254
|
-
} from "./commands/DescribeUserPoolCommand";
|
|
255
|
-
import {
|
|
256
|
-
DescribeUserPoolDomainCommand,
|
|
257
|
-
DescribeUserPoolDomainCommandInput,
|
|
258
|
-
DescribeUserPoolDomainCommandOutput,
|
|
259
|
-
} from "./commands/DescribeUserPoolDomainCommand";
|
|
260
|
-
import {
|
|
261
|
-
ForgetDeviceCommand,
|
|
262
|
-
ForgetDeviceCommandInput,
|
|
263
|
-
ForgetDeviceCommandOutput,
|
|
264
|
-
} from "./commands/ForgetDeviceCommand";
|
|
265
|
-
import {
|
|
266
|
-
ForgotPasswordCommand,
|
|
267
|
-
ForgotPasswordCommandInput,
|
|
268
|
-
ForgotPasswordCommandOutput,
|
|
269
|
-
} from "./commands/ForgotPasswordCommand";
|
|
270
|
-
import {
|
|
271
|
-
GetCSVHeaderCommand,
|
|
272
|
-
GetCSVHeaderCommandInput,
|
|
273
|
-
GetCSVHeaderCommandOutput,
|
|
274
|
-
} from "./commands/GetCSVHeaderCommand";
|
|
275
|
-
import { GetDeviceCommand, GetDeviceCommandInput, GetDeviceCommandOutput } from "./commands/GetDeviceCommand";
|
|
276
|
-
import { GetGroupCommand, GetGroupCommandInput, GetGroupCommandOutput } from "./commands/GetGroupCommand";
|
|
277
|
-
import {
|
|
278
|
-
GetIdentityProviderByIdentifierCommand,
|
|
279
|
-
GetIdentityProviderByIdentifierCommandInput,
|
|
280
|
-
GetIdentityProviderByIdentifierCommandOutput,
|
|
281
|
-
} from "./commands/GetIdentityProviderByIdentifierCommand";
|
|
282
|
-
import {
|
|
283
|
-
GetSigningCertificateCommand,
|
|
284
|
-
GetSigningCertificateCommandInput,
|
|
285
|
-
GetSigningCertificateCommandOutput,
|
|
286
|
-
} from "./commands/GetSigningCertificateCommand";
|
|
287
|
-
import {
|
|
288
|
-
GetUICustomizationCommand,
|
|
289
|
-
GetUICustomizationCommandInput,
|
|
290
|
-
GetUICustomizationCommandOutput,
|
|
291
|
-
} from "./commands/GetUICustomizationCommand";
|
|
292
|
-
import {
|
|
293
|
-
GetUserAttributeVerificationCodeCommand,
|
|
294
|
-
GetUserAttributeVerificationCodeCommandInput,
|
|
295
|
-
GetUserAttributeVerificationCodeCommandOutput,
|
|
296
|
-
} from "./commands/GetUserAttributeVerificationCodeCommand";
|
|
297
|
-
import { GetUserCommand, GetUserCommandInput, GetUserCommandOutput } from "./commands/GetUserCommand";
|
|
298
|
-
import {
|
|
299
|
-
GetUserPoolMfaConfigCommand,
|
|
300
|
-
GetUserPoolMfaConfigCommandInput,
|
|
301
|
-
GetUserPoolMfaConfigCommandOutput,
|
|
302
|
-
} from "./commands/GetUserPoolMfaConfigCommand";
|
|
303
|
-
import {
|
|
304
|
-
GlobalSignOutCommand,
|
|
305
|
-
GlobalSignOutCommandInput,
|
|
306
|
-
GlobalSignOutCommandOutput,
|
|
307
|
-
} from "./commands/GlobalSignOutCommand";
|
|
308
|
-
import {
|
|
309
|
-
InitiateAuthCommand,
|
|
310
|
-
InitiateAuthCommandInput,
|
|
311
|
-
InitiateAuthCommandOutput,
|
|
312
|
-
} from "./commands/InitiateAuthCommand";
|
|
313
|
-
import { ListDevicesCommand, ListDevicesCommandInput, ListDevicesCommandOutput } from "./commands/ListDevicesCommand";
|
|
314
|
-
import { ListGroupsCommand, ListGroupsCommandInput, ListGroupsCommandOutput } from "./commands/ListGroupsCommand";
|
|
315
|
-
import {
|
|
316
|
-
ListIdentityProvidersCommand,
|
|
317
|
-
ListIdentityProvidersCommandInput,
|
|
318
|
-
ListIdentityProvidersCommandOutput,
|
|
319
|
-
} from "./commands/ListIdentityProvidersCommand";
|
|
320
|
-
import {
|
|
321
|
-
ListResourceServersCommand,
|
|
322
|
-
ListResourceServersCommandInput,
|
|
323
|
-
ListResourceServersCommandOutput,
|
|
324
|
-
} from "./commands/ListResourceServersCommand";
|
|
325
|
-
import {
|
|
326
|
-
ListTagsForResourceCommand,
|
|
327
|
-
ListTagsForResourceCommandInput,
|
|
328
|
-
ListTagsForResourceCommandOutput,
|
|
329
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
330
|
-
import {
|
|
331
|
-
ListUserImportJobsCommand,
|
|
332
|
-
ListUserImportJobsCommandInput,
|
|
333
|
-
ListUserImportJobsCommandOutput,
|
|
334
|
-
} from "./commands/ListUserImportJobsCommand";
|
|
335
|
-
import {
|
|
336
|
-
ListUserPoolClientsCommand,
|
|
337
|
-
ListUserPoolClientsCommandInput,
|
|
338
|
-
ListUserPoolClientsCommandOutput,
|
|
339
|
-
} from "./commands/ListUserPoolClientsCommand";
|
|
340
|
-
import {
|
|
341
|
-
ListUserPoolsCommand,
|
|
342
|
-
ListUserPoolsCommandInput,
|
|
343
|
-
ListUserPoolsCommandOutput,
|
|
344
|
-
} from "./commands/ListUserPoolsCommand";
|
|
345
|
-
import { ListUsersCommand, ListUsersCommandInput, ListUsersCommandOutput } from "./commands/ListUsersCommand";
|
|
346
|
-
import {
|
|
347
|
-
ListUsersInGroupCommand,
|
|
348
|
-
ListUsersInGroupCommandInput,
|
|
349
|
-
ListUsersInGroupCommandOutput,
|
|
350
|
-
} from "./commands/ListUsersInGroupCommand";
|
|
351
|
-
import {
|
|
352
|
-
ResendConfirmationCodeCommand,
|
|
353
|
-
ResendConfirmationCodeCommandInput,
|
|
354
|
-
ResendConfirmationCodeCommandOutput,
|
|
355
|
-
} from "./commands/ResendConfirmationCodeCommand";
|
|
356
|
-
import {
|
|
357
|
-
RespondToAuthChallengeCommand,
|
|
358
|
-
RespondToAuthChallengeCommandInput,
|
|
359
|
-
RespondToAuthChallengeCommandOutput,
|
|
360
|
-
} from "./commands/RespondToAuthChallengeCommand";
|
|
361
|
-
import { RevokeTokenCommand, RevokeTokenCommandInput, RevokeTokenCommandOutput } from "./commands/RevokeTokenCommand";
|
|
362
|
-
import {
|
|
363
|
-
SetRiskConfigurationCommand,
|
|
364
|
-
SetRiskConfigurationCommandInput,
|
|
365
|
-
SetRiskConfigurationCommandOutput,
|
|
366
|
-
} from "./commands/SetRiskConfigurationCommand";
|
|
367
|
-
import {
|
|
368
|
-
SetUICustomizationCommand,
|
|
369
|
-
SetUICustomizationCommandInput,
|
|
370
|
-
SetUICustomizationCommandOutput,
|
|
371
|
-
} from "./commands/SetUICustomizationCommand";
|
|
372
|
-
import {
|
|
373
|
-
SetUserMFAPreferenceCommand,
|
|
374
|
-
SetUserMFAPreferenceCommandInput,
|
|
375
|
-
SetUserMFAPreferenceCommandOutput,
|
|
376
|
-
} from "./commands/SetUserMFAPreferenceCommand";
|
|
377
|
-
import {
|
|
378
|
-
SetUserPoolMfaConfigCommand,
|
|
379
|
-
SetUserPoolMfaConfigCommandInput,
|
|
380
|
-
SetUserPoolMfaConfigCommandOutput,
|
|
381
|
-
} from "./commands/SetUserPoolMfaConfigCommand";
|
|
382
|
-
import {
|
|
383
|
-
SetUserSettingsCommand,
|
|
384
|
-
SetUserSettingsCommandInput,
|
|
385
|
-
SetUserSettingsCommandOutput,
|
|
386
|
-
} from "./commands/SetUserSettingsCommand";
|
|
387
|
-
import { SignUpCommand, SignUpCommandInput, SignUpCommandOutput } from "./commands/SignUpCommand";
|
|
388
|
-
import {
|
|
389
|
-
StartUserImportJobCommand,
|
|
390
|
-
StartUserImportJobCommandInput,
|
|
391
|
-
StartUserImportJobCommandOutput,
|
|
392
|
-
} from "./commands/StartUserImportJobCommand";
|
|
393
|
-
import {
|
|
394
|
-
StopUserImportJobCommand,
|
|
395
|
-
StopUserImportJobCommandInput,
|
|
396
|
-
StopUserImportJobCommandOutput,
|
|
397
|
-
} from "./commands/StopUserImportJobCommand";
|
|
398
|
-
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
399
|
-
import {
|
|
400
|
-
UntagResourceCommand,
|
|
401
|
-
UntagResourceCommandInput,
|
|
402
|
-
UntagResourceCommandOutput,
|
|
403
|
-
} from "./commands/UntagResourceCommand";
|
|
404
|
-
import {
|
|
405
|
-
UpdateAuthEventFeedbackCommand,
|
|
406
|
-
UpdateAuthEventFeedbackCommandInput,
|
|
407
|
-
UpdateAuthEventFeedbackCommandOutput,
|
|
408
|
-
} from "./commands/UpdateAuthEventFeedbackCommand";
|
|
409
|
-
import {
|
|
410
|
-
UpdateDeviceStatusCommand,
|
|
411
|
-
UpdateDeviceStatusCommandInput,
|
|
412
|
-
UpdateDeviceStatusCommandOutput,
|
|
413
|
-
} from "./commands/UpdateDeviceStatusCommand";
|
|
414
|
-
import { UpdateGroupCommand, UpdateGroupCommandInput, UpdateGroupCommandOutput } from "./commands/UpdateGroupCommand";
|
|
415
|
-
import {
|
|
416
|
-
UpdateIdentityProviderCommand,
|
|
417
|
-
UpdateIdentityProviderCommandInput,
|
|
418
|
-
UpdateIdentityProviderCommandOutput,
|
|
419
|
-
} from "./commands/UpdateIdentityProviderCommand";
|
|
420
|
-
import {
|
|
421
|
-
UpdateResourceServerCommand,
|
|
422
|
-
UpdateResourceServerCommandInput,
|
|
423
|
-
UpdateResourceServerCommandOutput,
|
|
424
|
-
} from "./commands/UpdateResourceServerCommand";
|
|
425
|
-
import {
|
|
426
|
-
UpdateUserAttributesCommand,
|
|
427
|
-
UpdateUserAttributesCommandInput,
|
|
428
|
-
UpdateUserAttributesCommandOutput,
|
|
429
|
-
} from "./commands/UpdateUserAttributesCommand";
|
|
430
|
-
import {
|
|
431
|
-
UpdateUserPoolClientCommand,
|
|
432
|
-
UpdateUserPoolClientCommandInput,
|
|
433
|
-
UpdateUserPoolClientCommandOutput,
|
|
434
|
-
} from "./commands/UpdateUserPoolClientCommand";
|
|
435
|
-
import {
|
|
436
|
-
UpdateUserPoolCommand,
|
|
437
|
-
UpdateUserPoolCommandInput,
|
|
438
|
-
UpdateUserPoolCommandOutput,
|
|
439
|
-
} from "./commands/UpdateUserPoolCommand";
|
|
440
|
-
import {
|
|
441
|
-
UpdateUserPoolDomainCommand,
|
|
442
|
-
UpdateUserPoolDomainCommandInput,
|
|
443
|
-
UpdateUserPoolDomainCommandOutput,
|
|
444
|
-
} from "./commands/UpdateUserPoolDomainCommand";
|
|
445
|
-
import {
|
|
446
|
-
VerifySoftwareTokenCommand,
|
|
447
|
-
VerifySoftwareTokenCommandInput,
|
|
448
|
-
VerifySoftwareTokenCommandOutput,
|
|
449
|
-
} from "./commands/VerifySoftwareTokenCommand";
|
|
450
|
-
import {
|
|
451
|
-
VerifyUserAttributeCommand,
|
|
452
|
-
VerifyUserAttributeCommandInput,
|
|
453
|
-
VerifyUserAttributeCommandOutput,
|
|
454
|
-
} from "./commands/VerifyUserAttributeCommand";
|
|
455
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
456
|
-
|
|
457
|
-
/**
|
|
458
|
-
* <p>Using the Amazon Cognito User Pools API, you can create a user pool to manage
|
|
459
|
-
* directories and users. You can authenticate a user to obtain tokens related to user
|
|
460
|
-
* identity and access policies.</p>
|
|
461
|
-
* <p>This API reference provides information about user pools in Amazon Cognito User
|
|
462
|
-
* Pools.</p>
|
|
463
|
-
* <p>For more information, see the <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/what-is-amazon-cognito.html">Amazon Cognito
|
|
464
|
-
* Documentation</a>.</p>
|
|
465
|
-
*/
|
|
466
|
-
export class CognitoIdentityProvider extends CognitoIdentityProviderClient {
|
|
467
|
-
/**
|
|
468
|
-
* <p>Adds additional user attributes to the user pool schema.</p>
|
|
469
|
-
*/
|
|
470
|
-
public addCustomAttributes(
|
|
471
|
-
args: AddCustomAttributesCommandInput,
|
|
472
|
-
options?: __HttpHandlerOptions
|
|
473
|
-
): Promise<AddCustomAttributesCommandOutput>;
|
|
474
|
-
public addCustomAttributes(
|
|
475
|
-
args: AddCustomAttributesCommandInput,
|
|
476
|
-
cb: (err: any, data?: AddCustomAttributesCommandOutput) => void
|
|
477
|
-
): void;
|
|
478
|
-
public addCustomAttributes(
|
|
479
|
-
args: AddCustomAttributesCommandInput,
|
|
480
|
-
options: __HttpHandlerOptions,
|
|
481
|
-
cb: (err: any, data?: AddCustomAttributesCommandOutput) => void
|
|
482
|
-
): void;
|
|
483
|
-
public addCustomAttributes(
|
|
484
|
-
args: AddCustomAttributesCommandInput,
|
|
485
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AddCustomAttributesCommandOutput) => void),
|
|
486
|
-
cb?: (err: any, data?: AddCustomAttributesCommandOutput) => void
|
|
487
|
-
): Promise<AddCustomAttributesCommandOutput> | void {
|
|
488
|
-
const command = new AddCustomAttributesCommand(args);
|
|
489
|
-
if (typeof optionsOrCb === "function") {
|
|
490
|
-
this.send(command, optionsOrCb);
|
|
491
|
-
} else if (typeof cb === "function") {
|
|
492
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
493
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
494
|
-
} else {
|
|
495
|
-
return this.send(command, optionsOrCb);
|
|
496
|
-
}
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
/**
|
|
500
|
-
* <p>Adds the specified user to the specified group.</p>
|
|
501
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
502
|
-
*/
|
|
503
|
-
public adminAddUserToGroup(
|
|
504
|
-
args: AdminAddUserToGroupCommandInput,
|
|
505
|
-
options?: __HttpHandlerOptions
|
|
506
|
-
): Promise<AdminAddUserToGroupCommandOutput>;
|
|
507
|
-
public adminAddUserToGroup(
|
|
508
|
-
args: AdminAddUserToGroupCommandInput,
|
|
509
|
-
cb: (err: any, data?: AdminAddUserToGroupCommandOutput) => void
|
|
510
|
-
): void;
|
|
511
|
-
public adminAddUserToGroup(
|
|
512
|
-
args: AdminAddUserToGroupCommandInput,
|
|
513
|
-
options: __HttpHandlerOptions,
|
|
514
|
-
cb: (err: any, data?: AdminAddUserToGroupCommandOutput) => void
|
|
515
|
-
): void;
|
|
516
|
-
public adminAddUserToGroup(
|
|
517
|
-
args: AdminAddUserToGroupCommandInput,
|
|
518
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AdminAddUserToGroupCommandOutput) => void),
|
|
519
|
-
cb?: (err: any, data?: AdminAddUserToGroupCommandOutput) => void
|
|
520
|
-
): Promise<AdminAddUserToGroupCommandOutput> | void {
|
|
521
|
-
const command = new AdminAddUserToGroupCommand(args);
|
|
522
|
-
if (typeof optionsOrCb === "function") {
|
|
523
|
-
this.send(command, optionsOrCb);
|
|
524
|
-
} else if (typeof cb === "function") {
|
|
525
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
526
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
527
|
-
} else {
|
|
528
|
-
return this.send(command, optionsOrCb);
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
/**
|
|
533
|
-
* <p>Confirms user registration as an admin without using a confirmation code. Works on any
|
|
534
|
-
* user.</p>
|
|
535
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
536
|
-
*/
|
|
537
|
-
public adminConfirmSignUp(
|
|
538
|
-
args: AdminConfirmSignUpCommandInput,
|
|
539
|
-
options?: __HttpHandlerOptions
|
|
540
|
-
): Promise<AdminConfirmSignUpCommandOutput>;
|
|
541
|
-
public adminConfirmSignUp(
|
|
542
|
-
args: AdminConfirmSignUpCommandInput,
|
|
543
|
-
cb: (err: any, data?: AdminConfirmSignUpCommandOutput) => void
|
|
544
|
-
): void;
|
|
545
|
-
public adminConfirmSignUp(
|
|
546
|
-
args: AdminConfirmSignUpCommandInput,
|
|
547
|
-
options: __HttpHandlerOptions,
|
|
548
|
-
cb: (err: any, data?: AdminConfirmSignUpCommandOutput) => void
|
|
549
|
-
): void;
|
|
550
|
-
public adminConfirmSignUp(
|
|
551
|
-
args: AdminConfirmSignUpCommandInput,
|
|
552
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AdminConfirmSignUpCommandOutput) => void),
|
|
553
|
-
cb?: (err: any, data?: AdminConfirmSignUpCommandOutput) => void
|
|
554
|
-
): Promise<AdminConfirmSignUpCommandOutput> | void {
|
|
555
|
-
const command = new AdminConfirmSignUpCommand(args);
|
|
556
|
-
if (typeof optionsOrCb === "function") {
|
|
557
|
-
this.send(command, optionsOrCb);
|
|
558
|
-
} else if (typeof cb === "function") {
|
|
559
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
560
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
561
|
-
} else {
|
|
562
|
-
return this.send(command, optionsOrCb);
|
|
563
|
-
}
|
|
564
|
-
}
|
|
565
|
-
|
|
566
|
-
/**
|
|
567
|
-
* <p>Creates a new user in the specified user pool.</p>
|
|
568
|
-
* <p>If <code>MessageAction</code> is not set, the default is to send a welcome message via
|
|
569
|
-
* email or phone (SMS).</p>
|
|
570
|
-
*
|
|
571
|
-
* <note>
|
|
572
|
-
* <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
|
|
573
|
-
* telecom carriers require that you register an origination phone number before you can
|
|
574
|
-
* send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
|
|
575
|
-
* you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
|
|
576
|
-
* Cognito will use the the registered number automatically. Otherwise, Cognito users that must
|
|
577
|
-
* receive SMS messages might be unable to sign up, activate their accounts, or sign
|
|
578
|
-
* in.</p>
|
|
579
|
-
* <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
|
|
580
|
-
* <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
|
|
581
|
-
* mode</a>
|
|
582
|
-
* </i>, you’ll have limitations, such as sending messages
|
|
583
|
-
* to only verified phone numbers. After testing in the sandbox environment, you can
|
|
584
|
-
* move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
|
|
585
|
-
* Cognito Developer Guide</i>. </p>
|
|
586
|
-
* </note>
|
|
587
|
-
*
|
|
588
|
-
* <p>This message is based on a template that you configured in your call to create or
|
|
589
|
-
* update a user pool. This template includes your custom sign-up instructions and
|
|
590
|
-
* placeholders for user name and temporary password.</p>
|
|
591
|
-
* <p>Alternatively, you can call <code>AdminCreateUser</code> with “SUPPRESS” for the
|
|
592
|
-
* <code>MessageAction</code> parameter, and Amazon Cognito will not send any email. </p>
|
|
593
|
-
* <p>In either case, the user will be in the <code>FORCE_CHANGE_PASSWORD</code> state until
|
|
594
|
-
* they sign in and change their password.</p>
|
|
595
|
-
* <p>
|
|
596
|
-
* <code>AdminCreateUser</code> requires developer credentials.</p>
|
|
597
|
-
*/
|
|
598
|
-
public adminCreateUser(
|
|
599
|
-
args: AdminCreateUserCommandInput,
|
|
600
|
-
options?: __HttpHandlerOptions
|
|
601
|
-
): Promise<AdminCreateUserCommandOutput>;
|
|
602
|
-
public adminCreateUser(
|
|
603
|
-
args: AdminCreateUserCommandInput,
|
|
604
|
-
cb: (err: any, data?: AdminCreateUserCommandOutput) => void
|
|
605
|
-
): void;
|
|
606
|
-
public adminCreateUser(
|
|
607
|
-
args: AdminCreateUserCommandInput,
|
|
608
|
-
options: __HttpHandlerOptions,
|
|
609
|
-
cb: (err: any, data?: AdminCreateUserCommandOutput) => void
|
|
610
|
-
): void;
|
|
611
|
-
public adminCreateUser(
|
|
612
|
-
args: AdminCreateUserCommandInput,
|
|
613
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AdminCreateUserCommandOutput) => void),
|
|
614
|
-
cb?: (err: any, data?: AdminCreateUserCommandOutput) => void
|
|
615
|
-
): Promise<AdminCreateUserCommandOutput> | void {
|
|
616
|
-
const command = new AdminCreateUserCommand(args);
|
|
617
|
-
if (typeof optionsOrCb === "function") {
|
|
618
|
-
this.send(command, optionsOrCb);
|
|
619
|
-
} else if (typeof cb === "function") {
|
|
620
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
621
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
622
|
-
} else {
|
|
623
|
-
return this.send(command, optionsOrCb);
|
|
624
|
-
}
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
/**
|
|
628
|
-
* <p>Deletes a user as an administrator. Works on any user.</p>
|
|
629
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
630
|
-
*/
|
|
631
|
-
public adminDeleteUser(
|
|
632
|
-
args: AdminDeleteUserCommandInput,
|
|
633
|
-
options?: __HttpHandlerOptions
|
|
634
|
-
): Promise<AdminDeleteUserCommandOutput>;
|
|
635
|
-
public adminDeleteUser(
|
|
636
|
-
args: AdminDeleteUserCommandInput,
|
|
637
|
-
cb: (err: any, data?: AdminDeleteUserCommandOutput) => void
|
|
638
|
-
): void;
|
|
639
|
-
public adminDeleteUser(
|
|
640
|
-
args: AdminDeleteUserCommandInput,
|
|
641
|
-
options: __HttpHandlerOptions,
|
|
642
|
-
cb: (err: any, data?: AdminDeleteUserCommandOutput) => void
|
|
643
|
-
): void;
|
|
644
|
-
public adminDeleteUser(
|
|
645
|
-
args: AdminDeleteUserCommandInput,
|
|
646
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AdminDeleteUserCommandOutput) => void),
|
|
647
|
-
cb?: (err: any, data?: AdminDeleteUserCommandOutput) => void
|
|
648
|
-
): Promise<AdminDeleteUserCommandOutput> | void {
|
|
649
|
-
const command = new AdminDeleteUserCommand(args);
|
|
650
|
-
if (typeof optionsOrCb === "function") {
|
|
651
|
-
this.send(command, optionsOrCb);
|
|
652
|
-
} else if (typeof cb === "function") {
|
|
653
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
654
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
655
|
-
} else {
|
|
656
|
-
return this.send(command, optionsOrCb);
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
|
|
660
|
-
/**
|
|
661
|
-
* <p>Deletes the user attributes in a user pool as an administrator. Works on any
|
|
662
|
-
* user.</p>
|
|
663
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
664
|
-
*/
|
|
665
|
-
public adminDeleteUserAttributes(
|
|
666
|
-
args: AdminDeleteUserAttributesCommandInput,
|
|
667
|
-
options?: __HttpHandlerOptions
|
|
668
|
-
): Promise<AdminDeleteUserAttributesCommandOutput>;
|
|
669
|
-
public adminDeleteUserAttributes(
|
|
670
|
-
args: AdminDeleteUserAttributesCommandInput,
|
|
671
|
-
cb: (err: any, data?: AdminDeleteUserAttributesCommandOutput) => void
|
|
672
|
-
): void;
|
|
673
|
-
public adminDeleteUserAttributes(
|
|
674
|
-
args: AdminDeleteUserAttributesCommandInput,
|
|
675
|
-
options: __HttpHandlerOptions,
|
|
676
|
-
cb: (err: any, data?: AdminDeleteUserAttributesCommandOutput) => void
|
|
677
|
-
): void;
|
|
678
|
-
public adminDeleteUserAttributes(
|
|
679
|
-
args: AdminDeleteUserAttributesCommandInput,
|
|
680
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AdminDeleteUserAttributesCommandOutput) => void),
|
|
681
|
-
cb?: (err: any, data?: AdminDeleteUserAttributesCommandOutput) => void
|
|
682
|
-
): Promise<AdminDeleteUserAttributesCommandOutput> | void {
|
|
683
|
-
const command = new AdminDeleteUserAttributesCommand(args);
|
|
684
|
-
if (typeof optionsOrCb === "function") {
|
|
685
|
-
this.send(command, optionsOrCb);
|
|
686
|
-
} else if (typeof cb === "function") {
|
|
687
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
688
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
689
|
-
} else {
|
|
690
|
-
return this.send(command, optionsOrCb);
|
|
691
|
-
}
|
|
692
|
-
}
|
|
693
|
-
|
|
694
|
-
/**
|
|
695
|
-
* <p>Disables the user from signing in with the specified external (SAML or social)
|
|
696
|
-
* identity provider. If the user to disable is a Cognito User Pools native username +
|
|
697
|
-
* password user, they are not permitted to use their password to sign-in. If the user to
|
|
698
|
-
* disable is a linked external IdP user, any link between that user and an existing user
|
|
699
|
-
* is removed. The next time the external user (no longer attached to the previously linked
|
|
700
|
-
* <code>DestinationUser</code>) signs in, they must create a new user account. See
|
|
701
|
-
* <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminLinkProviderForUser.html">AdminLinkProviderForUser</a>.</p>
|
|
702
|
-
* <p>This action is enabled only for admin access and requires developer
|
|
703
|
-
* credentials.</p>
|
|
704
|
-
* <p>The <code>ProviderName</code> must match the value specified when creating an IdP for
|
|
705
|
-
* the pool. </p>
|
|
706
|
-
* <p>To disable a native username + password user, the <code>ProviderName</code> value must
|
|
707
|
-
* be <code>Cognito</code> and the <code>ProviderAttributeName</code> must be
|
|
708
|
-
* <code>Cognito_Subject</code>, with the <code>ProviderAttributeValue</code> being the
|
|
709
|
-
* name that is used in the user pool for the user.</p>
|
|
710
|
-
* <p>The <code>ProviderAttributeName</code> must always be <code>Cognito_Subject</code> for
|
|
711
|
-
* social identity providers. The <code>ProviderAttributeValue</code> must always be the
|
|
712
|
-
* exact subject that was used when the user was originally linked as a source user.</p>
|
|
713
|
-
* <p>For de-linking a SAML identity, there are two scenarios. If the linked identity has
|
|
714
|
-
* not yet been used to sign-in, the <code>ProviderAttributeName</code> and
|
|
715
|
-
* <code>ProviderAttributeValue</code> must be the same values that were used for the
|
|
716
|
-
* <code>SourceUser</code> when the identities were originally linked using <code>
|
|
717
|
-
* AdminLinkProviderForUser</code> call. (If the linking was done with
|
|
718
|
-
* <code>ProviderAttributeName</code> set to <code>Cognito_Subject</code>, the same
|
|
719
|
-
* applies here). However, if the user has already signed in, the
|
|
720
|
-
* <code>ProviderAttributeName</code> must be <code>Cognito_Subject</code> and
|
|
721
|
-
* <code>ProviderAttributeValue</code> must be the subject of the SAML
|
|
722
|
-
* assertion.</p>
|
|
723
|
-
*/
|
|
724
|
-
public adminDisableProviderForUser(
|
|
725
|
-
args: AdminDisableProviderForUserCommandInput,
|
|
726
|
-
options?: __HttpHandlerOptions
|
|
727
|
-
): Promise<AdminDisableProviderForUserCommandOutput>;
|
|
728
|
-
public adminDisableProviderForUser(
|
|
729
|
-
args: AdminDisableProviderForUserCommandInput,
|
|
730
|
-
cb: (err: any, data?: AdminDisableProviderForUserCommandOutput) => void
|
|
731
|
-
): void;
|
|
732
|
-
public adminDisableProviderForUser(
|
|
733
|
-
args: AdminDisableProviderForUserCommandInput,
|
|
734
|
-
options: __HttpHandlerOptions,
|
|
735
|
-
cb: (err: any, data?: AdminDisableProviderForUserCommandOutput) => void
|
|
736
|
-
): void;
|
|
737
|
-
public adminDisableProviderForUser(
|
|
738
|
-
args: AdminDisableProviderForUserCommandInput,
|
|
739
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AdminDisableProviderForUserCommandOutput) => void),
|
|
740
|
-
cb?: (err: any, data?: AdminDisableProviderForUserCommandOutput) => void
|
|
741
|
-
): Promise<AdminDisableProviderForUserCommandOutput> | void {
|
|
742
|
-
const command = new AdminDisableProviderForUserCommand(args);
|
|
743
|
-
if (typeof optionsOrCb === "function") {
|
|
744
|
-
this.send(command, optionsOrCb);
|
|
745
|
-
} else if (typeof cb === "function") {
|
|
746
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
747
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
748
|
-
} else {
|
|
749
|
-
return this.send(command, optionsOrCb);
|
|
750
|
-
}
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
/**
|
|
754
|
-
* <p>Disables the specified user.</p>
|
|
755
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
756
|
-
*/
|
|
757
|
-
public adminDisableUser(
|
|
758
|
-
args: AdminDisableUserCommandInput,
|
|
759
|
-
options?: __HttpHandlerOptions
|
|
760
|
-
): Promise<AdminDisableUserCommandOutput>;
|
|
761
|
-
public adminDisableUser(
|
|
762
|
-
args: AdminDisableUserCommandInput,
|
|
763
|
-
cb: (err: any, data?: AdminDisableUserCommandOutput) => void
|
|
764
|
-
): void;
|
|
765
|
-
public adminDisableUser(
|
|
766
|
-
args: AdminDisableUserCommandInput,
|
|
767
|
-
options: __HttpHandlerOptions,
|
|
768
|
-
cb: (err: any, data?: AdminDisableUserCommandOutput) => void
|
|
769
|
-
): void;
|
|
770
|
-
public adminDisableUser(
|
|
771
|
-
args: AdminDisableUserCommandInput,
|
|
772
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AdminDisableUserCommandOutput) => void),
|
|
773
|
-
cb?: (err: any, data?: AdminDisableUserCommandOutput) => void
|
|
774
|
-
): Promise<AdminDisableUserCommandOutput> | void {
|
|
775
|
-
const command = new AdminDisableUserCommand(args);
|
|
776
|
-
if (typeof optionsOrCb === "function") {
|
|
777
|
-
this.send(command, optionsOrCb);
|
|
778
|
-
} else if (typeof cb === "function") {
|
|
779
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
780
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
781
|
-
} else {
|
|
782
|
-
return this.send(command, optionsOrCb);
|
|
783
|
-
}
|
|
784
|
-
}
|
|
785
|
-
|
|
786
|
-
/**
|
|
787
|
-
* <p>Enables the specified user as an administrator. Works on any user.</p>
|
|
788
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
789
|
-
*/
|
|
790
|
-
public adminEnableUser(
|
|
791
|
-
args: AdminEnableUserCommandInput,
|
|
792
|
-
options?: __HttpHandlerOptions
|
|
793
|
-
): Promise<AdminEnableUserCommandOutput>;
|
|
794
|
-
public adminEnableUser(
|
|
795
|
-
args: AdminEnableUserCommandInput,
|
|
796
|
-
cb: (err: any, data?: AdminEnableUserCommandOutput) => void
|
|
797
|
-
): void;
|
|
798
|
-
public adminEnableUser(
|
|
799
|
-
args: AdminEnableUserCommandInput,
|
|
800
|
-
options: __HttpHandlerOptions,
|
|
801
|
-
cb: (err: any, data?: AdminEnableUserCommandOutput) => void
|
|
802
|
-
): void;
|
|
803
|
-
public adminEnableUser(
|
|
804
|
-
args: AdminEnableUserCommandInput,
|
|
805
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AdminEnableUserCommandOutput) => void),
|
|
806
|
-
cb?: (err: any, data?: AdminEnableUserCommandOutput) => void
|
|
807
|
-
): Promise<AdminEnableUserCommandOutput> | void {
|
|
808
|
-
const command = new AdminEnableUserCommand(args);
|
|
809
|
-
if (typeof optionsOrCb === "function") {
|
|
810
|
-
this.send(command, optionsOrCb);
|
|
811
|
-
} else if (typeof cb === "function") {
|
|
812
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
813
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
814
|
-
} else {
|
|
815
|
-
return this.send(command, optionsOrCb);
|
|
816
|
-
}
|
|
817
|
-
}
|
|
818
|
-
|
|
819
|
-
/**
|
|
820
|
-
* <p>Forgets the device, as an administrator.</p>
|
|
821
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
822
|
-
*/
|
|
823
|
-
public adminForgetDevice(
|
|
824
|
-
args: AdminForgetDeviceCommandInput,
|
|
825
|
-
options?: __HttpHandlerOptions
|
|
826
|
-
): Promise<AdminForgetDeviceCommandOutput>;
|
|
827
|
-
public adminForgetDevice(
|
|
828
|
-
args: AdminForgetDeviceCommandInput,
|
|
829
|
-
cb: (err: any, data?: AdminForgetDeviceCommandOutput) => void
|
|
830
|
-
): void;
|
|
831
|
-
public adminForgetDevice(
|
|
832
|
-
args: AdminForgetDeviceCommandInput,
|
|
833
|
-
options: __HttpHandlerOptions,
|
|
834
|
-
cb: (err: any, data?: AdminForgetDeviceCommandOutput) => void
|
|
835
|
-
): void;
|
|
836
|
-
public adminForgetDevice(
|
|
837
|
-
args: AdminForgetDeviceCommandInput,
|
|
838
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AdminForgetDeviceCommandOutput) => void),
|
|
839
|
-
cb?: (err: any, data?: AdminForgetDeviceCommandOutput) => void
|
|
840
|
-
): Promise<AdminForgetDeviceCommandOutput> | void {
|
|
841
|
-
const command = new AdminForgetDeviceCommand(args);
|
|
842
|
-
if (typeof optionsOrCb === "function") {
|
|
843
|
-
this.send(command, optionsOrCb);
|
|
844
|
-
} else if (typeof cb === "function") {
|
|
845
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
846
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
847
|
-
} else {
|
|
848
|
-
return this.send(command, optionsOrCb);
|
|
849
|
-
}
|
|
850
|
-
}
|
|
851
|
-
|
|
852
|
-
/**
|
|
853
|
-
* <p>Gets the device, as an administrator.</p>
|
|
854
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
855
|
-
*/
|
|
856
|
-
public adminGetDevice(
|
|
857
|
-
args: AdminGetDeviceCommandInput,
|
|
858
|
-
options?: __HttpHandlerOptions
|
|
859
|
-
): Promise<AdminGetDeviceCommandOutput>;
|
|
860
|
-
public adminGetDevice(
|
|
861
|
-
args: AdminGetDeviceCommandInput,
|
|
862
|
-
cb: (err: any, data?: AdminGetDeviceCommandOutput) => void
|
|
863
|
-
): void;
|
|
864
|
-
public adminGetDevice(
|
|
865
|
-
args: AdminGetDeviceCommandInput,
|
|
866
|
-
options: __HttpHandlerOptions,
|
|
867
|
-
cb: (err: any, data?: AdminGetDeviceCommandOutput) => void
|
|
868
|
-
): void;
|
|
869
|
-
public adminGetDevice(
|
|
870
|
-
args: AdminGetDeviceCommandInput,
|
|
871
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AdminGetDeviceCommandOutput) => void),
|
|
872
|
-
cb?: (err: any, data?: AdminGetDeviceCommandOutput) => void
|
|
873
|
-
): Promise<AdminGetDeviceCommandOutput> | void {
|
|
874
|
-
const command = new AdminGetDeviceCommand(args);
|
|
875
|
-
if (typeof optionsOrCb === "function") {
|
|
876
|
-
this.send(command, optionsOrCb);
|
|
877
|
-
} else if (typeof cb === "function") {
|
|
878
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
879
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
880
|
-
} else {
|
|
881
|
-
return this.send(command, optionsOrCb);
|
|
882
|
-
}
|
|
883
|
-
}
|
|
884
|
-
|
|
885
|
-
/**
|
|
886
|
-
* <p>Gets the specified user by user name in a user pool as an administrator. Works on any
|
|
887
|
-
* user.</p>
|
|
888
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
889
|
-
*/
|
|
890
|
-
public adminGetUser(
|
|
891
|
-
args: AdminGetUserCommandInput,
|
|
892
|
-
options?: __HttpHandlerOptions
|
|
893
|
-
): Promise<AdminGetUserCommandOutput>;
|
|
894
|
-
public adminGetUser(args: AdminGetUserCommandInput, cb: (err: any, data?: AdminGetUserCommandOutput) => void): void;
|
|
895
|
-
public adminGetUser(
|
|
896
|
-
args: AdminGetUserCommandInput,
|
|
897
|
-
options: __HttpHandlerOptions,
|
|
898
|
-
cb: (err: any, data?: AdminGetUserCommandOutput) => void
|
|
899
|
-
): void;
|
|
900
|
-
public adminGetUser(
|
|
901
|
-
args: AdminGetUserCommandInput,
|
|
902
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AdminGetUserCommandOutput) => void),
|
|
903
|
-
cb?: (err: any, data?: AdminGetUserCommandOutput) => void
|
|
904
|
-
): Promise<AdminGetUserCommandOutput> | void {
|
|
905
|
-
const command = new AdminGetUserCommand(args);
|
|
906
|
-
if (typeof optionsOrCb === "function") {
|
|
907
|
-
this.send(command, optionsOrCb);
|
|
908
|
-
} else if (typeof cb === "function") {
|
|
909
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
910
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
911
|
-
} else {
|
|
912
|
-
return this.send(command, optionsOrCb);
|
|
913
|
-
}
|
|
914
|
-
}
|
|
915
|
-
|
|
916
|
-
/**
|
|
917
|
-
* <p>Initiates the authentication flow, as an administrator.</p>
|
|
918
|
-
*
|
|
919
|
-
*
|
|
920
|
-
* <note>
|
|
921
|
-
* <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
|
|
922
|
-
* telecom carriers require that you register an origination phone number before you can
|
|
923
|
-
* send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
|
|
924
|
-
* you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
|
|
925
|
-
* Cognito will use the the registered number automatically. Otherwise, Cognito users that must
|
|
926
|
-
* receive SMS messages might be unable to sign up, activate their accounts, or sign
|
|
927
|
-
* in.</p>
|
|
928
|
-
* <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
|
|
929
|
-
* <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
|
|
930
|
-
* mode</a>
|
|
931
|
-
* </i>, you’ll have limitations, such as sending messages
|
|
932
|
-
* to only verified phone numbers. After testing in the sandbox environment, you can
|
|
933
|
-
* move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
|
|
934
|
-
* Cognito Developer Guide</i>. </p>
|
|
935
|
-
* </note>
|
|
936
|
-
*
|
|
937
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
938
|
-
*/
|
|
939
|
-
public adminInitiateAuth(
|
|
940
|
-
args: AdminInitiateAuthCommandInput,
|
|
941
|
-
options?: __HttpHandlerOptions
|
|
942
|
-
): Promise<AdminInitiateAuthCommandOutput>;
|
|
943
|
-
public adminInitiateAuth(
|
|
944
|
-
args: AdminInitiateAuthCommandInput,
|
|
945
|
-
cb: (err: any, data?: AdminInitiateAuthCommandOutput) => void
|
|
946
|
-
): void;
|
|
947
|
-
public adminInitiateAuth(
|
|
948
|
-
args: AdminInitiateAuthCommandInput,
|
|
949
|
-
options: __HttpHandlerOptions,
|
|
950
|
-
cb: (err: any, data?: AdminInitiateAuthCommandOutput) => void
|
|
951
|
-
): void;
|
|
952
|
-
public adminInitiateAuth(
|
|
953
|
-
args: AdminInitiateAuthCommandInput,
|
|
954
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AdminInitiateAuthCommandOutput) => void),
|
|
955
|
-
cb?: (err: any, data?: AdminInitiateAuthCommandOutput) => void
|
|
956
|
-
): Promise<AdminInitiateAuthCommandOutput> | void {
|
|
957
|
-
const command = new AdminInitiateAuthCommand(args);
|
|
958
|
-
if (typeof optionsOrCb === "function") {
|
|
959
|
-
this.send(command, optionsOrCb);
|
|
960
|
-
} else if (typeof cb === "function") {
|
|
961
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
962
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
963
|
-
} else {
|
|
964
|
-
return this.send(command, optionsOrCb);
|
|
965
|
-
}
|
|
966
|
-
}
|
|
967
|
-
|
|
968
|
-
/**
|
|
969
|
-
* <p>Links an existing user account in a user pool (<code>DestinationUser</code>) to an
|
|
970
|
-
* identity from an external identity provider (<code>SourceUser</code>) based on a
|
|
971
|
-
* specified attribute name and value from the external identity provider. This allows you
|
|
972
|
-
* to create a link from the existing user account to an external federated user identity
|
|
973
|
-
* that has not yet been used to sign in, so that the federated user identity can be used
|
|
974
|
-
* to sign in as the existing user account. </p>
|
|
975
|
-
* <p> For example, if there is an existing user with a username and password, this API
|
|
976
|
-
* links that user to a federated user identity, so that when the federated user identity
|
|
977
|
-
* is used, the user signs in as the existing user account. </p>
|
|
978
|
-
* <note>
|
|
979
|
-
* <p>The maximum number of federated identities linked to a user is 5.</p>
|
|
980
|
-
* </note>
|
|
981
|
-
* <important>
|
|
982
|
-
* <p>Because this API allows a user with an external federated identity to sign in as
|
|
983
|
-
* an existing user in the user pool, it is critical that it only be used with external
|
|
984
|
-
* identity providers and provider attributes that have been trusted by the application
|
|
985
|
-
* owner.</p>
|
|
986
|
-
* </important>
|
|
987
|
-
*
|
|
988
|
-
* <p>This action is enabled only for admin access and requires developer
|
|
989
|
-
* credentials.</p>
|
|
990
|
-
*/
|
|
991
|
-
public adminLinkProviderForUser(
|
|
992
|
-
args: AdminLinkProviderForUserCommandInput,
|
|
993
|
-
options?: __HttpHandlerOptions
|
|
994
|
-
): Promise<AdminLinkProviderForUserCommandOutput>;
|
|
995
|
-
public adminLinkProviderForUser(
|
|
996
|
-
args: AdminLinkProviderForUserCommandInput,
|
|
997
|
-
cb: (err: any, data?: AdminLinkProviderForUserCommandOutput) => void
|
|
998
|
-
): void;
|
|
999
|
-
public adminLinkProviderForUser(
|
|
1000
|
-
args: AdminLinkProviderForUserCommandInput,
|
|
1001
|
-
options: __HttpHandlerOptions,
|
|
1002
|
-
cb: (err: any, data?: AdminLinkProviderForUserCommandOutput) => void
|
|
1003
|
-
): void;
|
|
1004
|
-
public adminLinkProviderForUser(
|
|
1005
|
-
args: AdminLinkProviderForUserCommandInput,
|
|
1006
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AdminLinkProviderForUserCommandOutput) => void),
|
|
1007
|
-
cb?: (err: any, data?: AdminLinkProviderForUserCommandOutput) => void
|
|
1008
|
-
): Promise<AdminLinkProviderForUserCommandOutput> | void {
|
|
1009
|
-
const command = new AdminLinkProviderForUserCommand(args);
|
|
1010
|
-
if (typeof optionsOrCb === "function") {
|
|
1011
|
-
this.send(command, optionsOrCb);
|
|
1012
|
-
} else if (typeof cb === "function") {
|
|
1013
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1014
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1015
|
-
} else {
|
|
1016
|
-
return this.send(command, optionsOrCb);
|
|
1017
|
-
}
|
|
1018
|
-
}
|
|
1019
|
-
|
|
1020
|
-
/**
|
|
1021
|
-
* <p>Lists devices, as an administrator.</p>
|
|
1022
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
1023
|
-
*/
|
|
1024
|
-
public adminListDevices(
|
|
1025
|
-
args: AdminListDevicesCommandInput,
|
|
1026
|
-
options?: __HttpHandlerOptions
|
|
1027
|
-
): Promise<AdminListDevicesCommandOutput>;
|
|
1028
|
-
public adminListDevices(
|
|
1029
|
-
args: AdminListDevicesCommandInput,
|
|
1030
|
-
cb: (err: any, data?: AdminListDevicesCommandOutput) => void
|
|
1031
|
-
): void;
|
|
1032
|
-
public adminListDevices(
|
|
1033
|
-
args: AdminListDevicesCommandInput,
|
|
1034
|
-
options: __HttpHandlerOptions,
|
|
1035
|
-
cb: (err: any, data?: AdminListDevicesCommandOutput) => void
|
|
1036
|
-
): void;
|
|
1037
|
-
public adminListDevices(
|
|
1038
|
-
args: AdminListDevicesCommandInput,
|
|
1039
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AdminListDevicesCommandOutput) => void),
|
|
1040
|
-
cb?: (err: any, data?: AdminListDevicesCommandOutput) => void
|
|
1041
|
-
): Promise<AdminListDevicesCommandOutput> | void {
|
|
1042
|
-
const command = new AdminListDevicesCommand(args);
|
|
1043
|
-
if (typeof optionsOrCb === "function") {
|
|
1044
|
-
this.send(command, optionsOrCb);
|
|
1045
|
-
} else if (typeof cb === "function") {
|
|
1046
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1047
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1048
|
-
} else {
|
|
1049
|
-
return this.send(command, optionsOrCb);
|
|
1050
|
-
}
|
|
1051
|
-
}
|
|
1052
|
-
|
|
1053
|
-
/**
|
|
1054
|
-
* <p>Lists the groups that the user belongs to.</p>
|
|
1055
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
1056
|
-
*/
|
|
1057
|
-
public adminListGroupsForUser(
|
|
1058
|
-
args: AdminListGroupsForUserCommandInput,
|
|
1059
|
-
options?: __HttpHandlerOptions
|
|
1060
|
-
): Promise<AdminListGroupsForUserCommandOutput>;
|
|
1061
|
-
public adminListGroupsForUser(
|
|
1062
|
-
args: AdminListGroupsForUserCommandInput,
|
|
1063
|
-
cb: (err: any, data?: AdminListGroupsForUserCommandOutput) => void
|
|
1064
|
-
): void;
|
|
1065
|
-
public adminListGroupsForUser(
|
|
1066
|
-
args: AdminListGroupsForUserCommandInput,
|
|
1067
|
-
options: __HttpHandlerOptions,
|
|
1068
|
-
cb: (err: any, data?: AdminListGroupsForUserCommandOutput) => void
|
|
1069
|
-
): void;
|
|
1070
|
-
public adminListGroupsForUser(
|
|
1071
|
-
args: AdminListGroupsForUserCommandInput,
|
|
1072
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AdminListGroupsForUserCommandOutput) => void),
|
|
1073
|
-
cb?: (err: any, data?: AdminListGroupsForUserCommandOutput) => void
|
|
1074
|
-
): Promise<AdminListGroupsForUserCommandOutput> | void {
|
|
1075
|
-
const command = new AdminListGroupsForUserCommand(args);
|
|
1076
|
-
if (typeof optionsOrCb === "function") {
|
|
1077
|
-
this.send(command, optionsOrCb);
|
|
1078
|
-
} else if (typeof cb === "function") {
|
|
1079
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1080
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1081
|
-
} else {
|
|
1082
|
-
return this.send(command, optionsOrCb);
|
|
1083
|
-
}
|
|
1084
|
-
}
|
|
1085
|
-
|
|
1086
|
-
/**
|
|
1087
|
-
* <p>Lists a history of user activity and any risks detected as part of Amazon Cognito
|
|
1088
|
-
* advanced security.</p>
|
|
1089
|
-
*/
|
|
1090
|
-
public adminListUserAuthEvents(
|
|
1091
|
-
args: AdminListUserAuthEventsCommandInput,
|
|
1092
|
-
options?: __HttpHandlerOptions
|
|
1093
|
-
): Promise<AdminListUserAuthEventsCommandOutput>;
|
|
1094
|
-
public adminListUserAuthEvents(
|
|
1095
|
-
args: AdminListUserAuthEventsCommandInput,
|
|
1096
|
-
cb: (err: any, data?: AdminListUserAuthEventsCommandOutput) => void
|
|
1097
|
-
): void;
|
|
1098
|
-
public adminListUserAuthEvents(
|
|
1099
|
-
args: AdminListUserAuthEventsCommandInput,
|
|
1100
|
-
options: __HttpHandlerOptions,
|
|
1101
|
-
cb: (err: any, data?: AdminListUserAuthEventsCommandOutput) => void
|
|
1102
|
-
): void;
|
|
1103
|
-
public adminListUserAuthEvents(
|
|
1104
|
-
args: AdminListUserAuthEventsCommandInput,
|
|
1105
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AdminListUserAuthEventsCommandOutput) => void),
|
|
1106
|
-
cb?: (err: any, data?: AdminListUserAuthEventsCommandOutput) => void
|
|
1107
|
-
): Promise<AdminListUserAuthEventsCommandOutput> | void {
|
|
1108
|
-
const command = new AdminListUserAuthEventsCommand(args);
|
|
1109
|
-
if (typeof optionsOrCb === "function") {
|
|
1110
|
-
this.send(command, optionsOrCb);
|
|
1111
|
-
} else if (typeof cb === "function") {
|
|
1112
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1113
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1114
|
-
} else {
|
|
1115
|
-
return this.send(command, optionsOrCb);
|
|
1116
|
-
}
|
|
1117
|
-
}
|
|
1118
|
-
|
|
1119
|
-
/**
|
|
1120
|
-
* <p>Removes the specified user from the specified group.</p>
|
|
1121
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
1122
|
-
*/
|
|
1123
|
-
public adminRemoveUserFromGroup(
|
|
1124
|
-
args: AdminRemoveUserFromGroupCommandInput,
|
|
1125
|
-
options?: __HttpHandlerOptions
|
|
1126
|
-
): Promise<AdminRemoveUserFromGroupCommandOutput>;
|
|
1127
|
-
public adminRemoveUserFromGroup(
|
|
1128
|
-
args: AdminRemoveUserFromGroupCommandInput,
|
|
1129
|
-
cb: (err: any, data?: AdminRemoveUserFromGroupCommandOutput) => void
|
|
1130
|
-
): void;
|
|
1131
|
-
public adminRemoveUserFromGroup(
|
|
1132
|
-
args: AdminRemoveUserFromGroupCommandInput,
|
|
1133
|
-
options: __HttpHandlerOptions,
|
|
1134
|
-
cb: (err: any, data?: AdminRemoveUserFromGroupCommandOutput) => void
|
|
1135
|
-
): void;
|
|
1136
|
-
public adminRemoveUserFromGroup(
|
|
1137
|
-
args: AdminRemoveUserFromGroupCommandInput,
|
|
1138
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AdminRemoveUserFromGroupCommandOutput) => void),
|
|
1139
|
-
cb?: (err: any, data?: AdminRemoveUserFromGroupCommandOutput) => void
|
|
1140
|
-
): Promise<AdminRemoveUserFromGroupCommandOutput> | void {
|
|
1141
|
-
const command = new AdminRemoveUserFromGroupCommand(args);
|
|
1142
|
-
if (typeof optionsOrCb === "function") {
|
|
1143
|
-
this.send(command, optionsOrCb);
|
|
1144
|
-
} else if (typeof cb === "function") {
|
|
1145
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1146
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1147
|
-
} else {
|
|
1148
|
-
return this.send(command, optionsOrCb);
|
|
1149
|
-
}
|
|
1150
|
-
}
|
|
1151
|
-
|
|
1152
|
-
/**
|
|
1153
|
-
* <p>Resets the specified user's password in a user pool as an administrator. Works on any
|
|
1154
|
-
* user.</p>
|
|
1155
|
-
* <p>When a developer calls this API, the current password is invalidated, so it must be
|
|
1156
|
-
* changed. If a user tries to sign in after the API is called, the app will get a
|
|
1157
|
-
* PasswordResetRequiredException exception back and should direct the user down the flow
|
|
1158
|
-
* to reset the password, which is the same as the forgot password flow. In addition, if
|
|
1159
|
-
* the user pool has phone verification selected and a verified phone number exists for the
|
|
1160
|
-
* user, or if email verification is selected and a verified email exists for the user,
|
|
1161
|
-
* calling this API will also result in sending a message to the end user with the code to
|
|
1162
|
-
* change their password.</p>
|
|
1163
|
-
*
|
|
1164
|
-
*
|
|
1165
|
-
* <note>
|
|
1166
|
-
* <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
|
|
1167
|
-
* telecom carriers require that you register an origination phone number before you can
|
|
1168
|
-
* send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
|
|
1169
|
-
* you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
|
|
1170
|
-
* Cognito will use the the registered number automatically. Otherwise, Cognito users that must
|
|
1171
|
-
* receive SMS messages might be unable to sign up, activate their accounts, or sign
|
|
1172
|
-
* in.</p>
|
|
1173
|
-
* <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
|
|
1174
|
-
* <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
|
|
1175
|
-
* mode</a>
|
|
1176
|
-
* </i>, you’ll have limitations, such as sending messages
|
|
1177
|
-
* to only verified phone numbers. After testing in the sandbox environment, you can
|
|
1178
|
-
* move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
|
|
1179
|
-
* Cognito Developer Guide</i>. </p>
|
|
1180
|
-
* </note>
|
|
1181
|
-
*
|
|
1182
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
1183
|
-
*/
|
|
1184
|
-
public adminResetUserPassword(
|
|
1185
|
-
args: AdminResetUserPasswordCommandInput,
|
|
1186
|
-
options?: __HttpHandlerOptions
|
|
1187
|
-
): Promise<AdminResetUserPasswordCommandOutput>;
|
|
1188
|
-
public adminResetUserPassword(
|
|
1189
|
-
args: AdminResetUserPasswordCommandInput,
|
|
1190
|
-
cb: (err: any, data?: AdminResetUserPasswordCommandOutput) => void
|
|
1191
|
-
): void;
|
|
1192
|
-
public adminResetUserPassword(
|
|
1193
|
-
args: AdminResetUserPasswordCommandInput,
|
|
1194
|
-
options: __HttpHandlerOptions,
|
|
1195
|
-
cb: (err: any, data?: AdminResetUserPasswordCommandOutput) => void
|
|
1196
|
-
): void;
|
|
1197
|
-
public adminResetUserPassword(
|
|
1198
|
-
args: AdminResetUserPasswordCommandInput,
|
|
1199
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AdminResetUserPasswordCommandOutput) => void),
|
|
1200
|
-
cb?: (err: any, data?: AdminResetUserPasswordCommandOutput) => void
|
|
1201
|
-
): Promise<AdminResetUserPasswordCommandOutput> | void {
|
|
1202
|
-
const command = new AdminResetUserPasswordCommand(args);
|
|
1203
|
-
if (typeof optionsOrCb === "function") {
|
|
1204
|
-
this.send(command, optionsOrCb);
|
|
1205
|
-
} else if (typeof cb === "function") {
|
|
1206
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1207
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1208
|
-
} else {
|
|
1209
|
-
return this.send(command, optionsOrCb);
|
|
1210
|
-
}
|
|
1211
|
-
}
|
|
1212
|
-
|
|
1213
|
-
/**
|
|
1214
|
-
* <p>Responds to an authentication challenge, as an administrator.</p>
|
|
1215
|
-
*
|
|
1216
|
-
* <note>
|
|
1217
|
-
* <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
|
|
1218
|
-
* telecom carriers require that you register an origination phone number before you can
|
|
1219
|
-
* send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
|
|
1220
|
-
* you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
|
|
1221
|
-
* Cognito will use the the registered number automatically. Otherwise, Cognito users that must
|
|
1222
|
-
* receive SMS messages might be unable to sign up, activate their accounts, or sign
|
|
1223
|
-
* in.</p>
|
|
1224
|
-
* <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
|
|
1225
|
-
* <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
|
|
1226
|
-
* mode</a>
|
|
1227
|
-
* </i>, you’ll have limitations, such as sending messages
|
|
1228
|
-
* to only verified phone numbers. After testing in the sandbox environment, you can
|
|
1229
|
-
* move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
|
|
1230
|
-
* Cognito Developer Guide</i>. </p>
|
|
1231
|
-
* </note>
|
|
1232
|
-
*
|
|
1233
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
1234
|
-
*/
|
|
1235
|
-
public adminRespondToAuthChallenge(
|
|
1236
|
-
args: AdminRespondToAuthChallengeCommandInput,
|
|
1237
|
-
options?: __HttpHandlerOptions
|
|
1238
|
-
): Promise<AdminRespondToAuthChallengeCommandOutput>;
|
|
1239
|
-
public adminRespondToAuthChallenge(
|
|
1240
|
-
args: AdminRespondToAuthChallengeCommandInput,
|
|
1241
|
-
cb: (err: any, data?: AdminRespondToAuthChallengeCommandOutput) => void
|
|
1242
|
-
): void;
|
|
1243
|
-
public adminRespondToAuthChallenge(
|
|
1244
|
-
args: AdminRespondToAuthChallengeCommandInput,
|
|
1245
|
-
options: __HttpHandlerOptions,
|
|
1246
|
-
cb: (err: any, data?: AdminRespondToAuthChallengeCommandOutput) => void
|
|
1247
|
-
): void;
|
|
1248
|
-
public adminRespondToAuthChallenge(
|
|
1249
|
-
args: AdminRespondToAuthChallengeCommandInput,
|
|
1250
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AdminRespondToAuthChallengeCommandOutput) => void),
|
|
1251
|
-
cb?: (err: any, data?: AdminRespondToAuthChallengeCommandOutput) => void
|
|
1252
|
-
): Promise<AdminRespondToAuthChallengeCommandOutput> | void {
|
|
1253
|
-
const command = new AdminRespondToAuthChallengeCommand(args);
|
|
1254
|
-
if (typeof optionsOrCb === "function") {
|
|
1255
|
-
this.send(command, optionsOrCb);
|
|
1256
|
-
} else if (typeof cb === "function") {
|
|
1257
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1258
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1259
|
-
} else {
|
|
1260
|
-
return this.send(command, optionsOrCb);
|
|
1261
|
-
}
|
|
1262
|
-
}
|
|
1263
|
-
|
|
1264
|
-
/**
|
|
1265
|
-
* <p>Sets the user's multi-factor authentication (MFA) preference, including which MFA
|
|
1266
|
-
* options are enabled and if any are preferred. Only one factor can be set as preferred.
|
|
1267
|
-
* The preferred MFA factor will be used to authenticate a user if multiple factors are
|
|
1268
|
-
* enabled. If multiple options are enabled and no preference is set, a challenge to choose
|
|
1269
|
-
* an MFA option will be returned during sign in.</p>
|
|
1270
|
-
*/
|
|
1271
|
-
public adminSetUserMFAPreference(
|
|
1272
|
-
args: AdminSetUserMFAPreferenceCommandInput,
|
|
1273
|
-
options?: __HttpHandlerOptions
|
|
1274
|
-
): Promise<AdminSetUserMFAPreferenceCommandOutput>;
|
|
1275
|
-
public adminSetUserMFAPreference(
|
|
1276
|
-
args: AdminSetUserMFAPreferenceCommandInput,
|
|
1277
|
-
cb: (err: any, data?: AdminSetUserMFAPreferenceCommandOutput) => void
|
|
1278
|
-
): void;
|
|
1279
|
-
public adminSetUserMFAPreference(
|
|
1280
|
-
args: AdminSetUserMFAPreferenceCommandInput,
|
|
1281
|
-
options: __HttpHandlerOptions,
|
|
1282
|
-
cb: (err: any, data?: AdminSetUserMFAPreferenceCommandOutput) => void
|
|
1283
|
-
): void;
|
|
1284
|
-
public adminSetUserMFAPreference(
|
|
1285
|
-
args: AdminSetUserMFAPreferenceCommandInput,
|
|
1286
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AdminSetUserMFAPreferenceCommandOutput) => void),
|
|
1287
|
-
cb?: (err: any, data?: AdminSetUserMFAPreferenceCommandOutput) => void
|
|
1288
|
-
): Promise<AdminSetUserMFAPreferenceCommandOutput> | void {
|
|
1289
|
-
const command = new AdminSetUserMFAPreferenceCommand(args);
|
|
1290
|
-
if (typeof optionsOrCb === "function") {
|
|
1291
|
-
this.send(command, optionsOrCb);
|
|
1292
|
-
} else if (typeof cb === "function") {
|
|
1293
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1294
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1295
|
-
} else {
|
|
1296
|
-
return this.send(command, optionsOrCb);
|
|
1297
|
-
}
|
|
1298
|
-
}
|
|
1299
|
-
|
|
1300
|
-
/**
|
|
1301
|
-
* <p>Sets the specified user's password in a user pool as an administrator. Works on any
|
|
1302
|
-
* user. </p>
|
|
1303
|
-
* <p>The password can be temporary or permanent. If it is temporary, the user status will
|
|
1304
|
-
* be placed into the <code>FORCE_CHANGE_PASSWORD</code> state. When the user next tries to
|
|
1305
|
-
* sign in, the InitiateAuth/AdminInitiateAuth response will contain the
|
|
1306
|
-
* <code>NEW_PASSWORD_REQUIRED</code> challenge. If the user does not sign in before it
|
|
1307
|
-
* expires, the user will not be able to sign in and their password will need to be reset
|
|
1308
|
-
* by an administrator. </p>
|
|
1309
|
-
* <p>Once the user has set a new password, or the password is permanent, the user status
|
|
1310
|
-
* will be set to <code>Confirmed</code>.</p>
|
|
1311
|
-
*/
|
|
1312
|
-
public adminSetUserPassword(
|
|
1313
|
-
args: AdminSetUserPasswordCommandInput,
|
|
1314
|
-
options?: __HttpHandlerOptions
|
|
1315
|
-
): Promise<AdminSetUserPasswordCommandOutput>;
|
|
1316
|
-
public adminSetUserPassword(
|
|
1317
|
-
args: AdminSetUserPasswordCommandInput,
|
|
1318
|
-
cb: (err: any, data?: AdminSetUserPasswordCommandOutput) => void
|
|
1319
|
-
): void;
|
|
1320
|
-
public adminSetUserPassword(
|
|
1321
|
-
args: AdminSetUserPasswordCommandInput,
|
|
1322
|
-
options: __HttpHandlerOptions,
|
|
1323
|
-
cb: (err: any, data?: AdminSetUserPasswordCommandOutput) => void
|
|
1324
|
-
): void;
|
|
1325
|
-
public adminSetUserPassword(
|
|
1326
|
-
args: AdminSetUserPasswordCommandInput,
|
|
1327
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AdminSetUserPasswordCommandOutput) => void),
|
|
1328
|
-
cb?: (err: any, data?: AdminSetUserPasswordCommandOutput) => void
|
|
1329
|
-
): Promise<AdminSetUserPasswordCommandOutput> | void {
|
|
1330
|
-
const command = new AdminSetUserPasswordCommand(args);
|
|
1331
|
-
if (typeof optionsOrCb === "function") {
|
|
1332
|
-
this.send(command, optionsOrCb);
|
|
1333
|
-
} else if (typeof cb === "function") {
|
|
1334
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1335
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1336
|
-
} else {
|
|
1337
|
-
return this.send(command, optionsOrCb);
|
|
1338
|
-
}
|
|
1339
|
-
}
|
|
1340
|
-
|
|
1341
|
-
/**
|
|
1342
|
-
* <p>
|
|
1343
|
-
* <i>This action is no longer supported.</i> You can use it to configure
|
|
1344
|
-
* only SMS MFA. You can't use it to configure TOTP software token MFA. To configure either
|
|
1345
|
-
* type of MFA, use <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminSetUserMFAPreference.html">AdminSetUserMFAPreference</a> instead.</p>
|
|
1346
|
-
*/
|
|
1347
|
-
public adminSetUserSettings(
|
|
1348
|
-
args: AdminSetUserSettingsCommandInput,
|
|
1349
|
-
options?: __HttpHandlerOptions
|
|
1350
|
-
): Promise<AdminSetUserSettingsCommandOutput>;
|
|
1351
|
-
public adminSetUserSettings(
|
|
1352
|
-
args: AdminSetUserSettingsCommandInput,
|
|
1353
|
-
cb: (err: any, data?: AdminSetUserSettingsCommandOutput) => void
|
|
1354
|
-
): void;
|
|
1355
|
-
public adminSetUserSettings(
|
|
1356
|
-
args: AdminSetUserSettingsCommandInput,
|
|
1357
|
-
options: __HttpHandlerOptions,
|
|
1358
|
-
cb: (err: any, data?: AdminSetUserSettingsCommandOutput) => void
|
|
1359
|
-
): void;
|
|
1360
|
-
public adminSetUserSettings(
|
|
1361
|
-
args: AdminSetUserSettingsCommandInput,
|
|
1362
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AdminSetUserSettingsCommandOutput) => void),
|
|
1363
|
-
cb?: (err: any, data?: AdminSetUserSettingsCommandOutput) => void
|
|
1364
|
-
): Promise<AdminSetUserSettingsCommandOutput> | void {
|
|
1365
|
-
const command = new AdminSetUserSettingsCommand(args);
|
|
1366
|
-
if (typeof optionsOrCb === "function") {
|
|
1367
|
-
this.send(command, optionsOrCb);
|
|
1368
|
-
} else if (typeof cb === "function") {
|
|
1369
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1370
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1371
|
-
} else {
|
|
1372
|
-
return this.send(command, optionsOrCb);
|
|
1373
|
-
}
|
|
1374
|
-
}
|
|
1375
|
-
|
|
1376
|
-
/**
|
|
1377
|
-
* <p>Provides feedback for an authentication event as to whether it was from a valid user.
|
|
1378
|
-
* This feedback is used for improving the risk evaluation decision for the user pool as
|
|
1379
|
-
* part of Amazon Cognito advanced security.</p>
|
|
1380
|
-
*/
|
|
1381
|
-
public adminUpdateAuthEventFeedback(
|
|
1382
|
-
args: AdminUpdateAuthEventFeedbackCommandInput,
|
|
1383
|
-
options?: __HttpHandlerOptions
|
|
1384
|
-
): Promise<AdminUpdateAuthEventFeedbackCommandOutput>;
|
|
1385
|
-
public adminUpdateAuthEventFeedback(
|
|
1386
|
-
args: AdminUpdateAuthEventFeedbackCommandInput,
|
|
1387
|
-
cb: (err: any, data?: AdminUpdateAuthEventFeedbackCommandOutput) => void
|
|
1388
|
-
): void;
|
|
1389
|
-
public adminUpdateAuthEventFeedback(
|
|
1390
|
-
args: AdminUpdateAuthEventFeedbackCommandInput,
|
|
1391
|
-
options: __HttpHandlerOptions,
|
|
1392
|
-
cb: (err: any, data?: AdminUpdateAuthEventFeedbackCommandOutput) => void
|
|
1393
|
-
): void;
|
|
1394
|
-
public adminUpdateAuthEventFeedback(
|
|
1395
|
-
args: AdminUpdateAuthEventFeedbackCommandInput,
|
|
1396
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AdminUpdateAuthEventFeedbackCommandOutput) => void),
|
|
1397
|
-
cb?: (err: any, data?: AdminUpdateAuthEventFeedbackCommandOutput) => void
|
|
1398
|
-
): Promise<AdminUpdateAuthEventFeedbackCommandOutput> | void {
|
|
1399
|
-
const command = new AdminUpdateAuthEventFeedbackCommand(args);
|
|
1400
|
-
if (typeof optionsOrCb === "function") {
|
|
1401
|
-
this.send(command, optionsOrCb);
|
|
1402
|
-
} else if (typeof cb === "function") {
|
|
1403
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1404
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1405
|
-
} else {
|
|
1406
|
-
return this.send(command, optionsOrCb);
|
|
1407
|
-
}
|
|
1408
|
-
}
|
|
1409
|
-
|
|
1410
|
-
/**
|
|
1411
|
-
* <p>Updates the device status as an administrator.</p>
|
|
1412
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
1413
|
-
*/
|
|
1414
|
-
public adminUpdateDeviceStatus(
|
|
1415
|
-
args: AdminUpdateDeviceStatusCommandInput,
|
|
1416
|
-
options?: __HttpHandlerOptions
|
|
1417
|
-
): Promise<AdminUpdateDeviceStatusCommandOutput>;
|
|
1418
|
-
public adminUpdateDeviceStatus(
|
|
1419
|
-
args: AdminUpdateDeviceStatusCommandInput,
|
|
1420
|
-
cb: (err: any, data?: AdminUpdateDeviceStatusCommandOutput) => void
|
|
1421
|
-
): void;
|
|
1422
|
-
public adminUpdateDeviceStatus(
|
|
1423
|
-
args: AdminUpdateDeviceStatusCommandInput,
|
|
1424
|
-
options: __HttpHandlerOptions,
|
|
1425
|
-
cb: (err: any, data?: AdminUpdateDeviceStatusCommandOutput) => void
|
|
1426
|
-
): void;
|
|
1427
|
-
public adminUpdateDeviceStatus(
|
|
1428
|
-
args: AdminUpdateDeviceStatusCommandInput,
|
|
1429
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AdminUpdateDeviceStatusCommandOutput) => void),
|
|
1430
|
-
cb?: (err: any, data?: AdminUpdateDeviceStatusCommandOutput) => void
|
|
1431
|
-
): Promise<AdminUpdateDeviceStatusCommandOutput> | void {
|
|
1432
|
-
const command = new AdminUpdateDeviceStatusCommand(args);
|
|
1433
|
-
if (typeof optionsOrCb === "function") {
|
|
1434
|
-
this.send(command, optionsOrCb);
|
|
1435
|
-
} else if (typeof cb === "function") {
|
|
1436
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1437
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1438
|
-
} else {
|
|
1439
|
-
return this.send(command, optionsOrCb);
|
|
1440
|
-
}
|
|
1441
|
-
}
|
|
1442
|
-
|
|
1443
|
-
/**
|
|
1444
|
-
* <p>Updates the specified user's attributes, including developer attributes, as an
|
|
1445
|
-
* administrator. Works on any user.</p>
|
|
1446
|
-
* <p>For custom attributes, you must prepend the <code>custom:</code> prefix to the
|
|
1447
|
-
* attribute name.</p>
|
|
1448
|
-
* <p>In addition to updating user attributes, this API can also be used to mark phone and
|
|
1449
|
-
* email as verified.</p>
|
|
1450
|
-
*
|
|
1451
|
-
* <note>
|
|
1452
|
-
* <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
|
|
1453
|
-
* telecom carriers require that you register an origination phone number before you can
|
|
1454
|
-
* send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
|
|
1455
|
-
* you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
|
|
1456
|
-
* Cognito will use the the registered number automatically. Otherwise, Cognito users that must
|
|
1457
|
-
* receive SMS messages might be unable to sign up, activate their accounts, or sign
|
|
1458
|
-
* in.</p>
|
|
1459
|
-
* <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
|
|
1460
|
-
* <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
|
|
1461
|
-
* mode</a>
|
|
1462
|
-
* </i>, you’ll have limitations, such as sending messages
|
|
1463
|
-
* to only verified phone numbers. After testing in the sandbox environment, you can
|
|
1464
|
-
* move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
|
|
1465
|
-
* Cognito Developer Guide</i>. </p>
|
|
1466
|
-
* </note>
|
|
1467
|
-
*
|
|
1468
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
1469
|
-
*/
|
|
1470
|
-
public adminUpdateUserAttributes(
|
|
1471
|
-
args: AdminUpdateUserAttributesCommandInput,
|
|
1472
|
-
options?: __HttpHandlerOptions
|
|
1473
|
-
): Promise<AdminUpdateUserAttributesCommandOutput>;
|
|
1474
|
-
public adminUpdateUserAttributes(
|
|
1475
|
-
args: AdminUpdateUserAttributesCommandInput,
|
|
1476
|
-
cb: (err: any, data?: AdminUpdateUserAttributesCommandOutput) => void
|
|
1477
|
-
): void;
|
|
1478
|
-
public adminUpdateUserAttributes(
|
|
1479
|
-
args: AdminUpdateUserAttributesCommandInput,
|
|
1480
|
-
options: __HttpHandlerOptions,
|
|
1481
|
-
cb: (err: any, data?: AdminUpdateUserAttributesCommandOutput) => void
|
|
1482
|
-
): void;
|
|
1483
|
-
public adminUpdateUserAttributes(
|
|
1484
|
-
args: AdminUpdateUserAttributesCommandInput,
|
|
1485
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AdminUpdateUserAttributesCommandOutput) => void),
|
|
1486
|
-
cb?: (err: any, data?: AdminUpdateUserAttributesCommandOutput) => void
|
|
1487
|
-
): Promise<AdminUpdateUserAttributesCommandOutput> | void {
|
|
1488
|
-
const command = new AdminUpdateUserAttributesCommand(args);
|
|
1489
|
-
if (typeof optionsOrCb === "function") {
|
|
1490
|
-
this.send(command, optionsOrCb);
|
|
1491
|
-
} else if (typeof cb === "function") {
|
|
1492
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1493
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1494
|
-
} else {
|
|
1495
|
-
return this.send(command, optionsOrCb);
|
|
1496
|
-
}
|
|
1497
|
-
}
|
|
1498
|
-
|
|
1499
|
-
/**
|
|
1500
|
-
* <p>Signs out users from all devices, as an administrator. It also invalidates all refresh
|
|
1501
|
-
* tokens issued to a user. The user's current access and Id tokens remain valid until
|
|
1502
|
-
* their expiry. Access and Id tokens expire one hour after they are issued.</p>
|
|
1503
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
1504
|
-
*/
|
|
1505
|
-
public adminUserGlobalSignOut(
|
|
1506
|
-
args: AdminUserGlobalSignOutCommandInput,
|
|
1507
|
-
options?: __HttpHandlerOptions
|
|
1508
|
-
): Promise<AdminUserGlobalSignOutCommandOutput>;
|
|
1509
|
-
public adminUserGlobalSignOut(
|
|
1510
|
-
args: AdminUserGlobalSignOutCommandInput,
|
|
1511
|
-
cb: (err: any, data?: AdminUserGlobalSignOutCommandOutput) => void
|
|
1512
|
-
): void;
|
|
1513
|
-
public adminUserGlobalSignOut(
|
|
1514
|
-
args: AdminUserGlobalSignOutCommandInput,
|
|
1515
|
-
options: __HttpHandlerOptions,
|
|
1516
|
-
cb: (err: any, data?: AdminUserGlobalSignOutCommandOutput) => void
|
|
1517
|
-
): void;
|
|
1518
|
-
public adminUserGlobalSignOut(
|
|
1519
|
-
args: AdminUserGlobalSignOutCommandInput,
|
|
1520
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AdminUserGlobalSignOutCommandOutput) => void),
|
|
1521
|
-
cb?: (err: any, data?: AdminUserGlobalSignOutCommandOutput) => void
|
|
1522
|
-
): Promise<AdminUserGlobalSignOutCommandOutput> | void {
|
|
1523
|
-
const command = new AdminUserGlobalSignOutCommand(args);
|
|
1524
|
-
if (typeof optionsOrCb === "function") {
|
|
1525
|
-
this.send(command, optionsOrCb);
|
|
1526
|
-
} else if (typeof cb === "function") {
|
|
1527
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1528
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1529
|
-
} else {
|
|
1530
|
-
return this.send(command, optionsOrCb);
|
|
1531
|
-
}
|
|
1532
|
-
}
|
|
1533
|
-
|
|
1534
|
-
/**
|
|
1535
|
-
* <p>Returns a unique generated shared secret key code for the user account. The request
|
|
1536
|
-
* takes an access token or a session string, but not both.</p>
|
|
1537
|
-
* <note>
|
|
1538
|
-
* <p>Calling AssociateSoftwareToken immediately disassociates the existing software
|
|
1539
|
-
* token from the user account. If the user doesn't subsequently verify the software
|
|
1540
|
-
* token, their account is essentially set up to authenticate without MFA. If MFA
|
|
1541
|
-
* config is set to Optional at the user pool level, the user can then login without
|
|
1542
|
-
* MFA. However, if MFA is set to Required for the user pool, the user will be asked to
|
|
1543
|
-
* setup a new software token MFA during sign in.</p>
|
|
1544
|
-
* </note>
|
|
1545
|
-
*/
|
|
1546
|
-
public associateSoftwareToken(
|
|
1547
|
-
args: AssociateSoftwareTokenCommandInput,
|
|
1548
|
-
options?: __HttpHandlerOptions
|
|
1549
|
-
): Promise<AssociateSoftwareTokenCommandOutput>;
|
|
1550
|
-
public associateSoftwareToken(
|
|
1551
|
-
args: AssociateSoftwareTokenCommandInput,
|
|
1552
|
-
cb: (err: any, data?: AssociateSoftwareTokenCommandOutput) => void
|
|
1553
|
-
): void;
|
|
1554
|
-
public associateSoftwareToken(
|
|
1555
|
-
args: AssociateSoftwareTokenCommandInput,
|
|
1556
|
-
options: __HttpHandlerOptions,
|
|
1557
|
-
cb: (err: any, data?: AssociateSoftwareTokenCommandOutput) => void
|
|
1558
|
-
): void;
|
|
1559
|
-
public associateSoftwareToken(
|
|
1560
|
-
args: AssociateSoftwareTokenCommandInput,
|
|
1561
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AssociateSoftwareTokenCommandOutput) => void),
|
|
1562
|
-
cb?: (err: any, data?: AssociateSoftwareTokenCommandOutput) => void
|
|
1563
|
-
): Promise<AssociateSoftwareTokenCommandOutput> | void {
|
|
1564
|
-
const command = new AssociateSoftwareTokenCommand(args);
|
|
1565
|
-
if (typeof optionsOrCb === "function") {
|
|
1566
|
-
this.send(command, optionsOrCb);
|
|
1567
|
-
} else if (typeof cb === "function") {
|
|
1568
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1569
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1570
|
-
} else {
|
|
1571
|
-
return this.send(command, optionsOrCb);
|
|
1572
|
-
}
|
|
1573
|
-
}
|
|
1574
|
-
|
|
1575
|
-
/**
|
|
1576
|
-
* <p>Changes the password for a specified user in a user pool.</p>
|
|
1577
|
-
*/
|
|
1578
|
-
public changePassword(
|
|
1579
|
-
args: ChangePasswordCommandInput,
|
|
1580
|
-
options?: __HttpHandlerOptions
|
|
1581
|
-
): Promise<ChangePasswordCommandOutput>;
|
|
1582
|
-
public changePassword(
|
|
1583
|
-
args: ChangePasswordCommandInput,
|
|
1584
|
-
cb: (err: any, data?: ChangePasswordCommandOutput) => void
|
|
1585
|
-
): void;
|
|
1586
|
-
public changePassword(
|
|
1587
|
-
args: ChangePasswordCommandInput,
|
|
1588
|
-
options: __HttpHandlerOptions,
|
|
1589
|
-
cb: (err: any, data?: ChangePasswordCommandOutput) => void
|
|
1590
|
-
): void;
|
|
1591
|
-
public changePassword(
|
|
1592
|
-
args: ChangePasswordCommandInput,
|
|
1593
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ChangePasswordCommandOutput) => void),
|
|
1594
|
-
cb?: (err: any, data?: ChangePasswordCommandOutput) => void
|
|
1595
|
-
): Promise<ChangePasswordCommandOutput> | void {
|
|
1596
|
-
const command = new ChangePasswordCommand(args);
|
|
1597
|
-
if (typeof optionsOrCb === "function") {
|
|
1598
|
-
this.send(command, optionsOrCb);
|
|
1599
|
-
} else if (typeof cb === "function") {
|
|
1600
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1601
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1602
|
-
} else {
|
|
1603
|
-
return this.send(command, optionsOrCb);
|
|
1604
|
-
}
|
|
1605
|
-
}
|
|
1606
|
-
|
|
1607
|
-
/**
|
|
1608
|
-
* <p>Confirms tracking of the device. This API call is the call that begins device
|
|
1609
|
-
* tracking.</p>
|
|
1610
|
-
*/
|
|
1611
|
-
public confirmDevice(
|
|
1612
|
-
args: ConfirmDeviceCommandInput,
|
|
1613
|
-
options?: __HttpHandlerOptions
|
|
1614
|
-
): Promise<ConfirmDeviceCommandOutput>;
|
|
1615
|
-
public confirmDevice(
|
|
1616
|
-
args: ConfirmDeviceCommandInput,
|
|
1617
|
-
cb: (err: any, data?: ConfirmDeviceCommandOutput) => void
|
|
1618
|
-
): void;
|
|
1619
|
-
public confirmDevice(
|
|
1620
|
-
args: ConfirmDeviceCommandInput,
|
|
1621
|
-
options: __HttpHandlerOptions,
|
|
1622
|
-
cb: (err: any, data?: ConfirmDeviceCommandOutput) => void
|
|
1623
|
-
): void;
|
|
1624
|
-
public confirmDevice(
|
|
1625
|
-
args: ConfirmDeviceCommandInput,
|
|
1626
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ConfirmDeviceCommandOutput) => void),
|
|
1627
|
-
cb?: (err: any, data?: ConfirmDeviceCommandOutput) => void
|
|
1628
|
-
): Promise<ConfirmDeviceCommandOutput> | void {
|
|
1629
|
-
const command = new ConfirmDeviceCommand(args);
|
|
1630
|
-
if (typeof optionsOrCb === "function") {
|
|
1631
|
-
this.send(command, optionsOrCb);
|
|
1632
|
-
} else if (typeof cb === "function") {
|
|
1633
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1634
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1635
|
-
} else {
|
|
1636
|
-
return this.send(command, optionsOrCb);
|
|
1637
|
-
}
|
|
1638
|
-
}
|
|
1639
|
-
|
|
1640
|
-
/**
|
|
1641
|
-
* <p>Allows a user to enter a confirmation code to reset a forgotten password.</p>
|
|
1642
|
-
*/
|
|
1643
|
-
public confirmForgotPassword(
|
|
1644
|
-
args: ConfirmForgotPasswordCommandInput,
|
|
1645
|
-
options?: __HttpHandlerOptions
|
|
1646
|
-
): Promise<ConfirmForgotPasswordCommandOutput>;
|
|
1647
|
-
public confirmForgotPassword(
|
|
1648
|
-
args: ConfirmForgotPasswordCommandInput,
|
|
1649
|
-
cb: (err: any, data?: ConfirmForgotPasswordCommandOutput) => void
|
|
1650
|
-
): void;
|
|
1651
|
-
public confirmForgotPassword(
|
|
1652
|
-
args: ConfirmForgotPasswordCommandInput,
|
|
1653
|
-
options: __HttpHandlerOptions,
|
|
1654
|
-
cb: (err: any, data?: ConfirmForgotPasswordCommandOutput) => void
|
|
1655
|
-
): void;
|
|
1656
|
-
public confirmForgotPassword(
|
|
1657
|
-
args: ConfirmForgotPasswordCommandInput,
|
|
1658
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ConfirmForgotPasswordCommandOutput) => void),
|
|
1659
|
-
cb?: (err: any, data?: ConfirmForgotPasswordCommandOutput) => void
|
|
1660
|
-
): Promise<ConfirmForgotPasswordCommandOutput> | void {
|
|
1661
|
-
const command = new ConfirmForgotPasswordCommand(args);
|
|
1662
|
-
if (typeof optionsOrCb === "function") {
|
|
1663
|
-
this.send(command, optionsOrCb);
|
|
1664
|
-
} else if (typeof cb === "function") {
|
|
1665
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1666
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1667
|
-
} else {
|
|
1668
|
-
return this.send(command, optionsOrCb);
|
|
1669
|
-
}
|
|
1670
|
-
}
|
|
1671
|
-
|
|
1672
|
-
/**
|
|
1673
|
-
* <p>Confirms registration of a user and handles the existing alias from a previous
|
|
1674
|
-
* user.</p>
|
|
1675
|
-
*/
|
|
1676
|
-
public confirmSignUp(
|
|
1677
|
-
args: ConfirmSignUpCommandInput,
|
|
1678
|
-
options?: __HttpHandlerOptions
|
|
1679
|
-
): Promise<ConfirmSignUpCommandOutput>;
|
|
1680
|
-
public confirmSignUp(
|
|
1681
|
-
args: ConfirmSignUpCommandInput,
|
|
1682
|
-
cb: (err: any, data?: ConfirmSignUpCommandOutput) => void
|
|
1683
|
-
): void;
|
|
1684
|
-
public confirmSignUp(
|
|
1685
|
-
args: ConfirmSignUpCommandInput,
|
|
1686
|
-
options: __HttpHandlerOptions,
|
|
1687
|
-
cb: (err: any, data?: ConfirmSignUpCommandOutput) => void
|
|
1688
|
-
): void;
|
|
1689
|
-
public confirmSignUp(
|
|
1690
|
-
args: ConfirmSignUpCommandInput,
|
|
1691
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ConfirmSignUpCommandOutput) => void),
|
|
1692
|
-
cb?: (err: any, data?: ConfirmSignUpCommandOutput) => void
|
|
1693
|
-
): Promise<ConfirmSignUpCommandOutput> | void {
|
|
1694
|
-
const command = new ConfirmSignUpCommand(args);
|
|
1695
|
-
if (typeof optionsOrCb === "function") {
|
|
1696
|
-
this.send(command, optionsOrCb);
|
|
1697
|
-
} else if (typeof cb === "function") {
|
|
1698
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1699
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1700
|
-
} else {
|
|
1701
|
-
return this.send(command, optionsOrCb);
|
|
1702
|
-
}
|
|
1703
|
-
}
|
|
1704
|
-
|
|
1705
|
-
/**
|
|
1706
|
-
* <p>Creates a new group in the specified user pool.</p>
|
|
1707
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
1708
|
-
*/
|
|
1709
|
-
public createGroup(args: CreateGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateGroupCommandOutput>;
|
|
1710
|
-
public createGroup(args: CreateGroupCommandInput, cb: (err: any, data?: CreateGroupCommandOutput) => void): void;
|
|
1711
|
-
public createGroup(
|
|
1712
|
-
args: CreateGroupCommandInput,
|
|
1713
|
-
options: __HttpHandlerOptions,
|
|
1714
|
-
cb: (err: any, data?: CreateGroupCommandOutput) => void
|
|
1715
|
-
): void;
|
|
1716
|
-
public createGroup(
|
|
1717
|
-
args: CreateGroupCommandInput,
|
|
1718
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateGroupCommandOutput) => void),
|
|
1719
|
-
cb?: (err: any, data?: CreateGroupCommandOutput) => void
|
|
1720
|
-
): Promise<CreateGroupCommandOutput> | void {
|
|
1721
|
-
const command = new CreateGroupCommand(args);
|
|
1722
|
-
if (typeof optionsOrCb === "function") {
|
|
1723
|
-
this.send(command, optionsOrCb);
|
|
1724
|
-
} else if (typeof cb === "function") {
|
|
1725
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1726
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1727
|
-
} else {
|
|
1728
|
-
return this.send(command, optionsOrCb);
|
|
1729
|
-
}
|
|
1730
|
-
}
|
|
1731
|
-
|
|
1732
|
-
/**
|
|
1733
|
-
* <p>Creates an identity provider for a user pool.</p>
|
|
1734
|
-
*/
|
|
1735
|
-
public createIdentityProvider(
|
|
1736
|
-
args: CreateIdentityProviderCommandInput,
|
|
1737
|
-
options?: __HttpHandlerOptions
|
|
1738
|
-
): Promise<CreateIdentityProviderCommandOutput>;
|
|
1739
|
-
public createIdentityProvider(
|
|
1740
|
-
args: CreateIdentityProviderCommandInput,
|
|
1741
|
-
cb: (err: any, data?: CreateIdentityProviderCommandOutput) => void
|
|
1742
|
-
): void;
|
|
1743
|
-
public createIdentityProvider(
|
|
1744
|
-
args: CreateIdentityProviderCommandInput,
|
|
1745
|
-
options: __HttpHandlerOptions,
|
|
1746
|
-
cb: (err: any, data?: CreateIdentityProviderCommandOutput) => void
|
|
1747
|
-
): void;
|
|
1748
|
-
public createIdentityProvider(
|
|
1749
|
-
args: CreateIdentityProviderCommandInput,
|
|
1750
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateIdentityProviderCommandOutput) => void),
|
|
1751
|
-
cb?: (err: any, data?: CreateIdentityProviderCommandOutput) => void
|
|
1752
|
-
): Promise<CreateIdentityProviderCommandOutput> | void {
|
|
1753
|
-
const command = new CreateIdentityProviderCommand(args);
|
|
1754
|
-
if (typeof optionsOrCb === "function") {
|
|
1755
|
-
this.send(command, optionsOrCb);
|
|
1756
|
-
} else if (typeof cb === "function") {
|
|
1757
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1758
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1759
|
-
} else {
|
|
1760
|
-
return this.send(command, optionsOrCb);
|
|
1761
|
-
}
|
|
1762
|
-
}
|
|
1763
|
-
|
|
1764
|
-
/**
|
|
1765
|
-
* <p>Creates a new OAuth2.0 resource server and defines custom scopes in it.</p>
|
|
1766
|
-
*/
|
|
1767
|
-
public createResourceServer(
|
|
1768
|
-
args: CreateResourceServerCommandInput,
|
|
1769
|
-
options?: __HttpHandlerOptions
|
|
1770
|
-
): Promise<CreateResourceServerCommandOutput>;
|
|
1771
|
-
public createResourceServer(
|
|
1772
|
-
args: CreateResourceServerCommandInput,
|
|
1773
|
-
cb: (err: any, data?: CreateResourceServerCommandOutput) => void
|
|
1774
|
-
): void;
|
|
1775
|
-
public createResourceServer(
|
|
1776
|
-
args: CreateResourceServerCommandInput,
|
|
1777
|
-
options: __HttpHandlerOptions,
|
|
1778
|
-
cb: (err: any, data?: CreateResourceServerCommandOutput) => void
|
|
1779
|
-
): void;
|
|
1780
|
-
public createResourceServer(
|
|
1781
|
-
args: CreateResourceServerCommandInput,
|
|
1782
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateResourceServerCommandOutput) => void),
|
|
1783
|
-
cb?: (err: any, data?: CreateResourceServerCommandOutput) => void
|
|
1784
|
-
): Promise<CreateResourceServerCommandOutput> | void {
|
|
1785
|
-
const command = new CreateResourceServerCommand(args);
|
|
1786
|
-
if (typeof optionsOrCb === "function") {
|
|
1787
|
-
this.send(command, optionsOrCb);
|
|
1788
|
-
} else if (typeof cb === "function") {
|
|
1789
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1790
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1791
|
-
} else {
|
|
1792
|
-
return this.send(command, optionsOrCb);
|
|
1793
|
-
}
|
|
1794
|
-
}
|
|
1795
|
-
|
|
1796
|
-
/**
|
|
1797
|
-
* <p>Creates the user import job.</p>
|
|
1798
|
-
*/
|
|
1799
|
-
public createUserImportJob(
|
|
1800
|
-
args: CreateUserImportJobCommandInput,
|
|
1801
|
-
options?: __HttpHandlerOptions
|
|
1802
|
-
): Promise<CreateUserImportJobCommandOutput>;
|
|
1803
|
-
public createUserImportJob(
|
|
1804
|
-
args: CreateUserImportJobCommandInput,
|
|
1805
|
-
cb: (err: any, data?: CreateUserImportJobCommandOutput) => void
|
|
1806
|
-
): void;
|
|
1807
|
-
public createUserImportJob(
|
|
1808
|
-
args: CreateUserImportJobCommandInput,
|
|
1809
|
-
options: __HttpHandlerOptions,
|
|
1810
|
-
cb: (err: any, data?: CreateUserImportJobCommandOutput) => void
|
|
1811
|
-
): void;
|
|
1812
|
-
public createUserImportJob(
|
|
1813
|
-
args: CreateUserImportJobCommandInput,
|
|
1814
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateUserImportJobCommandOutput) => void),
|
|
1815
|
-
cb?: (err: any, data?: CreateUserImportJobCommandOutput) => void
|
|
1816
|
-
): Promise<CreateUserImportJobCommandOutput> | void {
|
|
1817
|
-
const command = new CreateUserImportJobCommand(args);
|
|
1818
|
-
if (typeof optionsOrCb === "function") {
|
|
1819
|
-
this.send(command, optionsOrCb);
|
|
1820
|
-
} else if (typeof cb === "function") {
|
|
1821
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1822
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1823
|
-
} else {
|
|
1824
|
-
return this.send(command, optionsOrCb);
|
|
1825
|
-
}
|
|
1826
|
-
}
|
|
1827
|
-
|
|
1828
|
-
/**
|
|
1829
|
-
* <p>Creates a new Amazon Cognito user pool and sets the password policy for the
|
|
1830
|
-
* pool.</p>
|
|
1831
|
-
*
|
|
1832
|
-
* <note>
|
|
1833
|
-
* <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
|
|
1834
|
-
* telecom carriers require that you register an origination phone number before you can
|
|
1835
|
-
* send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
|
|
1836
|
-
* you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
|
|
1837
|
-
* Cognito will use the the registered number automatically. Otherwise, Cognito users that must
|
|
1838
|
-
* receive SMS messages might be unable to sign up, activate their accounts, or sign
|
|
1839
|
-
* in.</p>
|
|
1840
|
-
* <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
|
|
1841
|
-
* <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
|
|
1842
|
-
* mode</a>
|
|
1843
|
-
* </i>, you’ll have limitations, such as sending messages
|
|
1844
|
-
* to only verified phone numbers. After testing in the sandbox environment, you can
|
|
1845
|
-
* move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
|
|
1846
|
-
* Cognito Developer Guide</i>. </p>
|
|
1847
|
-
* </note>
|
|
1848
|
-
*/
|
|
1849
|
-
public createUserPool(
|
|
1850
|
-
args: CreateUserPoolCommandInput,
|
|
1851
|
-
options?: __HttpHandlerOptions
|
|
1852
|
-
): Promise<CreateUserPoolCommandOutput>;
|
|
1853
|
-
public createUserPool(
|
|
1854
|
-
args: CreateUserPoolCommandInput,
|
|
1855
|
-
cb: (err: any, data?: CreateUserPoolCommandOutput) => void
|
|
1856
|
-
): void;
|
|
1857
|
-
public createUserPool(
|
|
1858
|
-
args: CreateUserPoolCommandInput,
|
|
1859
|
-
options: __HttpHandlerOptions,
|
|
1860
|
-
cb: (err: any, data?: CreateUserPoolCommandOutput) => void
|
|
1861
|
-
): void;
|
|
1862
|
-
public createUserPool(
|
|
1863
|
-
args: CreateUserPoolCommandInput,
|
|
1864
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateUserPoolCommandOutput) => void),
|
|
1865
|
-
cb?: (err: any, data?: CreateUserPoolCommandOutput) => void
|
|
1866
|
-
): Promise<CreateUserPoolCommandOutput> | void {
|
|
1867
|
-
const command = new CreateUserPoolCommand(args);
|
|
1868
|
-
if (typeof optionsOrCb === "function") {
|
|
1869
|
-
this.send(command, optionsOrCb);
|
|
1870
|
-
} else if (typeof cb === "function") {
|
|
1871
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1872
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1873
|
-
} else {
|
|
1874
|
-
return this.send(command, optionsOrCb);
|
|
1875
|
-
}
|
|
1876
|
-
}
|
|
1877
|
-
|
|
1878
|
-
/**
|
|
1879
|
-
* <p>Creates the user pool client.</p>
|
|
1880
|
-
* <p>When you create a new user pool client, token revocation is automatically enabled. For more information
|
|
1881
|
-
* about revoking tokens, see <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_RevokeToken.html">RevokeToken</a>.</p>
|
|
1882
|
-
*/
|
|
1883
|
-
public createUserPoolClient(
|
|
1884
|
-
args: CreateUserPoolClientCommandInput,
|
|
1885
|
-
options?: __HttpHandlerOptions
|
|
1886
|
-
): Promise<CreateUserPoolClientCommandOutput>;
|
|
1887
|
-
public createUserPoolClient(
|
|
1888
|
-
args: CreateUserPoolClientCommandInput,
|
|
1889
|
-
cb: (err: any, data?: CreateUserPoolClientCommandOutput) => void
|
|
1890
|
-
): void;
|
|
1891
|
-
public createUserPoolClient(
|
|
1892
|
-
args: CreateUserPoolClientCommandInput,
|
|
1893
|
-
options: __HttpHandlerOptions,
|
|
1894
|
-
cb: (err: any, data?: CreateUserPoolClientCommandOutput) => void
|
|
1895
|
-
): void;
|
|
1896
|
-
public createUserPoolClient(
|
|
1897
|
-
args: CreateUserPoolClientCommandInput,
|
|
1898
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateUserPoolClientCommandOutput) => void),
|
|
1899
|
-
cb?: (err: any, data?: CreateUserPoolClientCommandOutput) => void
|
|
1900
|
-
): Promise<CreateUserPoolClientCommandOutput> | void {
|
|
1901
|
-
const command = new CreateUserPoolClientCommand(args);
|
|
1902
|
-
if (typeof optionsOrCb === "function") {
|
|
1903
|
-
this.send(command, optionsOrCb);
|
|
1904
|
-
} else if (typeof cb === "function") {
|
|
1905
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1906
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1907
|
-
} else {
|
|
1908
|
-
return this.send(command, optionsOrCb);
|
|
1909
|
-
}
|
|
1910
|
-
}
|
|
1911
|
-
|
|
1912
|
-
/**
|
|
1913
|
-
* <p>Creates a new domain for a user pool.</p>
|
|
1914
|
-
*/
|
|
1915
|
-
public createUserPoolDomain(
|
|
1916
|
-
args: CreateUserPoolDomainCommandInput,
|
|
1917
|
-
options?: __HttpHandlerOptions
|
|
1918
|
-
): Promise<CreateUserPoolDomainCommandOutput>;
|
|
1919
|
-
public createUserPoolDomain(
|
|
1920
|
-
args: CreateUserPoolDomainCommandInput,
|
|
1921
|
-
cb: (err: any, data?: CreateUserPoolDomainCommandOutput) => void
|
|
1922
|
-
): void;
|
|
1923
|
-
public createUserPoolDomain(
|
|
1924
|
-
args: CreateUserPoolDomainCommandInput,
|
|
1925
|
-
options: __HttpHandlerOptions,
|
|
1926
|
-
cb: (err: any, data?: CreateUserPoolDomainCommandOutput) => void
|
|
1927
|
-
): void;
|
|
1928
|
-
public createUserPoolDomain(
|
|
1929
|
-
args: CreateUserPoolDomainCommandInput,
|
|
1930
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateUserPoolDomainCommandOutput) => void),
|
|
1931
|
-
cb?: (err: any, data?: CreateUserPoolDomainCommandOutput) => void
|
|
1932
|
-
): Promise<CreateUserPoolDomainCommandOutput> | void {
|
|
1933
|
-
const command = new CreateUserPoolDomainCommand(args);
|
|
1934
|
-
if (typeof optionsOrCb === "function") {
|
|
1935
|
-
this.send(command, optionsOrCb);
|
|
1936
|
-
} else if (typeof cb === "function") {
|
|
1937
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1938
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1939
|
-
} else {
|
|
1940
|
-
return this.send(command, optionsOrCb);
|
|
1941
|
-
}
|
|
1942
|
-
}
|
|
1943
|
-
|
|
1944
|
-
/**
|
|
1945
|
-
* <p>Deletes a group.</p>
|
|
1946
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
1947
|
-
*/
|
|
1948
|
-
public deleteGroup(args: DeleteGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteGroupCommandOutput>;
|
|
1949
|
-
public deleteGroup(args: DeleteGroupCommandInput, cb: (err: any, data?: DeleteGroupCommandOutput) => void): void;
|
|
1950
|
-
public deleteGroup(
|
|
1951
|
-
args: DeleteGroupCommandInput,
|
|
1952
|
-
options: __HttpHandlerOptions,
|
|
1953
|
-
cb: (err: any, data?: DeleteGroupCommandOutput) => void
|
|
1954
|
-
): void;
|
|
1955
|
-
public deleteGroup(
|
|
1956
|
-
args: DeleteGroupCommandInput,
|
|
1957
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteGroupCommandOutput) => void),
|
|
1958
|
-
cb?: (err: any, data?: DeleteGroupCommandOutput) => void
|
|
1959
|
-
): Promise<DeleteGroupCommandOutput> | void {
|
|
1960
|
-
const command = new DeleteGroupCommand(args);
|
|
1961
|
-
if (typeof optionsOrCb === "function") {
|
|
1962
|
-
this.send(command, optionsOrCb);
|
|
1963
|
-
} else if (typeof cb === "function") {
|
|
1964
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1965
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1966
|
-
} else {
|
|
1967
|
-
return this.send(command, optionsOrCb);
|
|
1968
|
-
}
|
|
1969
|
-
}
|
|
1970
|
-
|
|
1971
|
-
/**
|
|
1972
|
-
* <p>Deletes an identity provider for a user pool.</p>
|
|
1973
|
-
*/
|
|
1974
|
-
public deleteIdentityProvider(
|
|
1975
|
-
args: DeleteIdentityProviderCommandInput,
|
|
1976
|
-
options?: __HttpHandlerOptions
|
|
1977
|
-
): Promise<DeleteIdentityProviderCommandOutput>;
|
|
1978
|
-
public deleteIdentityProvider(
|
|
1979
|
-
args: DeleteIdentityProviderCommandInput,
|
|
1980
|
-
cb: (err: any, data?: DeleteIdentityProviderCommandOutput) => void
|
|
1981
|
-
): void;
|
|
1982
|
-
public deleteIdentityProvider(
|
|
1983
|
-
args: DeleteIdentityProviderCommandInput,
|
|
1984
|
-
options: __HttpHandlerOptions,
|
|
1985
|
-
cb: (err: any, data?: DeleteIdentityProviderCommandOutput) => void
|
|
1986
|
-
): void;
|
|
1987
|
-
public deleteIdentityProvider(
|
|
1988
|
-
args: DeleteIdentityProviderCommandInput,
|
|
1989
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteIdentityProviderCommandOutput) => void),
|
|
1990
|
-
cb?: (err: any, data?: DeleteIdentityProviderCommandOutput) => void
|
|
1991
|
-
): Promise<DeleteIdentityProviderCommandOutput> | void {
|
|
1992
|
-
const command = new DeleteIdentityProviderCommand(args);
|
|
1993
|
-
if (typeof optionsOrCb === "function") {
|
|
1994
|
-
this.send(command, optionsOrCb);
|
|
1995
|
-
} else if (typeof cb === "function") {
|
|
1996
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1997
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1998
|
-
} else {
|
|
1999
|
-
return this.send(command, optionsOrCb);
|
|
2000
|
-
}
|
|
2001
|
-
}
|
|
2002
|
-
|
|
2003
|
-
/**
|
|
2004
|
-
* <p>Deletes a resource server.</p>
|
|
2005
|
-
*/
|
|
2006
|
-
public deleteResourceServer(
|
|
2007
|
-
args: DeleteResourceServerCommandInput,
|
|
2008
|
-
options?: __HttpHandlerOptions
|
|
2009
|
-
): Promise<DeleteResourceServerCommandOutput>;
|
|
2010
|
-
public deleteResourceServer(
|
|
2011
|
-
args: DeleteResourceServerCommandInput,
|
|
2012
|
-
cb: (err: any, data?: DeleteResourceServerCommandOutput) => void
|
|
2013
|
-
): void;
|
|
2014
|
-
public deleteResourceServer(
|
|
2015
|
-
args: DeleteResourceServerCommandInput,
|
|
2016
|
-
options: __HttpHandlerOptions,
|
|
2017
|
-
cb: (err: any, data?: DeleteResourceServerCommandOutput) => void
|
|
2018
|
-
): void;
|
|
2019
|
-
public deleteResourceServer(
|
|
2020
|
-
args: DeleteResourceServerCommandInput,
|
|
2021
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteResourceServerCommandOutput) => void),
|
|
2022
|
-
cb?: (err: any, data?: DeleteResourceServerCommandOutput) => void
|
|
2023
|
-
): Promise<DeleteResourceServerCommandOutput> | void {
|
|
2024
|
-
const command = new DeleteResourceServerCommand(args);
|
|
2025
|
-
if (typeof optionsOrCb === "function") {
|
|
2026
|
-
this.send(command, optionsOrCb);
|
|
2027
|
-
} else if (typeof cb === "function") {
|
|
2028
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2029
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2030
|
-
} else {
|
|
2031
|
-
return this.send(command, optionsOrCb);
|
|
2032
|
-
}
|
|
2033
|
-
}
|
|
2034
|
-
|
|
2035
|
-
/**
|
|
2036
|
-
* <p>Allows a user to delete himself or herself.</p>
|
|
2037
|
-
*/
|
|
2038
|
-
public deleteUser(args: DeleteUserCommandInput, options?: __HttpHandlerOptions): Promise<DeleteUserCommandOutput>;
|
|
2039
|
-
public deleteUser(args: DeleteUserCommandInput, cb: (err: any, data?: DeleteUserCommandOutput) => void): void;
|
|
2040
|
-
public deleteUser(
|
|
2041
|
-
args: DeleteUserCommandInput,
|
|
2042
|
-
options: __HttpHandlerOptions,
|
|
2043
|
-
cb: (err: any, data?: DeleteUserCommandOutput) => void
|
|
2044
|
-
): void;
|
|
2045
|
-
public deleteUser(
|
|
2046
|
-
args: DeleteUserCommandInput,
|
|
2047
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteUserCommandOutput) => void),
|
|
2048
|
-
cb?: (err: any, data?: DeleteUserCommandOutput) => void
|
|
2049
|
-
): Promise<DeleteUserCommandOutput> | void {
|
|
2050
|
-
const command = new DeleteUserCommand(args);
|
|
2051
|
-
if (typeof optionsOrCb === "function") {
|
|
2052
|
-
this.send(command, optionsOrCb);
|
|
2053
|
-
} else if (typeof cb === "function") {
|
|
2054
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2055
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2056
|
-
} else {
|
|
2057
|
-
return this.send(command, optionsOrCb);
|
|
2058
|
-
}
|
|
2059
|
-
}
|
|
2060
|
-
|
|
2061
|
-
/**
|
|
2062
|
-
* <p>Deletes the attributes for a user.</p>
|
|
2063
|
-
*/
|
|
2064
|
-
public deleteUserAttributes(
|
|
2065
|
-
args: DeleteUserAttributesCommandInput,
|
|
2066
|
-
options?: __HttpHandlerOptions
|
|
2067
|
-
): Promise<DeleteUserAttributesCommandOutput>;
|
|
2068
|
-
public deleteUserAttributes(
|
|
2069
|
-
args: DeleteUserAttributesCommandInput,
|
|
2070
|
-
cb: (err: any, data?: DeleteUserAttributesCommandOutput) => void
|
|
2071
|
-
): void;
|
|
2072
|
-
public deleteUserAttributes(
|
|
2073
|
-
args: DeleteUserAttributesCommandInput,
|
|
2074
|
-
options: __HttpHandlerOptions,
|
|
2075
|
-
cb: (err: any, data?: DeleteUserAttributesCommandOutput) => void
|
|
2076
|
-
): void;
|
|
2077
|
-
public deleteUserAttributes(
|
|
2078
|
-
args: DeleteUserAttributesCommandInput,
|
|
2079
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteUserAttributesCommandOutput) => void),
|
|
2080
|
-
cb?: (err: any, data?: DeleteUserAttributesCommandOutput) => void
|
|
2081
|
-
): Promise<DeleteUserAttributesCommandOutput> | void {
|
|
2082
|
-
const command = new DeleteUserAttributesCommand(args);
|
|
2083
|
-
if (typeof optionsOrCb === "function") {
|
|
2084
|
-
this.send(command, optionsOrCb);
|
|
2085
|
-
} else if (typeof cb === "function") {
|
|
2086
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2087
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2088
|
-
} else {
|
|
2089
|
-
return this.send(command, optionsOrCb);
|
|
2090
|
-
}
|
|
2091
|
-
}
|
|
2092
|
-
|
|
2093
|
-
/**
|
|
2094
|
-
* <p>Deletes the specified Amazon Cognito user pool.</p>
|
|
2095
|
-
*/
|
|
2096
|
-
public deleteUserPool(
|
|
2097
|
-
args: DeleteUserPoolCommandInput,
|
|
2098
|
-
options?: __HttpHandlerOptions
|
|
2099
|
-
): Promise<DeleteUserPoolCommandOutput>;
|
|
2100
|
-
public deleteUserPool(
|
|
2101
|
-
args: DeleteUserPoolCommandInput,
|
|
2102
|
-
cb: (err: any, data?: DeleteUserPoolCommandOutput) => void
|
|
2103
|
-
): void;
|
|
2104
|
-
public deleteUserPool(
|
|
2105
|
-
args: DeleteUserPoolCommandInput,
|
|
2106
|
-
options: __HttpHandlerOptions,
|
|
2107
|
-
cb: (err: any, data?: DeleteUserPoolCommandOutput) => void
|
|
2108
|
-
): void;
|
|
2109
|
-
public deleteUserPool(
|
|
2110
|
-
args: DeleteUserPoolCommandInput,
|
|
2111
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteUserPoolCommandOutput) => void),
|
|
2112
|
-
cb?: (err: any, data?: DeleteUserPoolCommandOutput) => void
|
|
2113
|
-
): Promise<DeleteUserPoolCommandOutput> | void {
|
|
2114
|
-
const command = new DeleteUserPoolCommand(args);
|
|
2115
|
-
if (typeof optionsOrCb === "function") {
|
|
2116
|
-
this.send(command, optionsOrCb);
|
|
2117
|
-
} else if (typeof cb === "function") {
|
|
2118
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2119
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2120
|
-
} else {
|
|
2121
|
-
return this.send(command, optionsOrCb);
|
|
2122
|
-
}
|
|
2123
|
-
}
|
|
2124
|
-
|
|
2125
|
-
/**
|
|
2126
|
-
* <p>Allows the developer to delete the user pool client.</p>
|
|
2127
|
-
*/
|
|
2128
|
-
public deleteUserPoolClient(
|
|
2129
|
-
args: DeleteUserPoolClientCommandInput,
|
|
2130
|
-
options?: __HttpHandlerOptions
|
|
2131
|
-
): Promise<DeleteUserPoolClientCommandOutput>;
|
|
2132
|
-
public deleteUserPoolClient(
|
|
2133
|
-
args: DeleteUserPoolClientCommandInput,
|
|
2134
|
-
cb: (err: any, data?: DeleteUserPoolClientCommandOutput) => void
|
|
2135
|
-
): void;
|
|
2136
|
-
public deleteUserPoolClient(
|
|
2137
|
-
args: DeleteUserPoolClientCommandInput,
|
|
2138
|
-
options: __HttpHandlerOptions,
|
|
2139
|
-
cb: (err: any, data?: DeleteUserPoolClientCommandOutput) => void
|
|
2140
|
-
): void;
|
|
2141
|
-
public deleteUserPoolClient(
|
|
2142
|
-
args: DeleteUserPoolClientCommandInput,
|
|
2143
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteUserPoolClientCommandOutput) => void),
|
|
2144
|
-
cb?: (err: any, data?: DeleteUserPoolClientCommandOutput) => void
|
|
2145
|
-
): Promise<DeleteUserPoolClientCommandOutput> | void {
|
|
2146
|
-
const command = new DeleteUserPoolClientCommand(args);
|
|
2147
|
-
if (typeof optionsOrCb === "function") {
|
|
2148
|
-
this.send(command, optionsOrCb);
|
|
2149
|
-
} else if (typeof cb === "function") {
|
|
2150
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2151
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2152
|
-
} else {
|
|
2153
|
-
return this.send(command, optionsOrCb);
|
|
2154
|
-
}
|
|
2155
|
-
}
|
|
2156
|
-
|
|
2157
|
-
/**
|
|
2158
|
-
* <p>Deletes a domain for a user pool.</p>
|
|
2159
|
-
*/
|
|
2160
|
-
public deleteUserPoolDomain(
|
|
2161
|
-
args: DeleteUserPoolDomainCommandInput,
|
|
2162
|
-
options?: __HttpHandlerOptions
|
|
2163
|
-
): Promise<DeleteUserPoolDomainCommandOutput>;
|
|
2164
|
-
public deleteUserPoolDomain(
|
|
2165
|
-
args: DeleteUserPoolDomainCommandInput,
|
|
2166
|
-
cb: (err: any, data?: DeleteUserPoolDomainCommandOutput) => void
|
|
2167
|
-
): void;
|
|
2168
|
-
public deleteUserPoolDomain(
|
|
2169
|
-
args: DeleteUserPoolDomainCommandInput,
|
|
2170
|
-
options: __HttpHandlerOptions,
|
|
2171
|
-
cb: (err: any, data?: DeleteUserPoolDomainCommandOutput) => void
|
|
2172
|
-
): void;
|
|
2173
|
-
public deleteUserPoolDomain(
|
|
2174
|
-
args: DeleteUserPoolDomainCommandInput,
|
|
2175
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteUserPoolDomainCommandOutput) => void),
|
|
2176
|
-
cb?: (err: any, data?: DeleteUserPoolDomainCommandOutput) => void
|
|
2177
|
-
): Promise<DeleteUserPoolDomainCommandOutput> | void {
|
|
2178
|
-
const command = new DeleteUserPoolDomainCommand(args);
|
|
2179
|
-
if (typeof optionsOrCb === "function") {
|
|
2180
|
-
this.send(command, optionsOrCb);
|
|
2181
|
-
} else if (typeof cb === "function") {
|
|
2182
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2183
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2184
|
-
} else {
|
|
2185
|
-
return this.send(command, optionsOrCb);
|
|
2186
|
-
}
|
|
2187
|
-
}
|
|
2188
|
-
|
|
2189
|
-
/**
|
|
2190
|
-
* <p>Gets information about a specific identity provider.</p>
|
|
2191
|
-
*/
|
|
2192
|
-
public describeIdentityProvider(
|
|
2193
|
-
args: DescribeIdentityProviderCommandInput,
|
|
2194
|
-
options?: __HttpHandlerOptions
|
|
2195
|
-
): Promise<DescribeIdentityProviderCommandOutput>;
|
|
2196
|
-
public describeIdentityProvider(
|
|
2197
|
-
args: DescribeIdentityProviderCommandInput,
|
|
2198
|
-
cb: (err: any, data?: DescribeIdentityProviderCommandOutput) => void
|
|
2199
|
-
): void;
|
|
2200
|
-
public describeIdentityProvider(
|
|
2201
|
-
args: DescribeIdentityProviderCommandInput,
|
|
2202
|
-
options: __HttpHandlerOptions,
|
|
2203
|
-
cb: (err: any, data?: DescribeIdentityProviderCommandOutput) => void
|
|
2204
|
-
): void;
|
|
2205
|
-
public describeIdentityProvider(
|
|
2206
|
-
args: DescribeIdentityProviderCommandInput,
|
|
2207
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeIdentityProviderCommandOutput) => void),
|
|
2208
|
-
cb?: (err: any, data?: DescribeIdentityProviderCommandOutput) => void
|
|
2209
|
-
): Promise<DescribeIdentityProviderCommandOutput> | void {
|
|
2210
|
-
const command = new DescribeIdentityProviderCommand(args);
|
|
2211
|
-
if (typeof optionsOrCb === "function") {
|
|
2212
|
-
this.send(command, optionsOrCb);
|
|
2213
|
-
} else if (typeof cb === "function") {
|
|
2214
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2215
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2216
|
-
} else {
|
|
2217
|
-
return this.send(command, optionsOrCb);
|
|
2218
|
-
}
|
|
2219
|
-
}
|
|
2220
|
-
|
|
2221
|
-
/**
|
|
2222
|
-
* <p>Describes a resource server.</p>
|
|
2223
|
-
*/
|
|
2224
|
-
public describeResourceServer(
|
|
2225
|
-
args: DescribeResourceServerCommandInput,
|
|
2226
|
-
options?: __HttpHandlerOptions
|
|
2227
|
-
): Promise<DescribeResourceServerCommandOutput>;
|
|
2228
|
-
public describeResourceServer(
|
|
2229
|
-
args: DescribeResourceServerCommandInput,
|
|
2230
|
-
cb: (err: any, data?: DescribeResourceServerCommandOutput) => void
|
|
2231
|
-
): void;
|
|
2232
|
-
public describeResourceServer(
|
|
2233
|
-
args: DescribeResourceServerCommandInput,
|
|
2234
|
-
options: __HttpHandlerOptions,
|
|
2235
|
-
cb: (err: any, data?: DescribeResourceServerCommandOutput) => void
|
|
2236
|
-
): void;
|
|
2237
|
-
public describeResourceServer(
|
|
2238
|
-
args: DescribeResourceServerCommandInput,
|
|
2239
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeResourceServerCommandOutput) => void),
|
|
2240
|
-
cb?: (err: any, data?: DescribeResourceServerCommandOutput) => void
|
|
2241
|
-
): Promise<DescribeResourceServerCommandOutput> | void {
|
|
2242
|
-
const command = new DescribeResourceServerCommand(args);
|
|
2243
|
-
if (typeof optionsOrCb === "function") {
|
|
2244
|
-
this.send(command, optionsOrCb);
|
|
2245
|
-
} else if (typeof cb === "function") {
|
|
2246
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2247
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2248
|
-
} else {
|
|
2249
|
-
return this.send(command, optionsOrCb);
|
|
2250
|
-
}
|
|
2251
|
-
}
|
|
2252
|
-
|
|
2253
|
-
/**
|
|
2254
|
-
* <p>Describes the risk configuration.</p>
|
|
2255
|
-
*/
|
|
2256
|
-
public describeRiskConfiguration(
|
|
2257
|
-
args: DescribeRiskConfigurationCommandInput,
|
|
2258
|
-
options?: __HttpHandlerOptions
|
|
2259
|
-
): Promise<DescribeRiskConfigurationCommandOutput>;
|
|
2260
|
-
public describeRiskConfiguration(
|
|
2261
|
-
args: DescribeRiskConfigurationCommandInput,
|
|
2262
|
-
cb: (err: any, data?: DescribeRiskConfigurationCommandOutput) => void
|
|
2263
|
-
): void;
|
|
2264
|
-
public describeRiskConfiguration(
|
|
2265
|
-
args: DescribeRiskConfigurationCommandInput,
|
|
2266
|
-
options: __HttpHandlerOptions,
|
|
2267
|
-
cb: (err: any, data?: DescribeRiskConfigurationCommandOutput) => void
|
|
2268
|
-
): void;
|
|
2269
|
-
public describeRiskConfiguration(
|
|
2270
|
-
args: DescribeRiskConfigurationCommandInput,
|
|
2271
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeRiskConfigurationCommandOutput) => void),
|
|
2272
|
-
cb?: (err: any, data?: DescribeRiskConfigurationCommandOutput) => void
|
|
2273
|
-
): Promise<DescribeRiskConfigurationCommandOutput> | void {
|
|
2274
|
-
const command = new DescribeRiskConfigurationCommand(args);
|
|
2275
|
-
if (typeof optionsOrCb === "function") {
|
|
2276
|
-
this.send(command, optionsOrCb);
|
|
2277
|
-
} else if (typeof cb === "function") {
|
|
2278
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2279
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2280
|
-
} else {
|
|
2281
|
-
return this.send(command, optionsOrCb);
|
|
2282
|
-
}
|
|
2283
|
-
}
|
|
2284
|
-
|
|
2285
|
-
/**
|
|
2286
|
-
* <p>Describes the user import job.</p>
|
|
2287
|
-
*/
|
|
2288
|
-
public describeUserImportJob(
|
|
2289
|
-
args: DescribeUserImportJobCommandInput,
|
|
2290
|
-
options?: __HttpHandlerOptions
|
|
2291
|
-
): Promise<DescribeUserImportJobCommandOutput>;
|
|
2292
|
-
public describeUserImportJob(
|
|
2293
|
-
args: DescribeUserImportJobCommandInput,
|
|
2294
|
-
cb: (err: any, data?: DescribeUserImportJobCommandOutput) => void
|
|
2295
|
-
): void;
|
|
2296
|
-
public describeUserImportJob(
|
|
2297
|
-
args: DescribeUserImportJobCommandInput,
|
|
2298
|
-
options: __HttpHandlerOptions,
|
|
2299
|
-
cb: (err: any, data?: DescribeUserImportJobCommandOutput) => void
|
|
2300
|
-
): void;
|
|
2301
|
-
public describeUserImportJob(
|
|
2302
|
-
args: DescribeUserImportJobCommandInput,
|
|
2303
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeUserImportJobCommandOutput) => void),
|
|
2304
|
-
cb?: (err: any, data?: DescribeUserImportJobCommandOutput) => void
|
|
2305
|
-
): Promise<DescribeUserImportJobCommandOutput> | void {
|
|
2306
|
-
const command = new DescribeUserImportJobCommand(args);
|
|
2307
|
-
if (typeof optionsOrCb === "function") {
|
|
2308
|
-
this.send(command, optionsOrCb);
|
|
2309
|
-
} else if (typeof cb === "function") {
|
|
2310
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2311
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2312
|
-
} else {
|
|
2313
|
-
return this.send(command, optionsOrCb);
|
|
2314
|
-
}
|
|
2315
|
-
}
|
|
2316
|
-
|
|
2317
|
-
/**
|
|
2318
|
-
* <p>Returns the configuration information and metadata of the specified user pool.</p>
|
|
2319
|
-
*/
|
|
2320
|
-
public describeUserPool(
|
|
2321
|
-
args: DescribeUserPoolCommandInput,
|
|
2322
|
-
options?: __HttpHandlerOptions
|
|
2323
|
-
): Promise<DescribeUserPoolCommandOutput>;
|
|
2324
|
-
public describeUserPool(
|
|
2325
|
-
args: DescribeUserPoolCommandInput,
|
|
2326
|
-
cb: (err: any, data?: DescribeUserPoolCommandOutput) => void
|
|
2327
|
-
): void;
|
|
2328
|
-
public describeUserPool(
|
|
2329
|
-
args: DescribeUserPoolCommandInput,
|
|
2330
|
-
options: __HttpHandlerOptions,
|
|
2331
|
-
cb: (err: any, data?: DescribeUserPoolCommandOutput) => void
|
|
2332
|
-
): void;
|
|
2333
|
-
public describeUserPool(
|
|
2334
|
-
args: DescribeUserPoolCommandInput,
|
|
2335
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeUserPoolCommandOutput) => void),
|
|
2336
|
-
cb?: (err: any, data?: DescribeUserPoolCommandOutput) => void
|
|
2337
|
-
): Promise<DescribeUserPoolCommandOutput> | void {
|
|
2338
|
-
const command = new DescribeUserPoolCommand(args);
|
|
2339
|
-
if (typeof optionsOrCb === "function") {
|
|
2340
|
-
this.send(command, optionsOrCb);
|
|
2341
|
-
} else if (typeof cb === "function") {
|
|
2342
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2343
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2344
|
-
} else {
|
|
2345
|
-
return this.send(command, optionsOrCb);
|
|
2346
|
-
}
|
|
2347
|
-
}
|
|
2348
|
-
|
|
2349
|
-
/**
|
|
2350
|
-
* <p>Client method for returning the configuration information and metadata of the
|
|
2351
|
-
* specified user pool app client.</p>
|
|
2352
|
-
*/
|
|
2353
|
-
public describeUserPoolClient(
|
|
2354
|
-
args: DescribeUserPoolClientCommandInput,
|
|
2355
|
-
options?: __HttpHandlerOptions
|
|
2356
|
-
): Promise<DescribeUserPoolClientCommandOutput>;
|
|
2357
|
-
public describeUserPoolClient(
|
|
2358
|
-
args: DescribeUserPoolClientCommandInput,
|
|
2359
|
-
cb: (err: any, data?: DescribeUserPoolClientCommandOutput) => void
|
|
2360
|
-
): void;
|
|
2361
|
-
public describeUserPoolClient(
|
|
2362
|
-
args: DescribeUserPoolClientCommandInput,
|
|
2363
|
-
options: __HttpHandlerOptions,
|
|
2364
|
-
cb: (err: any, data?: DescribeUserPoolClientCommandOutput) => void
|
|
2365
|
-
): void;
|
|
2366
|
-
public describeUserPoolClient(
|
|
2367
|
-
args: DescribeUserPoolClientCommandInput,
|
|
2368
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeUserPoolClientCommandOutput) => void),
|
|
2369
|
-
cb?: (err: any, data?: DescribeUserPoolClientCommandOutput) => void
|
|
2370
|
-
): Promise<DescribeUserPoolClientCommandOutput> | void {
|
|
2371
|
-
const command = new DescribeUserPoolClientCommand(args);
|
|
2372
|
-
if (typeof optionsOrCb === "function") {
|
|
2373
|
-
this.send(command, optionsOrCb);
|
|
2374
|
-
} else if (typeof cb === "function") {
|
|
2375
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2376
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2377
|
-
} else {
|
|
2378
|
-
return this.send(command, optionsOrCb);
|
|
2379
|
-
}
|
|
2380
|
-
}
|
|
2381
|
-
|
|
2382
|
-
/**
|
|
2383
|
-
* <p>Gets information about a domain.</p>
|
|
2384
|
-
*/
|
|
2385
|
-
public describeUserPoolDomain(
|
|
2386
|
-
args: DescribeUserPoolDomainCommandInput,
|
|
2387
|
-
options?: __HttpHandlerOptions
|
|
2388
|
-
): Promise<DescribeUserPoolDomainCommandOutput>;
|
|
2389
|
-
public describeUserPoolDomain(
|
|
2390
|
-
args: DescribeUserPoolDomainCommandInput,
|
|
2391
|
-
cb: (err: any, data?: DescribeUserPoolDomainCommandOutput) => void
|
|
2392
|
-
): void;
|
|
2393
|
-
public describeUserPoolDomain(
|
|
2394
|
-
args: DescribeUserPoolDomainCommandInput,
|
|
2395
|
-
options: __HttpHandlerOptions,
|
|
2396
|
-
cb: (err: any, data?: DescribeUserPoolDomainCommandOutput) => void
|
|
2397
|
-
): void;
|
|
2398
|
-
public describeUserPoolDomain(
|
|
2399
|
-
args: DescribeUserPoolDomainCommandInput,
|
|
2400
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeUserPoolDomainCommandOutput) => void),
|
|
2401
|
-
cb?: (err: any, data?: DescribeUserPoolDomainCommandOutput) => void
|
|
2402
|
-
): Promise<DescribeUserPoolDomainCommandOutput> | void {
|
|
2403
|
-
const command = new DescribeUserPoolDomainCommand(args);
|
|
2404
|
-
if (typeof optionsOrCb === "function") {
|
|
2405
|
-
this.send(command, optionsOrCb);
|
|
2406
|
-
} else if (typeof cb === "function") {
|
|
2407
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2408
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2409
|
-
} else {
|
|
2410
|
-
return this.send(command, optionsOrCb);
|
|
2411
|
-
}
|
|
2412
|
-
}
|
|
2413
|
-
|
|
2414
|
-
/**
|
|
2415
|
-
* <p>Forgets the specified device.</p>
|
|
2416
|
-
*/
|
|
2417
|
-
public forgetDevice(
|
|
2418
|
-
args: ForgetDeviceCommandInput,
|
|
2419
|
-
options?: __HttpHandlerOptions
|
|
2420
|
-
): Promise<ForgetDeviceCommandOutput>;
|
|
2421
|
-
public forgetDevice(args: ForgetDeviceCommandInput, cb: (err: any, data?: ForgetDeviceCommandOutput) => void): void;
|
|
2422
|
-
public forgetDevice(
|
|
2423
|
-
args: ForgetDeviceCommandInput,
|
|
2424
|
-
options: __HttpHandlerOptions,
|
|
2425
|
-
cb: (err: any, data?: ForgetDeviceCommandOutput) => void
|
|
2426
|
-
): void;
|
|
2427
|
-
public forgetDevice(
|
|
2428
|
-
args: ForgetDeviceCommandInput,
|
|
2429
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ForgetDeviceCommandOutput) => void),
|
|
2430
|
-
cb?: (err: any, data?: ForgetDeviceCommandOutput) => void
|
|
2431
|
-
): Promise<ForgetDeviceCommandOutput> | void {
|
|
2432
|
-
const command = new ForgetDeviceCommand(args);
|
|
2433
|
-
if (typeof optionsOrCb === "function") {
|
|
2434
|
-
this.send(command, optionsOrCb);
|
|
2435
|
-
} else if (typeof cb === "function") {
|
|
2436
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2437
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2438
|
-
} else {
|
|
2439
|
-
return this.send(command, optionsOrCb);
|
|
2440
|
-
}
|
|
2441
|
-
}
|
|
2442
|
-
|
|
2443
|
-
/**
|
|
2444
|
-
* <p>Calling this API causes a message to be sent to the end user with a confirmation code
|
|
2445
|
-
* that is required to change the user's password. For the <code>Username</code> parameter,
|
|
2446
|
-
* you can use the username or user alias. The method used to send the confirmation code is
|
|
2447
|
-
* sent according to the specified AccountRecoverySetting. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/how-to-recover-a-user-account.html">Recovering
|
|
2448
|
-
* User Accounts</a> in the <i>Amazon Cognito Developer Guide</i>. If
|
|
2449
|
-
* neither a verified phone number nor a verified email exists, an
|
|
2450
|
-
* <code>InvalidParameterException</code> is thrown. To use the confirmation code for
|
|
2451
|
-
* resetting the password, call <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ConfirmForgotPassword.html">ConfirmForgotPassword</a>.</p>
|
|
2452
|
-
*
|
|
2453
|
-
* <note>
|
|
2454
|
-
* <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
|
|
2455
|
-
* telecom carriers require that you register an origination phone number before you can
|
|
2456
|
-
* send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
|
|
2457
|
-
* you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
|
|
2458
|
-
* Cognito will use the the registered number automatically. Otherwise, Cognito users that must
|
|
2459
|
-
* receive SMS messages might be unable to sign up, activate their accounts, or sign
|
|
2460
|
-
* in.</p>
|
|
2461
|
-
* <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
|
|
2462
|
-
* <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
|
|
2463
|
-
* mode</a>
|
|
2464
|
-
* </i>, you’ll have limitations, such as sending messages
|
|
2465
|
-
* to only verified phone numbers. After testing in the sandbox environment, you can
|
|
2466
|
-
* move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
|
|
2467
|
-
* Cognito Developer Guide</i>. </p>
|
|
2468
|
-
* </note>
|
|
2469
|
-
*/
|
|
2470
|
-
public forgotPassword(
|
|
2471
|
-
args: ForgotPasswordCommandInput,
|
|
2472
|
-
options?: __HttpHandlerOptions
|
|
2473
|
-
): Promise<ForgotPasswordCommandOutput>;
|
|
2474
|
-
public forgotPassword(
|
|
2475
|
-
args: ForgotPasswordCommandInput,
|
|
2476
|
-
cb: (err: any, data?: ForgotPasswordCommandOutput) => void
|
|
2477
|
-
): void;
|
|
2478
|
-
public forgotPassword(
|
|
2479
|
-
args: ForgotPasswordCommandInput,
|
|
2480
|
-
options: __HttpHandlerOptions,
|
|
2481
|
-
cb: (err: any, data?: ForgotPasswordCommandOutput) => void
|
|
2482
|
-
): void;
|
|
2483
|
-
public forgotPassword(
|
|
2484
|
-
args: ForgotPasswordCommandInput,
|
|
2485
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ForgotPasswordCommandOutput) => void),
|
|
2486
|
-
cb?: (err: any, data?: ForgotPasswordCommandOutput) => void
|
|
2487
|
-
): Promise<ForgotPasswordCommandOutput> | void {
|
|
2488
|
-
const command = new ForgotPasswordCommand(args);
|
|
2489
|
-
if (typeof optionsOrCb === "function") {
|
|
2490
|
-
this.send(command, optionsOrCb);
|
|
2491
|
-
} else if (typeof cb === "function") {
|
|
2492
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2493
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2494
|
-
} else {
|
|
2495
|
-
return this.send(command, optionsOrCb);
|
|
2496
|
-
}
|
|
2497
|
-
}
|
|
2498
|
-
|
|
2499
|
-
/**
|
|
2500
|
-
* <p>Gets the header information for the .csv file to be used as input for the user import
|
|
2501
|
-
* job.</p>
|
|
2502
|
-
*/
|
|
2503
|
-
public getCSVHeader(
|
|
2504
|
-
args: GetCSVHeaderCommandInput,
|
|
2505
|
-
options?: __HttpHandlerOptions
|
|
2506
|
-
): Promise<GetCSVHeaderCommandOutput>;
|
|
2507
|
-
public getCSVHeader(args: GetCSVHeaderCommandInput, cb: (err: any, data?: GetCSVHeaderCommandOutput) => void): void;
|
|
2508
|
-
public getCSVHeader(
|
|
2509
|
-
args: GetCSVHeaderCommandInput,
|
|
2510
|
-
options: __HttpHandlerOptions,
|
|
2511
|
-
cb: (err: any, data?: GetCSVHeaderCommandOutput) => void
|
|
2512
|
-
): void;
|
|
2513
|
-
public getCSVHeader(
|
|
2514
|
-
args: GetCSVHeaderCommandInput,
|
|
2515
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetCSVHeaderCommandOutput) => void),
|
|
2516
|
-
cb?: (err: any, data?: GetCSVHeaderCommandOutput) => void
|
|
2517
|
-
): Promise<GetCSVHeaderCommandOutput> | void {
|
|
2518
|
-
const command = new GetCSVHeaderCommand(args);
|
|
2519
|
-
if (typeof optionsOrCb === "function") {
|
|
2520
|
-
this.send(command, optionsOrCb);
|
|
2521
|
-
} else if (typeof cb === "function") {
|
|
2522
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2523
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2524
|
-
} else {
|
|
2525
|
-
return this.send(command, optionsOrCb);
|
|
2526
|
-
}
|
|
2527
|
-
}
|
|
2528
|
-
|
|
2529
|
-
/**
|
|
2530
|
-
* <p>Gets the device.</p>
|
|
2531
|
-
*/
|
|
2532
|
-
public getDevice(args: GetDeviceCommandInput, options?: __HttpHandlerOptions): Promise<GetDeviceCommandOutput>;
|
|
2533
|
-
public getDevice(args: GetDeviceCommandInput, cb: (err: any, data?: GetDeviceCommandOutput) => void): void;
|
|
2534
|
-
public getDevice(
|
|
2535
|
-
args: GetDeviceCommandInput,
|
|
2536
|
-
options: __HttpHandlerOptions,
|
|
2537
|
-
cb: (err: any, data?: GetDeviceCommandOutput) => void
|
|
2538
|
-
): void;
|
|
2539
|
-
public getDevice(
|
|
2540
|
-
args: GetDeviceCommandInput,
|
|
2541
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetDeviceCommandOutput) => void),
|
|
2542
|
-
cb?: (err: any, data?: GetDeviceCommandOutput) => void
|
|
2543
|
-
): Promise<GetDeviceCommandOutput> | void {
|
|
2544
|
-
const command = new GetDeviceCommand(args);
|
|
2545
|
-
if (typeof optionsOrCb === "function") {
|
|
2546
|
-
this.send(command, optionsOrCb);
|
|
2547
|
-
} else if (typeof cb === "function") {
|
|
2548
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2549
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2550
|
-
} else {
|
|
2551
|
-
return this.send(command, optionsOrCb);
|
|
2552
|
-
}
|
|
2553
|
-
}
|
|
2554
|
-
|
|
2555
|
-
/**
|
|
2556
|
-
* <p>Gets a group.</p>
|
|
2557
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
2558
|
-
*/
|
|
2559
|
-
public getGroup(args: GetGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetGroupCommandOutput>;
|
|
2560
|
-
public getGroup(args: GetGroupCommandInput, cb: (err: any, data?: GetGroupCommandOutput) => void): void;
|
|
2561
|
-
public getGroup(
|
|
2562
|
-
args: GetGroupCommandInput,
|
|
2563
|
-
options: __HttpHandlerOptions,
|
|
2564
|
-
cb: (err: any, data?: GetGroupCommandOutput) => void
|
|
2565
|
-
): void;
|
|
2566
|
-
public getGroup(
|
|
2567
|
-
args: GetGroupCommandInput,
|
|
2568
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetGroupCommandOutput) => void),
|
|
2569
|
-
cb?: (err: any, data?: GetGroupCommandOutput) => void
|
|
2570
|
-
): Promise<GetGroupCommandOutput> | void {
|
|
2571
|
-
const command = new GetGroupCommand(args);
|
|
2572
|
-
if (typeof optionsOrCb === "function") {
|
|
2573
|
-
this.send(command, optionsOrCb);
|
|
2574
|
-
} else if (typeof cb === "function") {
|
|
2575
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2576
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2577
|
-
} else {
|
|
2578
|
-
return this.send(command, optionsOrCb);
|
|
2579
|
-
}
|
|
2580
|
-
}
|
|
2581
|
-
|
|
2582
|
-
/**
|
|
2583
|
-
* <p>Gets the specified identity provider.</p>
|
|
2584
|
-
*/
|
|
2585
|
-
public getIdentityProviderByIdentifier(
|
|
2586
|
-
args: GetIdentityProviderByIdentifierCommandInput,
|
|
2587
|
-
options?: __HttpHandlerOptions
|
|
2588
|
-
): Promise<GetIdentityProviderByIdentifierCommandOutput>;
|
|
2589
|
-
public getIdentityProviderByIdentifier(
|
|
2590
|
-
args: GetIdentityProviderByIdentifierCommandInput,
|
|
2591
|
-
cb: (err: any, data?: GetIdentityProviderByIdentifierCommandOutput) => void
|
|
2592
|
-
): void;
|
|
2593
|
-
public getIdentityProviderByIdentifier(
|
|
2594
|
-
args: GetIdentityProviderByIdentifierCommandInput,
|
|
2595
|
-
options: __HttpHandlerOptions,
|
|
2596
|
-
cb: (err: any, data?: GetIdentityProviderByIdentifierCommandOutput) => void
|
|
2597
|
-
): void;
|
|
2598
|
-
public getIdentityProviderByIdentifier(
|
|
2599
|
-
args: GetIdentityProviderByIdentifierCommandInput,
|
|
2600
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetIdentityProviderByIdentifierCommandOutput) => void),
|
|
2601
|
-
cb?: (err: any, data?: GetIdentityProviderByIdentifierCommandOutput) => void
|
|
2602
|
-
): Promise<GetIdentityProviderByIdentifierCommandOutput> | void {
|
|
2603
|
-
const command = new GetIdentityProviderByIdentifierCommand(args);
|
|
2604
|
-
if (typeof optionsOrCb === "function") {
|
|
2605
|
-
this.send(command, optionsOrCb);
|
|
2606
|
-
} else if (typeof cb === "function") {
|
|
2607
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2608
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2609
|
-
} else {
|
|
2610
|
-
return this.send(command, optionsOrCb);
|
|
2611
|
-
}
|
|
2612
|
-
}
|
|
2613
|
-
|
|
2614
|
-
/**
|
|
2615
|
-
* <p>This method takes a user pool ID, and returns the signing certificate.</p>
|
|
2616
|
-
*/
|
|
2617
|
-
public getSigningCertificate(
|
|
2618
|
-
args: GetSigningCertificateCommandInput,
|
|
2619
|
-
options?: __HttpHandlerOptions
|
|
2620
|
-
): Promise<GetSigningCertificateCommandOutput>;
|
|
2621
|
-
public getSigningCertificate(
|
|
2622
|
-
args: GetSigningCertificateCommandInput,
|
|
2623
|
-
cb: (err: any, data?: GetSigningCertificateCommandOutput) => void
|
|
2624
|
-
): void;
|
|
2625
|
-
public getSigningCertificate(
|
|
2626
|
-
args: GetSigningCertificateCommandInput,
|
|
2627
|
-
options: __HttpHandlerOptions,
|
|
2628
|
-
cb: (err: any, data?: GetSigningCertificateCommandOutput) => void
|
|
2629
|
-
): void;
|
|
2630
|
-
public getSigningCertificate(
|
|
2631
|
-
args: GetSigningCertificateCommandInput,
|
|
2632
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetSigningCertificateCommandOutput) => void),
|
|
2633
|
-
cb?: (err: any, data?: GetSigningCertificateCommandOutput) => void
|
|
2634
|
-
): Promise<GetSigningCertificateCommandOutput> | void {
|
|
2635
|
-
const command = new GetSigningCertificateCommand(args);
|
|
2636
|
-
if (typeof optionsOrCb === "function") {
|
|
2637
|
-
this.send(command, optionsOrCb);
|
|
2638
|
-
} else if (typeof cb === "function") {
|
|
2639
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2640
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2641
|
-
} else {
|
|
2642
|
-
return this.send(command, optionsOrCb);
|
|
2643
|
-
}
|
|
2644
|
-
}
|
|
2645
|
-
|
|
2646
|
-
/**
|
|
2647
|
-
* <p>Gets the UI Customization information for a particular app client's app UI, if there
|
|
2648
|
-
* is something set. If nothing is set for the particular client, but there is an existing
|
|
2649
|
-
* pool level customization (app <code>clientId</code> will be <code>ALL</code>), then that
|
|
2650
|
-
* is returned. If nothing is present, then an empty shape is returned.</p>
|
|
2651
|
-
*/
|
|
2652
|
-
public getUICustomization(
|
|
2653
|
-
args: GetUICustomizationCommandInput,
|
|
2654
|
-
options?: __HttpHandlerOptions
|
|
2655
|
-
): Promise<GetUICustomizationCommandOutput>;
|
|
2656
|
-
public getUICustomization(
|
|
2657
|
-
args: GetUICustomizationCommandInput,
|
|
2658
|
-
cb: (err: any, data?: GetUICustomizationCommandOutput) => void
|
|
2659
|
-
): void;
|
|
2660
|
-
public getUICustomization(
|
|
2661
|
-
args: GetUICustomizationCommandInput,
|
|
2662
|
-
options: __HttpHandlerOptions,
|
|
2663
|
-
cb: (err: any, data?: GetUICustomizationCommandOutput) => void
|
|
2664
|
-
): void;
|
|
2665
|
-
public getUICustomization(
|
|
2666
|
-
args: GetUICustomizationCommandInput,
|
|
2667
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetUICustomizationCommandOutput) => void),
|
|
2668
|
-
cb?: (err: any, data?: GetUICustomizationCommandOutput) => void
|
|
2669
|
-
): Promise<GetUICustomizationCommandOutput> | void {
|
|
2670
|
-
const command = new GetUICustomizationCommand(args);
|
|
2671
|
-
if (typeof optionsOrCb === "function") {
|
|
2672
|
-
this.send(command, optionsOrCb);
|
|
2673
|
-
} else if (typeof cb === "function") {
|
|
2674
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2675
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2676
|
-
} else {
|
|
2677
|
-
return this.send(command, optionsOrCb);
|
|
2678
|
-
}
|
|
2679
|
-
}
|
|
2680
|
-
|
|
2681
|
-
/**
|
|
2682
|
-
* <p>Gets the user attributes and metadata for a user.</p>
|
|
2683
|
-
*/
|
|
2684
|
-
public getUser(args: GetUserCommandInput, options?: __HttpHandlerOptions): Promise<GetUserCommandOutput>;
|
|
2685
|
-
public getUser(args: GetUserCommandInput, cb: (err: any, data?: GetUserCommandOutput) => void): void;
|
|
2686
|
-
public getUser(
|
|
2687
|
-
args: GetUserCommandInput,
|
|
2688
|
-
options: __HttpHandlerOptions,
|
|
2689
|
-
cb: (err: any, data?: GetUserCommandOutput) => void
|
|
2690
|
-
): void;
|
|
2691
|
-
public getUser(
|
|
2692
|
-
args: GetUserCommandInput,
|
|
2693
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetUserCommandOutput) => void),
|
|
2694
|
-
cb?: (err: any, data?: GetUserCommandOutput) => void
|
|
2695
|
-
): Promise<GetUserCommandOutput> | void {
|
|
2696
|
-
const command = new GetUserCommand(args);
|
|
2697
|
-
if (typeof optionsOrCb === "function") {
|
|
2698
|
-
this.send(command, optionsOrCb);
|
|
2699
|
-
} else if (typeof cb === "function") {
|
|
2700
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2701
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2702
|
-
} else {
|
|
2703
|
-
return this.send(command, optionsOrCb);
|
|
2704
|
-
}
|
|
2705
|
-
}
|
|
2706
|
-
|
|
2707
|
-
/**
|
|
2708
|
-
* <p>Gets the user attribute verification code for the specified attribute name.</p>
|
|
2709
|
-
*
|
|
2710
|
-
* <note>
|
|
2711
|
-
* <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
|
|
2712
|
-
* telecom carriers require that you register an origination phone number before you can
|
|
2713
|
-
* send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
|
|
2714
|
-
* you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
|
|
2715
|
-
* Cognito will use the the registered number automatically. Otherwise, Cognito users that must
|
|
2716
|
-
* receive SMS messages might be unable to sign up, activate their accounts, or sign
|
|
2717
|
-
* in.</p>
|
|
2718
|
-
* <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
|
|
2719
|
-
* <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
|
|
2720
|
-
* mode</a>
|
|
2721
|
-
* </i>, you’ll have limitations, such as sending messages
|
|
2722
|
-
* to only verified phone numbers. After testing in the sandbox environment, you can
|
|
2723
|
-
* move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
|
|
2724
|
-
* Cognito Developer Guide</i>. </p>
|
|
2725
|
-
* </note>
|
|
2726
|
-
*/
|
|
2727
|
-
public getUserAttributeVerificationCode(
|
|
2728
|
-
args: GetUserAttributeVerificationCodeCommandInput,
|
|
2729
|
-
options?: __HttpHandlerOptions
|
|
2730
|
-
): Promise<GetUserAttributeVerificationCodeCommandOutput>;
|
|
2731
|
-
public getUserAttributeVerificationCode(
|
|
2732
|
-
args: GetUserAttributeVerificationCodeCommandInput,
|
|
2733
|
-
cb: (err: any, data?: GetUserAttributeVerificationCodeCommandOutput) => void
|
|
2734
|
-
): void;
|
|
2735
|
-
public getUserAttributeVerificationCode(
|
|
2736
|
-
args: GetUserAttributeVerificationCodeCommandInput,
|
|
2737
|
-
options: __HttpHandlerOptions,
|
|
2738
|
-
cb: (err: any, data?: GetUserAttributeVerificationCodeCommandOutput) => void
|
|
2739
|
-
): void;
|
|
2740
|
-
public getUserAttributeVerificationCode(
|
|
2741
|
-
args: GetUserAttributeVerificationCodeCommandInput,
|
|
2742
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetUserAttributeVerificationCodeCommandOutput) => void),
|
|
2743
|
-
cb?: (err: any, data?: GetUserAttributeVerificationCodeCommandOutput) => void
|
|
2744
|
-
): Promise<GetUserAttributeVerificationCodeCommandOutput> | void {
|
|
2745
|
-
const command = new GetUserAttributeVerificationCodeCommand(args);
|
|
2746
|
-
if (typeof optionsOrCb === "function") {
|
|
2747
|
-
this.send(command, optionsOrCb);
|
|
2748
|
-
} else if (typeof cb === "function") {
|
|
2749
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2750
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2751
|
-
} else {
|
|
2752
|
-
return this.send(command, optionsOrCb);
|
|
2753
|
-
}
|
|
2754
|
-
}
|
|
2755
|
-
|
|
2756
|
-
/**
|
|
2757
|
-
* <p>Gets the user pool multi-factor authentication (MFA) configuration.</p>
|
|
2758
|
-
*/
|
|
2759
|
-
public getUserPoolMfaConfig(
|
|
2760
|
-
args: GetUserPoolMfaConfigCommandInput,
|
|
2761
|
-
options?: __HttpHandlerOptions
|
|
2762
|
-
): Promise<GetUserPoolMfaConfigCommandOutput>;
|
|
2763
|
-
public getUserPoolMfaConfig(
|
|
2764
|
-
args: GetUserPoolMfaConfigCommandInput,
|
|
2765
|
-
cb: (err: any, data?: GetUserPoolMfaConfigCommandOutput) => void
|
|
2766
|
-
): void;
|
|
2767
|
-
public getUserPoolMfaConfig(
|
|
2768
|
-
args: GetUserPoolMfaConfigCommandInput,
|
|
2769
|
-
options: __HttpHandlerOptions,
|
|
2770
|
-
cb: (err: any, data?: GetUserPoolMfaConfigCommandOutput) => void
|
|
2771
|
-
): void;
|
|
2772
|
-
public getUserPoolMfaConfig(
|
|
2773
|
-
args: GetUserPoolMfaConfigCommandInput,
|
|
2774
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetUserPoolMfaConfigCommandOutput) => void),
|
|
2775
|
-
cb?: (err: any, data?: GetUserPoolMfaConfigCommandOutput) => void
|
|
2776
|
-
): Promise<GetUserPoolMfaConfigCommandOutput> | void {
|
|
2777
|
-
const command = new GetUserPoolMfaConfigCommand(args);
|
|
2778
|
-
if (typeof optionsOrCb === "function") {
|
|
2779
|
-
this.send(command, optionsOrCb);
|
|
2780
|
-
} else if (typeof cb === "function") {
|
|
2781
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2782
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2783
|
-
} else {
|
|
2784
|
-
return this.send(command, optionsOrCb);
|
|
2785
|
-
}
|
|
2786
|
-
}
|
|
2787
|
-
|
|
2788
|
-
/**
|
|
2789
|
-
* <p>Signs out users from all devices. It also invalidates all refresh tokens issued to a
|
|
2790
|
-
* user. The user's current access and Id tokens remain valid until their expiry. Access
|
|
2791
|
-
* and Id tokens expire one hour after they are issued.</p>
|
|
2792
|
-
*/
|
|
2793
|
-
public globalSignOut(
|
|
2794
|
-
args: GlobalSignOutCommandInput,
|
|
2795
|
-
options?: __HttpHandlerOptions
|
|
2796
|
-
): Promise<GlobalSignOutCommandOutput>;
|
|
2797
|
-
public globalSignOut(
|
|
2798
|
-
args: GlobalSignOutCommandInput,
|
|
2799
|
-
cb: (err: any, data?: GlobalSignOutCommandOutput) => void
|
|
2800
|
-
): void;
|
|
2801
|
-
public globalSignOut(
|
|
2802
|
-
args: GlobalSignOutCommandInput,
|
|
2803
|
-
options: __HttpHandlerOptions,
|
|
2804
|
-
cb: (err: any, data?: GlobalSignOutCommandOutput) => void
|
|
2805
|
-
): void;
|
|
2806
|
-
public globalSignOut(
|
|
2807
|
-
args: GlobalSignOutCommandInput,
|
|
2808
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GlobalSignOutCommandOutput) => void),
|
|
2809
|
-
cb?: (err: any, data?: GlobalSignOutCommandOutput) => void
|
|
2810
|
-
): Promise<GlobalSignOutCommandOutput> | void {
|
|
2811
|
-
const command = new GlobalSignOutCommand(args);
|
|
2812
|
-
if (typeof optionsOrCb === "function") {
|
|
2813
|
-
this.send(command, optionsOrCb);
|
|
2814
|
-
} else if (typeof cb === "function") {
|
|
2815
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2816
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2817
|
-
} else {
|
|
2818
|
-
return this.send(command, optionsOrCb);
|
|
2819
|
-
}
|
|
2820
|
-
}
|
|
2821
|
-
|
|
2822
|
-
/**
|
|
2823
|
-
* <p>Initiates the authentication flow.</p>
|
|
2824
|
-
*
|
|
2825
|
-
* <note>
|
|
2826
|
-
* <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
|
|
2827
|
-
* telecom carriers require that you register an origination phone number before you can
|
|
2828
|
-
* send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
|
|
2829
|
-
* you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
|
|
2830
|
-
* Cognito will use the the registered number automatically. Otherwise, Cognito users that must
|
|
2831
|
-
* receive SMS messages might be unable to sign up, activate their accounts, or sign
|
|
2832
|
-
* in.</p>
|
|
2833
|
-
* <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
|
|
2834
|
-
* <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
|
|
2835
|
-
* mode</a>
|
|
2836
|
-
* </i>, you’ll have limitations, such as sending messages
|
|
2837
|
-
* to only verified phone numbers. After testing in the sandbox environment, you can
|
|
2838
|
-
* move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
|
|
2839
|
-
* Cognito Developer Guide</i>. </p>
|
|
2840
|
-
* </note>
|
|
2841
|
-
*/
|
|
2842
|
-
public initiateAuth(
|
|
2843
|
-
args: InitiateAuthCommandInput,
|
|
2844
|
-
options?: __HttpHandlerOptions
|
|
2845
|
-
): Promise<InitiateAuthCommandOutput>;
|
|
2846
|
-
public initiateAuth(args: InitiateAuthCommandInput, cb: (err: any, data?: InitiateAuthCommandOutput) => void): void;
|
|
2847
|
-
public initiateAuth(
|
|
2848
|
-
args: InitiateAuthCommandInput,
|
|
2849
|
-
options: __HttpHandlerOptions,
|
|
2850
|
-
cb: (err: any, data?: InitiateAuthCommandOutput) => void
|
|
2851
|
-
): void;
|
|
2852
|
-
public initiateAuth(
|
|
2853
|
-
args: InitiateAuthCommandInput,
|
|
2854
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: InitiateAuthCommandOutput) => void),
|
|
2855
|
-
cb?: (err: any, data?: InitiateAuthCommandOutput) => void
|
|
2856
|
-
): Promise<InitiateAuthCommandOutput> | void {
|
|
2857
|
-
const command = new InitiateAuthCommand(args);
|
|
2858
|
-
if (typeof optionsOrCb === "function") {
|
|
2859
|
-
this.send(command, optionsOrCb);
|
|
2860
|
-
} else if (typeof cb === "function") {
|
|
2861
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2862
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2863
|
-
} else {
|
|
2864
|
-
return this.send(command, optionsOrCb);
|
|
2865
|
-
}
|
|
2866
|
-
}
|
|
2867
|
-
|
|
2868
|
-
/**
|
|
2869
|
-
* <p>Lists the devices.</p>
|
|
2870
|
-
*/
|
|
2871
|
-
public listDevices(args: ListDevicesCommandInput, options?: __HttpHandlerOptions): Promise<ListDevicesCommandOutput>;
|
|
2872
|
-
public listDevices(args: ListDevicesCommandInput, cb: (err: any, data?: ListDevicesCommandOutput) => void): void;
|
|
2873
|
-
public listDevices(
|
|
2874
|
-
args: ListDevicesCommandInput,
|
|
2875
|
-
options: __HttpHandlerOptions,
|
|
2876
|
-
cb: (err: any, data?: ListDevicesCommandOutput) => void
|
|
2877
|
-
): void;
|
|
2878
|
-
public listDevices(
|
|
2879
|
-
args: ListDevicesCommandInput,
|
|
2880
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDevicesCommandOutput) => void),
|
|
2881
|
-
cb?: (err: any, data?: ListDevicesCommandOutput) => void
|
|
2882
|
-
): Promise<ListDevicesCommandOutput> | void {
|
|
2883
|
-
const command = new ListDevicesCommand(args);
|
|
2884
|
-
if (typeof optionsOrCb === "function") {
|
|
2885
|
-
this.send(command, optionsOrCb);
|
|
2886
|
-
} else if (typeof cb === "function") {
|
|
2887
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2888
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2889
|
-
} else {
|
|
2890
|
-
return this.send(command, optionsOrCb);
|
|
2891
|
-
}
|
|
2892
|
-
}
|
|
2893
|
-
|
|
2894
|
-
/**
|
|
2895
|
-
* <p>Lists the groups associated with a user pool.</p>
|
|
2896
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
2897
|
-
*/
|
|
2898
|
-
public listGroups(args: ListGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListGroupsCommandOutput>;
|
|
2899
|
-
public listGroups(args: ListGroupsCommandInput, cb: (err: any, data?: ListGroupsCommandOutput) => void): void;
|
|
2900
|
-
public listGroups(
|
|
2901
|
-
args: ListGroupsCommandInput,
|
|
2902
|
-
options: __HttpHandlerOptions,
|
|
2903
|
-
cb: (err: any, data?: ListGroupsCommandOutput) => void
|
|
2904
|
-
): void;
|
|
2905
|
-
public listGroups(
|
|
2906
|
-
args: ListGroupsCommandInput,
|
|
2907
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListGroupsCommandOutput) => void),
|
|
2908
|
-
cb?: (err: any, data?: ListGroupsCommandOutput) => void
|
|
2909
|
-
): Promise<ListGroupsCommandOutput> | void {
|
|
2910
|
-
const command = new ListGroupsCommand(args);
|
|
2911
|
-
if (typeof optionsOrCb === "function") {
|
|
2912
|
-
this.send(command, optionsOrCb);
|
|
2913
|
-
} else if (typeof cb === "function") {
|
|
2914
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2915
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2916
|
-
} else {
|
|
2917
|
-
return this.send(command, optionsOrCb);
|
|
2918
|
-
}
|
|
2919
|
-
}
|
|
2920
|
-
|
|
2921
|
-
/**
|
|
2922
|
-
* <p>Lists information about all identity providers for a user pool.</p>
|
|
2923
|
-
*/
|
|
2924
|
-
public listIdentityProviders(
|
|
2925
|
-
args: ListIdentityProvidersCommandInput,
|
|
2926
|
-
options?: __HttpHandlerOptions
|
|
2927
|
-
): Promise<ListIdentityProvidersCommandOutput>;
|
|
2928
|
-
public listIdentityProviders(
|
|
2929
|
-
args: ListIdentityProvidersCommandInput,
|
|
2930
|
-
cb: (err: any, data?: ListIdentityProvidersCommandOutput) => void
|
|
2931
|
-
): void;
|
|
2932
|
-
public listIdentityProviders(
|
|
2933
|
-
args: ListIdentityProvidersCommandInput,
|
|
2934
|
-
options: __HttpHandlerOptions,
|
|
2935
|
-
cb: (err: any, data?: ListIdentityProvidersCommandOutput) => void
|
|
2936
|
-
): void;
|
|
2937
|
-
public listIdentityProviders(
|
|
2938
|
-
args: ListIdentityProvidersCommandInput,
|
|
2939
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListIdentityProvidersCommandOutput) => void),
|
|
2940
|
-
cb?: (err: any, data?: ListIdentityProvidersCommandOutput) => void
|
|
2941
|
-
): Promise<ListIdentityProvidersCommandOutput> | void {
|
|
2942
|
-
const command = new ListIdentityProvidersCommand(args);
|
|
2943
|
-
if (typeof optionsOrCb === "function") {
|
|
2944
|
-
this.send(command, optionsOrCb);
|
|
2945
|
-
} else if (typeof cb === "function") {
|
|
2946
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2947
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2948
|
-
} else {
|
|
2949
|
-
return this.send(command, optionsOrCb);
|
|
2950
|
-
}
|
|
2951
|
-
}
|
|
2952
|
-
|
|
2953
|
-
/**
|
|
2954
|
-
* <p>Lists the resource servers for a user pool.</p>
|
|
2955
|
-
*/
|
|
2956
|
-
public listResourceServers(
|
|
2957
|
-
args: ListResourceServersCommandInput,
|
|
2958
|
-
options?: __HttpHandlerOptions
|
|
2959
|
-
): Promise<ListResourceServersCommandOutput>;
|
|
2960
|
-
public listResourceServers(
|
|
2961
|
-
args: ListResourceServersCommandInput,
|
|
2962
|
-
cb: (err: any, data?: ListResourceServersCommandOutput) => void
|
|
2963
|
-
): void;
|
|
2964
|
-
public listResourceServers(
|
|
2965
|
-
args: ListResourceServersCommandInput,
|
|
2966
|
-
options: __HttpHandlerOptions,
|
|
2967
|
-
cb: (err: any, data?: ListResourceServersCommandOutput) => void
|
|
2968
|
-
): void;
|
|
2969
|
-
public listResourceServers(
|
|
2970
|
-
args: ListResourceServersCommandInput,
|
|
2971
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListResourceServersCommandOutput) => void),
|
|
2972
|
-
cb?: (err: any, data?: ListResourceServersCommandOutput) => void
|
|
2973
|
-
): Promise<ListResourceServersCommandOutput> | void {
|
|
2974
|
-
const command = new ListResourceServersCommand(args);
|
|
2975
|
-
if (typeof optionsOrCb === "function") {
|
|
2976
|
-
this.send(command, optionsOrCb);
|
|
2977
|
-
} else if (typeof cb === "function") {
|
|
2978
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2979
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2980
|
-
} else {
|
|
2981
|
-
return this.send(command, optionsOrCb);
|
|
2982
|
-
}
|
|
2983
|
-
}
|
|
2984
|
-
|
|
2985
|
-
/**
|
|
2986
|
-
* <p>Lists the tags that are assigned to an Amazon Cognito user pool.</p>
|
|
2987
|
-
* <p>A tag is a label that you can apply to user pools to categorize and manage them in
|
|
2988
|
-
* different ways, such as by purpose, owner, environment, or other criteria.</p>
|
|
2989
|
-
* <p>You can use this action up to 10 times per second, per account.</p>
|
|
2990
|
-
*/
|
|
2991
|
-
public listTagsForResource(
|
|
2992
|
-
args: ListTagsForResourceCommandInput,
|
|
2993
|
-
options?: __HttpHandlerOptions
|
|
2994
|
-
): Promise<ListTagsForResourceCommandOutput>;
|
|
2995
|
-
public listTagsForResource(
|
|
2996
|
-
args: ListTagsForResourceCommandInput,
|
|
2997
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
2998
|
-
): void;
|
|
2999
|
-
public listTagsForResource(
|
|
3000
|
-
args: ListTagsForResourceCommandInput,
|
|
3001
|
-
options: __HttpHandlerOptions,
|
|
3002
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
3003
|
-
): void;
|
|
3004
|
-
public listTagsForResource(
|
|
3005
|
-
args: ListTagsForResourceCommandInput,
|
|
3006
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
|
|
3007
|
-
cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
3008
|
-
): Promise<ListTagsForResourceCommandOutput> | void {
|
|
3009
|
-
const command = new ListTagsForResourceCommand(args);
|
|
3010
|
-
if (typeof optionsOrCb === "function") {
|
|
3011
|
-
this.send(command, optionsOrCb);
|
|
3012
|
-
} else if (typeof cb === "function") {
|
|
3013
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3014
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3015
|
-
} else {
|
|
3016
|
-
return this.send(command, optionsOrCb);
|
|
3017
|
-
}
|
|
3018
|
-
}
|
|
3019
|
-
|
|
3020
|
-
/**
|
|
3021
|
-
* <p>Lists the user import jobs.</p>
|
|
3022
|
-
*/
|
|
3023
|
-
public listUserImportJobs(
|
|
3024
|
-
args: ListUserImportJobsCommandInput,
|
|
3025
|
-
options?: __HttpHandlerOptions
|
|
3026
|
-
): Promise<ListUserImportJobsCommandOutput>;
|
|
3027
|
-
public listUserImportJobs(
|
|
3028
|
-
args: ListUserImportJobsCommandInput,
|
|
3029
|
-
cb: (err: any, data?: ListUserImportJobsCommandOutput) => void
|
|
3030
|
-
): void;
|
|
3031
|
-
public listUserImportJobs(
|
|
3032
|
-
args: ListUserImportJobsCommandInput,
|
|
3033
|
-
options: __HttpHandlerOptions,
|
|
3034
|
-
cb: (err: any, data?: ListUserImportJobsCommandOutput) => void
|
|
3035
|
-
): void;
|
|
3036
|
-
public listUserImportJobs(
|
|
3037
|
-
args: ListUserImportJobsCommandInput,
|
|
3038
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListUserImportJobsCommandOutput) => void),
|
|
3039
|
-
cb?: (err: any, data?: ListUserImportJobsCommandOutput) => void
|
|
3040
|
-
): Promise<ListUserImportJobsCommandOutput> | void {
|
|
3041
|
-
const command = new ListUserImportJobsCommand(args);
|
|
3042
|
-
if (typeof optionsOrCb === "function") {
|
|
3043
|
-
this.send(command, optionsOrCb);
|
|
3044
|
-
} else if (typeof cb === "function") {
|
|
3045
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3046
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3047
|
-
} else {
|
|
3048
|
-
return this.send(command, optionsOrCb);
|
|
3049
|
-
}
|
|
3050
|
-
}
|
|
3051
|
-
|
|
3052
|
-
/**
|
|
3053
|
-
* <p>Lists the clients that have been created for the specified user pool.</p>
|
|
3054
|
-
*/
|
|
3055
|
-
public listUserPoolClients(
|
|
3056
|
-
args: ListUserPoolClientsCommandInput,
|
|
3057
|
-
options?: __HttpHandlerOptions
|
|
3058
|
-
): Promise<ListUserPoolClientsCommandOutput>;
|
|
3059
|
-
public listUserPoolClients(
|
|
3060
|
-
args: ListUserPoolClientsCommandInput,
|
|
3061
|
-
cb: (err: any, data?: ListUserPoolClientsCommandOutput) => void
|
|
3062
|
-
): void;
|
|
3063
|
-
public listUserPoolClients(
|
|
3064
|
-
args: ListUserPoolClientsCommandInput,
|
|
3065
|
-
options: __HttpHandlerOptions,
|
|
3066
|
-
cb: (err: any, data?: ListUserPoolClientsCommandOutput) => void
|
|
3067
|
-
): void;
|
|
3068
|
-
public listUserPoolClients(
|
|
3069
|
-
args: ListUserPoolClientsCommandInput,
|
|
3070
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListUserPoolClientsCommandOutput) => void),
|
|
3071
|
-
cb?: (err: any, data?: ListUserPoolClientsCommandOutput) => void
|
|
3072
|
-
): Promise<ListUserPoolClientsCommandOutput> | void {
|
|
3073
|
-
const command = new ListUserPoolClientsCommand(args);
|
|
3074
|
-
if (typeof optionsOrCb === "function") {
|
|
3075
|
-
this.send(command, optionsOrCb);
|
|
3076
|
-
} else if (typeof cb === "function") {
|
|
3077
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3078
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3079
|
-
} else {
|
|
3080
|
-
return this.send(command, optionsOrCb);
|
|
3081
|
-
}
|
|
3082
|
-
}
|
|
3083
|
-
|
|
3084
|
-
/**
|
|
3085
|
-
* <p>Lists the user pools associated with an account.</p>
|
|
3086
|
-
*/
|
|
3087
|
-
public listUserPools(
|
|
3088
|
-
args: ListUserPoolsCommandInput,
|
|
3089
|
-
options?: __HttpHandlerOptions
|
|
3090
|
-
): Promise<ListUserPoolsCommandOutput>;
|
|
3091
|
-
public listUserPools(
|
|
3092
|
-
args: ListUserPoolsCommandInput,
|
|
3093
|
-
cb: (err: any, data?: ListUserPoolsCommandOutput) => void
|
|
3094
|
-
): void;
|
|
3095
|
-
public listUserPools(
|
|
3096
|
-
args: ListUserPoolsCommandInput,
|
|
3097
|
-
options: __HttpHandlerOptions,
|
|
3098
|
-
cb: (err: any, data?: ListUserPoolsCommandOutput) => void
|
|
3099
|
-
): void;
|
|
3100
|
-
public listUserPools(
|
|
3101
|
-
args: ListUserPoolsCommandInput,
|
|
3102
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListUserPoolsCommandOutput) => void),
|
|
3103
|
-
cb?: (err: any, data?: ListUserPoolsCommandOutput) => void
|
|
3104
|
-
): Promise<ListUserPoolsCommandOutput> | void {
|
|
3105
|
-
const command = new ListUserPoolsCommand(args);
|
|
3106
|
-
if (typeof optionsOrCb === "function") {
|
|
3107
|
-
this.send(command, optionsOrCb);
|
|
3108
|
-
} else if (typeof cb === "function") {
|
|
3109
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3110
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3111
|
-
} else {
|
|
3112
|
-
return this.send(command, optionsOrCb);
|
|
3113
|
-
}
|
|
3114
|
-
}
|
|
3115
|
-
|
|
3116
|
-
/**
|
|
3117
|
-
* <p>Lists the users in the Amazon Cognito user pool.</p>
|
|
3118
|
-
*/
|
|
3119
|
-
public listUsers(args: ListUsersCommandInput, options?: __HttpHandlerOptions): Promise<ListUsersCommandOutput>;
|
|
3120
|
-
public listUsers(args: ListUsersCommandInput, cb: (err: any, data?: ListUsersCommandOutput) => void): void;
|
|
3121
|
-
public listUsers(
|
|
3122
|
-
args: ListUsersCommandInput,
|
|
3123
|
-
options: __HttpHandlerOptions,
|
|
3124
|
-
cb: (err: any, data?: ListUsersCommandOutput) => void
|
|
3125
|
-
): void;
|
|
3126
|
-
public listUsers(
|
|
3127
|
-
args: ListUsersCommandInput,
|
|
3128
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListUsersCommandOutput) => void),
|
|
3129
|
-
cb?: (err: any, data?: ListUsersCommandOutput) => void
|
|
3130
|
-
): Promise<ListUsersCommandOutput> | void {
|
|
3131
|
-
const command = new ListUsersCommand(args);
|
|
3132
|
-
if (typeof optionsOrCb === "function") {
|
|
3133
|
-
this.send(command, optionsOrCb);
|
|
3134
|
-
} else if (typeof cb === "function") {
|
|
3135
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3136
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3137
|
-
} else {
|
|
3138
|
-
return this.send(command, optionsOrCb);
|
|
3139
|
-
}
|
|
3140
|
-
}
|
|
3141
|
-
|
|
3142
|
-
/**
|
|
3143
|
-
* <p>Lists the users in the specified group.</p>
|
|
3144
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
3145
|
-
*/
|
|
3146
|
-
public listUsersInGroup(
|
|
3147
|
-
args: ListUsersInGroupCommandInput,
|
|
3148
|
-
options?: __HttpHandlerOptions
|
|
3149
|
-
): Promise<ListUsersInGroupCommandOutput>;
|
|
3150
|
-
public listUsersInGroup(
|
|
3151
|
-
args: ListUsersInGroupCommandInput,
|
|
3152
|
-
cb: (err: any, data?: ListUsersInGroupCommandOutput) => void
|
|
3153
|
-
): void;
|
|
3154
|
-
public listUsersInGroup(
|
|
3155
|
-
args: ListUsersInGroupCommandInput,
|
|
3156
|
-
options: __HttpHandlerOptions,
|
|
3157
|
-
cb: (err: any, data?: ListUsersInGroupCommandOutput) => void
|
|
3158
|
-
): void;
|
|
3159
|
-
public listUsersInGroup(
|
|
3160
|
-
args: ListUsersInGroupCommandInput,
|
|
3161
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListUsersInGroupCommandOutput) => void),
|
|
3162
|
-
cb?: (err: any, data?: ListUsersInGroupCommandOutput) => void
|
|
3163
|
-
): Promise<ListUsersInGroupCommandOutput> | void {
|
|
3164
|
-
const command = new ListUsersInGroupCommand(args);
|
|
3165
|
-
if (typeof optionsOrCb === "function") {
|
|
3166
|
-
this.send(command, optionsOrCb);
|
|
3167
|
-
} else if (typeof cb === "function") {
|
|
3168
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3169
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3170
|
-
} else {
|
|
3171
|
-
return this.send(command, optionsOrCb);
|
|
3172
|
-
}
|
|
3173
|
-
}
|
|
3174
|
-
|
|
3175
|
-
/**
|
|
3176
|
-
* <p>Resends the confirmation (for confirmation of registration) to a specific user in the
|
|
3177
|
-
* user pool.</p>
|
|
3178
|
-
*
|
|
3179
|
-
* <note>
|
|
3180
|
-
* <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
|
|
3181
|
-
* telecom carriers require that you register an origination phone number before you can
|
|
3182
|
-
* send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
|
|
3183
|
-
* you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
|
|
3184
|
-
* Cognito will use the the registered number automatically. Otherwise, Cognito users that must
|
|
3185
|
-
* receive SMS messages might be unable to sign up, activate their accounts, or sign
|
|
3186
|
-
* in.</p>
|
|
3187
|
-
* <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
|
|
3188
|
-
* <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
|
|
3189
|
-
* mode</a>
|
|
3190
|
-
* </i>, you’ll have limitations, such as sending messages
|
|
3191
|
-
* to only verified phone numbers. After testing in the sandbox environment, you can
|
|
3192
|
-
* move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
|
|
3193
|
-
* Cognito Developer Guide</i>. </p>
|
|
3194
|
-
* </note>
|
|
3195
|
-
*/
|
|
3196
|
-
public resendConfirmationCode(
|
|
3197
|
-
args: ResendConfirmationCodeCommandInput,
|
|
3198
|
-
options?: __HttpHandlerOptions
|
|
3199
|
-
): Promise<ResendConfirmationCodeCommandOutput>;
|
|
3200
|
-
public resendConfirmationCode(
|
|
3201
|
-
args: ResendConfirmationCodeCommandInput,
|
|
3202
|
-
cb: (err: any, data?: ResendConfirmationCodeCommandOutput) => void
|
|
3203
|
-
): void;
|
|
3204
|
-
public resendConfirmationCode(
|
|
3205
|
-
args: ResendConfirmationCodeCommandInput,
|
|
3206
|
-
options: __HttpHandlerOptions,
|
|
3207
|
-
cb: (err: any, data?: ResendConfirmationCodeCommandOutput) => void
|
|
3208
|
-
): void;
|
|
3209
|
-
public resendConfirmationCode(
|
|
3210
|
-
args: ResendConfirmationCodeCommandInput,
|
|
3211
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ResendConfirmationCodeCommandOutput) => void),
|
|
3212
|
-
cb?: (err: any, data?: ResendConfirmationCodeCommandOutput) => void
|
|
3213
|
-
): Promise<ResendConfirmationCodeCommandOutput> | void {
|
|
3214
|
-
const command = new ResendConfirmationCodeCommand(args);
|
|
3215
|
-
if (typeof optionsOrCb === "function") {
|
|
3216
|
-
this.send(command, optionsOrCb);
|
|
3217
|
-
} else if (typeof cb === "function") {
|
|
3218
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3219
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3220
|
-
} else {
|
|
3221
|
-
return this.send(command, optionsOrCb);
|
|
3222
|
-
}
|
|
3223
|
-
}
|
|
3224
|
-
|
|
3225
|
-
/**
|
|
3226
|
-
* <p>Responds to the authentication challenge.</p>
|
|
3227
|
-
*
|
|
3228
|
-
* <note>
|
|
3229
|
-
* <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
|
|
3230
|
-
* telecom carriers require that you register an origination phone number before you can
|
|
3231
|
-
* send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
|
|
3232
|
-
* you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
|
|
3233
|
-
* Cognito will use the the registered number automatically. Otherwise, Cognito users that must
|
|
3234
|
-
* receive SMS messages might be unable to sign up, activate their accounts, or sign
|
|
3235
|
-
* in.</p>
|
|
3236
|
-
* <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
|
|
3237
|
-
* <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
|
|
3238
|
-
* mode</a>
|
|
3239
|
-
* </i>, you’ll have limitations, such as sending messages
|
|
3240
|
-
* to only verified phone numbers. After testing in the sandbox environment, you can
|
|
3241
|
-
* move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
|
|
3242
|
-
* Cognito Developer Guide</i>. </p>
|
|
3243
|
-
* </note>
|
|
3244
|
-
*/
|
|
3245
|
-
public respondToAuthChallenge(
|
|
3246
|
-
args: RespondToAuthChallengeCommandInput,
|
|
3247
|
-
options?: __HttpHandlerOptions
|
|
3248
|
-
): Promise<RespondToAuthChallengeCommandOutput>;
|
|
3249
|
-
public respondToAuthChallenge(
|
|
3250
|
-
args: RespondToAuthChallengeCommandInput,
|
|
3251
|
-
cb: (err: any, data?: RespondToAuthChallengeCommandOutput) => void
|
|
3252
|
-
): void;
|
|
3253
|
-
public respondToAuthChallenge(
|
|
3254
|
-
args: RespondToAuthChallengeCommandInput,
|
|
3255
|
-
options: __HttpHandlerOptions,
|
|
3256
|
-
cb: (err: any, data?: RespondToAuthChallengeCommandOutput) => void
|
|
3257
|
-
): void;
|
|
3258
|
-
public respondToAuthChallenge(
|
|
3259
|
-
args: RespondToAuthChallengeCommandInput,
|
|
3260
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RespondToAuthChallengeCommandOutput) => void),
|
|
3261
|
-
cb?: (err: any, data?: RespondToAuthChallengeCommandOutput) => void
|
|
3262
|
-
): Promise<RespondToAuthChallengeCommandOutput> | void {
|
|
3263
|
-
const command = new RespondToAuthChallengeCommand(args);
|
|
3264
|
-
if (typeof optionsOrCb === "function") {
|
|
3265
|
-
this.send(command, optionsOrCb);
|
|
3266
|
-
} else if (typeof cb === "function") {
|
|
3267
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3268
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3269
|
-
} else {
|
|
3270
|
-
return this.send(command, optionsOrCb);
|
|
3271
|
-
}
|
|
3272
|
-
}
|
|
3273
|
-
|
|
3274
|
-
/**
|
|
3275
|
-
* <p>Revokes all of the access tokens generated by the specified refresh token. After the token is revoked, you can not
|
|
3276
|
-
* use the revoked token to access Cognito authenticated APIs.</p>
|
|
3277
|
-
*/
|
|
3278
|
-
public revokeToken(args: RevokeTokenCommandInput, options?: __HttpHandlerOptions): Promise<RevokeTokenCommandOutput>;
|
|
3279
|
-
public revokeToken(args: RevokeTokenCommandInput, cb: (err: any, data?: RevokeTokenCommandOutput) => void): void;
|
|
3280
|
-
public revokeToken(
|
|
3281
|
-
args: RevokeTokenCommandInput,
|
|
3282
|
-
options: __HttpHandlerOptions,
|
|
3283
|
-
cb: (err: any, data?: RevokeTokenCommandOutput) => void
|
|
3284
|
-
): void;
|
|
3285
|
-
public revokeToken(
|
|
3286
|
-
args: RevokeTokenCommandInput,
|
|
3287
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RevokeTokenCommandOutput) => void),
|
|
3288
|
-
cb?: (err: any, data?: RevokeTokenCommandOutput) => void
|
|
3289
|
-
): Promise<RevokeTokenCommandOutput> | void {
|
|
3290
|
-
const command = new RevokeTokenCommand(args);
|
|
3291
|
-
if (typeof optionsOrCb === "function") {
|
|
3292
|
-
this.send(command, optionsOrCb);
|
|
3293
|
-
} else if (typeof cb === "function") {
|
|
3294
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3295
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3296
|
-
} else {
|
|
3297
|
-
return this.send(command, optionsOrCb);
|
|
3298
|
-
}
|
|
3299
|
-
}
|
|
3300
|
-
|
|
3301
|
-
/**
|
|
3302
|
-
* <p>Configures actions on detected risks. To delete the risk configuration for
|
|
3303
|
-
* <code>UserPoolId</code> or <code>ClientId</code>, pass null values for all four
|
|
3304
|
-
* configuration types.</p>
|
|
3305
|
-
* <p>To enable Amazon Cognito advanced security features, update the user pool to include
|
|
3306
|
-
* the <code>UserPoolAddOns</code> key<code>AdvancedSecurityMode</code>.</p>
|
|
3307
|
-
*/
|
|
3308
|
-
public setRiskConfiguration(
|
|
3309
|
-
args: SetRiskConfigurationCommandInput,
|
|
3310
|
-
options?: __HttpHandlerOptions
|
|
3311
|
-
): Promise<SetRiskConfigurationCommandOutput>;
|
|
3312
|
-
public setRiskConfiguration(
|
|
3313
|
-
args: SetRiskConfigurationCommandInput,
|
|
3314
|
-
cb: (err: any, data?: SetRiskConfigurationCommandOutput) => void
|
|
3315
|
-
): void;
|
|
3316
|
-
public setRiskConfiguration(
|
|
3317
|
-
args: SetRiskConfigurationCommandInput,
|
|
3318
|
-
options: __HttpHandlerOptions,
|
|
3319
|
-
cb: (err: any, data?: SetRiskConfigurationCommandOutput) => void
|
|
3320
|
-
): void;
|
|
3321
|
-
public setRiskConfiguration(
|
|
3322
|
-
args: SetRiskConfigurationCommandInput,
|
|
3323
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SetRiskConfigurationCommandOutput) => void),
|
|
3324
|
-
cb?: (err: any, data?: SetRiskConfigurationCommandOutput) => void
|
|
3325
|
-
): Promise<SetRiskConfigurationCommandOutput> | void {
|
|
3326
|
-
const command = new SetRiskConfigurationCommand(args);
|
|
3327
|
-
if (typeof optionsOrCb === "function") {
|
|
3328
|
-
this.send(command, optionsOrCb);
|
|
3329
|
-
} else if (typeof cb === "function") {
|
|
3330
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3331
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3332
|
-
} else {
|
|
3333
|
-
return this.send(command, optionsOrCb);
|
|
3334
|
-
}
|
|
3335
|
-
}
|
|
3336
|
-
|
|
3337
|
-
/**
|
|
3338
|
-
* <p>Sets the UI customization information for a user pool's built-in app UI.</p>
|
|
3339
|
-
* <p>You can specify app UI customization settings for a single client (with a specific
|
|
3340
|
-
* <code>clientId</code>) or for all clients (by setting the <code>clientId</code> to
|
|
3341
|
-
* <code>ALL</code>). If you specify <code>ALL</code>, the default configuration will
|
|
3342
|
-
* be used for every client that has no UI customization set previously. If you specify UI
|
|
3343
|
-
* customization settings for a particular client, it will no longer fall back to the
|
|
3344
|
-
* <code>ALL</code> configuration. </p>
|
|
3345
|
-
* <note>
|
|
3346
|
-
* <p>To use this API, your user pool must have a domain associated with it. Otherwise,
|
|
3347
|
-
* there is no place to host the app's pages, and the service will throw an
|
|
3348
|
-
* error.</p>
|
|
3349
|
-
* </note>
|
|
3350
|
-
*/
|
|
3351
|
-
public setUICustomization(
|
|
3352
|
-
args: SetUICustomizationCommandInput,
|
|
3353
|
-
options?: __HttpHandlerOptions
|
|
3354
|
-
): Promise<SetUICustomizationCommandOutput>;
|
|
3355
|
-
public setUICustomization(
|
|
3356
|
-
args: SetUICustomizationCommandInput,
|
|
3357
|
-
cb: (err: any, data?: SetUICustomizationCommandOutput) => void
|
|
3358
|
-
): void;
|
|
3359
|
-
public setUICustomization(
|
|
3360
|
-
args: SetUICustomizationCommandInput,
|
|
3361
|
-
options: __HttpHandlerOptions,
|
|
3362
|
-
cb: (err: any, data?: SetUICustomizationCommandOutput) => void
|
|
3363
|
-
): void;
|
|
3364
|
-
public setUICustomization(
|
|
3365
|
-
args: SetUICustomizationCommandInput,
|
|
3366
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SetUICustomizationCommandOutput) => void),
|
|
3367
|
-
cb?: (err: any, data?: SetUICustomizationCommandOutput) => void
|
|
3368
|
-
): Promise<SetUICustomizationCommandOutput> | void {
|
|
3369
|
-
const command = new SetUICustomizationCommand(args);
|
|
3370
|
-
if (typeof optionsOrCb === "function") {
|
|
3371
|
-
this.send(command, optionsOrCb);
|
|
3372
|
-
} else if (typeof cb === "function") {
|
|
3373
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3374
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3375
|
-
} else {
|
|
3376
|
-
return this.send(command, optionsOrCb);
|
|
3377
|
-
}
|
|
3378
|
-
}
|
|
3379
|
-
|
|
3380
|
-
/**
|
|
3381
|
-
* <p>Set the user's multi-factor authentication (MFA) method preference, including which
|
|
3382
|
-
* MFA factors are enabled and if any are preferred. Only one factor can be set as
|
|
3383
|
-
* preferred. The preferred MFA factor will be used to authenticate a user if multiple
|
|
3384
|
-
* factors are enabled. If multiple options are enabled and no preference is set, a
|
|
3385
|
-
* challenge to choose an MFA option will be returned during sign in. If an MFA type is
|
|
3386
|
-
* enabled for a user, the user will be prompted for MFA during all sign in attempts,
|
|
3387
|
-
* unless device tracking is turned on and the device has been trusted. If you would like
|
|
3388
|
-
* MFA to be applied selectively based on the assessed risk level of sign in attempts,
|
|
3389
|
-
* disable MFA for users and turn on Adaptive Authentication for the user pool.</p>
|
|
3390
|
-
*/
|
|
3391
|
-
public setUserMFAPreference(
|
|
3392
|
-
args: SetUserMFAPreferenceCommandInput,
|
|
3393
|
-
options?: __HttpHandlerOptions
|
|
3394
|
-
): Promise<SetUserMFAPreferenceCommandOutput>;
|
|
3395
|
-
public setUserMFAPreference(
|
|
3396
|
-
args: SetUserMFAPreferenceCommandInput,
|
|
3397
|
-
cb: (err: any, data?: SetUserMFAPreferenceCommandOutput) => void
|
|
3398
|
-
): void;
|
|
3399
|
-
public setUserMFAPreference(
|
|
3400
|
-
args: SetUserMFAPreferenceCommandInput,
|
|
3401
|
-
options: __HttpHandlerOptions,
|
|
3402
|
-
cb: (err: any, data?: SetUserMFAPreferenceCommandOutput) => void
|
|
3403
|
-
): void;
|
|
3404
|
-
public setUserMFAPreference(
|
|
3405
|
-
args: SetUserMFAPreferenceCommandInput,
|
|
3406
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SetUserMFAPreferenceCommandOutput) => void),
|
|
3407
|
-
cb?: (err: any, data?: SetUserMFAPreferenceCommandOutput) => void
|
|
3408
|
-
): Promise<SetUserMFAPreferenceCommandOutput> | void {
|
|
3409
|
-
const command = new SetUserMFAPreferenceCommand(args);
|
|
3410
|
-
if (typeof optionsOrCb === "function") {
|
|
3411
|
-
this.send(command, optionsOrCb);
|
|
3412
|
-
} else if (typeof cb === "function") {
|
|
3413
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3414
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3415
|
-
} else {
|
|
3416
|
-
return this.send(command, optionsOrCb);
|
|
3417
|
-
}
|
|
3418
|
-
}
|
|
3419
|
-
|
|
3420
|
-
/**
|
|
3421
|
-
* <p>Set the user pool multi-factor authentication (MFA) configuration.</p>
|
|
3422
|
-
*
|
|
3423
|
-
* <note>
|
|
3424
|
-
* <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
|
|
3425
|
-
* telecom carriers require that you register an origination phone number before you can
|
|
3426
|
-
* send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
|
|
3427
|
-
* you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
|
|
3428
|
-
* Cognito will use the the registered number automatically. Otherwise, Cognito users that must
|
|
3429
|
-
* receive SMS messages might be unable to sign up, activate their accounts, or sign
|
|
3430
|
-
* in.</p>
|
|
3431
|
-
* <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
|
|
3432
|
-
* <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
|
|
3433
|
-
* mode</a>
|
|
3434
|
-
* </i>, you’ll have limitations, such as sending messages
|
|
3435
|
-
* to only verified phone numbers. After testing in the sandbox environment, you can
|
|
3436
|
-
* move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
|
|
3437
|
-
* Cognito Developer Guide</i>. </p>
|
|
3438
|
-
* </note>
|
|
3439
|
-
*/
|
|
3440
|
-
public setUserPoolMfaConfig(
|
|
3441
|
-
args: SetUserPoolMfaConfigCommandInput,
|
|
3442
|
-
options?: __HttpHandlerOptions
|
|
3443
|
-
): Promise<SetUserPoolMfaConfigCommandOutput>;
|
|
3444
|
-
public setUserPoolMfaConfig(
|
|
3445
|
-
args: SetUserPoolMfaConfigCommandInput,
|
|
3446
|
-
cb: (err: any, data?: SetUserPoolMfaConfigCommandOutput) => void
|
|
3447
|
-
): void;
|
|
3448
|
-
public setUserPoolMfaConfig(
|
|
3449
|
-
args: SetUserPoolMfaConfigCommandInput,
|
|
3450
|
-
options: __HttpHandlerOptions,
|
|
3451
|
-
cb: (err: any, data?: SetUserPoolMfaConfigCommandOutput) => void
|
|
3452
|
-
): void;
|
|
3453
|
-
public setUserPoolMfaConfig(
|
|
3454
|
-
args: SetUserPoolMfaConfigCommandInput,
|
|
3455
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SetUserPoolMfaConfigCommandOutput) => void),
|
|
3456
|
-
cb?: (err: any, data?: SetUserPoolMfaConfigCommandOutput) => void
|
|
3457
|
-
): Promise<SetUserPoolMfaConfigCommandOutput> | void {
|
|
3458
|
-
const command = new SetUserPoolMfaConfigCommand(args);
|
|
3459
|
-
if (typeof optionsOrCb === "function") {
|
|
3460
|
-
this.send(command, optionsOrCb);
|
|
3461
|
-
} else if (typeof cb === "function") {
|
|
3462
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3463
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3464
|
-
} else {
|
|
3465
|
-
return this.send(command, optionsOrCb);
|
|
3466
|
-
}
|
|
3467
|
-
}
|
|
3468
|
-
|
|
3469
|
-
/**
|
|
3470
|
-
* <p>
|
|
3471
|
-
* <i>This action is no longer supported.</i> You can use it to configure
|
|
3472
|
-
* only SMS MFA. You can't use it to configure TOTP software token MFA. To configure either
|
|
3473
|
-
* type of MFA, use <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_SetUserMFAPreference.html">SetUserMFAPreference</a> instead.</p>
|
|
3474
|
-
*/
|
|
3475
|
-
public setUserSettings(
|
|
3476
|
-
args: SetUserSettingsCommandInput,
|
|
3477
|
-
options?: __HttpHandlerOptions
|
|
3478
|
-
): Promise<SetUserSettingsCommandOutput>;
|
|
3479
|
-
public setUserSettings(
|
|
3480
|
-
args: SetUserSettingsCommandInput,
|
|
3481
|
-
cb: (err: any, data?: SetUserSettingsCommandOutput) => void
|
|
3482
|
-
): void;
|
|
3483
|
-
public setUserSettings(
|
|
3484
|
-
args: SetUserSettingsCommandInput,
|
|
3485
|
-
options: __HttpHandlerOptions,
|
|
3486
|
-
cb: (err: any, data?: SetUserSettingsCommandOutput) => void
|
|
3487
|
-
): void;
|
|
3488
|
-
public setUserSettings(
|
|
3489
|
-
args: SetUserSettingsCommandInput,
|
|
3490
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SetUserSettingsCommandOutput) => void),
|
|
3491
|
-
cb?: (err: any, data?: SetUserSettingsCommandOutput) => void
|
|
3492
|
-
): Promise<SetUserSettingsCommandOutput> | void {
|
|
3493
|
-
const command = new SetUserSettingsCommand(args);
|
|
3494
|
-
if (typeof optionsOrCb === "function") {
|
|
3495
|
-
this.send(command, optionsOrCb);
|
|
3496
|
-
} else if (typeof cb === "function") {
|
|
3497
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3498
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3499
|
-
} else {
|
|
3500
|
-
return this.send(command, optionsOrCb);
|
|
3501
|
-
}
|
|
3502
|
-
}
|
|
3503
|
-
|
|
3504
|
-
/**
|
|
3505
|
-
* <p>Registers the user in the specified user pool and creates a user name, password, and
|
|
3506
|
-
* user attributes.</p>
|
|
3507
|
-
*
|
|
3508
|
-
* <note>
|
|
3509
|
-
* <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
|
|
3510
|
-
* telecom carriers require that you register an origination phone number before you can
|
|
3511
|
-
* send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
|
|
3512
|
-
* you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
|
|
3513
|
-
* Cognito will use the the registered number automatically. Otherwise, Cognito users that must
|
|
3514
|
-
* receive SMS messages might be unable to sign up, activate their accounts, or sign
|
|
3515
|
-
* in.</p>
|
|
3516
|
-
* <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
|
|
3517
|
-
* <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
|
|
3518
|
-
* mode</a>
|
|
3519
|
-
* </i>, you’ll have limitations, such as sending messages
|
|
3520
|
-
* to only verified phone numbers. After testing in the sandbox environment, you can
|
|
3521
|
-
* move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
|
|
3522
|
-
* Cognito Developer Guide</i>. </p>
|
|
3523
|
-
* </note>
|
|
3524
|
-
*/
|
|
3525
|
-
public signUp(args: SignUpCommandInput, options?: __HttpHandlerOptions): Promise<SignUpCommandOutput>;
|
|
3526
|
-
public signUp(args: SignUpCommandInput, cb: (err: any, data?: SignUpCommandOutput) => void): void;
|
|
3527
|
-
public signUp(
|
|
3528
|
-
args: SignUpCommandInput,
|
|
3529
|
-
options: __HttpHandlerOptions,
|
|
3530
|
-
cb: (err: any, data?: SignUpCommandOutput) => void
|
|
3531
|
-
): void;
|
|
3532
|
-
public signUp(
|
|
3533
|
-
args: SignUpCommandInput,
|
|
3534
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SignUpCommandOutput) => void),
|
|
3535
|
-
cb?: (err: any, data?: SignUpCommandOutput) => void
|
|
3536
|
-
): Promise<SignUpCommandOutput> | void {
|
|
3537
|
-
const command = new SignUpCommand(args);
|
|
3538
|
-
if (typeof optionsOrCb === "function") {
|
|
3539
|
-
this.send(command, optionsOrCb);
|
|
3540
|
-
} else if (typeof cb === "function") {
|
|
3541
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3542
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3543
|
-
} else {
|
|
3544
|
-
return this.send(command, optionsOrCb);
|
|
3545
|
-
}
|
|
3546
|
-
}
|
|
3547
|
-
|
|
3548
|
-
/**
|
|
3549
|
-
* <p>Starts the user import.</p>
|
|
3550
|
-
*/
|
|
3551
|
-
public startUserImportJob(
|
|
3552
|
-
args: StartUserImportJobCommandInput,
|
|
3553
|
-
options?: __HttpHandlerOptions
|
|
3554
|
-
): Promise<StartUserImportJobCommandOutput>;
|
|
3555
|
-
public startUserImportJob(
|
|
3556
|
-
args: StartUserImportJobCommandInput,
|
|
3557
|
-
cb: (err: any, data?: StartUserImportJobCommandOutput) => void
|
|
3558
|
-
): void;
|
|
3559
|
-
public startUserImportJob(
|
|
3560
|
-
args: StartUserImportJobCommandInput,
|
|
3561
|
-
options: __HttpHandlerOptions,
|
|
3562
|
-
cb: (err: any, data?: StartUserImportJobCommandOutput) => void
|
|
3563
|
-
): void;
|
|
3564
|
-
public startUserImportJob(
|
|
3565
|
-
args: StartUserImportJobCommandInput,
|
|
3566
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartUserImportJobCommandOutput) => void),
|
|
3567
|
-
cb?: (err: any, data?: StartUserImportJobCommandOutput) => void
|
|
3568
|
-
): Promise<StartUserImportJobCommandOutput> | void {
|
|
3569
|
-
const command = new StartUserImportJobCommand(args);
|
|
3570
|
-
if (typeof optionsOrCb === "function") {
|
|
3571
|
-
this.send(command, optionsOrCb);
|
|
3572
|
-
} else if (typeof cb === "function") {
|
|
3573
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3574
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3575
|
-
} else {
|
|
3576
|
-
return this.send(command, optionsOrCb);
|
|
3577
|
-
}
|
|
3578
|
-
}
|
|
3579
|
-
|
|
3580
|
-
/**
|
|
3581
|
-
* <p>Stops the user import job.</p>
|
|
3582
|
-
*/
|
|
3583
|
-
public stopUserImportJob(
|
|
3584
|
-
args: StopUserImportJobCommandInput,
|
|
3585
|
-
options?: __HttpHandlerOptions
|
|
3586
|
-
): Promise<StopUserImportJobCommandOutput>;
|
|
3587
|
-
public stopUserImportJob(
|
|
3588
|
-
args: StopUserImportJobCommandInput,
|
|
3589
|
-
cb: (err: any, data?: StopUserImportJobCommandOutput) => void
|
|
3590
|
-
): void;
|
|
3591
|
-
public stopUserImportJob(
|
|
3592
|
-
args: StopUserImportJobCommandInput,
|
|
3593
|
-
options: __HttpHandlerOptions,
|
|
3594
|
-
cb: (err: any, data?: StopUserImportJobCommandOutput) => void
|
|
3595
|
-
): void;
|
|
3596
|
-
public stopUserImportJob(
|
|
3597
|
-
args: StopUserImportJobCommandInput,
|
|
3598
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StopUserImportJobCommandOutput) => void),
|
|
3599
|
-
cb?: (err: any, data?: StopUserImportJobCommandOutput) => void
|
|
3600
|
-
): Promise<StopUserImportJobCommandOutput> | void {
|
|
3601
|
-
const command = new StopUserImportJobCommand(args);
|
|
3602
|
-
if (typeof optionsOrCb === "function") {
|
|
3603
|
-
this.send(command, optionsOrCb);
|
|
3604
|
-
} else if (typeof cb === "function") {
|
|
3605
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3606
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3607
|
-
} else {
|
|
3608
|
-
return this.send(command, optionsOrCb);
|
|
3609
|
-
}
|
|
3610
|
-
}
|
|
3611
|
-
|
|
3612
|
-
/**
|
|
3613
|
-
* <p>Assigns a set of tags to an Amazon Cognito user pool. A tag is a label that you can
|
|
3614
|
-
* use to categorize and manage user pools in different ways, such as by purpose, owner,
|
|
3615
|
-
* environment, or other criteria.</p>
|
|
3616
|
-
* <p>Each tag consists of a key and value, both of which you define. A key is a general
|
|
3617
|
-
* category for more specific values. For example, if you have two versions of a user pool,
|
|
3618
|
-
* one for testing and another for production, you might assign an <code>Environment</code>
|
|
3619
|
-
* tag key to both user pools. The value of this key might be <code>Test</code> for one
|
|
3620
|
-
* user pool and <code>Production</code> for the other.</p>
|
|
3621
|
-
* <p>Tags are useful for cost tracking and access control. You can activate your tags so
|
|
3622
|
-
* that they appear on the Billing and Cost Management console, where you can track the
|
|
3623
|
-
* costs associated with your user pools. In an IAM policy, you can constrain permissions
|
|
3624
|
-
* for user pools based on specific tags or tag values.</p>
|
|
3625
|
-
* <p>You can use this action up to 5 times per second, per account. A user pool can have as
|
|
3626
|
-
* many as 50 tags.</p>
|
|
3627
|
-
*/
|
|
3628
|
-
public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
3629
|
-
public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
3630
|
-
public tagResource(
|
|
3631
|
-
args: TagResourceCommandInput,
|
|
3632
|
-
options: __HttpHandlerOptions,
|
|
3633
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
3634
|
-
): void;
|
|
3635
|
-
public tagResource(
|
|
3636
|
-
args: TagResourceCommandInput,
|
|
3637
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
|
|
3638
|
-
cb?: (err: any, data?: TagResourceCommandOutput) => void
|
|
3639
|
-
): Promise<TagResourceCommandOutput> | void {
|
|
3640
|
-
const command = new TagResourceCommand(args);
|
|
3641
|
-
if (typeof optionsOrCb === "function") {
|
|
3642
|
-
this.send(command, optionsOrCb);
|
|
3643
|
-
} else if (typeof cb === "function") {
|
|
3644
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3645
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3646
|
-
} else {
|
|
3647
|
-
return this.send(command, optionsOrCb);
|
|
3648
|
-
}
|
|
3649
|
-
}
|
|
3650
|
-
|
|
3651
|
-
/**
|
|
3652
|
-
* <p>Removes the specified tags from an Amazon Cognito user pool. You can use this action
|
|
3653
|
-
* up to 5 times per second, per account</p>
|
|
3654
|
-
*/
|
|
3655
|
-
public untagResource(
|
|
3656
|
-
args: UntagResourceCommandInput,
|
|
3657
|
-
options?: __HttpHandlerOptions
|
|
3658
|
-
): Promise<UntagResourceCommandOutput>;
|
|
3659
|
-
public untagResource(
|
|
3660
|
-
args: UntagResourceCommandInput,
|
|
3661
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
3662
|
-
): void;
|
|
3663
|
-
public untagResource(
|
|
3664
|
-
args: UntagResourceCommandInput,
|
|
3665
|
-
options: __HttpHandlerOptions,
|
|
3666
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
3667
|
-
): void;
|
|
3668
|
-
public untagResource(
|
|
3669
|
-
args: UntagResourceCommandInput,
|
|
3670
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
|
|
3671
|
-
cb?: (err: any, data?: UntagResourceCommandOutput) => void
|
|
3672
|
-
): Promise<UntagResourceCommandOutput> | void {
|
|
3673
|
-
const command = new UntagResourceCommand(args);
|
|
3674
|
-
if (typeof optionsOrCb === "function") {
|
|
3675
|
-
this.send(command, optionsOrCb);
|
|
3676
|
-
} else if (typeof cb === "function") {
|
|
3677
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3678
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3679
|
-
} else {
|
|
3680
|
-
return this.send(command, optionsOrCb);
|
|
3681
|
-
}
|
|
3682
|
-
}
|
|
3683
|
-
|
|
3684
|
-
/**
|
|
3685
|
-
* <p>Provides the feedback for an authentication event whether it was from a valid user or
|
|
3686
|
-
* not. This feedback is used for improving the risk evaluation decision for the user pool
|
|
3687
|
-
* as part of Amazon Cognito advanced security.</p>
|
|
3688
|
-
*/
|
|
3689
|
-
public updateAuthEventFeedback(
|
|
3690
|
-
args: UpdateAuthEventFeedbackCommandInput,
|
|
3691
|
-
options?: __HttpHandlerOptions
|
|
3692
|
-
): Promise<UpdateAuthEventFeedbackCommandOutput>;
|
|
3693
|
-
public updateAuthEventFeedback(
|
|
3694
|
-
args: UpdateAuthEventFeedbackCommandInput,
|
|
3695
|
-
cb: (err: any, data?: UpdateAuthEventFeedbackCommandOutput) => void
|
|
3696
|
-
): void;
|
|
3697
|
-
public updateAuthEventFeedback(
|
|
3698
|
-
args: UpdateAuthEventFeedbackCommandInput,
|
|
3699
|
-
options: __HttpHandlerOptions,
|
|
3700
|
-
cb: (err: any, data?: UpdateAuthEventFeedbackCommandOutput) => void
|
|
3701
|
-
): void;
|
|
3702
|
-
public updateAuthEventFeedback(
|
|
3703
|
-
args: UpdateAuthEventFeedbackCommandInput,
|
|
3704
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateAuthEventFeedbackCommandOutput) => void),
|
|
3705
|
-
cb?: (err: any, data?: UpdateAuthEventFeedbackCommandOutput) => void
|
|
3706
|
-
): Promise<UpdateAuthEventFeedbackCommandOutput> | void {
|
|
3707
|
-
const command = new UpdateAuthEventFeedbackCommand(args);
|
|
3708
|
-
if (typeof optionsOrCb === "function") {
|
|
3709
|
-
this.send(command, optionsOrCb);
|
|
3710
|
-
} else if (typeof cb === "function") {
|
|
3711
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3712
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3713
|
-
} else {
|
|
3714
|
-
return this.send(command, optionsOrCb);
|
|
3715
|
-
}
|
|
3716
|
-
}
|
|
3717
|
-
|
|
3718
|
-
/**
|
|
3719
|
-
* <p>Updates the device status.</p>
|
|
3720
|
-
*/
|
|
3721
|
-
public updateDeviceStatus(
|
|
3722
|
-
args: UpdateDeviceStatusCommandInput,
|
|
3723
|
-
options?: __HttpHandlerOptions
|
|
3724
|
-
): Promise<UpdateDeviceStatusCommandOutput>;
|
|
3725
|
-
public updateDeviceStatus(
|
|
3726
|
-
args: UpdateDeviceStatusCommandInput,
|
|
3727
|
-
cb: (err: any, data?: UpdateDeviceStatusCommandOutput) => void
|
|
3728
|
-
): void;
|
|
3729
|
-
public updateDeviceStatus(
|
|
3730
|
-
args: UpdateDeviceStatusCommandInput,
|
|
3731
|
-
options: __HttpHandlerOptions,
|
|
3732
|
-
cb: (err: any, data?: UpdateDeviceStatusCommandOutput) => void
|
|
3733
|
-
): void;
|
|
3734
|
-
public updateDeviceStatus(
|
|
3735
|
-
args: UpdateDeviceStatusCommandInput,
|
|
3736
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateDeviceStatusCommandOutput) => void),
|
|
3737
|
-
cb?: (err: any, data?: UpdateDeviceStatusCommandOutput) => void
|
|
3738
|
-
): Promise<UpdateDeviceStatusCommandOutput> | void {
|
|
3739
|
-
const command = new UpdateDeviceStatusCommand(args);
|
|
3740
|
-
if (typeof optionsOrCb === "function") {
|
|
3741
|
-
this.send(command, optionsOrCb);
|
|
3742
|
-
} else if (typeof cb === "function") {
|
|
3743
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3744
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3745
|
-
} else {
|
|
3746
|
-
return this.send(command, optionsOrCb);
|
|
3747
|
-
}
|
|
3748
|
-
}
|
|
3749
|
-
|
|
3750
|
-
/**
|
|
3751
|
-
* <p>Updates the specified group with the specified attributes.</p>
|
|
3752
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
3753
|
-
*/
|
|
3754
|
-
public updateGroup(args: UpdateGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateGroupCommandOutput>;
|
|
3755
|
-
public updateGroup(args: UpdateGroupCommandInput, cb: (err: any, data?: UpdateGroupCommandOutput) => void): void;
|
|
3756
|
-
public updateGroup(
|
|
3757
|
-
args: UpdateGroupCommandInput,
|
|
3758
|
-
options: __HttpHandlerOptions,
|
|
3759
|
-
cb: (err: any, data?: UpdateGroupCommandOutput) => void
|
|
3760
|
-
): void;
|
|
3761
|
-
public updateGroup(
|
|
3762
|
-
args: UpdateGroupCommandInput,
|
|
3763
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateGroupCommandOutput) => void),
|
|
3764
|
-
cb?: (err: any, data?: UpdateGroupCommandOutput) => void
|
|
3765
|
-
): Promise<UpdateGroupCommandOutput> | void {
|
|
3766
|
-
const command = new UpdateGroupCommand(args);
|
|
3767
|
-
if (typeof optionsOrCb === "function") {
|
|
3768
|
-
this.send(command, optionsOrCb);
|
|
3769
|
-
} else if (typeof cb === "function") {
|
|
3770
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3771
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3772
|
-
} else {
|
|
3773
|
-
return this.send(command, optionsOrCb);
|
|
3774
|
-
}
|
|
3775
|
-
}
|
|
3776
|
-
|
|
3777
|
-
/**
|
|
3778
|
-
* <p>Updates identity provider information for a user pool.</p>
|
|
3779
|
-
*/
|
|
3780
|
-
public updateIdentityProvider(
|
|
3781
|
-
args: UpdateIdentityProviderCommandInput,
|
|
3782
|
-
options?: __HttpHandlerOptions
|
|
3783
|
-
): Promise<UpdateIdentityProviderCommandOutput>;
|
|
3784
|
-
public updateIdentityProvider(
|
|
3785
|
-
args: UpdateIdentityProviderCommandInput,
|
|
3786
|
-
cb: (err: any, data?: UpdateIdentityProviderCommandOutput) => void
|
|
3787
|
-
): void;
|
|
3788
|
-
public updateIdentityProvider(
|
|
3789
|
-
args: UpdateIdentityProviderCommandInput,
|
|
3790
|
-
options: __HttpHandlerOptions,
|
|
3791
|
-
cb: (err: any, data?: UpdateIdentityProviderCommandOutput) => void
|
|
3792
|
-
): void;
|
|
3793
|
-
public updateIdentityProvider(
|
|
3794
|
-
args: UpdateIdentityProviderCommandInput,
|
|
3795
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateIdentityProviderCommandOutput) => void),
|
|
3796
|
-
cb?: (err: any, data?: UpdateIdentityProviderCommandOutput) => void
|
|
3797
|
-
): Promise<UpdateIdentityProviderCommandOutput> | void {
|
|
3798
|
-
const command = new UpdateIdentityProviderCommand(args);
|
|
3799
|
-
if (typeof optionsOrCb === "function") {
|
|
3800
|
-
this.send(command, optionsOrCb);
|
|
3801
|
-
} else if (typeof cb === "function") {
|
|
3802
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3803
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3804
|
-
} else {
|
|
3805
|
-
return this.send(command, optionsOrCb);
|
|
3806
|
-
}
|
|
3807
|
-
}
|
|
3808
|
-
|
|
3809
|
-
/**
|
|
3810
|
-
* <p>Updates the name and scopes of resource server. All other fields are read-only.</p>
|
|
3811
|
-
* <important>
|
|
3812
|
-
* <p>If you don't provide a value for an attribute, it will be set to the default
|
|
3813
|
-
* value.</p>
|
|
3814
|
-
* </important>
|
|
3815
|
-
*/
|
|
3816
|
-
public updateResourceServer(
|
|
3817
|
-
args: UpdateResourceServerCommandInput,
|
|
3818
|
-
options?: __HttpHandlerOptions
|
|
3819
|
-
): Promise<UpdateResourceServerCommandOutput>;
|
|
3820
|
-
public updateResourceServer(
|
|
3821
|
-
args: UpdateResourceServerCommandInput,
|
|
3822
|
-
cb: (err: any, data?: UpdateResourceServerCommandOutput) => void
|
|
3823
|
-
): void;
|
|
3824
|
-
public updateResourceServer(
|
|
3825
|
-
args: UpdateResourceServerCommandInput,
|
|
3826
|
-
options: __HttpHandlerOptions,
|
|
3827
|
-
cb: (err: any, data?: UpdateResourceServerCommandOutput) => void
|
|
3828
|
-
): void;
|
|
3829
|
-
public updateResourceServer(
|
|
3830
|
-
args: UpdateResourceServerCommandInput,
|
|
3831
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateResourceServerCommandOutput) => void),
|
|
3832
|
-
cb?: (err: any, data?: UpdateResourceServerCommandOutput) => void
|
|
3833
|
-
): Promise<UpdateResourceServerCommandOutput> | void {
|
|
3834
|
-
const command = new UpdateResourceServerCommand(args);
|
|
3835
|
-
if (typeof optionsOrCb === "function") {
|
|
3836
|
-
this.send(command, optionsOrCb);
|
|
3837
|
-
} else if (typeof cb === "function") {
|
|
3838
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3839
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3840
|
-
} else {
|
|
3841
|
-
return this.send(command, optionsOrCb);
|
|
3842
|
-
}
|
|
3843
|
-
}
|
|
3844
|
-
|
|
3845
|
-
/**
|
|
3846
|
-
* <p>Allows a user to update a specific attribute (one at a time).</p>
|
|
3847
|
-
*
|
|
3848
|
-
* <note>
|
|
3849
|
-
* <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
|
|
3850
|
-
* telecom carriers require that you register an origination phone number before you can
|
|
3851
|
-
* send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
|
|
3852
|
-
* you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
|
|
3853
|
-
* Cognito will use the the registered number automatically. Otherwise, Cognito users that must
|
|
3854
|
-
* receive SMS messages might be unable to sign up, activate their accounts, or sign
|
|
3855
|
-
* in.</p>
|
|
3856
|
-
* <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
|
|
3857
|
-
* <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
|
|
3858
|
-
* mode</a>
|
|
3859
|
-
* </i>, you’ll have limitations, such as sending messages
|
|
3860
|
-
* to only verified phone numbers. After testing in the sandbox environment, you can
|
|
3861
|
-
* move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
|
|
3862
|
-
* Cognito Developer Guide</i>. </p>
|
|
3863
|
-
* </note>
|
|
3864
|
-
*/
|
|
3865
|
-
public updateUserAttributes(
|
|
3866
|
-
args: UpdateUserAttributesCommandInput,
|
|
3867
|
-
options?: __HttpHandlerOptions
|
|
3868
|
-
): Promise<UpdateUserAttributesCommandOutput>;
|
|
3869
|
-
public updateUserAttributes(
|
|
3870
|
-
args: UpdateUserAttributesCommandInput,
|
|
3871
|
-
cb: (err: any, data?: UpdateUserAttributesCommandOutput) => void
|
|
3872
|
-
): void;
|
|
3873
|
-
public updateUserAttributes(
|
|
3874
|
-
args: UpdateUserAttributesCommandInput,
|
|
3875
|
-
options: __HttpHandlerOptions,
|
|
3876
|
-
cb: (err: any, data?: UpdateUserAttributesCommandOutput) => void
|
|
3877
|
-
): void;
|
|
3878
|
-
public updateUserAttributes(
|
|
3879
|
-
args: UpdateUserAttributesCommandInput,
|
|
3880
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateUserAttributesCommandOutput) => void),
|
|
3881
|
-
cb?: (err: any, data?: UpdateUserAttributesCommandOutput) => void
|
|
3882
|
-
): Promise<UpdateUserAttributesCommandOutput> | void {
|
|
3883
|
-
const command = new UpdateUserAttributesCommand(args);
|
|
3884
|
-
if (typeof optionsOrCb === "function") {
|
|
3885
|
-
this.send(command, optionsOrCb);
|
|
3886
|
-
} else if (typeof cb === "function") {
|
|
3887
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3888
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3889
|
-
} else {
|
|
3890
|
-
return this.send(command, optionsOrCb);
|
|
3891
|
-
}
|
|
3892
|
-
}
|
|
3893
|
-
|
|
3894
|
-
/**
|
|
3895
|
-
* <p>Updates the specified user pool with the specified attributes. You can get a list of
|
|
3896
|
-
* the current user pool settings using <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeUserPool.html">DescribeUserPool</a>. If you don't provide a value for an attribute, it will be set to the default
|
|
3897
|
-
* value.</p>
|
|
3898
|
-
*
|
|
3899
|
-
* <note>
|
|
3900
|
-
* <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
|
|
3901
|
-
* telecom carriers require that you register an origination phone number before you can
|
|
3902
|
-
* send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
|
|
3903
|
-
* you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
|
|
3904
|
-
* Cognito will use the the registered number automatically. Otherwise, Cognito users that must
|
|
3905
|
-
* receive SMS messages might be unable to sign up, activate their accounts, or sign
|
|
3906
|
-
* in.</p>
|
|
3907
|
-
* <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
|
|
3908
|
-
* <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
|
|
3909
|
-
* mode</a>
|
|
3910
|
-
* </i>, you’ll have limitations, such as sending messages
|
|
3911
|
-
* to only verified phone numbers. After testing in the sandbox environment, you can
|
|
3912
|
-
* move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
|
|
3913
|
-
* Cognito Developer Guide</i>. </p>
|
|
3914
|
-
* </note>
|
|
3915
|
-
*/
|
|
3916
|
-
public updateUserPool(
|
|
3917
|
-
args: UpdateUserPoolCommandInput,
|
|
3918
|
-
options?: __HttpHandlerOptions
|
|
3919
|
-
): Promise<UpdateUserPoolCommandOutput>;
|
|
3920
|
-
public updateUserPool(
|
|
3921
|
-
args: UpdateUserPoolCommandInput,
|
|
3922
|
-
cb: (err: any, data?: UpdateUserPoolCommandOutput) => void
|
|
3923
|
-
): void;
|
|
3924
|
-
public updateUserPool(
|
|
3925
|
-
args: UpdateUserPoolCommandInput,
|
|
3926
|
-
options: __HttpHandlerOptions,
|
|
3927
|
-
cb: (err: any, data?: UpdateUserPoolCommandOutput) => void
|
|
3928
|
-
): void;
|
|
3929
|
-
public updateUserPool(
|
|
3930
|
-
args: UpdateUserPoolCommandInput,
|
|
3931
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateUserPoolCommandOutput) => void),
|
|
3932
|
-
cb?: (err: any, data?: UpdateUserPoolCommandOutput) => void
|
|
3933
|
-
): Promise<UpdateUserPoolCommandOutput> | void {
|
|
3934
|
-
const command = new UpdateUserPoolCommand(args);
|
|
3935
|
-
if (typeof optionsOrCb === "function") {
|
|
3936
|
-
this.send(command, optionsOrCb);
|
|
3937
|
-
} else if (typeof cb === "function") {
|
|
3938
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3939
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3940
|
-
} else {
|
|
3941
|
-
return this.send(command, optionsOrCb);
|
|
3942
|
-
}
|
|
3943
|
-
}
|
|
3944
|
-
|
|
3945
|
-
/**
|
|
3946
|
-
* <p>Updates the specified user pool app client with the specified attributes. You can get
|
|
3947
|
-
* a list of the current user pool app client settings using <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeUserPoolClient.html">DescribeUserPoolClient</a>.</p>
|
|
3948
|
-
* <important>
|
|
3949
|
-
* <p>If you don't provide a value for an attribute, it will be set to the default
|
|
3950
|
-
* value.</p>
|
|
3951
|
-
* </important>
|
|
3952
|
-
* <p>You can also use this operation to enable token revocation for user pool clients. For more information
|
|
3953
|
-
* about revoking tokens, see <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_RevokeToken.html">RevokeToken</a>.</p>
|
|
3954
|
-
*/
|
|
3955
|
-
public updateUserPoolClient(
|
|
3956
|
-
args: UpdateUserPoolClientCommandInput,
|
|
3957
|
-
options?: __HttpHandlerOptions
|
|
3958
|
-
): Promise<UpdateUserPoolClientCommandOutput>;
|
|
3959
|
-
public updateUserPoolClient(
|
|
3960
|
-
args: UpdateUserPoolClientCommandInput,
|
|
3961
|
-
cb: (err: any, data?: UpdateUserPoolClientCommandOutput) => void
|
|
3962
|
-
): void;
|
|
3963
|
-
public updateUserPoolClient(
|
|
3964
|
-
args: UpdateUserPoolClientCommandInput,
|
|
3965
|
-
options: __HttpHandlerOptions,
|
|
3966
|
-
cb: (err: any, data?: UpdateUserPoolClientCommandOutput) => void
|
|
3967
|
-
): void;
|
|
3968
|
-
public updateUserPoolClient(
|
|
3969
|
-
args: UpdateUserPoolClientCommandInput,
|
|
3970
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateUserPoolClientCommandOutput) => void),
|
|
3971
|
-
cb?: (err: any, data?: UpdateUserPoolClientCommandOutput) => void
|
|
3972
|
-
): Promise<UpdateUserPoolClientCommandOutput> | void {
|
|
3973
|
-
const command = new UpdateUserPoolClientCommand(args);
|
|
3974
|
-
if (typeof optionsOrCb === "function") {
|
|
3975
|
-
this.send(command, optionsOrCb);
|
|
3976
|
-
} else if (typeof cb === "function") {
|
|
3977
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
3978
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
3979
|
-
} else {
|
|
3980
|
-
return this.send(command, optionsOrCb);
|
|
3981
|
-
}
|
|
3982
|
-
}
|
|
3983
|
-
|
|
3984
|
-
/**
|
|
3985
|
-
* <p>Updates the Secure Sockets Layer (SSL) certificate for the custom domain for your user
|
|
3986
|
-
* pool.</p>
|
|
3987
|
-
* <p>You can use this operation to provide the Amazon Resource Name (ARN) of a new
|
|
3988
|
-
* certificate to Amazon Cognito. You cannot use it to change the domain for a user
|
|
3989
|
-
* pool.</p>
|
|
3990
|
-
* <p>A custom domain is used to host the Amazon Cognito hosted UI, which provides sign-up
|
|
3991
|
-
* and sign-in pages for your application. When you set up a custom domain, you provide a
|
|
3992
|
-
* certificate that you manage with Certificate Manager (ACM). When necessary, you can
|
|
3993
|
-
* use this operation to change the certificate that you applied to your custom
|
|
3994
|
-
* domain.</p>
|
|
3995
|
-
* <p>Usually, this is unnecessary following routine certificate renewal with ACM. When you
|
|
3996
|
-
* renew your existing certificate in ACM, the ARN for your certificate remains the same,
|
|
3997
|
-
* and your custom domain uses the new certificate automatically.</p>
|
|
3998
|
-
* <p>However, if you replace your existing certificate with a new one, ACM gives the new
|
|
3999
|
-
* certificate a new ARN. To apply the new certificate to your custom domain, you must
|
|
4000
|
-
* provide this ARN to Amazon Cognito.</p>
|
|
4001
|
-
* <p>When you add your new certificate in ACM, you must choose US East (N. Virginia) as the
|
|
4002
|
-
* Region.</p>
|
|
4003
|
-
* <p>After you submit your request, Amazon Cognito requires up to 1 hour to distribute your
|
|
4004
|
-
* new certificate to your custom domain.</p>
|
|
4005
|
-
* <p>For more information about adding a custom domain to your user pool, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-add-custom-domain.html">Using Your Own Domain for the Hosted UI</a>.</p>
|
|
4006
|
-
*/
|
|
4007
|
-
public updateUserPoolDomain(
|
|
4008
|
-
args: UpdateUserPoolDomainCommandInput,
|
|
4009
|
-
options?: __HttpHandlerOptions
|
|
4010
|
-
): Promise<UpdateUserPoolDomainCommandOutput>;
|
|
4011
|
-
public updateUserPoolDomain(
|
|
4012
|
-
args: UpdateUserPoolDomainCommandInput,
|
|
4013
|
-
cb: (err: any, data?: UpdateUserPoolDomainCommandOutput) => void
|
|
4014
|
-
): void;
|
|
4015
|
-
public updateUserPoolDomain(
|
|
4016
|
-
args: UpdateUserPoolDomainCommandInput,
|
|
4017
|
-
options: __HttpHandlerOptions,
|
|
4018
|
-
cb: (err: any, data?: UpdateUserPoolDomainCommandOutput) => void
|
|
4019
|
-
): void;
|
|
4020
|
-
public updateUserPoolDomain(
|
|
4021
|
-
args: UpdateUserPoolDomainCommandInput,
|
|
4022
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateUserPoolDomainCommandOutput) => void),
|
|
4023
|
-
cb?: (err: any, data?: UpdateUserPoolDomainCommandOutput) => void
|
|
4024
|
-
): Promise<UpdateUserPoolDomainCommandOutput> | void {
|
|
4025
|
-
const command = new UpdateUserPoolDomainCommand(args);
|
|
4026
|
-
if (typeof optionsOrCb === "function") {
|
|
4027
|
-
this.send(command, optionsOrCb);
|
|
4028
|
-
} else if (typeof cb === "function") {
|
|
4029
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
4030
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
4031
|
-
} else {
|
|
4032
|
-
return this.send(command, optionsOrCb);
|
|
4033
|
-
}
|
|
4034
|
-
}
|
|
4035
|
-
|
|
4036
|
-
/**
|
|
4037
|
-
* <p>Use this API to register a user's entered TOTP code and mark the user's software token
|
|
4038
|
-
* MFA status as "verified" if successful. The request takes an access token or a session
|
|
4039
|
-
* string, but not both.</p>
|
|
4040
|
-
*/
|
|
4041
|
-
public verifySoftwareToken(
|
|
4042
|
-
args: VerifySoftwareTokenCommandInput,
|
|
4043
|
-
options?: __HttpHandlerOptions
|
|
4044
|
-
): Promise<VerifySoftwareTokenCommandOutput>;
|
|
4045
|
-
public verifySoftwareToken(
|
|
4046
|
-
args: VerifySoftwareTokenCommandInput,
|
|
4047
|
-
cb: (err: any, data?: VerifySoftwareTokenCommandOutput) => void
|
|
4048
|
-
): void;
|
|
4049
|
-
public verifySoftwareToken(
|
|
4050
|
-
args: VerifySoftwareTokenCommandInput,
|
|
4051
|
-
options: __HttpHandlerOptions,
|
|
4052
|
-
cb: (err: any, data?: VerifySoftwareTokenCommandOutput) => void
|
|
4053
|
-
): void;
|
|
4054
|
-
public verifySoftwareToken(
|
|
4055
|
-
args: VerifySoftwareTokenCommandInput,
|
|
4056
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: VerifySoftwareTokenCommandOutput) => void),
|
|
4057
|
-
cb?: (err: any, data?: VerifySoftwareTokenCommandOutput) => void
|
|
4058
|
-
): Promise<VerifySoftwareTokenCommandOutput> | void {
|
|
4059
|
-
const command = new VerifySoftwareTokenCommand(args);
|
|
4060
|
-
if (typeof optionsOrCb === "function") {
|
|
4061
|
-
this.send(command, optionsOrCb);
|
|
4062
|
-
} else if (typeof cb === "function") {
|
|
4063
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
4064
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
4065
|
-
} else {
|
|
4066
|
-
return this.send(command, optionsOrCb);
|
|
4067
|
-
}
|
|
4068
|
-
}
|
|
4069
|
-
|
|
4070
|
-
/**
|
|
4071
|
-
* <p>Verifies the specified user attributes in the user pool.</p>
|
|
4072
|
-
*/
|
|
4073
|
-
public verifyUserAttribute(
|
|
4074
|
-
args: VerifyUserAttributeCommandInput,
|
|
4075
|
-
options?: __HttpHandlerOptions
|
|
4076
|
-
): Promise<VerifyUserAttributeCommandOutput>;
|
|
4077
|
-
public verifyUserAttribute(
|
|
4078
|
-
args: VerifyUserAttributeCommandInput,
|
|
4079
|
-
cb: (err: any, data?: VerifyUserAttributeCommandOutput) => void
|
|
4080
|
-
): void;
|
|
4081
|
-
public verifyUserAttribute(
|
|
4082
|
-
args: VerifyUserAttributeCommandInput,
|
|
4083
|
-
options: __HttpHandlerOptions,
|
|
4084
|
-
cb: (err: any, data?: VerifyUserAttributeCommandOutput) => void
|
|
4085
|
-
): void;
|
|
4086
|
-
public verifyUserAttribute(
|
|
4087
|
-
args: VerifyUserAttributeCommandInput,
|
|
4088
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: VerifyUserAttributeCommandOutput) => void),
|
|
4089
|
-
cb?: (err: any, data?: VerifyUserAttributeCommandOutput) => void
|
|
4090
|
-
): Promise<VerifyUserAttributeCommandOutput> | void {
|
|
4091
|
-
const command = new VerifyUserAttributeCommand(args);
|
|
4092
|
-
if (typeof optionsOrCb === "function") {
|
|
4093
|
-
this.send(command, optionsOrCb);
|
|
4094
|
-
} else if (typeof cb === "function") {
|
|
4095
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
4096
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
4097
|
-
} else {
|
|
4098
|
-
return this.send(command, optionsOrCb);
|
|
4099
|
-
}
|
|
4100
|
-
}
|
|
4101
|
-
}
|