public virtual async Task UpdateAsync()

in src/Amazon.AspNetCore.Identity.Cognito/CognitoRoleStore.cs [110:128]


        public virtual async Task<IdentityResult> UpdateAsync(TRole role, CancellationToken cancellationToken)
        {
            cancellationToken.ThrowIfCancellationRequested();
            if (role == null)
            {
                throw new ArgumentNullException(nameof(role));
            }
            await _cognitoClient.UpdateGroupAsync(new UpdateGroupRequest()
            {
                Description = role.Description,
                GroupName = role.Name,
                Precedence = role.Precedence,
                RoleArn = role.RoleArn,
                UserPoolId = _pool.PoolID

            }, cancellationToken).ConfigureAwait(false);

            return IdentityResult.Success;
        }