/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cognito-idp-2016-04-18.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.CognitoIdentityProvider.Model;
namespace Amazon.CognitoIdentityProvider
{
///
/// Interface for accessing CognitoIdentityProvider
///
/// Using the Amazon Cognito user pools API, you can create a user pool to manage directories
/// and users. You can authenticate a user to obtain tokens related to user identity and
/// access policies.
///
///
///
/// This API reference provides information about user pools in Amazon Cognito user pools.
///
///
///
/// For more information, see the Amazon
/// Cognito Documentation.
///
///
public partial interface IAmazonCognitoIdentityProvider : IAmazonService, IDisposable
{
#if AWS_ASYNC_ENUMERABLES_API
///
/// Paginators for the service
///
ICognitoIdentityProviderPaginatorFactory Paginators { get; }
#endif
#region AddCustomAttributes
///
/// Adds additional user attributes to the user pool schema.
///
/// Container for the necessary parameters to execute the AddCustomAttributes service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AddCustomAttributes service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when you're trying to modify a user pool while a user import
/// job is in progress for that pool.
///
/// REST API Reference for AddCustomAttributes Operation
Task AddCustomAttributesAsync(AddCustomAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AdminAddUserToGroup
///
/// Adds the specified user to the specified group.
///
///
///
/// Calling this action requires developer credentials.
///
///
/// Container for the necessary parameters to execute the AdminAddUserToGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AdminAddUserToGroup service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for AdminAddUserToGroup Operation
Task AdminAddUserToGroupAsync(AdminAddUserToGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AdminConfirmSignUp
///
/// Confirms user registration as an admin without using a confirmation code. Works on
/// any user.
///
///
///
/// Calling this action requires developer credentials.
///
///
/// Container for the necessary parameters to execute the AdminConfirmSignUp service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AdminConfirmSignUp service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when Amazon Cognito encounters an invalid Lambda response.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user exceeds the limit for a requested Amazon Web
/// Services resource.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many failed attempts for a given
/// action, such as sign-in.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when Amazon Cognito encounters an unexpected exception with
/// Lambda.
///
///
/// This exception is thrown when the Amazon Cognito service encounters a user validation
/// exception with the Lambda service.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for AdminConfirmSignUp Operation
Task AdminConfirmSignUpAsync(AdminConfirmSignUpRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AdminCreateUser
///
/// Creates a new user in the specified user pool.
///
///
///
/// If MessageAction
isn't set, the default is to send a welcome message
/// via email or phone (SMS).
///
///
///
/// This action might generate an SMS text message. Starting June 1, 2021, US telecom
/// carriers require you to register an origination phone number before you can send SMS
/// messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you
/// must register a phone number with Amazon
/// Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise,
/// Amazon Cognito users who must receive SMS messages might not be able to sign up, activate
/// their accounts, or sign in.
///
///
///
/// If you have never used SMS text messages with Amazon Cognito or any other Amazon Web
/// Service, Amazon Simple Notification Service might place your account in the SMS sandbox.
/// In sandbox
/// mode , you can send messages only to verified phone numbers. After you test
/// your app while in the sandbox environment, you can move out of the sandbox and into
/// production. For more information, see
/// SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer
/// Guide.
///
///
///
/// This message is based on a template that you configured in your call to create or
/// update a user pool. This template includes your custom sign-up instructions and placeholders
/// for user name and temporary password.
///
///
///
/// Alternatively, you can call AdminCreateUser
with SUPPRESS
/// for the MessageAction
parameter, and Amazon Cognito won't send any email.
///
///
///
///
/// In either case, the user will be in the FORCE_CHANGE_PASSWORD
state until
/// they sign in and change their password.
///
///
///
/// AdminCreateUser
requires developer credentials.
///
///
/// Container for the necessary parameters to execute the AdminCreateUser service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AdminCreateUser service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when a verification code fails to deliver successfully.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when Amazon Cognito encounters an invalid Lambda response.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when Amazon Cognito encounters an invalid password.
///
///
/// This exception is returned when the role provided for SMS configuration doesn't have
/// permission to publish using Amazon SNS.
///
///
/// This exception is thrown when the trust relationship is not valid for the role provided
/// for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com
/// or the external ID provided in the role does not match what is provided in the SMS
/// configuration for the user pool.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when a precondition is not met.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when Amazon Cognito encounters an unexpected exception with
/// Lambda.
///
///
/// The request failed because the user is in an unsupported state.
///
///
/// This exception is thrown when the Amazon Cognito service encounters a user validation
/// exception with the Lambda service.
///
///
/// This exception is thrown when Amazon Cognito encounters a user name that already exists
/// in the user pool.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for AdminCreateUser Operation
Task AdminCreateUserAsync(AdminCreateUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AdminDeleteUser
///
/// Deletes a user as an administrator. Works on any user.
///
///
///
/// Calling this action requires developer credentials.
///
///
/// Container for the necessary parameters to execute the AdminDeleteUser service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AdminDeleteUser service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for AdminDeleteUser Operation
Task AdminDeleteUserAsync(AdminDeleteUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AdminDeleteUserAttributes
///
/// Deletes the user attributes in a user pool as an administrator. Works on any user.
///
///
///
/// Calling this action requires developer credentials.
///
///
/// Container for the necessary parameters to execute the AdminDeleteUserAttributes service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AdminDeleteUserAttributes service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for AdminDeleteUserAttributes Operation
Task AdminDeleteUserAttributesAsync(AdminDeleteUserAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AdminDisableProviderForUser
///
/// Prevents the user from signing in with the specified external (SAML or social) identity
/// provider (IdP). If the user that you want to deactivate is a Amazon Cognito user pools
/// native username + password user, they can't use their password to sign in. If the
/// user to deactivate is a linked external IdP user, any link between that user and an
/// existing user is removed. When the external user signs in again, and the user is no
/// longer attached to the previously linked DestinationUser
, the user must
/// create a new user account. See AdminLinkProviderForUser.
///
///
///
/// This action is enabled only for admin access and requires developer credentials.
///
///
///
/// The ProviderName
must match the value specified when creating an IdP
/// for the pool.
///
///
///
/// To deactivate a native username + password user, the ProviderName
value
/// must be Cognito
and the ProviderAttributeName
must be Cognito_Subject
.
/// The ProviderAttributeValue
must be the name that is used in the user
/// pool for the user.
///
///
///
/// The ProviderAttributeName
must always be Cognito_Subject
/// for social IdPs. The ProviderAttributeValue
must always be the exact
/// subject that was used when the user was originally linked as a source user.
///
///
///
/// For de-linking a SAML identity, there are two scenarios. If the linked identity has
/// not yet been used to sign in, the ProviderAttributeName
and ProviderAttributeValue
/// must be the same values that were used for the SourceUser
when the identities
/// were originally linked using AdminLinkProviderForUser
call. (If the
/// linking was done with ProviderAttributeName
set to Cognito_Subject
,
/// the same applies here). However, if the user has already signed in, the ProviderAttributeName
/// must be Cognito_Subject
and ProviderAttributeValue
must
/// be the subject of the SAML assertion.
///
///
/// Container for the necessary parameters to execute the AdminDisableProviderForUser service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AdminDisableProviderForUser service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when a user tries to confirm the account with an email address
/// or phone number that has already been supplied as an alias for a different user profile.
/// This exception indicates that an account with this email address or phone already
/// exists in a user pool that you've configured to use email address or phone number
/// as a sign-in alias.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for AdminDisableProviderForUser Operation
Task AdminDisableProviderForUserAsync(AdminDisableProviderForUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AdminDisableUser
///
/// Deactivates a user and revokes all access tokens for the user. A deactivated user
/// can't sign in, but still appears in the responses to GetUser
and ListUsers
/// API requests.
///
///
///
/// You must make this API request with Amazon Web Services credentials that have cognito-idp:AdminDisableUser
/// permissions.
///
///
/// Container for the necessary parameters to execute the AdminDisableUser service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AdminDisableUser service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for AdminDisableUser Operation
Task AdminDisableUserAsync(AdminDisableUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AdminEnableUser
///
/// Enables the specified user as an administrator. Works on any user.
///
///
///
/// Calling this action requires developer credentials.
///
///
/// Container for the necessary parameters to execute the AdminEnableUser service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AdminEnableUser service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for AdminEnableUser Operation
Task AdminEnableUserAsync(AdminEnableUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AdminForgetDevice
///
/// Forgets the device, as an administrator.
///
///
///
/// Calling this action requires developer credentials.
///
///
/// Container for the necessary parameters to execute the AdminForgetDevice service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AdminForgetDevice service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when the user pool configuration is not valid.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for AdminForgetDevice Operation
Task AdminForgetDeviceAsync(AdminForgetDeviceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AdminGetDevice
///
/// Gets the device, as an administrator.
///
///
///
/// Calling this action requires developer credentials.
///
///
/// Container for the necessary parameters to execute the AdminGetDevice service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AdminGetDevice service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when the user pool configuration is not valid.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for AdminGetDevice Operation
Task AdminGetDeviceAsync(AdminGetDeviceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AdminGetUser
///
/// Gets the specified user by user name in a user pool as an administrator. Works on
/// any user.
///
///
///
/// Calling this action requires developer credentials.
///
///
/// Container for the necessary parameters to execute the AdminGetUser service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AdminGetUser service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for AdminGetUser Operation
Task AdminGetUserAsync(AdminGetUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AdminInitiateAuth
///
/// Initiates the authentication flow, as an administrator.
///
///
///
/// This action might generate an SMS text message. Starting June 1, 2021, US telecom
/// carriers require you to register an origination phone number before you can send SMS
/// messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you
/// must register a phone number with Amazon
/// Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise,
/// Amazon Cognito users who must receive SMS messages might not be able to sign up, activate
/// their accounts, or sign in.
///
///
///
/// If you have never used SMS text messages with Amazon Cognito or any other Amazon Web
/// Service, Amazon Simple Notification Service might place your account in the SMS sandbox.
/// In sandbox
/// mode , you can send messages only to verified phone numbers. After you test
/// your app while in the sandbox environment, you can move out of the sandbox and into
/// production. For more information, see
/// SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer
/// Guide.
///
///
///
/// Calling this action requires developer credentials.
///
///
/// Container for the necessary parameters to execute the AdminInitiateAuth service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AdminInitiateAuth service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when Amazon Cognito encounters an invalid Lambda response.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is returned when the role provided for SMS configuration doesn't have
/// permission to publish using Amazon SNS.
///
///
/// This exception is thrown when the trust relationship is not valid for the role provided
/// for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com
/// or the external ID provided in the role does not match what is provided in the SMS
/// configuration for the user pool.
///
///
/// This exception is thrown when the user pool configuration is not valid.
///
///
/// This exception is thrown when Amazon Cognito can't find a multi-factor authentication
/// (MFA) method.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when a password reset is required.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when Amazon Cognito encounters an unexpected exception with
/// Lambda.
///
///
/// This exception is thrown when the Amazon Cognito service encounters a user validation
/// exception with the Lambda service.
///
///
/// This exception is thrown when a user isn't confirmed successfully.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for AdminInitiateAuth Operation
Task AdminInitiateAuthAsync(AdminInitiateAuthRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AdminLinkProviderForUser
///
/// Links an existing user account in a user pool (DestinationUser
) to an
/// identity from an external IdP (SourceUser
) based on a specified attribute
/// name and value from the external IdP. This allows you to create a link from the existing
/// user account to an external federated user identity that has not yet been used to
/// sign in. You can then use the federated user identity to sign in as the existing user
/// account.
///
///
///
/// For example, if there is an existing user with a username and password, this API
/// links that user to a federated user identity. When the user signs in with a federated
/// user identity, they sign in as the existing user account.
///
///
///
/// The maximum number of federated identities linked to a user is five.
///
///
///
/// Because this API allows a user with an external federated identity to sign in as an
/// existing user in the user pool, it is critical that it only be used with external
/// IdPs and provider attributes that have been trusted by the application owner.
///
///
///
/// This action is administrative and requires developer credentials.
///
///
/// Container for the necessary parameters to execute the AdminLinkProviderForUser service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AdminLinkProviderForUser service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when a user tries to confirm the account with an email address
/// or phone number that has already been supplied as an alias for a different user profile.
/// This exception indicates that an account with this email address or phone already
/// exists in a user pool that you've configured to use email address or phone number
/// as a sign-in alias.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user exceeds the limit for a requested Amazon Web
/// Services resource.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for AdminLinkProviderForUser Operation
Task AdminLinkProviderForUserAsync(AdminLinkProviderForUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AdminListDevices
///
/// Lists devices, as an administrator.
///
///
///
/// Calling this action requires developer credentials.
///
///
/// Container for the necessary parameters to execute the AdminListDevices service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AdminListDevices service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when the user pool configuration is not valid.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for AdminListDevices Operation
Task AdminListDevicesAsync(AdminListDevicesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AdminListGroupsForUser
///
/// Lists the groups that the user belongs to.
///
///
///
/// Calling this action requires developer credentials.
///
///
/// Container for the necessary parameters to execute the AdminListGroupsForUser service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AdminListGroupsForUser service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for AdminListGroupsForUser Operation
Task AdminListGroupsForUserAsync(AdminListGroupsForUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AdminListUserAuthEvents
///
/// A history of user activity and any risks detected as part of Amazon Cognito advanced
/// security.
///
/// Container for the necessary parameters to execute the AdminListUserAuthEvents service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AdminListUserAuthEvents service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when a user isn't found.
///
///
/// This exception is thrown when user pool add-ons aren't enabled.
///
/// REST API Reference for AdminListUserAuthEvents Operation
Task AdminListUserAuthEventsAsync(AdminListUserAuthEventsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AdminRemoveUserFromGroup
///
/// Removes the specified user from the specified group.
///
///
///
/// Calling this action requires developer credentials.
///
///
/// Container for the necessary parameters to execute the AdminRemoveUserFromGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AdminRemoveUserFromGroup service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for AdminRemoveUserFromGroup Operation
Task AdminRemoveUserFromGroupAsync(AdminRemoveUserFromGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AdminResetUserPassword
///
/// Resets the specified user's password in a user pool as an administrator. Works on
/// any user.
///
///
///
/// When a developer calls this API, the current password is invalidated, so it must be
/// changed. If a user tries to sign in after the API is called, the app will get a PasswordResetRequiredException
/// exception back and should direct the user down the flow to reset the password, which
/// is the same as the forgot password flow. In addition, if the user pool has phone verification
/// selected and a verified phone number exists for the user, or if email verification
/// is selected and a verified email exists for the user, calling this API will also result
/// in sending a message to the end user with the code to change their password.
///
///
///
/// This action might generate an SMS text message. Starting June 1, 2021, US telecom
/// carriers require you to register an origination phone number before you can send SMS
/// messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you
/// must register a phone number with Amazon
/// Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise,
/// Amazon Cognito users who must receive SMS messages might not be able to sign up, activate
/// their accounts, or sign in.
///
///
///
/// If you have never used SMS text messages with Amazon Cognito or any other Amazon Web
/// Service, Amazon Simple Notification Service might place your account in the SMS sandbox.
/// In sandbox
/// mode , you can send messages only to verified phone numbers. After you test
/// your app while in the sandbox environment, you can move out of the sandbox and into
/// production. For more information, see
/// SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer
/// Guide.
///
///
///
/// Calling this action requires developer credentials.
///
///
/// Container for the necessary parameters to execute the AdminResetUserPassword service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AdminResetUserPassword service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when Amazon Cognito isn't allowed to use your email identity.
/// HTTP status code: 400.
///
///
/// This exception is thrown when Amazon Cognito encounters an invalid Lambda response.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is returned when the role provided for SMS configuration doesn't have
/// permission to publish using Amazon SNS.
///
///
/// This exception is thrown when the trust relationship is not valid for the role provided
/// for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com
/// or the external ID provided in the role does not match what is provided in the SMS
/// configuration for the user pool.
///
///
/// This exception is thrown when a user exceeds the limit for a requested Amazon Web
/// Services resource.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when Amazon Cognito encounters an unexpected exception with
/// Lambda.
///
///
/// This exception is thrown when the Amazon Cognito service encounters a user validation
/// exception with the Lambda service.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for AdminResetUserPassword Operation
Task AdminResetUserPasswordAsync(AdminResetUserPasswordRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AdminRespondToAuthChallenge
///
/// Responds to an authentication challenge, as an administrator.
///
///
///
/// This action might generate an SMS text message. Starting June 1, 2021, US telecom
/// carriers require you to register an origination phone number before you can send SMS
/// messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you
/// must register a phone number with Amazon
/// Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise,
/// Amazon Cognito users who must receive SMS messages might not be able to sign up, activate
/// their accounts, or sign in.
///
///
///
/// If you have never used SMS text messages with Amazon Cognito or any other Amazon Web
/// Service, Amazon Simple Notification Service might place your account in the SMS sandbox.
/// In sandbox
/// mode , you can send messages only to verified phone numbers. After you test
/// your app while in the sandbox environment, you can move out of the sandbox and into
/// production. For more information, see
/// SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer
/// Guide.
///
///
///
/// Calling this action requires developer credentials.
///
///
/// Container for the necessary parameters to execute the AdminRespondToAuthChallenge service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AdminRespondToAuthChallenge service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when a user tries to confirm the account with an email address
/// or phone number that has already been supplied as an alias for a different user profile.
/// This exception indicates that an account with this email address or phone already
/// exists in a user pool that you've configured to use email address or phone number
/// as a sign-in alias.
///
///
/// This exception is thrown if the provided code doesn't match what the server was expecting.
///
///
/// This exception is thrown if a code has expired.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when Amazon Cognito encounters an invalid Lambda response.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when Amazon Cognito encounters an invalid password.
///
///
/// This exception is returned when the role provided for SMS configuration doesn't have
/// permission to publish using Amazon SNS.
///
///
/// This exception is thrown when the trust relationship is not valid for the role provided
/// for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com
/// or the external ID provided in the role does not match what is provided in the SMS
/// configuration for the user pool.
///
///
/// This exception is thrown when the user pool configuration is not valid.
///
///
/// This exception is thrown when Amazon Cognito can't find a multi-factor authentication
/// (MFA) method.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when a password reset is required.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the software token time-based one-time password (TOTP)
/// multi-factor authentication (MFA) isn't activated for the user pool.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when Amazon Cognito encounters an unexpected exception with
/// Lambda.
///
///
/// This exception is thrown when the Amazon Cognito service encounters a user validation
/// exception with the Lambda service.
///
///
/// This exception is thrown when a user isn't confirmed successfully.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for AdminRespondToAuthChallenge Operation
Task AdminRespondToAuthChallengeAsync(AdminRespondToAuthChallengeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AdminSetUserMFAPreference
///
/// The user's multi-factor authentication (MFA) preference, including which MFA options
/// are activated, and if any are preferred. Only one factor can be set as preferred.
/// The preferred MFA factor will be used to authenticate a user if multiple factors are
/// activated. If multiple options are activated and no preference is set, a challenge
/// to choose an MFA option will be returned during sign-in.
///
/// Container for the necessary parameters to execute the AdminSetUserMFAPreference service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AdminSetUserMFAPreference service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when a password reset is required.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when a user isn't confirmed successfully.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for AdminSetUserMFAPreference Operation
Task AdminSetUserMFAPreferenceAsync(AdminSetUserMFAPreferenceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AdminSetUserPassword
///
/// Sets the specified user's password in a user pool as an administrator. Works on any
/// user.
///
///
///
/// The password can be temporary or permanent. If it is temporary, the user status enters
/// the FORCE_CHANGE_PASSWORD
state. When the user next tries to sign in,
/// the InitiateAuth/AdminInitiateAuth response will contain the NEW_PASSWORD_REQUIRED
/// challenge. If the user doesn't sign in before it expires, the user won't be able to
/// sign in, and an administrator must reset their password.
///
///
///
/// Once the user has set a new password, or the password is permanent, the user status
/// is set to Confirmed
.
///
///
/// Container for the necessary parameters to execute the AdminSetUserPassword service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AdminSetUserPassword service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when Amazon Cognito encounters an invalid password.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for AdminSetUserPassword Operation
Task AdminSetUserPasswordAsync(AdminSetUserPasswordRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AdminSetUserSettings
///
/// This action is no longer supported. You can use it to configure only SMS MFA.
/// You can't use it to configure time-based one-time password (TOTP) software token MFA.
/// To configure either type of MFA, use AdminSetUserMFAPreference
/// instead.
///
/// Container for the necessary parameters to execute the AdminSetUserSettings service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AdminSetUserSettings service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for AdminSetUserSettings Operation
Task AdminSetUserSettingsAsync(AdminSetUserSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AdminUpdateAuthEventFeedback
///
/// Provides feedback for an authentication event indicating if it was from a valid user.
/// This feedback is used for improving the risk evaluation decision for the user pool
/// as part of Amazon Cognito advanced security.
///
/// Container for the necessary parameters to execute the AdminUpdateAuthEventFeedback service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AdminUpdateAuthEventFeedback service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when a user isn't found.
///
///
/// This exception is thrown when user pool add-ons aren't enabled.
///
/// REST API Reference for AdminUpdateAuthEventFeedback Operation
Task AdminUpdateAuthEventFeedbackAsync(AdminUpdateAuthEventFeedbackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AdminUpdateDeviceStatus
///
/// Updates the device status as an administrator.
///
///
///
/// Calling this action requires developer credentials.
///
///
/// Container for the necessary parameters to execute the AdminUpdateDeviceStatus service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AdminUpdateDeviceStatus service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when the user pool configuration is not valid.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for AdminUpdateDeviceStatus Operation
Task AdminUpdateDeviceStatusAsync(AdminUpdateDeviceStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AdminUpdateUserAttributes
///
/// Updates the specified user's attributes, including developer attributes, as an administrator.
/// Works on any user.
///
///
///
/// For custom attributes, you must prepend the custom:
prefix to the attribute
/// name.
///
///
///
/// In addition to updating user attributes, this API can also be used to mark phone and
/// email as verified.
///
///
///
/// This action might generate an SMS text message. Starting June 1, 2021, US telecom
/// carriers require you to register an origination phone number before you can send SMS
/// messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you
/// must register a phone number with Amazon
/// Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise,
/// Amazon Cognito users who must receive SMS messages might not be able to sign up, activate
/// their accounts, or sign in.
///
///
///
/// If you have never used SMS text messages with Amazon Cognito or any other Amazon Web
/// Service, Amazon Simple Notification Service might place your account in the SMS sandbox.
/// In sandbox
/// mode , you can send messages only to verified phone numbers. After you test
/// your app while in the sandbox environment, you can move out of the sandbox and into
/// production. For more information, see
/// SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer
/// Guide.
///
///
///
/// Calling this action requires developer credentials.
///
///
/// Container for the necessary parameters to execute the AdminUpdateUserAttributes service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AdminUpdateUserAttributes service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when a user tries to confirm the account with an email address
/// or phone number that has already been supplied as an alias for a different user profile.
/// This exception indicates that an account with this email address or phone already
/// exists in a user pool that you've configured to use email address or phone number
/// as a sign-in alias.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when Amazon Cognito isn't allowed to use your email identity.
/// HTTP status code: 400.
///
///
/// This exception is thrown when Amazon Cognito encounters an invalid Lambda response.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is returned when the role provided for SMS configuration doesn't have
/// permission to publish using Amazon SNS.
///
///
/// This exception is thrown when the trust relationship is not valid for the role provided
/// for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com
/// or the external ID provided in the role does not match what is provided in the SMS
/// configuration for the user pool.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when Amazon Cognito encounters an unexpected exception with
/// Lambda.
///
///
/// This exception is thrown when the Amazon Cognito service encounters a user validation
/// exception with the Lambda service.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for AdminUpdateUserAttributes Operation
Task AdminUpdateUserAttributesAsync(AdminUpdateUserAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AdminUserGlobalSignOut
///
/// Signs out a user from all devices. You must sign AdminUserGlobalSignOut
/// requests with Amazon Web Services credentials. It also invalidates all refresh tokens
/// that Amazon Cognito has issued to a user. The user's current access and ID tokens
/// remain valid until they expire. By default, access and ID tokens expire one hour after
/// they're issued. A user can still use a hosted UI cookie to retrieve new tokens for
/// the duration of the cookie validity period of 1 hour.
///
///
///
/// Calling this action requires developer credentials.
///
///
/// Container for the necessary parameters to execute the AdminUserGlobalSignOut service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AdminUserGlobalSignOut service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for AdminUserGlobalSignOut Operation
Task AdminUserGlobalSignOutAsync(AdminUserGlobalSignOutRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AssociateSoftwareToken
///
/// Begins setup of time-based one-time password (TOTP) multi-factor authentication (MFA)
/// for a user, with a unique private key that Amazon Cognito generates and returns in
/// the API response. You can authorize an AssociateSoftwareToken
request
/// with either the user's access token, or a session string from a challenge response
/// that you received from Amazon Cognito.
///
///
///
/// Amazon Cognito disassociates an existing software token when you verify the new token
/// in a
/// VerifySoftwareToken API request. If you don't verify the software token and your
/// user pool doesn't require MFA, the user can then authenticate with user name and password
/// credentials alone. If your user pool requires TOTP MFA, Amazon Cognito generates an
/// MFA_SETUP
or SOFTWARE_TOKEN_SETUP
challenge each time your
/// user signs. Complete setup with AssociateSoftwareToken
and VerifySoftwareToken
.
///
///
///
/// After you set up software token MFA for your user, Amazon Cognito generates a SOFTWARE_TOKEN_MFA
/// challenge when they authenticate. Respond to this challenge with your user's TOTP.
///
///
///
/// Container for the necessary parameters to execute the AssociateSoftwareToken service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AssociateSoftwareToken service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown if two or more modifications are happening concurrently.
///
///
/// This exception is thrown when WAF doesn't allow your request based on a web ACL that's
/// associated with your user pool.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the software token time-based one-time password (TOTP)
/// multi-factor authentication (MFA) isn't activated for the user pool.
///
/// REST API Reference for AssociateSoftwareToken Operation
Task AssociateSoftwareTokenAsync(AssociateSoftwareTokenRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ChangePassword
///
/// Changes the password for a specified user in a user pool.
///
/// Container for the necessary parameters to execute the ChangePassword service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ChangePassword service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when WAF doesn't allow your request based on a web ACL that's
/// associated with your user pool.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when Amazon Cognito encounters an invalid password.
///
///
/// This exception is thrown when a user exceeds the limit for a requested Amazon Web
/// Services resource.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when a password reset is required.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when a user isn't confirmed successfully.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for ChangePassword Operation
Task ChangePasswordAsync(ChangePasswordRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ConfirmDevice
///
/// Confirms tracking of the device. This API call is the call that begins device tracking.
///
/// Container for the necessary parameters to execute the ConfirmDevice service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ConfirmDevice service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when WAF doesn't allow your request based on a web ACL that's
/// associated with your user pool.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when Amazon Cognito encounters an invalid Lambda response.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when Amazon Cognito encounters an invalid password.
///
///
/// This exception is thrown when the user pool configuration is not valid.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when a password reset is required.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when Amazon Cognito encounters a user name that already exists
/// in the user pool.
///
///
/// This exception is thrown when a user isn't confirmed successfully.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for ConfirmDevice Operation
Task ConfirmDeviceAsync(ConfirmDeviceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ConfirmForgotPassword
///
/// Allows a user to enter a confirmation code to reset a forgotten password.
///
/// Container for the necessary parameters to execute the ConfirmForgotPassword service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ConfirmForgotPassword service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown if the provided code doesn't match what the server was expecting.
///
///
/// This exception is thrown if a code has expired.
///
///
/// This exception is thrown when WAF doesn't allow your request based on a web ACL that's
/// associated with your user pool.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when Amazon Cognito encounters an invalid Lambda response.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when Amazon Cognito encounters an invalid password.
///
///
/// This exception is thrown when a user exceeds the limit for a requested Amazon Web
/// Services resource.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many failed attempts for a given
/// action, such as sign-in.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when Amazon Cognito encounters an unexpected exception with
/// Lambda.
///
///
/// This exception is thrown when the Amazon Cognito service encounters a user validation
/// exception with the Lambda service.
///
///
/// This exception is thrown when a user isn't confirmed successfully.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for ConfirmForgotPassword Operation
Task ConfirmForgotPasswordAsync(ConfirmForgotPasswordRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ConfirmSignUp
///
/// Confirms registration of a new user.
///
/// Container for the necessary parameters to execute the ConfirmSignUp service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ConfirmSignUp service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when a user tries to confirm the account with an email address
/// or phone number that has already been supplied as an alias for a different user profile.
/// This exception indicates that an account with this email address or phone already
/// exists in a user pool that you've configured to use email address or phone number
/// as a sign-in alias.
///
///
/// This exception is thrown if the provided code doesn't match what the server was expecting.
///
///
/// This exception is thrown if a code has expired.
///
///
/// This exception is thrown when WAF doesn't allow your request based on a web ACL that's
/// associated with your user pool.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when Amazon Cognito encounters an invalid Lambda response.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user exceeds the limit for a requested Amazon Web
/// Services resource.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many failed attempts for a given
/// action, such as sign-in.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when Amazon Cognito encounters an unexpected exception with
/// Lambda.
///
///
/// This exception is thrown when the Amazon Cognito service encounters a user validation
/// exception with the Lambda service.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for ConfirmSignUp Operation
Task ConfirmSignUpAsync(ConfirmSignUpRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateGroup
///
/// Creates a new group in the specified user pool.
///
///
///
/// Calling this action requires developer credentials.
///
///
/// Container for the necessary parameters to execute the CreateGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateGroup service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters a group that already exists
/// in the user pool.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user exceeds the limit for a requested Amazon Web
/// Services resource.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for CreateGroup Operation
Task CreateGroupAsync(CreateGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateIdentityProvider
///
/// Creates an IdP for a user pool.
///
/// Container for the necessary parameters to execute the CreateIdentityProvider service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateIdentityProvider service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when the provider is already supported by the user pool.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user exceeds the limit for a requested Amazon Web
/// Services resource.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for CreateIdentityProvider Operation
Task CreateIdentityProviderAsync(CreateIdentityProviderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateResourceServer
///
/// Creates a new OAuth2.0 resource server and defines custom scopes within it.
///
/// Container for the necessary parameters to execute the CreateResourceServer service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateResourceServer service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user exceeds the limit for a requested Amazon Web
/// Services resource.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for CreateResourceServer Operation
Task CreateResourceServerAsync(CreateResourceServerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateUserImportJob
///
/// Creates the user import job.
///
/// Container for the necessary parameters to execute the CreateUserImportJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateUserImportJob service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user exceeds the limit for a requested Amazon Web
/// Services resource.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when a precondition is not met.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for CreateUserImportJob Operation
Task CreateUserImportJobAsync(CreateUserImportJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateUserPool
///
/// Creates a new Amazon Cognito user pool and sets the password policy for the pool.
///
///
///
/// This action might generate an SMS text message. Starting June 1, 2021, US telecom
/// carriers require you to register an origination phone number before you can send SMS
/// messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you
/// must register a phone number with Amazon
/// Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise,
/// Amazon Cognito users who must receive SMS messages might not be able to sign up, activate
/// their accounts, or sign in.
///
///
///
/// If you have never used SMS text messages with Amazon Cognito or any other Amazon Web
/// Service, Amazon Simple Notification Service might place your account in the SMS sandbox.
/// In sandbox
/// mode , you can send messages only to verified phone numbers. After you test
/// your app while in the sandbox environment, you can move out of the sandbox and into
/// production. For more information, see
/// SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer
/// Guide.
///
///
///
/// Container for the necessary parameters to execute the CreateUserPool service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateUserPool service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when Amazon Cognito isn't allowed to use your email identity.
/// HTTP status code: 400.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is returned when the role provided for SMS configuration doesn't have
/// permission to publish using Amazon SNS.
///
///
/// This exception is thrown when the trust relationship is not valid for the role provided
/// for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com
/// or the external ID provided in the role does not match what is provided in the SMS
/// configuration for the user pool.
///
///
/// This exception is thrown when a user exceeds the limit for a requested Amazon Web
/// Services resource.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when a user pool tag can't be set or updated.
///
/// REST API Reference for CreateUserPool Operation
Task CreateUserPoolAsync(CreateUserPoolRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateUserPoolClient
///
/// Creates the user pool client.
///
///
///
/// When you create a new user pool client, token revocation is automatically activated.
/// For more information about revoking tokens, see RevokeToken.
///
///
/// Container for the necessary parameters to execute the CreateUserPoolClient service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateUserPoolClient service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the specified OAuth flow is not valid.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user exceeds the limit for a requested Amazon Web
/// Services resource.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the specified scope doesn't exist.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for CreateUserPoolClient Operation
Task CreateUserPoolClientAsync(CreateUserPoolClientRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateUserPoolDomain
///
/// Creates a new domain for a user pool.
///
/// Container for the necessary parameters to execute the CreateUserPoolDomain service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateUserPoolDomain service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user exceeds the limit for a requested Amazon Web
/// Services resource.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
/// REST API Reference for CreateUserPoolDomain Operation
Task CreateUserPoolDomainAsync(CreateUserPoolDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteGroup
///
/// Deletes a group.
///
///
///
/// Calling this action requires developer credentials.
///
///
/// Container for the necessary parameters to execute the DeleteGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteGroup service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for DeleteGroup Operation
Task DeleteGroupAsync(DeleteGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteIdentityProvider
///
/// Deletes an IdP for a user pool.
///
/// Container for the necessary parameters to execute the DeleteIdentityProvider service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteIdentityProvider service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown if two or more modifications are happening concurrently.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when the specified identifier isn't supported.
///
/// REST API Reference for DeleteIdentityProvider Operation
Task DeleteIdentityProviderAsync(DeleteIdentityProviderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteResourceServer
///
/// Deletes a resource server.
///
/// Container for the necessary parameters to execute the DeleteResourceServer service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteResourceServer service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for DeleteResourceServer Operation
Task DeleteResourceServerAsync(DeleteResourceServerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteUser
///
/// Allows a user to delete himself or herself.
///
/// Container for the necessary parameters to execute the DeleteUser service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteUser service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when WAF doesn't allow your request based on a web ACL that's
/// associated with your user pool.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when a password reset is required.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when a user isn't confirmed successfully.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for DeleteUser Operation
Task DeleteUserAsync(DeleteUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteUserAttributes
///
/// Deletes the attributes for a user.
///
/// Container for the necessary parameters to execute the DeleteUserAttributes service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteUserAttributes service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when WAF doesn't allow your request based on a web ACL that's
/// associated with your user pool.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when a password reset is required.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when a user isn't confirmed successfully.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for DeleteUserAttributes Operation
Task DeleteUserAttributesAsync(DeleteUserAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteUserPool
///
/// Deletes the specified Amazon Cognito user pool.
///
/// Container for the necessary parameters to execute the DeleteUserPool service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteUserPool service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when you're trying to modify a user pool while a user import
/// job is in progress for that pool.
///
/// REST API Reference for DeleteUserPool Operation
Task DeleteUserPoolAsync(DeleteUserPoolRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteUserPoolClient
///
/// Allows the developer to delete the user pool client.
///
/// Container for the necessary parameters to execute the DeleteUserPoolClient service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteUserPoolClient service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown if two or more modifications are happening concurrently.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for DeleteUserPoolClient Operation
Task DeleteUserPoolClientAsync(DeleteUserPoolClientRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteUserPoolDomain
///
/// Deletes a domain for a user pool.
///
/// Container for the necessary parameters to execute the DeleteUserPoolDomain service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteUserPoolDomain service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
/// REST API Reference for DeleteUserPoolDomain Operation
Task DeleteUserPoolDomainAsync(DeleteUserPoolDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeIdentityProvider
///
/// Gets information about a specific IdP.
///
/// Container for the necessary parameters to execute the DescribeIdentityProvider service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeIdentityProvider service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for DescribeIdentityProvider Operation
Task DescribeIdentityProviderAsync(DescribeIdentityProviderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeResourceServer
///
/// Describes a resource server.
///
/// Container for the necessary parameters to execute the DescribeResourceServer service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeResourceServer service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for DescribeResourceServer Operation
Task DescribeResourceServerAsync(DescribeResourceServerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeRiskConfiguration
///
/// Describes the risk configuration.
///
/// Container for the necessary parameters to execute the DescribeRiskConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeRiskConfiguration service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when user pool add-ons aren't enabled.
///
/// REST API Reference for DescribeRiskConfiguration Operation
Task DescribeRiskConfigurationAsync(DescribeRiskConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeUserImportJob
///
/// Describes the user import job.
///
/// Container for the necessary parameters to execute the DescribeUserImportJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeUserImportJob service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for DescribeUserImportJob Operation
Task DescribeUserImportJobAsync(DescribeUserImportJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeUserPool
///
/// Returns the configuration information and metadata of the specified user pool.
///
/// Container for the necessary parameters to execute the DescribeUserPool service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeUserPool service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when a user pool tag can't be set or updated.
///
/// REST API Reference for DescribeUserPool Operation
Task DescribeUserPoolAsync(DescribeUserPoolRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeUserPoolClient
///
/// Client method for returning the configuration information and metadata of the specified
/// user pool app client.
///
/// Container for the necessary parameters to execute the DescribeUserPoolClient service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeUserPoolClient service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for DescribeUserPoolClient Operation
Task DescribeUserPoolClientAsync(DescribeUserPoolClientRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeUserPoolDomain
///
/// Gets information about a domain.
///
/// Container for the necessary parameters to execute the DescribeUserPoolDomain service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeUserPoolDomain service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
/// REST API Reference for DescribeUserPoolDomain Operation
Task DescribeUserPoolDomainAsync(DescribeUserPoolDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ForgetDevice
///
/// Forgets the specified device.
///
/// Container for the necessary parameters to execute the ForgetDevice service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ForgetDevice service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when WAF doesn't allow your request based on a web ACL that's
/// associated with your user pool.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when the user pool configuration is not valid.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when a password reset is required.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when a user isn't confirmed successfully.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for ForgetDevice Operation
Task ForgetDeviceAsync(ForgetDeviceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ForgotPassword
///
/// Calling this API causes a message to be sent to the end user with a confirmation code
/// that is required to change the user's password. For the Username
parameter,
/// you can use the username or user alias. The method used to send the confirmation code
/// is sent according to the specified AccountRecoverySetting. For more information, see
/// Recovering
/// User Accounts in the Amazon Cognito Developer Guide. If neither a verified
/// phone number nor a verified email exists, an InvalidParameterException
/// is thrown. To use the confirmation code for resetting the password, call ConfirmForgotPassword.
///
///
///
///
/// This action might generate an SMS text message. Starting June 1, 2021, US telecom
/// carriers require you to register an origination phone number before you can send SMS
/// messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you
/// must register a phone number with Amazon
/// Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise,
/// Amazon Cognito users who must receive SMS messages might not be able to sign up, activate
/// their accounts, or sign in.
///
///
///
/// If you have never used SMS text messages with Amazon Cognito or any other Amazon Web
/// Service, Amazon Simple Notification Service might place your account in the SMS sandbox.
/// In sandbox
/// mode , you can send messages only to verified phone numbers. After you test
/// your app while in the sandbox environment, you can move out of the sandbox and into
/// production. For more information, see
/// SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer
/// Guide.
///
///
///
/// Container for the necessary parameters to execute the ForgotPassword service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ForgotPassword service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when a verification code fails to deliver successfully.
///
///
/// This exception is thrown when WAF doesn't allow your request based on a web ACL that's
/// associated with your user pool.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when Amazon Cognito isn't allowed to use your email identity.
/// HTTP status code: 400.
///
///
/// This exception is thrown when Amazon Cognito encounters an invalid Lambda response.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is returned when the role provided for SMS configuration doesn't have
/// permission to publish using Amazon SNS.
///
///
/// This exception is thrown when the trust relationship is not valid for the role provided
/// for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com
/// or the external ID provided in the role does not match what is provided in the SMS
/// configuration for the user pool.
///
///
/// This exception is thrown when a user exceeds the limit for a requested Amazon Web
/// Services resource.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when Amazon Cognito encounters an unexpected exception with
/// Lambda.
///
///
/// This exception is thrown when the Amazon Cognito service encounters a user validation
/// exception with the Lambda service.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for ForgotPassword Operation
Task ForgotPasswordAsync(ForgotPasswordRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetCSVHeader
///
/// Gets the header information for the comma-separated value (CSV) file to be used as
/// input for the user import job.
///
/// Container for the necessary parameters to execute the GetCSVHeader service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetCSVHeader service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for GetCSVHeader Operation
Task GetCSVHeaderAsync(GetCSVHeaderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDevice
///
/// Gets the device.
///
/// Container for the necessary parameters to execute the GetDevice service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetDevice service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when WAF doesn't allow your request based on a web ACL that's
/// associated with your user pool.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when the user pool configuration is not valid.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when a password reset is required.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when a user isn't confirmed successfully.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for GetDevice Operation
Task GetDeviceAsync(GetDeviceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetGroup
///
/// Gets a group.
///
///
///
/// Calling this action requires developer credentials.
///
///
/// Container for the necessary parameters to execute the GetGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetGroup service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for GetGroup Operation
Task GetGroupAsync(GetGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetIdentityProviderByIdentifier
///
/// Gets the specified IdP.
///
/// Container for the necessary parameters to execute the GetIdentityProviderByIdentifier service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetIdentityProviderByIdentifier service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for GetIdentityProviderByIdentifier Operation
Task GetIdentityProviderByIdentifierAsync(GetIdentityProviderByIdentifierRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetSigningCertificate
///
/// This method takes a user pool ID, and returns the signing certificate. The issued
/// certificate is valid for 10 years from the date of issue.
///
///
///
/// Amazon Cognito issues and assigns a new signing certificate annually. This process
/// returns a new value in the response to GetSigningCertificate
, but doesn't
/// invalidate the original certificate.
///
///
/// Container for the necessary parameters to execute the GetSigningCertificate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetSigningCertificate service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
/// REST API Reference for GetSigningCertificate Operation
Task GetSigningCertificateAsync(GetSigningCertificateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetUICustomization
///
/// Gets the user interface (UI) Customization information for a particular app client's
/// app UI, if any such information exists for the client. If nothing is set for the particular
/// client, but there is an existing pool level customization (the app clientId
/// is ALL
), then that information is returned. If nothing is present, then
/// an empty shape is returned.
///
/// Container for the necessary parameters to execute the GetUICustomization service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetUICustomization service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for GetUICustomization Operation
Task GetUICustomizationAsync(GetUICustomizationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetUser
///
/// Gets the user attributes and metadata for a user.
///
/// Container for the necessary parameters to execute the GetUser service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetUser service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when WAF doesn't allow your request based on a web ACL that's
/// associated with your user pool.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when a password reset is required.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when a user isn't confirmed successfully.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for GetUser Operation
Task GetUserAsync(GetUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetUserAttributeVerificationCode
///
/// Generates a user attribute verification code for the specified attribute name. Sends
/// a message to a user with a code that they must return in a VerifyUserAttribute request.
///
///
///
/// This action might generate an SMS text message. Starting June 1, 2021, US telecom
/// carriers require you to register an origination phone number before you can send SMS
/// messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you
/// must register a phone number with Amazon
/// Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise,
/// Amazon Cognito users who must receive SMS messages might not be able to sign up, activate
/// their accounts, or sign in.
///
///
///
/// If you have never used SMS text messages with Amazon Cognito or any other Amazon Web
/// Service, Amazon Simple Notification Service might place your account in the SMS sandbox.
/// In sandbox
/// mode , you can send messages only to verified phone numbers. After you test
/// your app while in the sandbox environment, you can move out of the sandbox and into
/// production. For more information, see
/// SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer
/// Guide.
///
///
///
/// Container for the necessary parameters to execute the GetUserAttributeVerificationCode service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetUserAttributeVerificationCode service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when a verification code fails to deliver successfully.
///
///
/// This exception is thrown when WAF doesn't allow your request based on a web ACL that's
/// associated with your user pool.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when Amazon Cognito isn't allowed to use your email identity.
/// HTTP status code: 400.
///
///
/// This exception is thrown when Amazon Cognito encounters an invalid Lambda response.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is returned when the role provided for SMS configuration doesn't have
/// permission to publish using Amazon SNS.
///
///
/// This exception is thrown when the trust relationship is not valid for the role provided
/// for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com
/// or the external ID provided in the role does not match what is provided in the SMS
/// configuration for the user pool.
///
///
/// This exception is thrown when a user exceeds the limit for a requested Amazon Web
/// Services resource.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when a password reset is required.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when Amazon Cognito encounters an unexpected exception with
/// Lambda.
///
///
/// This exception is thrown when the Amazon Cognito service encounters a user validation
/// exception with the Lambda service.
///
///
/// This exception is thrown when a user isn't confirmed successfully.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for GetUserAttributeVerificationCode Operation
Task GetUserAttributeVerificationCodeAsync(GetUserAttributeVerificationCodeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetUserPoolMfaConfig
///
/// Gets the user pool multi-factor authentication (MFA) configuration.
///
/// Container for the necessary parameters to execute the GetUserPoolMfaConfig service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetUserPoolMfaConfig service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for GetUserPoolMfaConfig Operation
Task GetUserPoolMfaConfigAsync(GetUserPoolMfaConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GlobalSignOut
///
/// Signs out users from all devices. It also invalidates all refresh tokens that Amazon
/// Cognito has issued to a user. A user can still use a hosted UI cookie to retrieve
/// new tokens for the duration of the 1-hour cookie validity period.
///
/// Container for the necessary parameters to execute the GlobalSignOut service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GlobalSignOut service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when WAF doesn't allow your request based on a web ACL that's
/// associated with your user pool.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when a password reset is required.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when a user isn't confirmed successfully.
///
/// REST API Reference for GlobalSignOut Operation
Task GlobalSignOutAsync(GlobalSignOutRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region InitiateAuth
///
/// Initiates sign-in for a user in the Amazon Cognito user directory. You can't sign
/// in a user with a federated IdP with InitiateAuth
. For more information,
/// see
/// Adding user pool sign-in through a third party.
///
///
///
/// This action might generate an SMS text message. Starting June 1, 2021, US telecom
/// carriers require you to register an origination phone number before you can send SMS
/// messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you
/// must register a phone number with Amazon
/// Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise,
/// Amazon Cognito users who must receive SMS messages might not be able to sign up, activate
/// their accounts, or sign in.
///
///
///
/// If you have never used SMS text messages with Amazon Cognito or any other Amazon Web
/// Service, Amazon Simple Notification Service might place your account in the SMS sandbox.
/// In sandbox
/// mode , you can send messages only to verified phone numbers. After you test
/// your app while in the sandbox environment, you can move out of the sandbox and into
/// production. For more information, see
/// SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer
/// Guide.
///
///
///
/// Container for the necessary parameters to execute the InitiateAuth service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the InitiateAuth service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when WAF doesn't allow your request based on a web ACL that's
/// associated with your user pool.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when Amazon Cognito encounters an invalid Lambda response.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is returned when the role provided for SMS configuration doesn't have
/// permission to publish using Amazon SNS.
///
///
/// This exception is thrown when the trust relationship is not valid for the role provided
/// for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com
/// or the external ID provided in the role does not match what is provided in the SMS
/// configuration for the user pool.
///
///
/// This exception is thrown when the user pool configuration is not valid.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when a password reset is required.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when Amazon Cognito encounters an unexpected exception with
/// Lambda.
///
///
/// This exception is thrown when the Amazon Cognito service encounters a user validation
/// exception with the Lambda service.
///
///
/// This exception is thrown when a user isn't confirmed successfully.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for InitiateAuth Operation
Task InitiateAuthAsync(InitiateAuthRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListDevices
///
/// Lists the sign-in devices that Amazon Cognito has registered to the current user.
///
/// Container for the necessary parameters to execute the ListDevices service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListDevices service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when WAF doesn't allow your request based on a web ACL that's
/// associated with your user pool.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when the user pool configuration is not valid.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when a password reset is required.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when a user isn't confirmed successfully.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for ListDevices Operation
Task ListDevicesAsync(ListDevicesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListGroups
///
/// Lists the groups associated with a user pool.
///
///
///
/// Calling this action requires developer credentials.
///
///
/// Container for the necessary parameters to execute the ListGroups service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListGroups service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for ListGroups Operation
Task ListGroupsAsync(ListGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListIdentityProviders
///
/// Lists information about all IdPs for a user pool.
///
/// Container for the necessary parameters to execute the ListIdentityProviders service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListIdentityProviders service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for ListIdentityProviders Operation
Task ListIdentityProvidersAsync(ListIdentityProvidersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListResourceServers
///
/// Lists the resource servers for a user pool.
///
/// Container for the necessary parameters to execute the ListResourceServers service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListResourceServers service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for ListResourceServers Operation
Task ListResourceServersAsync(ListResourceServersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTagsForResource
///
/// Lists the tags that are assigned to an Amazon Cognito user pool.
///
///
///
/// A tag is a label that you can apply to user pools to categorize and manage them in
/// different ways, such as by purpose, owner, environment, or other criteria.
///
///
///
/// You can use this action up to 10 times per second, per account.
///
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForResource service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for ListTagsForResource Operation
Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListUserImportJobs
///
/// Lists the user import jobs.
///
/// Container for the necessary parameters to execute the ListUserImportJobs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListUserImportJobs service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for ListUserImportJobs Operation
Task ListUserImportJobsAsync(ListUserImportJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListUserPoolClients
///
/// Lists the clients that have been created for the specified user pool.
///
/// Container for the necessary parameters to execute the ListUserPoolClients service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListUserPoolClients service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for ListUserPoolClients Operation
Task ListUserPoolClientsAsync(ListUserPoolClientsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListUserPools
///
/// Lists the user pools associated with an Amazon Web Services account.
///
/// Container for the necessary parameters to execute the ListUserPools service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListUserPools service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for ListUserPools Operation
Task ListUserPoolsAsync(ListUserPoolsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListUsers
///
/// Lists the users in the Amazon Cognito user pool.
///
/// Container for the necessary parameters to execute the ListUsers service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListUsers service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for ListUsers Operation
Task ListUsersAsync(ListUsersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListUsersInGroup
///
/// Lists the users in the specified group.
///
///
///
/// Calling this action requires developer credentials.
///
///
/// Container for the necessary parameters to execute the ListUsersInGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListUsersInGroup service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for ListUsersInGroup Operation
Task ListUsersInGroupAsync(ListUsersInGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ResendConfirmationCode
///
/// Resends the confirmation (for confirmation of registration) to a specific user in
/// the user pool.
///
///
///
/// This action might generate an SMS text message. Starting June 1, 2021, US telecom
/// carriers require you to register an origination phone number before you can send SMS
/// messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you
/// must register a phone number with Amazon
/// Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise,
/// Amazon Cognito users who must receive SMS messages might not be able to sign up, activate
/// their accounts, or sign in.
///
///
///
/// If you have never used SMS text messages with Amazon Cognito or any other Amazon Web
/// Service, Amazon Simple Notification Service might place your account in the SMS sandbox.
/// In sandbox
/// mode , you can send messages only to verified phone numbers. After you test
/// your app while in the sandbox environment, you can move out of the sandbox and into
/// production. For more information, see
/// SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer
/// Guide.
///
///
///
/// Container for the necessary parameters to execute the ResendConfirmationCode service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ResendConfirmationCode service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when a verification code fails to deliver successfully.
///
///
/// This exception is thrown when WAF doesn't allow your request based on a web ACL that's
/// associated with your user pool.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when Amazon Cognito isn't allowed to use your email identity.
/// HTTP status code: 400.
///
///
/// This exception is thrown when Amazon Cognito encounters an invalid Lambda response.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is returned when the role provided for SMS configuration doesn't have
/// permission to publish using Amazon SNS.
///
///
/// This exception is thrown when the trust relationship is not valid for the role provided
/// for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com
/// or the external ID provided in the role does not match what is provided in the SMS
/// configuration for the user pool.
///
///
/// This exception is thrown when a user exceeds the limit for a requested Amazon Web
/// Services resource.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when Amazon Cognito encounters an unexpected exception with
/// Lambda.
///
///
/// This exception is thrown when the Amazon Cognito service encounters a user validation
/// exception with the Lambda service.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for ResendConfirmationCode Operation
Task ResendConfirmationCodeAsync(ResendConfirmationCodeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region RespondToAuthChallenge
///
/// Responds to the authentication challenge.
///
///
///
/// This action might generate an SMS text message. Starting June 1, 2021, US telecom
/// carriers require you to register an origination phone number before you can send SMS
/// messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you
/// must register a phone number with Amazon
/// Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise,
/// Amazon Cognito users who must receive SMS messages might not be able to sign up, activate
/// their accounts, or sign in.
///
///
///
/// If you have never used SMS text messages with Amazon Cognito or any other Amazon Web
/// Service, Amazon Simple Notification Service might place your account in the SMS sandbox.
/// In sandbox
/// mode , you can send messages only to verified phone numbers. After you test
/// your app while in the sandbox environment, you can move out of the sandbox and into
/// production. For more information, see
/// SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer
/// Guide.
///
///
///
/// Container for the necessary parameters to execute the RespondToAuthChallenge service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RespondToAuthChallenge service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when a user tries to confirm the account with an email address
/// or phone number that has already been supplied as an alias for a different user profile.
/// This exception indicates that an account with this email address or phone already
/// exists in a user pool that you've configured to use email address or phone number
/// as a sign-in alias.
///
///
/// This exception is thrown if the provided code doesn't match what the server was expecting.
///
///
/// This exception is thrown if a code has expired.
///
///
/// This exception is thrown when WAF doesn't allow your request based on a web ACL that's
/// associated with your user pool.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when Amazon Cognito encounters an invalid Lambda response.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when Amazon Cognito encounters an invalid password.
///
///
/// This exception is returned when the role provided for SMS configuration doesn't have
/// permission to publish using Amazon SNS.
///
///
/// This exception is thrown when the trust relationship is not valid for the role provided
/// for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com
/// or the external ID provided in the role does not match what is provided in the SMS
/// configuration for the user pool.
///
///
/// This exception is thrown when the user pool configuration is not valid.
///
///
/// This exception is thrown when Amazon Cognito can't find a multi-factor authentication
/// (MFA) method.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when a password reset is required.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the software token time-based one-time password (TOTP)
/// multi-factor authentication (MFA) isn't activated for the user pool.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when Amazon Cognito encounters an unexpected exception with
/// Lambda.
///
///
/// This exception is thrown when the Amazon Cognito service encounters a user validation
/// exception with the Lambda service.
///
///
/// This exception is thrown when a user isn't confirmed successfully.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for RespondToAuthChallenge Operation
Task RespondToAuthChallengeAsync(RespondToAuthChallengeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region RevokeToken
///
/// Revokes all of the access tokens generated by, and at the same time as, the specified
/// refresh token. After a token is revoked, you can't use the revoked token to access
/// Amazon Cognito user APIs, or to authorize access to your resource server.
///
/// Container for the necessary parameters to execute the RevokeToken service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RevokeToken service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when WAF doesn't allow your request based on a web ACL that's
/// associated with your user pool.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// Exception that is thrown when the request isn't authorized. This can happen due to
/// an invalid access token in the request.
///
///
/// Exception that is thrown when you attempt to perform an operation that isn't enabled
/// for the user pool client.
///
///
/// Exception that is thrown when an unsupported token is passed to an operation.
///
/// REST API Reference for RevokeToken Operation
Task RevokeTokenAsync(RevokeTokenRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region SetRiskConfiguration
///
/// Configures actions on detected risks. To delete the risk configuration for UserPoolId
/// or ClientId
, pass null values for all four configuration types.
///
///
///
/// To activate Amazon Cognito advanced security features, update the user pool to include
/// the UserPoolAddOns
keyAdvancedSecurityMode
.
///
///
/// Container for the necessary parameters to execute the SetRiskConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the SetRiskConfiguration service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when a verification code fails to deliver successfully.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when Amazon Cognito isn't allowed to use your email identity.
/// HTTP status code: 400.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when user pool add-ons aren't enabled.
///
/// REST API Reference for SetRiskConfiguration Operation
Task SetRiskConfigurationAsync(SetRiskConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region SetUICustomization
///
/// Sets the user interface (UI) customization information for a user pool's built-in
/// app UI.
///
///
///
/// You can specify app UI customization settings for a single client (with a specific
/// clientId
) or for all clients (by setting the clientId
to
/// ALL
). If you specify ALL
, the default configuration is used
/// for every client that has no previously set UI customization. If you specify UI customization
/// settings for a particular client, it will no longer return to the ALL
/// configuration.
///
///
///
/// To use this API, your user pool must have a domain associated with it. Otherwise,
/// there is no place to host the app's pages, and the service will throw an error.
///
///
///
/// Container for the necessary parameters to execute the SetUICustomization service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the SetUICustomization service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for SetUICustomization Operation
Task SetUICustomizationAsync(SetUICustomizationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region SetUserMFAPreference
///
/// Set the user's multi-factor authentication (MFA) method preference, including which
/// MFA factors are activated and if any are preferred. Only one factor can be set as
/// preferred. The preferred MFA factor will be used to authenticate a user if multiple
/// factors are activated. If multiple options are activated and no preference is set,
/// a challenge to choose an MFA option will be returned during sign-in. If an MFA type
/// is activated for a user, the user will be prompted for MFA during all sign-in attempts
/// unless device tracking is turned on and the device has been trusted. If you want MFA
/// to be applied selectively based on the assessed risk level of sign-in attempts, deactivate
/// MFA for users and turn on Adaptive Authentication for the user pool.
///
/// Container for the necessary parameters to execute the SetUserMFAPreference service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the SetUserMFAPreference service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when WAF doesn't allow your request based on a web ACL that's
/// associated with your user pool.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when a password reset is required.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when a user isn't confirmed successfully.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for SetUserMFAPreference Operation
Task SetUserMFAPreferenceAsync(SetUserMFAPreferenceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region SetUserPoolMfaConfig
///
/// Sets the user pool multi-factor authentication (MFA) configuration.
///
///
///
/// This action might generate an SMS text message. Starting June 1, 2021, US telecom
/// carriers require you to register an origination phone number before you can send SMS
/// messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you
/// must register a phone number with Amazon
/// Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise,
/// Amazon Cognito users who must receive SMS messages might not be able to sign up, activate
/// their accounts, or sign in.
///
///
///
/// If you have never used SMS text messages with Amazon Cognito or any other Amazon Web
/// Service, Amazon Simple Notification Service might place your account in the SMS sandbox.
/// In sandbox
/// mode , you can send messages only to verified phone numbers. After you test
/// your app while in the sandbox environment, you can move out of the sandbox and into
/// production. For more information, see
/// SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer
/// Guide.
///
///
///
/// Container for the necessary parameters to execute the SetUserPoolMfaConfig service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the SetUserPoolMfaConfig service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is returned when the role provided for SMS configuration doesn't have
/// permission to publish using Amazon SNS.
///
///
/// This exception is thrown when the trust relationship is not valid for the role provided
/// for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com
/// or the external ID provided in the role does not match what is provided in the SMS
/// configuration for the user pool.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for SetUserPoolMfaConfig Operation
Task SetUserPoolMfaConfigAsync(SetUserPoolMfaConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region SetUserSettings
///
/// This action is no longer supported. You can use it to configure only SMS MFA.
/// You can't use it to configure time-based one-time password (TOTP) software token MFA.
/// To configure either type of MFA, use SetUserMFAPreference
/// instead.
///
/// Container for the necessary parameters to execute the SetUserSettings service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the SetUserSettings service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when WAF doesn't allow your request based on a web ACL that's
/// associated with your user pool.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when a password reset is required.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when a user isn't confirmed successfully.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for SetUserSettings Operation
Task SetUserSettingsAsync(SetUserSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region SignUp
///
/// Registers the user in the specified user pool and creates a user name, password, and
/// user attributes.
///
///
///
/// This action might generate an SMS text message. Starting June 1, 2021, US telecom
/// carriers require you to register an origination phone number before you can send SMS
/// messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you
/// must register a phone number with Amazon
/// Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise,
/// Amazon Cognito users who must receive SMS messages might not be able to sign up, activate
/// their accounts, or sign in.
///
///
///
/// If you have never used SMS text messages with Amazon Cognito or any other Amazon Web
/// Service, Amazon Simple Notification Service might place your account in the SMS sandbox.
/// In sandbox
/// mode , you can send messages only to verified phone numbers. After you test
/// your app while in the sandbox environment, you can move out of the sandbox and into
/// production. For more information, see
/// SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer
/// Guide.
///
///
///
/// Container for the necessary parameters to execute the SignUp service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the SignUp service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when a verification code fails to deliver successfully.
///
///
/// This exception is thrown when WAF doesn't allow your request based on a web ACL that's
/// associated with your user pool.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when Amazon Cognito isn't allowed to use your email identity.
/// HTTP status code: 400.
///
///
/// This exception is thrown when Amazon Cognito encounters an invalid Lambda response.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when Amazon Cognito encounters an invalid password.
///
///
/// This exception is returned when the role provided for SMS configuration doesn't have
/// permission to publish using Amazon SNS.
///
///
/// This exception is thrown when the trust relationship is not valid for the role provided
/// for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com
/// or the external ID provided in the role does not match what is provided in the SMS
/// configuration for the user pool.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when Amazon Cognito encounters an unexpected exception with
/// Lambda.
///
///
/// This exception is thrown when the Amazon Cognito service encounters a user validation
/// exception with the Lambda service.
///
///
/// This exception is thrown when Amazon Cognito encounters a user name that already exists
/// in the user pool.
///
/// REST API Reference for SignUp Operation
Task SignUpAsync(SignUpRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartUserImportJob
///
/// Starts the user import.
///
/// Container for the necessary parameters to execute the StartUserImportJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartUserImportJob service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when a precondition is not met.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for StartUserImportJob Operation
Task StartUserImportJobAsync(StartUserImportJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StopUserImportJob
///
/// Stops the user import job.
///
/// Container for the necessary parameters to execute the StopUserImportJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StopUserImportJob service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when a precondition is not met.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for StopUserImportJob Operation
Task StopUserImportJobAsync(StopUserImportJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TagResource
///
/// Assigns a set of tags to an Amazon Cognito user pool. A tag is a label that you can
/// use to categorize and manage user pools in different ways, such as by purpose, owner,
/// environment, or other criteria.
///
///
///
/// Each tag consists of a key and value, both of which you define. A key is a general
/// category for more specific values. For example, if you have two versions of a user
/// pool, one for testing and another for production, you might assign an Environment
/// tag key to both user pools. The value of this key might be Test
for one
/// user pool, and Production
for the other.
///
///
///
/// Tags are useful for cost tracking and access control. You can activate your tags so
/// that they appear on the Billing and Cost Management console, where you can track the
/// costs associated with your user pools. In an Identity and Access Management policy,
/// you can constrain permissions for user pools based on specific tags or tag values.
///
///
///
/// You can use this action up to 5 times per second, per account. A user pool can have
/// as many as 50 tags.
///
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagResource service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for TagResource Operation
Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UntagResource
///
/// Removes the specified tags from an Amazon Cognito user pool. You can use this action
/// up to 5 times per second, per account.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for UntagResource Operation
Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateAuthEventFeedback
///
/// Provides the feedback for an authentication event, whether it was from a valid user
/// or not. This feedback is used for improving the risk evaluation decision for the user
/// pool as part of Amazon Cognito advanced security.
///
/// Container for the necessary parameters to execute the UpdateAuthEventFeedback service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateAuthEventFeedback service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when a user isn't found.
///
///
/// This exception is thrown when user pool add-ons aren't enabled.
///
/// REST API Reference for UpdateAuthEventFeedback Operation
Task UpdateAuthEventFeedbackAsync(UpdateAuthEventFeedbackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateDeviceStatus
///
/// Updates the device status.
///
/// Container for the necessary parameters to execute the UpdateDeviceStatus service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateDeviceStatus service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when WAF doesn't allow your request based on a web ACL that's
/// associated with your user pool.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when the user pool configuration is not valid.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when a password reset is required.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when a user isn't confirmed successfully.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for UpdateDeviceStatus Operation
Task UpdateDeviceStatusAsync(UpdateDeviceStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateGroup
///
/// Updates the specified group with the specified attributes.
///
///
///
/// Calling this action requires developer credentials.
///
///
/// Container for the necessary parameters to execute the UpdateGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateGroup service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for UpdateGroup Operation
Task UpdateGroupAsync(UpdateGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateIdentityProvider
///
/// Updates IdP information for a user pool.
///
/// Container for the necessary parameters to execute the UpdateIdentityProvider service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateIdentityProvider service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown if two or more modifications are happening concurrently.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when the specified identifier isn't supported.
///
/// REST API Reference for UpdateIdentityProvider Operation
Task UpdateIdentityProviderAsync(UpdateIdentityProviderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateResourceServer
///
/// Updates the name and scopes of resource server. All other fields are read-only.
///
///
///
/// If you don't provide a value for an attribute, it is set to the default value.
///
///
///
/// Container for the necessary parameters to execute the UpdateResourceServer service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateResourceServer service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for UpdateResourceServer Operation
Task UpdateResourceServerAsync(UpdateResourceServerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateUserAttributes
///
/// Allows a user to update a specific attribute (one at a time).
///
///
///
/// This action might generate an SMS text message. Starting June 1, 2021, US telecom
/// carriers require you to register an origination phone number before you can send SMS
/// messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you
/// must register a phone number with Amazon
/// Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise,
/// Amazon Cognito users who must receive SMS messages might not be able to sign up, activate
/// their accounts, or sign in.
///
///
///
/// If you have never used SMS text messages with Amazon Cognito or any other Amazon Web
/// Service, Amazon Simple Notification Service might place your account in the SMS sandbox.
/// In sandbox
/// mode , you can send messages only to verified phone numbers. After you test
/// your app while in the sandbox environment, you can move out of the sandbox and into
/// production. For more information, see
/// SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer
/// Guide.
///
///
///
/// Container for the necessary parameters to execute the UpdateUserAttributes service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateUserAttributes service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when a user tries to confirm the account with an email address
/// or phone number that has already been supplied as an alias for a different user profile.
/// This exception indicates that an account with this email address or phone already
/// exists in a user pool that you've configured to use email address or phone number
/// as a sign-in alias.
///
///
/// This exception is thrown when a verification code fails to deliver successfully.
///
///
/// This exception is thrown if the provided code doesn't match what the server was expecting.
///
///
/// This exception is thrown if a code has expired.
///
///
/// This exception is thrown when WAF doesn't allow your request based on a web ACL that's
/// associated with your user pool.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when Amazon Cognito isn't allowed to use your email identity.
/// HTTP status code: 400.
///
///
/// This exception is thrown when Amazon Cognito encounters an invalid Lambda response.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is returned when the role provided for SMS configuration doesn't have
/// permission to publish using Amazon SNS.
///
///
/// This exception is thrown when the trust relationship is not valid for the role provided
/// for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com
/// or the external ID provided in the role does not match what is provided in the SMS
/// configuration for the user pool.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when a password reset is required.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when Amazon Cognito encounters an unexpected exception with
/// Lambda.
///
///
/// This exception is thrown when the Amazon Cognito service encounters a user validation
/// exception with the Lambda service.
///
///
/// This exception is thrown when a user isn't confirmed successfully.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for UpdateUserAttributes Operation
Task UpdateUserAttributesAsync(UpdateUserAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateUserPool
///
/// Updates the specified user pool with the specified attributes. You can get a list
/// of the current user pool settings using DescribeUserPool.
/// If you don't provide a value for an attribute, it will be set to the default value.
///
///
///
///
/// This action might generate an SMS text message. Starting June 1, 2021, US telecom
/// carriers require you to register an origination phone number before you can send SMS
/// messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you
/// must register a phone number with Amazon
/// Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise,
/// Amazon Cognito users who must receive SMS messages might not be able to sign up, activate
/// their accounts, or sign in.
///
///
///
/// If you have never used SMS text messages with Amazon Cognito or any other Amazon Web
/// Service, Amazon Simple Notification Service might place your account in the SMS sandbox.
/// In sandbox
/// mode , you can send messages only to verified phone numbers. After you test
/// your app while in the sandbox environment, you can move out of the sandbox and into
/// production. For more information, see
/// SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer
/// Guide.
///
///
///
/// Container for the necessary parameters to execute the UpdateUserPool service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateUserPool service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown if two or more modifications are happening concurrently.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when Amazon Cognito isn't allowed to use your email identity.
/// HTTP status code: 400.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is returned when the role provided for SMS configuration doesn't have
/// permission to publish using Amazon SNS.
///
///
/// This exception is thrown when the trust relationship is not valid for the role provided
/// for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com
/// or the external ID provided in the role does not match what is provided in the SMS
/// configuration for the user pool.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when you're trying to modify a user pool while a user import
/// job is in progress for that pool.
///
///
/// This exception is thrown when a user pool tag can't be set or updated.
///
/// REST API Reference for UpdateUserPool Operation
Task UpdateUserPoolAsync(UpdateUserPoolRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateUserPoolClient
///
/// Updates the specified user pool app client with the specified attributes. You can
/// get a list of the current user pool app client settings using DescribeUserPoolClient.
///
///
///
/// If you don't provide a value for an attribute, it will be set to the default value.
///
///
///
/// You can also use this operation to enable token revocation for user pool clients.
/// For more information about revoking tokens, see RevokeToken.
///
///
/// Container for the necessary parameters to execute the UpdateUserPoolClient service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateUserPoolClient service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown if two or more modifications are happening concurrently.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the specified OAuth flow is not valid.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the specified scope doesn't exist.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for UpdateUserPoolClient Operation
Task UpdateUserPoolClientAsync(UpdateUserPoolClientRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateUserPoolDomain
///
/// Updates the Secure Sockets Layer (SSL) certificate for the custom domain for your
/// user pool.
///
///
///
/// You can use this operation to provide the Amazon Resource Name (ARN) of a new certificate
/// to Amazon Cognito. You can't use it to change the domain for a user pool.
///
///
///
/// A custom domain is used to host the Amazon Cognito hosted UI, which provides sign-up
/// and sign-in pages for your application. When you set up a custom domain, you provide
/// a certificate that you manage with Certificate Manager (ACM). When necessary, you
/// can use this operation to change the certificate that you applied to your custom domain.
///
///
///
/// Usually, this is unnecessary following routine certificate renewal with ACM. When
/// you renew your existing certificate in ACM, the ARN for your certificate remains the
/// same, and your custom domain uses the new certificate automatically.
///
///
///
/// However, if you replace your existing certificate with a new one, ACM gives the new
/// certificate a new ARN. To apply the new certificate to your custom domain, you must
/// provide this ARN to Amazon Cognito.
///
///
///
/// When you add your new certificate in ACM, you must choose US East (N. Virginia) as
/// the Amazon Web Services Region.
///
///
///
/// After you submit your request, Amazon Cognito requires up to 1 hour to distribute
/// your new certificate to your custom domain.
///
///
///
/// For more information about adding a custom domain to your user pool, see Using
/// Your Own Domain for the Hosted UI.
///
///
/// Container for the necessary parameters to execute the UpdateUserPoolDomain service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateUserPoolDomain service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
/// REST API Reference for UpdateUserPoolDomain Operation
Task UpdateUserPoolDomainAsync(UpdateUserPoolDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region VerifySoftwareToken
///
/// Use this API to register a user's entered time-based one-time password (TOTP) code
/// and mark the user's software token MFA status as "verified" if successful. The request
/// takes an access token or a session string, but not both.
///
/// Container for the necessary parameters to execute the VerifySoftwareToken service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the VerifySoftwareToken service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown if the provided code doesn't match what the server was expecting.
///
///
/// This exception is thrown when there is a code mismatch and the service fails to configure
/// the software token TOTP multi-factor authentication (MFA).
///
///
/// This exception is thrown when WAF doesn't allow your request based on a web ACL that's
/// associated with your user pool.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when the user pool configuration is not valid.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when a password reset is required.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the software token time-based one-time password (TOTP)
/// multi-factor authentication (MFA) isn't activated for the user pool.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when a user isn't confirmed successfully.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for VerifySoftwareToken Operation
Task VerifySoftwareTokenAsync(VerifySoftwareTokenRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region VerifyUserAttribute
///
/// Verifies the specified user attributes in the user pool.
///
///
///
/// If your user pool requires verification before Amazon Cognito updates the attribute
/// value, VerifyUserAttribute updates the affected attribute to its pending value. For
/// more information, see
/// UserAttributeUpdateSettingsType.
///
///
/// Container for the necessary parameters to execute the VerifyUserAttribute service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the VerifyUserAttribute service method, as returned by CognitoIdentityProvider.
///
/// This exception is thrown when a user tries to confirm the account with an email address
/// or phone number that has already been supplied as an alias for a different user profile.
/// This exception indicates that an account with this email address or phone already
/// exists in a user pool that you've configured to use email address or phone number
/// as a sign-in alias.
///
///
/// This exception is thrown if the provided code doesn't match what the server was expecting.
///
///
/// This exception is thrown if a code has expired.
///
///
/// This exception is thrown when WAF doesn't allow your request based on a web ACL that's
/// associated with your user pool.
///
///
/// This exception is thrown when Amazon Cognito encounters an internal error.
///
///
/// This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
///
///
/// This exception is thrown when a user exceeds the limit for a requested Amazon Web
/// Services resource.
///
///
/// This exception is thrown when a user isn't authorized.
///
///
/// This exception is thrown when a password reset is required.
///
///
/// This exception is thrown when the Amazon Cognito service can't find the requested
/// resource.
///
///
/// This exception is thrown when the user has made too many requests for a given operation.
///
///
/// This exception is thrown when a user isn't confirmed successfully.
///
///
/// This exception is thrown when a user isn't found.
///
/// REST API Reference for VerifyUserAttribute Operation
Task VerifyUserAttributeAsync(VerifyUserAttributeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}