Amazon.CognitoIdentityProvider.AmazonCognitoIdentityProviderClient.AdminEnableUser C# (CSharp) Method

AdminEnableUser() public method

Enables the specified user as an administrator. Works on any user.
/// 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 gets thrown when a user is not authorized. /// /// This exception is thrown when the Amazon Cognito service cannot find the requested /// resource. /// /// This exception gets thrown when the user has made too many requests for a given operation. /// /// This exception is thrown when a user is not found. ///
public AdminEnableUser ( AdminEnableUserRequest request ) : AdminEnableUserResponse
request Amazon.CognitoIdentityProvider.Model.AdminEnableUserRequest Container for the necessary parameters to execute the AdminEnableUser service method.
return AdminEnableUserResponse
        public AdminEnableUserResponse AdminEnableUser(AdminEnableUserRequest request)
        {
            var marshaller = new AdminEnableUserRequestMarshaller();
            var unmarshaller = AdminEnableUserResponseUnmarshaller.Instance;

            return Invoke<AdminEnableUserRequest,AdminEnableUserResponse>(request, marshaller, unmarshaller);
        }
AmazonCognitoIdentityProviderClient